:root {
  --color-primary: #0066fb;
  --color-primary-light: #3c8bff;
  --color-primary-dark: #1a3760;
  --color-primary-shade: #4e84da;
  --color-secondary: #05bf92;
  --color-secondary-light: #56d9b9;
  --color-secondary-dark: #038163;
  --color-ternary: #fbbb32;
  --color-ternary-light: #fcd071;
  --color-ternary-dark: #e9a005;
  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;
  --color-grey-dark-1: #333;
  --color-grey-dark-2: #777;
  --color-grey-dark-3: #999;
  --shadow-dark: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  --shadow-light: 0 2rem 5rem rgba(0, 0, 0, 0.06);
  --line: 1px solid var(--color-grey-light-2);
}
/* 
color primary:
#0066ff
#1479f1
#408cff
#0066fb
#3c8bff
tint 
#1B9CFC

shade 
#4e84da  // pragya enterprises (logo text, circle)

#1a3760 // (logo icon) logo text poppins (35)

color secondary: #05bf92
#038163
#56d9b9

#b1ead8
bg: #f7f4f3

color third: #fbbb32
#fcd071

font: #33343d
*/
*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Poppins', sans-serif;
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: #f1f5f9;
  color: #333;
  line-height: 1;
  font-weight: 400;
}

/***************************/
/* GENERAL REUSABLE COMPONENTS */
/***************************/

.container {
  /* 1140px */
  max-width: 120rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;

  /* margin-bottom: 9.6rem; */
}

.grid:last-child {
  /* margin-bottom: 0; */
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}
.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.grid--center-v {
  align-items: center;
}

.link:link,
.link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--color-primary-dark);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  transition: all 0.3s;
}
.link:hover,
.link:active {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.btn:link,
.btn:visited {
  text-decoration: none;
  color: inherit;
}
.btn:hover,
.btn:active {
}

/***************************/
/* HEADER */
/***************************/

/* 
- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- SPACING SYSTEM (px)
2 /4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128    
*/

.header {
  display: grid;

  font-size: 3rem;
  align-items: center;
  margin: 0 auto;
  padding: 1.6rem;
}
.container__logo {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  gap: 1.6rem;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 5.2rem;
}

.logo-text {
  font-size: 2.8rem; /* 3rem*/
  color: var(--color-primary-shade);
  font-weight: 500;
}

.container__menu {
  /* background-color: var(--color-primary); */
  display: flex;
  justify-content: end;
}

.menu-box {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2.4rem;
  min-width: 50%;
  max-width: 100%;
}

.menu {
  font-size: 2rem;
}

/***************************/
/* SECTION HERO */
/***************************/

.section-hero {
  height: calc(100vh - 6.2rem);
  background-image: linear-gradient(
      to top,
      var(--color-grey-light-1),
      rgba(78, 132, 218, 0.1)
    ),
    url('/images/hero-min.webp');
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  background-size: cover;
  background-position: top;

  position: relative;
}

.container__hero-text {
  /* grid-column: 4/6; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3.2rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.container__heading-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  letter-spacing: 0.7px;
  margin-bottom: 4.8rem;
}

.heading-hero {
  font-family: 'Montserrat', sans-serif;
  font-size: 5.2rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--color-primary-dark);
}

.hero-description {
  font-size: 2rem;
  color: var(--color-primary-light);

  letter-spacing: 0.8px;
  font-weight: 600;
}

.conainer__hero-btn {
  display: flex;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}

.btn-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  font-size: 2rem;
  font-weight: 500;

  background-color: var(--color-primary);

  padding: 1.6rem 3.2rem;
  border-radius: 5px;

  transition: all 0.2s;
}
.btn-hero:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.btn-hero:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}
.btn-hero .icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-grey-light-1);
  transition: all 0.2s;
}
.btn-hero:hover .icon {
  color: var(--color-primary-dark);
}

.btn-hero p {
  color: var(--color-grey-light-1);
  transition: all 0.2s;
}

.btn-hero:hover p {
  color: var(--color-primary-dark);
}

.heading-section {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4.8rem;
}

.heading-affiliate-clients,
.heading-services,
.heading-feature,
.heading-review {
  color: var(--color-primary-shade);
}
.section-affiliate,
.section-services,
.section-feature,
.section-review {
  padding: 6.4rem 0 4.8rem 0;
}
/***************************/
/* SECTION AFFILIATE */
/***************************/

.section-affiliate {
  background-color: var(--color-grey-light-1);
  padding: 4.8rem 0 3.2rem 0;
}

/* .affiliates {
  
} */

.affiliate {
  column-gap: 3.6rem;
}

.affiliate-logo {
  display: flex;
  justify-content: end;
  align-items: center;
}

.affiliate-logo img {
  height: 12.5rem;
}

.affiliate-details {
  /* background-color: #4e84da; */
  grid-column: 2/4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.affiliate:nth-child(even) .affiliate-details {
  grid-column: 1/3;
}
.affiliate:nth-child(even) .affiliate-logo {
  grid-column: 3/4;
  grid-row: 1/2;
}
.affiliate-cap {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  opacity: 50%;
  margin-bottom: 1.2rem;
}

.affiliate-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--color-primary-dark);
  margin-bottom: 1.6rem;
}

.affiliate-description {
  font-size: 1.8rem;
  line-height: 1.5;
}

/***************************/
/* SECTION SERVICES */
/* WE PROVIDE */
/***************************/

.section-services {
  background-image: linear-gradient(
    to top,

    rgba(252, 208, 113, 0.15),
    var(--color-grey-light-1)
  );
  padding: 4.8rem 0 4.8rem 0;
}

.services {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 6.4rem;
  /* background-color: red; */
}

.service {
  padding: 4.8rem;
  border-radius: 9px;
  box-shadow: var(--shadow-light);
}

.service-img {
  background-color: rgba(252, 208, 113, 0.521);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7.4rem;
  width: 7.4rem;
  padding: 4.8rem;
  border-radius: 100%;
  margin-bottom: 2.4rem;
}

.service-img img {
  height: 5.2rem;
  width: 5.2rem;
}

.service-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--color-primary-dark);
  line-height: 1.3;
  margin-bottom: 1.6rem;
}

.service-description {
  font-size: 1.6rem;
  line-height: 1.5;
}

/***************************/
/* SECTION FEATURE */
/* WHY US? */
/***************************/

.section-feature {
  background-image: linear-gradient(
    to top,

    rgba(78, 132, 218, 0.1),
    rgba(252, 208, 113, 0.15)
  );
}

/* .features {
} */

.feature {
  column-gap: 4.8rem;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  height: 45rem;
}

.feature-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.2rem;
}
/* .feature-detail {
  
} */

.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--color-primary-dark);
  line-height: 1.3;

  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 1.2rem;
}

.feature-icon {
  height: 3.2rem;
  width: 3.2rem;
  color: var(--color-primary-light);
}

.feature-description {
  font-size: 1.6rem;
  line-height: 1.5;
}

/***************************/
/* SECTION REVIEW */
/***************************/

.section-review {
  background-color: rgba(78, 132, 218, 0.1);
  padding-bottom: 6.4rem;
}

.user-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}
.review {
  background-color: #fff;
  box-shadow: var(--shadow-light);
  padding: 3rem;

  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: 7px;
}

.review__text {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  z-index: 10;
  position: relative;
}

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

.review__photo {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  margin-right: 1.5rem;
}

.review__user-box {
  margin-right: auto;
}

.review__user-name {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.review__user-date {
  font-size: 1rem;
  color: var(--color-grey-dark-3);
}

.review__rating {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 300;
}

.review::before {
  content: '\201C';
  position: absolute;
  top: -2.75rem;
  left: -1rem;
  line-height: 1;
  font-size: 20rem;
  color: var(--color-grey-light-2);
  font-family: sans-serif;
  z-index: 1;
}

/***************************/
/* FOOTER */
/***************************/

.footer {
  color: var(--color-grey-light-1);
  padding: 12.8rem 9.6rem;
  background-color: var(--color-primary-dark);
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2.4rem;
}

.about {
  grid-column: 1/3;
  display: flex;
  flex-direction: column;
}

.about-title {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  margin-bottom: 4.8rem;
}

.about-description {
  font-size: 1.6rem;
  line-height: 1.5;
}

.store {
  grid-column: 3/8;
  display: flex;
  /* justify-content: space-between; */
  gap: 2.4rem;
}

.store address {
  font-size: 1.6rem;
  line-height: 1.5;
}

.store address p {
  margin-bottom: 0.8rem;
}

.container__footer-btn {
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
}

.btn-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-footer .icon {
  height: 2rem;
  width: 2rem;
  /* padding: 0; */
}

.store .phone {
  margin-bottom: 0;
  /* font-size: 2rem; */
  /* background-color: red; */
}

/* 
MEDIA QUERY
*/

@media only screen and (max-width: 75em) {
  /* 1200px */
  .container {
    padding: 0 3.2rem;
  }
  .services {
    gap: 4.8rem;
  }
  .feature-image img {
    height: 40rem;
  }

  .footer {
    padding: 9.6rem 4.8rem;
  }
}

@media only screen and (max-width: 68.75em) {
  /* 1100px */

  .heading-hero {
    font-size: 4.4rem;
  }

  .hero-description {
    font-size: 1.8 rem;
  }
  .btn-hero {
    font-size: 1.8rem;

    padding: 1.2rem 2.4rem;
  }

  .services {
    gap: 4.8rem;
  }

  .service {
    padding: 3.2rem;
  }

  .service-img {
    height: 6.2rem;
    width: 6.2rem;
  }

  .feature {
    column-gap: 1.2rem;
  }
  .feature-image img {
    height: 37rem;
  }
  .footer {
    padding: 9.6rem 2.4rem;
  }
  .footer .container {
    grid-template-rows: repeat(2, 1fr);
  }
  .about {
    grid-column: 1/-1;
    margin-bottom: 3.2rem;
  }
  .about-title {
    margin-bottom: 2.4rem;
  }
  .store {
    grid-column: 1/-1;
    grid-row: 2/3;
  }

  .section-affiliate,
  .section-services,
  .section-feature,
  .section-review {
    padding: 4.8rem 0 3.2rem 0;
  }
}

@media only screen and (max-width: 64em) {
  /* 1024px */

  .menu-box {
    gap: 1.6rem;
  }

  .menu {
    font-size: 1.8rem;
  }
  .services {
    gap: 3.2rem;
  }

  .service {
    padding: 2.4rem;
  }

  .service-img {
    height: 6.2rem;
    width: 6.2rem;
  }

  .service-img img {
    height: 5.2rem;
    width: 5.2rem;
  }

  .feature {
    column-gap: 1.2rem;
  }
  .feature.grid {
    /* column-gap: 6.4rem; */
    row-gap: 3.2rem;
  }
  .feature-image {
    grid-column: 1/2;
    grid-row: 1/-4;
  }
  .feature-image img {
    height: 44rem;
  }
  .feature-details {
    grid-column: 2/-1;
  }
}

@media only screen and (max-width: 54.75em) {
  /* 876px */
  html {
    font-size: 57%;
  }

  .feature-image img {
    height: 42rem;
  }
}

@media only screen and (max-width: 50em) {
  /* 800px  */

  /* 
  EXPANDABLE MENU STARTS
  */
  .header {
    grid-template-columns: repeat(3, 1fr);
  }
  .container__logo {
    grid-column: 1/3;
  }
  .container__menu {
    display: none;
  }
  .heading-hero {
    font-size: 3.6rem;
  }

  .hero-description {
    font-size: 1.6 rem;
  }

  .affiliate {
    column-gap: 0.2rem;
  }

  .affiliate-logo {
    justify-content: center;
  }

  .affiliate-logo img {
    height: 14rem;
  }

  .services {
    flex-direction: column;
  }

  .service {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;

    padding: 3.2rem;
  }

  .service-img {
    margin-bottom: 0;
  }

  .service-detail {
    grid-column: 2/-1;
  }

  .feature-image {
    grid-column: 1/-1;
    grid-row: 1/2;
  }
  .feature-details {
    grid-column: 1/-1;
  }
}

@media only screen and (max-width: 41.87em) {
  /* 670px  */

  .heading-hero {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.6 rem;
  }
  .btn-hero {
    font-size: 1.6rem;

    padding: 1.2rem 1.6rem;
  }
  .btn-hero .icon {
    width: 2rem;
    height: 2rem;
  }

  .affiliate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .affiliate-details {
    align-items: center;
  }

  .affiliate-logo img {
    height: 16rem;
  }

  .service {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .service-img {
    margin-bottom: 2.4rem;
  }

  .service-detail {
    grid-column: 2/-1;
  }

  .user-reviews {
    display: flex;
    flex-direction: column;
  }

  .footer {
    padding: 6.4rem 1.6rem;
  }
  .footer .container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}

@media only screen and (max-width: 35.62em) {
  /* 570px  */

  .logo img {
    height: 5rem;
  }
  .logo-text {
    font-size: 2.4rem; /* 3rem*/
  }

  .section-hero {
    height: calc(80vh - 5.8rem);
  }
  .container__hero-text {
    padding: 3.2rem 1.6rem;
  }
  .container__heading-hero {
    width: 100%;
  }
  .heading-hero {
    font-size: 2.8rem;
  }

  .hero-description {
    font-size: 1.4 rem;
  }
  .section-services,
  .section-feature,
  .section-review {
    padding: 3.2rem 0 3.2rem 0;
  }

  .section-affiliate {
    padding: 3.2rem 0 2.4rem 0;
  }

  .affiliate-name {
    font-size: 2.8rem;
  }
}

@media only screen and (max-width: 31.25em) {
  /* 500px  */
  .container__heading-hero {
    margin-bottom: 3.2rem;
  }
  .heading-hero {
    font-size: 2.4rem;
  }
  .conainer__hero-btn {
    margin-bottom: 1.8rem;
  }
  .hero-description {
    font-size: 1.8rem;
  }

  .affiliate-name {
    font-size: 2.4rem;
  }

  .store {
    flex-direction: column;
  }
  .footer {
    padding: 4.8rem 1.6rem;
  }
  .footer .container {
    padding: 0 1.6rem;
  }
}

@media only screen and (max-width: 27.5em) {
  /* 440px  */

  .heading-hero {
    font-size: 2rem;
  }
  .heading-hero:nth-child(2) {
    margin-top: 0.4rem;
    font-size: 3rem;
  }
  .hero-description {
    font-size: 1.4rem;
  }

  .btn-hero {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
  }
  .btn-hero .icon {
    width: 2rem;
    height: 2rem;
  }
  .conainer__hero-btn {
    gap: 1.6rem;
  }

  .service {
    padding: 2.4rem;
  }

  .feature-image img {
    height: 36rem;
  }

  .affiliate-name {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    text-align: center;
    line-height: 1.2;
  }
}

@media only screen and (max-width: 27.5em) {
  /* 375px  */
  .heading-hero {
    font-size: 1.8rem;
  }

  .affiliate-description {
    font-size: 1.6rem;
    letter-spacing: 0.4px;
  }

  .feature-image img {
    height: 36rem;
  }
}
@media only screen and (max-width: 21.25em) {
  /*  340px */
  .container {
    padding: 0 1.6rem;
  }
  .logo-text {
    font-size: 2rem;
  }
  .heading-hero {
    font-size: 1.6rem;
  }

  .feature-image img {
    height: 32rem;
  }

  .footer .container {
    padding: 0 0;
  }
}

/* 
- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- SPACING SYSTEM (px)
2 /4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128    
*/
