:root {
    --primary-blue: #004a99;
    --teal: #00c2a8;
    --dark-blue: #002d5b;
    --text-gray: #666;
    --light-bg: #f4f7fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

/* Navbar */
header { padding: 15px 8%; background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; color: var(--primary-blue); font-size: 1.1rem; line-height: 1.2; }
.logo span { display: block; font-size: 0.7rem; color: var(--text-gray); font-weight: 400; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 25px; position: relative; }
.nav-links a { text-decoration: none; color: #444; font-size: 0.85rem; }
.active-tab { background: #eef4ff; color: var(--primary-blue) !important; padding: 8px 15px; border-radius: 20px; font-weight: 600; }
.btn-book-nav { background: var(--primary-blue); color: white !important; padding: 10px 25px; border-radius: 5px; font-weight: 600; }

/* DROPDOWN & SCROLLBAR */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 10px;
    border-top: 3px solid var(--teal);
    max-height: 200px; /* Limit height for scroll */
    overflow-y: auto;  /* Enable scroll bar */
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content li a { padding: 12px 20px; display: block; border-bottom: 1px solid #f0f0f0; }
.dropdown-content li a:hover { background: #f9f9f9; color: var(--teal) !important; }

/* Scrollbar Styling */
.dropdown-content::-webkit-scrollbar { width: 6px; }
.dropdown-content::-webkit-scrollbar-track { background: #f1f1f1; }
.dropdown-content::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 10px; }

/* Breadcrumb */
.breadcrumb { padding: 20px 8%; background: #fff; font-size: 0.8rem; color: #888; text-align: center; border-bottom: 1px solid #eee; }
.breadcrumb span { margin: 0 10px; }

/* About Hero */
.about-hero { padding: 80px 8% 40px; text-align: center; }
.section-tag { color: var(--teal); font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 15px; }
.about-title { font-size: 3rem; color: var(--dark-blue); margin-bottom: 25px; font-weight: 800; }
.about-desc { color: var(--text-gray); max-width: 800px; margin: 0 auto; line-height: 1.8; font-size: 1.05rem; }

/* Cards Section */
.mission-section { padding: 40px 8% 100px; background: #fff; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 50px; }
.mission-card { background: #fff; padding: 40px 30px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; transition: 0.3s; }
.mission-card:hover { transform: translateY(-5px); }
.mission-icon { background: #eef4ff; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.5rem; margin-bottom: 20px; }
.mission-card h3 { color: var(--dark-blue); margin-bottom: 15px; font-size: 1.2rem; }
.mission-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; }

/* CTA Button */
.center-btn { text-align: center; }
.btn-schedule { background: var(--dark-blue); color: white; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-schedule:hover { background: var(--primary-blue); }

/* Footer */
footer { background: var(--primary-blue); color: white; padding: 60px 8% 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3 { margin-bottom: 20px; font-size: 1.4rem; }
.footer-col h4 { margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; opacity: 0.8; font-size: 0.9rem; cursor: pointer; }
.footer-col p { opacity: 0.8; font-size: 0.9rem; margin-bottom: 10px; }
.italic-tag { font-style: italic; margin-top: 15px; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 0.75rem; opacity: 0.7; }
.footer-links a { color: white; text-decoration: none; margin-left: 20px; }

/* Chat Float */
.chat-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); cursor: pointer; }

/* Responsive */
@media (max-width: 992px) {
    .mission-grid, .footer-grid { grid-template-columns: 1fr; }
    .about-title { font-size: 2.2rem; }
}
/* --- UPDATED DROPDOWN CSS --- */

.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Button */
.dropbtn {
    cursor: pointer;
    padding: 10px 0; /* Isse hover area badh jata hai */
    display: inline-block;
}

/* Hidden Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%; /* Button ke thik niche se shuru hoga */
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    border-top: 3px solid var(--teal);
    
    /* Scrollbar settings */
    max-height: 200px;
    overflow-y: auto;
}

/* Invisible Bridge: Ye sabse important hai */
/* Ye gap ko fill karta hai taaki mouse move karte waqt menu gayab na ho */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px; /* Thoda extra area hover ke liye */
}

/* Show Menu on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    color: #333 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    border-bottom: 1px solid #f5f5f5;
    transition: 0.2s;
}

.dropdown-content li a:hover {
    background-color: #f9f9f9;
    color: var(--teal) !important;
    padding-left: 25px;
}

/* Custom Scrollbar for Dropdown */
.dropdown-content::-webkit-scrollbar {
    width: 5px;
}
.dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.dropdown-content::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 10px;
}




/* --- BROAD NAV LINKS STYLING --- */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 45px; /* Links ko door-door kiya broad look ke liye */
    margin: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem; /* Font size boost */
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover:not(.btn-primary) {
    color: #004a99; /* Blue hover effect */
    transform: translateY(-2px);
}

/* --- BOOK NOW BUTTON (INDEX STYLE) --- */
.nav-links .btn-primary {
    background: #004a99;
    padding: 12px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 74, 153, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links .btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    background: #00c2a8; /* Hover par teal color */
    box-shadow: 0 8px 20px rgba(0, 194, 168, 0.3);
}

/* --- PULSE ANIMATION --- */
.pulse-btn {
    animation: navPulse 2s infinite;
}

@keyframes navPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 74, 153, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 74, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 74, 153, 0); }
}

/* --- DROPDOWN STYLING --- */
.dropdown-content {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Mobile Fix */
@media (max-width: 1100px) {
    .nav-links {
        gap: 20px;
    }
}



/* --- ABOUT HERO SECTION --- */
.about-hero {
    padding: 80px 8% 40px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    text-align: center;
    overflow: hidden;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #004a99 0%, #00c2a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    max-width: 1200px;
}

.about-desc {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease-out;
}

/* --- MISSION SECTION TADAKTI CSS --- */
.mission-section {
    padding: 80px 8%;
    background: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Mission Card Luxury Styling */
.mission-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Floating Animation for Cards */
.mission-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 74, 153, 0.15);
    border-color: #00c2a8;
}

.mission-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.6s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.2) rotateY(360deg); /* Icon ghumega */
}

.mission-card h3 {
    font-size: 1.6rem;
    color: #004a99;
    margin-bottom: 15px;
    font-weight: 700;
}

/* --- THE CTA BUTTON (Schedule a Visit) --- */
.center-btn {
    text-align: center;
    margin-top: 40px;
}

.btn-schedule {
    display: inline-block;
    padding: 18px 45px;
    background: #004a99;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 74, 153, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-schedule:hover::before {
    left: 100%; /* Shine effect animation */
}

.btn-schedule:hover {
    transform: scale(1.1);
    background: #00c2a8;
    box-shadow: 0 15px 35px rgba(0, 194, 168, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}



/* --- ABOUT HERO FLEX LAYOUT --- */
.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1.2;
    text-align: left; /* Alignment left kiya taaki image ke saath set lage */
}

.about-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1.5s ease-out;
}

.hero-doc-img {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 74, 153, 0.2);
    border: 8px solid white; /* Premium border frame */
    transition: transform 0.5s ease;
}

.hero-doc-img:hover {
    transform: scale(1.03); /* Chota sa hover effect */
}

/* --- ANIMATION --- */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 968px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        text-align: center;
    }
    .hero-doc-img {
        max-width: 300px;
        margin-top: 20px;
    }
}


/* --- DROPDOWN HEIGHT FIX --- */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 260px; /* Thoda broad taaki text wrap na ho */
    box-shadow: 0px 15px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 12px;
    top: 100%; /* Link ke thik niche khulega */
    left: 0;
    padding: 10px 0; /* Upar niche thodi jagah */
    border: 1px solid #eee;
    
    /* Ye do lines sabse zaroori hain */
    height: auto !important; 
    overflow: visible !important; 
}

/* Jab dropdown open ho */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

.dropdown-content li {
    width: 100%;
    list-style: none;
}

.dropdown-content li a {
    color: #333 !important;
    padding: 12px 20px !important;
    display: block !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease;
    text-align: left;
}

/* Hover par rang badalna */
.dropdown-content li a:hover {
    background-color: #f0f7ff;
    color: #004a99 !important;
    padding-left: 25px !important; /* Halka sa slide effect */
}

/* Smooth opening animation */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- DROPDOWN BOX SIZE FIX --- */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    /* Width ko 300px kar diya taaki lamba text andar rahe */
    min-width: 300px; 
    box-shadow: 0px 20px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 12px;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border: 1px solid #e0e6ed;
    /* Height ko auto rakha hai taaki 4 options fit aayein */
    height: auto !important;
    overflow: visible !important;
}

.dropdown-content li a {
    color: #333 !important;
    padding: 12px 20px !important;
    display: block !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.4; /* Line gap thoda badhaya */
    text-align: left;
    /* Agar text bada ho toh agli line mein aa jaye, bahar na nikle */
    white-space: normal !important; 
    transition: all 0.2s ease;
}

/* Hover Effect */
.dropdown-content li a:hover {
    background-color: #f0f7ff;
    color: #004a99 !important;
    padding-left: 25px !important;
}

/* Dropdown ko dikhane ke liye */
.dropdown:hover .dropdown-content {
    display: block;
}

/* --- RESPONSIVE CORE --- */

/* Logo & Nav Base */
.nav-logo { height: 6rem !important; width: auto !important; max-width: 100%; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; position: relative; background: white; }

/* Hamburger Style */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.hamburger span { width: 30px; height: 3px; background: #333; transition: 0.3s; }

/* Tablet & Mobile Media Queries */
@media (max-width: 1024px) {
    /* Navbar Toggle */
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; text-align: center; width: 100%; }
    .dropdown-content { position: static; box-shadow: none; display: none; }
    .dropdown:hover .dropdown-content { display: block; }

    /* About Hero Responsive */
    .about-flex { 
        flex-direction: column !important; 
        text-align: center; 
        padding: 20px;
    }
    .about-text, .about-image { 
        width: 100% !important; 
        margin: 0 !important; 
    }
    .hero-doc-img { 
        max-width: 90%; 
        margin-top: 30px; 
    }

    /* Mission Grid */
    .mission-grid {
        grid-template-columns: 1fr !important;
        padding: 20px;
    }

    /* Footer Fix */
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center;
        gap: 15px;
    }
    .footer-links {
        justify-content: center;
    }
}

/* Hamburger Animation */
.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle span:nth-child(2) { opacity: 0; }
.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }




/* --- Rios Enterprise Premium Pulse Button --- */
.btn-primary-nav {
    position: relative;
    padding: 12px 28px;
    background: #001a2c; /* Deep Dark Blue Base */
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 50px; /* Modern Pill Shape */
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    overflow: visible; /* Glow bahar dikhne ke liye */
    z-index: 1;
}

/* Continuous Flowing Background Gradient */
.btn-primary-nav::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    background: linear-gradient(45deg, #00d4ff, #004e92, #00d4ff, #00fbff);
    background-size: 400%;
    z-index: -1;
    border-radius: 50px;
    animation: flowColors 5s linear infinite; /* Colors continuously fenk raha hai */
    filter: blur(4px); /* Halka glow */
    opacity: 0.8;
}

/* Extra Glowing Aura (Ye peeche roshni phenkega) */
.btn-primary-nav::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, #00d4ff, #004e92, #00fbff);
    background-size: 400%;
    z-index: -1;
    border-radius: 50px;
    filter: blur(15px); /* Deep Glow effect */
    animation: flowColors 5s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover Effects */
.btn-primary-nav:hover {
    transform: scale(1.08) translateY(-2px);
    color: #fff !important;
    letter-spacing: 2px;
}

.btn-primary-nav:hover::after {
    opacity: 1; /* Hover pe glow bahut badh jayega */
}

/* Color Movement Logic */
@keyframes flowColors {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile Alignment Fix */
@media (max-width: 1024px) {
    .btn-primary-nav {
        margin: 15px 0;
        width: fit-content;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}


:root {
    --primary-color: #0056b3;
    --secondary-color: #28a745;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.about-hero {
    padding: 80px 0;
    background-color: var(--white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text { flex: 1; }
.about-image { flex: 1; text-align: center; }

.section-tag {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-doc-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Bio Section */
.provider-detail {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.credentials {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.specialty-tags {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty-tags span {
    background: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mission Cards */
.mission-section { padding: 80px 0; }
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.mission-card {
    padding: 40px;
    text-align: center;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.mission-card:hover { transform: translateY(-5px); }
.mission-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* Responsive */
@media (max-width: 768px) {
    .about-flex { flex-direction: column; text-align: center; }
    .about-title { font-size: 2rem; }
}


/* Core Styling */
:root {
    --primary-blue: #004a99;
    --secondary-blue: #007bff;
    --light-bg: #fdfdfd;
    --text-main: #2d3436;
    --text-muted: #636e72;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

/* Container with wider side margins for focus */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px; /* Stronger side margins */
}

/* About Hero Section */
.about-hero {
    padding: 100px 0;
    background: #ffffff;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 80px; /* Large gap between text and image */
}

.about-text {
    flex: 1.2;
}

.section-tag {
    color: var(--secondary-blue);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-title {
    font-size: 3.5rem; /* Large, bold font */
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

.about-desc {
    font-size: 1.3rem; /* Larger body text */
    line-height: 1.8;
    color: var(--text-muted);
}

.hero-doc-img {
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 25px 25px 0px #f0f4f8; /* Modern offset shadow */
}

/* Provider Detail Section */
.provider-detail {
    padding: 100px 0;
    background-color: var(--light-bg);
}

/* Constraining the bio width so it's not 'faila-faila' */
.bio-content {
    max-width: 850px; 
    margin: 0 auto; /* Centers the text block */
    text-align: left;
}

.bio-content h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.credentials {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 40px;
    border-left: 5px solid var(--secondary-blue);
    padding-left: 20px;
}

.bio-content p {
    font-size: 1.25rem; /* Larger font for readability */
    line-height: 1.9;
    margin-bottom: 25px;
    color: #444;
}

/* Modern Specialty Tags */
.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.specialty-tags span {
    background: #ffffff;
    color: var(--primary-blue);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
    transition: 0.3s;
}

.specialty-tags span:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-flex { flex-direction: column; gap: 40px; text-align: center; }
    .container { padding: 0 30px; }
    .about-title { font-size: 2.8rem; }
    .hero-doc-img { width: 100% !important; height: auto !important; }
}

/* Mission Section Styling */
.mission-section {
    padding: 100px 0;
    background-color: #ffffff; /* Clean white background */
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.mission-card {
    background: #fcfdfe;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f0f4f8;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.08);
    border-color: #007bff;
}

.mission-icon-wrap {
    width: 80px;
    height: 80px;
    background: #eef6ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
}

.mission-card h3 {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 15px;
    font-weight: 700;
}

.mission-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

/* Schedule Button Styling */
.center-btn {
    text-align: center;
    margin-top: 40px;
}

.btn-schedule {
    display: inline-block;
    background: #0056b3; /* Professional Deep Blue */
    color: white;
    padding: 20px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-schedule:hover {
    background: #003d80;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .mission-card {
        padding: 40px 25px;
    }
}

/* Update these specific parts in your about.css */

.about-desc {
    font-size: 1.25rem;
    line-height: 1.9; /* Increased line height for "broad" feel */
    color: var(--text-muted);
    max-width: 95%; /* Allows the text to breathe */
}

.bio-content {
    max-width: 900px; /* Slightly wider to accommodate expanded text */
    margin: 0 auto;
}

.bio-content p {
    font-size: 1.2rem;
    line-height: 2; /* More space between lines for readability */
    margin-bottom: 30px;
    text-align: justify; /* Optional: gives a very clean, formal edge */
    text-justify: inter-word;
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0 10px;
}

/* Add a subtle fade-in animation to make the content feel premium */
section {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* General Reset for Containers */
.container {
    max-width: 1200px; /* Standard width for large screens */
    margin: 0 auto;
    padding: 0 20px;
}

/* Flexbox Layouts */
.about-flex, .recognition-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

/* Image Scaling */
.hero-doc-img, .award-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Fixed image sizes for desktop only */
.hero-doc-img {
    width: 420px;
}

/* --- Media Queries --- */

/* Tablet Mode (Below 1024px) */
@media (max-width: 1024px) {
    .about-flex, .recognition-flex {
        gap: 30px;
    }
    
    .about-title, .recognition-title {
        font-size: 2rem;
    }
}

/* Mobile Mode (Below 768px) */
@media (max-width: 768px) {
    .about-flex, .recognition-flex {
        flex-direction: column; /* Stack vertically */
        text-align: center;
        margin-left: 0 !important; /* Reset specific margins */
    }

    .about-text, .about-image, .recognition-content, .recognition-image {
        width: 100%;
    }

    .about-image {
        order: -1; /* Image text ke upar lane ke liye */
    }

    .hero-doc-img {
        width: 100%; /* Image mobile screen fit karegi */
        max-width: 400px;
    }

    .recognition-image {
        margin-bottom: 20px;
    }

    .btn-secondary {
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
    }
}


/* Container set-up */
/* Container set-up */
.bio-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Image wale section ko thoda aur width di hai */
    gap: 50px; /* Text aur image ke beech thoda zyada space */
    align-items: stretch; /* Image height ko text ki height ke barabar lane ke liye key properties */
}

/* Text alignment */
.bio-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Text vertical center rahega */
}

/* Typography styles */
.bio-content h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
}

.credentials {
    font-size: 1.1rem;
    font-weight: bold;
    color: #0056b3; /* Example professional color */
    margin-bottom: 25px;
}

.bio-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

/* ⬇️ Key CSS for BIG, CONTENT-MATCHING IMAGE ⬇️ */
.bio-image {
    width: 100%;
    /* Grid parent ki alignment se length control hogi */
}

.bio-image img {
    width: 100%; /* Image poore div ko fill karegi width-wise */
    height: 100%; /* Image full height tak stretch hogi (important) */
    min-height: 500px; /* Desktop par ek minimum badi aspect ratio ensure karne ke liye */
    object-fit: cover; /* Photo quality maintain rahegi aur space fill karne ke liye stretch hone ki jagah crop hogi */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); /* Deep shadow */
}

/* Responsive: Mobile phones ke liye (Standard practice) */
@media (max-width: 991px) {
    .bio-grid {
        grid-template-columns: 1fr; /* Mobile par single column */
        gap: 30px;
    }
    
    .bio-image img {
        min-height: 350px; /* Mobile par height thodi kam ki hai */
    }
}






/* Font setup */


.team-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: #000;
}

/* Horizontal Layout */
.team-container {
    display: flex;
    justify-content: center;
    gap: 80px; /* Dono doctors ke beech ka gap */
    flex-wrap: wrap;
}

.doctor-card {
    flex: 0 1 400px; /* Card ki width thodi badi rakhi hai */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badi Circular Image */
.image-wrapper {
    width: 320px; /* Image size bada kiya gaya hai */
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Subtle depth ke liye */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    
    /* Ye sabse important line hai */
    object-fit: cover; 
    
    /* Agar face upar se cut raha hai toh 'top' use karein, 
       agar side se toh percentage adjust karein */
    object-position: center 20%; 
    
    display: block;
}

.doctor-card h3 {
    font-size: 1.5rem;
    margin: 10px 0 5px 0;
    color: #000;
}

.doctor-card p {
    font-size: 1.1rem;
    color: #7f8c8d; /* Grey tone professional look ke liye */
    max-width: 300px;
    line-height: 1.4;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .team-container {
        gap: 40px;
    }
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
}

/* Button Styling */
.view-profile-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #0079ca; /* Professional Black */
    color: #fff;
    text-decoration: none;
    border-radius: 5px; /* Thoda rectangular/minimalist look */
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #000;
}

.view-profile-btn:hover {
    background-color: transparent;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Card ko center karne ke liye thoda extra space */
.doctor-card {
    flex: 0 1 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

.doctor-card p {
    min-height: 50px; /* Isse dono cards ke buttons ek hi line mein rahenge */
    margin-bottom: 10px;
}