:root {
    --bg: #f0f4f8;
    --surface: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --accent: #10b981;
    --accent-dark: #059669;
    --border: #e2e8f0;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
}

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

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.doctor-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    position: relative;
}

.spinner-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.doctor-icon {
    font-size: 2.5rem;
    color: #ffffff;
    z-index: 1;
    position: relative;
}

.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    position: relative;
}

.preloader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 6px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.preloader-doctor-icon {
    font-size: 3.5rem;
    color: #ffffff;
    z-index: 1;
    position: relative;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

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

*:focus-visible {
    outline: 3px solid rgba(17, 24, 39, 0.35);
    outline-offset: 3px;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.gray-bg {
    background: #eef3f8;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 760px;
}

.page-hero {
    padding: 64px 0;
    color: #ffffff;
    background: radial-gradient(1200px 500px at 20% 10%, rgba(14, 165, 233, 0.4), transparent 55%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(16, 185, 129, 0.88)),
        url('https://images.unsplash.com/photo-1588776814546-1a88a0f0eeca?auto=format&fit=crop&w=1600&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero .hero-btns {
    justify-content: flex-start;
}

.about-hero {
    background-image: radial-gradient(1200px 500px at 20% 10%, rgba(14, 165, 233, 0.4), transparent 55%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(16, 185, 129, 0.88)),
        url('https://images.unsplash.com/photo-1588776814546-1a88a0f0eeca?auto=format&fit=crop&w=1600&q=80');
}

.services-hero {
    background-image: radial-gradient(1200px 500px at 80% 10%, rgba(14, 165, 233, 0.4), transparent 55%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(16, 185, 129, 0.88)),
        url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=1600&q=80');
}

.new-patients-hero {
    background-image: radial-gradient(1200px 500px at 20% 10%, rgba(17, 24, 39, 0.38), transparent 55%),
        linear-gradient(180deg, rgba(11, 15, 20, 0.88), rgba(11, 15, 20, 0.88)),
        url('https://images.unsplash.com/photo-1580281658629-9619f6d5c6a5?auto=format&fit=crop&w=1600&q=80');
}

.reviews-hero {
    background-image: radial-gradient(1200px 500px at 80% 10%, rgba(17, 24, 39, 0.38), transparent 55%),
        linear-gradient(180deg, rgba(11, 15, 20, 0.88), rgba(11, 15, 20, 0.88)),
        url('https://images.unsplash.com/photo-1588776813677-77b5db6a871a?auto=format&fit=crop&w=1600&q=80');
}

.hero-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.trust-item i {
    color: var(--accent);
}

.trust-item {
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-media img {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.page-hero:hover .hero-media img {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.42);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.12);
    color: var(--text);
    font-weight: 700;
}

.pill i {
    color: var(--accent-dark);
}

.pill {
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.pill:hover {
    transform: translateY(-2px);
    background: rgba(17, 24, 39, 0.08);
    border-color: rgba(17, 24, 39, 0.18);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
}

.highlight-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(223, 232, 240, 0.9);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 22px 70px rgba(17, 23, 54, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.highlight-card i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.08);
    color: var(--accent-dark);
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.highlight-card p {
    color: var(--muted);
    line-height: 1.8;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 90px rgba(17, 23, 54, 0.14);
    border-color: rgba(17, 24, 39, 0.16);
}

.cta-card {
    background: radial-gradient(900px 380px at 20% 10%, rgba(14, 165, 233, 0.35), transparent 55%),
        var(--gradient);
    color: #ffffff;
    border-radius: 26px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 28px 90px rgba(14, 165, 233, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 110px rgba(2, 6, 23, 0.42);
    border-color: rgba(255, 255, 255, 0.18);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 18px;
}

.cta-card .btn-secondary {
    background: rgba(255, 255, 255, 0.14);
}

.steps-list {
    margin-top: 16px;
    padding-left: 18px;
    display: grid;
    gap: 12px;
}

.steps-list li {
    color: var(--muted);
    line-height: 1.8;
}

.services-container {
    margin-top: 26px;
}

.service-card {
    position: relative;
}

.offer-card {
    padding-top: 60px;
}

.service-card img {
    transition: transform 0.6s ease;
}

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

.badge-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--gradient);
    border: none;
    color: #ffffff;
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.service-card:hover .badge-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.45);
}

.service-points {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0 22px 24px;
    margin-top: 16px;
    color: var(--muted);
    font-weight: 600;
}

.service-points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.service-points li::before {
    content: "•";
    color: var(--accent);
    font-weight: 900;
    margin-top: 1px;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.check-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(223, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text);
    font-weight: 700;
}

.check-item i {
    color: var(--accent-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 16px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 18px;
    box-shadow: 0 18px 60px rgba(17, 23, 54, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(17, 23, 54, 0.1);
    border-color: rgba(17, 24, 39, 0.14);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-weight: 800;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.08);
    color: var(--accent-dark);
    flex: 0 0 auto;
}

.faq-item[open] summary::after {
    content: "—";
}

.faq-item p {
    color: var(--muted);
    line-height: 1.85;
    margin-top: 14px;
}

header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 31, 56, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1000;
}

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

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 31, 56, 0.1);
    box-shadow: 0 18px 50px rgba(17, 23, 54, 0.1);
    padding: 4px;
}

.brand-text,
.logo h1 {
    color: var(--text);
    font-size: 0.95rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 800;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 31, 56, 0.12);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.nav-toggle:hover {
    border-color: rgba(17, 24, 39, 0.26);
}

.navbar.nav-open .nav-toggle {
    transform: rotate(6deg);
    border-color: rgba(17, 24, 39, 0.26);
}

.nav-toggle i {
    transition: transform 0.25s ease;
}

.navbar.nav-open .nav-toggle i {
    transform: rotate(90deg);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0;
    transform: scaleX(0.7);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.btn-phone {
    background: var(--gradient);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.35);
}

.btn-phone:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 26px 70px rgba(14, 165, 233, 0.45);
}

.btn-primary,
.btn-secondary {
    box-shadow: 0 18px 40px rgba(17, 23, 54, 0.12);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 70px rgba(17, 23, 54, 0.18);
}

.btn-primary:active,
.btn-secondary:active,
.btn-phone:active {
    transform: translateY(0);
}

.hero {
    min-height: calc(100vh - 92px);
    display: grid;
    place-items: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.7), rgba(16, 185, 129, 0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    padding: 0 16px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.03;
    margin-bottom: 20px;
}

.hero-subtitle {
    display: inline-block;
    color: rgba(255, 255, 255, 0.84);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.tagline {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.video-preview{
    display:flex;
    justify-content:center;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.animate-fade-up:nth-child(1) {
    transition-delay: 0.06s;
}

.animate-fade-up:nth-child(2) {
    transition-delay: 0.12s;
}

.animate-fade-up:nth-child(3) {
    transition-delay: 0.18s;
}

.animate-fade-up:nth-child(4) {
    transition-delay: 0.24s;
}

.animate-fade-up:nth-child(5) {
    transition-delay: 0.3s;
}

.animate-fade-up:nth-child(6) {
    transition-delay: 0.36s;
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.services-section{
    padding: 80px 10%;
    background: #f5f7fb;
    text-align: center;
}

.services-section h1{
    font-size: 55px;
    margin-bottom: 20px;
    color: #0b2454;
}

.subtitle{
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

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

.service-card{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    padding-bottom: 30px;
}

.service-card:hover{
    transform: translateY(-10px);
}

.service-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card h3{
    margin-top: 22px;
    padding: 0 22px;
    font-size: 28px;
    color: var(--text);
}

.service-card p{
    padding: 0 22px;
    margin-top: 15px;
    color: var(--muted);
    line-height: 1.7;
}

.grid-2,
.gallery-grid,
.feature-grid,
.doctor-grid,
.team-grid,
.contact-grid {
    display: grid;
    gap: 30px;
}

.grid-1 {
    grid-template-columns: repeat(none minmax(260px, 1fr));
    align-items: center;
    justify-items: center;
    object-fit: contain;
}

.feature-grid .feature-card.section-card {
    padding: 24px;
    gap: 10px;
}

.feature-grid .feature-card.section-card h3 {
    margin-bottom: 8px;
}

.feature-grid .feature-card.section-card p {
    margin: 0;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-grid,
.doctor-grid,
.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-card,
.image-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 40px 24px;
    text-align: center;
}

.section-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.section-card .btn-primary,
.section-card .btn-secondary {
    align-self: center;
}

.btns-left {
    justify-content: flex-start;
}

.image-card {
    overflow: hidden;
    /* width: 50%; */
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.image-card img {
    border-radius: 22px;
    width: 100%;
    object-fit: contain;
}

.section-card h3,
.section-card h4,
.doctor-card h3,
.team-card h3,
.contact-card h3 {
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.9rem;
}

.section-card p,
.doctor-card p,
.team-card p,
.contact-card p,
.image-card p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 16px;
}

.section-card p:last-child,
.doctor-card p:last-child,
.team-card p:last-child,
.contact-card p:last-child,
.image-card p:last-child {
    margin-bottom: 0;
}

.feature-card,
.service-card,
.doctor-card,
.team-card,
.card,
.contact-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card {
    gap: 16px;
}

.service-card:hover,
.testimonial-card:hover,
.card:hover,
.contact-panel:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.25);
}

.doctor-card,
.team-card,
.contact-card {
    gap: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 200px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    justify-content: center;
    flex-grow: 1;
}

.card-content p {
    line-height: 1.6;
}

.video-preview {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.podcast-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 30px;
    align-items: center;
}

.podcast-embed {
    padding: 0;
    background: #000000;
    border: 1px solid rgba(17, 23, 54, 0.08);
    aspect-ratio: 16 / 9;
    max-height: 360px;
    position: relative;
    overflow: hidden;
}

.podcast-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.podcast-overlay:hover {
    cursor: pointer;
}

.podcast-embed .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 100% !important;
}

.podcast-embed iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
    pointer-events: none;
}

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

    .podcast-embed {
        aspect-ratio: 9 / 16;
        max-height: 520px;
    }

    .podcast-embed iframe {
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
        height: 100% !important;
    }
}

.video-preview iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 20px;
    align-items: center;
}

footer {
    background: var(--primary);
    color: #f8fbff;
    padding: 40px 0;
}

footer p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.site-footer {
    padding: 58px 0 34px;
    background: radial-gradient(1000px 420px at 20% 10%, rgba(14, 165, 233, 0.3), transparent 55%),
        linear-gradient(135deg, #075985, #065f46);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(200px, 1fr));
    gap: 26px;
    align-items: start;
}

.footer-brand h3 {
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(248, 251, 255, 0.82);
    max-width: 460px;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.footer-actions .btn-primary {
    flex: 1 1 100%;
    white-space: nowrap;
}

.footer-actions .btn-secondary {
    flex: 1 1 240px;
    white-space: nowrap;
}

.footer-actions .btn-primary,
.footer-actions .btn-secondary {
    padding: 12px 18px;
    font-size: 0.95rem;
}

.footer-col h4 {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(248, 251, 255, 0.82);
    font-weight: 600;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-meta {
    display: grid;
    gap: 10px;
    color: rgba(248, 251, 255, 0.82);
}

.footer-meta a {
    color: rgba(248, 251, 255, 0.9);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding-top: 22px;
    margin-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(248, 251, 255, 0.78);
    margin: 0;
}

.footer-social {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    align-items: start;
    gap: 18px;
    margin-top: 26px;
}

.review-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(223, 232, 240, 0.9);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 22px 70px rgba(17, 23, 54, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: start;
}

.review-stars {
    color: #f6c343;
    letter-spacing: 1px;
}

.review-text {
    margin: 0;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card p {
    margin: 0;
}

.review-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--text);
}

.review-author i {
    color: var(--accent-dark);
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 18px 46px rgba(14, 165, 233, 0.4);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 28px 70px rgba(14, 165, 233, 0.5);
    filter: brightness(1.05);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.rating-card {
    background: radial-gradient(900px 380px at 20% 10%, rgba(17, 24, 39, 0.28), transparent 55%),
        linear-gradient(135deg, #0b0f14, #101827);
    color: #ffffff;
    border-radius: 26px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.35);
}

.rating-card .review-stars {
    color: #ffd56b;
    font-size: 1.05rem;
}

.rating-card p {
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .navbar {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .nav-cta {
        width: auto;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .review-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .grid-2,
    .footer-grid,
    .contact-layout-grid,
    .feature-grid,
    .doctor-grid,
    .team-grid,
    .gallery-grid,
    .service-card,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 72vh;
    }
}

@media (max-width: 840px) {
    .nav-links {
        justify-content: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .navbar {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .nav-cta {
        width: auto;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(15, 31, 56, 0.1);
        box-shadow: 0 30px 80px rgba(17, 23, 54, 0.12);
        z-index: 1001;
    }

    .navbar.nav-open .nav-links {
        display: flex;
        animation: navDrop 0.22s ease both;
    }

    .nav-links a {
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(244, 247, 251, 0.8);
    }

    .nav-links a.active {
        background: rgba(17, 24, 39, 0.08);
    }

    .page-hero {
        padding: 54px 0;
    }

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

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

    .section-card,
    .image-card {
        padding: 30px;
    }

    .section-card {
        gap: 16px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: 60vh;
    }

    .hero h1,
    .hero h2 {
        font-size: 2.4rem;
    }

    .section-padding {
        padding: 60px 0;
    }

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

    .hero-content {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .navbar {
        justify-content: center;
        text-align: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav-links {
        gap: 12px;
    }

    .brand-text {
        display: none;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .btn-phone {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .hero {
        min-height: 55vh;
        padding: 40px 0;
    }

    .hero h1,
    .hero h2 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .section-padding {
        padding: 50px 0;
    }

    .contact-panel {
        padding: 36px 22px;
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 48vh;
    }

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

    .section-subtitle,
    .hero-subtitle,
    .tagline,
    .hero-content p {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-phone {
        width: 100%;
        justify-content: center;
    }

    .nav-cta {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar .btn-phone {
        width: auto;
        max-width: 280px;
    }

    .hero-content {
        padding: 0 14px;
    }
}

.contact-hero {
    min-height: 40vh;
    background-image: radial-gradient(1200px 500px at 20% 10%, rgba(14, 165, 233, 0.4), transparent 55%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(16, 185, 129, 0.88)),
        url('https://images.unsplash.com/photo-1588776814546-1a88a0f0eeca?auto=format&fit=crop&w=1600&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: left;
}

.contact-hero .hero-content {
    max-width: 760px;
    padding: 0 18px;
}

.contact-hero h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.contact-hero a {
    color: rgba(255, 255, 255, 0.92);
}

.contact-page {
    padding-top: 0;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 0;
    min-height: 520px;
}

.contact-panel {
    background: #0b0f14;
    color: #ffffff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-panel h2 {
    margin-bottom: 24px;
    color: #ffffff;
}

.contact-panel p {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.contact-panel a {
    color: rgba(255, 255, 255, 0.92);
}

.contact-section {
    margin-top: 32px;
}

.contact-section h3 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 1.05rem;
}

.contact-section p {
    margin-bottom: 12px;
}

.contact-map {
    min-height: 520px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 840px) {
    .nav-links {
        justify-content: center;
    }

    .hero {
        min-height: 72vh;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .contact-hero {
        text-align: center;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 40px 24px;
    }

    .contact-map {
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .navbar {
        justify-content: center;
        text-align: center;
    }

    .hero {
        min-height: 65vh;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-btns {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 55vh;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-subtitle,
    .tagline,
    .section-subtitle,
    .hero-content p {
        font-size: 0.95rem;
    }

    .section-padding {
        padding: 45px 0;
    }

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

    .hero-btns,
    .nav-links {
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-phone {
        width: 100%;
        justify-content: center;
    }

    .contact-panel {
        padding: 32px 20px;
    }

    .contact-map {
        min-height: 360px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: 32px 0;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

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

    .hero-content,
    .section-content,
    .contact-panel {
        padding: 0 18px;
    }

    .section-card,
    .service-card,
    .testimonial-card,
    .feature-card,
    .doctor-card,
    .team-card,
    .contact-card {
        padding: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .hero {
        min-height: 45vh;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-subtitle,
    .tagline,
    .section-subtitle,
    .footer p,
    .contact-panel p {
        font-size: 0.9rem;
    }

    .hero-btns,
    .nav-links {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-phone {
        padding: 12px 18px;
    }

    .contact-map {
        min-height: 300px;
    }
    .video-preview iframe {
        min-height: 240px;
    }
}
