/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    /* Luxurious Deep Violet & Champagne Gold Theme for Dr. Dhruvi */
    --primary-color: #6b4c9a;
    --primary-dark: #553c7d;
    --primary-light: #9b7bc7;
    --secondary-color: #d4af37;
    --accent-color: #8b5a8a;
    --accent-gold: #c9a227;
    --accent-rose: #c46b8a;
    --text-dark: #2a2438;
    --text-light: #5d5470;
    --bg-light: #f9f7fc;
    --bg-white: #ffffff;
    --bg-cream: #faf8fd;
    --border-color: #e8e0f0;
    --shadow: 0 1px 3px 0 rgba(107, 76, 154, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px -1px rgba(107, 76, 154, 0.15), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 28px -4px rgba(107, 76, 154, 0.2), 0 6px 12px -2px rgba(0, 0, 0, 0.06);
    --gradient-primary: linear-gradient(135deg, #6b4c9a 0%, #8b5a8a 50%, #d4af37 100%);
    --gradient-subtle: linear-gradient(135deg, #f9f7fc 0%, #faf8fd 100%);
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6, .hero-title, .section-title {
    font-family: 'Playfair Display', Georgia, serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
}

/* Hero Section - Luxurious Violet & Gold Theme */
.hero {
    background: linear-gradient(135deg, #4a3370 0%, #6b4c9a 25%, #8b5a8a 50%, #a86b7a 70%, #d4af37 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Animated gradient mesh overlay */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(155, 123, 199, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(139, 90, 138, 0.15) 0%, transparent 40%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes gradientShift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, 2%) rotate(1deg);
    }

    50% {
        transform: translate(0, 4%) rotate(0deg);
    }

    75% {
        transform: translate(-2%, 2%) rotate(-1deg);
    }
}

/* Floating decorative orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(155, 123, 199, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 20% 70%, rgba(139, 90, 138, 0.1) 0%, transparent 20%);
    animation: floatOrbs 20s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes floatOrbs {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.02);
        opacity: 0.8;
    }

    100% {
        transform: translateY(10px) scale(0.98);
        opacity: 0.7;
    }
}

/* Decorative geometric shapes */
/* About Section Re-design */
.about-section {
    background-color: var(--bg-cream);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    z-index: 1;
}

.about-shape-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.15;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-content {
    text-align: left;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.secondary-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.hero-content {
    max-width: 850px;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    text-align: left;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out;
    position: relative;
    display: inline-block;
}

/* Animated underline for title */
.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.4;
        width: 80px;
    }

    50% {
        opacity: 1;
        width: 150px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    font-weight: 400;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    margin-bottom: 2rem;
}

/* Hero Image Styles */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.hero-image {
    width: 340px;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 5px solid rgba(212, 175, 55, 0.6);
    box-shadow:
        0 0 30px rgba(212, 175, 55, 0.25),
        0 0 60px rgba(107, 76, 154, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    animation: heroFloat 6s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover {
    transform: scale(1.04);
    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.35),
        0 0 80px rgba(107, 76, 154, 0.2),
        0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Glowing backdrop behind image */
.hero-image-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(107, 76, 154, 0.15) 40%, transparent 70%);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite alternate;
    filter: blur(20px);
}

/* Decorative spinning ring */
.hero-image-ring {
    position: absolute;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    z-index: 1;
    animation: spinRing 20s linear infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes glowPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes spinRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-dark);
    color: white;
}

.bg-dark .section-title {
    color: white;
}

.bg-dark .campaign-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.bg-dark .campaign-card h3 {
    color: var(--secondary-color);
}

.bg-dark .campaign-card p {
    color: rgba(255, 255, 255, 0.85);
}

.pattern-bg {
    position: relative;
    overflow: hidden;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

.bg-dark .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-dark);
}

.lead-text {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Qualifications Grid */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.qual-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.qual-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.qual-card ul {
    list-style: none;
}

.qual-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.qual-card li:last-child {
    border-bottom: none;
}

.qual-card li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 50%;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1rem 3rem;
    text-align: right;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    justify-content: flex-start;
}

.timeline-content {
    flex: 0 0 50%;
    background: transparent;
    padding: 0 3rem 2rem 3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.timeline-item:nth-child(even) .timeline-content {
    align-items: flex-end;
    text-align: right;
}

/* Add an elegant dot on the timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 1.25rem;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(107, 76, 154, 0.2);
    z-index: 2;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.4rem;
}

.timeline-org {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
}

.additional-positions,
.office-bearer {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.additional-positions h3,
.office-bearer h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.positions-list {
    list-style: none;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.positions-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.positions-list li:last-child {
    border-bottom: none;
}

.positions-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.award-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.award-year {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.award-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.award-org {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Campaigns Grid */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.campaign-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.campaign-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.campaign-card p {
    color: var(--text-light);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Publications */
.publications-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.publication-item p {
    color: var(--text-light);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.publication-item strong {
    color: var(--text-dark);
}

.publication-item-hidden {
    display: none;
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
}

.load-more-btn:hover {
    background: var(--primary-dark);
}

/* Memberships Grid */
.memberships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.membership-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Languages Grid */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.language-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.language-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.language-level {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Contact Section */
.main-hospitals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.contact-hospital-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid transparent;
}

.contact-hospital-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-hospital-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-hospital-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.visit-website-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.contact-hospital-card:hover .visit-website-link {
    gap: 0.75rem;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-note {
    margin-top: 1.5rem;
    font-style: italic;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 76, 154, 0.3);
}

.social-link svg {
    flex-shrink: 0;
}

/* Hospital Branches */
.branches-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.branch-card {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    border-left-color: var(--primary-color);
}

.branch-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: var(--bg-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.branch-card h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.branch-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 5rem 0 10rem 0; /* Extra bottom padding for the watermark text */
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-credit {
    font-size: 0.875rem;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
}

.footer-credit a:hover {
    color: white;
    border-bottom-color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .qualifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .awards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .campaigns-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        transition: left 0.2s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        padding: 0.5rem;
        margin-right: -0.5rem;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
    }

    .hero-image {
        width: 260px;
        height: 260px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image-glow {
        width: 300px;
        height: 300px;
    }

    .hero-image-ring {
        width: 290px;
        height: 290px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-badges {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .lead-text {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 2rem;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }

    .timeline-date {
        flex: 0 0 auto;
        font-size: 0.9rem;
        text-align: left !important;
        padding: 0 0 0.5rem 0;
        justify-content: flex-start !important;
    }

    .timeline-content {
        margin-left: 0;
        margin-right: 0;
        padding: 0 0 1.5rem 0;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .timeline-item::before {
        left: 0 !important;
        top: 0.25rem !important;
        transform: none !important;
    }

    .timeline-content h3 {
        font-size: 1.125rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .qualifications-grid,
    .awards-grid,
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .qual-card,
    .award-card,
    .campaign-card {
        padding: 1.5rem;
    }

    .publications-tabs {
        flex-direction: column;
        gap: 0.75rem;
    }

    .tab-button {
        width: 100%;
        padding: 0.875rem 1.25rem;
    }

    .publication-item {
        padding: 1.25rem;
    }

    .publication-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .memberships-grid {
        grid-template-columns: 1fr;
    }

    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .additional-positions,
    .office-bearer {
        margin-top: 2rem;
    }

    .positions-list {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 0 12px;
    }

    .nav-toggle {
        padding: 0.5rem;
        margin-right: -0.25rem;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .about-grid {
        gap: 2rem;
    }

    .about-image {
        max-width: 320px;
    }

    .hero-image-glow {
        width: 240px;
        height: 240px;
    }

    .hero-image-ring {
        width: 230px;
        height: 230px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .lead-text {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .qualifications-grid,
    .awards-grid,
    .campaigns-grid,
    .main-hospitals {
        grid-template-columns: 1fr;
    }

    .qual-card h3,
    .campaign-card h3 {
        font-size: 1.125rem;
    }

    .award-title {
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-date {
        font-size: 0.8rem;
    }

    .timeline-content {
        padding: 0 0 1.25rem 0;
    }
    
    .timeline {
        padding-left: 15px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item::before {
        width: 12px;
        height: 12px;
        top: 0.35rem !important;
    }

    .languages-grid {
        grid-template-columns: 1fr;
    }

    .language-item {
        padding: 1.25rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .container {
        padding: 0 10px;
    }
}

/* ========================================
   Premium Enhancements - Violet & Gold Theme
   ======================================== */

/* Enhanced Card Styles with Hover Effects */
.stat-card,
.qual-card,
.award-card,
.campaign-card,
.membership-item,
.language-item,
.publication-item,
.timeline-content,
.positions-list,
.contact-info {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.stat-card:hover,
.qual-card:hover,
.award-card:hover,
.campaign-card:hover,
.membership-item:hover,
.language-item:hover,
.timeline-content:hover,
.contact-info:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Stat card special enhancement */
.stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f9f7fc 100%);
    border-top: 3px solid var(--primary-color);
}

.stat-card:hover .stat-number {
    color: var(--primary-dark);
}

/* Award card left border gradient effect */
.award-card {
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--primary-color), var(--accent-gold)) 1;
}

/* Qualification card accent */
.qual-card {
    border-top: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--primary-color), var(--accent-gold)) border-box;
    border-top: 3px solid transparent;
}

.qual-card h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Campaign card decoration */
.campaign-card {
    position: relative;
    overflow: hidden;
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-gold));
}

/* Enhanced badges with glassmorphism */
.badge {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* Button enhancements */
.tab-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 76, 154, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 12px rgba(107, 76, 154, 0.35);
}

.load-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 76, 154, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 76, 154, 0.4);
}

/* Navigation enhancements */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.nav-brand {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Section title enhancement */
.section-title {
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Timeline enhancements */
.timeline::before {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-gold));
}

.timeline-date {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer enhancement */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #1a1720);
    position: relative;
    overflow: hidden;
}

.footer-bg-text {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
}

.footer .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .footer {
        padding: 3rem 0 7.5rem 0;
    }
    .footer-bg-text {
        font-size: 7rem;
        bottom: 0px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 5rem 0;
        text-align: center;
    }
    .footer-bg-text {
        font-size: 4.5rem;
        bottom: 5px;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
    }
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 4rem 0;
    }
    .footer-bg-text {
        font-size: 3rem;
        bottom: 10px;
    }
}

/* Publication item enhancement */
.publication-item {
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--primary-color), var(--accent-gold)) 1;
}

.publication-item:hover {
    border-left-width: 6px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--primary-light);
    color: white;
}

/* Focus states for accessibility */
.tab-button:focus,
.load-more-btn:focus,
.nav-menu a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Performance optimizations for animations */
.hero::before,
.hero::after,
.hero .container::before,
.hero .container::after {
    will-change: transform, opacity;
}

.stat-card,
.qual-card,
.award-card,
.campaign-card {
    will-change: transform;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero::before,
    .hero::after {
        animation: none;
    }
}

/* Print styles */
@media print {

    .navbar,
    .nav-toggle,
    .hero::before,
    .hero::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: #6b4c9a;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .section {
        padding: 1.5rem 0;
        break-inside: avoid;
    }
}