/* ==========================================================================
   SAROJINI RESEARCH AND DEVELOPMENT COUNCIL (SRDC)
   Modern, Clean & Responsive Design System
   ========================================================================== */

:root {
    /* Brand Color Palette */
    --color-primary: #0f2b5c;         /* Academic Royal Navy */
    --color-primary-dark: #081a3a;    /* Deep Navy */
    --color-primary-light: #1d4ed8;   /* Vibrant Blue */
    --color-accent: #d97706;          /* Academic Royal Gold */
    --color-accent-light: #fef3c7;    /* Gold Tint */
    --color-accent-hover: #b45309;    /* Deep Gold */
    --color-azure: #0284c7;           /* Tech Azure */
    --color-azure-light: #e0f2fe;     /* Light Azure */
    --color-emerald: #059669;         /* Success / Sustainability */
    
    /* Backgrounds & Surfaces */
    --color-bg-body: #f8fafc;         /* Clean Slate White Canvas */
    --color-bg-surface: #ffffff;      /* Pure White Surface */
    --color-bg-subtle: #f1f5f9;       /* Light Slate */
    --color-bg-dark: #091833;         /* Footer / Contrast Dark */
    
    /* Typography & Neutral Colors */
    --color-text-main: #0f172a;       /* Slate 900 */
    --color-text-muted: #64748b;      /* Slate 500 */
    --color-text-light: #94a3b8;      /* Slate 400 */
    --color-border: #e2e8f0;          /* Slate 200 */
    --color-border-subtle: #edf2f7;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Elevation & Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.09), 0 4px 10px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.25);
    
    /* Transitions & Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: -0.02em;
}

a {
    color: var(--color-primary-light);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   TOP MICRO-BAR
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary-dark);
    color: #cbd5e1;
    font-size: 0.825rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .text-accent {
    color: var(--color-accent) !important;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.2);
}

.bg-primary-soft {
    background-color: rgba(255, 255, 255, 0.12);
}

.text-primary-dark {
    color: #f1f5f9 !important;
}

/* ==========================================================================
   BRAND HEADER (LOGO ON LEFT OF TITLE)
   ========================================================================== */
.brand-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.brand-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(217, 119, 6, 0.4) 50%, transparent 100%);
}

.header-brand-wrap {
    max-width: 1050px;
    margin: 0 auto;
}

.brand-logo-container {
    display: inline-block;
    position: relative;
}

.main-brand-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 43, 92, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 3px solid #ffffff;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* ==========================================================================
   TOP SINGLE BLUE QUICK BAR (PHONE, ALL EMAILS, APPROVALS)
   ========================================================================== */
.top-quick-bar {
    background-color: #0f2b5c !important;
    background: linear-gradient(90deg, #081a3a 0%, #0f2b5c 50%, #081a3a 100%) !important;
    border-bottom: 2px solid #d97706 !important;
    font-size: 0.835rem !important;
    color: #ffffff !important;
    padding: 6px 0 !important;
    position: relative;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.top-bar-contacts {
    font-size: 0.835rem;
    color: #ffffff !important;
}

.top-contact-item {
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    font-weight: 500;
}

.top-contact-item a {
    color: #ffffff !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.top-contact-item a:hover {
    color: #fbbf24 !important;
    text-decoration: underline;
}

.top-contact-divider {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.8rem;
}

.top-bar-approval {
    font-size: 0.775rem;
    letter-spacing: 0.015em;
    color: #ffffff !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.top-bar-approvals-wrap {
    font-size: 0.775rem;
}

/* ==========================================================================
   BRAND HEADER (MATCHED TO REFERENCE DESIGN)
   ========================================================================== */
.brand-header-custom {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border-subtle);
    position: relative;
    z-index: 1025;
}

.brand-crest-logo {
    width: 110px;
    height: 110px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 3px 12px rgba(15, 43, 92, 0.12);
    object-fit: contain;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
}

.brand-crest-logo:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(15, 43, 92, 0.18);
}

@media (max-width: 767.98px) {
    .brand-crest-logo {
        width: 85px;
        height: 85px;
    }
}

.header-main-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin: 0;
}

.header-main-title a {
    color: var(--color-primary-dark) !important;
    text-decoration: none;
}

.header-main-title a:hover {
    color: var(--color-primary-light) !important;
}

.header-main-tagline {
    font-size: 0.95rem;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    margin: 0.2rem 0 0.4rem 0;
}

.header-contact-inline {
    color: var(--color-text-main);
    font-size: 0.885rem;
}

.header-contact-item {
    display: inline-flex;
    align-items: center;
    color: #1e293b;
}

.header-contact-item a {
    color: #1e293b !important;
    transition: var(--transition-smooth);
}

.header-contact-item a:hover {
    color: var(--color-accent) !important;
}

.header-stacked-buttons {
    min-width: 195px;
}

.btn-action-card {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.775rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    white-space: nowrap !important;
    text-align: center;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    display: block;
}

.btn-action-apply {
    background: linear-gradient(135deg, var(--color-accent) 0%, #f59e0b 100%);
    color: #ffffff !important;
}

.btn-action-apply:hover {
    background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    color: #ffffff !important;
}

.btn-action-contact {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #ffffff !important;
}

.btn-action-contact:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 43, 92, 0.3);
    color: #ffffff !important;
}

/* ==========================================================================
   NAVIGATION BAR (OFFICIAL SRDC ROYAL NAVY & GOLD BRAND THEME)
   ========================================================================== */
.main-navbar {
    background-color: var(--color-primary);
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    box-shadow: 0 4px 20px rgba(15, 43, 92, 0.25);
    padding: 0.45rem 0;
    border-bottom: 3px solid var(--color-accent);
    z-index: 1020;
}

.custom-nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #f8fafc !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap !important; /* Strictly prevents breaking like 'ABOUT US' into two lines */
    transition: var(--transition-smooth);
    display: inline-block;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.custom-nav-link:hover {
    color: #fef08a !important;
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.custom-nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 800;
    box-shadow: inset 0 -3px 0 var(--color-accent);
}

/* Custom Hamburger Button */
.custom-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
}

.custom-toggler:focus {
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.4);
}

.toggler-icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin: 4px 0;
    border-radius: 1px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO & BANNERS
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(8, 26, 58, 0.92) 0%, rgba(15, 43, 92, 0.88) 50%, rgba(6, 18, 40, 0.94) 100%), url('../images/hero_slide2.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 6.5rem 0 5.5rem;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.2) 0%, transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(2, 132, 199, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fef3c7;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 1.25rem;
    border-radius: var(--radius-full);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: #fbbf24 !important;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.65;
    max-width: 820px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.825rem;
    color: #f1f5f9;
    font-weight: 600;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.15);
    background-color: #0b1a36;
}

.hero-carousel-img {
    height: 380px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s ease;
}

.hero-image-frame:hover .hero-carousel-img {
    transform: scale(1.03);
}

.hero-floating-stat {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 5;
}

.hero-floating-stat strong {
    font-size: 0.95rem;
    color: var(--color-primary-dark);
}

.hero-floating-stat small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.hero-floating-stat i {
    font-size: 1.75rem;
    color: var(--color-accent);
}

.hero-page-banner {
    background: linear-gradient(135deg, rgba(8, 26, 58, 0.92) 0%, rgba(15, 43, 92, 0.88) 50%, rgba(6, 18, 40, 0.94) 100%), url('../images/hero_slide2.jpg') center center / cover no-repeat;
    color: #ffffff;
    padding: 4.5rem 0 3.75rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(2, 132, 199, 0.22) 0%, transparent 50%);
    pointer-events: none;
}

.hero-page-banner h1 {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.75rem;
}

.hero-page-banner p {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.breadcrumb-custom .breadcrumb-item a {
    color: #cbd5e1;
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--color-accent);
    font-weight: 600;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   STAT COUNTER CARDS
   ========================================================================== */
.stats-container {
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-azure);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 0.35rem;
}

/* ==========================================================================
   MODERN CARDS & RESEARCH PILLARS
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.section-description {
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0.5rem auto 0;
    font-size: 1.05rem;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(2, 132, 199, 0.4);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.icon-amber {
    background: #fffbeb;
    color: #d97706;
}

.icon-green {
    background: #ecfdf5;
    color: #059669;
}

.icon-purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.feature-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-primary-light);
    text-decoration: none;
}

.feature-link:hover {
    color: var(--color-accent);
    gap: 0.6rem;
}

/* ==========================================================================
   CONTENT BLOCKS & ABOUT CARDS
   ========================================================================== */
.about-highlight-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.vision-mission-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary-light);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.vision-mission-card.mission {
    border-top-color: var(--color-accent);
}

.objective-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.objective-icon {
    width: 32px;
    height: 32px;
    background: var(--color-azure-light);
    color: var(--color-azure);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   PUBLICATIONS & RESEARCH PAGES
   ========================================================================== */
.pub-filter-bar {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.filter-btn-group .btn {
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
}

.pub-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.pub-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.pub-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.pub-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0.5rem 0;
}

.pub-authors {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.pub-meta {
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   FORMS & CONTACT
   ========================================================================== */
.contact-info-card {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-card h4 {
    color: #ffffff;
}

.contact-icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fef3c7;
    flex-shrink: 0;
}

.contact-form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-control, .form-select {
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(30, 78, 216, 0.15);
}

/* ==========================================================================
   BUTTONS & CTA
   ========================================================================== */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.5rem;
    box-shadow: 0 2px 6px rgba(15, 43, 92, 0.2);
    transition: var(--transition-smooth);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 43, 92, 0.28);
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.5rem;
    transition: var(--transition-smooth);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.6rem 1.5rem;
    transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
    background-color: #ffffff;
    color: var(--color-primary);
}

.cta-banner {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-radius: var(--radius-xl);
    color: #ffffff;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-bg-dark);
    color: #94a3b8;
    border-top: 3px solid var(--color-accent);
    position: relative;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    background: var(--color-accent);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Back to top button */
.btn-back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991.98px) {
    .brand-header {
        padding: 1.75rem 0 1.5rem;
    }

    .main-brand-logo {
        width: 90px;
        height: 90px;
    }

    .brand-title {
        font-size: 1.6rem;
    }

    .brand-tagline {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .main-navbar .navbar-collapse {
        background: var(--color-primary-dark);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .custom-nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .custom-nav-link.active {
        box-shadow: none;
        border-left: 3px solid var(--color-accent);
    }
}

@media (max-width: 575.98px) {
    .brand-header {
        padding: 1rem 0 0.85rem;
    }

    .header-brand-wrap {
        gap: 0.75rem !important;
    }

    .main-brand-logo {
        width: 64px;
        height: 64px;
        border-width: 2px;
    }

    .brand-title {
        font-size: 1.15rem;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .brand-tagline {
        font-size: 0.72rem;
        letter-spacing: 0.02em;
    }

    .hero-section {
        padding: 3rem 0 2.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-banner {
        padding: 2rem 1.5rem;
    }

    .contact-form-card, .contact-info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 380px) {
    .main-brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
    }
}

/* Helper Utilities */
.w-fit {
    width: fit-content !important;
}
.max-w-700 {
    max-width: 700px;
}
.sticky-top-secondary {
    position: sticky;
    top: 60px;
    z-index: 1020;
    backdrop-filter: blur(8px);
    background-color: rgba(248, 250, 252, 0.95) !important;
}
.transition-all {
    transition: all 0.25s ease-in-out;
}
.leadership-card:hover, .news-card:hover, .event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 43, 92, 0.1) !important;
}
.icon-amber {
    background-color: #fef3c7;
    color: #d97706;
}
.icon-blue {
    background-color: #e0f2fe;
    color: #0284c7;
}
.icon-green {
    background-color: #d1fae5;
    color: #059669;
}
.icon-purple {
    background-color: #f3e8ff;
    color: #7c3aed;
}
.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ==========================================================================
   FOOTER & ACCREDITATION HIGH CONTRAST STYLES
   ========================================================================== */
.main-footer {
    background-color: #091833 !important;
    color: #e2e8f0;
}

.quality-compliance-tag {
    color: #f59e0b !important; /* Bright vivid amber for high visibility on dark */
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.accreditation-pill {
    background-color: #ffffff !important;
    color: #0f172a !important; /* Pure dark slate for crisp 100% readability */
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.accreditation-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   LEADERSHIP PAGE HIGH-CONTRAST BADGES & TABS
   ========================================================================== */
.badge-leadership-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.775rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.25;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.badge-leadership-tag.tag-admin {
    background-color: #0f2b5c !important;
    color: #ffffff !important;
    border: 1px solid #081a3a;
}

.badge-leadership-tag.tag-advisory {
    background-color: #b45309 !important;
    color: #ffffff !important;
    border: 1px solid #92400e;
}

.badge-leadership-tag.tag-academic {
    background-color: #0369a1 !important;
    color: #ffffff !important;
    border: 1px solid #0284c7;
}

#leadershipTabs .nav-link {
    color: var(--color-primary-dark);
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

#leadershipTabs .nav-link:hover {
    color: var(--color-primary-light);
    background-color: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

#leadershipTabs .nav-link.active {
    color: #ffffff !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 4px 14px rgba(15, 43, 92, 0.3);
}

.leadership-card {
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border) !important;
    background-color: #ffffff;
}

.leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 43, 92, 0.12) !important;
    border-color: rgba(15, 43, 92, 0.25) !important;
}

.badge-member-count {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    font-weight: 700;
    border: 1px solid #bae6fd;
    font-size: 0.8rem;
}


