* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global link styles to remove ugly blue color and underlines */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

/* Specific link styles for better appearance */
.map-link, .phone-link, .whatsapp-link {
  color: #1f5a5a;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.map-link:hover, .phone-link:hover, .whatsapp-link:hover {
  color: #0d3d3d;
  text-decoration: underline;
}

/* Email links */
a[href^="mailto:"] {
  color: #1f5a5a;
  text-decoration: none;
}

a[href^="mailto:"]:hover {
  color: #0d3d3d;
  text-decoration: underline;
}

/* Phone links */
a[href^="tel:"] {
  color: #1f5a5a;
  text-decoration: none;
}

a[href^="tel:"]:hover {
  color: #0d3d3d;
  text-decoration: underline;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Top Bar */
.top-bar {
  background-color: #1f5a5a;
  color: white;
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
}

.contact-info.center {
  justify-content: center;
}

.contact-info span {
  color: white;
  display: flex;
  align-items: center;
}

.contact-info .map-link {
  color: white;
  text-decoration: none;
}

.contact-info .map-link:hover {
  color: #e0f2f2;
}

.contact-info .phone-link {
  color: white;
  text-decoration: none;
}

.contact-info .phone-link:hover {
  color: #e0f2f2;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.social-links a {
  color: white;
  text-decoration: none;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.8;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.logo-main::before {
  content: "BBC";
  background: linear-gradient(135deg, #2d7d7d, #1f5a5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.logo-main::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: conic-gradient(from 0deg, #4a90e2, #2c5aa0, #4a90e2);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.3;
}

.logo-subtitle {
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #4a90e2, #2c5aa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  margin-top: 2px;
}

.logo-tagline {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  background-color: #e8e8e8;
  padding: 3px 10px;
  border-radius: 15px;
  border: 1px solid #ccc;
  display: inline-block;
  width: fit-content;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu li {
  margin: 0 20px;
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 0;
  display: block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform: scale(1);
}

.nav-menu a:hover {
  color: #2d7d7d;
  transform: scale(1.1);
}

.nav-menu a.active {
  color: #2d7d7d;
  font-weight: 700;
}

/* Animated underline for nav items */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #2d7d7d;
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2d7d7d;
  min-width: 250px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-toggle::after {
  content: "▼";
  margin-left: 5px;
  transition: transform 0.3s ease;
  font-size: 12px;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu a {
  color: white;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(1);
}

.dropdown-menu a:hover {
  background-color: #FF9933;
  color: white;
  transform: scale(1.05);
}

.appointment-btn {
  background-color: #2d7d7d;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.1),
    0 10px 25px rgba(0,0,0,0.08);
}

.appointment-btn:hover {
  background-color: #1f5a5a;
  transform: translateY(-8px) rotateX(5deg) scale(1.05);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.15),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.08),
    0 0 0 1px rgba(45,125,125,0.2);
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2d7d7d 0%, #1f5a5a 100%);
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
  padding: 80px 0;
}

/* Hero Slider */
.hero-slider { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f4949, #123e4a); margin: 60px 30px; border-radius: 30px; }
.hero-slider .slides { position: relative; height: 400px; border-radius: 30px; overflow: hidden; }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms ease; border-radius: 30px; }
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide .container { display: flex; align-items: center; justify-content: flex-start; padding: 40px 40px; min-height: 400px; }
.hero-slider .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; width: 100%; height: 100%; border-radius: 30px; }
.hero-slider .slide-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-slider .slide:first-child .slide-bg::after { background: rgba(0,0,0,0.8); }
.hero-slider .slide:first-child .slide-bg { filter: blur(3px); }
.hero-slider .hero-content h1 { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.3); font-size: 28px; line-height: 1.1; margin-bottom: 20px; white-space: nowrap; overflow: visible; }
.hero-slider .hero-content .doctor-name { font-size: 36px; font-weight: 700; }
.hero-slider .hero-content .doctor-title { font-size: 24px; font-weight: 500; }
.hero-slider .hero-content p { color: #e6f5f5; max-width: 350px; font-size: 18px; line-height: 1.5; margin-bottom: 0; }

/* Responsive banner text */
@media (max-width: 1200px) {
    .hero-slider .hero-content h1 { font-size: 32px; }
    .hero-slider .hero-content p { font-size: 16px; max-width: 320px; }
}

@media (max-width: 992px) {
    .hero-slider .hero-content h1 { font-size: 28px; }
    .hero-slider .hero-content p { font-size: 15px; max-width: 300px; }
}

/* Hide navigation dots on all devices */
.hero-dots {
    display: none !important;
}
.insta-swipe-indicators {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-slider .hero-content h1 { font-size: 24px; max-width: 100%; margin-bottom: 15px; }
    .hero-slider .hero-content p { font-size: 14px; max-width: 100%; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .hero-slider { 
        margin: 15px 8px; 
        border-radius: 15px;
        min-height: 500px;
    }
    .hero-slider .slide .container { 
        padding: 20px 15px; 
        min-height: 500px;
        flex-direction: column;
        align-items: center;
    }
    
    /* Center text vertically for slides 2-6 only on small mobile */
    .hero-slider .slide:not(:first-child) .container {
        justify-content: center;
    }
    
    /* Keep slide 1 as it is on small mobile */
    .hero-slider .slide:first-child .container {
        justify-content: flex-start;
    }
    .hero-slider .hero-content h1 { 
        font-size: 20px; 
        line-height: 1.2; 
        margin-bottom: 12px;
    }
    .hero-slider .hero-content p { 
        font-size: 13px; 
        line-height: 1.4; 
        margin-bottom: 20px;
    }
    .hero-slider .hero-image { 
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .hero-slider .hero-image img { 
        max-width: 180px;
        height: auto;
    }
    .hero-slider .hero-content {
        padding: 15px;
    }
}
.hero-slider .hero-image { display: none; }
.hero-slider .slide:first-child .hero-image { display: block; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: none; border: none; width: 40px; height: 40px; cursor: pointer; color: #1f5a5a; font-size: 24px; font-weight: bold; }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

@media (max-width: 768px) { 
    .hero-slider { 
        margin: 20px 10px; 
        border-radius: 20px;
    }
    .hero-slider .slides {
        height: auto;
        min-height: 400px;
    }
    .hero-slider .slide .container { 
        flex-direction: column; 
        text-align: center; 
        padding: 30px 20px; 
        min-height: 400px;
        position: relative;
        z-index: 2;
        align-items: center;
    }
    
    /* Center text vertically for slides 2-6 only */
    .hero-slider .slide:not(:first-child) .container {
        justify-content: center;
    }
    
    /* Keep slide 1 as it is */
    .hero-slider .slide:first-child .container {
        justify-content: flex-start;
    } 
    /* Hide hero images on mobile for slides 2-6 to prevent double images */
    .hero-slider .slide:not(:first-child) .hero-image {
        display: none !important;
    }
    /* Keep hero image for first slide only */
    .hero-slider .slide:first-child .hero-image {
        display: block !important;
    }
    /* Keep background for all slides */
    .hero-slider .slide-bg {
        background-position: center right;
        background-size: cover;
    }
    .hero-slider .hero-image { 
        display: block !important;
        position: relative;
        z-index: 1;
        margin-top: 20px;
        text-align: center;
    }
    .hero-slider .hero-image img { 
        max-width: 200px;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
    .hero-slider .hero-content {
        position: relative;
        z-index: 3;
        padding: 20px;
        border-radius: 15px;
    }
    
    /* Keep dark background only for first slide on mobile */
    .hero-slider .slide:first-child .hero-content {
        background: rgba(0,0,0,0.6);
    }
    .hero-slider .hero-content h1 {
        text-align: center;
        margin-bottom: 15px;
        font-size: 20px;
        line-height: 1.3;
    }
    .hero-slider .hero-content p {
        text-align: center;
        margin-bottom: 0;
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Additional mobile banner fixes */
    .hero-slider {
        height: auto;
        min-height: 450px;
    }
    
    .hero-slider .slide {
        height: auto;
        min-height: 450px;
        padding: 15px 0;
    }
    
                    .hero-slider .slide-bg {
                    background-position: right center !important;
                    background-size: cover !important;
                    min-height: 100%;
                }
    .hero-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    .hero-arrow.prev { left: 8px; }
    .hero-arrow.next { right: 8px; }
}

/* Hero slide content animations - only for first slide */
.hero-slider .slide:first-child .hero-content h1,
.hero-slider .slide:first-child .hero-content p,
.hero-slider .slide:first-child .hero-image img { opacity: 0; }

/* All slides start invisible for animation */
.hero-slider .slide .hero-content h1,
.hero-slider .slide .hero-content p,
.hero-slider .slide .hero-image img { opacity: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-slider .slide.active .hero-content h1 {
  animation: fadeUp 600ms ease forwards;
}

.hero-slider .slide.active .hero-content p {
  animation: fadeUp 600ms ease 150ms forwards;
}

.hero-slider .slide.active .hero-image img {
  animation: fadeInRight 700ms ease 250ms forwards;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #a0d4d4;
}

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

.hero-image {
  flex: 1;
}

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

.cta-btn {
  background-color: white;
  color: #2d7d7d;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.quick-appointment {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.whatsapp-quick, .call-quick, .email-quick {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.whatsapp-quick {
  background-color: #25d366;
  color: white;
}

.whatsapp-quick:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}

.call-quick {
  background-color: transparent;
  color: white;
  border-color: white;
}

.call-quick:hover {
  background-color: white;
  color: #2d7d7d;
  transform: translateY(-2px);
}

.email-quick {
  background-color: #ea4335;
  color: white;
}

.email-quick:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  padding: 10px 0;
  background-color: #f8f9fa;
}

.faq-section h2 {
  text-align: center;
  font-size: 42px;
  color: #2d7d7d;
  margin-bottom: 50px;
}

.faq-grid {
  display: grid;
  gap: 1px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 16px;
  border: 2px solid #e8f4f4;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow: hidden;
  position: relative;
}

.faq-item:hover {
  border-color: #2d7d7d;
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
  transform: translateY(-8px) rotateX(2deg);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f0f9f9, #e8f4f4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-question h3 {
  color: #2d7d7d;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  flex: 1;
  padding-right: 20px;
}

.faq-arrow {
  color: #2d7d7d;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 20px;
  text-align: center;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: white;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 20px 25px;
}

.faq-answer p {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: 16px;
}

.faq-item.open .faq-question {
  background: linear-gradient(135deg, #2d7d7d, #1f5a5a);
}

.faq-item.open .faq-question h3 {
  color: white;
}

.faq-item.open .faq-arrow {
  color: white;
}

/* Appointment Banner (before FAQ) */
.appt-banner { background: #fff; padding: 60px 0; margin: 40px 0; }
.appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.appt-copy { background: linear-gradient(135deg, #2d7d7d, #1f5a5a); color: white; padding: 40px; position: relative; }
.appt-copy::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 20px 20px; }
.appt-copy .badge { display: inline-block; background: rgba(255,255,255,.2); color: white; padding: 6px 12px; border-radius: 4px; font-size: 12px; margin-bottom: 16px; }
.appt-copy h2 { font-size: 32px; margin-bottom: 16px; }
.appt-copy p { margin-bottom: 12px; line-height: 1.6; }
.appt-copy .map-link {
  color: white !important;
  text-decoration: none;
}
.appt-copy .map-link:hover {
  color: #e0f2f2 !important;
  text-decoration: underline;
}
.appt-call { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.appt-call .call-icon { font-size: 20px; }
.appt-call div { display: flex; flex-direction: column; }
.appt-call small { font-size: 12px; opacity: .8; }
.appt-call a { font-size: 18px; font-weight: 700; color: white; text-decoration: none; }

.appt-card { 
  background: white; 
  padding: 40px;
  border-radius: 16px;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
}
.appt-card h3 { color: #145f5f; font-size: 24px; margin-bottom: 24px; text-align: center; }
.appt-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.appt-card .form-row:first-child { grid-template-columns: 1fr; }
.appt-card input, .appt-card textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; }
.appt-card textarea { height: 100px; resize: vertical; }
.appt-card .btn-primary { width: 100%; background: #2d7d7d; color: white; padding: 14px; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .3s; }
.appt-card .btn-primary:hover { background: #1f5a5a; }

.appt-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
}

@media (max-width: 768px) {
  .appt-banner { 
    margin: 30px 0; 
  }
  .appt-grid { grid-template-columns: 1fr; }
  .appt-card .form-row { grid-template-columns: 1fr; }
}

/* Teal bar FAQ style (compact like image) */
.faq--bars h2 { text-align: center; font-size: 32px; color: #0f4c4c; margin-bottom: 20px; text-decoration: underline; }
.faq--bars .faq-grid { max-width: 800px; margin: 0 auto; }
.faq--bars .faq-item { border: none; box-shadow: none; border-radius: 0; overflow: hidden; margin-bottom: 2px; }
.faq--bars .faq-question { background: #0e4a4f; color: #fff; padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.faq--bars .faq-question h3 { color: #fff; font-size: 14px; margin: 0; font-weight: 500; }
.faq--bars .faq-icon { display: inline-block; width: 16px; height: 16px; font-weight: 700; font-size: 14px; }
.faq--bars .faq-answer { background: #0e4a4f; padding: 0 16px; }
.faq--bars .faq-item .faq-answer p { color: #dff6f6; padding: 8px 0 12px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; line-height: 1.4; }

/* Instagram carousel */
.insta-section { background: #f8fafa; padding: 56px 0; }
.insta-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.insta-head h2 { color: #145f5f; font-size: 30px; }
.insta-follow { color: #1b7a7a; text-decoration: none; font-weight: 600; }
.insta-carousel { position: relative; }
.insta-viewport { overflow: hidden; }
.insta-track { display: flex; gap: 14px; transition: transform .4s ease; }
.insta-card { 
  flex: 0 0 280px; 
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.1),
    0 4px 16px rgba(0,0,0,0.08);
  background: white;
  transition: all 0.3s ease;
  transform: translateY(0);
  border: 1px solid #dbdbdb;
}
.insta-post { display: flex; flex-direction: column; }
.insta-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 12px 16px; 
  border-bottom: 1px solid #dbdbdb; 
  background: white;
}
.insta-username { 
  font-weight: 600; 
  font-size: 14px; 
  color: #262626; 
  display: flex;
  align-items: center;
  gap: 8px;
}
.insta-username::before {
  content: "📱";
  font-size: 16px;
}
.insta-dots { font-size: 18px; color: #8e8e8e; cursor: pointer; }
.insta-card img { 
  display: block; 
  width: 100%; 
  height: 320px; 
  object-fit: cover; 
  background: #fafafa;
}

.insta-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    0 8px 24px rgba(0,0,0,0.1);
}
.insta-footer { 
  padding: 16px; 
  background: white;
}
.insta-actions { 
  display: flex; 
  gap: 16px; 
  margin-bottom: 12px; 
  align-items: center;
}
.insta-like, .insta-comment, .insta-share { 
  font-size: 24px; 
  cursor: pointer; 
  transition: transform 0.2s ease;
}
.insta-like:hover, .insta-comment:hover, .insta-share:hover {
  transform: scale(1.1);
}
.insta-caption { 
  font-size: 14px; 
  color: #262626; 
  line-height: 1.5; 
  margin-bottom: 8px;
}
.insta-caption strong {
  font-weight: 600;
  color: #262626;
}
.insta-embed-card {
  flex: 0 0 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.1),
    0 4px 16px rgba(0,0,0,0.08);
  background: white;
  transition: all 0.3s ease;
  transform: translateY(0);
  border: 1px solid #dbdbdb;
}

.insta-embed {
  display: block;
  width: 100%;
  height: 480px;
  border: none;
}

.insta-embed-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    0 8px 24px rgba(0,0,0,0.1);
}

.insta-arrow { display: none !important; }
.insta-nav-arrow { display: none !important; }

/* Hide Instagram navigation arrows on all devices */
.insta-arrow { display: none !important; }
.insta-nav-arrow { display: none !important; }

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

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

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 36px;
  color: #2d7d7d;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.learn-more-btn {
  background-color: #2d7d7d;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #1f5a5a;
}

/* Services Section */
.services-section {
  padding: 80px 0;
}

.services-section h2 {
  text-align: center;
  font-size: 42px;
  color: #2d7d7d;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover img {
  transform: scale(1.2);
}

.service-card h4 {
  font-size: 24px;
  color: #2d7d7d;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2d7d7d, #1f5a5a);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Post-hero About Highlight */
.about-highlight {
  background-color: #fff;
  padding: 25px 0 15px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.about-visual {
  position: relative;
}

.about-image-frame {
  background: linear-gradient(135deg, #1f8a8a, #2d7d7d);
  border-radius: 12px;
  padding: 6px;
  max-width: 300px;
}

.about-image-frame img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* Homepage about-specialty-card (split into two cards) */
.about-highlight .about-specialty-card {
  position: absolute;
  right: 10px;
  bottom: 100px;
  width: min(280px, 70%);
  background: #1f7a7a;
  color: #eaffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.1),
    0 10px 25px rgba(0,0,0,0.15),
    0 20px 40px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* New doctor card (positioned over image) */
.about-highlight .about-doctor-card {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: min(280px, 70%);
  background: linear-gradient(135deg, #1f7a7a, #2d7d7d);
  color: #eaffff;
  border-radius: 20px;
  padding: 15px 20px;
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.15),
    0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-highlight .about-doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 25px rgba(0,0,0,0.2),
    0 6px 12px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #2d7d7d, #1f7a7a);
}

/* Saffron blinking animation for doctor card */
@keyframes saffronBlink {
  0%, 50% {
    box-shadow: 
      0 8px 20px rgba(0,0,0,0.15),
      0 4px 8px rgba(0,0,0,0.1),
      0 0 0 0 rgba(255, 153, 0, 0.7);
  }
  25%, 75% {
    box-shadow: 
      0 8px 20px rgba(0,0,0,0.15),
      0 4px 8px rgba(0,0,0,0.1),
      0 0 0 10px rgba(255, 153, 0, 0.4);
  }
  100% {
    box-shadow: 
      0 8px 20px rgba(0,0,0,0.15),
      0 4px 8px rgba(0,0,0,0.1),
      0 0 0 0 rgba(255, 153, 0, 0.7);
  }
}

.about-highlight .about-doctor-card {
  animation: saffronBlink 2s infinite;
}

/* About page cards (new styling) */
.main-content .about-specialty-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  color: #333;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow: hidden;
}
}

/* Homepage about-specialty-card styles */
.about-highlight .about-specialty-card h4 {
  color: white;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

/* About page card styles */
.main-content .about-specialty-card h4 {
  color: #2d7d7d;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

/* About page specific card content and image styles */
.main-content .about-specialty-card .card-content {
  flex: 1;
}

.main-content .about-specialty-card .card-image {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
}

.main-content .about-specialty-card .card-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  max-width: 100%;
}

.about-specialty-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: grid;
  gap: 6px;
}

/* Homepage about-specialty-card list styles */
.about-highlight .about-specialty-card li {
  color: #eaffff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-size: 14px;
}

/* About page card list styles */
.main-content .about-specialty-card li {
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-size: 14px;
}

/* Homepage about-specialty-card bullet styles */
.about-highlight .about-specialty-card .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #eaffff;
  flex-shrink: 0;
}

/* About page card bullet styles */
.main-content .about-specialty-card .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d7d7d;
  flex-shrink: 0;
}

/* Homepage about-specialty-card hover */
.about-highlight .about-specialty-card:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.15),
    0 20px 40px rgba(0,0,0,0.2),
    0 30px 60px rgba(0,0,0,0.1);
}

/* About page card hover */
.main-content .about-specialty-card:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.15),
    0 20px 40px rgba(0,0,0,0.2),
    0 30px 60px rgba(0,0,0,0.1);
}

.about-signature {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #d6ffff;
}



.about-copy h2 { color: #145f5f; font-size: 34px; margin: 10px 0 14px; line-height: 1.25; }
.about-copy h2 .accent { color: #2d7d7d; }
.about-copy p { color: #465; line-height: 1.8; margin-bottom: 14px; }
.about-badge { display: inline-block; background: #e7f7f7; color: #1a6f6f; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.read-more { color: #1b7a7a; font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(27,122,122,.25); padding-bottom: 2px; }
.read-more:hover { color: #145f5f; border-bottom-color: rgba(20,95,95,.6); }

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-highlight .about-specialty-card { 
    position: static; 
    width: 100%; 
    margin-top: 16px; 
  }
  .main-content .about-specialty-card { 
    position: relative; 
    width: 100%; 
    margin-top: 16px; 
    overflow: hidden;
  }
  .specialty-list { position: static; margin-top: 16px; }
}

/* Services highlight (tight) */
.services-highlight { background: #f7fbfb; padding: 40px 0 60px; }
.section-title { text-align: center; color: #145f5f; font-size: 32px; margin-bottom: 24px; }
.section-title .accent { color: #2d7d7d; }
.services-grid-tight { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.service-list-card { 
  background: #ffffff; 
  border: 1px solid #e4f1f1; 
  border-radius: 16px; 
  padding: 20px 22px; 
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.service-list-card .mini-title { margin-bottom: 8px; color: #145f5f; font-size: 18px; }
.service-list-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-list-card li { position: relative; padding-left: 26px; color: #365; line-height: 1.6; }
.service-list-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #2d7d7d; box-shadow: 0 0 0 3px rgba(45,125,125,.15); }

.service-list-card .service-image {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-list-card .service-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

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

.service-list-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
}

/* Services Offered (cards) */
.services-offered { padding: 40px 0 20px; background: #fff; }
.services-offered-head { text-align: center; margin-bottom: 24px; }
.services-offered-head h3 { color: #2d7d7d; font-size: 20px; margin-bottom: 6px; }
.services-offered-head h2 { color: #144; font-size: 40px; margin-bottom: 10px; font-weight: 700; }
.services-offered-head p { color: #567; max-width: 820px; margin: 0 auto; }

.so-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.so-card { 
  background: #fff; 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  border: 1px solid #eaf3f3; 
  display: flex; 
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.so-media img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.so-body { padding: 16px 18px 18px; }
.so-body h4 { color: #155f5f; font-size: 20px; margin-bottom: 8px; }
.so-body p { color: #566; line-height: 1.6; margin-bottom: 10px; }
.so-link { color: #1b7a7a; text-decoration: none; font-weight: 600; }
.so-link:hover { text-decoration: underline; }

.so-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
}

@media (min-width: 900px) {
  .so-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Why Choose section - redesigned */
.why-choose-section { background: #f7fbfb; padding: 56px 0; }
.why-choose-section .container { max-width: 1100px; }
.why-choose-section h2 { text-align: center; color: #145f5f; font-size: 34px; margin-bottom: 18px; }
.why-choose-section p { color: #465; line-height: 1.85; text-align: center; max-width: 920px; margin: 0 auto; }

/* Testimonials redesigned */
.testimonials-section { background: #ffffff; padding: 56px 0; }
.testimonials-section h2 { text-align: center; color: #145f5f; font-size: 32px; margin-bottom: 24px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card { 
  background: #fff; 
  border: 1px solid #e7f2f2; 
  border-radius: 16px; 
  padding: 24px; 
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  position: relative; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.testimonial-card::before { content: "\201C"; position: absolute; top: -14px; left: 16px; font-size: 64px; color: rgba(45,125,125,.15); font-family: Georgia, serif; }
.testimonial-card p { 
  color: #355; 
  line-height: 1.7; 
  margin: 12px 0 16px;
  transition: color 0.3s ease;
}

.testimonial-card:hover p {
  color: #2d7d7d;
}
.testimonial-author { 
  color: #145f5f; 
  font-weight: 700;
  transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
  color: #1f5a5a;
}

.testimonial-details {
  color: #666;
  font-size: 12px;
  margin-top: 4px;
  font-style: italic;
}

/* Testimonial card hover effects */
.testimonial-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06);
  border-color: #2d7d7d;
}

.testimonial-card:hover::before {
  color: rgba(45,125,125,0.25);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: "\201C"; 
  position: absolute; 
  top: -14px; 
  left: 16px; 
  font-size: 64px; 
  color: rgba(45,125,125,.15); 
  font-family: Georgia, serif;
  transition: all 0.3s ease;
}

/* Footer */
.footer {
  background-color: #1E4E58;
  color: white;
  padding: 50px 0 20px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00BCD4;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-logo {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

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

.footer-text {
  color: white;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #00BCD4;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
}

.footer-social a:hover {
  background-color: #0097A7;
  transform: translateY(-2px);
}

.footer-contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: white;
}

.footer-contact-info i {
  width: 16px;
  color: white;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid white;
  padding-top: 20px;
  text-align: center;
  color: white;
}

/* Contact Page Styles */
.contact-hero {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info h3 {
  color: #2d7d7d;
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: #2d7d7d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 20px;
  color: white;
}

.contact-text h4 {
  color: #333;
  margin-bottom: 5px;
}

.contact-text p {
  color: #666;
  margin: 0;
}

.appointment-form {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.appointment-form h3 {
  color: #2d7d7d;
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background-color: #2d7d7d;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #1f5a5a;
}

/* Appointment Options */
.appointment-options {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.appointment-options h4 {
  color: #2d7d7d;
  margin-bottom: 15px;
  font-size: 18px;
}

.quick-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.whatsapp-btn, .call-btn, .email-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.whatsapp-btn {
  background-color: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}

.call-btn {
  background-color: #2d7d7d;
  color: white;
}

.call-btn:hover {
  background-color: #1f5a5a;
  transform: translateY(-2px);
}

.email-btn {
  background-color: #ea4335;
  color: white;
}

.email-btn:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}

/* Form Enhancements */
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  background-color: white;
}

.form-group select:focus {
  outline: none;
  border-color: #2d7d7d;
  box-shadow: 0 0 5px rgba(45, 125, 125, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero .container,
  .about-content,
  .contact-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Service Page Styles */
.service-hero {
  background: linear-gradient(135deg, #1f5a5a 0%, #2d7d7d 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.service-hero .container {
  position: relative;
  z-index: 2;
}

.service-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.service-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.service-hero-content h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #e0f2f2;
}

.service-hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #c8e6e6;
  max-width: 600px;
  margin: 0 auto;
}

.service-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.service-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-info {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-info h2 {
  color: #1f5a5a;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 3px solid #2d7d7d;
  padding-bottom: 15px;
}

.service-info h3 {
  color: #2d7d7d;
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px 0;
}

.service-info p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
}

.service-info ul {
  list-style: none;
  margin: 20px 0;
}

.service-info ul li {
  position: relative;
  padding: 12px 0 12px 30px;
  color: #555;
  line-height: 1.6;
  border-bottom: 1px solid #f0f0f0;
}

.service-info ul li:last-child {
  border-bottom: none;
}

.service-info ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: #2d7d7d;
  font-weight: bold;
  font-size: 18px;
}

.service-info ul li strong {
  color: #1f5a5a;
  font-weight: 600;
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.appointment-card, .contact-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  border-top: 4px solid #2d7d7d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.appointment-card h3, .contact-card h3 {
  color: #1f5a5a;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.appointment-card p, .contact-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2d7d7d 0%, #1f5a5a 100%);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 125, 125, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 125, 125, 0.4);
  background: linear-gradient(135deg, #1f5a5a 0%, #2d7d7d 100%);
}

.contact-card p strong {
  color: #1f5a5a;
  font-weight: 600;
}

.contact-card p a {
  color: #2d7d7d;
  text-decoration: none;
  font-weight: 500;
}

.contact-card p a:hover {
  color: #1f5a5a;
  text-decoration: underline;
}

.appointment-card:hover, .contact-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
}

/* Service Page Responsive */
@media (max-width: 768px) {
  .service-hero-content h1 {
    font-size: 36px;
  }
  
  .service-hero-content h2 {
    font-size: 20px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-info {
    padding: 30px 20px;
  }
  
  .service-info h2 {
    font-size: 28px;
  }
  
  .service-info h3 {
    font-size: 20px;
  }
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 768px) {
  /* Header and Top Bar */
  .top-bar {
    padding: 6px 0;
    font-size: 11px;
  }
  
  .top-bar .container {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }
  
  .top-bar .contact-info {
    flex-direction: column;
    gap: 2px;
    justify-content: center;
  }
  
  .top-bar .contact-info span {
    font-size: 10px;
    justify-content: center;
  }
  
  .top-bar .social-links {
    gap: 8px;
    justify-content: center;
    margin-top: 2px;
  }
  
  .top-bar .social-links a {
    width: 20px;
    height: 20px;
  }
  
  /* Navbar */
  .header {
    padding: 8px 0;
  }
  
  .header .container {
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
  
  .logo img {
    width: 80px;
    max-height: 80px;
    object-fit: contain;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding: 60px 20px 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .nav-menu.active {
    display: block;
    transform: translateX(0);
  }
  
  /* Mobile dropdown functionality */
  .dropdown.active .dropdown-menu {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(45, 125, 125, 0.1);
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: none;
  }
  
  .dropdown.active .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .dropdown.active .dropdown-menu a {
    color: #2d7d7d;
    padding: 8px 15px;
    font-size: 16px;
  }
  
  .dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  
  .dropdown-toggle::after {
    content: "▼";
    margin-left: 5px;
    transition: transform 0.3s ease;
    font-size: 12px;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-menu li {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  
  .nav-menu a {
    font-size: 18px;
    padding: 10px 0;
  }
  
    .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: #2d7d7d;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .mobile-menu-toggle:hover {
    background-color: rgba(45, 125, 125, 0.1);
  }
  
  .appointment-btn {
    width: auto;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
    margin-top: 0;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
  }
  
  /* Hero Section */
  .hero-slider {
    margin: 20px 10px;
    border-radius: 20px;
  }
  
  .hero-slider .slides {
    height: 400px;
  }
  
  .hero-slider .slide .container {
    padding: 30px 20px;
    min-height: 350px;
  }
  
  /* About Section */
  .about-highlight {
    padding: 40px 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image-frame {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .about-specialty-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
  }
  
  .about-image-frame {
    position: relative;
  }
  
  .about-doctor-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f7a7a, #2d7d7d);
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  
  /* Services Section */
  .services-section {
    padding: 40px 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  /* Instagram Carousel */
  .insta-section {
    padding: 40px 20px;
  }
  
  .insta-head {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .insta-track {
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .insta-track::-webkit-scrollbar {
    display: none;
  }
  
  .insta-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 280px;
  }
  
  /* Testimonials */
  .testimonials-section {
    padding: 40px 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* FAQ */
  .faq-section {
    padding: 40px 20px;
  }
  
  .faq-grid {
    gap: 1px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
    margin: 0 auto;
  }
  
  .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-logo img {
    width: 80px;
    margin: 0 auto;
    height: auto;
  }

  .footer-logo a {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
  }

  .footer-logo a:hover {
    transform: scale(1.05);
  }
  
  .footer-links h4 {
    margin-bottom: 15px;
  }
  
  .footer-links ul {
    gap: 8px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  /* Mobile responsive for full-width content */
  .full-width-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .full-width-content .doctor-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  
  .full-width-content .content-text {
    flex: none;
  }
  
  /* Mobile responsive for why-choose-card */
  .why-choose-card {
    padding: 25px 20px;
  }
  
  .why-choose-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .why-choose-card li {
    font-size: 16px;
    margin-bottom: 12px;
  }
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 480px) {
  /* Extra small devices */
  
  /* Ensure testimonials show one per row on mobile */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .hero-slider .slide .container {
    padding: 20px 15px;
    min-height: 300px;
  }
  
  .hero-slider .hero-content h1 {
    font-size: 18px;
    line-height: 1.3;
  }
  
  .hero-slider .hero-content p {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .about-text h3 {
    font-size: 24px;
  }
  
  .services-grid {
    gap: 15px;
  }
  
  .service-card {
    padding: 15px;
  }
  
  .insta-card {
    flex: 0 0 100%;
    min-width: 260px;
  }
  
  .footer {
    padding: 30px 15px;
  }
  
  /* Additional mobile footer text centering fixes */
  .footer-section h4 {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .footer-section ul {
    text-align: center;
  }
  
  .footer-section ul li {
    text-align: center;
    justify-content: center;
  }
  
  .footer-section ul li a {
    text-align: center;
  }
  
  .footer-contact-info {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
  
  .footer-contact-info i {
    margin-right: 0;
    margin-bottom: 2px;
  }
  
  /* Contact page mobile fixes */
  .contact-details {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .contact-item {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .contact-text {
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .contact-text h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .contact-text p {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .contact-text a {
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .appt-banner .container {
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .appt-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .appt-copy {
    width: 100%;
    max-width: 100%;
    padding: 20px 15px;
  }
  
  .appt-copy h2 {
    font-size: 24px;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  /* Extra small mobile devices - additional contact page fixes */
  @media (max-width: 480px) {
    .contact-item {
      padding: 12px;
      margin-bottom: 12px;
    }
    
    .contact-text h4 {
      font-size: 15px;
    }
    
    .contact-text p {
      font-size: 13px;
    }
    
    .contact-text a {
      font-size: 13px;
    }
    
    .appt-copy h2 {
      font-size: 22px;
    }
    
    .appt-copy {
      padding: 15px 10px;
    }
    
    .appt-banner .container {
      padding: 0 10px;
    }
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Close button for mobile menu */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #2d7d7d;
  cursor: pointer;
}

/* OrthoMedica Design Styles */

/* Logo Styles */
.logo-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #1f5a5a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cross-symbol {
  color: #ff0000;
  font-size: 20px;
  font-weight: bold;
}

.logo-text h1 {
  color: #1f5a5a;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.logo-text p {
  color: #666;
  font-size: 10px;
  margin: 0;
  line-height: 1;
  font-weight: 400;
}

/* Hero Section */
.hero-section {
  background: #1f5a5a;
  padding: 60px 0;
  margin: 40px 0;
  text-align: center;
  position: relative;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.hero-section h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.breadcrumb {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  display: inline-block;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

/* Main Content */
.main-content {
  padding: 80px 0;
  background: white;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.content-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.doctor-image {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.doctor-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text h2 {
  color: #1f5a5a;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.content-text h3 {
  color: #666;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.content-text h4 {
  color: #1f5a5a;
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px 0;
}

.content-text p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Full Width Content Styling */
.full-width-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.full-width-content .doctor-image {
  flex: 0 0 400px;
  max-width: 400px;
}

.full-width-content .content-text {
  flex: 1;
}

/* Why Choose Section Styling */
.why-choose-section {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Why Choose Card Styling */
.why-choose-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  max-width: 600px;
  width: 100%;
}

.why-choose-card h3 {
  color: #1f5a5a;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

.why-choose-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose-card li {
  color: #333;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.why-choose-card li:before {
  content: "✅";
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-choose-card strong {
  color: #1f5a5a;
  font-weight: 600;
}

.consult-btn {
  background: #1f5a5a;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.consult-btn:hover {
  background: #164747;
  transform: translateY(-2px);
}

/* Conditions Box */
.conditions-box {
  background: #1f5a5a;
  color: #ffffff;
  padding: 40px;
  border-radius: 20px;
  height: fit-content;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.conditions-box h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

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

.conditions-box li {
  color: #ffffff;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.conditions-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
}

.conditions-box strong {
  color: #4CAF50;
}

/* Recovery Section */
.recovery-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.recovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.recovery-item h3 {
  color: #1f5a5a;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.recovery-item p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* Why Choose Section */
.why-choose-section {
  background: #1f5a5a;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.why-choose-section h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.why-choose-section p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-tag {
  background: #e8f5e8;
  color: #1f5a5a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.contact-info h3 {
  color: #333;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.contact-info p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #1f5a5a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.contact-text strong {
  display: block;
  color: #333;
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-text span {
  color: #1f5a5a;
  font-size: 18px;
  font-weight: 600;
}

/* Appointment Form */
.appointment-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.appointment-form h3 {
  color: #333;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1f5a5a;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.book-btn {
  background: #1f5a5a;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.book-btn:hover {
  background: #164747;
  transform: translateY(-2px);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-logo p {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-icons a:hover {
  background: rgba(255,255,255,0.2);
}

.clinic-info p {
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    margin: 30px 0;
  }
  
  .content-grid,
  .recovery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-section h1 {
    font-size: 32px;
  }
  
  .content-text h2 {
    font-size: 24px;
  }
  
  .appointment-form {
    padding: 30px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-contact-info {
    text-align: center;
    justify-content: center;
  }
  
  .footer-contact-info i {
    margin-right: 8px;
  }
  
  .footer-contact-info span {
    text-align: center;
  }
  
  .footer-contact-info a {
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* New About Page Card Styles */
.training-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.highlight-item {
  background: rgba(45, 125, 125, 0.1);
  padding: 20px;
  border-radius: 15px;
  border-left: 4px solid #2d7d7d;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(45, 125, 125, 0.15);
  transform: translateY(-2px);
}

.highlight-item h4 {
  color: #2d7d7d;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.highlight-item p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(45, 125, 125, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.expertise-item:hover {
  background: rgba(45, 125, 125, 0.15);
  transform: translateY(-2px);
}

.expertise-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.expertise-item span:last-child {
  color: #555;
  font-weight: 500;
}

.philosophy-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.philosophy-point {
  text-align: center;
  padding: 20px;
  background: rgba(45, 125, 125, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.philosophy-point:hover {
  background: rgba(45, 125, 125, 0.15);
  transform: translateY(-3px);
}

.philosophy-point h4 {
  color: #2d7d7d;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.philosophy-point p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.why-choose-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.why-choose-item {
  padding: 20px;
  background: rgba(45, 125, 125, 0.08);
  border-radius: 15px;
  border-left: 4px solid #2d7d7d;
  transition: all 0.3s ease;
}

.why-choose-item:hover {
  background: rgba(45, 125, 125, 0.15);
  transform: translateY(-2px);
}

.why-choose-item h4 {
  color: #2d7d7d;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.why-choose-item p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.specialization-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(45, 125, 125, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.specialization-item:hover {
  background: rgba(45, 125, 125, 0.15);
  transform: translateY(-2px);
}

.spec-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.specialization-item span:last-child {
  color: #555;
  font-weight: 500;
}

/* Alternating row layout for about page */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 40px 0;
}

.about-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.about-row.reverse .about-text-content {
  order: 2;
}

.about-row.reverse .about-image-content {
  order: 1;
}

.about-text-content {
  padding: 20px;
}

.about-text-content h3 {
  color: #2d7d7d;
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.about-text-content h4 {
  color: #666;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.about-text-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image-content {
  text-align: center;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.about-image-content:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
}

.about-image-content img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  max-width: 100%;
}

@media (max-width: 768px) {
  .training-highlights,
  .expertise-list,
  .philosophy-points,
  .why-choose-list,
  .specializations-grid {
    grid-template-columns: 1fr;
  }
  
  .about-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
    padding: 20px 0;
  }
  
  .about-row.reverse .about-text-content,
  .about-row.reverse .about-image-content {
    order: unset;
  }
  
  .about-text-content h3 {
    font-size: 1.8rem;
  }
  
  .about-text-content h4 {
    font-size: 1.1rem;
  }
  
  .about-text-content p {
    font-size: 1rem;
  }
}

/* Blog Section Styles */
.blog-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header h1 {
  font-size: 48px;
  color: #2d7d7d;
  margin-bottom: 20px;
}

.blog-header h2 {
  font-size: 24px;
  color: #666;
  margin-bottom: 15px;
}

.blog-header p {
  color: #777;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(45,125,125,0.1);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

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

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

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(45, 125, 125, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 22px;
  color: #2d7d7d;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #888;
}

.blog-date {
  color: #666;
}

.blog-author {
  color: #2d7d7d;
  font-weight: 500;
}

.blog-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.view-more-btn {
  background: linear-gradient(135deg, #2d7d7d, #1f5a5a);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.view-more-btn:hover {
  background: linear-gradient(135deg, #1f5a5a, #2d7d7d);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(45, 125, 125, 0.3);
}

.blog-cta {
  text-align: center;
}

.cta-btn {
  background: linear-gradient(135deg, #2d7d7d, #1f5a5a);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #1f5a5a, #2d7d7d);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(45, 125, 125, 0.3);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-header h1 {
    font-size: 36px;
  }
  
  .blog-header h2 {
    font-size: 20px;
  }
  
  .blog-content h3 {
    font-size: 20px;
  }
}

/* Individual Blog Article Styles */
.blog-article {
  padding: 60px 0;
  background: #f8f9fa;
}

.blog-breadcrumb {
  margin-bottom: 30px;
}

.blog-breadcrumb a {
  color: #2d7d7d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
  color: #1f5a5a;
}

.blog-post {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.08),
    0 20px 40px rgba(0,0,0,0.03);
}

.blog-post-header {
  padding: 40px 40px 20px;
  text-align: center;
}

.blog-category-badge {
  background: rgba(45, 125, 125, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 20px;
}

.blog-post-header h1 {
  font-size: 36px;
  color: #2d7d7d;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.blog-post .blog-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 16px;
  color: #666;
}

.blog-read-time {
  color: #2d7d7d;
  font-weight: 500;
}

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

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post .blog-content {
  padding: 40px;
  line-height: 1.8;
}

.blog-post .blog-content h2 {
  color: #2d7d7d;
  font-size: 28px;
  margin: 40px 0 20px;
  font-weight: 600;
}

.blog-post .blog-content p {
  color: #555;
  margin-bottom: 20px;
  font-size: 16px;
}

.blog-post .blog-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.blog-post .blog-content li {
  color: #555;
  margin-bottom: 10px;
  font-size: 16px;
}

.blog-cta-section {
  background: linear-gradient(135deg, #2d7d7d, #1f5a5a);
  color: #ffffff !important;
  padding: 40px;
  border-radius: 16px;
  margin-top: 40px;
  text-align: center;
}

.blog-cta-section h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff !important;
  font-weight: 600;
}

.blog-cta-section p {
  color: #ffffff !important;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.consult-cta-btn {
  background: white;
  color: #2d7d7d;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
}

.consult-cta-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .blog-post-header {
    padding: 30px 20px 20px;
  }
  
  .blog-post-header h1 {
    font-size: 28px;
  }
  
  .blog-post .blog-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .blog-featured-image {
    height: 250px;
  }
  
  .blog-post .blog-content {
    padding: 30px 20px;
  }
  
  .blog-post .blog-content h2 {
    font-size: 24px;
  }
  
  .blog-cta-section {
    padding: 30px 20px;
  }
}

/* Instagram Reels Section */
.instagram-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.instagram-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.instagram-section p {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.insta-viewport {
    position: relative;
    overflow: hidden;
    margin: 0 -10px;
}

.insta-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    padding: 10px;
}

.insta-embed-card {
    flex: 0 0 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0,0,0,0.1),
        0 4px 16px rgba(0,0,0,0.08);
    background: white;
    transition: all 0.3s ease;
    transform: translateY(0);
    border: 1px solid #dbdbdb;
    position: relative;
}

.insta-embed {
    display: block;
    width: 100%;
    height: 480px;
    border: none;
}

.insta-embed-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.15),
        0 8px 24px rgba(0,0,0,0.1);
}

/* Audio Controls */
.insta-audio-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insta-audio-controls:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.insta-audio-controls svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Swipe Indicators */
.insta-swipe-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.insta-swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insta-swipe-dot.active {
    background: #1f7a7a;
    transform: scale(1.2);
}

/* Desktop: 4 reels visible */
@media (min-width: 1024px) {
    .insta-track {
        gap: 20px;
    }
    
    .insta-embed-card {
        flex: 0 0 calc(25% - 15px);
        min-width: 250px;
    }
}

/* Tablet: 2 reels visible */
@media (min-width: 768px) and (max-width: 1023px) {
    .insta-track {
        gap: 15px;
    }
    
    .insta-embed-card {
        flex: 0 0 calc(50% - 7.5px);
        min-width: 300px;
    }
    
    .insta-swipe-indicators {
        display: flex;
    }
}

/* Mobile: 1 reel visible with swipe */
@media (max-width: 767px) {
    .insta-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .insta-viewport::-webkit-scrollbar {
        display: none;
    }
    
    .insta-track {
        gap: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .insta-embed-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        min-width: 280px;
        margin: 0 10px;
    }
    
    .insta-embed {
        height: 600px; /* Increased height for mobile to match Instagram reel proportions */
    }
    
    .insta-swipe-indicators {
        display: flex;
    }
    

    
    /* Make banner text headings bolder from 2nd slide onwards on mobile */
    .hero-slider .slide:not(:first-child) .hero-content h1 {
        font-weight: 800 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    }
    
    .hero-slider .slide:not(:first-child) .hero-content p {
        font-weight: 600 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
    }
}

/* Swipe Navigation Arrows */
.insta-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.insta-nav-arrow:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
}

.insta-nav-arrow.prev {
    left: 10px;
}

.insta-nav-arrow.next {
    right: 10px;
}

.insta-nav-arrow svg {
    width: 20px;
    height: 20px;
    fill: #1f7a7a;
}

/* Hide arrows on mobile */
@media (max-width: 767px) {
    .insta-nav-arrow {
        display: none;
    }
}

/* Extra small mobile devices - additional banner fixes */
@media (max-width: 480px) {
    .hero-slider .hero-content h1 {
        font-size: 18px;
        line-height: 1.2;
    }
    .hero-slider .hero-content p {
        font-size: 12px;
        line-height: 1.3;
    }
    .hero-slider {
        min-height: 400px;
    }
    .hero-slider .slide {
        min-height: 400px;
        padding: 10px 0;
    }
                        .hero-slider .slide-bg {
                        background-position: right center !important;
                        background-size: cover !important;
                    }
}

/* Instagram embed optimization */
.instagram-media {
    max-height: 400px !important;
    min-height: 300px !important;
    overflow: hidden !important;
}

.instagram-media iframe {
    max-height: 400px !important;
    min-height: 300px !important;
}

.insta-embed-card {
    max-height: 400px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.insta-embed-card .instagram-media {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Reduce Instagram embed height */
.insta-embed {
    height: 400px !important;
    max-height: 400px !important;
}

/* Mobile optimization for Instagram embeds */
@media (max-width: 767px) {
    .instagram-media {
        max-height: 350px !important;
        min-height: 250px !important;
    }
    
    .insta-embed {
        height: 350px !important;
        max-height: 350px !important;
    }
    
    .insta-embed-card {
        max-height: 350px !important;
    }
}

/* Instagram metrics styling */
.insta-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.insta-metrics {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.metric-item svg {
    color: #ff3040;
}

.metric-item:nth-child(2) svg {
    color: #1da1f2;
}

.metric-item:nth-child(3) svg {
    color: #25d366;
}

/* Mobile optimization for metrics */
@media (max-width: 767px) {
    .insta-metrics {
        bottom: 8px;
        left: 8px;
        gap: 12px;
        padding: 6px 10px;
    }
    
    .metric-item {
        font-size: 11px;
        gap: 3px;
    }
    
    .metric-item svg {
        width: 14px;
        height: 14px;
    }
}

/* Video Categories Section */
.video-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.video-categories h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.category-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

/* Case Studies Section */
.case-studies-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.case-studies-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

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

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

.case-study-content {
    padding: 25px;
}

.case-study-content h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.case-study-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.case-study-story {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-study-results h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.case-study-results ul {
    list-style: none;
    padding: 0;
}

.case-study-results li {
    color: #666;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.case-study-results li:before {
    content: "✓";
    color: #20c997;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Mobile responsive for video categories and case studies */
@media (max-width: 767px) {
    .video-categories h2,
    .case-studies-section h2 {
        font-size: 2rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card,
    .case-study-card {
        margin: 0 15px;
    }
    
    .case-study-image {
        height: 150px;
    }
}

/* Privacy Policy Page Styles */
.privacy-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.policy-sections {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.policy-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid #20c997;
    padding-bottom: 10px;
}

.policy-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.policy-section li {
    color: #666;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.policy-section li:before {
    content: "•";
    color: #20c997;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 6px;
}

.contact-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.contact-details p {
    margin: 8px 0;
    color: #333;
}

.contact-details a {
    color: #20c997;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Mobile responsive for privacy policy */
@media (max-width: 767px) {
    .privacy-content {
        padding: 40px 0;
    }
    
    .policy-section {
        padding: 20px;
        margin: 0 15px 20px 15px;
    }
    
    .policy-section h3 {
        font-size: 1.3rem;
    }
}
