:root {
  --color-bg: #fffbf3;
  --color-yellow: #ffae00;
  --color-yellow-hover: #ffc233;
  --color-yellow-active: #ffd866;
  --color-grey-light: #686560;
  --color-grey-dark: #58554f;
  --color-grey-deep: #423d33;
  --color-blue: #000d64;
  --color-blue-hover: #1a2ca3;
  --color-blue-active: #2638b0;
}

body {
  font-family: "Lexend";
  font-size: 22px;
  background-color: var(--color-bg);
}

/* Navbar */
.custom-navbar {
  background-color: var(--color-bg);
}
.navbar-logo {
  min-width: 50px;
  max-width: 90px;
  height: auto;
  max-height: 90px;
}
.nav-link {
  margin-left: 2.3rem;
  font-size: 1rem;
  font-weight: 300;
  color: #606468b0;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--color-yellow);
}
.custom-toggler {
  border: none !important;
  background: none;
}
.custom-toggler:focus,
.custom-toggler:active {
  outline: none;
  box-shadow: none;
}

/* Responsive Logo */
@media (max-width: 430px) {
  .navbar-logo {
    min-width: 40px;
    max-width: 70px;
    max-height: 70px;
  }
}
@media (max-width: 320px) {
  .navbar-logo {
    min-width: 35px;
    max-width: 60px;
    max-height: 60px;
  }
}
@media (max-width: 991px) {
  #navbarNav {
    margin-top: 20px !important;
  }
  #navbarNav ul {
    text-align: center;
  }
  .nav-link {
    margin-left: 0;
    font-size: 1rem;
  }
}

/* Typography */
.text-justified {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.7;
}
.font-light-grey {
  font-weight: 300;
  color: var(--color-grey-light);
}
.font-bold-grey {
  font-weight: 600;
  color: var(--color-grey-dark);
}
.ir-grey {
  color: var(--color-grey-deep);
}
.ir-yellow {
  color: var(--color-yellow);
}
.ir-blue {
  color: var(--color-blue);
}

/* Layouts */
.hero-section,
.ir-section,
.credibility-section,
.testimonial-section {
  padding: 2rem 2rem;
}
.section-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem !important;
}
.main-font {
  font-size: 2.5rem;
}
.body-font {
  font-size: 1rem;
  font-family: "Plus Jakarta Sans";
}

/* Video Embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

/* Buttons */
button,
.yellow-button,
.blue-button,
.white-button {
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.blue-button {
  background-color: var(--color-blue);
  color: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.blue-button:hover {
  background-color: var(--color-blue-hover);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.blue-button:active {
  background-color: var(--color-blue-active);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.white-button {
  background-color: var(--color-bg);
  color: var(--color-yellow);
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.white-button:hover {
  background-color: #fcfaf5;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.white-button:active {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.yellow-button {
  background-color: var(--color-yellow);
  color: var(--color-bg);
  border-radius: 9999px;
  text-decoration: none;
}
.yellow-button:hover {
  background-color: var(--color-yellow-hover);
}
.yellow-button:active {
  background-color: var(--color-yellow-active);
}
a.blue-button,
a.yellow-button,
a.white-button {
  display: inline-block;
  text-decoration: none; /* Remove underline */
  text-align: center;
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 12px;
}

/* Stats */
.text-muted {
  font-weight: 200;
  font-size: 1.25rem;
}
.stat-value {
  color: var(--color-yellow);
  font-weight: 500;
  font-size: 1.5rem;
}
.stats-container,
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-icon {
  width: 40px;
  height: auto;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1rem;
  color: #606468;
}

/* Credibility Section */
.credibility-heading {
  margin-bottom: 0.5rem !important;
  font-weight: 700;
  color: var(--color-grey-deep);
}
.credibility-subheading {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-yellow);
}
.credibility-logo {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.credibility-logo-container {
  padding: 1.25rem 4rem !important;
}

/* Testimonials */
.testimonial-section {
  background-color: var(--color-yellow);
}
.testimonial2-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: block;
  background-color: white;
  padding: 1rem;
  margin: 0 auto;
}

/* Carousel */
.swiper-layout-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  gap: 1rem;
  padding: 2rem 0;
}

.swiper-layout-wrapper .swiper {
  flex: 1;
  min-width: 0; /* prevent overflow */
}

.swiper-button-prev,
.swiper-button-next {
  position: static !important; /* override Swiper default */
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-shrink: 0; /* prevent buttons from shrinking */
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  color: var(--color-yellow-active);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 1rem;
}

/* Feature Cards */
.feature-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card img {
  height: 60px;
  margin-bottom: 20px;
}
.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #464441;
}
.feature-card p {
  font-size: 0.9rem;
  color: #666461;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Section Divider */
.section-divider {
  background-color: var(--color-yellow);
  padding: 3rem 1rem;
}
.section-divider-heading {
  font-size: 1.5rem;
  margin-bottom: 0.3rem !important;
}
.section-divider-subheading {
  font-size: 1.5rem;
  color: var(--color-bg);
}

/* Plans */
.toggle-group {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  width: 200px;
  margin: auto;
  border: 1px solid #ccc;
}

.toggle-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
  background-color: #ccc;
  color: white;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background-color: var(--color-blue);
  color: white;
}

.plan-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.plan-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-blue);
}

.plan-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-yellow);
  margin-bottom: 1.2rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-grey-dark);
}

.plan-features li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-featured {
  border: 2px solid var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(255, 174, 0, 0.15);
  transform: scale(1.03);
}

/* Why IR Section */
.why-ir-section-content {
  margin-top: 3rem !important;
  color: var(--color-grey-light);
  font-size: 1rem;
}
.why-ir-checklist {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.7;
}
.why-ir-checklist li {
  margin-bottom: 0.5rem;
}
.why-ir-img {
  max-width: 450px;
}
.why-ir-cta {
  margin-top: 2rem;
}

.start-text {
  font-weight: 300;
  color: var(--color-grey-light);
  font-size: 1rem;
}

.why-ir-cta .blue-button {
  border-radius: 12px; /* match default button style */
  padding: 0.6rem 1.5rem;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background-color: var(--color-bg); /* same soft background */
  font-size: 0.8rem;
  font-weight: lighter;
  font-family: sans-serif;
}

.footer-text {
  color: rgba(0, 0, 0, 0.247);
  line-height: 1.4;
}

/* Mobile Optimizations */
@media (max-width: 576px) {
  .hero-section {
    padding: 1.5rem;
  }
  .section-heading {
    font-size: 1.5rem;
    margin-bottom: 1.25rem !important;
  }
  .main-font {
    font-size: 1.75rem;
    line-height: 1.4;
  }
  .body-font {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .blue-button,
  .yellow-button {
    font-size: 1rem;
  }
  .align-right-mobile {
    text-align: right;
  }
  .credibility-section {
    padding-top: 1rem;
  }
  .credibility-heading {
    margin-bottom: 0.3rem !important;
  }
  .credibility-subheading {
    font-size: 1.1rem;
    font-weight: 400;
  }

  .section-divider-heading {
    font-size: 1.1rem;
    margin-bottom: 0.3rem !important;
  }
  .section-divider-subheading {
    font-size: 0.95rem;
  }

  .swiper-slide img {
    max-width: 100%;
    width: 90vw;
    padding: 0;
  }

  .swiper {
    position: relative; /* Enable absolute button positioning inside */
  }

  .swiper-layout-wrapper {
    position: relative;
    display: block;
    padding: 1rem 0;
  }

  /* Arrow buttons */
  .swiper-button-prev,
  .swiper-button-next {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .swiper-button-prev {
    left: 5px;
  }

  .swiper-button-next {
    right: 5px;
  }

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.05); /* keep it centered and enlarge */
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 16px;
    color: whitesmoke;
  }

  .plan-title {
    font-size: 1.1rem;
  }

  .plan-price {
    font-size: 1.3rem;
  }

  .plan-card {
    padding: 1.5rem 1rem;
  }
  .why-ir-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
