/*
====================================
  Table of Contents
====================================
1. Global Styles and Variables
2. Navbar
3. Hero Section
4. Sections 1 & 2: Recharge & Book
5. Section 3: Payment Instruments
6. Sections 4-8: Financial Services
7. Section 9: Business Tools
8. Section 10: Slider
9. Footer
10. Media Queries
====================================
*/

/*
====================================
  1. Global Styles and Variables
====================================
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --color-paytm-blue: #00baf2;
  --color-dark-blue: #002970;
  --color-light-gray: #f5f7fa;
  --font-family-inter: "Inter", sans-serif;
  --shadow-base: 0 5px 20px rgba(0, 41, 112, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-inter);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style: none;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-paytm-blue);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background-color: #ffffff;
}

/*
====================================
  2. Navbar
====================================
*/

.header {
  background-color: #fff;
  box-shadow: var(--shadow-base);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__left {
  display: flex;
  align-items: center;
}

.nav__toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding-right: 15px;
}

.nav__logo img {
  height: 50px;
  width: 150px;
}

.nav__menu {
  display: none;
}

.nav__signin-btn {
  padding: 8px 16px;
  background-color: var(--color-paytm-blue);
  border-radius: 20px;
  font-weight: 600;
  color: #fff;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__signin-btn:hover {
  background-color: var(--color-dark-blue);
}

.nav__signin-btn:hover svg circle:first-child {
  fill: var(--color-paytm-blue);
}

.banner-promo {
  height: 48px;
  background-color: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  flex-wrap: wrap;
  padding: 0 10px;
}

.banner-promo span {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  display: inline-block;
  margin: 0 4px;
}

.banner-promo a {
  color: var(--color-dark-blue);
  font-weight: 600;
}

/*
====================================
  3. Hero Section
====================================
*/

.hero-section {
  padding-top: 40px;
  padding-bottom: 40px;
  overflow: hidden;
  position: relative;
}

.hero__image {
  display: none;
}

.hero__logo-container {
  height: 75px;
  width: 75px;
  margin-bottom: 20px;
}

.hero__logo-container img {
  width: 100%;
  height: 100%;
  box-shadow: var(--shadow-base);
  border-radius: 16px;
}

.hero__title {
  font-size: 31px;
  font-weight: 800;
  line-height: 40px;
  color: #000;
}

.hero__description {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  padding-top: 10px;
  margin-bottom: 20px;
}

.hero__download-btn {
  background-color: #000;
  border-radius: 50px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  transition: all 0.2s ease-in-out;
}

.hero__download-btn a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.hero__download-btn iconify-icon {
  color: #fff;
  margin-left: 7px;
}

.hero__download-btn:hover {
  background-color: #fff;
  border: 1px solid #000;
}

.hero__download-btn:hover a,
.hero__download-btn:hover iconify-icon {
  color: #000;
}

/*
====================================
  4. Sections 1 & 2: Recharge & Book
====================================
*/

.section-1,
.section-2 {
  padding-block: 30px;
}

.section-1 {
  background-color: var(--color-paytm-blue);
}

.section-2 {
  background-color: var(--color-dark-blue);
}

.section-1 h2,
.section-2 h2 {
  font-size: 31px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-1__box-container,
.section-2 .section-1__box-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
}

.section-1__box {
  min-width: 140px;
  padding: 16px 11px;
  border-radius: 12px;
  margin-right: 15px;
}

.section-1__box:hover {
  background-color: #00afe3;
}

.section-2 .section-1__box:hover {
  background-color: #0d3e80;
}

.section-1__icon {
  height: 45px;
  width: 45px;
  margin-bottom: 17px;
}

.section-1__icon img {
  width: 100%;
  height: 100%;
}

.section-1__content h6,
.section-1__text-container p {
  color: #fff;
  font-weight: 600;
}

.section-1__content h6 {
  font-size: 14px;
  margin-bottom: 0;
}

.section-1__text-container p {
  font-size: 12px;
  line-height: 22px;
}

.section-2 .section-1__text-container p {
  font-size: 15px;
  line-height: 20px;
}

/*
====================================
  5. Section 3: Payment Instruments
====================================
*/

.section-3 {
  background-color: var(--color-light-gray);
}

.section-3-container {
  padding-block: 40px;
}

.section-3__heading,
.section-4__heading,
.section-8__heading {
  font-size: 31px;
  font-weight: 600;
  margin-bottom: 22px;
}

.section-3__card {
  background-color: #fff;
  padding-block: 20px;
  padding-inline: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.section-3__card-content {
  display: flex;
  flex-direction: column;
}

.section-3__card-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.section-3__card-brand img,
.section-3__card-img img {
  height: 100%;
  width: 100%;
}

.section-3__card-img {
  height: 70px;
  width: 70px;
}

.section-3__card-brand p {
  font-size: 14px;
  font-weight: 600;
  margin-left: 12px;
  margin-top: 10px;
}

.section-3__card-title,
.section-4__title,
.section-5__title,
.section-6__title,
.section-7__title,
.section-8__card-title,
.section-9__card-title,
.section-9__heading h1 {
  font-size: 31px;
  line-height: 40px;
  font-weight: 600;
  color: #000;
}

.section-3__card-text {
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
  color: #000;
}

.section-3__download-btn,
.section-3__learn-btn {
  background-color: #000;
  border-radius: 50px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  transition: all 0.2s ease-in-out;
}

.section-3__download-btn a,
.section-3__learn-btn a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.section-3__download-btn iconify-icon,
.section-3__learn-btn iconify-icon {
  color: #fff;
}

.section-3__download-btn:hover {
  background-color: #fff;
  border: 1px solid #000;
}

.section-3__download-btn:hover a,
.section-3__download-btn:hover iconify-icon {
  color: #000;
}

.section-3__learn-btn {
  background-color: var(--color-dark-blue);
  border-radius: 25px;
  padding: 14px 25px;
}

.section-3__learn-btn:hover {
  background-color: var(--color-paytm-blue);
}

.section-3__learn-btn a {
  color: #fff;
  font-size: 17px;
}

.section-3__learn-btn span {
  margin-left: 10px;
  transition: margin-left 0.2s ease-in-out;
}

.section-3__learn-btn:hover span {
  margin-left: 15px;
}

.section-3__card-image {
  height: 350px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-top: 30px;
}

.section-3__card-image--wallet {
  background-image: url(../images/asset\ 19.webp);
}

.section-3__card-image--upi {
  background-image: url(../images/asset\ 21.webp);
  background-size: contain;
}

.section-3__card-image--postpaid {
  background-image: url(../images/asset\ 23.webp);
  background-size: cover;
}

.section-3__credit-cards .col-lg-6 {
  padding-inline: 0;
}

.section-3__credit-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 20px;
}

.section-3__credit-cards .col-lg-6:last-child .section-3__credit-card {
  margin-top: 20px;
}

.section-3__credit-card-brand img {
  height: auto;
  width: 185px;
}

.section-3__credit-card-img {
  height: 150px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.section-3__credit-card-img--hdfc {
  background-image: url(../images/asset\ 25.webp);
  background-size: 100% 100%;
}

.section-3__credit-card-img--sbi {
  background-image: url(../images/asset\ 27.webp);
}

/*
====================================
  6. Sections 4-8: Financial Services
====================================
*/

.section-4,
.section-6,
.section-7,
.section-8 {
  padding-inline: 20px;
  margin-bottom: 20px;
}

.section-4__heading,
.section-8__heading {
  padding-top: 45px;
  margin-bottom: 0px;
  font-size: 31px;
  font-weight: 600;
  color: #000;
  line-height: 40px;
}

.section-4__container,
.section-5__container--flex,
.section-6__content-container,
.section-7__content-container {
  padding-bottom: 50px;
}

.section-4__content,
.section-6__content,
.section-7__content,
.section-8__card-content {
  margin-top: 20px;
}

.section-4__brand-logo img,
.section-6__brand-logo img,
.section-7__brand-logo img,
.section-5__brand-logo img {
  height: 100%;
  width: 100%;
}

.section-4__brand-logo,
.section-6__brand-logo,
.section-7__brand-logo {
  height: 40px;
  width: 212px;
  margin-top: 33px;
}

.section-4__title,
.section-5__title,
.section-6__title,
.section-7__title {
  font-size: 31px;
  line-height: 40px;
  font-weight: 600;
  color: #000;
  margin-top: 30px;
  margin-bottom: 20px;
}

.section-4__text,
.section-5__text,
.section-6__text,
.section-7__text {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  color: #000;
  padding-top: 12px;
}

.section-4__learn-btn,
.section-6__learn-btn,
.section-7__learn-btn {
  padding: 14px 25px;
  background-color: var(--color-dark-blue);
  border-radius: 25px;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  margin-bottom: 33px;
  transition: all 0.2s ease-in-out;
}

.section-4__learn-btn:hover,
.section-6__learn-btn:hover,
.section-7__learn-btn:hover {
  background-color: var(--color-paytm-blue);
}

.section-4__learn-btn a,
.section-6__learn-btn a,
.section-7__learn-btn a {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}

.section-4__learn-btn span,
.section-6__learn-btn span,
.section-7__learn-btn span {
  margin-left: 10px;
  transition: margin-left 0.2s ease-in-out;
}

.section-4__learn-btn:hover span,
.section-6__learn-btn:hover span,
.section-7__learn-btn:hover span {
  margin-left: 15px;
}

.section-4__image,
.section-6__image,
.section-7__image {
  height: 350px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.section-4__image--payments-bank {
  background-image: url(../images/asset\ 29.webp);
}

.section-6__image--insurance {
  background-image: url(../images/asset\ 34.webp);
}

.section-7__image--loan {
  background-image: url(../images/asset\ 36.webp);
}

.section-5 {
  background-color: var(--color-light-gray);
  padding-inline: 20px;
  padding-bottom: 48px;
}

.section-5__container {
  padding-block: 30px;
}

.section-5__container--flex {
  display: flex;
  flex-direction: column-reverse;
}

.section-5__image {
  height: 350px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  margin-top: 20px;
}

.section-5__image--paytm-money {
  background-image: url(../images/asset\ 31.webp);
}

.section-5__brand-logo {
  height: 54px;
  width: 156px;
  margin-bottom: 40px;
}

.section-8 {
  background-color: #fff;
}

.section-8__container {
  padding-top: 50px;
  padding-bottom: 0px;
}

.section-8__card {
  background-color: var(--color-light-gray);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.section-8__card-image {
  height: 350px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 20px;
}

.section-8__card-image--online {
  background-image: url(../images/asset\ 37.avif);
}

.section-8__card-image--in-shop {
  background-image: url(../images/asset\ 38.webp);
}

/*
====================================
  7. Section 9: Business Tools
====================================
*/

.section-9 {
  padding-inline: 20px;
  margin-bottom: 60px;
}

.section-9__container {
  padding-block: 60px;
}

.section-9__heading {
  width: 100%;
  padding-bottom: 20px;
}

.section-9__card-container {
  margin-inline: 0;
}

.section-9__card {
  margin-bottom: 30px;
  border-radius: 20px;
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em,
    rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
  padding: 20px;
}

.section-9__card-img-container {
  height: 220px;
  width: 240px;
  position: relative;
}

.section-9__card-img-container img {
  height: 100%;
  width: 100%;
}

.section-9__card-title {
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 26px;
  line-height: 26px;
}

.section-9__card-text {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

.section-9__learn-more {
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding-right: 20px;
  transition: all 0.2s ease-in-out;
}

.section-9__learn-more:after {
  content: ">";
  position: absolute;
  right: 0;
  transition: all 0.2s ease-in-out;
}

.section-9__learn-more:hover:after {
  right: -5px;
}

/*
====================================
  8. Section 10: Slider
====================================
*/

.section-10 {
  padding-inline: 20px;
  margin-bottom: 50px;
}

.section-10__container {
  padding-inline: 0;
}

.section-10__inner-container {
  padding-block: 20px;
  display: flex;
  flex-direction: column;
}

.section-10__content {
  width: 100%;
  margin-bottom: 20px;
}

.section-10__img-container {
  height: 58px;
  width: 160px;
}

.section-10__img-container img {
  height: 100%;
  width: 100%;
}

.section-10__text {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  margin-top: 20px;
}

.section-10__learn-more {
  padding-top: 10px;
  font-size: 17px;
  color: var(--color-paytm-blue);
  font-weight: 500;
}

.section-10__learn-more:hover {
  color: var(--color-dark-blue);
}

.section-10__slider {
  width: 100%;
  margin-top: 30px;
}

.section-10__slide {
  height: 200px;
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #4ccff6;
  padding-block: 5px;
  border-radius: 10px;
}

.section-10__slide-img {
  height: 158px;
  width: 120px;
  border-radius: 10px;
  overflow: hidden;
}

.section-10__slide-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.section-10__slide-img:hover img {
  transform: scale(1.1);
}

.section-10__slide-title {
  padding-block: 12px;
  text-align: center;
  padding-inline: 15px;
}

.section-10__slide-title h6 {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
}

/*
====================================
  9. Footer
====================================
*/

.footer-section {
  padding-block: 50px;
  background-color: var(--color-light-gray);
}

.footer-row {
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-row__text p {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.footer-row__image {
  padding: 10px 0;
}

.footer-accordion__toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: var(--color-light-gray);
  border: none;
  position: relative;
  padding: 15px 0;
  cursor: pointer;
}

.footer-accordion__toggle:hover {
  background-color: var(--color-light-gray);
}

.footer-accordion__title p {
  font-size: 14px;
  color: #505050;
  font-weight: 600;
  text-align: left;
  margin: 0;
}

.footer-accordion__toggle:after {
  content: "+";
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease-in-out;
}

.footer-accordion__toggle[aria-expanded="true"]:after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.footer-accordion__content .footer-accordion__list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.footer-accordion__content .footer-accordion__list li {
  font-size: 12px;
  color: gray;
  padding: 5px 0;
}

.footer-color-container {
  height: 24px;
  width: 100%;
}

.footer-color-container .skyblue {
  height: 12px;
  background-color: var(--color-paytm-blue);
}

.footer-color-container .blue {
  height: 12px;
  background-color: var(--color-dark-blue);
}

/*
====================================
  10. Media Queries
====================================
*/

/* Tablet and larger */
@media (min-width: 581px) {
  .nav__toggle {
    display: none;
  }

  .nav {
    height: 92px;
    justify-content: space-evenly;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    margin-top: 16px;
  }

  .nav__menu-item {
    padding: 12px;
  }

  .nav__menu-item a {
    font-size: 16px;
    font-weight: 600;
  }

  .nav__menu-item:hover .nav__dropdown-menu {
    display: block;
  }

  .nav__dropdown-menu {
    position: absolute;
    background-color: #fff;
    left: 0;
    top: 46px;
    border: 1px solid var(--color-light-gray);
    border-radius: 5px;
    padding: 0;
    box-shadow: var(--shadow-base);
    min-width: 250px;
    display: none;
    z-index: 100;
  }

  .nav__dropdown-menu li {
    padding: 12px 16px;
  }

  .nav__dropdown-menu a {
    font-weight: 500;
    font-size: 14px;
  }

  .nav__dropdown-menu li:hover {
    background-color: var(--color-light-gray);
  }

  .nav__sub-dropdown {
    position: absolute;
    background-color: #fff;
    left: 100%;
    top: 0;
    min-width: 250px;
    display: none;
    box-shadow: var(--shadow-base);
  }

  .nav__sub-dropdown--has-payments:hover .nav__sub-dropdown,
  .nav__sub-dropdown--has-booking:hover .nav__sub-dropdown,
  .nav__sub-dropdown--has-financial:hover .nav__sub-dropdown {
    display: block;
  }

  .hero__image {
    display: block;
    position: absolute;
    height: 400px;
    width: 450px;
    background-image: url(../images/asset\ 3.avif);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    right: 0;
    bottom: 0px;
    z-index: -100;
  }

  .hero__content-container {
    padding-left: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .hero__title {
    font-size: 54px;
    line-height: 65px;
  }

  .hero__description {
    padding-right: 226px;
  }

  .section-1__box-container,
  .section-2 .section-1__box-container {
    overflow-x: hidden;
    justify-content: space-between;
  }
}

/* Larger tablets and desktops */
@media (min-width: 991px) {
  .section-1,
  .section-2 {
    padding-block: 65px;
  }

  .section-1 h2,
  .section-2 h2 {
    font-size: 36px;
  }

  .section-1__box,
  .section-2 .section-1__box {
    width: 152px;
    height: 183px;
    padding: 16px;
  }

  .section-1__icon {
    height: 64px;
    width: 64px;
  }

  .section-1__content h6 {
    font-size: 17px;
  }

  .section-1__text-container p {
    font-size: 15px;
  }

  .section-2 .section-1__text-container p {
    font-size: 18px;
  }

  .section-3-container {
    padding-block: 120px 130px;
    padding-inline: 98px;
  }

  .section-3__heading,
  .section-4__heading,
  .section-8__heading {
    font-size: 48px;
    line-height: 50px;
  }

  .section-3__card {
    padding-block: 80px;
    padding-left: 115px;
    padding-right: 50px;
    flex-direction: row;
    margin-bottom: 48px;
  }

  .section-3__card-image {
    height: 440px;
    margin-top: 0;
  }

  .section-3__card-image--upi {
    margin-top: 27px;
  }

  .section-3__card-image--postpaid {
    height: 475px;
  }

  .section-3__card-title,
  .section-4__title,
  .section-5__title,
  .section-6__title,
  .section-7__title,
  .section-8__card-title,
  .section-9__card-title h2 {
    font-size: 36px;
    line-height: 48px;
  }

  .section-3__card-text {
    font-size: 19px;
  }

  .section-3__credit-cards .col-lg-6:last-child .section-3__credit-card {
    margin-left: 24px;
  }

  .section-3__credit-card {
    padding: 70px 64px;
  }

  .section-3__credit-cards .col-lg-6:first-child .section-3__credit-card {
    margin-right: 24px;
  }

  .section-4,
  .section-6,
  .section-7,
  .section-8 {
    padding-inline: 180px;
  }

  .section-4__heading {
    padding-top: 120px;
    margin-bottom: 35px;
  }

  .section-4__image--payments-bank,
  .section-6__image--insurance,
  .section-7__image--loan {
    height: 460px;
  }

  .section-5 {
    padding-inline: 180px;
    background-image: url(../images/asset\ 32.avif);
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .section-5__container {
    padding-block: 130px;
  }

  .section-5__container--flex {
    flex-direction: row;
  }

  .section-5__image {
    height: 427px;
    width: 472px;
    margin-top: -50px;
  }

  .section-5__image--paytm-money {
    background-image: url(../images/asset\ 31.webp);
  }

  .section-5__content {
    padding-left: 140px;
  }

  .section-6__container,
  .section-7__container {
    padding-block: 80px;
  }

  .section-8__container {
    padding-inline: 98px;
  }

  .section-8__card {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-9 {
    padding-inline: 180px;
    margin-bottom: 120px;
  }

  .section-9__container {
    padding-block: 120px;
  }

  .section-9__heading {
    width: 520px;
    padding-bottom: 89px;
  }

  .section-9__heading h2 {
    font-size: 40px;
    line-height: 46px;
  }

  .section-10 {
    padding-inline: 180px;
    margin-bottom: 120px;
  }

  .section-10__inner-container {
    padding-block: 60px;
    flex-direction: row;
    justify-content: space-between;
  }

  .section-10__content {
    width: 255px;
  }

  .section-10__text {
    font-size: 15px;
  }

  .section-10__slider {
    width: max-content;
    margin-top: 0;
  }

  .footer-row {
    padding-bottom: 60px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-row__text {
    padding-right: 10px;
  }

  .footer-row__image {
    padding-inline: 5px;
  }

  .footer-accordion {
    margin-bottom: 15px;
  }

  .footer-accordion__toggle:after {
    content: "+";
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out;
  }

  .footer-accordion__toggle[aria-expanded="true"]:after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
  }
}
