/* Define Global Font Variables */
:root {
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Manrope", sans-serif;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary); /* Apply primary font globally */
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}



/* Notification banner styles */
.notification-banner {
  background-color: #0b3c5b; /* Red color similar to competitor */
  color: white;
  padding: 10px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.notification-content {
  max-width: 1400px; /* Match your site's max-width */
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notice-icon {
  font-size: 18px;
}

/* Mobile adjustments */
@media (max-width: 884px) {
  .notification-banner {
    font-size: 14px;
    padding: 8px 0;
  }
  
  .notification-content {
    flex-wrap: wrap;
  }
}


/* Final Navigation Styles */
header {
  background-color: #f8f8f8;
  padding: 15px 0;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
}

nav .logo img {
  height: auto;
  max-height: 80px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

/* Add dropdown indicator */
nav ul li.has-dropdown > a::before {
  content: '▾';
  display: inline-block;
  margin-right: 5px;
  font-size: 12px;
  color: #666;
}

/* Main navigation links - keep original style */
nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 17px;
  transition: color 0.3s ease;
  padding: 10px 15px;
  font-family: var(--font-secondary);
  position: relative;
}

/* Apply underline animation only to non-dropdown links */
nav ul li:not(.has-dropdown) > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #F47E31;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li:not(.has-dropdown) > a:hover::after {
  width: calc(100% - 30px);
}

/* Remove underline animation for dropdown items */
nav ul .dropdown li a::after {
  display: none;
}

/* Improved Dropdown Menu with Two Columns */
.dropdown {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  top: 100%;
  left: 0;
  min-width: 450px;
  z-index: 100;
  padding: 15px;
  border: 1px solid #eee;
}

nav ul li:hover .dropdown {
  display: block;
}

/* Two-column layout for dropdown */
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

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

/* Category headers for dropdown */
.category-header {
  display: block;
  font-weight: bold;
  color: #06476E;
  padding: 10px 0 5px;
  margin-top: 5px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.category-header:first-child {
  margin-top: 0;
}

.dropdown li {
  padding: 0;
  margin: 0;
}

/* Make dropdown text bolder and easier to read */
.dropdown li a {
  color: #333;
  display: block;
  padding: 8px 10px;
  font-weight: 600; /* Make text bolder */
  transition: color 0.3s ease;
}

/* Simpler hover effect - just darken text */
.dropdown li a:hover {
  color: #0055aa; /* Darken text on hover */
  background-color: #f8f8f8; /* Very light background change */
}

/* See All Conditions link spans both columns */
.see-all {
  grid-column: span 2;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.see-all a {
  text-align: center;
  color: #0055aa;
  font-weight: bold;
}

/* Mobile Navigation - CSS only approach */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle-input {
  display: none;
}

@media (max-width: 884px) {
  .mobile-toggle {
    display: block;
  }
  
  nav {
    position: relative;
  }
  
  nav > ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f8f8f8;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    gap: 10px;
  }
  
  .mobile-toggle-input:checked ~ ul {
    display: flex;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    width: 100%;
  }
  
  /* Remove underline animation for mobile */
  nav ul li a::after {
    display: none;
  }
  
  /* Mobile dropdown */
  .mobile-dropdown-toggle {
    display: none;
  }
  
  .dropdown {
    position: static;
    width: 100%;
    min-width: unset;
    box-shadow: none;
    display: none;
    border: none;
    background: transparent;
    padding: 10px 0 10px 15px;
  }
  
  .dropdown-grid {
    display: block;
  }
  
  .see-all {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
  
  .mobile-dropdown-toggle:checked ~ .dropdown {
    display: block;
  }
  
  /* Mobile toggle indicator */
  .mobile-dropdown-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .mobile-dropdown-label::after {
    content: '+';
    font-size: 20px;
    color: #666;
  }
  
  .mobile-dropdown-toggle:checked + .mobile-dropdown-label::after {
    content: '−';
  }
}

/* Target MacBook screen sizes (typically 1280px-1440px wide) */
@media screen and (min-width: 1196px) and (max-width: 1440px) {
  /* Make logo smaller */
  nav .logo img {
    max-height: 68px; /* Reduced from 68px */
    max-width: 300px; /* Controlled max-width */
  }
  
 
}

/* iPad landscape - complete navigation adjustment */
@media screen and (min-width: 885px) and (max-width: 1195px) {
  /* Smaller logo */
  nav .logo img {
    max-height: 50px;
    max-width: 220px;
  }
  
  /* Adjust navigation text and spacing */
  nav ul {
    gap: 12px; /* Reduce spacing between items */
  }
  
  nav ul li a {
    font-size: 14px; /* Smaller font size */
    padding: 10px 6px; /* Reduced padding */
    letter-spacing: -0.2px; /* Slightly tighter letter spacing */
  }
  
  /* Reduce dropdown indicator size if needed */
  nav ul li.has-dropdown > a::before {
    font-size: 10px;
  }
  
 
  
  /* Make dropdown narrower */
  .dropdown {
    min-width: 400px; /* Instead of 450px */
  }
}




/* Hero Section CSS */
.hero {
  height: 90vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-text {
  width: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-content {
  max-width: 80%;
  padding: 40px;
  color: #06476E; /* Dark blue color for text */
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #06476E; /* Main brand color */
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* CTA and Review Container */
.cta-review-container {
  display: flex;
  align-items: center;
  gap: 45px;
}

/* CTA Button */
.cta {
  background-color: #112372; /* Dark blue color */
  color: white;
  padding: 12px 25px;
  border-radius: 50px; /* Makes the button oval */
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 16px;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  border: none;
  transform: scale(1);
}

.cta:hover {
  background-color: white;
  color: #06476E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Review Badge - Improved version */
.review-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid #e0e0e0;
  padding-left: 45px;
  position: relative;
}

.review-stars {
  color: #FFD700; /* Gold star color */
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.review-details {
  font-size: 15px;
  font-weight: 600;
  color: #06476E;
  white-space: nowrap;
}

.hero-image {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Mobile-specific improvements */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    height: auto;
  }
  
  .hero-text, .hero-image {
    width: 100%;
  }
  
  .hero-text {
    order: 2; /* Text below image on mobile */
    padding: 40px 20px;
  }
  
  .hero-image {
    order: 1; /* Image on top on mobile */
    height: 50vh; /* Half viewport height on mobile */
  }
  
  .hero-content {
    max-width: 100%;
    padding: 20px;
    text-align: center; /* Center all text on mobile */
  }
  
  .hero h1 {
    font-size: 30px; /* Slightly smaller for better mobile fit */
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .cta-review-container {
    flex-direction: column; /* Stack vertically */
    align-items: center; /* Center align items */
    gap: 20px; /* Space between button and reviews */
    width: 100%; /* Full width */
  }
  
  .review-badge {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    margin-top: 5px;
    text-align: center;
    width: 100%; /* Full width */
  }
  
  /* Force center alignment on Android */
  .review-stars, .review-details {
    text-align: center;
    width: 100%;
  }
  
  /* Add this to fix Android centering issues */
  .cta {
    margin: 0 auto;
    display: block;
    width: fit-content;
  }
}

/* Add an even smaller breakpoint for very small devices */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 26px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .review-stars {
    font-size: 16px;
  }
  
  .review-details {
    font-size: 14px;
  }
}


/* Below Hero About Section */
.about-section {
  padding: 80px 0;
  background: #F8F9FA;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 20px;
}

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content h2 {
  font-size: 40px;
  color: #06476E;
  margin-bottom: 30px;
  font-weight: 700;
}

.highlight {
  color: #F47E31;
}

.text-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #333;
}

.stats {
  display: flex;
  gap: 40px;
}

.stat-number {
  font-size: 36px;
  color: #F47E31;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.video-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center; /* Center everything */
    gap: 40px;
  }

  .text-content {
    align-items: center; /* Aligns content in the center */
  }

  .text-content h2 {
    font-size: 36px; /* Slightly smaller for better fit */
  }

  .text-content p {
    font-size: 16px;
    max-width: 90%; /* Keeps it readable */
  }

  .stats {
    flex-direction: column; /* Stack stats vertically */
    align-items: center;
    gap: 20px;
  }

  .video-container {
    width: 100%;
    height: auto; /* Ensures responsiveness */
  }
}

.testimonials-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 36px;
  color: #06476E;
  margin-bottom: 40px;
  text-align: center;
}

.testimonials-container {
  position: relative;
  padding: 20px 0;
}

.testimonials-group {
  display: none; /* Hide all groups by default */
}

.testimonials-group.active {
  display: block; /* Show only active group */
}

.testimonials-row {
  display: flex;
  gap: 20px;
}

.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #FFD700;
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  margin-top: auto;
  margin-bottom: 15px;
}

.author-name {
  font-weight: 700;
  color: #06476E;
  font-size: 16px;
  margin-bottom: 5px;
}

.verified {
  font-size: 14px;
  color: #777;
}

.review-link {
  font-size: 14px;
  color: #06476E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.review-link:hover {
  color: #F47E31;
}

.external-link-icon {
  font-size: 12px;
  margin-left: 5px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.prev-testimonial, .next-testimonial {
  background: #06476E;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-testimonial:hover, .next-testimonial:hover {
  background: #F47E31;
}

.google-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.testimonial-dots {
  display: flex;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #06476E;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .testimonials-row {
    flex-wrap: wrap;
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
  
  .testimonials-row {
    flex-direction: column;
  }
}
/* Below about us homepage services section */
.services-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
 }
 
 .services-section h2 {
  text-align: center;
  color: #06476E;
  font-size: 42px;
  margin-bottom: 40px;
 }
 
 .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding: 0 40px;
 }
 
 .service-card {
  background: white;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  
 }
 
 .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #F47E31;
  transform: scaleX(0);
  transition: transform 0.3s ease;
 }
 
 .service-card:hover::before {
  transform: scaleX(1);
 }
 
 .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
 }
 
 .card-content {
  text-align: center;
  
 }
 
 .card-content h3 {
  color: #06476E;
  font-size: 24px;
  margin-bottom: 15px;
 }
 
 .card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
 }
 
 .icon {
  font-size: 40px;
  color: #F47E31;
  margin-bottom: 20px;
 }
 
 .learn-more {
  color: #F47E31;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid #F47E31;
  border-radius: 30px;
 }
 
 .service-card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
 }

/* Mobile-only adjustments */
@media screen and (max-width: 768px) {
  /* Adjust grid for mobile */
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0 20px;
  }
  
  /* Make cards wider but keep centered */
  .service-card {
    width: 100%;
    max-width: 95%;
    padding: 30px;
  }
  
  /* Keep learn-more button visible by default on mobile */
  .learn-more {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Adjust paragraph width to avoid stretching too tall */
  .card-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Updated Conditions Section Styles */
.conditions-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.conditions-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.conditions-section h2 {
  text-align: center;
  color: #06476E;
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.conditions-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.condition-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 25px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.condition-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #F47E31; /* Changed to orange as requested */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.condition-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.condition-item:hover::before {
  transform: scaleX(1);
}

.condition-item h3 {
  color: #06476E;
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
}

.condition-item p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* New button style to match the image */
.condition-link {
  color: #F47E31;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid #F47E31;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.condition-link::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.condition-item:hover .condition-link {
  background-color: #F47E31;
  color: white;
}

.condition-item:hover .condition-link::after {
  transform: translateX(3px);
}

.conditions-action {
  text-align: center;
  margin-top: 30px;
}

.conditions-btn {
  display: inline-block;
  background-color: #06476E;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

.conditions-btn:hover {
  background-color: #F47E31;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .conditions-grid {
    grid-template-columns: 1fr;
  }
  
  .conditions-section {
    padding: 60px 0;
  }
  
  .conditions-section h2 {
    font-size: 30px;
  }
}

 /*Partner section*/

 .partners-section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.title {
  font-size: 3rem;
  color: #06476E;
  margin-bottom: 4rem;
  font-weight: 600;
  font-family: var(--font-primary);
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Changed to fixed 4 columns */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  position: relative;
  height: 160px; /* Slightly reduced height to better fit 4 columns */
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #f0f0f0;
}

.logo-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.overlay {
  position: absolute;
  inset: 0;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.partner-card:hover .overlay {
  transform: translateY(0);
}

.overlay-text {
  font-family: var(--font-secondary); /* Uses Manrope (secondary font) */
  color: white; /* Text color */
  font-size: 1.25rem; /* Text size */
  font-weight: 700; /* 👈 Make the text bold */
  
}
@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-card {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .partner-card {
    height: 200px;
  }
}
 
/* CERTIFICATIONS SECTION - Improved for SEO */
.certifications-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.section-title {
  color: #06476E;
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.certifications-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Changed to flex-start for better alignment with titles */
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-item {
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 350px; /* Slightly increased to accommodate title */
}

.cert-title {
  color: #06476E;
  font-size: 18px;
  margin-bottom: 15px;
  min-height: 50px; /* Ensures consistent spacing even with different title lengths */
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-link {
  display: block;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.cert-link:hover {
  transform: translateY(-5px);
}

.cert-item img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.cert-description {
  color: #555;
  font-size: 16px;
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .certifications-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .cert-title {
    font-size: 16px;
    min-height: 40px;
  }
  
  .cert-description {
    font-size: 14px;
  }
}


/* Clinic Location Section */
.clinic-location {
  text-align: center;
  padding: 60px 10%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Heading Styling */
.clinic-location h2 {
  font-size: 48px;
  font-weight: bold;
  color: #002855;
  margin-bottom: 40px;
}

/* Layout for map & opening hours */
.clinic-info {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Location Information */
.location-info {
  flex: 1;
  min-width: 350px;
  max-width: 550px;
  background: #F8F9FA;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.location-info h3 {
  color: #002855;
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-align: center;
}

.location-info hr {
  margin: 15px auto;
  width: 100%;
  border: none;
  border-top: 1px solid #ddd;
}

/* Address Styling */
address {
  font-style: normal;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 15px;
  text-align: center;
}

address p {
  margin-bottom: 8px;
  color: #002855;
}

address a {
  color: #002855;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: bold;
}

address a:hover {
  color: #F47E31;
}

/* Google Map */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 15px;
}

/* Opening Hours Card */
.opening-hours {
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  padding: 30px;
  background: #F8F9FA;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.opening-hours h3 {
  color: #002855;
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.opening-hours hr {
  margin: 15px auto;
  width: 100%;
  border: none;
  border-top: 1px solid #ddd;
}

.opening-hours p {
  font-size: 18px;
  color: #002855;
  margin-bottom: 15px;
}

.opening-hours p strong {
  font-weight: 700;
}

.opening-hours .quote {
  font-style: italic;
  color: #444;
  margin: 20px 0;
  font-size: 16px;
}

/* Button */
.btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #002855;
  color: white;
  padding: 14px 28px; /* Bigger button */
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.btn:hover {
  background-color: white;
  color: #06476E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clinic-location h2 {
    font-size: 36px;
  }
  
  .clinic-info {
    gap: 30px;
  }
  
  .location-info, .opening-hours {
    min-width: 100%;
  }
  
  .map-container {
    height: 200px;
  }
  
  .opening-hours p {
    font-size: 16px;
  }
  
  .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* Clean, Minimalist Location Section Styling */
.location-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.location-section h2 {
  color: #06476E;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.location-section h3 {
  color: #06476E;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 20px;
}

.location-section p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
}

.location-section a {
  color: #F47E31;
  text-decoration: none;
  transition: color 0.2s;
}

.location-section a:hover {
  color: #06476E;
}

/* Section Layout */
.location-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.location-flex {
  display: flex;
  gap: 40px;
}

.location-areas {
  flex: 3;
}

.location-map {
  flex: 2;
}

/* Area Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.area-card {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.area-name {
  font-weight: 600;
  color: #06476E;
  margin-bottom: 5px;
}

.area-distance {
  font-size: 14px;
  color: #666;
}

/* Map Section */
.map-container {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  height: 100%;
}

.address {
  line-height: 1.5;
  margin-bottom: 15px;
}

.landmarks {
  font-size: 14px;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: 15px;
}

.map-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.map-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

.map-button.waze {
  background-color: #06476E;
  color: white;
}

.map-button.google {
  background-color: white;
  color: #06476E;
  border: 1px solid #06476E;
}

.map-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.map-button.waze:hover {
  background-color: #053a5b;
  color: white;
}

.map-button.google:hover {
  background-color: #f9f9f9;
  color: #06476E;
}

.nav-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .location-flex {
    flex-direction: column;
  }
  
  .location-section {
    padding: 40px 20px;
  }
  
  .map-container {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .location-section h2 {
    font-size: 24px;
  }
}

/* About Hero Section */
.about-hero {
  display: flex;
  min-height: 500px;
  width: 100%;
}

.about-hero-content {
  flex: 1;
  background-color: #e7e7e7;
  padding: 60px 40px 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  color: #06476E;
  margin-bottom: 20px;
}


.about-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
  max-width: 550px;
}

.about-hero-image {
  flex: 1;
  background-image: url('/assets/img/thechiro-team-group-photo.jpg');
  background-size: cover;
  background-position: center;
}



/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .about-hero {
      flex-direction: column;
  }
  
  .about-hero-content {
      padding: 60px 30px;
  }
  
  .about-hero-image {
      min-height: 300px;
  }
}

@media (max-width: 576px) {
  .about-hero-content h1 {
      font-size: 32px;
  }
  
  .about-hero-content p {
      font-size: 16px;
  }
  

}
/* Our Story Section */
.our-story {
  padding: 80px 0;
  background: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.story-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-content {
  padding-right: 20px;
}

.story-content h2 {
  color: #06476E;
  font-size: 36px;
  margin-bottom: 30px;
  text-align: left;  /* Changed from center to left */
  font-weight: 700;
  font-family: var(--font-primary);
}

.story-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
  font-family: var(--font-secondary);
}

.story-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  height: 100%; /* Match text height */
  display: flex; /* Ensure it stretches */
  align-items: center; /* Center image inside */
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.story-image:hover img {
  transform: scale(1.05);
}

/* Responsive Design for Story Section */
@media (max-width: 768px) {
  .story-wrapper {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .story-content {
      padding-right: 0;
  }

  .story-content h2 {
      text-align: center;
  }

  .story-image {
      max-height: 400px;
  }
}
/* Core Values Section - Updated */
.core-values {
  padding: 80px 0;
  background: #f8f9fa;
}

.core-values h2 {
  color: #06476E;
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.value-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.value-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.value-card h3 {
  color: #06476E;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 600;
}

.value-card p {
  color: #666;
  line-height: 1.6;
  font-size: 16px;
}


/* Why Choose Us Section - Updated */
/* Why Choose Us - Journey Style */
.why-choose-us {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
  text-align: center;
  color: #06476E;
  font-size: 42px;
  margin-bottom: 60px;
  position: relative;
  font-family: var(--font-primary);
}

.section-title .brand-text {
  font-weight: 700;
}

.section-title .brand-text .highlight-c {
  color: #F47E31;
}

.treatment-journey {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Create connecting line between steps */
.treatment-journey:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 4px;
  background: linear-gradient(to bottom, #06476E, #F47E31);
  border-radius: 2px;
}

.journey-step {
  display: flex;
  margin-bottom: 70px;
  position: relative;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.step-icon {
  flex: 0 0 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #06476E;
  z-index: 2;
  transition: all 0.3s ease;
  position: relative;
}

.step-icon img {
  width: 40px;
  height: 40px;
}

.journey-step:hover .step-icon {
  border-color: #F47E31;
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  background: white;
  border-radius: 15px;
  padding: 30px 30px 30px 50px;
  margin-left: -30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 1;
}

.journey-step:hover .step-content {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  right: 30px;
  font-size: 64px;
  font-weight: 800;
  color: rgba(6, 71, 110, 0.1);
  z-index: 0;
  font-family: var(--font-primary);
}

.step-content h3 {
  color: #06476E;
  font-size: 24px;
  margin-bottom: 15px;
  font-family: var(--font-primary);
}

.step-content p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: var(--font-secondary);
}

.step-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-benefits li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #666;
  font-family: var(--font-secondary);
}

.step-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #F47E31;
  font-weight: bold;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .treatment-journey:before {
    left: 30px;
  }
  
  .step-icon {
    flex: 0 0 60px;
    height: 60px;
  }
  
  .step-icon img {
    width: 30px;
    height: 30px;
  }
  
  .step-content {
    padding: 25px 20px 25px 40px;
  }
  
  .step-number {
    font-size: 48px;
    top: -10px;
    right: 20px;
  }
  
  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .treatment-journey:before {
    left: 25px;
  }
  
  .step-icon {
    flex: 0 0 50px;
    height: 50px;
  }
  
  .step-icon img {
    width: 25px;
    height: 25px;
  }
  
  .step-content {
    padding: 20px 15px 20px 30px;
    margin-left: -20px;
  }
  
  .step-number {
    font-size: 40px;
    right: 15px;
  }
  
  .step-content h3 {
    font-size: 20px;
  }
  
  .step-content p, 
  .step-benefits li {
    font-size: 14px;
  }
  
  .journey-step {
    margin-bottom: 50px;
  }
}


/* Vision and mission */

/* Simple Vision and Mission Section */
.simple-vision-mission {
  padding: 80px 0;
  background: white;
}

.vm-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.vm-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vm-content h2 {
  color: #06476E;
  font-size: 36px;
  margin-bottom: 30px;
  font-family: var(--font-primary);
}

.vm-item {
  margin-bottom: 25px;
}

.vm-item h3 {
  color: #06476E;
  font-size: 24px;
  margin-bottom: 10px;
  font-family: var(--font-primary);
}

.vm-item p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  font-family: var(--font-secondary);
}

/* Simple Responsive Design */
@media (max-width: 768px) {
  .vm-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .vm-content h2 {
    font-size: 30px;
  }
  
  .vm-item h3 {
    font-size: 22px;
  }
}




@media (max-width: 768px) {
  .benefits-grid {
      grid-template-columns: 1fr;
      padding: 0 20px;
  }
  
  .why-choose-us h2 {
      font-size: 32px;
  }
}
/* Responsive Design */
@media (max-width: 1024px) {
  .container {
      padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
      font-size: 36px;
  }
  
  .about-hero p {
      font-size: 18px;
  }

  .values-grid,
  .benefits-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
  }

  .story-content h2,
  .core-values h2,
  .why-choose-us h2 {
      font-size: 30px;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 0 20px;
  }

  .about-hero h1 {
      font-size: 28px;
  }

  .about-hero p {
      font-size: 16px;
  }

  .value-card,
  .benefit-card {
      padding: 20px;
  }
}



/*team preview*/

.team-preview {
  padding: 80px 0;
  background: white;
}

.team-preview h2 {
  text-align: center;
  color: #06476E;
  font-size: 42px;
  margin-bottom: 50px;
}

.team-preview h2 .highlight-c {
  color: #F47E31;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctor-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.doctor-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.05);
}

.doctor-info {
  padding: 25px;
  text-align: center;
}

.doctor-info h3 {
  color: #06476E;
  font-size: 24px;
  margin-bottom: 5px;
}

.doctor-info .role {
  color: #F47E31;
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.doctor-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cta-container {
  text-align: center;
  margin-top: 50px;
}

.team-cta {
  display: inline-block;
  background-color: #06476E;
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #06476E;
}

.team-cta:hover {
  background-color: white;
  color: #06476E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .doctors-grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .team-preview h2 {
      font-size: 32px;
  }

  .doctor-image {
      height: 300px;
  }
}

/*Area we serve*/
.area-section {
  padding: 80px 10%;
  background-color: #fff;
  font-family: var(--font-primary); /* Use global primary font */
}

.area-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.area-content {
  flex: 1;
}

.area-subheading {
  color: #06476E; 
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--font-secondary); /* Use secondary font */
}

.area-heading {
  font-size: 38px;
  font-weight: 900;
  color: #000;
  margin-bottom: 20px;
  font-family: var(--font-primary); /* Use primary font */
}

.area-content p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: var(--font-secondary); /* Use secondary font */
}

.area-map {
  flex: 1;
  max-width: 500px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Fix */
@media (max-width: 900px) {
  .area-container {
    flex-direction: column;
    text-align: center;
  }

  .area-map {
    max-width: 100%;
    height: 300px;
  }
}


/* Responsive Fix */
@media (max-width: 900px) {
  .area-container {
    flex-direction: column;
    text-align: center;
  }

  .area-map {
    max-width: 100%;
    height: 300px;
  }
}

/*Our Team Page*/

.team-page {
  background: #fff;
}

.team-hero {
  padding: 80px 0;
  background: #021130;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.team-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.team-hero .highlight-c {
  color: #F47E31;
}

.doctor-profile {
  padding: 80px 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.profile-photo {
  position: sticky;
  top: 20px;
  align-self: start;
}

.profile-photo img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.credentials {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.credentials ul {
  list-style: none;
  padding: 0;
}

.credentials li {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}

.credentials li::before {
  content: "•";
  color: #F47E31;
  position: absolute;
  left: 0;
}

.profile-content h2 {
  color: #06476E;
  font-size: 36px;
  margin-bottom: 10px;
}

.profile-content .role {
  color: #F47E31;
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 30px;
}

.bio h3 {
  color: #06476E;
  font-size: 24px;
  margin: 30px 0 15px;
}

.bio p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

@media (max-width: 992px) {
  .profile-grid {
      grid-template-columns: 1fr;
  }
  
  .profile-photo {
      position: relative;
      max-width: 500px;
      margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .team-hero h1 {
      font-size: 36px;
  }
}


/* Products Hero Section */
.products-hero {
  display: flex;
  min-height: 500px;
  width: 100%;
}

.products-hero-content {
  flex: 1;
  background-color: #e7e7e7;
  padding: 60px 40px 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: #06476E;
  margin-bottom: 20px;
}


.products-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
  max-width: 550px;
}

.products-hero-image {
  flex: 1;
  background-image: url('/assets/products/ossur-wrist-support-thechiro-product.webp'); /* You'll need a product-focused image here */
  background-size: cover;
  background-position: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .products-hero {
      flex-direction: column;
  }
  
  .products-hero-content {
      padding: 60px 30px;
  }
  
  .products-hero-image {
      min-height: 300px;
  }
}

@media (max-width: 576px) {
  .products-hero-content h1 {
      font-size: 32px;
  }
  
  .products-hero-content p {
      font-size: 16px;
  }
}

.products-showcase {
  padding: 80px 0;
  background: #f8f9fa;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 30px;
}

.product-info h2 {
  color: #06476E;
  font-size: 24px;
  margin-bottom: 10px;
}

.category {
  display: inline-block;
  background: #f0f4f8;
  color: #06476E;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 15px;
}

.product-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-features {
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.product-features h3 {
  color: #06476E;
  font-size: 18px;
  margin-bottom: 10px;
}

.product-features ul {
  list-style: none;
  padding: 0;
}

.product-features li {
  color: #666;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.product-features li::before {
  content: "•";
  color: #F47E31;
  position: absolute;
  left: 0;
}

.enquire-btn {
  display: inline-block;
  background: #06476E;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.enquire-btn:hover {
  background: #F47E31;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .products-grid {
      grid-template-columns: 1fr;
  }
  
  .products-hero h1 {
      font-size: 36px;
  }
}


/* Conditions we  may help you with Hero Section */
.conditions-hero {
  display: flex;
  min-height: 500px;
  width: 100%;
}

.conditions-hero-content {
  flex: 1;
  background-color: #e7e7e7;
  padding: 60px 40px 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.conditions-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: #06476E;
  margin-bottom: 20px;
}



.conditions-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
  max-width: 550px;
}

.conditions-hero-image {
  flex: 1;
  background-image: url('/assets/img/thechiro-clinic-interior.webp'); /* You'll need an appropriate image here */
  background-size: cover;
  background-position: center;
}

.conditions-cta-button {
  display: inline-block;
  background-color: #06476E;
  color: white;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  width: fit-content;
}

.conditions-cta-button:hover {
  background-color: #F47E31;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .conditions-hero {
      flex-direction: column;
  }
  
  .conditions-hero-content {
      padding: 60px 30px;
  }
  
  .conditions-hero-image {
      min-height: 300px;
  }
}

@media (max-width: 576px) {
  .conditions-hero-content h1 {
      font-size: 32px;
  }
  
  .conditions-hero-content p {
      font-size: 16px;
  }
  
  .cta-button {
      padding: 14px 28px;
      font-size: 15px;
  }
}

/* Treatments Hero Section */
.treatments-hero {
  display: flex;
  flex-direction: row;
  min-height: 500px;
  width: 100%;
}

.treatments-hero-content {
  flex: 1;
  background-color: #e7e7e7;
  padding: 60px 40px 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}



.treatments-hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #06476E;/* Adjust to match your brand color */
  position: relative;
}


.treatments-hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 30px;
  max-width: 600px;
}

.treatments-hero-image {
  flex: 1;
  background-image: url('/assets/img/thechiro-neck-chiropractic-adjustment.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-button {
  display: inline-block;
  background-color: #06476E; /* Adjust to match your brand color */
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: fit-content;
}

.cta-button:hover {
  background-color: #F47E31; /* Darker shade for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .treatments-hero {
      flex-direction: column;
  }
  
  .treatments-hero-content {
      padding: 60px 30px;
  }
  
  .treatments-hero-content::after {
      display: none;
  }
  
  .treatments-hero-image {
      min-height: 300px;
  }
}

@media (max-width: 576px) {
  .treatments-hero-content h1 {
      font-size: 32px;
  }
  
  .treatments-hero-content p {
      font-size: 16px;
  }
  
  .cta-button {
      padding: 12px 24px;
      font-size: 15px;
  }
}


.chiro-treatment-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.chiro-treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.chiro-treatment-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.chiro-treatment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.chiro-treatment-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.chiro-treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.chiro-treatment-card:hover .chiro-treatment-image img {
  transform: scale(1.05);
}

.chiro-treatment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3));
}

.chiro-treatment-content {
  padding: 30px;
}

.chiro-treatment-content h2 {
  color: #06476E;
  font-size: 24px;
  margin-bottom: 10px;
}

.chiro-treatment-readmore {
  display: inline-block;
  background: #06476E;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.chiro-treatment-readmore:hover {
  background: #F47E31;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .chiro-treatment-grid {
      grid-template-columns: 1fr;
  }
  
  .chiro-treatment-hero h1 {
      font-size: 36px;
  }
  
  .chiro-treatment-image {
      height: 250px;
  }
}

/* Contact Hero Section */
.contact-hero {
  display: flex;
  min-height: 500px;
  width: 100%;
  margin-bottom: 20px;
  
}

.contact-hero-content {
  flex: 1;
  background-color: #e7e7e7;
  padding: 60px 40px 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  color: #06476E;
  margin-bottom: 20px;
}


.contact-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
  max-width: 550px;
}

.contact-quick-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #06476E;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background-color: #F47E31;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-hero-image {
  flex: 1;
  background-image: url('/assets/img/contact-us-hero.webp'); /* Use an image of your reception area or staff at front desk */
  background-size: cover;
  background-position: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .contact-hero {
      flex-direction: column;
  }
  
  .contact-hero-content {
      padding: 60px 30px;
  }
  
  .contact-hero-image {
      min-height: 300px;
  }
}

@media (max-width: 768px) {
  .contact-quick-links {
      flex-direction: column;
      gap: 15px;
  }
  
  .contact-link {
      width: fit-content;
  }
}

@media (max-width: 576px) {
  .contact-hero-content h1 {
      font-size: 32px;
  }
  
  .contact-hero-content p {
      font-size: 16px;
  }
}
/* Container Layout */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

/* Left Column - Contact Info */
.contact-info {
  height: fit-content;
}

.info-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Icon Styling */
.icon-circle {
  width: 50px;
  height: 50px;
  background: #06476E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.icon-circle i {
  color: white;
  font-size: 20px;
}

.info-item:hover .icon-circle {
  background: #F47E31;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(244, 126, 49, 0.2);
}

.info-content {
  flex-grow: 1;
}

.info-content h3 {
  color: #06476E;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-content p {
  color: #444;
  margin-bottom: 5px;
  font-size: 16px;
}

.info-subtitle {
  color: #888;
  font-size: 14px;
  display: block;
  margin-top: 5px;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  color: #444;
  margin-bottom: 8px;
  font-size: 15px;
}

/* Right Column - Contact Form */
.contact-form-container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  
  position: relative;
}

.contact-form-container h2 {
  color: #06476E;
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

/* Form field icons positioned to match screenshot */
.form-field-icon {
  color: #06476E;
  display: inline-block;
  margin-right: 10px;
  width: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #06476E;
  outline: none;
  box-shadow: 0 0 0 3px rgba(6, 71, 110, 0.1);
  background-color: white;
}

/* Select styling to match screenshot */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  padding-right: 35px;
}

/* Phone input styling to match screenshot */
.country-code-prefix {
  color: #555;
  font-weight: 500;
  margin-right: 5px;
}

/* Submit Button */
.submit-btn {
  background: #06476E;
  color: white;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover {
  background: #F47E31;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 126, 49, 0.2);
}

.submit-btn:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
      grid-template-columns: 1fr;
  }
  
  .section-title h1 {
      font-size: 36px;
  }
}

@media (max-width: 768px) {
  .contact-info,
  .contact-form-container {
      padding: 30px;
  }
  
  .info-item {
      margin-bottom: 25px;
      padding-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .section-title h1 {
      font-size: 28px;
  }
  
  .title-underline::before,
  .title-underline::after {
      width: 30px;
      left: -40px;
  }
  
  .title-underline::after {
      right: -40px;
  }
  
  .info-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 15px;
  }
}

/* Success Popup (Hidden by Default) */
.popup {
  display: none;  /* Hides the popup initially */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-radius: 8px;
  z-index: 1000;
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-content i {
  font-size: 48px;
  color: #4CAF50;
  margin-bottom: 15px;
}

.popup-content button {
  margin-top: 15px;
  padding: 8px 20px;
  border: none;
  background-color: #06476E;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.popup-content button:hover {
  background-color: #F47E31;
}



/* Base Animation Styles */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Different animation types */
  .fade-in-left {
    transform: translateX(-30px);
  }
  
  .fade-in-right {
    transform: translateX(30px);
  }
  
  .fade-in-left.animate,
  .fade-in-right.animate {
    transform: translateX(0);
  }
  
  .zoom-in {
    transform: scale(0.9);
  }
  
  .zoom-in.animate {
    transform: scale(1);
  }
  
  /* Staggered animations for cards */
  .stagger-animation > *:nth-child(1) {
    transition-delay: 0s;
  }
  
  .stagger-animation > *:nth-child(2) {
    transition-delay: 0.1s;
  }
  
  .stagger-animation > *:nth-child(3) {
    transition-delay: 0.2s;
  }
  
  .stagger-animation > *:nth-child(4) {
    transition-delay: 0.3s;
  }
  
  .stagger-animation > *:nth-child(5) {
    transition-delay: 0.4s;
  }
  
  .stagger-animation > *:nth-child(6) {
    transition-delay: 0.5s;
  }
  
  /* Bounce animation */
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
  }
  
  .bounce.animate {
    animation: bounce 1s ease;
  }
  
  /* Disable animations for users who prefer reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
      animation: none !important;
    }
  }




/* Footer */
footer {
  background: #1C1C1C;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.footer-column h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-column h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-column p, .footer-column a {
  color: #B4B4B4;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.social-links a {
  margin-right: 20px;
  font-size: 20px;
}

.footer-bottom {
  text-align: left;
  padding: 20px;
  color: #B4B4B4;
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}