﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #0d9488;
    --primary-emerald: #059669;
    --accent-amber: #f59e0b;
    --dark-slate: #0f172a;
    --soft-cream: #fef3c7;
    --light-teal: #ccfbf1;
    --gradient-medical: linear-gradient(135deg, #0d9488 0%, #059669 50%, #10b981 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

body {
    font-family: 'Sora', -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--dark-slate);
    background: #ffffff;
    overflow-x: hidden;
}

/* ================= TOP BAR ================= */
.topbar {
    background: #f5f5f5;
    padding: 8px 13px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    flex: 1;
}

.top-right {
    display: flex;
    gap: 10px;
}

.social {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.social:hover {
    transform: scale(1.1);
}

.fb { background: #1877f2; }
.insta { background: #e4405f; }
.yt { background: #ff0000; }

/* ================= HEADER ================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 5px #ddd;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #f2a900;
    z-index: 1001;
}

/* ================= NAVIGATION - DESKTOP ================= */
.navmenu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navmenu a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
    font-weight: 500;
}

.navmenu a:hover,
.navmenu .active {
    color: var(--primary-teal);
}

/* Dropdown arrow styling */
.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 5px;
}

/* Dropdown - Desktop */
.dropdown {
    position: relative;
}

.dropdown > ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown:hover > ul {
    display: block;
}

.dropdown ul li {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown ul li:last-child {
    border-bottom: none;
}

.dropdown ul a {
    padding: 12px 20px;
    white-space: nowrap;
}

.dropdown ul a:hover {
    background: #f8f8f8;
}

/* Nested dropdown */
.dropdown ul ul {
    top: 0;
    left: 100%;
}

/* Mobile toggle button */
.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 15px;
    background: var(--primary-teal);
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-nav-toggle:hover {
    background: var(--primary-emerald);
}

.mobile-nav-toggle.active {
    background: var(--accent-amber);
}

.hamburger-icon {
    display: block;
    font-size: 24px;
}

/* ================= MOBILE NAVIGATION ================= */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px;
    }

    .top-left {
        font-size: 12px;
    }

    .header {
        padding: 12px 20px;
    }

    .logo {
        font-size: 20px;
    }

    /* Show mobile button */
    .mobile-nav-toggle {
        display: block;
    }

    /* Main menu - mobile */
    .navmenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .navmenu ul {
        display: none;
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .navmenu ul.show {
        display: flex;
    }

    .navmenu > ul > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .navmenu a {
        padding: 15px 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Dropdown - mobile */
    .dropdown > ul {
        position: static;
        box-shadow: none;
        background: #f5f5f5;
        display: none;
        min-width: 100%;
        margin: 0;
    }

    .dropdown.open > ul {
        display: block;
    }

    .dropdown ul li {
        border-bottom: 1px solid #e0e0e0;
    }

    .dropdown ul a {
        padding: 12px 20px 12px 40px;
    }

    .dropdown ul ul {
        position: static;
        background: #ececec;
    }

    .dropdown ul ul a {
        padding-left: 60px;
    }

    /* Dropdown arrow rotation on mobile */
    .dropdown.open > a .dropdown-arrow {
        transform: rotate(180deg);
        display: inline-block;
    }
}

/* Profile Hero Section */
.profile-hero {
    background: var(--gradient-medical);
    padding: 80px 8%;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-image-wrapper {
    position: relative;
}

.profile-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    border: 6px solid rgba(255,255,255,0.2);
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--primary-teal);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-amber);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(245,158,11,0.4);
    font-weight: 700;
}

.experience-badge .years {
    font-size: 2rem;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-info {
    color: white;
}

.profile-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.2;
}

.profile-info .designation {
    font-size: 1.3rem;
    margin-bottom: 10px;
    opacity: 0.9;
    font-weight: 300;
}

.profile-info .qualification {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.85;
    letter-spacing: 2px;
}

.profile-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
}

.stat-box .number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.stat-box .label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 100px 8%;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--primary-teal);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-slate);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
}

/* Expertise Section */
.expertise-section {
    padding: 100px 8%;
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdfa 100%);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: white;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary-teal);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(13,148,136,0.15);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.expertise-card h3 {
    font-size: 1.4rem;
    color: var(--primary-teal);
    margin-bottom: 12px;
    font-weight: 700;
}

.expertise-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Education Section */
.education-section {
    padding: 100px 8%;
    background: white;
}

.timeline {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-medical);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 18px;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary-teal);
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--light-teal);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid var(--light-teal);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-teal);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content .year {
    color: var(--accent-amber);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.7;
}

/* Achievements Section */
.achievements-section {
    padding: 100px 8%;
    background: var(--dark-slate);
    color: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.achievement-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.achievement-card:hover {
    background: var(--gradient-medical);
    transform: translateY(-10px);
    border-color: transparent;
}

.achievement-card .icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.achievement-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-medical);
    padding: 80px 8%;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    background: #ffffff;
    color: #0f172a;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cta-btn:hover {
    background: #0f172a;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    background: #1b4332;
    color: #fff;
    padding: 50px 5% 20px;
    font-size: 14px;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 700;
}

.footer-logo {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.site-footer p {
    color: #ddd;
    line-height: 1.7;
    font-size: 14px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12, .col-6, .col-md-3, .col-md-6, .col-lg-2, .col-lg-4 {
    padding: 0 15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-lg-2 { flex: 0 0 16.666%; max-width: 16.666%; }
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.footer-contact li {
    margin-bottom: 10px;
    color: #eee;
    font-size: 13px;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.footer-links a:hover {
    color: #6fdc8c;
    padding-left: 5px;
}

.footer-bottom {
    background: #0d2818;
    text-align: center;
    padding: 18px 0;
    margin-top: 45px;
    font-size: 13px;
    color: #aaa;
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #2f7d32;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(47,125,50,0.4);
}

#backToTop:hover {
    background: #256628;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47,125,50,0.6);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37,211,102,0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }

    .profile-info h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .profile-hero {
        padding: 60px 5%;
    }

    .profile-info h1 {
        font-size: 2rem;
    }

    .profile-info .designation {
        font-size: 1.1rem;
    }

    .profile-info .qualification {
        font-size: 0.95rem;
    }

    .profile-info p {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 3px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-section,
    .expertise-section,
    .education-section,
    .achievements-section,
    .cta-section {
        padding: 60px 5%;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }

    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .site-footer {
        padding: 40px 5% 20px;
    }

    .row {
        flex-direction: column;
    }

    .col-12, .col-6, .col-md-3, .col-md-6, .col-lg-2, .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .profile-info h1 {
        font-size: 1.8rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: -15px;
    }

    .experience-badge .years {
        font-size: 1.6rem;
    }

    .experience-badge .text {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content {
        font-size: 1rem;
    }

    .expertise-card,
    .achievement-card {
        padding: 25px 20px;
    }

    .timeline-content {
        padding: 20px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}