:root {
    --primary-color: #1c1c5c; /* Teal for the button */
    --secondary-color: #334fef; /* Darker teal for the button hover state */
    --accent-color: #ff8c00; /* Orange for the divider */
    --background-color: #f3f5ff; /* Off-white background */
    --text-dark: #212529;
    --text-blue: #161179;
    --white: #ffffff;
    --jessie-background: #0D0530;
    --jessie-title-color: #f178ac;
    --jessie-text-color: #a4a4a4;
}

.home-page {
    min-height: 100vh;
    background-color: var(--background-color);
    font-family: 'Inter', sans-serif;
}

/* Correcting the navbar styles for better responsiveness */
@media (max-width: 991.98px) {
    .navbar-collapse:not(.show) {
        display: none !important;
    }
}

.responsive-image {
    width: clamp(250rem, 5vw, 500rem);
    height: auto;
}

.overlay-text {
    position: absolute;
    inset: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    padding: 1rem;
}

.hero-text .line {
    display: block;
    width: max-content;
    padding: 0.25rem 0.5rem; 
    background-color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 5rem); 
}

.hero-text .line-1 { 
    color: var(--text-blue);
    transform: rotate(-2deg);
}

.hero-text .line-2 {
    color: var(--text-dark);
    transform: rotate(2deg); 
}

.hero-text .line-3 {
    color: var(--text-dark);
    transform: rotate(-3deg); 
}

.hero-button {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: normal;
    padding: clamp(0.4rem, 1.5vw, 0.8rem) clamp(0.8rem, 3vw, 2rem);
    border-radius: 50px;
    transition: background-color 0.3s;
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    z-index: 2;
    display: inline-block;
    white-space: nowrap;
}

.hero-button:hover {
    color: var(--white);
    background-color: var(--secondary-color);
}

.orange-divider {
    height: 10px;
    background-color: var(--accent-color);
}

/* Marquee Section Styles */
.marquee-section {
    background-color: var(--accent-color);
    height: 50px; 
    color: var(--white);
    padding: 0;
    overflow: hidden;
    white-space: nowrap; /* Ensures the parent container doesn't wrap */
    position: relative;
    display: flex;
    align-items: center;
}

/* Marquee Section Styles - Parent container */
.marquee-section {
    background-color: var(--accent-color);
    height: 50px; 
    color: var(--white);
    padding: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

/* This is the single container that gets animated */
.marquee-content {
    display: flex;
    flex-wrap: nowrap; /* Keep all text on one line */
    animation: marquee-scroll 30s linear infinite;
}

/* Individual text items inside the content block */
.marquee-text {
    margin: 0;
    margin-right: 2rem; /* Add spacing between text blocks */
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    flex-shrink: 0; /* Prevents text from shrinking */
}

/* Animation moves the entire content block from its original position to its full width */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move the entire content block to the left by its own full width */
        transform: translateX(-100%);
    }
}

/*About section*/
.about-section {
      padding: 60px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      background-color: var(--primary-color);
    }

    .about-title {
      font-size: 7rem;
      font-weight: 400;
      color: #ff2aa5;
      /* Pink color */
      font-family: 'Georgia', serif;
      margin-bottom: 30px;
    }

    .about-text {
      font-size: 1.1rem;
      line-height: 1.8;
    }

    .about-img {
      max-width: 100%;
      border-radius: 5px;
    }

    @media (max-width: 768px) {
      .about-title {
        font-size: 2.5rem;
        text-align: center;
      }

      .about-section {
        text-align: center;
      }
    }

    /*symptoms section*/
    .symptoms-section {
      background-color: #f4f4f4; /* Light background */
      padding: 60px 0;
    }
    .symptoms-heading {
      font-size: 0.9rem;
      font-weight: bold;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    .symptoms-text {
      font-family: 'Georgia', serif;
      font-size: 2rem;
      font-weight: 500;
      line-height: 1.4;
    }
    .highlight {
      background-color: white;
      display: inline-block;
      padding: 0 5px;
    }
    .highlight2 {
      background-color: white;
      display: inline-block;
      padding: 0 5px;
      transform: rotate(2deg);
    }
    .quiz-btn {
      background-color: orange;
      color: white;
      padding: 10px 20px;
      border-radius: 25px;
      font-weight: bold;
      border: none;
      margin-top: 20px;
    }
    .quiz-btn:hover {
      background-color: #e69500;
    }
    .symptoms-image img {
      max-width: 100%;
      border-radius: 5px;
    }


    /*Testimonial section*/
    .testimonial-section {
      padding: 60px 0;
      text-align: center;
    }

    .testimonial-title {
      font-family: 'Georgia', serif;
      font-size: 3rem;
      color: #ff2aa5;
      font-style: italic;
      margin-bottom: 50px;
    }

    /* Masonry container */
    .masonry {
      column-count: 3;
      column-gap: 1.5rem;
    }

    @media (max-width: 992px) {
      .masonry {
        column-count: 2;
      }
    }

    @media (max-width: 576px) {
      .masonry {
        column-count: 1;
      }
    }

    /* Masonry items */
    .masonry-item {
      display: inline-block;
      width: 100%;
      margin-bottom: 1.5rem;
    }

    .testimonial-img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    }

    /* Hide initially */
    .hidden {
      display: none;
    }

    /* Load more button */
    .load-more-btn {
      border: 2px solid #ff2aa5;
      color: #ff2aa5;
      background: transparent;
      border-radius: 25px;
      padding: 10px 30px;
      font-weight: bold;
      text-transform: uppercase;
      margin-top: 40px;
    }

    .load-more-btn:hover {
      background-color: #ff2aa5;
      color: #fff;
    }

    /*SERVICES*/
    .glp-section {
      background-color: #f4f4f4;
      padding: 50px 0;
    }
    .glp-heading {
      display: inline-block;
      background: white;
      padding: 5px 15px;
      font-size: 2.5rem;
      font-weight: bold;
      transform: rotate(-3deg);
      margin-bottom: 10px;
    }
    .glp-heading.red {
      color: #e01919;
    }
    .glp-btn {
      background-color: #e01919;
      color: white;
      padding: 8px 20px;
      border-radius: 50px;
      font-weight: bold;
      text-transform: uppercase;
      border: none;
    }
    .glp-btn:hover {
      background-color: #b31212;
    }
    .glp-image {
      max-width: 100%;
      height: auto;
    }

     /*SERVICE 2*/
    .service2-section {
      background-color: #1a2e57;
      /* fallback color in case image bg is transparent */
      color: white;
    }

    .service2-text {
      padding: 60px;
      background: url('your-left-bg.png') no-repeat center center/cover;
      /* optional background */
    }

    .service2-title {
      font-family: "Georgia", serif;
      font-size: 2.5rem;
      font-weight: 500;
    }

    .service2-subtitle {
      margin-top: 15px;
      font-size: 1.1rem;
    }

    .service2-btn {
      display: inline-block;
      background-color: white;
      color: #000b66;
      font-weight: bold;
      border-radius: 50px;
      padding: 12px 30px;
      margin-top: 20px;
      text-transform: uppercase;
      transition: all 0.3s ease;
    }

    .service2-btn:hover {
      background-color: #e5e5e5;
      color: #000b66;
    }

    .service2-img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    /*SERVICE 3*/
    .service3-section {
  background-color: #f5f5fc; /* light greyish-blue background */
  padding: 80px 0;
}

.service3-tag {
  color: #0f1f80; /* deep blue */
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.service3-title {
  font-size: 2.8rem;
  font-family: 'Georgia', serif;
  font-weight: 500;
  margin: 10px 0;
  color: #0f1f80;
}

.service3-subtitle {
  font-size: 1.1rem;
  color: #0f1f80;
  margin-bottom: 25px;
}

.service3-btn {
  display: inline-block;
  background-color: #0f1f80;
  color: white;
  font-weight: bold;
  border-radius: 50px;
  padding: 12px 35px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.service3-btn:hover {
  background-color: #08144f;
}

.service3-img {
  max-width: 100%;
  height: auto;
}

/*Subscribe section*/
.subscribe-section {
  background-color: #f82b8c; /* bright pink */
  padding: 60px 15px;
}

.subscribe-title {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.subscribe-subtitle {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 30px;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.subscribe-form input {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 1rem;
  min-width: 200px;
}

.subscribe-form input:nth-child(3) {
  border: 1px solid #000; /* Black border for Country field */
}

.subscribe-form button {
  background-color: #fff;
  color: #f82b8c;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #ffe0ef;
}

/*YT VIDEO SECTION*/
.press-section {
    position: relative;
    overflow: hidden;
}

/* Image takes full width */
.press-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Overlay content */
.press-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Optional dark overlay for readability */
    text-align: center;
}

/* Headline text */
.press-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
}

/* Adjustments for mobile */
@media (max-width: 768px) {
    .press-section h2 {
        font-size: 1.8rem;
    }
    .press-section .overlay {
        padding: 40px 15px;
    }
    .press-section a.btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/*footer*/
.footer {
  background-color: #1b1e6d;
  color: white;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 13px;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 13px;
}

.social-icons a {
  color: white;
  margin-right: 10px;
  font-size: 16px;
}

.country-selector select {
  padding: 5px;
  font-size: 13px;
}
