body {
  font-family: 'Source Sans 3', sans-serif;
  margin: 0;
  padding: 0;
  color: #000000;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.navbar {
  background-color: #00AEEF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 60px;              
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  margin-left: auto; /* 🔹 This pushes the nav items to the right */
}

.btn-nav {
  background-color: white;
  color: #00AEEF;
  font-family: 'Montserrat', sans-serif;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: 20px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s ease;
}

/* Hover glow effect */
.btn-nav::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0, 175, 239) 0%, rgb(0, 175, 239) 40%, rgba(0,174,239,0) 100%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-nav:hover::before {
  width: 150px;
  height: 80px;
  opacity: 1;
}



.btn-nav span {
  position: relative;
  z-index: 2;
}

.btn-nav:hover {
  color: #ffffff;
  background-color: #ffffff;
}


.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 18px; /* or whatever size you want */
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  padding: 6px 14px;       /* ✅ Keep padding consistent */
  border-radius: 20px;     /* ✅ Match hover */
  border: 1px solid transparent; /* ✅ Prevent layout shift */
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background-color: white;
  color: #00AEEF;
  border: 1px solid white;  /* ✅ Same thickness as default */
}


.hero {
  background: #ffffff;
  padding: 0px 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text h1 {
  font-size: 3rem; /* Try lowering it from its current size */
  line-height: 1.2;
}

.hero-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  
  max-width: 1200px;
}

.hero-media-container {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap; /* allows stacking on small screens */
}

.hero-text .subheading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* 700 is standard for bold */
}

.hero {
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {

  .hero-media-container {
    padding: 0px; /* Optional padding for mobile */
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }
}

.hero-image {
  width: 300px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 10px;
  padding-bottom: 30px;
  min-width: 400px;
  max-width: 600px;
  flex: 1;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: #000000;
  margin-top: 250;
  margin-bottom: 20px;
}

.subheading {
  font-size: 1.5rem;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
}



.hero .btn-wrapper {
  margin-top: 35px;
}

.hero-button-outer {
  flex-basis: 100%;          /* Ensures it drops below hero-text */
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;        /* Aligns with left edge of text */
  margin-top: -10px;         /* Optional tweak */
}


@media (min-width: 768px) {
  .hero-button-outer {
    padding-left: calc((100% - 1200px) / 2 + 0px); /* match hero-wrapper centering */
  }
}

.hero .btn-hero {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  font-size: 1.25rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden ;   
  margin-top: 15px;
}

.logo-link {
  margin-top: 5px;
}

.hero .btn-hero::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px; /* 🔹 smaller size */
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,   /* keep brightness strong to 40% */
    rgba(255, 255, 255, 0) 100% 
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease,
  width 0.4s ease,
  height 0.4s ease;
  z-index: 0;
  overflow: hidden;
  
}

.hero .btn-hero:hover::before {
  width: 200px;
  height: 80px;
  opacity: 1;
}

.btn-hero span,
.btn-form span,
.btn-case span {
  position: relative;
  z-index: 1;
}

.hero .btn-hero:hover {
  color: #00AEEF;
}

.hero .btn-hero span {
  position: relative;
  z-index: 2;
}

.hero .btn-hero {
  text-decoration: none !important; /* 🔥 removes underline */
}


.dual-gallery {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 600px;

}

.gallery-column {
  max-width: 48%;
  height: 550px;
  overflow: hidden;
  position: relative;
}

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

.gallery-media {
  height: 300px;
  width: 100%;
  border-radius: 16px;
  display: block;
  margin-bottom: 20px;
}

/* Images should stay cropped nicely */
img.gallery-media {
  object-fit: cover;
  width: 100%;
  height: 300px;
}

/* Videos should show the full content */
video.gallery-media {
  object-fit: contain;
  width: 100%;
  height: auto;
  border-radius: 16px !important;
}

#columnRight {
  transform: rotate(180deg);
}

/* Flip each media item back to normal */
#columnRight .gallery-media {
  transform: rotate(180deg);
}




ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

footer {
  width: 100%; /* ✅ Fixes scrollbar issue */
  background: #00AEEF;
  color: white;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.nav-links.active {
  right: 0;
}

.nav-links li {
  margin: 1rem 0;
}

.nav-links a {
  font-size: 1.25rem;
  text-decoration: none;
  color: #333;
}

.mobile-only {
  display: none;
}

.footer p{
  font-family: 'Poppins' sans-serif;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .navbar .btn-call,
  .navbar .btn-nav {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .btn-call,
  .btn-nav {
    display: none; /* Hide desktop buttons on mobile */
  }

  .mobile-only {
    display: block;
  }
}

/* Navigation hover as white buttons */
.nav-links li a:hover {
  background-color: white;
  color: #00AEEF;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Slide-in animation for subheading */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hear from Fellow Dentists section */
.testimonial-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: #000000;
 
}

@keyframes scrollLoop {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}



.case-study-section {
  background: #ffffff;
  padding-top: 25px;
  padding-bottom: 50px;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}


.case-study-inner {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.case-text {
  order: 1;
}

.case-video {
  order: 2;
}

.case-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.case-study-section p {
  color: #000000;
}

.case-image {
  flex: 1;
  min-width: 300px;
  max-width: 520px;
  display: flex;
  justify-content: center;
}

.case-image img {
  width: 100%;
  border-radius: 16px;
}




.banner-section {
  background-color: #ffffff;
  color: black;
  display: flex;
  flex-direction: row;      /* force horizontal layout */
  flex-wrap: nowrap;        /* prevent stacking on smaller screens */
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  margin: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.banner-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap; /* Makes it responsive on smaller screens */
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}


.banner-image {
  flex: 1 1 40%;
  max-width: 700px;
  display: flex;
  align-items: flex-start; /* ensures the image inside is top-aligned too */
}

.banner-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #00AEEF; /* Thin blue border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Soft shadow */
}


.banner-content {
  flex: 2;
  text-align: left;
  padding-right: 120px;
  max-width: 500px;
}

.banner-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.75rem;
  color: #000000;
  margin-bottom: 20px;
}

.banner-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.banner-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 70px;
  margin-bottom: 45px;
  margin-top: 30px;
}

.banner-form input[type="text"],
.banner-form input[type="email"] {
  padding: 12px 16px;
  font-size: 1.1rem;
  border-radius: 30px;
  border: 2px solid #00AEEF; /* 👈 full border declaration */
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.banner-form .btn-form {
  position: relative;
  background-color: #00AEEF; /* Swapped to turquoise */
  color: #ffffff;            /* Swapped to white */
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.banner-form .btn-form::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.banner-form .btn-form:hover {
  color: #00AEEF; /* or your preferred shade of blue */
}

.banner-form .btn-form:hover::before {
  width: 300px;
  height: 80px;
  opacity: 1;
}

.banner-form .btn-form span {
  position: relative;
  z-index: 2;
}

.banner-form .btn-form:hover {
  color: white;
}

.case-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: #000000;
  margin-bottom: 40px;
}

.case-text h4 {
  font-family: 'Poppins', sans-serif;
  color: black;
  font-size: 1.5rem;
  padding-bottom: 20px;
}

.case-text p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.btn-case {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  margin-top: 15px;
}

.btn-form:hover {
  color: #00AEEF;
}

.btn-form:hover span {
  color: #00AEEF;
}

.btn-case::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-case:hover::before {
  width: 200px;
  height: 80px;
  opacity: 1;
}

.btn-case span {
  position: relative;
  z-index: 2;
}

.btn-case:hover {
  color: #00AEEF;
}

.case-btn-wrapper {
  width: 100%;
  display: flex;
  justify-content: left; /* center horizontally */
  margin-top: 20px;         /* space above the button */
}

.case-image img {
  width: 100%;
  border-radius: 16px;
}

/* Founder section */
.founder-section {
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; 
  gap: 100px;
  width: 100%;             /* 🔹 makes it stretch full screen width */
  max-width: none;          /* 🔹 disables the 1200px limit */
  margin: 0;                /* 🔹 removes centering constraint */
  box-sizing: border-box;   /* 🔹 ensures padding doesn't break layout */
}

.founder-section h2 {
  font-family: poppins;
}

.founder-section p {
  font-size: 1.8rem; /* Increase as needed */
  line-height: 1.6;  /* Improves readability */
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.founder-image {
  order: 1; /* ⬅️ Image comes first (left side) */
}

.founder-text {
  order: 2; /* ⬅️ Text comes second (right side) */
}


.founder-image {
  flex: 1;
  min-width: 400px;
  max-width: 700px;
}

@media screen and (max-width: 768px) {
  .founder-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
  }
  
  .wistia-wrapper,
.wistia-wrapper wistia-player {
  max-width: 320px;
  width: 100%;
  height: auto;
}
}

.founder-image img {
  width: 100%;
  border-radius: 16px;
}

.case-video.case-video-mobile {
  margin-bottom: 20px; /* or any value you prefer */
}


.founder-text {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
}

.founder-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 45px;
  color: #000000;
  margin: 0px;
  margin-bottom: 15px;
}

.founder-text p:last-of-type {
  margin-bottom: 20px; /* adds space before the button */
}

.founder-text h4 {
  font-family: 'Nunito', sans-serif;
  color: black;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.founder-text p {
  font-size: 1.25rem;
  font-family: 'Poppins', sans-serif;
}

.btn-wrapper-two {
  margin-top: 50px;
}

.btn-founder {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
  text-decoration: none;
}

.btn-founder::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 40%,
    rgba(242, 250, 253, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-founder:hover::before {
  width: 160px;
  height: 60px;
  opacity: 1;
}

.btn-founder span {
  position: relative;
  z-index: 2;
}

.btn-founder:hover {
  color: #00AEEF;
}

/* Remove shimmer from white headings */
.banner-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.75rem;
  color: #000000;
  background: none;
  -webkit-text-fill-color: black;
  animation: none;
  margin-bottom: 30px;
}

footer .social-links {
  margin-top: 10px;
}

.social-links {
  display: flex;
  justify-content: center; /* center the icons */
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.social-links a {
  color: #ffffff !important; /* Or any bold brand color */
  font-size: 30px; /* Size of the icons */
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2); /* slightly larger on hover */
}

footer .social-links a {
  margin: 0 10px;
  display: inline-block;
}

footer .social-links img {
  width: 38px;
  height: 38px;
  transition: transform 0.3s ease;
}

footer .social-links img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}


/* How it Works Section */
/* Existing CSS stays above */

.how-it-works {
  background-color: #ffffff;
  padding: 50px 0;
  box-sizing: border-box;
}

.how-it-works-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
}

.how-box {
  flex: 1;
  max-width: 720px;
  min-width: 350px;
  width: 100%;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.how-box h2 {
  font-family: 'Poppins', sans-serif;
  color: #000000;
  font-size: 2.4rem;
}

.how-box h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  color: black;
  margin-top: 20px;
}

.how-box p {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  margin-top: 10px;
}

.how-visuals {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1500px;
  margin-top: 40px;
  gap: 40px;
}

.how-image {
  flex: 1;
  text-align: center;
}

.how-image img {
  width: 100%;
  min-width: 300px;
  max-width: 400px;
  border-radius: 10px;
}

.video-and-button {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 70px;
  justify-content: flex-start;
  max-width: 100%;
}

.inline-video {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 30px;
  border: 6px solid #00AEEF;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
  outline: none;

  /* Remove rotation */
  transform: none;
}

.video-label span {
  display: inline-block;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  color: #000000;
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
}

.video-wrapper {
  flex: 1;
  max-width: 700px;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.btn-schedule {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

.btn-schedule::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 40%,
    rgba(242, 250, 253, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-schedule:hover::before {
  width: 160px;
  height: 80px;
  opacity: 1;
}

.btn-schedule span {
  position: relative;
  z-index: 2;
}

.btn-schedule:hover {
  color: #00AEEF;
}

.btn-howitworks {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
  text-decoration: none;
}

.btn-howitworks::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.btn-howitworks:hover::before {
  width: 160px;
  height: 80px;
  opacity: 1;
}

.btn-howitworks span {
  position: relative;
  z-index: 2;
}

/* Final Call Form Section */
.final-form-section {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 50px;
  background-color: #ffffff;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.final-form {
  flex: 1;
  max-width: 700px;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
}

.final-form-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}


.final-form h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.4rem;
  color: #000000;
}

.final-form p {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 15px;
}

.form-call {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 15px;
}

.form-call input,
.form-call textarea {
  padding: 12px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  border: 1px solid #00AEEF;
  border-radius: 20px;
  resize: vertical;
  background-color: #ffffff;
}

.form-call .btn-call {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.form-call .btn-call::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 30%,
    rgb(242, 250, 253) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.form-call .btn-call:hover::before {
  width: 550px;
  height: 80px;
  opacity: 1;
}

.form-call .btn-call span {
  position: relative;
  z-index: 2;
}

.form-call .btn-call:hover {
  color: #00AEEF;
}

.form-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.form-images img {
  width: 420px;
  border-radius: 16px;
}

.our-story-section {
  background: #ffffff;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.our-story-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.our-story-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.our-story-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  color: #000000;
}

.our-story-text h4 {
  font-family: 'Poppins', sans-serif;
  color: #000000;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.our-story-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.our-story-video {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
}

.our-story-video video {
  width: 100%;
  border: 2px solid #00AEEF;
  border-radius: 16px;
  max-height: 340px;
}

.bens-plan {
  background: #ffffff;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.bens-plan-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.bens-plan-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.bens-plan-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.25rem;
  color: #000000;
  margin-bottom: 10px;
}

.bens-plan-text h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 15px;
}

.bens-plan-text p {
  font-size: 1.1rem;
}

.bens-plan-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.bens-plan-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Header Section */
.case-studies-header {
  text-align: center;
  padding: 30px 20px 30px;
  background: #ffffff;
}

.case-studies-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  color: #000000;
}

.case-studies-header h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  color: #000000;
}

.case-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.case-visual img {
  width: 100%;
  border-radius: 16px;
  z-index: 2;
  position: relative;
}




/* Divider */
.case-divider {
  border: 2px solid #00AEEF;
  width: 80%;
  margin: 20px auto;
}

/* Case Study Block */
.case-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.case-info {
  margin-top: -15px;
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  padding-left: 50px;
}

.case-info h2 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.case-info h5 {
  font-size: 1.2rem;
  color: #000000;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 20px;
}

.case-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  padding-bottom: 20px;
  font-family: 'Nunito', sans-serif;
}

.btn-casestudy {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
  margin-top: 20px;
}

.btn-casestudy::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, 
  rgb(255, 255, 255) 0%, 
  rgb(255, 255, 255) 40%,
  rgba(255, 255, 255, 0) 100%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.btn-casestudy:hover::before {
  width: 200px;
  height: 80px;
  opacity: 1;
}

.btn-casestudy span {
  position: relative;
  z-index: 2;
}

.btn-casestudy:hover {
  color: #00AEEF;
}

/* Slideshow Container */
.case-slideshow {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  min-width: 300px;
  max-width: 550px;
}

.case-slideshow img {
  width: 100%;
  max-width: 160px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-section {
  background: #ffffff;
  padding: 60px 20px;
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.contact-info h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: #000000;
  margin-bottom: 10px;
}

.contact-info h4 {
  font-family: 'Nunito', sans-serif;
  color: #333;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-form-box {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  background: none;
  padding: 30px;
  border-radius: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid #00AEEF;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  background: #f9f9f9;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input {

    width: 250px;

}


.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #000000;
  background: #fff;
}

.btn-formcontact {
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 26px;
  border-radius: 50px;
  border: 1px solid #00AEEF;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
}

.btn-formcontact::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px; /* 🔹 smaller size */
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 30%,   /* keep brightness strong to 40% */
    rgba(242, 250, 253, 0) 100% 
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease,
  width 0.4s ease,
  height 0.4s ease;
  z-index: 0;
  overflow: hidden;
}

.btn-formcontact:hover::before {
  width: 160px;
  height: 80px;
  opacity: 1;
}

.btn-formcontact span {
  position: relative;
  z-index: 2;
}

.btn-formcontact:hover {
  background-color: #00AEEF;
  color: #00AEEF;
}

.btn-ben {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  text-decoration: none;
  margin-top: 20px;
}

.btn-ben::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-ben:hover::before {
  width: 160px;
  height: 60px;
  opacity: 1;
}

.btn-ben span {
  position: relative;
  z-index: 2;
}

.btn-ben:hover {
  color: #00AEEF;
  background-color: #00AEEF;
}

.bens-plan-button-wrapper {
  margin-top: 30px; /* ✅ control spacing here */
}

.bens-plan-text .btn-bensplan {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  margin-top: 40px;
  text-decoration: none;
  z-index: 1;
  margin-top: 40px;
}

.bens-plan-text .btn-bensplan::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.bens-plan-text .btn-bensplan:hover::before {
  width: 160px;
  height: 60px;
  opacity: 1;
}

.bens-plan-text .btn-bensplan span {
  position: relative;
  z-index: 2;
}

.bens-plan-text .btn-bensplan:hover {
  color: #00AEEF;
  background-color: #00AEEF;
}

.footer-newsletter {
  background-color: #00AEEF;
  color: white;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column; /* 👈 Stack children vertically */
  gap: 30px;               /* Adjust space between text and form */
  align-items: center;
  max-width: 800px;        /* Optional: narrower layout if needed */
  margin: 0 auto;
  border-top: 2px solid #ffffff;
}


.newsletter-text {
  flex: 1;
  min-width: 300px;
  align-items: center;
}

.newsletter-text h3 {
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
  color: white;
}

.newsletter-text h5 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.newsletter-text p {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
}

.newsletter-form {
  flex: 1;
  min-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  padding: 12px 16px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  outline: none;
}

.btn-newsletter {
  position: relative;
  background-color: white;
  color: #00AEEF;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
  text-decoration: none;
}

.btn-newsletter::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 175, 239, 0.6) 0%, rgba(0, 175, 239, 0) 100%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.btn-newsletter:hover::before {
  width: 160px;
  height: 80px;
  opacity: 1;
}

.btn-newsletter span {
  position: relative;
  z-index: 2;
}

.btn-newsletter:hover {
  color: white;
  background-color: #ffffff;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0 30px;  /* 🔹 adds top & bottom spacing */
  padding: 0 20px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  padding: 6px 14px;                     /* 🔹 match main menu */
  border-radius: 20px;
  border: 1px solid transparent;         /* 🔹 prevent shifting on hover */
  transition: all 0.3s ease;
  font-size: 1.1rem; /* Adjust this as needed */
}

.footer-nav a:hover {
  background-color: white;
  color: #00AEEF;
  border: 1px solid white;
  text-decoration: none;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
}

.logo-only-header {
  text-align: center;
  padding: 15px 0;
  background-color: #00AEEF;
}

.logo-only-header img {
  width: 280px;
}

.booking-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  box-sizing: border-box;
}


.booking-left {
  flex: 1 1 45%;
  min-width: 300px;
}

.booking-left h1 {
  font-size: 3.75rem;
  margin-bottom: 10px;
  text-align: left;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.booking-left p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
}

.booking-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.booking-images img {
  width: 48%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-right {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.booking-right .calendly-inline-widget {
  width: 100% !important;
}

.booking-video {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

/* Mobile layout */
@media (max-width: 768px) {
  .booking-container {
    flex-direction: column;
    padding: 20px;
  }

  .booking-left, .booking-right {
    flex: 1 1 100%;
    width: 100%;
  }

  .booking-right {
    margin-top: 30px;
  }
}

.booking-right h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.countdown-timer {
  background-color: #00AEEF;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 1.1rem;
  border-radius: 0 0 16px 16px;
}

@media (max-width: 768px) {
  .booking-images img {
    width: 100%;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  margin: 0;
  color: #000000;
}

.simple-header .logo-centered {
  text-align: center;
  padding: 30px 0;
}

.logo-centered img {
  width: 180px;
}

.page-title {
  text-align: center;
  padding: 60px 20px 30px;
  background-color: #ffffff;
  color: #000000;
}

.page-title h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.page-title p {
  font-size: 1.2rem;
  font-family: 'Nunito', sans-serif;
}

.resources-preview {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.resource-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.resource-card h3 {
  margin-bottom: 10px;
  color: #00AEEF;
  font-size: 1.4rem;
}

.resource-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'Nunito', sans-serif;
}

.btn-resource {
  display: inline-block;
  background-color: #00AEEF;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.btn-resource:hover {
  background-color: #008abf;
}




body.popup-open {
  overflow: hidden;
}

.popup-content {
  background: white;
  padding-top: 40px;
  padding-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 100%; /* ✅ Use 90% instead of 100% for better mobile behavior */
  text-align: center;
  position: relative;
  box-sizing: border-box; /* ✅ Make sure this is included */
  margin-top: 60px;
  margin-bottom: 60px;
}

.popup-content p {
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;                /* Equal width and height */
  height: 40px;
  display: flex;              /* Center the × perfectly */
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid #00AEEF;
  border-radius: 50%;         /* Makes it a perfect circle */
  font-size: 1.5rem;
  font-weight: bold;
  color: #00AEEF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background-color: #00AEEF;
  color: white;
}

@media (max-width: 768px) {
  .popup-content p {
    font-size: 1.5rem;
    line-height: 1.6;
  }
}


/* Existing CSS stays above */

.our-model-section {
  background-color: #ffffff;
  padding: 80px 20px;
}

.our-model-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}

.model-left {
  flex: 1;
  min-width: 300px;
}

.model-left h2 {
  font-size: 2.5rem;
  color: #00AEEF;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.model-left h4 {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 30px;
  font-family: 'Nunito', sans-serif;
}

.model-graphics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.model-graphics img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.model-right {
  flex: 1;
  min-width: 320px;
}

.pricing-box {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing-box h3 {
  font-size: 1.6rem;
  color: #00AEEF;
  margin-bottom: 10px;
}

.pricing-box h5 {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  font-family: 'Nunito', sans-serif;
}

.pricing-box p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: 'Nunito', sans-serif;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.pricing-features li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  padding-left: 1.2em;
  position: relative;
  font-family: 'Nunito', sans-serif;
}

.pricing-features li::before {
  content: '✔';
  color: #00AEEF;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.btn-model {
  position: relative;
  background-color: #00AEEF;
  font-family: 'Montserrat', sans-serif; /* ✅ Set font */
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.btn-model::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 30%,
    rgba(242, 250, 253, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-model:hover::before {
  width: 120px;
  height: 80px;
  opacity: 1;
}

.btn-model span {
  position: relative;
  z-index: 2;
}

.btn-model:hover {
  color: #00AEEF;
}



/* Existing CSS stays above */

body.login-page {
  background-color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.login-container h2 {
  color: #00AEEF;
  margin-bottom: 10px;
}

.login-container p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

#loginForm input {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.btn-login-link {
  background-color: #00AEEF;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login-link:hover {
  background-color: #00AEEF;
}


.our-model-booking-section {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.our-model-booking-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
}

.model-left {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
}

.model-left h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #00AEEF;
  margin-bottom: 10px;
}

.model-left h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.model-left p {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}

.model-graphics-booking img {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.model-right-2 {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.pricing-booking-box {
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pricing-booking-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  color: #00AEEF;
  margin-bottom: 10px;
}

.pricing-booking-box h5 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.pricing-booking-box p {
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Nunito', sans-serif;
}

.pricing-list-features {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
}

.pricing-list-features li::before {
  content: '✅';
  margin-right: 8px;
  color: #00AEEF;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  overflow-x: hidden; /* ✅ Optional extra safeguard */
  box-sizing: border-box;
  overflow-y: auto; /* Allows scrolling on small screens */
  padding-top: 40px;
}

.popup-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #888;
  cursor: pointer;
}

.popup-form input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  font-size: 1.1rem;
  border: 2px solid #00AEEF;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.popup-form {
  margin-top: 20px;
}

.btn-popup {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 18px 40px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  text-decoration: none;
  z-index: 1;
  margin-top: 15px;
}

.btn-popup::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 40%,   /* keep brightness strong to 40% */
    rgba(242, 250, 253, 0) 100% 
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-popup:hover::before {
  width: 240px;
  height: 100px;
  opacity: 1;
}

.btn-popup span {
  position: relative;
  z-index: 2;
}

.btn-popup:hover {
  color: #00AEEF;
  background-color: #00AEEF;
}

.popup-thankyou {
  text-align: center;
}

.popup-thankyou h3 {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 10px;
}

.popup-thankyou p {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
}

.bexley-hero-section {
  background: #ffffff;
  padding: 60px 20px;
  font-family: 'Quicksand', sans-serif;
}

.bexley-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
}

.bexley-text {
  flex: 1;
  min-width: 320px;
}

.bexley-text h1 {
  font-size: 2.25rem;
  color: #000000;
  margin-bottom: 10px;
  font-family: 'Poppins' sans-serif;

}

.bexley-text h4 {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-family: 'Nunito', sans-serif;
  font-weight: normal;
  color: #333;
}

.results-box {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.results-box ul {
  padding-left: 20px;
}

.results-box li {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 16px;
  color: #333;
  line-height: 1.75;
}

.iphone-video {
  width: 280px;
  height: 600px;
  border-radius: 30px;
  border: 6px solid #00AEEF;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-wrappercasestudy {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.video-caption {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.bexley-video {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.bexley-video wistia-player {
  display: block;
  width: 300px;
  max-width: 100%;
  border: 6px solid #00AEEF;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin: auto;
}

.testimonial-video {
  width: 250px;
  height: 480px;
  border-radius: 24px;
  border: 6px solid #00AEEF;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-captionkyle {
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  color: #000000;
}
.video-caption2 {
  margin-top: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: .5rem;
  color: #000000;
}


/* Hundreds of Posts Section */
.content-showcase-section {
  background: #ffffff;
  padding: 60px 20px;
}

.content-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.fanned-box {
  flex: 1;
  min-width: 320px;
  background: #00AEEF;
  padding: 20px;
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.fanned-image {
  width: 100px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: rotate(-5deg);
}

.fanned-image:nth-child(2) {
  transform: rotate(5deg);
}

.fanned-image:nth-child(3) {
  transform: rotate(-2deg);
}

.content-text {
  flex: 1;
  min-width: 300px;
}

.content-text h2 {
  font-size: 2.4rem;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.content-text h4 {
  font-size: 1.2rem;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
}

.image-stack-section {
  background: #ffffff;
  padding: 60px 20px;
}

.image-stack-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.top-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  border: 6px solid #00AEEF;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bottom-images {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 800px;
}

.bottom-images img {
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  border: 6px solid #00AEEF;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



.new-patient-section {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

#video-editing-services {
  flex-direction: row-reverse;
}

.new-patient-inner {
  width: 100%;
  max-width: 1600px;
  padding-top: 60px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  min-height: 515px;
}

.new-patient-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
  min-height: 700px;
}

.new-patient-text h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
}

.btn-wrapper-2 {
  margin-top: 35px;
}


.new-patient-text p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
}

.new-patient-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.new-patient-image > img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid #00AEEF;  
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .new-patient-inner {
    flex-direction: column;
    text-align: center;
  }

  .new-patient-text {
    text-align: center;
    min-height: 600px;
  }

  .new-patiente-text h2 {
    margin-bottom: 15px;
  }

  .new-patient-image {
    text-align: center;
    margin-top: 20px;
  }

  


  .new-patient-text p {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .new-patient-image {
    padding: 16px 10px;
  }


}

.slideshow-container {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  aspect-ratio: 1 / 1; /* 💡 Makes it a square */
  overflow: hidden;
  border-radius: 20px;
  border: 6px solid #00AEEF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.slide-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slideShow 20s infinite linear;
}

.slide-wrapper img {
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0;
}

@keyframes slideShow {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }
  25%  { transform: translateX(-100%); }
  45%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  70%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  95%  { transform: translateX(-300%); }
  100% { transform: translateX(-400%); }
}

/* Social Media Blueprint Section */


.model-graphics-box {
  position: relative;
  max-width: 600px;
  margin-top: 40px;
}

.model-blue-box {
  background-color: #00AEEF;
  height: 300px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  overflow: visible;
}



/* Fan positions like a hand of cards */
.fan {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/* Adjusted spacing and rotation */
.fan-1 {
  left: 25%;
  transform: translate(-50%, -50%) rotate(-12deg);
  z-index: 1;
  width: 100px;
}

.fan-2 {
  left: 40%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 2;
  width: 100px;
}

.fan-3 {
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
  width: 100px;
}

.fan-4 {
  left: 60%;
  transform: translate(-50%, -50%) rotate(4deg);
  z-index: 2;
  width: 100px;
}

.fan-5 {
  left: 75%;
  transform: translate(-50%, -50%) rotate(12deg);
  z-index: 1;
  width: 100px;
}




/* Dashboard Wrapper */
.dashboard-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

/* Dashboard Title */
.dashboard-wrapper h1 {
  font-size: 2.2rem;
  color: #00AEEF;
  margin-bottom: 40px;
}

/* Section Headings */
.dashboard-wrapper h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #00AEEF;
  border-bottom: 2px solid #00AEEF;
  padding-bottom: 8px;
}

/* Chatbot & Team Ideas Sections */
.ai-chat-section,
.team-ideas-section,
.idea-folder {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Placeholder for Chatbot */
#chatbot-placeholder {
  background: white;
  padding: 20px;
  border-radius: 12px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-style: italic;
  border: 1px dashed #00AEEF;
}

/* Team Chat Feed */
#teamChatFeed {
  background: white;
  padding: 20px;
  border-radius: 12px;
  min-height: 100px;
  border: 1px solid #ddd;
}

/* Idea Folder Buttons */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filters button {
  background-color: #00AEEF;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.filters button:hover {
  background-color: #008FC6;
}

/* Idea List Content */
#ideaList {
  background: white;
  padding: 20px;
  border-radius: 12px;
  min-height: 150px;
  border: 1px solid #ddd;
}

.timeline-section {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.timeline-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.timeline-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #000000;
}

.timeline-text h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  color: #333;
}

.timeline-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 4px;
  background: transparent;
  margin-top: 20px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background-color: #00AEEF;
  width: 0%;
  animation: growLine 4s ease forwards;
  border-radius: 2px;
}

@keyframes growLine {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.tick {
  position: absolute;
  top: -12px;
  height: 28px;
  width: 2px;
  background-color: #00AEEF;
  animation: tickFade 0.4s ease forwards;
  opacity: 0;
}

.tick span {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

@keyframes tickFade {
  to {
    opacity: 1;
  }
}

/* Delay each tick */
.tick:nth-child(2) { animation-delay: 0.4s; }
.tick:nth-child(3) { animation-delay: 0.8s; }
.tick:nth-child(4) { animation-delay: 1.2s; }
.tick:nth-child(5) { animation-delay: 1.6s; }
.tick:nth-child(6) { animation-delay: 2.0s; }
.tick:nth-child(7) { animation-delay: 2.4s; }
.tick:nth-child(8) { animation-delay: 2.8s; }

.blue-checklist {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.blue-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
}

.blue-checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #00AEEF;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.content-archive {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

.content-archive h2 {
  font-family: 'Poppins', sans-serif;
  color: #00AEEF;
  font-size: 2rem;
  margin-bottom: 10px;
}

.content-archive p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
}

.archive-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.archive-item {
  max-width: 250px;
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.archive-item img,
.archive-item video {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.archive-item p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
}

.model-graphics-booking {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.model-blue-box-booking {
  position: relative;
  background-color: #00AEEF;
  padding: 80px; /* increased from 60px */
  border-radius: 20px;
  width: 100%; /* or try a specific width like 800px */
  max-width: 1000px; /* optional: prevents it from getting too wide on huge screens */
  min-height: 300px; /* optional: ensures height increases */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* more space between items */
  flex-wrap: wrap;
  margin: 0 auto; /* centers the box */
}

.model-blue-box-booking img.fan {
  position: absolute;
  bottom: 20px;
  width: 140px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* Fan angles and offsets */
.fan-1 {
  left: 25%;
  transform: rotate(-12deg);
  z-index: 1;
}

.fan-2 {
  left: 35%;
  transform: rotate(-4deg);
  z-index: 2;
}

.fan-3 {
  left: 45%;
  transform: rotate(4deg);
  z-index: 3;
}

.fan-4 {
  left: 55%;
  transform: rotate(12deg);
  z-index: 2;
}

/* ========== MOBILE STYLING (Media Query) ========== */
@media screen and (max-width: 768px) {

  /* Header Navigation */

  .navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the logo horizontally */
    width: 100%;
    padding: 20px 15px;
    background-color: #00AEEF; /* Ensure header is blue */
    overflow-x: hidden;  /* Removes stray horizontal scroll */
    box-sizing: border-box;
    min-height: 80px;
  }

  .navbar .logo-link {
    margin: 0 auto;
  }



  .btn-nav,
  .btn-login-link {
    display: none; /* Hide top-right buttons on mobile */
  }

  .hamburger {
      
      font-size: 2.2rem;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
      margin-left: auto;
      margin-right: 0;
  }

  /* Hero Text + Button */
  

  .hero-text h1,
  .hero-text p {
    text-align: center;
  }

  .btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .btn-hero {
    margin: 0 auto;
  }

  /* Scroll Gallery */
  
    .dual-gallery {
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 10px;
      max-width: 100%;
      justify-content: center;
      padding: 0 10px;
    }
  
    .gallery-column {
      max-width: 45%;
      height: 300px;
    }
  
}

@media (max-width: 768px) {
  .banner-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }
    .banner-layout {
      flex-direction: column;
      text-align: center;
    }
  
    .banner-image,
    .banner-content {
      max-width: 100%;
    }

  .banner-content h3 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1.3rem;
  }

  .banner-form {
    padding: 0;
    align-items: center;
    gap: 12px;
  }

  .banner-form input[type="text"],
  .banner-form input[type="email"] {
    width: 100%;
    max-width: 300px;
  }

  .banner-form .btn-form {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .caption {
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .banner-content {
    padding-right: 0;
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
    padding: 0px; /* some side breathing room */
  }

  .banner-form {
    padding-right: 0;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .case-study-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    text-align: center;
  }

  .case-text {
    max-width: 100%;
    text-align: center;
  }

  .case-text p {
    opacity: 1; /* Show the text immediately on mobile */
    animation: none;
  }

  .case-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .case-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .case-image.fan-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
  }

  .case-image.fan-wrapper img {
    margin: 4px;
  }

  .case-study-section {
    padding-bottom: 110px; /* increase height to make room for fan */
  }

}

@media (max-width: 768px) {
  .founder-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 16px 20px; /* shorthand for top, sides, bottom */
    gap: 30px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;        /* ensures nothing spills */
  }



  .founder-text {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    text-align: center;
  }

  .founder-text h2,
  .founder-text h4,
  .founder-text p {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  .founder-image {
    order: 2;
    width: 100%;
    max-width: 600px;
  }

  .founder-image img {
    width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 16px;
    max-width: 563.07px;
  }
}



@media (max-width: 768px) {
  .how-it-works {
    padding: 40px 20px;
  }
    .how-it-works-inner {
      flex-direction: column;
      align-items: center;
      padding: 0 20px;
    }
  
    .how-box {
      max-width: 100%;
      min-width: unset;
      width: 100%;
      box-sizing: border-box;
    }
  
    .how-visuals {
      flex-direction: column;
      align-items: center;
      gap: 30px;
      margin-top: 30px;
    }
  
    .how-image {
      text-align: center;
    }
  
    .how-image img {
      width: 100%;
      max-width: 320px;
    }
  
    .video-and-button {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    .inline-video {
      width: 100%;
      max-width: 360px;
      height: auto;
    }
  
    .video-label {
      display: none; /* ⛔️ Hide video label on mobile */
    }
  
    .btn-schedule {
      margin-top: 10px;
      text-align: center;
   }

}
  

@media (max-width: 768px) {
  .our-model-inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 20px;
  }

  .model-left, .model-right {
    max-width: 100%;
    text-align: center;
  }

  .model-left h2 {
    font-size: 2rem;
  }

  .model-left h4 {
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .model-left p {
    font-size: 1rem;
    margin-top: 8px;
    line-height: 1.5;
  }

  .model-blue-box {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px 10px;
    background-color: #00AEEF;
    border-radius: 16px;
    gap: 10px;
  }

  .model-blue-box img {
    width: 40%;
    max-width: 120px;
    border-radius: 12px;
  }

  .pricing-box {
    padding: 20px;
  }

  .pricing-box h3 {
    font-size: 1.5rem;
  }

  .pricing-box h5 {
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .pricing-box p,
  .pricing-box li {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .pricing-box ul {
    padding-left: 20px;
  }

  .btn-model {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .final-form-inner {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 30px;
  }

  .final-form {
    max-width: 100%;
    padding: 0 10px;
    text-align: center;
  }

  .final-form h2 {
    font-size: 1.6rem;
  }

  .final-form p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .form-call input,
  .form-call textarea {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  .btn-call {
    width: 100%;
    font-size: 1rem;
    padding: 14px;
    margin-top: 10px;
  }

  .form-images img {
    width: 80%;
    max-width: 280px;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
  }
}

.floating-call-btn {
  position: fixed;
  bottom: 30px;
  left: 15px;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 14px 34px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: color 0.3s ease;
  overflow: hidden;
}

.floating-call-btn:hover {
  color: #00AEEF; /* text becomes blue (matches bg) */
}

/* Glow effect */
.floating-call-btn::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 40%,
    rgba(242, 250, 253, 0) 100%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0; /* Keep glow *behind* text */
  pointer-events: none;
}

.floating-call-btn:hover::before {
  width: 150px;
  height: 80px;
  opacity: 1;
}

/* Keep text above the glow */
.floating-call-btn span {
  position: relative;
  z-index: 2;
}


/* Make sure it's readable and well-positioned on mobile too */
@media (max-width: 768px) {
  .floating-call-btn {
    bottom: 20px;
    left: 10px;
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}

@media (max-width: 768px) {
  .case-studies-hero {
    text-align: center;
    padding: 30px 20px;
  }

  .case-studies-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
  }

  .case-studies-hero h4 {
    font-size: 1.1rem;
    font-weight: normal;
    color: #333;
  }

  .case-block {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .case-info {
    max-width: 100%;
    padding: 0;
  }

  .case-info h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .case-info h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #666;
  }

  .case-info p {
    font-size: 1rem;
    margin: 10px 0;
  }

  .btn-casestudy {
    margin-top: 20px;
  }

  .case-slideshow {
    width: 100%;
    margin-top: 20px;
  }

  .case-slideshow img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
  }
}



@media (max-width: 768px) {
  .contact-section {
    padding: 30px 20px;
    background-color: #ffffff;
  }

  .contact-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .contact-info p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto 10px;
  }

  .contact-form-box {
    width: 100%;
    max-width: 400px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-form label {
    text-align: left;
    font-size: 0.95rem;
    font-weight: bold;
    color: #333;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  .btn-formcontact {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    background-color: #00AEEF;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .btn-formcontact:hover {
    background-color: #008abf;
  }

}

@media (max-width: 768px) {
  .logo-only-header {
    text-align: center;
    padding: 20px 0;
  }

  .logo-only-header img {
    width: 200px;
    height: auto;
    margin-right:7px;
  }

  .booking-left,
  .booking-right {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .booking-left h1 {
    font-size: 1.8rem;
  }

  .booking-left p {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .booking-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }

  .booking-images img {
    width: 45%;
    max-width: 160px;
    border-radius: 10px;
    object-fit: cover;
  }

  .booking-right h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .booking-right form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .booking-right form input,
  .booking-right form textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
  }

  .booking-right form .btn-rightbutton {
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    background-color: #00AEEF;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .booking-right form .btn-rightbutton:hover {
    background-color: #008abf;
  }

  .our-model-booking-section {
    padding: 40px 20px;
  }

  .our-model-booking-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .model-left,
  .model-right-2 {
    width: 100%;
  }

  .model-graphics-booking {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .model-blue-box-booking {
    background-color: #00AEEF;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .model-blue-box-booking img {
    width: 45%;
    max-width: 140px;
    border-radius: 10px;
    object-fit: cover;
  }

  .pricing-booking-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .pricing-booking-box h3 {
    font-size: 1.4rem;
  }

  .pricing-booking-box ul {
    padding-left: 20px;
    text-align: left;
  }

  .pricing-booking-box li {
    font-size: 1rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  /* 📱 General Layout */
  .page-title {
    text-align: center;
    padding: 30px 20px;
  }

  .page-title h1 {
    font-size: 2rem;
  }

  .page-title p {
    font-size: 1rem;
    margin-top: 10px;
  }

  .resources-preview {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px 40px;
  }

  .resource-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  .resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .resource-card p {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .resource-card form,
  .resource-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
  }

  .resource-card input {
    padding: 12px;
    font-size: 1rem;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .btn-resource {
    background-color: #00AEEF;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
  }

  .btn-resource:hover {
    background-color: #008abf;
  }

  /* 📫 Newsletter Form Footer */

  

  
}

@media (max-width: 768px) {

  .bexley-inner,
  .timeline-inner,
  .content-inner,
  .image-stack-inner,
  .new-patients-inner {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .bexley-video {
    order: -1;
  }

  .bexley-text {
    order: 1;
  }

  .bexley-text,
  .content-text,
  .new-patients-text {
    text-align: center;
    max-width: 100%;
  }

  .results-box {
    padding: 15px;
  }

  .blue-checklist {
    padding-left: 20px;
  }

  .bexley-video,
  .video-wrappercasestudy {
    width: 100%;
    padding: 0 10px;
  }

  wistia-player {
    width: 100% !important;
    max-width: 100% !important;
  }

  .content-inner,
  .image-stack-inner,
  .timeline-container,
  .slideshow-container {
    width: 100%;
    padding: 10px 0;
  }

  .fanned-box {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .fanned-image {
    max-width: 90%;
  }

  .top-image img,
  .bottom-images img {
    width: 100%;
    max-width: 100%;
  }

  .bottom-images {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .timeline-line {
    margin: 20px 0;
  }

  .tick span {
    font-size: 0.8rem;
  }

  .slide-wrapper img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }

}

@media (max-width: 768px) {
  .dashboard-wrapper {
    padding: 20px;
    text-align: center;
  }

  .dashboard-wrapper h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .idea-folder h2,
  .content-archive h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    text-align: center;
  }

  .idea-folder .filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .idea-folder .filters button {
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    border: 1px solid #00AEEF;
    background-color: white;
    color: #00AEEF;
    font-weight: bold;
    cursor: pointer;
  }

  .idea-folder .filters button:hover {
    background-color: #00AEEF;
    color: white;
  }

  #ideaList {
    padding: 0 10px;
    margin-bottom: 40px;
  }

  .content-archive {
    padding: 20px;
    text-align: center;
  }

  .content-archive p {
    margin-bottom: 20px;
  }

  .archive-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .archive-item {
    width: 100%;
    max-width: 350px;
    text-align: center;
  }

  .archive-item img,
  .archive-item video {
    width: 100%;
    border-radius: 12px;
    border: 4px solid #00AEEF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .archive-item p {
    margin-top: 8px;
    font-weight: 500;
    font-size: 0.95rem;
  }

  .navbar .logo {
    margin: 10px auto;
  }


  .btn-nav, .btn-login-link {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  body.login-page {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  .login-container {
    width: 90%;
    max-width: 400px;
    padding: 30px 20px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .login-container h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #00AEEF;
  }

  .login-container p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
  }

  #loginForm input {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
  }

  #loginForm button {
    width: 100%;
    padding: 14px;
    background-color: #00AEEF;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  #loginForm button:hover {
    background-color: #008abf;
  }
}
  

  /* Footer Layout on Mobile */
  


/* Hide hamburger menu on desktop by default */
.hamburger {
  display: none; /* Hidden by default (desktop) */
  font-size: 2.2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
  z-index: 1000;
}


@media (max-width: 768px) {
  .booking-container {
    flex-direction: column;
  }

  .booking-left,
  .booking-right {
    width: 100%;
    padding: 20px;
  }
}


/* Show hamburger on mobile only */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-right: 15px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #00AEEF;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    text-align: right;
    padding: 20px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-right {
    display: none; /* Hide desktop-only CTA buttons */
  }

  .btn-call,
  .btn-nav {
    display: none; /* Optional: hide desktop buttons on mobile */
  }

  .mobile-only {
    display: block;
  }
}

/* Always show nav links in row on desktop */
@media (min-width: 769px) {

 

  .mobile-only {
    display: none;
  }
}

@media (max-width: 768px) {
  .btn-nav,
  .btn-login-link {
    display: none;
  }
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .mobile-button {
    background-color: #00AEEF;
    color: white;
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
  }

  .mobile-button:hover {
    background-color: #008abf;
  }
}

body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  background-color: #ffffff;
  color: #1a1a1a;
}

h1 {
  font-size: 3rem;
  color: #00AEEF;
  margin-bottom: 10px;
  margin-top: 15px;
}

.subheader {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 40px;
}

.image-layout {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.fanned-images {
  display: flex;
  gap: -10px;
  transform: rotate(-2deg);
}

.fanned-images img {
  max-height: 180px; /* allows vertical images to be tall */
  max-width: 180px;  /* allows square images to stay square */
  object-fit: cover; /* crops if needed, but keeps ratio */
  aspect-ratio: auto; /* let images define their own ratio */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: rotate(var(--angle));
  transition: transform 0.3s ease;
}

.fanned-images img:nth-child(1) { --angle: -12deg; }
.fanned-images img:nth-child(2) { --angle: -6deg; }
.fanned-images img:nth-child(3) { --angle: 0deg; }
.fanned-images img:nth-child(4) { --angle: 6deg; }
.fanned-images img:nth-child(5) { --angle: 12deg; }

.lead-form {
  max-width: 500px;
  margin: 0 auto;                /* centers the form container */
  display: flex;
  flex-direction: column;
  align-items: stretch;          /* ensures full width for child elements */
  gap: 20px;
  box-sizing: border-box;        /* ensures padding doesn't cause overflow */
  padding: 0 16px;               /* optional: adds horizontal padding for mobile */
}

.lead-form label {
  text-align: left;              /* keeps labels left-aligned */
  font-weight: 600;
  font-size: 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;  /* Bold */

}

.lead-form input,
.lead-form textarea {
  width: 100%;                   /* makes inputs full width of the form */
  padding: 12px;
  margin-top: 5px;
  border-radius: 8px;
  border: 2px solid #00AEEF;
  font-size: 1.25rem;
  font-family: 'Nunito', sans-serif;
  box-sizing: border-box;        /* ensures consistent sizing */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.thank-you-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.thank-you-container h1 {
  font-size: 2.4rem;
  color: #00AEEF;
  margin-bottom: 20px;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #333;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn-thank {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
}

.contact-form .btn-thank {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 40%,
    rgba(242, 250, 253, 0) 100%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.contact-form .btn-thank:hover::before {
  width: 160px;
  height: 80px;
  opacity: 1;
}

.contact-form .btn-thank span {
  position: relative;
  z-index: 2;
}

.contact-form .btn-thank:hover {
  color: #00AEEF;
  background-color: #00AEEF;
}

@media (max-width: 768px) {
  .single-image {
    max-width: 100%;
    padding: 15px; /* or even padding: 0 15px; */
    margin: 0 auto 30px auto;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .single-image img {
    max-width: 100%;
    height: auto;
  }
}


@media (max-width: 768px) {
  .lead-form {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .floating-call-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  /* General layout adjustments */
  body {
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
  }

  .about-section {
    padding: 40px 0;
    text-align: center;
  }

  .about-section h1,
  .about-section h2,
  .about-section h3 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .about-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  /* Video should be centered and responsive */
  .about-video {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px;
  }

  .about-video iframe,
  .about-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
  }

  /* CTA Button styling */
  .about-btn {
    background-color: #00AEEF;
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin: 30px auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }

  .about-btn::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(
      ellipse,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
    z-index: 0;
  }

  .about-btn:hover::before {
    width: 160px;
    height: 60px;
    opacity: 1;
  }

  .about-btn span {
    position: relative;
    z-index: 2;
  }

  /* Final image or graphic at the bottom */
  .about-graphic {
    display: flex;
    justify-content: center;
    margin: 40px auto 0 auto;
    max-width: 100%;
  }

  .about-graphic img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  /* Center header section */
  .case-studies-header {
    text-align: center;
    padding: 40px 20px;
  }

  .case-studies-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .case-studies-header h4 {
    font-size: 1.1rem;
    color: #333;
  }

  /* Layout: stack image under text */
  .case-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
  }

  .case-info {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .case-info h2 {
    font-size: 1.8rem;
    color: #00AEEF;
  }

  .case-info h5 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
  }

  .case-info p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .case-info .btn-casestudy {
    display: inline-block;
    font-size: 1rem;
    padding: 12px 24px;
  }

  .case-visual {
    max-width: 100%;
  }

  .case-visual img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
  }

}

@media (max-width: 768px) {
  .page-title {
    text-align: center;
    padding: 40px 20px;
  }

  .page-title h1 {
    font-size: 2rem;
  }

  .page-title p {
    font-size: 1rem;
    color: #555;
  }

  .resources-preview {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    align-items: center;
  }

  .resource-card {
    width: 100%;
    max-width: 500px;
    background-color: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
  }

  .resource-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #00AEEF;
  }

  .resource-card p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .resource-card form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }

  .btn-resource {
    background-color: #00AEEF;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
  }

  .btn-resource:hover {
    background-color: #008abf;
  }


}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 20px;
    background-color: #ffffff;
  }

  .contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-info {
    text-align: center;
    max-width: 600px;
  }

  .contact-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00AEEF;
  }

  .contact-info h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Nunito', sans-serif;
  }

  .contact-info p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif;
  }

  .contact-form-box {
    width: 100%;
    max-width: 500px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .contact-form label {
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    font-family: 'Quicksand', sans-serif;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
  }

  .btn-formcontact {
    background-color: #00AEEF;
    color: white;
    font-weight: bold;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
  }

  .btn-formcontact:hover {
    background-color: #008abf;
  }


}

@media (max-width: 768px) {
  .our-story-section,
  .bens-plan {
    padding: 30px 16px;
    width: 100%;
    overflow-x: hidden; /* ✅ Prevent horizontal scroll */
    box-sizing: border-box;
  }

  .our-story-inner,
  .bens-plan-inner {
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
  }

  .our-story-text,
  .bens-plan-text {
    text-align: center;
    width: 100%;
    padding: 0 10px;
  }

  .our-story-text h2,
  .bens-plan-text h2,
  .our-story-text h4,
  .bens-plan-text h4,
  .our-story-text p,
  .bens-plan-text p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .our-story-video,
  .bens-plan-image {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .our-story-video video,
  .bens-plan-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
  }
}



@media (max-width: 768px) {
  .lead-form {
    margin-bottom: -20px;  /* Reduce space below the form */
  }
}


#postContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* Center horizontally */
  align-items: center;       /* Align items vertically */
  max-width: 1300px;
  margin: 20px auto;         /* Center the entire container */
  padding: 20px;
  border: none;
  border-radius: 12px;
}

#postContentWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center horizontally */
  align-items: flex-start; /* Align top edges */
  max-width: 1300px;
  margin: 0 auto;
}

#postVideoContainer {
  max-width: 350px;     /* Adjust as needed */
  margin: 0 auto;       /* Center the video horizontally */
}


#postTextSection {
  flex: 1 1 300px;
  padding: 20px;
}

#postTextSection p {
  line-height: 1.6;          /* Adjusts line spacing */
  margin-bottom: 16px;       /* Optional: Adds space between paragraphs */
  font-size: 1.1rem;
  font-family: 'Nunito', sans-serif;
}


#postTitle {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}


#postMediaSection {
  flex: 1 1 500px; /* Control image/video width */
  padding: 20px;
  text-align: center; /* Center the image inside */
}

#postTextFormSection {
  flex: 1 1 500px; /* Control text + form width */
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align text + form to the left */
  text-align: left;
}

#postMediaSection img,
#postMediaSection video {
  max-width: 100%;
  border-radius: 8px;
}

#postProgressiveForm {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: left; /* Change from center to flex-start */
}

#postProgressiveForm input[type="text"],
#postProgressiveForm input[type="email"] {
  width: 100%;
  max-width: 600px;           /* Keeps inputs tidy */
}

#postFormSection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* Align content to the left */
  text-align: left;          /* Align text inside fields/labels to the left */
  max-width: 500px;
  margin-left: 20px;         /* Adjust left positioning */
  margin-right: auto;        /* Prevent it from shifting right */
  gap: 20px;
}


.form-field {
  display: flex;               /* Always show fields */
  flex-direction: column;
  margin-bottom: 40px;
  margin-top: 20px; /* Adds space between label and input */
  align-items: center; /* Centers children horizontally */
}


#postFormSection label {
  margin-bottom: 5px;
  color: #000000;
  font-weight: 3rem;
  font-size: 2rem;
  font-family: 'Quicksand', sans-serif;
}

#postFormSection input[type="text"],
#postFormSection input[type="email"] {
  padding: 10px;
  border: 4px solid #00AEEF;
  border-radius: 6px;
  font-size: 1.5rem;     /* Increase font size while typing */
  font-family: 'Nunito', sans-serif; /* Consistent font */
}

#postFormSection input::placeholder {
  color: #999;              /* Gray placeholder text */
  font-size: 1.5rem;          /* Adjust placeholder font size */
  font-family: 'Nunito', sans-serif; /* Match input font */
}
 
#postFormSection .btn-post {
  background-color: #00AEEF;
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.75rem;
    text-decoration: none;
    display: block;               /* Changed from inline-block to block */
    width: 100%;                  /* Match width of form fields */
    margin: 30px 0 0 0;           /* Adjust vertical spacing */
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: none;                /* Add this */
}

#postFormSection .btn-post::before{

  content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(
      ellipse,
      rgb(255, 255, 255) 0%,
      rgb(255, 255, 255) 40%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

#postFormSection .btn-post:hover{
  color: #00AEEF;
}

#postFormSection .btn-post:hover::before {

  width: 260px;
  height: 60px;
  opacity: 1;
}

#postFormSection .btn-post span{

  position: relative;
  z-index: 2;
}

#countdownContainer {
  text-align: center;
  margin-top: 20px;
  color: #000000;
}

#countdownTimer {
  font-size: 1.6rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  /* Center text in the right section on mobile */
  #postTextFormSection {
    align-items: center;     /* Center content horizontally */
    text-align: center;      /* Center-align text */
  }

  /* Center the subheading and paragraphs */
  #postTextFormSection h2,
  #postTextFormSection p {
    text-align: center;
  }
}

/* Container Setup */
#libraryContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1300px;
  margin: 20px auto;
  padding: 20px;
}

@media (max-width: 768px) {
  #libraryContainer {
    margin-bottom: 0px;
  }
}

/* Title Styling */
#libraryTitleSection {
  text-align: center;
  margin-bottom: 40px;
}

#libraryTitle {
  font-size: 3.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #000000; /* Strong blue color */
}

/* Content Wrapper (Media + Text Split) */
#libraryContentWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
}

/* Left side: title, trust, and video */
#libraryMediaSection {
  flex: 1 1 50%;
  min-width: 300px;

  box-sizing: border-box;
}

/* Text + Purchase Section Styling */
#libraryTextFormSection {
  flex: 1 1 40%;
  min-width: 300px;
  margin-top: 30px;
}

#libraryHeader {
  margin-bottom: 20px;
}

.dentist-avatars {
  display: flex;
  align-items: center;
  gap: 8px;
}


.dentist-avatar:nth-child(2) {
  margin-left: -20px; /* adjust overlap amount */
  z-index: 1; /* pushes Dentist 1 on top */
}

/* Ensure Dentist 1 stays above Dentist 2 */
.dentist-avatar:nth-child(1) {
  z-index: 2;
  position: relative; /* required for z-index to work */
}

.form-intro {
  padding: 20px 0;
  max-width: 700px;
  margin: 0 auto;
}

.collection-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto 0 auto;
  padding: 0 20px;
}

.collection-section.reverse {
  flex-direction: row-reverse;
}

.collection-text {
  flex: 1;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem; /* Increase as needed */
  line-height: 1.6;
  color: #000000;
}

.collection-text h3 {
  font-size: 2rem; /* Bigger headline */
  font-weight: 700;
  margin-bottom: 16px;
}

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

.collection-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.dentist-quote {
  margin-top: 30px;
}

.quote-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-right: 40px;
  padding-top: 25px;
}

.quote-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
}

.quote-text p {
  margin: 0;
  font-weight: 500;
  font-family: 'Poppins' sans-serif;
}

#librarySubheading {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  color: #B02433; /* Deep red accent */
}

#libraryTextFormSection p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #000000;
}

/* Payment Button Styling */
#paymentSection {
  margin-top: 30px;
}

#paymentForm {
  display: flex;
  justify-content: flex-start;
}

.btn-payment {
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 58px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.75rem;
  text-decoration: none;
  display: inline-block;
  margin: 30px 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.btn-payment::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-payment:hover::before {
  width: 160px;
  height: 60px;
  opacity: 1;
}

.btn-payment span {
  position: relative;
  z-index: 2;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  
    #libraryTextFormSection,
    #libraryMediaSection {
      flex: 1 1 100%;
    }
  
  /* Optional: improve quote layout */
  
  
  .quote-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 0px;
  }
  
  .quote-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .quote-text p {
    margin: 0;
    font-style: normal;
  }
  
  
}

@media (max-width: 768px) {

  #countdownContainer {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

#thankYouContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
}

#thankYouTitle {
  font-size: 3rem;
  color: #1A4E9E;
  margin-bottom: 20px;
}

#thankYouMessage {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #333;
}

#downloadSection {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-download {
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 38px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  z-index: 1;
  border: none;
}

.btn-download:hover {
  background-color: #007ba7;
}

.btn-download span {
  position: relative;
  z-index: 2;
}

#thankYouFooter {
  font-size: 1rem;
  color: #666;
}

#thankYouFooter a {
  color: #00AEEF;
  text-decoration: underline;
}

.highlight-blue {
  background-color: #000000; /* soft blue highlight */
  color: white;
  padding: 0 4px;
  border-radius: 4px;
}

.btn-read-more {
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 40px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-block;
  margin: 20px 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.btn-read-more::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-read-more:hover::before {
  width: 140px;
  height: 50px;
  opacity: 1;
}

.btn-read-more span {
  position: relative;
  z-index: 2;
}

.trust-section {
  text-align: center;
  margin: 20px 0;
  margin-bottom: 25px;
}



.trust-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: #000000;
  margin-top: 8px;
}

.icon-stack {
  display: flex;
  align-items: center;
  position: relative;
}

.dentist-icon {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  object-fit: cover;
  border: none;
  z-index: 1;
}

.dentist-icon.overlap {
  margin-left: -12px;
  z-index: 0;
}

#doctestimonial {
  margin-top: 20px;
  padding: 12px 18px;
  background-color: #ffffff;
  border-left: 4px solid #00AEEF;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  font-style: normal;
  color: #333;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.testimonial-content p {
  text-align: left;
  margin: 0;
}

.testimonial-content .text {
  text-align: left;
}



.testimonial-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 3px;
}



@media (max-width: 768px) {
  #libraryTitle {
    font-size: 2rem;
    text-align: center;
    padding: 0 16px;
    box-sizing: border-box;
  }
}

#postTextFormSection h2 {
  font-size: 2rem; /* or adjust to your preference */
  font-weight: bold;
  font-family: 'Poppins', sans-serif; /* optional: unify with your heading fonts */
  margin-bottom: 15px;
}

#postTextFormSection p {
  font-size: 1.1rem; /* slightly larger than default */
  line-height: 1.6;
  margin-bottom: 15px;
  font-family: 'Nunito', sans-serif; /* or your paragraph font */
  font-weight: bold;
}

.form-subheading {
  font-size: 2.25rem;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
  width: 100%;         /* ✅ Make sure it doesn’t squeeze next to form */
  text-align: left;    /* or center if desired */
}

.calendly-inline-widget {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Optional: Extra padding on mobile */
@media (max-width: 768px) {
  .calendly-inline-widget {
    padding: 0 16px;
    height: 750px; /* Adjust if it's getting cut off */
  }
}

#pot-subheading {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.5rem;
  font-weight: 700; /* Optional: makes it bold */
  margin-top: 20px; /* Optional: adds spacing */
  margin-bottom: 10px; /* Optional: adds spacing */
}

@media (max-width: 768px) {
  #postFormSection {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the entire form block */
    text-align: center;  /* Center text like labels or subheadings */
    padding: 0 16px;
  }

  #postFormSection form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center form fields */
  }

  #postFormSection .form-field {
    width: 100%;
  }

  #postFormSection input,
  #postFormSection textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif; /* Or your preferred font */
  }

  #postFormSection .btn-post {
    width: 100%;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  #postTitle {
    margin-top: 15px; /* 🔵 Adjust this value as needed */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .testimonial-content {
    flex-direction: column; /* ⬅️ Stack icon and text vertically */
    align-items: flex-start; /* ⬅️ Keep both left-aligned */
    text-align: left;
  }

  .testimonial-icon {
    margin-top: 10px; /* Optional: add a little space between text and icon */
    width: 50px; /* Optional: shrink icon a bit on mobile */
    height: auto;
  }

}

#countdownContainer p {
  font-weight: 700; /* 🔵 Make the "Available Until Monday" text bold */
  font-size: 1.2rem; /* Optional: slightly increase size if you want */
  margin-bottom: 10px; /* Adds breathing room above the timer */
}



@media (max-width: 768px) {
  #postFormSection .btn-post {
    padding: 20px 30px; /* 🔵 More padding = taller button */
    font-size: 2rem;    /* 🔵 Larger font */
  }
}

@media (max-width: 768px) {
  #postProgressiveForm {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #postProgressiveForm input,
  #postProgressiveForm textarea {
    font-size: 1.25rem;     /* 🔵 Make typing text bigger */
    padding: 16px 20px;    /* 🔵 Make input boxes taller */
    width: 100%;           /* 🔵 Make the fields full width */
    box-sizing: border-box;
  }

  #postProgressiveForm input::placeholder,
  #postProgressiveForm textarea::placeholder {
    font-size: 1.25rem;     /* 🔵 Make placeholder text slightly bigger */
  }

  .btn-post {
    font-size: 1.5rem;     /* 🔵 Bigger submit button text */
    padding: 16px 24px;    /* 🔵 Make button taller */
  }
}





.trust-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  color: #00AEEF;
  margin-bottom: 10px;
}

.stars {
  font-size: 2rem;
  color: gold;
  margin-bottom: 20px;
}

#libraryPreview {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

#libraryTextFormSection {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.form-subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .form-subheading {
    text-align: center;
    font-size: 2rem; /* Optional: you can slightly reduce size if needed */
  }
}

#contentCollectionForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center; /* ADD THIS */
  border: 2px solid transparent;  /* space reserved but invisible */
  border-radius: 6px;  
}

#contentCollectionForm input {
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 2px solid #00AEEF;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 500px;
  font-weight: bold;
}

.btn-collection {
  position: relative;
  background-color: #00AEEF;
  color: white;
  padding: 14px 65px;
  font-size: 1.25rem;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
}

.btn-collection::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-collection:hover::before {
  width: 260px;
  height: 80px;
  opacity: 1;
}

.btn-collection span {
  position: relative;
  z-index: 2;
}

.btn-collection:hover {
  color: #00AEEF;
}

.wistia-video-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0;
  padding: 0;
}

.collection-details {
  margin-top: 40px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.6;
}

.collection-details h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #000000;
}

@media (max-width: 768px) {
  #contentCollectionForm .form-field input {
    width: 100%;
    font-size: 1.25rem; /* Larger font for mobile */
    padding: 16px;
  }

  #contentCollectionForm .form-field {
    max-width: 100%;
  }

  #contentCollectionForm .btn-collection {
    font-size: 1.5rem;      /* Larger button text */
    padding: 16px 24px;     /* Taller button */
  }
}

.popup-title-image {
  max-width: 500px;
  width: 100%;
  margin-bottom: 20px;
  display: block;
}

.contact-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.contact-item i {
  color: #00AEEF;
  font-size: 1.2rem;
}

.contact-item a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #00AEEF;
}

#libraryHeader {
  text-align: left;
  margin-bottom: 20px;
}

.library-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
  .library-title {
    font-size: 2rem;
    margin-top: 0px;
    margin-bottom: 12px;
  }
}

.library-subheading {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
  margin-bottom: 30px; /* or any value that looks good */
}

.trust-label {
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: #000000;

}

.stars {
  color: #FFD700;
  font-size: 1.25rem;
}

.dentist-avatars {
  display: flex;
  gap: 10px;
}

.dentist-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}


.dentist-quote {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #000000;
  font-family: 'Poppins', sans-serif;
  padding-right: 15px;
}

@media (max-width: 768px) {

  .dentist-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
  }
  
  .dentist-quote {
    margin-top: 0px;
    border-bottom: 1px solid #000000;
    border-top: none;
    padding-right: 0px;
  }
}


.quote-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00AEEF;
  flex-shrink: 0;
}

.quote-text p {
  margin: 0;
  font-size: 1.4rem;
}

.quote-author {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 1.3rem;
  font-family: 'Poppins', sans-serif;
}

.quote-text p {
  font-family: 'Poppins' sans-serif;
}



.form-intro {
  margin-bottom: 25px;
  font-family: 'Nunito', sans-serif;
}

.form-intro h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #000000; /* Optional: adjust for your theme */
}

.form-intro p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
}

@media (max-width: 768px) {
  #libraryContentWrapper {
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 15px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .collection-section,
  .collection-section.reverse {
    flex-direction: column;
  }
}

.btn-call-us {
  position: relative;
  background-color: white;
  color: #00AEEF;
  font-family: 'Montserrat', sans-serif;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
  display: inline-block;
}

.btn-call-us::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(0, 175, 239) 0%,
    rgb(0, 175, 239) 40%,
    rgba(0, 174, 239, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-call-us:hover::before {
  width: 160px;
  height: 80px;
  opacity: 1;
}

.btn-call-us span {
  position: relative;
  z-index: 2;
}

.btn-call-us:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .btn-call-us {
    display: none;
  }
}

@media (max-width: 767px) {
  footer {
    background-color: #00AEEF;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding-top: 10px;
    margin-top: 10px;
  }

  .footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
  }

  .footer-nav a:hover {
    text-decoration: underline;
  }

  .footer-nav {
    margin-bottom: 20px; /* Adjust value as needed */
  }

  .social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 1rem;
  }

  .social-links img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* Makes icons white */
  }
}

.what-you-get-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap; /* for better mobile behavior */
}

.what-you-get-text {
  flex: 1 1 300px;
}

.what-you-get-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist i {
  color: #00AEEF;
  font-size: 1.2rem;
}

.what-you-get-image {
  flex: 0 1 500;
  max-width: 500px;
  margin-left: 200px;
}

.what-you-get-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .what-you-get-section {
    flex-direction: column;
    align-items: center;
  }

  .what-you-get-image {
    margin-top: 1.5rem;
    max-width: 80%;
  }

  .what-you-get-text {
    text-align: left;
  }
}

@media (max-width: 768px) {
  #libraryHeader,
  .form-subheading,
  .collection-text,
  .what-you-get-text {
    text-align: center;
  }
}

.collection-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.collection-text {
  flex: 1;
  min-width: 280px;
}

.collection-image {
  flex: 1;
  min-width: 240px;
  text-align: center;
}

.collection-image img {
  max-width: 100%;
  width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .collection-section {
    flex-direction: column;
    text-align: center;
  }

  .collection-image img {
    width: 80%;
    margin-top: 20px;
  }

  .collection-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .trust-label {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 8px; /* optional spacing below */
  }
}

@media (max-width: 768px) {
  .trust-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.nav-right {
  display: flex;
  gap: 12px;
  margin-left: auto;
  align-items: center;
}

.hero-video-wrapper {
  display: flex;
  flex-direction: row; /* Ensure horizontal layout */
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  padding: 40px 20px;
  margin-left: 40px;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap; /* allows stacking on mobile */
  gap: 200;
}

.hero-text {
  flex: 1 1 400px;
  max-width: 400px;
  margin-top: 60px;
}

.trusted-section {
  margin-top: 30px;
}

.trusted-stars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  color: #DAA520; /* gold */
}

.trusted-label {
  color: #000000;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
}

.dentist-images {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 10px;
}

.dentist-photo {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00AEEF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.dentist-photo.second {
  margin-left: -15px;
  z-index: 1;
}

.quote {
  margin-top: 15px;
  font-style: italic;
  color: #000000;
}

.kyle-quote {
  margin-top: 30px;
  font-weight: normal;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.quote-author {
  display: block;
  margin-top: 14px;
  font-style: normal;
  color: #000000;
}

.fan {
  position: absolute;
  width: 100px; /* size of each image */
  height: auto;
  top: 0;
  left: 50%;
  transform-origin: bottom center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-radius: 10px;
}

.fan-1 { transform: translateX(-120%) rotate(-20deg); z-index: 1; }
.fan-2 { transform: translateX(-60%) rotate(-10deg); z-index: 2; }
.fan-3 { transform: translateX(-50%) rotate(0deg);    z-index: 3; }
.fan-4 { transform: translateX(-40%) rotate(10deg);   z-index: 2; }
.fan-5 { transform: translateX(-20%) rotate(20deg);   z-index: 1; }

.our-services-section {
  color: #000000;
  padding: 80px 20px;
  text-align: center;
}

.our-services-section h2 {
  font-size: 2.25rem; /* Try 2rem–3rem depending on your design */
  margin-bottom: 16px;
}

.our-services-inner h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}
.our-services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.our-services-section .services-heading {
  font-size: 3rem;
  font-family: 'Poppins' sans-serif;
}

.services-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
}

.services-description {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.5rem;
  line-height: 1.6;
}

.services-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-box {
  background-color: white;
  color: #000000;
  border: 3px solid #00AEEF;
  border-radius: 20px;
  padding: 30px 20px;
  width: 300px;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-box h4 {
  font-size: 1.4rem;
  margin: 15px 0;
  font-family: 'Poppins' sans-serif;
}

.service-box p {
  font-size: 1rem;
  line-height: 1.5;
}

.icon-placeholder {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
  gap: 30px;
}

.service-box.wide-box {
  flex: 1 1 55%;
  padding: 20px;
  box-sizing: border-box;
}

.service-box.wide-box.align-left {
  min-height: 200px; /* or whatever height you need */
}

.service-box.wide-box.align-left h4 {
  font-size: 1.5rem; /* Increase as needed (1.5rem ≈ 24px) */
}

.service-box.wide-box.align-left p {
  font-size: 1.125rem; /* 1.125rem ≈ 18px */
  line-height: 1.6;    /* Optional: improves readability */
}

.service-box.wide-box.align-right h4 {
  font-size: 1.5rem; /* Increase as needed (1.5rem ≈ 24px) */
}

.service-box.wide-box.align-right p {
  font-size: 1.125rem; /* 1.125rem ≈ 18px */
  line-height: 1.6;    /* Optional: improves readability */
}

.media-box {
  flex: 1 1 40%;
  padding: 20px;
  box-sizing: border-box;
}

.service-image,
.service-video {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 4px solid #00AEEF;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

@media (max-width: 768px) {
  .service-row {
    flex-direction: column;
  }
  .service-box.wide-box,
  .media-box {
    flex: 1 1 100%;
    text-align: center;
  }
}

.service-box.wide-box.align-right {
  text-align: left;
  min-height: 200px;
}

@media (max-width: 768px) {
  .service-row.image-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .service-box.wide-box.align-right {
    text-align: center !important;
    margin: 0 auto !important;
    float: none !important;
  }
}



.cta-inner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: #000000;
  margin-bottom: 30px !important;
}

.cta-inner {
  min-height: 300px; /* or whatever height you want */
}

.cta-section h2 {
  margin-bottom: 24px; /* or 32px, adjust as needed */
}

.cta-image {
  display: flex;
  align-items: center;   /* vertically centers the text with the image */
  gap: 10px;             /* space between the image and text */
  text-align: center;      /* center text inside caption */
  justify-content: center;
  margin-top: 20px;
}

.cta-image img {
  width: 50px;           /* adjust to how small you want it */
  height: 50px;          /* keep it square */
  border-radius: 50%;    /* makes it a circle */
  object-fit: cover;     /* ensures the image fills the circle */
}

.cta-caption {
  font-size: 1rem;       /* adjust text size as needed */
  margin: 0;             /* remove default paragraph margin */
  text-align: left;      /* ensures text stays aligned left */
}

.btn-cta {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1.4rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
  display: inline-block; /* or block */
}

.btn-cta {
  margin-top: 24px; /* Adjust to your liking */
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 40%,
    rgba(242, 250, 253, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-cta:hover::before {
  width: 150px;
  height: 80px;
  opacity: 1;
}

.btn-cta span {
  position: relative;
  z-index: 2;
}

.btn-cta:hover {
  color: #00AEEF;
}

@media (max-width: 768px) {
  .btn-cta {
    margin-top: 20px;
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .popup-content {
    padding: 20px;
  }

  .popup-close {
    top: 8px;
    right: 12px;
    font-size: 1.3rem;
  }
}

.icon-container {
  margin-bottom: 15px;
}

.service-icon {
  width: 60px;       /* Adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-wrapper {
  padding: 60px 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-video-wrapper {
  flex: 1 1 300px;
  max-width: 300px;
}

.hero-video-perspective {
  display: inline-block;
  max-width: 700px;
}

.hero-image-wrapper {
  min-width: 250px;
}

.hero-video {
  width: 100%;
  border: 4px solid #00AEEF;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.our-services-section h2 {
  font-size: 2rem; /* Increase this value as needed */
  margin-bottom: 20px;
  color: #000000;
}

.fan-wrapper {
  position: relative;
  height: 180px; /* Adjust based on layout */
  width: max-content;
  margin: auto;
  transform: translateX(40px); /* move it 40px to the right */
}

/* FAN 1 */
#fan-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: rotate(-15deg);
  z-index: 2;
}

/* FAN 2 */
#fan-2 {
  position: absolute;
  top: 0;
  left: 30px;
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: rotate(-7deg);
  z-index: 3;
}

/* FAN 3 */
#fan-3 {
  position: absolute;
  top: 0;
  left: 60px;
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: rotate(0deg);
  z-index: 4;
}

/* FAN 4 */
#fan-4 {
  position: absolute;
  top: 0;
  left: 90px;
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: rotate(7deg);
  z-index: 3;
}

/* FAN 5 */
#fan-5 {
  position: absolute;
  top: 0;
  left: 120px;
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: rotate(15deg);
  z-index: 2;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cta-section {
  position: relative;
  width: 100%;
  background-image: url('assets/contentbannerforwebsite.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 45px;
  padding-bottom: 30px;
  color: #ffffff;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: 
    linear-gradient(to right, white 0%, rgba(255,255,255,0.85) 15%, rgba(255,255,255,0.85) 85%, white 100%);

  z-index: 1;
  pointer-events: none;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-text {
    order: 1;
    width: 100%;
    padding-top: 40px;
  }

  .cta-image {
    order: 2;
    width: 100%;
    margin-left: 0px;
    margin-top: 30px;
  }
}

.section-divider {
  height: 2px;
  background-color: #00AEEF;
  width: 100%;
}

.heart-fountain {
  position: absolute;
  bottom: 115px;
  right: 40px;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
}

.heart {
  position: absolute;
  bottom: 0;
  width: 32px;
  height: 32px;
  background-image: url('assets/heartforanimation.svg'); /* replace with your image */
  background-size: cover;
  opacity: 0.8;
  animation: floatUp 2s linear forwards;
}

.like-animation {
  position: absolute;
  bottom: -70px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popIn 0.6s ease-out 1 forwards;
  opacity: 0;
  z-index: 3;
}

.heart-svg {
  width: 36px;
  height: 36px;
  animation: pulse 1.4s infinite ease-in-out;
}

.like-count {
  font-size: 20px;
  color: #000000;
  font-weight: bold;
  margin-top: 6px;
  font-family: 'Roboto', sans-serif;
}

.cta-text h2 {
  margin-bottom: 35px; /* Space below heading */
  font-family: 'Poppins' sans-serif;
  margin-top: 50px;
}

@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}



@media (max-width: 600px) {
  .hero-text {
    max-width: 85vw;
    margin: 0 auto;
    margin-top: 30px;
    text-align: center;
    align-items: center;
    padding: 20px 15px; /* top/bottom 20px, left/right 15px */
  }

  .hero-text h1 {
    font-size: 1.75rem; /* or smaller if needed */
    line-height: 1.2;
    word-break: break-word;
  }

  .hero-text .subheading {
    font-size: 1.25rem;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
 

  .hero-wrapper,
  .hero-content {
    padding-top: 0;
    margin-top: 0;
  }
}

.hero-wrapper {
  padding-bottom: 10px;
}

@media (max-width: 600px) {
  .btn-hero {
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    display: flex;
    flex-direction: row; /* ✅ Keep side by side */
    flex-wrap: wrap;     /* ✅ Allow wrapping if needed */
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 0 12px;
  }

 

  .hero-video-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
  }

  .hero-image {
    width: 45%;
    max-width: 160px;
    height: auto;
  }

  .hero-video {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
  }

  .hero-video-perspective {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .like-animation {
    position: absolute;
    bottom: -50px;
    right: 40px;
    z-index: 3;
    transform: scale(0.8);
  }
}

@media (max-width: 768px) {
  .banner-layout {
    display: block; /* Stacks the image and text vertically on mobile */
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;

  }

  .banner-image {
    margin-bottom: 0; /* Remove any space after the image */
  }

  .banner-image img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .banner-content h3 {
    margin-top: 22px; /* Reduce spacing above title */
  }
}

@media (max-width: 768px) {
  .banner-content p {
    margin-bottom: 20px; /* adds more space below each paragraph */
  }

  .banner-form input {
    margin-bottom: 16px; /* space between form fields */
  }

  .banner-form input:last-of-type {
    margin-bottom: 24px; /* extra space before the button */
  }

  .btn-form {
    padding: 14px 28px; /* optional: make the button bigger for mobile */
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .banner-form input,
  .banner-form .btn-form {
    width: 100%;
    box-sizing: border-box;
    display: block;
  }

  .btn-form {
    margin-top: 0; /* prevent extra spacing if already set */
  }
}

.star-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4px; /* Optional spacing between stars */
}

@media (max-width: 768px) {
  .trusted-stars {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .trusted-label {
    display: block;
    margin-top: 8px;
  }

  .dentist-images {
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }

  .dentist-photo {
    display: block;
    width: 50px; /* adjust as needed */
    height: 50px;
    border-radius: 50%;
  }
}

@media (max-width: 768px) {
  .trusted-section {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .kyle-quote {
    font-size: 1.05rem; /* or try 1.1rem for more emphasis */
    line-height: 1.6;    /* helps with readability */
    text-align: center;  /* optional: center-align for visual balance */
  }

  .quote-author {
    display: block;
    font-size: 1.3rem;
    margin-top: 10px;
    color: #000000;
  }
}

@media (max-width: 768px) {
  .kyle-quote {
    margin-bottom: 8px; /* Reduce to a smaller value */
  }
}

@media (max-width: 768px) {
  .section-divider {
    margin-bottom: 24px; /* Adjust spacing below the divider */
  }

  .case-text h2 {
    margin-top: 0; /* Reset or fine-tune if necessary */
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .case-text h2 {
    margin-bottom: 12px; /* Reduce spacing below heading */
  }

  .case-text h4 {
    margin-top: 0;
    margin-bottom: 12px; /* Reduce spacing below subheading */
  }

  .case-text p {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .case-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 16px; /* optional spacing */
  }

  .btn-case {
    display: inline-block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .fan-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .fan {
    width: 40px; /* or whatever size looks good on mobile */
    height: auto;
    margin: 4px;
  }
}

@media (max-width: 768px) {
  .founder-text h2 {
    margin-bottom: 23px; /* Increase space below heading */
  }

  .founder-text p {
    margin-bottom: 16px; /* Space between paragraphs and button */
  }

  .btn-wrapper-two {
    margin-top: 45px; /* Optional: ensures space before the button */
  }
}

@media (max-width: 768px) {
  .btn-founder {
    padding: 14px 28px;  /* Slightly larger padding */
    font-size: 1.25em;  /* Slightly larger text */
  }
}

@media (max-width: 768px) {
  .btn-wrapper-two {
    margin-bottom: 40px; /* Increase space below the button */
  }

  .founder-image {
    margin-bottom: 20px; /* Increase space below the image */
  }
}

@media (max-width: 768px) {
  .our-services-section {
    padding-top: 40px; /* or try 20px */
    margin-top: 0;
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 1.8rem; /* Reduce as needed */
    margin-bottom: 24px; /* Increase spacing below the title */
  }
}

@media (max-width: 768px) {
  .social-links a i {
    font-size: 1.8rem; /* Slightly larger on mobile */
  }
}

@media (max-width: 768px) {
  .social-links {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .btn-popup {
    padding: 16px 20px; /* Larger padding for bigger button */
    font-size: 1.5rem;   /* Slightly larger text */
    width: 100%;         /* Optional: full width button */
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .case-study-section {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .popup-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px; /* allows breathing room */
    overflow-y: auto;
  }

  .popup-content {
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    padding-top: 24px;
    padding-bottom: 50px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 8px;
    width: 100%;
  }

  .popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    z-index: 10;
  }
}

@media (max-width: 600px) {
  .popup-form input {
    width: 100%; /* makes the fields narrower than full width */
    font-size: 1.5rem; /* increases font size for readability */
    padding: 10px 12px; /* optional: adjusts spacing inside the input */
    margin: 8px auto; /* centers and spaces the fields */
    display: block;
  }

  .popup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 16px 40px; /* Increase vertical space */
    box-sizing: border-box;
  }

  .cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px; /* Space between .cta-text and .cta-image */
  }

  .cta-text {
    text-align: center;
  }

  .cta-text h2 {
    margin-bottom: 25px; /* Space below heading */
    font-size: 2rem;
  }

  .cta-image img {
    max-width: 80%;
    height: auto;
    display: block;
  }
}

@media (max-width: 600px) {
  #fan-1.fan,
  #fan-2.fan,
  #fan-3.fan,
  #fan-4.fan,
  #fan-5.fan {
    width: 100px;
  }
}



@media (max-width: 768px) {
  #libraryMediaSection {
    padding-top: 20px; /* reduce top space */
  }

  #libraryHeader {
    text-align: center;
    margin-top: 0; /* ensure no extra top margin */
    padding: 0; /* optional side padding */
  }
}

@media (max-width: 768px) {
  #libraryMediaSection {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers children horizontally */
    text-align: center;
    padding: 0px;
    margin: 0 auto;
  }

  #libraryHeader {
    max-width: 100%;
    text-align: center;
    padding: 0;
  }

  .wistia-video-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
  }

  .trust-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
    gap: 2px;
    margin-bottom: 15px;
  }

  .stars-content {
    margin: 0px;
  }

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

@media (max-width: 768px) {
  .btn-collection {
    display: block;
    margin: 20px auto 0 auto; /* centers horizontally with top margin */
    width: 80%; /* adjust width as needed */
    text-align: center;
    font-size: 1rem; /* optional: increase button text size */
    padding: 14px 0;  /* optional: adjust vertical padding */
  }

  #libraryTextFormSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    text-align: center;
  }

  #contentCollectionForm {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-field {
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
    box-sizing: border-box;
  }

  .form-field input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 30px;
    border: 2px solid #00AEEF;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
}

@media (max-width: 768px) {

  .library-subheading {
    font-size: 1.25rem;
  }

}

.thank-you-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  gap: 40px; /* space between text and Calendly */
}

.thank-you-box h1 {
  color: #000000; /* Set to black */
  font-family: 'Poppins';
}

.thank-you-box p {
  font-family: 'Poppins';
}

.thank-you-text {
  flex: 1;
  text-align: center;
}

.thank-you-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
}

.thank-you-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
}

.thank-you-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
}


.thank-you-calendly {
  flex: 1;
}

@media (max-width: 768px) {
  .thank-you-box {
    flex-direction: column;
  }
  .thank-you-text,
  .thank-you-calendly {
    width: 100%;
  }
  .thank-you-text {
    text-align: center;
  }
}

.booking-message {
  margin: 30px 0 15px;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

/* Page wrapper */
.thank-you-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  background-color: #ffffff; /* soft white background */
  box-sizing: border-box;
}

/* Content box */
.thank-you-box {
  max-width: 1600px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  color: #000000; /* all text black */
}

/* Heading */
.thank-you-box h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Paragraphs */
.thank-you-box p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.6;
  color: #000; /* ensure black text */
}

@media (max-width: 768px)
{
  .thank-you-box {
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* Booking message */
.booking-message {
  margin-top: 40px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
}

/* Calendly Widget spacing */
.calendly-inline-widget {
  margin-top: 20px;
  width: 100% !important;
  max-width: 100%;
  border: none;
}

.sticky-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00aeef; /* turquoise */
  color: white;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transform: translateX(150%); /* start offscreen */
  opacity: 0;
  pointer-events: none;
}

/* When visible */
.sticky-button.visible {
  animation: bounceInRight 0.9s ease forwards;
  pointer-events: auto;
}

/* Bounce animation */
@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(150%);
  }
  60% {
    opacity: 1;
    transform: translateX(-10px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    opacity: 1;        /* ensure it stays visible */
    transform: translateX(0);
  }
}

/* Hover effect (optional) */
.sticky-button:hover {
  background-color: #008fca;
}



.hidden {
  visibility: hidden;
}
.visible {
  visibility: visible;
}

.case-video {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  border: 4px solid #00AEEF;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .case-video {
    width: 100%;
    max-width: 563.07px;
    margin-top: 20px;
  }
}

.founder-image wistia-player {
  
  display: block;
  width: 100% !important;
}

.service-row.image-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.blue-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0; /* no gap since we want overlap */
  margin-top: 20px;
}

.bluebox-img {
  width: 115px; /* smaller size */
  height: auto;
  margin-left: -30px; /* overlap effect */
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Fan effect using nth-child */
.bluebox-img:nth-child(1) {
  transform: rotate(-10deg);
  z-index: 1;
}

.bluebox-img:nth-child(2) {
  transform: rotate(0deg);
  z-index: 2;
}

.bluebox-img:nth-child(3) {
  transform: rotate(10deg);
  z-index: 1;
}

/* Optional: lift on hover */
.bluebox-img:hover {
  transform: scale(1.05);
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .service-row {
    flex-direction: column;
    align-items: center;
  }

  .blue-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .bluebox-img {
    max-width: 100%;
    height: auto;
    margin: 8px;
  }
}



@media screen and (max-width: 768px) {
  .new-patient-section {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .new-patient-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    width: 100%;
    padding-top: 20px;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .new-patient-text {
    width: 100%;
    text-align: center;
  }

  .new-patient-text h2 {
    font-size: 1.65rem;
    margin-bottom: 45px;
  }

  .new-patient-text p {
    line-height: 1.6;
    margin-bottom: 17px;
    padding: 10px 8px;
  }

  .new-patient-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .new-patient-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* Overlay mobile menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background-color: rgba(0, 174, 239, 0.97); /* 85% opacity */
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  padding: 20px;
  z-index: 1000;
}


.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-overlay .close-btn {
  background: none;
  border: none;
  font-size: 3rem;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: #ffffff;
}

.mobile-menu-overlay ul {
  list-style: none;
  padding: 30px 0 0;
}

.mobile-menu-overlay ul li {
  margin: 40px 30px;
}

.mobile-menu-overlay ul li a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.blue-underline {
  text-decoration: underline;
  text-decoration-color: #00AEEF;
}

.quote-author-info {
  display: flex;
  align-items: center;
  gap: 12px; /* space between image and text */
  margin-top: 16px;
}

.quote-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;       /* makes it circular */
  object-fit: cover;
  border: 1px solid #00AEEF; /* optional turquoise border */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* subtle shadow */
}

@media (max-width: 500px) {
  .quote-author-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 15px;
  }
}

.btn-wrapper {
  margin-top: 24px;
}

.btn-more-ideas {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  font-size: 1.25rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden ;   
  margin-top: 25px;
  text-decoration: none;

}

.btn-more-ideas::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px; /* 🔹 smaller size */
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(253, 253, 253) 0%,
    rgb(253, 253, 253) 40%,   /* keep brightness strong to 40% */
    rgba(253, 253, 253, 0) 100% 
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease,
  width 0.4s ease,
  height 0.4s ease;
  z-index: 0;
  overflow: hidden;
}

.btn-more-ideas:hover {
  color: #00AEEF;
}

.btn-more-ideas:hover::before {
  width: 200px;
  height: 80px;
  opacity: 1;
}

.btn-more-ideas span {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .btn-more-ideas {
    font-size: 1.5rem;
  }
}

html {
  scroll-behavior: smooth;
}

.btn-get-ideas {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  font-size: 1.25rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden ;   
  margin-top: 25px;
  margin-bottom: 30px;
  text-decoration: none;
}

.btn-get-ideas::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px; /* 🔹 smaller size */
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(253, 253, 253) 0%,
    rgb(253, 253, 253) 40%,   /* keep brightness strong to 40% */
    rgba(253, 253, 253, 0) 100% 
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease,
  width 0.4s ease,
  height 0.4s ease;
  z-index: 0;
  overflow: hidden;
}

.btn-get-ideas:hover::before {
  width: 200px;
  height: 80px;
  opacity: 1;
}

.btn-get-ideas span {
  position: relative;
  z-index: 2;
}

.btn-get-ideas:hover {
  color: #00AEEF;
}

@media (max-width: 768px) {
  .btn-get-ideas {
    font-size: 1.5rem;
  }
}

.hero-image-wrapper {
  display: inline-block;
  padding: 8px;
  border: 3px solid #00AEEF;       /* curved blue border */
  border-radius: 20px;              /* adjust curve here */
  box-shadow: 0 4px 10px rgba(0, 174, 239, 0.2); /* subtle blue shadow */
  background-color: white;         /* optional: for a clean frame look */
  width: auto;
}

.hero-image {
  display: block;
  max-width: 100%;
  width: 300px;
  border-radius: 12px; /* optional inner rounding if desired */
}

/* General Layout */
section {
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

h1, h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.25rem;
  color: #000000;
  margin-bottom: 24px;
}

.btn-wrapper {
  margin-top: 16px;
}



/* Hero */
.hero-services {
  background-color: #F2FAFD;
  text-align: center;
}

.hero-services-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Content Sections */
.content-section {
  background-color: #ffffff;
}

.content-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.content-text {
  flex: 1 1 500px;
}

.content-video,
.content-images {
  flex: 1 1 500px;
  text-align: center;
}

/* Video Styling */
.video-player {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Fanned Images */
.fanned-images {
  display: flex;
  justify-content: center;
  gap: 0;
  transform: rotate(-5deg);
}

.fanned-images img {
  width: 140px;
  border-radius: 16px;
  transform: rotate(5deg);
  margin: 0 -20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .content-inner {
    flex-direction: column;
    text-align: center;
  }

  .fanned-images {
    flex-direction: row;
    justify-content: center;
    transform: none;
  }

  .fanned-images img {
    transform: none;
    margin: 0 8px;
  }
}

#resources-title {
  font-family: 'Poppins', sans-serif;
  color: #000; /* Black text */
  padding: 60px 20px;
  text-align: center;
}

#resources-heading {
  font-size: 2.75rem; /* Adjust to your preference */
  font-weight: 700;
  margin-bottom: 16px;
}

#resources-subtext {
  font-size: 1.25rem;
  font-weight: 400;
  color: #333; /* Slightly softer black for paragraph */
}

/* === Base Styles === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #000;
  line-height: 1.6;
}

h1, h2, h4 {
  font-weight: 700;
}

p {
  margin: 0 0 20px;
  font-weight: 400;
  color: #000000;
}

/* === Button Styles === */




/* === Hero Section === */
.hero-services {
  background-color: #e0f3fc;
  padding: 80px 20px;
  text-align: center;
}

.hero-services-inner h1 {
  font-size: 3rem;
}

.hero-services-inner h4 {
  font-size: 1.5rem;
  color: #444;
}

.btn-wrapper {
  margin-top: 55px;
}

/* === Content Section Shared Styles === */
.content-section {
  padding: 80px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.content-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
}

.content-text {
  flex: 1 1 400px;
}

.content-video,
.content-images {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-player {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fanned-images img {
  width: 100px;
  height: auto;
  margin: 0 -20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .hero-services-inner h1 {
    font-size: 2.25rem;
  }

  .hero-services-inner h4 {
    font-size: 1.125rem;
  }

  .content-section {
    flex-direction: column;
    text-align: center;
  }

  .content-inner {
    flex-direction: column;
    gap: 24px;
  }

  .fanned-images img {
    margin: 0 10px;
  }
}

@media (max-width: 768px) {
.hero-author-wrapper {
  min-width: 400px;
 }
}

.footer-copy {
  color: white;
  font-family: 'Poppins', sans-serif;
}

.hero-author-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-left: 10px;
}

.written-instructions-wrapper {
  order: 2; /* places it after image */
  text-align: center;
  margin-top: 10px;
}

.written-instructions-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.written-instructions-text {
  font-size: 1rem;
  margin-top: 4px;
}



@media (max-width: 768px) {
.hero-author-wrapper {
  padding-left: 50px;
 }
}

.hero-profile-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-width: 2px;
  border-color: #00AEEF;
}

.written-instructions-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-width: 2px;
  border-color: #00AEEF;
}

.hero-author-text {
  font-size: 0.95rem;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  max-width: 220px;
  font-weight: bold;
  text-align: left;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.editing-preview-video {
  width: 100%;
  max-width: 350px;
  height: auto;
  border: 4px solid #00AEEF;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.review-verification {
  text-align: center;              /* centers inline/inline-block children */           /* centers flex children horizontally */
}

@media (max-width: 600px) {
  .editing-preview-video {
    max-width: 100%;
    border-width: 3px;
    border-radius: 12px;
  }
}

.content-section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  background: #ffffff; /* optional soft background */
}

.content-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.content-text {
  flex: 1 1 500px;
  min-width: 300px;
}

.content-media {
  flex: 1 1 500px;
  min-width: 300px;
}

.content-media img,
.content-media video {
  width: 100%;
  max-width: 100%;
  border: 4px solid #00AEEF;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  display: block;
}

.testimonial-block {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #ffffff; /* subtle background */
  border-radius: 0px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-bottom: 2px solid #000000;
}

.testimonial-block.alt-style {
  border: none;
  border-bottom: 2px solid #000000;
  border-radius: 0px;
}

.testimonial-inner {
  display: flex;
  align-items: left;
  gap: 20px;
  flex-direction: column;
}

.testimonial-author-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Name + stars stacked */
.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author {
  font-size: 1.2rem;
  margin: 0;
  font-weight: bold;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-quote .quote {
  font-style: normal;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .testimonial-quote .quote {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
}

.testimonial-quote .author {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: #000000;
}

@media (max-width: 768px) {
.case-video-desktop {
  display: none;
}
.case-video-mobile {
  display: block;
}
}

@media (min-width: 768px) {
  .case-study-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .case-text, .case-video-desktop {
    flex: 1;
  }

  .case-video-desktop {
    display: block;
    padding-left: 40px;
  }

  .case-video-mobile {
    display: none;
  }
}

.cta-caption {
  background-color: #ffffff;
  border: 2px solid #00AEEF;
  border-radius: 12px; /* Adjust roundness as desired */
  padding: 8px 16px;
  margin-top: 10px;
  display: inline-block;
  font-family: 'Poppins', sans-serif; /* Optional: match your paragraph font */
  font-size: 1rem;
  color: #000000;
  text-align: center;
  font-weight: bold;
}




.desktop-image {
  display: block;
}

.mobile-image {
  display: none;
}

@media (max-width: 768px) {
  .desktop-image {
    display: none;
  }
  .mobile-image {
    display: block;
  }
}



.banner-layout {
  display: flex;
  gap: 40px;
}

.popup-columns {
  display: flex;
  align-items: flex-start; /* top-align content */
  gap: 35px; /* space between image and text */
}

.popup-left img {
  width: 400px; /* control image size */
  height: auto;
}

.popup-left {
  padding-left: 15px;
}

.popup-right {
  flex: 1; /* take remaining space */
  padding-right: 15px;
}

.popup-right h1 {
  color: #000000;
}

@media (max-width: 768px) {
  .popup-right h1 {
    margin-bottom: 10px;
  }

  .popup-right p {
    padding-bottom: 30px;
  }
}



/* Optional: make it stack on mobile */
@media (max-width: 600px) {
  .popup-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .popup-left img {
    width: 90%; /* make image smaller on mobile */
  }
}

@media (max-width: 768px) {
  .testimonial-inner {
    align-items: center;
    text-align: center; /* center text inside the quote wrapper */
    flex-direction: column;
  }

  .testimonial-quote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-quote p.author {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .testimonial-img {
    margin-top: 0px; /* add some space above image when stacked */
    order: 2;
  }
}

/* Default: Show desktop image, hide mobile */
.new-patient-inner .new-patient-desktop-image {
  display: block;
}

.new-patient-inner .new-patient-mobile-image {
  display: none;
}

/* Mobile breakpoint: swap images */
@media (max-width: 768px) {
  .new-patient-inner .new-patient-desktop-image {
    display: none;
  }

  .new-patient-inner .new-patient-mobile-image {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* Default: Show desktop, hide mobile */
.hygienist-image .hygienist-desktop-image {
  display: block;
}

.hygienist-image .hygienist-mobile-image {
  display: none;
}

/* Mobile breakpoint: swap images */
@media (max-width: 768px) {
  .hygienist-image .hygienist-desktop-image {
    display: none;
  }

  .hygienist-image .hygienist-mobile-image {
    display: block;
    width: 100%;
    height: auto;
  }
}

.content-recycle-message {
  margin-top: 20px;
  
  color: #000000; /* adjust to match your design */
  text-align: left;
}

#libraryTextFormSection .content-recycle-message p {
  font-size: 1rem; /* or whatever size you want */
}

@media (max-width: 768px) {
  .content-recycle-message {
    text-align: center;
    margin-top: 40px;
    font-size: 0.65rem;
  }
}

.btn-learn-more-services {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
  text-decoration: none;
  margin-top: 20px;
}

.btn-learn-more-services::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(242, 250, 253) 0%,
    rgb(242, 250, 253) 40%,
    rgba(242, 250, 253, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-learn-more-services:hover::before {
  width: 160px;
  height: 60px;
  opacity: 1;
}

.btn-learn-more-services span {
  position: relative;
  z-index: 2;
}

.btn-learn-more-services:hover {
  color: #00AEEF;
}

.star-row {
  color: #FFD700;      /* gold color */
}

/* Flash effect style */
.flash-border {
  outline: 4px solid #00AEEF; /* sits outside the form */
  outline-offset: 6px;        /* space between form and outline */
  border-radius: 6px;
  animation: flashPulse 2s ease-out forwards; /* extended duration */
}

@keyframes flashPulse {
  0% {
    outline-color: rgba(0, 174, 239, 0);   /* invisible at start */

  }

  20% {
    outline-color: rgba(0, 174, 239, 1);   /* fade in quickly */

  }
  70% {
    outline-color: rgba(0, 174, 239, 1);   /* stay visible */

  }
  100% {
    outline-color: rgba(0, 174, 239, 0);   /* fade out */

  }
}

.new-patient-inner-2 {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 60px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  min-height: 515px;
}

.new-patient-text-2 {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
  min-height: 700px;
}

.new-patient-inner-3 {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 70px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  min-height: 515px;
}

@media (max-width: 768px){
  .new-patient-inner-3 {
    padding-left: 0px;
    padding-right: 0px;
  }
}


.new-patient-text-3 {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
  min-height: 700px;
}



.new-patient-text-2 p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.new-patient-text-3 p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
}

.new-patient-text-3 h2 {
 
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .new-patient-text-3 p {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 10px 8px;
    font-size: 1.4rem;
  }

  .new-patient-text-3 h2 {
    text-align: center;
    font-size: 1.65rem;
    margin-bottom: 20px;
  }

  .btn-wrapper-2 {
    text-align: center;
    margin-top: 50px;
  }
}

.hero-services-inner h1 {
  color: #000000;
}

.profile-attribution {
  display: flex;
  align-items: center;
  gap: 10px; /* space between image and text */
  margin-top: 20px; /* space below the main image */
}

.profile-avatar-one {
  width: 60px ;
  height: 60px ;
  border-radius: 50%; /* makes it circular */
  object-fit: cover; /* ensures no distortion */
}

.profile-text {
  font-size: 20px;
  font-weight: 500;
  color: #000000; /* adjust to match your site’s palette */
  font-family: 'Poppins', sans-serif;
}

.new-patient-image {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 174, 239, 0.8); /* #00AEEF with transparency */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* allows clicks through when hidden */
}

.overlay-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
}

@media (hover: hover) and (pointer: fine) {
  .new-patient-image:hover .image-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

.hygienist-profile-attribution {
  display: flex;
  align-items: center;
  gap: 10px;       /* space between image and text */
  margin-top: 20px;
}

.hygienist-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.hygienist-profile-text {
  font-size: 20px;
  font-weight: 500;
  color: #000000;     /* adjust to your theme */
  font-family: 'Poppins', sans-serif;
}

/* Optional mobile tweak */
@media (max-width: 768px) {
  .hygienist-profile-avatar {
    width: 35px;
    height: 35px;
  }
  .hygienist-profile-text {
    font-size: 13px;
  }
}

.popup-author {
  display: flex;
  align-items: center;     /* vertically aligns image and text */
  margin-top: 10px;        /* space from the image above */
}

.popup-author .author-image {
  width: 40px;             /* small size */
  height: 40px;            /* keeps it square */
  border-radius: 50%;      /* makes it a circle */
  object-fit: cover;       /* ensures image doesn't stretch */
  margin-right: 10px;      /* space between image and text */
}

.popup-author .author-text {
  font-size: 0.9rem;       /* slightly smaller than body text */
  margin: 0;               /* remove default paragraph margin */
  text-align: left;        /* explicitly aligns text left */
  padding-right: 35px;
}

/* Overlay */
.ideas-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup box */
.ideas-popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
}

/* Close button */
.ideas-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Overlay background */
.ideas-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none; /* initially hidden */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

/* Popup content box */
.ideas-popup-content {
  background: #fff;
  border-radius: 10px;
  max-width: 900px;
  width: 90%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Close button */
.ideas-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
  transition: color 0.2s ease;
}
.ideas-close-btn:hover {
  color: #000;
}

/* Body layout */
.ideas-popup-body {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* Left section */
.ideas-popup-image-section {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ideas-main-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Author info */
.ideas-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
.author-text {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Quote */
.ideas-quote {
  border-top: 1px solid #000;
  padding-top: 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.quote-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.quote-text {
  font-size: 0.9rem;
  font-style: bold;
  line-height: 1.4;
}

.quote-author {
  font-weight: normal;
  display: block;
  margin-top: 5px;
}

/* Right section (form) */
.ideas-popup-form-section {
  flex: 1 1 50%;
}

.ideas-popup-form-section h2 {
  margin-top: 0;
}

.ideas-popup-form-section p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Form styling */
#ideasPopupForm input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #00AEEF;
  border-radius: 5px;
  font-size: 1rem;
}

/* Submit button */
#ideasPopupForm button {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background: #00AEEF;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
#ideasPopupForm button:hover {
  background: #005bb5;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .ideas-popup-body {
    flex-direction: column;
  }

  .ideas-popup-image-section, 
  .ideas-popup-form-section {
    flex: 1 1 100%;
  }
}

.booking-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 10%;
}

.booking-text {
  flex: 1;
  max-width: 500px;
}

.booking-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.booking-text h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #000000;
  font-weight: normal;
  font-family: 'Poppins', sans-serif;

}

.booking-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.booking-calendar {
  flex: 1;
  min-width: 350px;
  max-width: 700px;
  height: 700px;
}

@media (max-width: 900px) {
  .booking-container {
    flex-direction: column;
    align-items: center;
  }
  .booking-text {
    max-width: 100%;
    text-align: left;
  }
  .booking-calendar {
    width: 100%;
    height: 700px;
  }
}

.testimonial-stars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFD700; /* gold */
  margin-top: 10px;
}

#formSubheading {
  scroll-margin-top: 50px; /* adjust to how high */
}

.new-patient-inner-4 {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 60px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-height: 515px;
}

.new-patient-text-4 {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
  min-height: 700px;
}

.new-patient-text-4 p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
}

.new-patient-text-4 h2 {
 
  margin-bottom: 60px;
}

@media (max-width: 768px) {

  .testimonial-author-block {
    flex-direction: row-reverse;
  }


}


@media (max-width: 768px){
  .profile-avatar-one {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%; /* makes it circular */
    object-fit: cover; /* ensures no distortion */
  }

  .hygienist-profile-avatar {
    width: 60px ;
    height: 60px ;
    border-radius: 50%; /* makes it circular */
    object-fit: cover; /* ensures no distortion */
  }
}

.trusted-profile-image {
  max-width: 65px;
  width: 100%
}

.trusted-text {
  font-weight: bold;
  text-align: left;
}

.trusted-profiles {
  display: flex;
  justify-content: flex-start; /* aligns children to the left horizontally */
  align-items: center;         /* optional: centers them vertically */
}

.trusted-profile-image:not(:first-child) {
  margin-left: -15px; /* adjusts overlap amount */
}



/* === Form Layout === */
#moreIdeasForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  border: 2px solid transparent;
  border-radius: 6px;
}

/* === Input Styling === */
#moreIdeasForm input {
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 2px solid #00AEEF;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 500px;
  font-weight: bold;
}

/* === Button Styling (Matches .btn-collection) === */
.btn-ideas {
  position: relative;
  background-color: #00AEEF;
  color: white;
  padding: 14px 24px;
  font-size: 1.25rem;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
}

.btn-ideas::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-ideas:hover::before {
  width: 260px;
  height: 80px;
  opacity: 1;
}

.btn-ideas span {
  position: relative;
  z-index: 2;
}

.btn-ideas:hover {
  color: #00AEEF;
}

/* === Progress Bar === */
.progress-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 20px;
}

.step {
  width: 14px;
  height: 14px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.step.active {
  background-color: #00AEEF;
}
/* === Form Step Control === */
.form-step {
  display: none;
  flex-direction: column;
  gap: 15px;
  position: relative;
  margin-inline: auto;  /* centers the step in its parent */

}

.form-step.active {
  display: flex;
  flex-direction: column; /* stack items vertically */
  align-items: center;    /* center horizontally */
  justify-content: center;/* center vertically */
  min-height: 100vh;      /* full viewport height */
  text-align: center;     /* center text inside */
  box-sizing: border-box;
  padding: 20px;          /* side padding for mobile */
}

.form-field {
  width: 100%;
  max-width: 400px; /* keeps form fields from stretching too wide */
  margin-bottom: 1rem;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

.address-preview-image {
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.skip-btn {
  background-color: transparent;
  color: #00AEEF;
  margin-top: 10px;
  border: 2px solid #00AEEF; /* 2px border in your blue */
  border-radius: 50px;       /* optional: match rounded style */
}

.skip-btn:hover {
  color: #ffffff;
}

.btn-collection.skip-btn::before {
  background: radial-gradient(
    ellipse,
    rgb(0, 174, 239) 0%,        /* bright blue center */
    rgb(0, 174, 239) 40%,       /* solid blue middle */
    rgba(0, 174, 239, 0) 100%   /* fade out to transparent */
  );
}

.review-field {
  position: relative;
}

.review-field input {
  width: 100%;
  padding: 22px 40px 10px 12px; /* top padding for label, right for pencil */
  border: 1px solid #00AEEF;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  box-sizing: border-box;
}

.review-label {
  position: absolute;
  top: 6px;
  left: 12px;
  font-size: 12px;
  line-height: 1;
  color: #666;
  pointer-events: none;
}


.edit-field-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.edit-field-btn i {
  font-size: 14px;
  color: gray;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.edit-field-btn:hover i {
  opacity: 1;
}

.back-btn {
  position: absolute;
  top: 10;
  left: 20px;
  background: none;
  border: none;
  font-size: 1rem;
  color: #00AEEF;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
}





/* Style the form layout */
#phaseOneForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  border: 2px solid transparent;
  border-radius: 6px;
}

/* Style the input fields */
#phaseOneForm input {
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 2px solid #00AEEF;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 500px;
  font-weight: bold;
}

#phaseOneForm .btn-collection {
  padding: 12px 48px;
}

.form-step { display: none; }
.form-step.active { display: block; }
.progress-bar .step.active { background-color: #00AEEF; } /* Example active style */

.stars-row {
  margin-top: 10px;
  display: flex;
  gap: 4px;
}

.stars-row i {
  color: var(--gold, #FFC107);
  font-size: 18px;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  transform-origin: center;
  animation: starSpinIn 520ms ease-out forwards;
}

/* Staggered delays */
.stars-row i:nth-child(1) { animation-delay: 0ms; }
.stars-row i:nth-child(2) { animation-delay: 90ms; }
.stars-row i:nth-child(3) { animation-delay: 180ms; }
.stars-row i:nth-child(4) { animation-delay: 270ms; }
.stars-row i:nth-child(5) { animation-delay: 360ms; }

@keyframes starSpinIn {
  0% {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
    filter: blur(1px);
  }
  60% {
    opacity: 1;
    transform: rotate(8deg) scale(1.05);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .star-row i {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Layout */
.ms-wrapper { max-width: 720px; margin: 60px auto; padding: 0 16px; }
.ms-form { display: block; }
.form-step { display: none; }
.form-step.active { display: block; }




.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #00AEEF;
  border-radius: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

.ms-actions {
  display: flex;
  flex-direction: column;  /* stack vertically */
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 60px;
}

/* Review grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-field.full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Progress bar */
.ms-part-kicker {
  text-align: center;
  font-weight: 700;
  letter-spacing: .2px;
  color: #1e293b;
  margin-bottom: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ms-part-kicker.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

.ms-part-kicker.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.ms-progress { position: relative; margin: 0 auto 28px; height: 28px; max-width: 720px; }
.ms-progress-track {
  position: absolute; top: 50%; left: 0; right: 0; height: 4px; background: #e9eef2;
  transform: translateY(-50%); border-radius: 999px;
}
.ms-progress-fill {
  position: absolute; top: 50%; left: 0; height: 4px; width: 0%;
  background: #00AEEF; transform: translateY(-50%); border-radius: 999px;
  transition: width 380ms ease;
}
.ms-progress-dots {
  position: relative; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  height: 100%; gap: 22px;
  margin-top: 15px;

}

.ms-progress-dots .dot {
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  background: #cfd8df;
  transition: background-color 280ms ease, transform 280ms ease;
  flex: 0 0 auto;
}

.ms-progress-dots .dot.active { 
  background: #00AEEF; 
  transform: scale(1.1); 
}

/* Visual break between parts */
.ms-progress-dots .break {
  width: 44px; height: 0; border-top: 4px dashed #cfd8df; opacity: .9;
  margin: 0 4px; flex: 0 0 auto;
}

.ms-progress-dots .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #00AEEF;            /* filled color */
  transform: scale(0);             /* start empty */
  transition: transform 260ms ease;
  transform-origin: center;
}

/* When “filled”, pop the inner circle */
.ms-progress-dots .dot.filled::after {
  transform: scale(1);
}

/* Helpers */


.btn-collection { cursor: pointer; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.address-preview-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin: 0 auto; /* centered above fields */
  margin-top: 15px;
  margin-bottom: 15px;
}



#contentCollectionForm input,
#contentCollectionForm select,
#contentCollectionForm textarea {
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 2px solid #00AEEF;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 500px;
  font-weight: bold;
  background-color: #fff; /* match text inputs */
  color: #000;           /* text color */
}

/* Optional: remove browser styling and match the look */
#contentCollectionForm select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2300AEEF' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px; /* space for custom arrow */
}

#contentCollectionForm select:invalid {
  color: rgb(118, 118, 118); /* match your input placeholder gray */
}

/* Ensure user-chosen values are black like normal text */
#contentCollectionForm select option {
  color: #000000;
}

.btn-collection.next-btn {
  padding: 14px 65px;
  font-size: 1.5rem;
}

.btn-collection.skip-btn {
  padding: 14px 65px;
  font-size: 1.5rem;
}

.btn-collection.submit-btn {
  padding: 14px 65px;
  font-size: 1.5rem;
}

/* Make room for a top-left back button */
.form-step {
  position: relative;
  padding-top: 30px; /* space so the back button doesn't overlap the title */
}

/* Back button pinned top-left */
.back-top {
  position: absolute;
  top: 8px;
  left: 0;
}

/* Center the input field block */
.form-field-center {
  max-width: 500px;      /* match your input max-width */
  width: 100%;
  margin: 0 auto 25px;   /* centers horizontally */
}

/* Center the title text (optional) */
.ms-title {
  margin-bottom: 20px; 
  margin-top: 20px;
  font-size: 2rem;
  line-height: 1.3;
  text-align: center;    /* center title */
  max-width: 500px; /* controls width */

}

.ms-title-print {
  margin-bottom: 40px; 
  margin-top: 40px;
  font-size: 2rem;
  line-height: 1.3;
  text-align: center;    /* center title */
  max-width: 500px; /* controls width */

}

.ms-subcopy {
  margin: 8px auto 20px;
  max-width: 640px;
  text-align: center;
  line-height: 1.55;
  color: #000000;
}

@media (max-width: 768px)
{
  .form-field  {
  padding-left: 15px;
  padding-right: 15px;
  }
  .ms-title {
    padding-right: 15px;
    padding-left: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
  }

  .ms-title-print {
    padding-right: 15px;
    padding-left: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
  }


  .ms-progress-dots {
    margin-right: 15px;
    margin-left: 15px;
  }
}

/* Apply styles only to buttons that are BOTH .btn-collection AND .next-btn */

.phone-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.phone-inputs input {
  flex: 1;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  max-width: 150px;
}

.phone-inputs input[name="phone"] {
  flex: 2; /* make main number wider */
}

/* Keep it centered and neat in your existing layout */
.iti {
  width: 100%;
  max-width: 360px;   /* adjust to your design */
  margin-inline: auto;
}
#phoneFull {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

.btn-more-ideas-2 {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  font-size: 1.25rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden ;   
  margin-top: 25px;
  text-decoration: none;

}

.btn-more-ideas-2::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px; /* 🔹 smaller size */
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(253, 253, 253) 0%,
    rgb(253, 253, 253) 40%,   /* keep brightness strong to 40% */
    rgba(253, 253, 253, 0) 100% 
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease,
  width 0.4s ease,
  height 0.4s ease;
  z-index: 0;
  overflow: hidden;
}

.btn-more-ideas-2:hover {
  color: #00AEEF;
}

.btn-more-ideas-2:hover::before {
  width: 200px;
  height: 80px;
  opacity: 1;
}

.btn-more-ideas-2 span {
  position: relative;
  z-index: 2;
}

.address-step .form-field {
  display: flex;
  justify-content: center;
}

.address-step .form-field input,
.address-step .form-field select {
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
}

/* Ensure the step container itself is centered */
.form-step.address-step {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontally center children */
  justify-content: center;
}

/* Make the form-field blocks centered */
.form-step.address-step .form-field {
  width: 100%;
  max-width: 400px;  /* control the width */
  margin: 0 auto 1rem auto; /* center horizontally + spacing */
  text-align: center;
}

/* Center the input/select inside */
.form-step.address-step input,
.form-step.address-step select {
  width: 100%;
  display: block;
  margin: 0 auto; /* makes sure the element itself is centered */
  box-sizing: border-box;
}

.form-step > p {
  margin-top: 15px;
  margin-bottom: 30px;
  font-size: 1.125rem; /* increase font size (≈18px) */
  line-height: 1.6;   /* makes it easier to read */
}

/* Green circle checkmark */
.checkmark-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #34A853; /* Google green */
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark-circle i {
  color: #fff;
  font-size: 12px;
}

.verified-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 300; /* light font */
  color: #555;
  margin-bottom: 4px;
  text-align: center;
}

/* Align stars + checkmark horizontally */
.star-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#startFormBtn {
  margin-top: 15px; /* adjust the value as needed */
}

.btn-get-started {
  position: relative;
  background-color: #00AEEF;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  font-size: 1.25rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden ;   
  margin-top: 25px;
  margin-bottom: 30px;
  text-decoration: none;
}

.btn-get-started::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 15px; /* 🔹 smaller size */
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(253, 253, 253) 0%,
    rgb(253, 253, 253) 40%,   /* keep brightness strong to 40% */
    rgba(253, 253, 253, 0) 100% 
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease,
  width 0.4s ease,
  height 0.4s ease;
  z-index: 0;
  overflow: hidden;
}

.btn-get-started:hover::before {
  width: 200px;
  height: 80px;
  opacity: 1;
}

.btn-get-started span {
  position: relative;
  z-index: 2;
}

.btn-get-started:hover {
  color: #00AEEF;
}

.checkmark-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #34A853; /* Google green */
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark-circle i {
  color: #fff;
  font-size: 11px;
}

.postgrid-credit {
  display: flex;
  align-items: center;
  gap: 8px;              /* space between logo and text */
  margin: 12px 0 20px;   /* space above and below */
  font-size: 0.9rem;
  color: #555;           /* subtle text color */
}

.postgrid-credit .postgrid-logo {
  width: 40px;           /* adjust logo size */
  height: auto;
  display: inline-block;
}

input[name="practiceName"] {
  margin-bottom: 24px; /* adjust as needed */
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between text and arrow */
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px; /* space above the button */
  transition: color 0.3s ease;
}

.read-more-btn i {
  transition: transform 0.5s ease; /* 👈 defines the speed of movement */
}

.read-more-btn:hover {
  color: #00AEEF; /* darker blue on hover */
}

.read-more-btn:hover i {
  transform: translateX(4px); /* 👈 shifts arrow to the right */
}

.founder-section {
  border: 2px solid #00AEEF; /* thin blue border */
  border-radius: 12px;       /* slight curve */
  padding: 40px;
  margin: 60px auto;
  max-width: 1100px;
}

.founder-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* stacks on mobile */
}

.founder-text {
  flex: 1;
  min-width: 280px;
}

.founder-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: left;
  color: #000;
}

.founder-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.founder-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.founder-image img {
  max-width: 300px;
  width: 100%;
  border-radius: 10px; /* optional: adds polish */
}