 /* About Page Styles */
 .about-page {
     max-width: 900px;
     margin: 50px auto 30px auto;
     padding: 45px 35px;
     background: rgba(252, 252, 252, 0.75);
     border-radius: 20px;
     border: 1.2px solid var(--border-light);
     box-shadow: 0 8px 24px rgba(43, 43, 43, 0.06);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
 }

 .about-page .container {
     max-width: 100%;
 }

 .about-page h1 {
     font-size: 2.4rem;
     font-weight: bold;
     color: var(--pepper-dark);
     margin-bottom: 15px;
     text-align: center;
     line-height: 1.2;
 }

 .about-page h2 {
     font-size: 1.65rem;
     font-weight: 600;
     color: var(--pepper-charcoal);
     margin: 35px 0 18px 0;
     padding-bottom: 8px;
     border-bottom: 2px solid var(--salt-silver);
 }

 .about-page h2:first-of-type {
     margin-top: 25px;
     font-size: 1.45rem;
     text-align: center;
     font-style: italic;
     color: var(--pepper-steel);
     border-bottom: none;
     margin-bottom: 25px;
 }

 .about-page p {
     font-size: 1.1rem;
     line-height: 1.7;
     color: var(--pepper-dark);
     margin-bottom: 18px;
     text-align: justify;
 }

 .about-page p strong {
     color: var(--pepper-charcoal);
     font-weight: 600;
 }

 .about-page p em {
     color: var(--accent-blue);
     font-style: italic;
 }

 .about-page ul {
     margin: 20px 0;
     padding-left: 0;
     list-style: none;
 }

 .about-page ul li {
     font-size: 1.05rem;
     line-height: 1.6;
     color: var(--pepper-dark);
     margin-bottom: 12px;
     padding-left: 25px;
     position: relative;
 }

 .about-page ul li:before {
     content: "✓";
     position: absolute;
     left: 0;
     color: var(--accent-blue);
     font-weight: bold;
     font-size: 1.1rem;
 }

 .about-page ul li strong {
     color: var(--pepper-charcoal);
     font-weight: 600;
 }

 .about-page a {
     color: var(--accent-blue);
     text-decoration: none;
     font-weight: 500;
     border-bottom: 1px solid transparent;
     transition: border-bottom 0.2s;
 }

 .about-page a:hover {
     border-bottom: 1px solid var(--accent-blue);
 }

 /* Special styling for the final call-to-action paragraph */
 .about-page p:last-of-type {
     text-align: center;
     font-size: 1.15rem;
     margin-top: 35px;
     padding: 25px;
     background: rgba(22, 102, 228, 0.08);
     border-radius: 12px;
     border-left: 4px solid var(--accent-blue);
 }

 .about-page p:last-of-type strong {
     color: var(--accent-blue);
 }

 /* Mobile Responsiveness for About Page */
 @media (max-width: 700px) {
     .about-page {
         margin: 19px 2vw;
         padding: 25px 20px;
         max-width: 94vw;
     }

     .about-page h1 {
         font-size: 1.9rem;
         line-height: 1.3;
     }

     .about-page h2 {
         font-size: 1.4rem;
         margin: 25px 0 15px 0;
     }

     .about-page h2:first-of-type {
         font-size: 1.25rem;
         margin-top: 20px;
         margin-bottom: 20px;
     }

     .about-page p {
         font-size: 1.05rem;
         text-align: left;
         margin-bottom: 15px;
     }

     .about-page ul li {
         font-size: 1rem;
         margin-bottom: 10px;
         padding-left: 20px;
     }

     .about-page p:last-of-type {
         font-size: 1.1rem;
         padding: 20px 15px;
         margin-top: 25px;
     }
 }

 /* Services Page Styles */
 .page-banner {
     max-width: 800px;
     margin: 50px auto 40px auto;
     padding: 50px 35px;
     text-align: center;
     background: rgba(252, 252, 252, 0.75);
     border: 1.2px solid var(--border-light);
     border-radius: 20px;
 }

 .page-banner h1 {
     font-size: 2.5rem;
     font-weight: bold;
     color: var(--pepper-dark);
     margin-bottom: 15px;
     line-height: 1.2;
 }

 .page-banner p {
     font-size: 1.2rem;
     color: var(--pepper-steel);
     font-weight: 500;
     margin: 0;
     font-style: italic;
 }

 /* Services List Section */
 .services-list-section {
     max-width: 1200px;
     margin: 0 auto 40px auto;
     padding: 0 20px;
 }

 .services-list-section .container {
     max-width: 100%;
 }

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

 /* Service Card */
 .service-card {
     display: block;
     text-decoration: none;
     background: rgba(255, 255, 255, 0.65);
     border-radius: 18px;
     border: 1.2px solid var(--border-light);
     overflow: hidden;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(43, 43, 43, 0.08);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
 }

 .service-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(43, 43, 43, 0.15);
     background: rgba(255, 255, 255, 0.85);
     border-color: var(--accent-blue);
 }

 .service-image {
     width: 100%;
     height: 220px;
     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: 25px 22px 28px 22px;
 }

 .service-content h2 {
     font-size: 1.4rem;
     font-weight: 600;
     color: var(--pepper-dark);
     margin-bottom: 12px;
     line-height: 1.3;
 }

 .service-content p {
     font-size: 1.05rem;
     color: var(--pepper-steel);
     line-height: 1.6;
     margin: 0;
 }

 .service-card:hover .service-content h2 {
     color: var(--accent-blue);
 }

 .service-card .service-content p {
     color: var(--pepper-steel);
 }

 .service-card:hover .service-content p {
     color: var(--pepper-steel);
 }

 /* CTA Section Override for Services Page - Match Home Page Exactly */
 .services-list-section+.cta {
     margin: 28px auto 0 auto;
     max-width: 500px;
     text-align: center;
     background: rgba(223, 223, 223, 0.41);
     border-radius: 15px;
     border: 1.1px solid var(--border-light);
     padding: 35px 20px 30px 20px;
 }

 .services-list-section+.cta .container {
     max-width: 100%;
     padding: 0;
 }

 .services-list-section+.cta h2 {
     font-size: 1.4rem;
     color: var(--pepper-dark);
 }

 .services-list-section+.cta p {
     color: var(--pepper-dark);
     margin-top: 9px;
     margin-bottom: 19px;
 }

 .services-list-section+.cta .btn-light {
     background: linear-gradient(90deg, var(--accent-warm) 60%, var(--salt-silver) 100%);
     color: var(--pepper-dark);
     padding: 12px 24px;
     border: none;
     border-radius: 8px;
     font-size: 1rem;
     font-weight: 600;
     box-shadow: 0 2px 8px rgba(180, 180, 180, 0.12);
     text-decoration: none;
     letter-spacing: 0.4px;
     transition: background 0.19s;
 }

 .services-list-section+.cta .btn-light:hover {
     background: var(--pepper-charcoal);
     color: var(--salt-white);
 }

 /* Mobile Responsiveness */
 @media (max-width: 700px) {
     .page-banner {
         margin: 19px 2vw 25px 2vw;
         padding: 30px 20px;
         max-width: 94vw;
     }

     .page-banner h1 {
         font-size: 2rem;
         line-height: 1.3;
     }

     .page-banner p {
         font-size: 1.1rem;
     }

     .services-list-section {
         margin: 0 2vw 25px 2vw;
         padding: 0;
         max-width: 96vw;
     }

     .services-grid {
         grid-template-columns: 1fr;
         gap: 20px;
         margin-top: 20px;
     }

     .service-card {
         max-width: 100%;
     }

     .service-image {
         height: 180px;
     }

     .service-content {
         padding: 20px 18px 22px 18px;
     }

     .service-content h2 {
         font-size: 1.3rem;
         margin-bottom: 10px;
     }

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

     .services-list-section+.cta {
         margin: 30px 2vw 0 2vw;
         padding: 25px 20px;
         max-width: 94vw;
     }

     .services-list-section+.cta h2 {
         font-size: 1.3rem;
     }

     .services-list-section+.cta p {
         font-size: 1.05rem;
         margin-bottom: 20px;
     }

     .services-list-section+.cta .btn-light {
         padding: 12px 24px;
         font-size: 1.05rem;
     }
 }

 @media (max-width: 500px) {
     .services-grid {
         grid-template-columns: 1fr;
     }

     .service-image {
         height: 160px;
     }
 }

 /* contact page */

 /* Contact Page Styles */
.contact-page-banner {
    max-width: 900px;
    margin: 50px auto 40px auto;
    padding: 50px 35px;
    text-align: center;
    background: rgba(252, 252, 252, 0.75);
    border: 1.2px solid var(--border-light);
    border-radius: 20px;
}

.contact-page-banner h1 {
    font-size: 2.3rem;
    font-weight: bold;
    color: var(--pepper-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-style: italic;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    margin: 0;
    line-height: 1.6;
}

/* Contact Main Section */
.contact-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

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

/* Contact Information */
.contact-info h2 {
    font-size: 1.8rem;
    color: var(--pepper-dark);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--salt-silver);
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-top: 5px;
    min-width: 25px;
}

.info-item h3 {
    font-size: 1.2rem;
    color: var(--pepper-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-item p {
    font-size: 1.05rem;
    color: var(--pepper-steel);
    margin-bottom: 5px;
    line-height: 1.5;
}

.info-item a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

.small-text {
    font-size: 0.9rem;
    color: var(--pepper-medium) !important;
    font-style: italic;
}

/* Contact Form */
.contact-form h2 {
    font-size: 1.8rem;
    color: var(--pepper-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--salt-silver);
    padding-bottom: 10px;
}

.contact-form > p {
    color: var(--pepper-steel);
    margin-bottom: 25px;
    line-height: 1.6;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--pepper-dark);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(22, 102, 228, 0.1);
}

.submit-btn {
    background: var(--accent-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--pepper-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 26, 26, 0.3);
}

/* Quick Actions */
.quick-actions {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.quick-actions h2 {
    font-size: 1.8rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 30px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.action-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(43, 43, 43, 0.15);
}

.action-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 1.2rem;
    color: var(--pepper-dark);
    margin-bottom: 8px;
}

.action-card p {
    font-size: 1rem;
    color: var(--pepper-steel);
    margin: 0;
}

/* Map Section */
.map-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.map-section h2 {
    font-size: 1.8rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 15px;
}

.map-section > p {
    text-align: center;
    color: var(--pepper-steel);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.map-container {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(43, 43, 43, 0.1);
}

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

.map-info h4 {
    font-size: 1.2rem;
    color: var(--pepper-dark);
    margin-bottom: 15px;
}

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

.map-info li {
    color: var(--pepper-steel);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.map-info li:before {
    content: "•";
    color: var(--accent-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.parking p {
    color: var(--pepper-steel);
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
    .contact-page-banner,
    .contact-main,
    .quick-actions,
    .map-section {
        margin: 19px 2vw 25px 2vw;
        padding: 25px 20px;
        max-width: 94vw;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .map-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-page-banner h1 {
        font-size: 1.9rem;
    }
}


/* scrolling buttons in service details page */

#scrollToTopBtn, #scrollToBottomBtn {
    position: fixed;
    right: 15px;
    padding: 10px 18px;
    font-size: 1rem;
    border: none;
    border-radius: 22px;
    background: var(--accent-blue, #1666e4);
    color: white;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(22, 102, 228, 0.18);
    opacity: 0.92;
    transition: background 0.2s, opacity 0.2s;
}

#scrollToTopBtn { bottom: 70px; }
#scrollToBottomBtn { bottom: 20px; }

#scrollToTopBtn:hover, #scrollToBottomBtn:hover {
    background: var(--pepper-charcoal, #1A1A1A);
    opacity: 1;
}


/* team page css */

/* Team Page Styles */
.team-page-banner {
    max-width: 1000px;
    margin: 50px auto 40px auto;
    padding: 50px 35px;
    text-align: center;
    background: rgba(252, 252, 252, 0.75);
    border: 1.2px solid var(--border-light);
    border-radius: 20px;
}

.team-page-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--pepper-dark);
    margin-bottom: 15px;
}

.team-subtitle {
    font-size: 1.3rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.team-description {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    line-height: 1.6;
}

/* Doctor Profile */
.doctor-profile {
    max-width: 1200px;
    margin: 40px auto;
    padding: 50px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.doctor-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: start;
}

.doctor-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(43, 43, 43, 0.15);
}

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

.image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctor-image:hover .image-overlay {
    opacity: 1;
}

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

.social-links a {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50%;
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
    color: white;
    transform: scale(1.1);
}

.doctor-info h2 {
    font-size: 2.2rem;
    color: var(--pepper-dark);
    margin-bottom: 8px;
}

.doctor-designation {
    font-size: 1.3rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 5px;
}

.doctor-specialty {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    margin-bottom: 25px;
    font-style: italic;
}

.doctor-highlights {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 102, 228, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--accent-blue);
    font-weight: 500;
}

.highlight-item i {
    font-size: 1.1rem;
}

.doctor-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--pepper-dark);
    margin-bottom: 30px;
}

.contact-doctor {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-appointment,
.btn-call {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-appointment {
    background: var(--accent-blue);
    color: white;
}

.btn-appointment:hover {
    background: var(--pepper-charcoal);
    transform: translateY(-2px);
}

.btn-call {
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
    border: 2px solid #2ECC71;
}

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

/* Qualifications Section */
.qualifications-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.qualifications-section h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--salt-silver);
    padding-bottom: 15px;
}

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

.qualification-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.qualification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(43, 43, 43, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.qual-icon {
    flex-shrink: 0;
}

.qual-icon i {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

.qual-content h3 {
    font-size: 1.3rem;
    color: var(--pepper-dark);
    margin-bottom: 15px;
}

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

.qual-content li {
    color: var(--pepper-steel);
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.qual-content li:before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Expertise Section */
.expertise-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.expertise-section h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 15px;
}

.expertise-intro {
    text-align: center;
    color: var(--pepper-steel);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.expertise-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--accent-blue);
}

.expertise-icon i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.expertise-item h3 {
    font-size: 1.3rem;
    color: var(--pepper-dark);
    margin-bottom: 15px;
}

.expertise-item p {
    color: var(--pepper-steel);
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 1.8rem;
    color: var(--pepper-dark);
    margin-bottom: 25px;
}

.philosophy-text blockquote {
    font-size: 1.2rem;
    color: var(--pepper-steel);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 4px solid var(--accent-blue);
}

.philosophy-text cite {
    font-size: 1rem;
    color: var(--pepper-medium);
    font-weight: 600;
    margin-bottom: 30px;
    display: block;
}

.philosophy-text h3 {
    font-size: 1.5rem;
    color: var(--pepper-dark);
    margin: 30px 0 20px 0;
}

.approach-points {
    display: grid;
    gap: 20px;
}

.approach-point {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.approach-point i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-top: 5px;
}

.approach-point h4 {
    font-size: 1.1rem;
    color: var(--pepper-dark);
    margin-bottom: 5px;
}

.approach-point p {
    font-size: 1rem;
    color: var(--pepper-steel);
    line-height: 1.5;
}

.philosophy-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(43, 43, 43, 0.1);
}

/* Doctor Testimonials */
.doctor-testimonials {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.doctor-testimonials h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 40px;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    text-align: center;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--pepper-steel);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author strong {
    color: var(--pepper-dark);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--pepper-medium);
    font-size: 0.95rem;
    display: block;
    margin-top: 5px;
}

/* Contact Doctor Section */
.contact-doctor-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-text h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    margin-bottom: 20px;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-highlights {
    display: grid;
    gap: 15px;
}

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

.contact-highlight i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.contact-highlight h4 {
    font-size: 1.1rem;
    color: var(--pepper-dark);
    margin-bottom: 3px;
}

.contact-highlight p {
    font-size: 0.95rem;
    color: var(--pepper-steel);
    margin: 0;
}

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

.action-btn {
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: var(--accent-blue);
    color: white;
}

.action-btn.primary:hover {
    background: var(--pepper-charcoal);
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
    border: 2px solid #2ECC71;
}

.action-btn.secondary:hover {
    background: #2ECC71;
    color: white;
}

.action-btn.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 2px solid #25D366;
}

.action-btn.whatsapp:hover {
    background: #25D366;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
    .team-page-banner,
    .doctor-profile,
    .qualifications-section,
    .expertise-section,
    .philosophy-section,
    .doctor-testimonials,
    .contact-doctor-section {
        margin: 19px 2vw 25px 2vw;
        padding: 25px 20px;
        max-width: 94vw;
    }
    
    .doctor-card {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .doctor-image img {
        height: 300px;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .qualifications-grid,
    .expertise-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .doctor-highlights {
        justify-content: center;
    }
}


/* gallery page css */

/* Gallery Page Styles */
.gallery-page-banner {
    max-width: 1000px;
    margin: 50px auto 40px auto;
    padding: 50px 35px;
    text-align: center;
    background: rgba(252, 252, 252, 0.75);
    border: 1.2px solid var(--border-light);
    border-radius: 20px;
}

.gallery-page-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--pepper-dark);
    margin-bottom: 15px;
}

.gallery-subtitle {
    font-size: 1.3rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.gallery-description {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    line-height: 1.6;
}

/* Gallery Filter */
.gallery-filter {
    max-width: 1000px;
    margin: 40px auto;
    padding: 25px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid var(--border-light);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: var(--pepper-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 102, 228, 0.3);
}

/* Gallery Main */
.gallery-main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-item {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(43, 43, 43, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(43, 43, 43, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
    width: 100%;
}

.gallery-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.gallery-info p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.view-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover {
    background: white;
    color: var(--accent-blue);
    transform: scale(1.05);
}

/* Before/After Cards */
.before-after-card {
    height: 280px;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.before-image,
.after-image {
    position: relative;
    overflow: hidden;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Gallery Stats */
.gallery-stats {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

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

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--accent-blue);
}

.stat-icon i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--pepper-dark);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-body {
    position: relative;
}

#modalImage {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-info {
    padding: 25px;
    background: white;
}

.modal-info h3 {
    font-size: 1.5rem;
    color: var(--pepper-dark);
    margin-bottom: 10px;
}

.modal-info p {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    line-height: 1.6;
}

/* Before/After Modal */
.before-after-modal {
    max-width: 1000px;
}

.ba-modal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 400px;
}

.ba-modal-image {
    position: relative;
}

.ba-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-modal-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

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

.ba-modal-info h3 {
    font-size: 1.5rem;
    color: var(--pepper-dark);
    margin-bottom: 10px;
}

.ba-modal-info p {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
    .gallery-page-banner,
    .gallery-filter,
    .gallery-main,
    .gallery-stats {
        margin: 19px 2vw 25px 2vw;
        padding: 25px 20px;
        max-width: 94vw;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .ba-modal-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .ba-modal-image img {
        height: 250px;
    }
    
    #modalImage {
        height: 300px;
    }
}


/* testimonials page css */

/* Testimonials Page Styles */
.testimonials-page-banner {
    max-width: 1000px;
    margin: 50px auto 40px auto;
    padding: 50px 35px;
    text-align: center;
    background: rgba(252, 252, 252, 0.75);
    border: 1.2px solid var(--border-light);
    border-radius: 20px;
}

.testimonials-page-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--pepper-dark);
    margin-bottom: 15px;
}

.testimonials-subtitle {
    font-size: 1.3rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonials-description {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    line-height: 1.6;
    margin-bottom: 25px;
}

.overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-stars i {
    color: #FFD700;
    font-size: 1.5rem;
}

.rating-text {
    font-size: 1.1rem;
    color: var(--pepper-dark);
    font-weight: 600;
}

/* Google Reviews Section */
.google-reviews-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.google-reviews-section h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 15px;
}

.google-reviews-section p {
    text-align: center;
    color: var(--pepper-steel);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.google-reviews-widget {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(43, 43, 43, 0.1);
}

.review-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.google-review-btn,
.write-review-btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.google-review-btn {
    background: #4285f4;
    color: white;
}

.google-review-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

.write-review-btn {
    background: rgba(255, 193, 7, 0.1);
    color: #FFC107;
    border: 2px solid #FFC107;
}

.write-review-btn:hover {
    background: #FFC107;
    color: #333;
}

/* Featured Testimonials */
.featured-testimonials {
    max-width: 1300px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.featured-testimonials h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 40px;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 25px rgba(43, 43, 43, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.patient-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-blue);
}

.patient-info h3 {
    font-size: 1.2rem;
    color: var(--pepper-dark);
    margin-bottom: 5px;
}

.patient-info span {
    color: var(--pepper-medium);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.rating {
    display: flex;
    gap: 3px;
}

.rating i {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--pepper-dark);
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-card blockquote:before {
    content: """;
    font-size: 3rem;
    color: var(--accent-blue);
    position: absolute;
    left: -15px;
    top: -10px;
}

.testimonial-date {
    color: var(--pepper-medium);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Quick Testimonials */
.quick-testimonials {
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.quick-testimonials h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 40px;
}

.quick-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.quick-testimonial {
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.quick-testimonial:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.8);
}

.quote-icon i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.quick-testimonial p {
    font-size: 1rem;
    color: var(--pepper-dark);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.patient-name {
    font-weight: 600;
    color: var(--pepper-dark);
    margin-bottom: 8px;
}

.stars {
    font-size: 1.1rem;
}

/* Treatment Reviews */
.treatment-reviews {
    max-width: 1000px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
}

.treatment-reviews h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    text-align: center;
    margin-bottom: 30px;
}

.treatment-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.treatment-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid var(--border-light);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--pepper-dark);
}

.treatment-btn:hover,
.treatment-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.treatment-testimonials {
    display: grid;
    gap: 20px;
}

.treatment-testimonial {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.treatment-testimonial h4 {
    color: var(--accent-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.treatment-testimonial p {
    color: var(--pepper-dark);
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.treatment-testimonial span {
    color: var(--pepper-medium);
    font-weight: 600;
    font-size: 0.9rem;
}

/* CTA Section */
.testimonials-cta {
    max-width: 800px;
    margin: 40px auto;
    padding: 45px 35px;
    background: rgba(252, 252, 252, 0.75);
    border-radius: 20px;
    border: 1.2px solid var(--border-light);
    text-align: center;
}

.testimonials-cta h2 {
    font-size: 2rem;
    color: var(--pepper-dark);
    margin-bottom: 15px;
}

.testimonials-cta p {
    font-size: 1.1rem;
    color: var(--pepper-steel);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--pepper-charcoal);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 193, 7, 0.1);
    color: #FFC107;
    border: 2px solid #FFC107;
}

.btn-secondary:hover {
    background: #FFC107;
    color: #333;
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
    .testimonials-page-banner,
    .google-reviews-section,
    .featured-testimonials,
    .quick-testimonials,
    .treatment-reviews,
    .testimonials-cta {
        margin: 19px 2vw 25px 2vw;
        padding: 25px 20px;
        max-width: 94vw;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .treatment-filter {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .review-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .overall-rating {
        flex-direction: column;
        gap: 10px;
    }
}
