/* Base styles */
:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #f8fafc;
    --text-dark: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --black: #0f172a;
    --gray: #e2e8f0;
    --dark-gray: #64748b;
    --accent: #0ea5e9;
    --border: #cbd5e1;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --radius: 0.5rem;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }

  /* Tables - remove default gaps between header and rows */
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }

  thead, tbody, tr, th, td {
    border-collapse: collapse;
  }

  th, td {
    vertical-align: top;
  }
  
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  @media (max-width: 768px) {
    .container {
      padding: 0 0.75rem;
    }
  }

  @media (max-width: 480px) {
    .container {
      padding: 0 0.5rem;
    }
  }
  
  .btn {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: var(--primary-dark);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
  }
  
  .btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  /* Navbar */
  .navbar {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }

  .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
  }
  .logo-img2 {
    height: 25px;
    width: auto;
    object-fit: contain;
  }
  
  .nav-links ul {
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover, .nav-links a.active {
    color: var(--primary);
  }
  
  .mobile-menu-btn {
    display: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-dark);
    background: none;
    border: none;
    padding: 0.5rem;
  }
  @media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: auto;
        max-height: 80vh;
        background-color: var(--white);
        padding: 1.5rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-links.show {
        left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
}

  /* Hero Section */
  .hero {
    background-color: var(--secondary);
    padding: 2rem 0 3rem;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2rem;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
    position: relative;
    width: 500px;
    height: 400px;
    overflow: hidden;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
  
  
  .google-reviews {
    margin-top: 1.5rem;
  }
  
  .reviews-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  .google-logo {
    height: 2rem;
    margin-right: 0.75rem;
  }
  
  .reviews-title {
    font-weight: 600;
    font-size: 1.25rem;

    letter-spacing: 0.05em;
  }
  
  .rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    margin-top: 2rem;
  }
  
  .rating-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 0.75rem;
  }
  
  .stars {
    color: #ffc107;
    display: flex;
  }
  
  .review-count {
    color: var(--text-light);
  }
  
  .hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .image-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
  }
  /* Add responsive styles for hero section */
@media (max-width: 768px) {
    .hero {
        padding: 1rem 0 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .hero-image {
        width: 100%;
        height: 250px;
        order: -1;
    }

    .google-reviews {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .reviews-header {
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .rating {
        justify-content: center;
        margin-top: 1rem;
    }

    .image-banner {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem 0 1.5rem;
    }

    .hero-content {
        padding: 0.5rem;
        gap: 1rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .hero-image {
        height: 200px;
    }

    .google-reviews {
        margin-top: 0.75rem;
    }

    .reviews-header {
        margin-bottom: 0.25rem;
    }

    .google-logo {
        height: 1.5rem;
        margin-right: 0.5rem;
    }

    .reviews-title {
        font-size: 1rem;
    }

    .rating {
        margin-top: 0.75rem;
    }

    .rating-number {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }

    .stars {
        font-size: 0.875rem;
    }

    .image-banner {
        padding: 0.375rem;
        font-size: 0.75rem;
    }
}

/* Add responsive styles for doctor bio section */
@media (max-width: 768px) {
    .bio-content {
        flex-direction: column;
        gap: 2rem;
    }

    .bio-text h3 {
        font-size: 1.75rem;
        text-align: center;
    }

    .doctor-title {
        text-align: center;
    }

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

/* Add responsive styles for quality service section */
@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 0.75rem;
    }

    .service-features h2 {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .subtitle {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .service-cards-section {
        gap: 1.5rem;
        width: 100%;
    }

    .service-cards-grid {
        gap: 1rem;
    }

    .service-card-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .service-card-icon {
        margin: 0 auto;
        width: 40px;
        height: 40px;
    }

    .service-card-icon i {
        font-size: 1rem;
    }

    .service-card-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .service-card-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
    }

    .additional-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        display: flex !important;
        flex-direction: column !important;
    }

    .additional-card {
        padding: 0.875rem;
        margin-bottom: 0.5rem;
        width: 100% !important;
        max-width: 100% !important;
    }

    .additional-card-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.75rem;
    }

    .additional-card-icon i {
        font-size: 0.9rem;
    }

    .additional-card-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }

    .additional-card-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Medium mobile devices optimization */
@media (max-width: 600px) and (min-width: 481px) {
    .service-content {
        padding: 0 0.75rem;
        gap: 1.75rem;
    }

    .service-cards-section {
        gap: 1.25rem;
    }

    .service-card-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .service-card-icon {
        width: 38px;
        height: 38px;
    }

    .service-card-content h3 {
        font-size: 1rem;
    }

    .service-card-content p {
        font-size: 0.85rem;
    }

    .additional-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        display: flex !important;
        flex-direction: column !important;
    }

    .additional-card {
        padding: 1rem;
        width: 100% !important;
        max-width: 100% !important;
    }

    .additional-card-icon {
        width: 32px;
        height: 32px;
    }
}

/* Lifecell Section Mobile Responsive */
@media (max-width: 768px) {
    .lifecell-section {
        padding: 3rem 0;
    }

    .lifecell-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .lifecell-logo {
        order: 1;
    }

    .lifecell-info {
        order: 2;
    }

    .lifecell-logo-img {
        max-width: 150px;
    }

    .lifecell-info h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .lifecell-info p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .lifecell-features {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .lifecell-feature {
        justify-content: center;
    }

    .lifecell-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .lifecell-section {
        padding: 2rem 0;
    }

    .lifecell-content {
        gap: 1.5rem;
    }

    .lifecell-logo-img {
        max-width: 120px;
    }

    .lifecell-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .lifecell-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .lifecell-features {
        margin-bottom: 1.25rem;
    }

    .lifecell-feature span {
        font-size: 0.9rem;
    }

    .lifecell-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Add responsive styles for gallery section */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: auto;
        grid-row: auto;
        grid-auto-rows: 180px;
        gap: 0.75rem;
    }
    .gallery {
      padding: 2rem 0;
  }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 1rem;
    }
    .gallery-item .overlay {
      padding: 0.75rem;
      font-size: 0.9rem;
  }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .service-features h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .service-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .service-features h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .service-cards-section {
        gap: 1rem;
    }

    .service-cards-grid {
        gap: 0.75rem;
    }

    .service-card-item {
        padding: 0.875rem;
        gap: 0.5rem;
        margin-bottom: 0.25rem;
    }

    .service-card-icon {
        width: 35px;
        height: 35px;
    }

    .service-card-icon i {
        font-size: 0.9rem;
    }

    .service-card-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.375rem;
        line-height: 1.2;
    }

    .service-card-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .additional-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
        display: flex !important;
        flex-direction: column !important;
    }

    .additional-card {
        padding: 0.75rem;
        margin-bottom: 0.25rem;
        width: 100% !important;
        max-width: 100% !important;
    }

    .additional-card-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 0.5rem;
    }

    .additional-card-icon i {
        font-size: 0.8rem;
    }

    .additional-card-content h3 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .additional-card-content p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Lifecell Diagnostics Section */
.lifecell-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.lifecell-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.lifecell-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.lifecell-info {
    flex: 1;
}

.lifecell-info h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lifecell-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lifecell-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.lifecell-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lifecell-feature i {
    color: var(--primary);
    font-size: 1rem;
    width: 16px;
    flex-shrink: 0;
}

.lifecell-feature span {
    color: var(--text-dark);
    font-weight: 500;
}

.lifecell-btn {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.lifecell-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
  /* Doctor Bio Section */
  .doctor-bio {
    padding: 4rem 0;
    background-color: var(--white);
  }
  
  .bio-content {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .bio-image {
    flex: 1;
  }
  
  .bio-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .bio-text {
    flex: 1;
  }
  
  .bio-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .doctor-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .bio-text p {
    margin-bottom: 1rem;
  }
  
  .credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .credential i {
    color: var(--primary);
    font-size: 1.25rem;
  }
  
  /* Quality Service Section */
  .quality-service {
    padding: 2rem 0;
    background-color: var(--text-dark);
    color: var(--white);
  }
  
  .service-content {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 3rem;
    align-items: flex-start;
}
  
.service-features {
    flex: 1;
}

.service-cards-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
  .service-features h2 {
    font-size: 2.5rem;
    
    color: rgb(72, 72, 72);
  }
  
  .subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1rem;
  }
  
  .features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 1rem;
  }
  
  .feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .feature-icon {
    background-color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .feature-icon i {
    color: var(--white);
    font-size: 1rem;
  }
  
  .feature-text {
    flex: 1;
  }
  
  .feature-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
  }
  
  .feature-text p {
    color: var(--gray);
    line-height: 1.6;
  }
  
  .service-stats {
    flex: 2;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
  }
  
  .stats-title {
    font-size: 1.5rem;
    text-align: center;
    margin: 3rem 0;
    color: var(--white);
    line-height: 1.5;
}
  
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}
  
.stat {
    text-align: center;
    padding: 2rem;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}
  
.stat-label {
    font-size: 1.25rem;
    color: var(--gray);
}

/* Service Cards Styles */
.service-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: auto;
}

.service-card-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile touch optimization */
@media (max-width: 768px) {
    .service-card-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .service-card-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

.service-card-icon {
    background-color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.service-card-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.service-card-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.service-card-content p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Additional Cards Styles */
.additional-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Force mobile stacking for additional cards */
@media (max-width: 768px) {
    .additional-cards-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
}

.additional-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: auto;
}

.additional-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile touch optimization for additional cards */
@media (max-width: 768px) {
    .additional-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .additional-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

.additional-card-icon {
    background-color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.additional-card-icon i {
    color: var(--white);
    font-size: 1rem;
}

.additional-card-content h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.additional-card-content p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }
}
  /* Therapy Types Section */
  .therapy-types {
    padding: 4rem 0;
    background-color: var(--secondary);
    text-align: center;
  }
  
  .services-container {
    position: relative;
    overflow: hidden;
    padding: 0 3rem;
  }
  
  .services-carousel {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    gap: 1rem;
  }
  
  .service-card {
    flex: 0 0 25%;
    padding: 0 1rem;
    min-width: 25%;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  @media (max-width: 1024px) {
    .service-card {
      flex: 0 0 33.333%;
      min-width: 33.333%;
    }
  }
  
  @media (max-width: 768px) {
    .service-card {
      flex: 0 0 50%;
      min-width: 50%;
    }
  }
  
  @media (max-width: 576px) {
    .service-card {
      flex: 0 0 100%;
      min-width: 100%;
    }
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  .service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .service-card:hover .service-image img {
    transform: scale(1.05);
  }
  
  .service-content {
    padding: 1.5rem;
    background-color: var(--white);
    border-top: 1px solid var(--gray);
  }
  
  .service-card .service-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    text-align: left;
    height: calc(100% - 200px);
  }
  
  .service-content h3 {
    color: var(--text-dark);
    transition: color 0.3s ease;
    height: 48px; /* Fixed height for two lines of text */
    line-height: 1.5;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-card:hover h3 {
    color: var(--primary);
  }
  .service-content p {
    color: var(--text-light);
    /* margin-bottom: 1rem; */
    font-size: 0.9rem;
    flex-grow: 1;
  }
  
  .read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    /* margin-top: 1rem; */
    transition: transform 0.3s ease;
  }
  .service-card:hover .read-more {
    transform: translateX(5px);
  }
  .service-prev,
  .service-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
    font-size: 1.25rem;
    z-index: 10;
  }
  
  .service-prev {
    left: 0;
  }
  
  .service-next {
    right: 0;
  }
  
  .service-prev:hover,
  .service-next:hover {
    background-color: var(--gray);
  }
  
  .service-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  
  .service-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .service-dot.active {
    width: 2rem;
    border-radius: 1rem;
    background-color: var(--primary);
  }
  
  @media (max-width: 1024px) {
    .service-card {
      flex: 0 0 calc(33.333% - 2rem);
    }
  }

  @media (max-width: 768px) {
    .service-card {
      flex: 0 0 calc(50% - 2rem);
    }
  }

  @media (max-width: 480px) {
    .service-card {
      flex: 0 0 calc(100% - 2rem);
    }
  }
  
  /* Gallery Section */
  .gallery {
    padding: 4rem 0;
    background-color: var(--white);
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
  }
  
  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  .gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    font-weight: 600;
  }

  /* Gallery Modal Styles */
  .gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .gallery-modal.show {
    display: flex;
    opacity: 1;
  }

  .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
  }

  .modal-close:hover {
    color: var(--primary);
  }

  .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .modal-prev {
    left: 20px;
  }

  .modal-next {
    right: 20px;
  }

  .modal-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
  }

  /* Make gallery items clickable */
  .gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .gallery-item:hover {
    transform: scale(1.02);
  }

  /* Mobile optimizations for modal */
  @media (max-width: 768px) {
    .modal-content {
      max-width: 95%;
      max-height: 95%;
    }

    .modal-nav {
      padding: 12px 8px;
      font-size: 1.2rem;
    }

    .modal-prev {
      left: 10px;
    }

    .modal-next {
      right: 10px;
    }

    .modal-close {
      top: -40px;
      font-size: 1.5rem;
    }

    .modal-counter {
      font-size: 0.9rem;
      padding: 6px 12px;
    }
  }

  @media (max-width: 480px) {
    .modal-nav {
      padding: 10px 6px;
      font-size: 1rem;
    }

    .modal-prev {
      left: 5px;
    }

    .modal-next {
      right: 5px;
    }
  }
  @media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 1rem;
    }

    .gallery-item.large {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 0.75rem;
    }

    .gallery {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 1rem;
    }

    .gallery-item .overlay {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
  /* Testimonials Section */
  .testimonials {
    padding: 4rem 0;
    background-color: var(--secondary);
  }
  
  .testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    overflow: hidden;
  }
  
  .testimonials-carousel {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    gap: 1rem;
    padding: 0.5rem 0;
  }
  
  .testimonial-card {
    flex: 0 0 calc(33.333% - 2rem);
    margin: 0;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    min-width: calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
    width: 100%;
  }
  
  .testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .testimonial-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
  }
  
  .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .initial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--text-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 1rem;
  }
  
  .testimonial-info {
    flex-grow: 1;
  }
  
  .testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .testimonial-location {
    color: var(--text-light);
    font-size: 0.875rem;
  }
  
  .testimonial-rating {
    display: flex;
    color: #ffc107;
    margin-bottom: 0.75rem;
  }
  
  .testimonial-tag {
    display: inline-block;
    background-color: var(--gray);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .testimonial-text {
    color: var(--text-dark);
  }
  
  .google-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--white);
    border-radius: 4px;
    padding: 4px;
}

.google-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.google-icon svg {
    display: none;
}
  .testimonial-prev,
  .testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
    font-size: 1.25rem;
    z-index: 10;
  }
  
  .testimonial-prev {
    left: 0;
  }
  
  .testimonial-next {
    right: 0;
  }
  
  .testimonial-prev:hover,
  .testimonial-next:hover {
    background-color: var(--gray);
  }
  
  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  
  .testimonial-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .testimonial-dot.active {
    width: 2rem;
    border-radius: 1rem;
    background-color: var(--primary);
  }
  @media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 2rem);
        min-width: calc(50% - 2rem);
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
    }
}
  /* Contact & Appointment Section */
  .contact-appointment {
    padding: 4rem 0;
    background-color: var(--white);
  }
  
  .contact-appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    padding-right: 2rem;
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
  }
  
  .info-item {
    display: flex;
    margin-bottom: 1.5rem;
  }
  .info-item p{
    padding: 8px 0;
  }

  .branch-address {
    margin-bottom: 1rem;
  }

  .branch-address:last-child {
    margin-bottom: 0;
  }

  .branch-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .info-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    margin-right: 1rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
  }
  
  .clinic-hours {
    margin-top: 2rem;
  }
  
  .clinic-hours h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
  }
  
  .hours-day {
    font-weight: 600;
  }
  
  .hours-time {
    font-weight: 600;
    line-height: 1.4;
  }
  .appointment-form iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
    display: block;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

.appointment-form {
  position: relative;
  isolation: isolate;
  /* Prevent container from capturing touches over iframe */
  pointer-events: none;
}
.appointment-form .appt-tabs,
.appointment-form iframe,
.appointment-form .appt-fallback {
  pointer-events: auto;
}
.appt-tabs { position: relative; z-index: 2; }
.appt-mobile-links { display: none; gap: .5rem; margin: .5rem 0 1rem; }
.appt-mobile-links .btn { padding: .6rem 1rem; }
.appt-fallback { display: none; margin-top: .75rem; text-align: right; }
.appt-fallback a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* Appointment tabs */
.appt-tabs {
  display: inline-flex;
  gap: .5rem;
  background: var(--secondary);
  padding: .5rem;
  border-radius: 999px;
  margin: 0 0 1rem 0;
}

.appt-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}

.appt-tab:hover { background: var(--secondary); }
.appt-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Adjust iframe height for different screen sizes */
@media (max-width: 1024px) {
    .appointment-form iframe {
        min-height: 80vh;
        height: 80vh;
        /* Avoid aspect-ratio issues on mobile browsers */
        aspect-ratio: auto;
    }
}

@media (max-width: 768px) {
    .appointment-form iframe {
        min-height: 80vh;
        height: 80vh;
        aspect-ratio: auto;
    }
    .appt-fallback { display: block; }
    .appt-mobile-links { display: flex; flex-wrap: wrap; }
    .contact-appointment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .appointment-form iframe {
        min-height: 85vh;
        height: 85vh;
        aspect-ratio: auto;
        border-radius: 10px;
    }
}

  
  /* Footer */
  .footer {
    background-color: #1e293b;
    color: var(--gray);
    padding: 4rem 0 0;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-logo a {
    font-size: 1.75rem;
    color: var(--white);
  }
  
  .footer-logo p {
    margin-top: 0.5rem;
    color: var(--gray);
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-content: center;
    padding-left: 50px;
  }
  
  .footer-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .footer-section ul li {
    margin-bottom: 0.75rem;
  }
  
  .footer-section ul li a {
    transition: color 0.3s ease;
  }
  
  .footer-section ul li a:hover {
    color: var(--white);
  }
  
  .contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .contact-info li i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
  }
  
  .social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
  }
  
  .clinic-hours h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
  }
  
  .clinic-hours p {
    margin-bottom: 0.25rem;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Floating Action Buttons */
  .floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .scroll-top-btn {
    background: linear-gradient(135deg, #64748b, #475569);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .scroll-top-btn:hover {
    background: linear-gradient(135deg, #475569, #334155);
  }

  .scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
  }

  .floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
  }

  .floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }

  .whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
  }

  .whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
  }

  .call-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
  }

  .call-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
  }

  .btn-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .btn-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }

  .floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  /* Mobile optimizations */
  @media (max-width: 768px) {
    .floating-buttons {
      bottom: 1rem;
      right: 1rem;
      gap: 0.75rem;
    }

    .floating-btn {
      width: 55px;
      height: 55px;
      font-size: 1.25rem;
    }

    .btn-tooltip {
      display: none;
    }


  }

  @media (max-width: 480px) {
    .floating-buttons {
      bottom: 0.75rem;
      right: 0.75rem;
      gap: 0.5rem;
    }

    .floating-btn {
      width: 50px;
      height: 50px;
      font-size: 1.125rem;
    }


  }

  /* Callback Button */
  .callback-btn {
    position: fixed;
    bottom: 8rem;
    right: 1.5rem;
    z-index: 99;
  }
  
  .callback-content {
    display: flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    box-shadow: var(--shadow);
  }
  
  .callback-content i {
    margin-right: 0.75rem;
  }
  
  .callback-content span {
    font-weight: 500;
    margin-right: 0.75rem;
  }
  
  .callback-icon {
    background-color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .callback-icon i {
    color: var(--primary);
    margin: 0;
  }
  

  

  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    .service-content {
      gap: 3rem;
    }
    
    .service-features h2 {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 768px) {
    .service-content {
      flex-direction: column;
    }
    
    .service-stats {
      width: 100%;
    }
    
    .stats-container {
      gap: 2rem;
    }
  }
  