.logo {
  width: 20rem;
  height: auto;
  display: block;
}

.header__social-icon-wrapper {
  position: absolute;
  right: 10%;
  top: 5%;
  display: flex;
  gap: 2.4rem;
  align-items: center;
}

.header__social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: #f0f0f0;
  color: #000;
  font-size: 2.4rem;
  overflow: hidden;
  transition: transform 0.6s ease;
  perspective: 800px;
  text-decoration: none;
}

.header__social-icon::before {
  content: "";
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: bottom 0.4s ease;
  z-index: 0;
}

.header__social-icon i {
  position: relative;
  z-index: 2;
  transition:
    transform 0.6s ease,
    color 0.3s ease;
}

.header__social-icon:hover::before {
  bottom: 0;
}

.header__social-icon:hover i {
  transform: rotateY(360deg);
  color: #fff;
  cursor: pointer;
}

/*********************** */
/* arrow with line */
/*********************** */
.separator-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;

  position: absolute;
  bottom: 10.5%;
  left: 50%;
  transform: translateX(-50%);
}
.header__nav-line {
  width: 80%;
  height: 0.2rem;
  background-color: var(--color-white);
}

.arrow {
  width: 2.4rem;
  height: auto;
}


/*********************** */
/* Home page hero section */
/*********************** */

.home-hero {
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 55vh;
  margin: 0 auto;
  max-width: 120rem;
  width: 100%;
}

.home-hero__heading {
  font-size: 6.4rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 1.4rem;
}

.home-hero__subheading {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 5.2rem;
}

.home-hero__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.6rem;
}

/* =========================
   SERVICES SECTION
========================= */

.services {
  padding: 10.4rem 0 2.4rem;
}

.services-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 6.4rem 16.4rem;
}

.services-item {
  height: 20rem;
  width: 30.333%;
  padding: 1rem 2.8rem;
  margin: 1rem;
  position: relative;

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

  background: linear-gradient(
    to bottom,
    var(--lighter-gray),
    var(--light-gray)
  );

  box-shadow: var(--bold-shadow);
  transition: all 0.2s;
}

/* Hover background overlay */
.services-item::before {
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.2s;

  background: linear-gradient(
    to bottom,
    var(--brand-red),
    var(--dark-brand-red)
  );
}

.services-item:hover {
  background: transparent;
}

.services-item:hover::before {
  opacity: 1;
}

/* =========================
   SERVICE ICONS
========================= */

.service-icon--web-design,
.service-icon--graphic-design,
.service-icon--social-media,
.service-icon--video-editing,
.service-icon--product-photography,
.service-icon--email-marketing {
  height: 10rem;
  width: 10rem;
  position: absolute;
  left: 10%;
  top: 10%;
  z-index: 100;
}

/* Individual icons */
.service-icon--web-design {
  background: url('../images/serviceIcons/TopCreative-WebDesign-icon.png')
    no-repeat center center/contain;
}

.services-item:hover .service-icon--web-design {
  background: url('../images/serviceIcons/TopCreative-WebDesign-icon-white.png')
    no-repeat center center/contain;
}

.service-icon--graphic-design {
  background: url('../images/serviceIcons/TopCreative-GraphicDesign-icon.png')
    no-repeat center center/contain;
}

.services-item:hover .service-icon--graphic-design {
  background: url('../images/serviceIcons/TopCreative-GraphicDesign-icon-white.png')
    no-repeat center center/contain;
}

.service-icon--social-media {
  background: url('../images/serviceIcons/TopCreative-SocialMedia-icon.png')
    no-repeat center center/contain;
}

.services-item:hover .service-icon--social-media {
  background: url('../images/serviceIcons/TopCreative-SocialMedia-icon-white.png')
    no-repeat center center/contain;
}

.service-icon--video-editing {
  background: url('../images/serviceIcons/TopCreative-VideoEditing-icon.png')
    no-repeat center center/contain;
}

.services-item:hover .service-icon--video-editing {
  background: url('../images/serviceIcons/TopCreative-VideoEditing-icon-white.png')
    no-repeat center center/contain;
}

.service-icon--product-photography {
  background: url('../images/serviceIcons/TopCreative-ProductPhotography-icon.png')
    no-repeat center center/contain;
}

.services-item:hover .service-icon--product-photography {
  background: url('../images/serviceIcons/TopCreative-ProductPhotography-icon-white.png')
    no-repeat center center/contain;
}

.service-icon--email-marketing {
  background: url('../images/serviceIcons/TopCreative-EmailMarketing-icon.png')
    no-repeat center center/contain;
}

.services-item:hover .service-icon--email-marketing {
  background: url('../images/serviceIcons/TopCreative-Email-Marketing-icon-white.png')
    no-repeat center center/contain;
}

/* =========================
   SERVICE TITLE
========================= */

.services-item .heading__h3 {
  position: absolute;
  bottom: 15%;
  left: 15%;
  z-index: 100;
  text-transform: capitalize;
}

.services-item:hover .heading__h3 {
  color: #fff;
}

.heading__h3 span {
  font-weight: 800;
}

/* =========================
   TYPOGRAPHY
========================= */

.heading__h1 {
  font-size: 7.2rem;
}

.heading__h2 {
  font-size: 4.8rem;
  text-transform: capitalize;
}

.heading__h3 {
  font-size: 2.4rem;
  font-weight: 100;
  line-height: 1.2;
}

.lead {
  font-size: 4.8rem;
  margin-bottom: 6.2rem;
}

/* =========================
   GRADIENTS
========================= */

.blue-gradient {
  background: linear-gradient(
    to left,
    var(--midnight-blue),
    var(--dark-imperial-blue),
    var(--plum)
  );
}

.light-gradient {
  background: linear-gradient(
    to bottom,
    var(--lighter-gray),
    var(--light-gray)
  );
}

.peach-gradient {
  background: linear-gradient(
    to bottom,
    var(--pale-peach),
    var(--light-amber)
  );
}

/* =========================
   RESPONSIVE FIXES ONLY
========================= */

/* Large tablets & small laptops */
@media (max-width: 1200px) {
  .services-wrapper {
    padding: 6.4rem 8rem;
  }

  .services-item {
    width: 45%;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .services-wrapper {
    padding: 4.8rem 3.2rem;
  }

  .services-item {
    width: 100%;
    height: auto;
    min-height: 20rem;
  }

  .services-item .heading__h3 {
    bottom: 12%;
    left: 12%;
    font-size: 2rem;
  }

  .service-icon--web-design,
  .service-icon--graphic-design,
  .service-icon--social-media,
  .service-icon--video-editing,
  .service-icon--product-photography,
  .service-icon--email-marketing {
    height: 8rem;
    width: 8rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .services-wrapper {
    padding: 3.2rem 1.6rem;
  }

  .services-item {
    margin: 0.8rem 0;
    padding: 1rem 1.5rem;
  }

  .lead {
    font-size: 3.2rem;
  }

  .heading__h2 {
    font-size: 3.2rem;
  }

  .heading__h1 {
    font-size: 4.2rem;
  }

  .services-item .heading__h3 {
    font-size: 1.8rem;
  }
}
/*********************** */
/* Home page clients section */
/*********************** */
.clients {
  margin: 0 auto;
  max-width: 130rem;
  width: 100%;
  padding-top: 8rem;
  overflow: hidden;
  position: relative;
}

.clients__logos-wrapper {
  overflow: hidden;
  width: 100%;
}

.clients__logos-track {
  display: flex;
  gap: 4.2rem;
  width: max-content;
  animation: scroll 25s linear infinite;
  animation-play-state: running;
}

/* Pause on hover */
/* .clients__logos-wrapper:hover .clients__logos-track {
  animation-play-state: paused;
} */

.client__logo-box {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client__logo {
  width: 20rem;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Hover zoom effect */
/* .client__logo:hover {
  transform: scale(1.15);
  opacity: 1;
} */

/* Animation for continuous scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/*********************** */
/* Results Section */
/*********************** */

/* Main container */
.services-carousel-section {
  display: flex;
  width: 80%;
  max-width: 120rem;
  height: 80vh;
  gap: 6rem;
  align-items: center;
  justify-content: center;
  margin: 9.2rem auto;
}

.carousel-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding-left: 4rem;
}

/* Carousel container */
.carousel-container {
  width: 100%;
  max-width: 500px;
  height: 70vh;
  position: relative;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-track {
  width: 45rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===================== */
/* CARD */
/* ===================== */
.card {
  position: absolute;
  width: 38rem;
  /* height: 33.5rem; */
  height: 42rem;

  background: var(--color-white);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem;
}

/* ICON */
.card img {
  width: 30%;
  height: auto;
  object-fit: contain;
  opacity: 0;           
  transition: all 0.8s ease;
}

/* TITLE */
.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

/* TEXT */
.card-text {
  font-size: 1.4rem;
  color: #848696;
  text-align: center;
  line-height: 1.4;
  max-width: 90%;
}

/* ===================== */
/* ACTIVE CARD */
/* ===================== */
.card.center {
  position: relative;
  z-index: 10;
  transform: scale(1.1) translateZ(0);
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  overflow: hidden;
}

.card.center img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08; 
  z-index: 0;
  pointer-events: none;
}

.card.center > *:not(img) {
  position: relative;
  z-index: 1;
}

.card-benefits-list {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-white);

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ===================== */
/* POSITION STATES */
/* ===================== */

.card.up-2 {
  z-index: 1;
  transform: translateY(-300px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.up-1 {
  z-index: 5;
  transform: translateY(-150px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.down-1 {
  z-index: 5;
  transform: translateY(150px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.down-2 {
  z-index: 1;
  transform: translateY(300px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===================== */
/* CONTROLS */
/* ===================== */

.member-info {
  text-align: center;
  margin-top: 20px;
}

.service-name {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  position: relative;
  display: inline-block;
}

.service-name::before,
.service-name::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 80px;
  height: 2px;
  background: var(--color-primary);
}

.service-name::before {
  left: -100px;
}

.service-name::after {
  right: -100px;
}

.service-description {
  color: #848696;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.1em;
}

/* ===================== */
/* DOTS */
/* ===================== */

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(8, 42, 123, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* ===================== */
/* NAV ARROWS */
/* ===================== */

.nav-arrow {
  position: relative;
  background: var(--color-primary);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  border: none;
  transition: all 0.3s ease;
}

.nav-arrow img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.nav-arrow:hover {
  background: var(--color-primary);
}

.nav-arrow:hover img {
  transform: scale(1.1);
}



/*********************** */
/* Growth section */
/*********************** */

.growth-section {
  margin: 0 auto;
  padding: 10.2rem 0 12.2rem 0;
  position: relative;
  /* z-index: 0; */
}


.cta-box {
  width: 80%;
  min-height: 220px;
  height: 100%;
max-width: 1200px;
  margin: 0 auto;
  padding: 3.2rem;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  z-index: 1;
  border-radius: 2rem;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 5px 30px rgba(0, 0, 0, 0.05),
    0 5px 80px rgba(0, 0, 0, 0.08);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(
    90deg,
    #ff0080,
    #7928ca,
    #2afadf,
    #00ff87,
    #ffd700,
    #ff0080
  );

  background-size: 400% 400%;
  animation: borderFlow 13s linear infinite;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter: brightness(1.6) saturate(1.8) blur(0.3px);
  pointer-events: none;
  z-index: -1;
}

/* Glow layer */
.cta-box::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;

  background: inherit;
  filter: blur(18px);
  opacity: 0.9;
  z-index: -2;
}

/* Animation */
@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

.cta-box__content {
  width: 80%;
  margin-right: auto;
}

.cta-heading {
  width: 12ch;
  font-size: 3.8rem;
  line-height: 1.2;
  font-weight: 300;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  color: var(--color-black);
  margin-bottom: 3.4rem;
}

.cta-box__input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  gap: 2.2rem;
  margin-top: 2.4rem;
}

.visually-hidden {
  display: none;
}

.cta-field {
  padding: 1.8rem 2.2rem;
  border: 1px solid var(--color-primary);
  background-color: var(--color-white);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  width: 50%;
}

.cta-field:focus {
  border-color: var(--color-tertiary);
  outline: none;
}

.cta-btn {
  border: none;
  font-size: 2rem;
  font-family: "Poppins", serif;
  font-weight: 500;
  padding: 2rem 2.4rem;
  border-radius: 5rem;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--color-white);
  background: var(--color-primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: auto;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

/* subtle hover effect */
.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.cta-box__image-wrapper {
  width: 50rem;
  height: auto;
  position: absolute;
  top: 60%;
  left: 78%;
  transform: translate(-50%, -50%);
}

.cta-box__image {
  width: 100%;
  height: 100%;
  transform: rotate(-14deg);
}


/*********************** */
/* Plans cta home page section */
/*********************** */

.plans__cta {
    margin: 0 auto;
    padding: 0 5.2rem;
    max-width: 130rem;
    width: 90%;
    height: 92vh;
    display: flex;
    align-items: center;
}

.plans__cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 12.2rem; */
  /* margin: 0 auto; */
}

.plans__cta-content {
  flex: 0 0 35%;
}

.plans__cta-heading {
  font-size: 3.6rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 1rem;
}

.plans__cta-subheading {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 300;
  margin-bottom: 3.2rem;
}

.leads-impact__box {
  position: relative;
  width: 55%;
}

.leads-impact__circle {
  width: 45rem;
  height: 45rem;
  border-radius: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  /* margin-left: -4rem; */
}

.leads-impact__image-wrapper {
  box-shadow:
    0 8px 60px rgba(234, 34, 37, 0.3),
    0 8px 30px rgba(234, 34, 37, 0.2),
    0 8px 15px rgba(234, 34, 37, 0.1);
  padding: 0.2rem;
}

.leads-impact__image {
  width: 13.8rem;
  height: auto;
}

.leads-impact__title {
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-primary);
  text-shadow:
    0 8px 60px rgba(234, 34, 37, 0.3),
    0 8px 30px rgba(234, 34, 37, 0.2),
    0 8px 15px rgba(234, 34, 37, 0.1);
}

.leads-impact__title.swap {
  animation: swapText 0.4s ease;
}

/* Fade transition for smooth text swap */
.fade-out {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.fade-in {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.leads-impact__circle--main {
  width: 14rem;
  height: 14rem;
  border-radius: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 0 47px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.8s ease;
  cursor: pointer;
  transform: translate(0, 0) scale(1);
}

.leads-impact__text {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  position: relative;
}

.leads-impact__circle--sales {
  position: absolute;
  top: 0;
  right: 15%;
}

.leads-impact__circle--impact {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
}
.leads-impact__circle--growth {
  position: absolute;
  bottom: 0;
  right: 15%;
}

@keyframes swapText {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/*********************** */
/* Toogle section home page */
/*********************** */

.features {
  padding: 8rem 0 0 0;
  margin: 0 auto;
}
.features__heading {
  font-size: 3.6rem;
  font-weight: 500;
  margin-bottom: 10rem;
  text-align: center;
}

/* Hide checkbox */
#toggle {
  display: none;
}

/* Wrap */
.toggle-wrap {
  position: relative;
  width: 200px;
  height: 70px;
  margin: 0 auto;
}

/* Background track */
.track {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 40px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Left icon (static) */
.left-icon {
  position: absolute;
  left: -3%;
  top: 80%;
  transform: translateY(-50%) rotate(-8deg);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.left-icon img {
  width: 25rem;
  height: 25rem;
}

/* RIGHT ICON (BOOST IMAGE) */
.right-icon {
  position: absolute;
  right: -10%;
  top: 90%;
  transform: translateY(-50%) rotate(8deg);
  width: 88px;
  height: 88px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.right-icon img {
  width: 20rem;
  height: 20rem;
}

/* DEFAULT STATE */
.core-img {
  opacity: 1;
  transition: all 0.4s ease;
}

.boost-img {
  opacity: 0;
  transition: all 0.4s ease;
}

/* WHEN BOOST IS ACTIVE */
#toggle:checked ~ .toggle-wrap .core-img {
  opacity: 0;
  transform: translateY(-50%) translateX(-40px) rotate(-8deg);
}

#toggle:checked ~ .toggle-wrap .boost-img {
  opacity: 1;
  transform: translateY(-50%) rotate(8deg);
  pointer-events: auto;
}

/* ========== PILL BUTTON ========== */

.pill {
  position: absolute;
  right: 0;
  width: 60%;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 40px;
  cursor: pointer;
  font-size: 20px;
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s;
  z-index: 3;
}

/* Default (Core) */
#toggle:not(:checked) ~ .toggle-wrap .pill {
  background: linear-gradient(90deg, #ff4b6e, #ff2b5b);
}

/* Boost */
#toggle:checked ~ .toggle-wrap .pill {
  background: linear-gradient(90deg, #ff2b5b, #ff6b3f);
  left: 0;
}

/* ========== SWITCH TEXT ========== */
.core-text,
.boost-text {
  position: absolute;
}

/* Show only Core text initially */
#toggle:not(:checked) ~ .toggle-wrap .core-text {
  display: inline;
}
#toggle:not(:checked) ~ .toggle-wrap .boost-text {
  display: none;
}

/* Switch to Boost when checked */
#toggle:checked ~ .toggle-wrap .core-text {
  display: none;
}
#toggle:checked ~ .toggle-wrap .boost-text {
  display: inline;
}

/* Content */
.features__content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 5.2rem;
  margin: 0 auto;
  position: relative;
}


/* ========== FEATURES LIST========== */

.features__list {
  display: none;
  max-width: 1024px;
  width: 100%;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

/* Default Core */
#toggle:not(:checked) ~ .features__content .features__list--core {
  display: flex;
}
#toggle:not(:checked) ~ .features__content .features__list--boost {
  display: none;
}

/* Boost selected */
#toggle:checked ~ .features__content .features__list--core {
  display: none;
}
#toggle:checked ~ .features__content .features__list--boost {
  display: flex;
}

/* Feature item */
.features__item {
  padding: 1.6rem 2.6rem;
  background: var(--color-white);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 1.8rem;
}

/*********************** */
/* Why us section home page */
/*********************** */

.why-us-home {
  padding: 5.2rem;
  display: flex;
  gap: 5.2rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 130rem;
  width: 100%;
}

.why-us__text-box {
  width: 50%;
}

.why-us__title-home {
  font-size: 3rem;
  line-height: 1;
  font-weight: 500;
  color: var(--color-primary);
}

.why-us__heading-home {
  font-size: 3.6rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 3.2rem;
}

.why-us__text-home {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 300;
}

/* image box */

.why-us__image-container {
  position: relative;
  width: 43rem;
  height: 43rem;
  overflow: hidden;
  cursor: pointer;
}

.quadrant {
  position: absolute;
  width: 50%;
  height: 50%;
  background-image: url("../images/why-us-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quadrant::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.6); */
  background-color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.quadrant span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: bold;
  opacity: 0;
  z-index: 2;
  /* text-align: center; */
  transition: opacity 0.5s ease;
}

/* Show overlay on hover */
.why-us__image-container:hover .quadrant::after {
  opacity: 1;
}

/* Position quadrants */
.q1 {
  top: 0;
  left: 0;
  background-position: left top;
}
.q2 {
  top: 0;
  right: 0;
  background-position: right top;
}
.q3 {
  bottom: 0;
  left: 0;
  background-position: left bottom;
}
.q4 {
  bottom: 0;
  right: 0;
  background-position: right bottom;
}

/* Hover effect: move quadrants outward */
.why-us__image-container:hover .q1 {
  transform: translate(-10%, -10%);
}
.why-us__image-container:hover .q2 {
  transform: translate(10%, -10%);
}
.why-us__image-container:hover .q3 {
  transform: translate(-10%, 10%);
}
.why-us__image-container:hover .q4 {
  transform: translate(10%, 10%);
}

/* Show words on hover */
.why-us__image-container:hover .quadrant span {
  opacity: 1;
}

/*********************** */
/* faq section home page */
/*********************** */

.faqs-home {
  width: 80%;
  margin: 0 auto;
  padding: 9.2rem 0 0 0;
}

.faqs__home-heading {
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 5.2rem;
  text-align: center;
}
.faq-grid {
  max-width: 120rem;
  width: 100%;
  height: 80vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2.4rem;
}

/* CARD BASE */
.faq-card {
  position: relative;
  padding: 2.8rem;
  border-radius: 2rem;
  background: var(--color-white);
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-secondary);
}

/* CARD SIZES */
.small {
  grid-row: span 1;
}

.tall {
  grid-row: span 2;
  font-size: 3rem;
}

.wide {
  background: var(--color-tertiary);
  color: var(--color-white);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  font-size: 3.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
}

.cta {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  border: none;
  /* text-decoration: none; */
}

.faq-card.cta:hover {
  opacity: 0.95;
}

/* IMAGE CARD */
.image-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  grid-row: span 4;
  
}

/* Image as background */
.image-card img { 
  width: 100%; 
  height:90%; 
  object-fit: cover;
      
}
/* Overlay container */
.image-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  
  height: 100%; 

  display: flex;
  justify-content: flex-end; 
  align-items: center;     
  flex-direction: column;    
  padding-bottom: 2rem;       

  opacity: 1;                 
  background: transparent;  
  pointer-events: none;       
  transition: opacity 0.3s ease;
}

/* Button inside overlay */
.image-card__cta-button {
  text-decoration: none;
  font-size: 2rem;
  padding: 2.4rem 3.2rem;
  border-radius: 5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--color-white);
  background: var(--color-primary);
  position: relative;
  z-index: 2;
  display: inline-block;
  pointer-events: auto;       

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button hover effect */
.image-card__cta-button:hover {
  transform: translateY(-3px);
}

/* PLUS ICON  */
.faq-home__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background-color: var(--color-tertiary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 3.2rem;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;

  position: absolute;
  bottom: 2.4rem;
  right: 2.4rem;
  opacity: 0;
  pointer-events: none;
}

/* ICON ON HOVER */
.faq-card:hover .faq-home__icon {
  opacity: 1;
  transform: scale(1.05);
}

/* MODAL */
.faq-modal {
  position: fixed;
  inset: 0;
  background: var(--color-primary-90);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.faq-modal-box {
  background: var(--color-white);
  border-radius: 2rem;
  padding: 4rem;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.faq-modal-box h2 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}

.faq-modal-box p {
  font-size: 1.6rem;
  line-height: 1.6;
}

.faq-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4.2rem;
  background: none;
  border: none;
  cursor: pointer;
}



/* ------------------------
   Subscribe Section Styles
------------------------ */

.subscribe {
  max-width: 100rem;    
  width: 100%;  

  margin: 0 auto;       
  padding: 4.2rem 2rem;      
  margin-top: 12.2rem;
  /* background-color: #f9f9f9; */
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  border-radius: 3rem;   
  text-align: center;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.08);

}

.subscribe__title {
  font-size: 2.4rem;        
  font-weight: 700;
  margin-bottom: 3rem;     
  color: var(--color-white);         
}
.subscribe__form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: center;
}

.subscribe__wrapper{
  display: flex;
  column-gap: 1.4rem;
}

/* Field wrapper for floating label */
.subscribe__field {
  position: relative;
  width: 30rem;
  max-width: 100%;
}

/* Label */
.subscribe__label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
  pointer-events: none;
  background: transparent;
  padding: 0 6px;
  transition: all 0.3s ease;
}

/* Input */
.subscribe__input {
  width: 100%;
  padding: 14px 10px ;
  font-size: 1rem;
  border: 0.1rem solid var(--color-white);
  border-radius: 0.6rem;
  background: transparent;
  color: var(--color-white);
  outline: none;
  transition: all 0.3s ease;
}


/* When input is focused or has value */
.subscribe__input:focus + .subscribe__label,
.subscribe__input:not(:placeholder-shown) + .subscribe__label {
  top: -8px;
  left: 10px;
  font-size: 0.8rem;
  color: var(--color-black);
  background: var(--color-white);
  padding: 2px 8px;
  border-radius: 12px;
}

/* Input focus effect */
.subscribe__input:focus {
  border-color: var(--color-white);
  box-shadow: 0 4px 12px rgba(233, 22, 29, 0.25);
  transform: translateY(-1px);
}

/* Button */
.subscribe__btn {
  padding: 0.8rem 2.4rem;
  font-size: 1.4rem;
  font-family: "Poppins", sans-serif;
  border: none;
  border-radius: 0.4rem;
  background-color: var(--color-white);
  color: var(--color-black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe__btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 12px rgba(233, 22, 29, 0.3);
}

.subscribe__btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(233, 22, 29, 0.25);
}


/* ------------------------
   Features / Benefits
------------------------ */
.subscribe__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0;
}

.subscribe__feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Optional subtle hover effect */
.subscribe__feature:hover {
  transform: translateY(-2px);
  color: var(--color-white);
}

.subscribe__feature .subscribe__icon {
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------
   Divider
------------------------ */
.subscribe__divider {
  height: 0.1rem; 
  opacity: 0.5;        
  background-color: var(--color-white);
  width: 80%;
  margin: 0 auto 4rem;
}

/* ------------------------
   Cards
------------------------ */
.subscribe__cards {
  display: flex;
  justify-content: center;
  gap: 2rem;              
  flex-wrap: wrap;
  margin-bottom: 4rem;    
}

.subscribe__card {
  background-color: var(--color-white);
  padding: 1.8rem 1.2rem;          
  border-radius: 2rem;     
  flex: 1 1 25rem;        
  max-width: 22rem;       
  box-shadow: 0 0.6rem 1.8rem rgba(0,0,0,0.08); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe__card:hover {
  transform: translateY(-0.5rem); 
  box-shadow: 0 1rem 2.4rem rgba(0,0,0,0.12);
}

.subscribe__card-title {
  font-weight: 700;
  font-size: 1.1rem;       
  margin-bottom: 1rem;     
  color: var(--color-primary);
}

.subscribe__card-text {
  font-size: 1rem;       
  color: #495057;
  line-height: 1.4;
}

/* ------------------------
   CTA Button
------------------------ */
.subscribe__cta {
  display: inline-block;
  padding: 1.4rem 3rem;   
  color: var(--color-white);
  font-weight: 400;
  font-size: 1.4rem;        
  border-radius: 0.8rem;   
  transition: background 0.3s ease, transform 0.2s ease;
}

.subscribe__cta:hover {
  transform: translateY(-0.2rem); 
}

/* ------------------------
   Responsive
------------------------ */
@media (max-width: 375px) { 
  .subscribe__title {
    font-size: 2rem;}

}

/*********************** */
/* About page */
/*********************** */

.about__hero {
  max-width: 80vw;
  text-align: center;
  margin: 0 auto;
  padding-top: 2.2rem;
}

.about__hero-heading {
  font-size: 3.4rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 1.4rem;
  color: var(--color-primary);
}

.about__hero-text {
  font-size: 2.4rem;
  line-height: 1.4;
  font-weight: 300;
  margin: 0 auto;
  margin-bottom: 5.2rem;
  width: 100%;
}

/*********************** */
/* About page states section */
/*********************** */

.states {
  margin: 8rem 0 0 0;
  position: relative;
  /* margin: 18.2rem 0 5rem; */
}

.states__heading {
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 400;
  text-align: center;
  margin-bottom: 5.2rem;
}

/* Circles */
.state__img-box {
  position: relative;
  width: 100%;
  max-width: 110.4rem;
  aspect-ratio: 120.4 / 83.3;
  margin: 0 auto;
  overflow: hidden;
}

.map__sources-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map__circle {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background-color: var(--color-tertiary);
  position: absolute;
  pointer-events: auto;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease;
}

.map__circle-1 {
  top: 10%;
  left: 25%;
}
.map__circle-2 {
  top: 18%;
  left: 45%;
}
.map__circle-3 {
  top: 5%;
  left: 55%;
}
.map__circle-4 {
  top: 18%;
  left: 70%;
}
.map__circle-5 {
  top: 10%;
  left: 80%;
}
.map__circle-6 {
  top: 20%;
  left: 10%;
}
.map__circle-7 {
  top: 22%;
  left: 90%;
}

/* active circle */
.map__circle.active {
  background-color: var(--color-primary);
  transform: scale(1.4);
  z-index: 4;
}

.map__circle-source-wrapper {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -120%);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  z-index: 10;
}

/* visible state */
.map__circle-source-wrapper.active {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

/* active info text color */
.state__info-item.active .state__info-title,
.state__info-item.active .state__info-subtitle {
  color: var(--color-primary);
}

.map__circle-source-wrapper:focus {
  outline: 2px solid rgba(224, 52, 0, 0.2);
  outline-offset: 4px;
}

/* Container */
.state__img-box {
  width: 80%;
  max-width: 110.4rem;
  aspect-ratio: 120.4 / 83.3;
  overflow: hidden;
  margin: 0 auto;
  position: relative !important;
}

/* Image */
.state__img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  opacity: 0.2;
}

.states__info-wrapper {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  /* padding: 0 14.2rem 5.2rem 14.2rem; */
  padding: 0 9.2rem;
  position: relative;
  top: -50rem;
  /* margin-top: -20rem; */
  z-index: 1000;
  margin: 0 auto;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
}

.state__info-item {
  flex: 0 0 calc((100% / 3) - (2.4rem * (2 / 3)));
  box-sizing: border-box;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  padding: 2rem;
}

.state__info-item:hover {
  cursor: pointer;
}

.state__info-item.active .state__info-title {
  color: var(--color-primary);
}

.state__info-title {
  font-size: 5.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-black);
  transition: all 0.3s;
}

.state__info-subtitle {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
}

.state__info-text {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 1.8rem;
  width: 33ch;
}

/*********************** */
/* story section home page */
/*********************** */

.story {
  display: flex;
  gap: 5.2rem;
  padding: 0 9.2rem;
  margin-top: 8rem;
}

.story__image-box {
  width: 42.5rem;
  height: 42.5rem;
  background-color: var(--color-grey-light-2);
  margin-left: auto;
}

.story__image {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  background-size: cover;
  background-position: center;
}

.story__text-box {
  width: 50%;
}

.story__title {
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--color-primary);
}

.story__heading {
  font-size: 3.6rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 1.6rem;
}

.story__text {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 300;
}

/* Story section */
.story-icons {
  display: flex;
  align-items: center;
  padding: 3.6rem 0;
}

.story-icons__list {
  display: flex;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.story-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--color-grey-light-1);
  color: var(--color-black);
  font-size: 2.6rem;
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer; /* optional */
}

/* Gradient background */
.story-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #ffd200, #f7971e);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.story-icon i,
.story-icon span {
  position: absolute;
  z-index: 1;
  transition: all 0.4s ease;
}

.story-icon i {
  font-size: 2.6rem;
  color: var(--color-black);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.story-icon span {
  opacity: 0;
  color: var(--color-black);
  font-weight: 600;
  font-size: 1.6rem;
  transform: scale(0.8);
}

/* Hover Effects */
.story-icon:hover {
  width: 12rem;
  border-radius: 3rem;
}

.story-icon:hover::before {
  opacity: 1;
}

.story-icon:hover i {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.story-icon:hover span {
  opacity: 1;
  transform: scale(1);
}

/*********************** */
/* Why us section about page */
/*********************** */

.why-us {
  position: relative;
  margin-top: 8rem;
}

.why-us__heading {
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

/* .why-us::before {
  content: "";
  background-image: url(../images/why-us-card-bg.png);
  width: 35%;
  height: 35%;
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
} */

.why-us__card-wrapper {
  position: relative;
  margin: 5.2rem 9.2rem 0rem 9.2rem;
  z-index: 1;
}
.why-us__card {
  width: 28.8rem;
  height: 46.5rem;
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  color: var(--color-white);
  border-radius: 5rem;
  padding: 3.4rem;
  /* text-align: center; */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.why-us__card-title {
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 1.6rem;
}
.why-us__card-subtitle {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2.8rem;
}
.why-us__card-text {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
}

/* benefits */
.why-us__benefit {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-secondary);
  letter-spacing: -1px;
  border-radius: 5rem;
  padding: 2.8rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  display: inline-block;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.why-us__benefit:hover {
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.why-us__benefit-1 {
  position: absolute;
  top: 0;
  left: 0;
}

.why-us__benefit-2 {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.why-us__benefit-3 {
  position: absolute;
  bottom: 0;
  left: 0;
}

.why-us__benefit-4 {
  position: absolute;
  top: 0;
  right: 0;
}

.why-us__benefit-5 {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}

.why-us__benefit-6 {
  position: absolute;
  bottom: 0;
  right: 0;
}

/*********************** */
/* Service page */
/*********************** */

.service__header {
  display: flex;
  gap: 4.2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.service__hero {
  min-height: 100vh;
  position: relative;
  padding: 4.2rem;
}

.service__hero-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
}

.service__hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.service__hero-title {
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 300;
  color: var(--color-white);
}

.service__hero-textbox {
  margin-top: 6.2rem;
  margin-left: 6.2rem;
  color: var(--color-white);
  position: relative;
  z-index: 2;
}

.service__hero-heading {
  font-size: 4.8rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.service__hero-subheading {
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 400;
  padding-bottom: 7.2rem;
}

/* Overview section */

.process,
.service__benefits,
.packages {
  display: none;
}

/* --- Show active tab content --- */
.process.show,
.service__benefits.show,
.packages.show {
  display: block;
}

.overview {
  height: auto;
  margin: 8.2rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services__tabs {
  display: flex;
  gap: 5.2rem;
}

.service__tab {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  border: none;
  background-color: transparent;
  transition: all 0.3s;
}

.service__tab.active {
  color: var(--color-secondary);
  font-weight: 600;
  border-bottom: 2px solid var(--color-secondary);
}

.service__tab:hover {
  color: var(--color-secondary);
  font-weight: 500;
  cursor: pointer;
  transform: scale(1.05);
}

/*********************** */
/* services process tab */
/*********************** */

.process__list {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process__list.show {
  display: block;
  opacity: 1;
}

.process {
  margin-bottom: 6.2rem;
}

.process__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.process__line-wrapper {
  width: 80%;
  position: relative;
  margin-top: 2rem;
}

.process__line {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
}

.process__circle-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.process__circle {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-secondary);
  transition: background-color 0.3s;
  pointer-events: auto;
}

.process__circle.active {
  background-color: var(--color-secondary);
}

.process__name-wrapper {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.2rem;
}
.process__name {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
  padding: 2rem;
  border-radius: 5rem;
  color: var(--color-grey-light-2);
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.process__name:hover {
  color: var(--color-black);
  border: 1px solid var(--color-secondary);
  transform: scale(1.05);
}

.process__name {
  position: relative;
}
.process__name.active {
  color: var(--color-black);
  border: 1px solid var(--color-secondary);
  transform: scale(1.05);
}

.process__name::after {
  content: "Click to view details";
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--color-black);
  opacity: 0;
  transition: opacity 0.3s;
}

.process__name:hover::after {
  opacity: 1;
}

.process__list-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  position: relative;
}

.process__list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;

  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.process__list.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.process__list-1 {
  left: 0;
}
.process__list-2 {
  left: 50%;
  transform: translateX(-50%);
}
.process__list-3 {
  right: 0;
}

.process__item {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 400;
}

/*********************** */
/* Service page benefit tab */
/*********************** */

.service__benefits {
  margin-bottom: 6.2rem;
}

.service__benefits-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem;
  justify-content: center;
  align-items: center;
  padding: 0 4.2rem;
}

.service__benefit {
  width: 26%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 3.6rem 2.8rem;
  border-radius: 2rem;
  transition: all 0.3s;
}

.service__benefit:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-secondary);
}

.service__benefit-icon {
  width: 3.8rem;
}

.service__benefit-name {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.4;
}

/*********************** */
/* Service page package tab */
/*********************** */

.packages {
  margin-bottom: 6.2rem;
  width: 70%;
  margin: 0 auto;
}

.package__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 6.8rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-tertiary);
}

.package__title {
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 400;
  font-style: italic;
}

.package__price-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.package__price {
  font-size: 6.4rem;
  line-height: 1;
  font-weight: 600;
  color: var(--color-secondary);
}

.package__starting {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 400;
}

/* Package detail box */

.package__detail-box {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    padding 0.5s ease;
  padding: 0 1rem;
  cursor: pointer;
}

.package__detail-box.show {
  max-height: 1000px;
  padding: 0 1rem 1.6rem 1rem;
}

.package__list {
  margin-bottom: 5.2rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  gap: 6.2rem;
}

.package__item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.package__item:hover .package__item-icon {
  color: var(--color-secondary);
}

.package__item-icon {
  font-size: 2rem;
  transition: all 0.3s;
}

.package__item-name {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
}

/*********************** */
/* Marketing plans page */
/*********************** */

#overview,
#plans,
#faq {
  display: none;
}

#overview.active,
#plans.active,
#faq.active {
  display: block;
}

.plans__header {
  display: flex;
  justify-content: space-between;
}

.header__status {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-white);
}

.plan__hero {
  min-height: 100vh;
  /* height: 100vh; */
  background-color: var(--color-grey-dark-1);
  padding: 4.2rem;
}

.plans__hero-textbox {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.plans__hero-title {
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.4;
  /* letter-spacing: -1.6px; */
  color: var(--color-white);
  text-align: center;
  margin-bottom: 1.4rem;
}

.plans__hero-subtitle {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-white);
}

.plans__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
  margin-top: 5.2rem;
}

.plans__tab-item {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 1;
  padding: 1rem;
  background-color: transparent;
  color: var(--color-white);
  transition: all 0.3s;
  text-decoration: none;
  border: none;
}

.plans__tab-item:hover {
  background-color: var(--color-primary);
  border-radius: 5rem;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.plans__tab-item.active {
  color: var(--color-white);
  background: var(--color-tertiary);
  border-radius: 5rem;
}

/*********************** */
/* Marketing plans pricing tab */
/*********************** */

.plan__sec-wrapper {
  width: 90vw;
  /* height: auto; */
  background-color: var(--color-white);
  border: 1px solid var(--color-secondary);
  border-radius: 5rem;
  margin: 0 auto;
  margin-top: -23rem;
  margin-bottom: 2rem;
  padding: 3.2rem;
  position: relative;
  overflow: hidden;
}

.plan__sec-wrapper::before {
  position: absolute;
  top: -30px;
  left: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  border-radius: 5rem;
  background: radial-gradient(
    circle,
    rgba(34, 139, 230, 0.2) 0%,
    rgba(34, 139, 230, 0) 70%
  );
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.plan__sec-wrapper {
  display: none;
}
.plan__sec-wrapper.active {
  display: block;
}

/*********************** */
/* Marketing plans overview tab */
/*********************** */

.section__title {
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1;
  /* color: var(--color-primary-tint-1); */
  color: var(--color-primary);
  position: relative;
}

.section__title::before {
  content: "";
  width: 5%;
  height: 6px;
  position: absolute;
  top: 50px;
  left: 0;
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  border-radius: 5em;
}

.benefit__slides-wrapper {
  display: flex;
  transition: transform 0.45s ease-in-out;
  will-change: transform;
}

.benefit__slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  padding-left: 5.2rem;
  justify-content: center;
}

.benefit__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 12rem;
  /* max-width: 100rem; */
  margin: 0 auto;
  margin-top: 7.2rem;
}

.benefit__slide .benefit__item {
  flex: 1 1 45%;
  min-width: 160px;
  box-sizing: border-box;
}

.benefit__item {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
}

.benefit__title {
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.benefit__sub-title {
  font-weight: 500;
}

/**************************************/
/* Marketing plans process timeline tab/
/***************************************/

/* TIMELINE WRAPPER */
.plan__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  max-width: 100%;
  margin: 19rem auto 0;
  margin-bottom: 8.2rem;
  height: 4px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

/* Timeline end dots */
.plan__timeline::before,
.plan__timeline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--color-secondary);
  border-radius: 50%;
  transform: translateY(-50%);
}

.plan__timeline::before {
  left: 0;
}
.plan__timeline::after {
  right: 0;
}

/* TIMELINE STEP */
.plan__timeline-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* VERTICAL CONNECTOR LINE */
/* TOP STEPS (1 & 3) */
.plan__timeline-step--top {
  transform: translateY(-10.5rem);
}

/* BOTTOM STEPS (2 & 4) */
.plan__timeline-step--bottom {
  transform: translateY(-0.5rem);
}

/* VERTICAL CONNECTOR LINE */
.plan__timeline-step .plan__timeline-line {
  width: 2px;
  height: 4.8rem;
  background-color: var(--color-secondary);
  margin: 0.8rem 0;
}

/* TYPOGRAPHY */
.plan__timeline-title {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.plan__timeline-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.8;
}

/*********************** */
/* Marketing plans overview tab reviews*/
/*********************** */

.review__box-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  /* margin: 0 auto; */
}

.review__box {
  width: 48%;
  height: auto;
  border-radius: 5rem;
  padding: 2rem 4.2rem;
  position: relative;
  background-color: var(--color-white);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.review__box:hover {
  border: 1px solid var(--color-secondary);
  transform: scale(1.02);
}

.review__box-rating {
  position: absolute;
  top: 15%;
  right: 10%;
}

.review__box-icon {
  font-size: 1.4rem;
  color: var(--color-tertiary);
}

.review__box-icon::before {
  font-family: "remixicon";
  content: "\f186";
  color: var(--color-tertiary);
  /* display: none; */
}

.review__box:hover .review__box-icon::before {
  content: "\f186";
  color: var(--color-tertiary);
}

.review__box-text {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 400;
  margin-top: 2.4rem;
  margin-bottom: 1.4rem;
}
.review__box-name {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 600;
  text-align: right;
  position: relative;
}

.review__box-name::before {
  content: "";
  width: 10%;
  height: 6px;
  position: absolute;
  top: 35%;
  right: 35%;
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  border-radius: 5em;
}

/*********************** */
/* Pricing cards on plans page */
/*********************** */

.plan__cards {
  display: flex;
}

.plan__card {
  width: 33.3%;
  background-color: var(--color-white);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  border-radius: 5rem;
  padding: 4.4rem;
  color: var(--color-grey-light-2);
  transition: all 0.5s;
}

/* Hover states */
.plan__cards:not(:hover) .plan__card.highlight-card {
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  color: var(--color-white);
  z-index: 1;
}

.plan__card:hover {
  background: linear-gradient(
    135deg,
    rgba(34, 139, 230, 0.05) 0%,
    rgba(34, 139, 230, 0.1) 50%,
    rgba(34, 139, 230, 0.05) 100%
  );
  border: 1px solid var(--color-secondary);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  color: var(--color-black);
  z-index: 1;
}

.plan__card.highlight-card:hover {
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  color: var(--color-white);
  border: none;
  z-index: 1;
}

.plan__cards:hover .plan__card:not(:hover) {
  background-color: var(--color-white);
  color: var(--color-grey-light-2);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.plan__card-title {
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 400;
  text-align: center;
  /* margin-bottom: 4.2rem; */
}
.plan__card-price {
  font-size: 8.2rem;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.plan__card-price::before {
  content: "$";
  position: absolute;
  top: 0;
  left: 2%;
  font-size: 4rem;
  line-height: 1;
  font-weight: 400;
}

.plan__card-price::after {
  content: "/per month";
  position: absolute;
  bottom: -15%;
  right: 20%;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}

.plan__card-text-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 4.2rem 3.4rem;
}
.plan__card-text-item {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 400;
}
.plan__card-cta {
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  padding: 2.4rem 5.2rem;
  border-radius: 5rem;
  margin: 0 auto;
  transition: all 0.3s;

  opacity: 0;
}

/* cta hover state */

.plan__card:hover .plan__card-cta {
  opacity: 1;
}

/*********************** */
/* Marketing plan features page */
/*********************** */

.features__section {
  padding: 0rem 6.2rem 6.2rem 6.2rem;
  margin-top: 5.2rem;
  display: flex;
  flex-direction: column;
  gap: 5.4rem;
  /* position: relative; */
}

.features__section-heading {
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.close__icon {
  width: 5.2rem;
  height: 5.2rem;
  position: absolute;
  top: 10%;
  right: 5%;
  color: var(--color-black);
}

/* .features__services {
} */
/* 
.line {
  width: 200%;
  border-bottom: 1px solid rgba(34, 139, 230, 0.4);
  padding-bottom: 2.4rem;
} */

.feature__service {
  /* width: 80%; */
  display: flex;
  /* justify-content: center; */
  align-items: center;
  gap: 3.2rem;
}

.feature__service-toggle {
  width: 5.8rem;
  height: 5.8rem;
  background-color: var(--color-secondary);
  border-radius: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

.feature__service-toggle:hover {
  cursor: pointer;
}

.feature__service.open .feature__service-toggle {
  background-color: var(--color-primary);
}

.feature__service.open .feature__toggle-icon {
  transform: rotate(180deg);
}

.feature__toggle-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-white);
  transition: transform 0.3s ease;
}

.feature__service-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature__service-name {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 400;
}

.feature__service-name:hover {
  cursor: pointer;
}

.feature__service-note {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 300;
  display: none;
}

.feature__service.active .feature__service-note {
  display: block;
}

/*********************** */
/* Marketing plans features dropdown */
/*********************** */

.feature__service-details {
  display: none;
  transition: all 0.5s ease;
}

.feature__service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 12rem;
}

.feature__service-item {
  width: 33.3%;
  padding: 2.4rem 3.2rem;
  border-radius: 5rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
    transition: 
    transform 0.4s ease-out,
    box-shadow 0.4s ease-out,
    border 0.4s ease-out,
    background-color 0.4s ease-out;
  cursor: pointer;
  border: 1px solid transparent;
}

.feature__service.active + .feature__service-details {
  display: block;
  opacity: 1;
}

.feature__service-item:hover {
  transform: scale(1.05);
  border: 1px solid var(--color-secondary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); 
  background-color: rgba(255, 255, 255, 0.98); /
}

.feature__service-item:hover .feature__service-item-meta {
  opacity: 1;
}

.feature__service-item-name {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 2rem;
}
.feature__service-item-meta {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  color: var(--color-secondary);
  opacity: 0;
}

/*********************** */
/* Marketing plans faq tab */
/*********************** */

.faq__list {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 4.2rem;
  /* justify-content: center; */
  /* align-items: center; */
  margin: 0 auto;
}

.faq__item-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq__item-wrapper::after {
  content: "";
  width: 90%;
  display: block;
  margin: 2rem 0 0 0;
  border-bottom: 1px solid rgba(34, 139, 230, 0.4);
}

/* hover or active state color change */
.faq__item-wrapper.active::after {
  border-bottom: 1px solid var(--color-secondary);
}

.faq__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq__item:hover::before {
  border-bottom: 1px solid var(--color-secondary);
}

.faq__question {
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
}

.faq__toggle-wrapper {
  width: 5.4rem;
  height: 5.4rem;
  background-color: var(--color-grey-light-1);
  border-radius: 5rem;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease;
}

.faq__toggle-btn {
  border: none;
  background: transparent;
}

.faq__toggle-btn:hover {
  cursor: pointer;
}
/* Toggle wrapper hover */
.faq__toggle-wrapper:hover {
  background-color: var(--color-secondary);
  cursor: pointer;
}

/* Toggle icon on hover */
.faq__toggle-wrapper:hover .faq__toggle {
  color: var(--color-white);
}

/* Active state wrapper */
.faq__item-wrapper.active .faq__toggle-wrapper {
  background-color: var(--color-secondary);
}

/* Active state icon */
.faq__item-wrapper.active .faq__toggle {
  color: var(--color-white);
}

/* Plus/Minus toggle */
.faq__toggle.faq__minus {
  display: none;
}
.faq__item-wrapper.active .faq__toggle.faq__plus {
  display: none;
}
.faq__item-wrapper.active .faq__toggle.faq__minus {
  display: block;
  color: var(--color-white);
}

.faq__toggle {
  width: 3.4rem;
  height: 3.4rem;
}

/* focus state */
.faq__toggle-btn:focus .faq__toggle-wrapper {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* FAQ answer */

.faq__answer-box {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.faq__answer-box.open {
  opacity: 1;
  max-height: 500px;
  padding-top: 1.6rem;
}

.faq__answer-text {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 400;
}

/*********************** */
/* Footer */
/*********************** */

.footer {
  margin: 0 auto;
  max-width: 130rem;
  width: 100%;
  padding: 12rem 5.2rem 0 5.2rem;
}

.footer__header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-items: flex-start;
  margin-left: 7rem;
  margin-top: -6.8rem;
}

.footer__logo-box {
  width: 90%;
  margin: 0 auto;
}

.footer__logo {
  width: 4.4rem;
  height: auto;
  object-fit: cover;
}
.footer__title {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.4rem;
}
.footer__subtitle {
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -2px;
}
.footer__nav-warpper {
  width: 80%;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 6.2rem;
  margin: 0 auto;
}
.footer__nav-list {
  gap: 2.4rem;
  list-style: none;
}

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

.row {
  display: flex;
}

.footer__nav-link {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav-icon {
  font-size: 2.4rem;
}

.footer__nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.footer__nav-link:hover {
  color: var(--color-secondary);
}

.footer__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* footer subscribe box */

.subcribe__box-wrapper {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4.2rem;
}
/* Layout */
.footer__subscribe-box {
  display: flex;
  gap: 1.6rem;
  align-items: flex-end;
  width: 100%;
}

/* Wrapper */
.subscribe-field {
  position: relative;
  flex: 1;
}

/* Input */
.subscribe-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-black);
  font-size: 1.6rem;
  padding: 1.6rem 0.6rem 0.6rem 0;
  padding-bottom: 1.4rem;
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
}

/* Label (floating, no background) */
.subscribe-field label {
  position: absolute;
  left: 0;
  top: 1.6rem;
  font-size: 1.6rem;
  color: var(--color-grey-dark-1);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Hide placeholder */
.subscribe-input::placeholder {
  opacity: 0;
}

/* FLOAT UP */
.subscribe-input:focus + label,
.subscribe-input:not(:placeholder-shown) + label {
  top: -1rem;
  font-size: 1.2rem;
  color: var(--color-primary);
}

/* Focus line */
.subscribe-input:focus {
  border-bottom: 1px solid var(--color-primary);
}

/* Smooth underline animation */
.subscribe-field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.subscribe-field:focus-within::after {
  width: 100%;
}
/* Subscribe button */
.subscribe-button {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.6rem;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.subscribe-button:hover {
  background-color: var(--color-primary); 
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 22, 29, 0.4); 
}

/* Active state */
.subscribe-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(233, 22, 29, 0.3); 
}


/* Footer bottom */

.footer__bottom {
  padding: 5.2rem 0 4.2rem 0;
  position: relative;
}

.footer__copyright-text {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  text-align: center;
}

.red-text {
  color: var(--color-primary);
  font-weight: 600;
}

.back-to-top {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-black);
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  overflow: hidden;
  isolation: isolate;
}

.back-to-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(34, 139, 230, 0.2);
  border-radius: 50%;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  z-index: -1;
}

.back-to-top:hover::before {
  background-color: rgba(34, 139, 230, 0.4);
  transform: scale(1.1);
}

