@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Source+Sans+Pro:wght@400;600;700;900&family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('variables.css');
@import url('header.css');
@import url('footer.css');
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100vw;

}


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

body {
    background: var(--bg-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Global container to prevent overflow */
.container, 
.container-fluid,
.row,
.col,
[class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all images and media don't overflow */
img, 
video, 
iframe, 
object, 
embed {
    max-width: 100%;
    height: auto;
}

/* Prevent table overflow */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Ensure form elements don't overflow */
input, 
textarea, 
select, 
button {
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile overflow fix */
@media (max-width: 1711px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .nav-mobile-menu {
        width: 100vw;
        left: 0;
        right: 0;
    }
}





.hero {
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    margin-top: -48px;
    padding-top: 48px;
}

/* Hero Grid Styles */
.hero-grid {
    position: absolute;
    top: -105px;
    left: 0;
    width: 100%;
    height: calc(100vh - 40px);
    overflow: hidden;
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-grid-slide {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-grid-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    z-index: -1;
}

/* Fallback for images that don't load */
.hero-grid-slide:not([style*="background-image"]) {
    background: var(--gradient-hero);
}

.hero-grid-slide.active::before {
    transform: scale(1);
}

.hero-grid-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Make buttons always accessible even on non-active slides */
.hero-grid-slide .carousel-content {
    pointer-events: auto;
    z-index: 10;
}

.hero-grid-slide .carousel-content button,
.hero-grid-slide .carousel-content a {
    pointer-events: auto;
    position: relative;
    z-index: 15;
}

/* Slide entrance animations */
.hero-grid-slide.slide-in {
    animation: slideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-grid-slide.slide-out {
    animation: slideOut 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: scale(1.1) translateX(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.9) translateX(-50px);
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.6));
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    color: var(--text-white);
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    pointer-events: auto;
}

.hero-grid-slide.active .carousel-content {
    opacity: 1;
    transform: translateY(0);
}

.carousel-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.015em;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.hero-grid-slide.active .carousel-content h2 {
    opacity: 1;
    transform: translateY(0);
}

.carousel-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-grid-slide.active .carousel-content p {
    opacity: 0.95;
    transform: translateY(0);
}

/* Hero buttons animation for grid */
.carousel-content .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s;
}

.hero-grid-slide.active .carousel-content .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}



.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--shadow-primary-medium);
}

.indicator.active::before {
    width: 100%;
    height: 100%;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}




.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 90px auto 0;
    width: 100%;
    gap: 60px;
}

.hero-text {
    flex: 1;
    color: var(--text-white);
    z-index: 2;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.015em;
}

.hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.cta-primary, .cta-secondary {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

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

.cta-primary:hover,
.carousel-content .cta-primary:hover {
    background-color: var(--primary-dark-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px var(--shadow-primary-medium) !important;
    transition: all 0.2s ease !important;
}

.cta-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.cta-secondary:hover,
.carousel-content .cta-secondary:hover {
    background-color: var(--text-white) !important;
    color: var(--primary-darker-blue) !important;
    transform: translateY(-1px) !important;
    transition: all 0.2s ease !important;
}

.cta-home-visit {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-home-visit::before {
    margin-right: 8px;
    font-size: 1.1em;
}

.cta-home-visit:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary-dark);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}



.hgp-info {
    padding: 20px 20px;
    margin-top: -40px;
    background: 
        radial-gradient(circle at 20% 30%, var(--overlay-primary-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 90, 135, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(26, 54, 93, 0.03) 0%, transparent 70%),
        var(--gradient-nav);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hgp-info::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: 
        radial-gradient(circle, var(--overlay-primary) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite;
    z-index: 0;
}

.hgp-info::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 150px;
    height: 150px;
    background: 
        radial-gradient(circle, rgba(45, 90, 135, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 12s ease-in-out infinite reverse;
    z-index: 0;
}

.hgp-info .about-container::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 300px;
    height: 300px;
    background: 
        linear-gradient(45deg, transparent 30%, var(--overlay-primary-lighter) 40%, transparent 50%),
        linear-gradient(-45deg, transparent 30%, rgba(26, 54, 93, 0.02) 40%, transparent 50%);
    border-radius: 50%;
    animation: slowRotate 25s linear infinite;
    z-index: 0;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatSlow {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-30px) scale(1.1);
        opacity: 0.6;
    }
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-darker-blue);
    margin-bottom: 16px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.practice-info {
    background: var(--bg-white);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 35px rgba(45, 55, 72, 0.08);
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 60px;
    border: 2px solid var(--border-primary-lighter);
    position: relative;
    overflow: hidden;
}


.practice-info::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-dark-blue), var(--primary-blue));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.practice-image {
    flex: 0 0 45%;
}

.practice-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.practice-text {
    flex: 1;
}

.practice-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
    margin-bottom: 40px;
}

.highlight {
    color: var(--primary-dark-blue);
    font-weight: 600;
}

.definition-box {
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.definition-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.005em;
}

.definition-box p {
    line-height: 1.6;
    margin: 0;
}



.section-divider {
    position: relative;
    margin: 100px auto;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(74, 144, 164, 0.4) 5%, 
        rgba(74, 144, 164, 0.8) 15%, 
        var(--primary-blue) 25%, 
        var(--primary-dark-blue) 50%, 
        var(--primary-blue) 75%, 
        rgba(74, 144, 164, 0.8) 85%, 
        rgba(74, 144, 164, 0.4) 95%, 
        transparent 100%
    );
    border-radius: 2px;
    overflow: hidden;
    animation: shimmerLine 4s ease-in-out infinite;
}

.section-divider::before {
    display: none;
}

@keyframes shimmerLine {
    0%, 100% { 
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(74, 144, 164, 0.4) 5%, 
            rgba(74, 144, 164, 0.8) 15%, 
                var(--primary-blue) 25%,
    var(--primary-dark-blue) 50%,
    var(--primary-blue) 75%, 
            rgba(74, 144, 164, 0.8) 85%, 
            rgba(74, 144, 164, 0.4) 95%, 
            transparent 100%
        );
    }
    50% { 
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(74, 144, 164, 0.6) 5%, 
            rgba(74, 144, 164, 1) 15%, 
                var(--primary-dark-blue) 25%,
    var(--primary-darker-blue) 50%,
    var(--primary-dark-blue) 75%, 
            rgba(74, 144, 164, 1) 85%, 
            rgba(74, 144, 164, 0.6) 95%, 
            transparent 100%
        );
    }
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    justify-content: center;
}

/* Stack doctors grid at 1000px */
@media (max-width: 1000px) {
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
}



.doctor-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 
        0 8px 32px rgba(45, 55, 72, 0.08),
        0 4px 16px rgba(74, 144, 164, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(74, 144, 164, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 220px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--primary-blue) 0%, 
        var(--primary-dark-blue) 25%, 
        var(--primary-blue) 50%, 
        var(--primary-dark-blue) 75%, 
        var(--primary-blue) 100%);
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

.doctor-card::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -60%;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(74, 144, 164, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(45, 90, 135, 0.02) 0%, transparent 50%);
    transition: all 0.4s ease;
    border-radius: 50%;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.doctor-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(74, 144, 164, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(74, 144, 164, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #ffffff 100%);
}

.doctor-card:hover::after {
    transform: scale(1.2) rotate(5deg);
    background: 
        radial-gradient(circle at 30% 30%, rgba(74, 144, 164, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(45, 90, 135, 0.05) 0%, transparent 50%);
}

.doctor-name {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-darker-blue) 0%, var(--primary-dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    font-family: 'Source Sans Pro', sans-serif;
}

.doctor-specialty {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-style: normal;
    position: relative;
    z-index: 1;
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(74, 144, 164, 0.1);
    display: inline-block;
}

.doctor-credentials {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark-blue) 100%);
    color: var(--bg-white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    border: none;
    box-shadow: 
        0 4px 12px rgba(74, 144, 164, 0.3),
        0 2px 6px rgba(45, 90, 135, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.bio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark-blue) 100%);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(74, 144, 164, 0.3),
        0 2px 8px rgba(45, 90, 135, 0.2);
}

.bio-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 164, 0.1), transparent);
    transition: left 0.5s ease;
}

.bio-link:hover {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-darker-blue) 100%);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(74, 144, 164, 0.4),
        0 4px 15px rgba(45, 90, 135, 0.3);
    border-color: var(--primary-darker-blue);
}

.bio-link:hover::before {
    left: 100%;
}

.bio-link i {
    transition: all 0.3s ease;
    font-size: 1rem;
}

.bio-link:hover i {
    transform: translateX(4px);
}


.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.features::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(74,144,164,0.03)"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateY(-50%) scale(1.1); }
}

.feature-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(45, 55, 72, 0.06);
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-dark-blue));
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(74, 144, 164, 0.02) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(45, 90, 135, 0.02) 50%, transparent 55%);
    border-radius: 50%;
    z-index: 0;
}

.feature-card-content {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.25rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-darker-blue);
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.005em;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.services {
    padding: 60px 20px;
    background: var(--gradient-secondary);
}

.services-container {
    max-width: 1600px;
    margin: 0 auto;
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.service-category {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-dark-blue));
}

.service-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--secondary-light);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-darker-blue);
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    background: var(--secondary-light);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    cursor: default;
}

.pill:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary-medium);
}

.pill.featured {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px var(--shadow-primary-medium);
}

.pill.featured:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px var(--shadow-primary-dark);
}

.services-cta {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

/* Services Grid Responsive Design */
@media (max-width: 1200px) {
    .services-showcase {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1000px;
    }
}

/* Force services to 2 columns at 1345px and below */
@media (max-width: 1345px) {
    .services-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
    .services-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }
    
    .service-category {
        padding: 30px 25px;
    }
    
    .category-header h3 {
        font-size: 1.25rem;
    }
    
    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    /* Consistent section title font sizes */
    .section-title {
        font-size: 2.2rem !important;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }
    
    .service-category {
        padding: 25px 20px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
    
    .service-pills {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Consistent section title font sizes */
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .services {
        padding: 40px 15px;
    }
    
    .services-showcase {
        margin-top: 40px;
        gap: 15px;
    }
    
    .service-category {
        padding: 20px 15px;
    }
    
    .category-header h3 {
        font-size: 1.1rem;
    }
    
    .pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Footer map responsive */
    .footer-map-container {
        height: 300px;
    }
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
    min-width: 250px;
}

.cta-text h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-darker-blue);
    margin-bottom: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.005em;
}

.cta-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.phone-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
    background: var(--gradient-primary-hover);
}


.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}

.scroll-animate.from-right {
    transform: translateX(20px);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.scroll-animate.delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate.delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate.delay-3 {
    transition-delay: 0.3s;
}










.highlighted-services {
    padding: 60px 20px;
    background: var(--gradient-highlighted);
    margin: 40px 0;
    position: relative;
}

.highlighted-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 25%,
        #ffffff 50%,
        rgba(255, 255, 255, 0.3) 75%,
        transparent 100%
    );
}

.highlighted-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.highlighted-service-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlighted-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-dark-blue));
}

.highlighted-service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.highlighted-service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-darker-blue);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlighted-service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-darker-blue);
    margin-bottom: 16px;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.005em;
}

.highlighted-service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
}

.highlighted-services .section-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlighted-services .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}


/* Statistics Section Styles */
.stats-section {
    background: var(--gradient-secondary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, var(--overlay-primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--overlay-primary) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--overlay-primary-lighter) 0%, transparent 50%);
    pointer-events: none;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.stat-item {
    background: var(--bg-white-transparent-9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 
        0 10px 30px var(--shadow-dark),
        0 4px 10px var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-light-blue), var(--primary-blue));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px var(--shadow-primary-medium);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px var(--shadow-primary-dark);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-darker-blue);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-lighter);
    line-height: 1.6;
    font-weight: 400;
}

.stats-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.06);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90a4, #2d5a6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.highlight-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.highlight-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}




@media (max-width: 704px){
    .hero {
        margin-top: -12rem;
        padding-top: 16rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-grid {
        top: -1rem;
        height: calc(100vh + 1rem);
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .carousel-content {
        padding-top: 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0 1rem;
    }
    
    .carousel-content h2 {
        font-size: 2rem !important;
    }
    
    .carousel-content p {
        font-size: 0.8rem !important;
    }
    
    .carousel-content .btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    
    /* Make hero highlight items smaller for mobile */
    .stats-highlights {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin: 0 1rem;
    }
    
    .highlight-item {
        padding: 1.2rem;
        gap: 0.8rem;
        border-radius: 10px;
        margin: 0 0.5rem;
    }
    
    .highlight-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .highlight-content h4 {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .highlight-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Make carousel images smaller for mobile */
    .hero-grid-slide {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    body {
        width: 100%;
        max-width: 100vw;
    }
    
    html {
        width: 100%;
    }
}

@media (max-width: 595px){
    .hero {
        height: 100vh;
        margin-top: -9rem;
        padding-top: 12rem;
        overflow: hidden;
        position: relative;
    }
    
    .hero-grid {
        position: absolute;
        top: -9rem;
        left: 0;
        width: 100%;
        height: calc(100vh + 9rem);
        overflow: hidden;
    }
    
    .hero-grid-slide {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }
    
    .carousel-content {
        position: relative;
        z-index: 10;
        padding: 2rem;
        text-align: center;
    }

    .carousel-content h2 {
        font-size: 2rem !important;
    }
    
    .carousel-content p {
        font-size: 1rem !important;
    }
    
    .carousel-content .btn {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    body {
        width: 100%;
        max-width: 100vw;
    }
    
    html {
        width: 100%;
    }
}


@media (max-width: 1200px){
    /* Make hero highlight items smaller */
    .stats-highlights {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .highlight-item {
        padding: 1.5rem;
        gap: 1rem;
        border-radius: 12px;
    }
    
    .highlight-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    
    .highlight-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .highlight-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Reduce carousel/hero section font sizes */
    .carousel-content h2 {
        font-size: 3rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
    }
    
    .carousel-content .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Make carousel images smaller */
    .hero-grid-slide {
        background-size: cover;
        background-position: center;
    }
}






/* Stack practice info at 1000px */
@media (max-width: 1000px) {
    .practice-info {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
        text-align: center;
    }
    
    .practice-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .practice-text {
        flex: none;
        width: 100%;
    }
}

/* Smaller fonts at 740px */
@media (max-width: 740px) {
    .hgp-info{
        padding-top: 5rem;
    }
    
    /* Consistent section title font sizes */
    .section-title {
        font-size: 2rem !important;
    }
    
    .hgp-info .section-subtitle {
        font-size: 1rem !important;
    }
    
    .practice-description {
        font-size: 1rem !important;
    }
    
    .definition-box h4 {
        font-size: 1.1rem !important;
    }
    
    .definition-box p {
        font-size: 0.95rem !important;
    }
    
    .doctor-name {
        font-size: 1.2rem !important;
    }
    
    .doctor-specialty {
        font-size: 0.9rem !important;
    }
    
    .doctor-credentials {
        font-size: 0.85rem !important;
    }
    
    .bio-link {
        font-size: 0.9rem !important;
    }
}