/* 
========================================================================
   PREMIUM UNIFIED DESIGN SYSTEM
   Human Rights & Social Justice Commission of India / MPCET Portal
   Designed & Crafted by Antigravity Frontend Architect
========================================================================
*/

/* --- Google Fonts Integration --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Brand CSS Variables --- */
:root {
    --primary-color: #0B1F4D;       /* Deep Navy Blue (Left Half of Emblem) */
    --secondary-color: #123C73;     /* Royal Blue */
    --accent-maroon: #7A1E2C;       /* Deep Maroon (Right Half of Emblem) */
    --accent-gold: #D4AF37;         /* Premium Gold (Emblem Scales/Center) */
    --soft-gold: #F5D06F;           /* Soft Gold */
    --white: #FFFFFF;
    --light-bg: #F8F9FC;            /* Clean light grey/blue background */
    --card-bg: rgba(255, 255, 255, 0.95);
    --section-bg: #F1F4F9;          /* Slightly darker grey/blue for sections */
    --text-primary: #1E293B;        /* Dark Slate Text */
    --text-secondary: #64748B;      /* Muted Slate Text */
    --border-color: #E5E7EB;        /* Soft Border */
    --accent-orange: #7A1E2C;       /* Map old orange color variable to Dark Maroon */
    --nature-green: #123C73;        /* Map green variable to Royal Blue */
    --leaf-green: #7A1E2C;          /* Map leaf green to Dark Maroon */
    --golden-highlight: #D4AF37;    /* Map old gold highlight variable */
    
    /* Layout & Styling Values */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --card-shadow: 0 10px 30px rgba(11, 31, 77, 0.04);
    --card-shadow-hover: 0 20px 45px rgba(11, 31, 77, 0.09);
    --font-heading: 'Outfit', sans-serif;
    --font-subheading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Base Reset & Scrollbar --- */
body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--accent-maroon) 100%);
    border-radius: 5px;
    border: 2px solid var(--light-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1.display-1, h1.display-2, h1.display-3, h1.display-4 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

p {
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white {
    color: var(--white) !important;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--accent-maroon);
}

/* --- Section Title Split-color lines --- */
.section-title, h2 {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 30px;
}

/* Add a beautiful split colored underline: Left side Navy, Right side Maroon, center gold dot */
.section-title::after, h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 50%, var(--accent-maroon) 50%, var(--accent-maroon) 100%);
    border-radius: 2px;
}

/* Center aligned header variant line adjustment */
.text-center .section-title::after, 
.text-center h2::after {
    left: 50% !important;
    transform: translateX(-50%);
}

/* --- Premium Page Loader --- */
#page-loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-maroon) 100%);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--white);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-logo-container {
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(212, 175, 55, 0.35);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    margin-bottom: 20px;
}

.loader-logo-container img {
    border: 2px solid var(--accent-gold) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.loader-progress-bar-container {
    width: 240px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--soft-gold) 50%, var(--accent-maroon) 100%);
    animation: loadProgress 1.8s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

.animate-pulse {
    animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    }
    50% { 
        transform: scale(1.06); 
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    }
}

/* --- Glassmorphic Navigation Header --- */
.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11, 31, 77, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

/* Scrolled styling updates - Navy to Maroon Split gradient */
.navbar-custom.scrolled {
    background: linear-gradient(90deg, #0B1F4D 0%, #123C73 35%, #7A1E2C 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2.5px solid var(--accent-gold) !important;
    box-shadow: 0 10px 40px rgba(11, 31, 77, 0.2) !important;
    padding: 8px 0;
}

/* Compact Brand Logo Text block to save space */
.navbar-custom .brand-title {
    color: var(--primary-color) !important;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.navbar-custom.scrolled .brand-title {
    color: var(--white) !important;
}

.navbar-custom .brand-subtitle {
    color: var(--accent-maroon) !important;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.navbar-custom.scrolled .brand-subtitle {
    color: var(--accent-gold) !important;
}

/* Nav Link overrides optimized to fit width */
.navbar-custom .navbar-nav {
    flex-wrap: nowrap; /* Prevent wrap breaks */
    align-items: center;
}

.navbar-custom .nav-link {
    color: #334155 !important;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    padding: 6px 8px !important; /* Spacing decreased to save width */
    transition: var(--transition-smooth);
}

@media (min-width: 1200px) {
    .navbar-custom .nav-link {
        font-size: 0.85rem;
        padding: 8px 11px !important; /* Increase spacing slightly on wide viewports */
    }
}

.navbar-custom.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-item.active .nav-link::after {
    width: 60%;
}

.navbar-custom .nav-link:hover {
    color: var(--accent-maroon) !important;
}

.navbar-custom.scrolled .nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Glassmorphism Dropdowns */
.navbar-custom .dropdown-menu {
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: var(--border-radius-md) !important;
    box-shadow: 0 15px 40px rgba(11, 31, 77, 0.1) !important;
    margin-top: 12px !important;
    padding: 8px 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-custom .dropdown-item {
    font-weight: 500;
    color: #475569;
    padding: 9px 20px;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

.navbar-custom .dropdown-item:hover {
    background-color: rgba(11, 31, 77, 0.05);
    color: var(--primary-color);
    padding-left: 24px;
}

/* Home Page Navbar specific style overrides */
body.home-page .navbar-custom {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.home-page .navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.home-page .navbar-custom .brand-title {
    color: var(--white) !important;
}

body.home-page .navbar-custom .brand-subtitle {
    color: var(--accent-gold) !important;
}

body.home-page .navbar-custom.scrolled {
    background: linear-gradient(90deg, rgba(11, 31, 77, 0.96) 0%, rgba(122, 30, 44, 0.96) 100%) !important;
    border-bottom: 2px solid var(--accent-gold) !important;
}

/* --- Premium Buttons --- */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary, .btn-primary-grad {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(11, 31, 77, 0.2);
}

.btn-primary:hover, .btn-primary-grad:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-maroon) 100%) !important;
    box-shadow: 0 6px 20px rgba(122, 30, 44, 0.25);
    color: var(--white) !important;
}

.btn-secondary, .btn-secondary-grad {
    background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--primary-color) 100%) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(122, 30, 44, 0.2);
}

.btn-secondary:hover, .btn-secondary-grad:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 6px 20px rgba(18, 60, 115, 0.25);
    color: var(--white) !important;
}

.btn-accent-grad {
    background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--accent-gold) 100%) !important;
    color: var(--white) !important;
    border: 1px solid var(--accent-gold) !important;
    box-shadow: 0 4px 15px rgba(122, 30, 44, 0.25);
    white-space: nowrap; /* Prevent word breaks */
}

.btn-accent-grad:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%) !important;
    box-shadow: 0 6px 20px rgba(11, 31, 77, 0.3);
    color: var(--white) !important;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
    border-color: var(--white);
}

/* Success, Danger, Warning standard resets */
.btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, var(--accent-maroon) 100%) !important;
    border: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}
.btn-warning {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%) !important;
    color: var(--white) !important;
    border: none;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}
.btn-info {
    background: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%) !important;
    color: var(--white) !important;
    border: none;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

/* --- Responsive Containers & Cards --- */
.card, .glass-card, .impact-area-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.card:hover, .glass-card:hover, .impact-area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(212, 175, 55, 0.35);
}

/* Glassmorphism elements */
.glass-card, .glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(229, 231, 235, 0.6) !important;
}

/* Glow Cards */
.glow-card {
    position: relative;
    z-index: 1;
}

.glow-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.glow-card:hover::after {
    opacity: 1;
}

.impact-area-card {
    border: 1px solid rgba(11, 31, 77, 0.06);
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    height: 100%;
}

.impact-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    background: rgba(18, 60, 115, 0.06);
    color: var(--secondary-color);
    transition: var(--transition-smooth);
    border: 1px solid rgba(18, 60, 115, 0.05);
}

.card:hover .impact-icon-wrapper,
.impact-area-card:hover .impact-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-maroon) 100%);
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: 0 10px 20px rgba(18, 60, 115, 0.2);
}

/* Card Header Colors */
.card-header {
    background-color: rgba(11, 31, 77, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    font-weight: 700;
}

/* --- Hero Slider Overrides - Modern Dual Tone Overlay --- */
.hero-slider-section {
    height: 100vh;
    position: relative;
    background-color: var(--primary-color);
}

.hero-slider-section .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Split color gradient overlay reflecting logo halves */
    background: linear-gradient(90deg, rgba(11, 31, 77, 0.85) 0%, rgba(122, 30, 44, 0.85) 100%);
    z-index: 2;
}

.hero-slider-section .swiper-button-prev,
.hero-slider-section .swiper-button-next {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.hero-slider-section .swiper-button-prev:after,
.hero-slider-section .swiper-button-next:after {
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-slider-section .swiper-button-prev:hover,
.hero-slider-section .swiper-button-next:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-slider-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    transition: var(--transition-smooth);
}

.hero-slider-section .swiper-pagination-bullet-active {
    background: var(--accent-gold);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Call to Action Premium Section - Logo Split Gradient */
.cta-gradient-section {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-maroon) 100%) !important;
    position: relative;
    overflow: hidden;
    border-top: 3.5px solid var(--accent-gold);
}

/* --- Modern Form Inputs --- */
.form-control, .form-select {
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--border-color);
    background-color: var(--light-bg);
    color: var(--text-primary);
    transition: var(--transition-smooth);
    box-shadow: none;
}

.form-control:focus, .form-select:focus {
    background-color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(18, 60, 115, 0.1);
    outline: none;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 550px;
    margin: 20px auto 55px;
    padding: 0 10px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color, #e2e8f0);
    transform: translateY(-50%);
    z-index: 1;
}

.step-indicator .step {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    background: var(--white, #fff);
    border: 3px solid var(--border-color, #e2e8f0);
    color: var(--text-secondary, #64748b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth, all 0.3s ease);
}

.step-indicator .step.active {
    border-color: var(--accent-gold);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 20px rgba(11, 31, 77, 0.25);
}

.step-indicator .step.completed {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 0 20px rgba(18, 60, 115, 0.2);
}

.step-indicator .step .step-title {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
    transition: var(--transition-smooth, all 0.3s ease);
}

.step-indicator .step.active .step-title {
    color: var(--primary-color);
    font-weight: 700;
}

.step-indicator .step.completed .step-title {
    color: var(--secondary-color);
}

@media (max-width: 576px) {
    .step-indicator {
        margin: 20px auto 45px;
    }
    .step-indicator .step {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        border-width: 2px;
    }
    .step-indicator::before {
        top: 19px;
        height: 2px;
    }
    .step-indicator .step .step-title {
        top: 44px;
        font-size: 0.75rem;
    }
}

/* --- Tables & Badge Systems --- */
.table-responsive {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--white);
}

.table {
    margin-bottom: 0;
    font-family: var(--font-body);
}

.table thead, .table-light {
    background: linear-gradient(90deg, rgba(11, 31, 77, 0.05) 0%, rgba(18, 60, 115, 0.05) 100%) !important;
}

.table th {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    color: var(--primary-color) !important;
    padding: 16px 20px !important;
    border-bottom: 2px solid var(--border-color) !important;
}

.table td {
    padding: 16px 20px !important;
    vertical-align: middle;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(18, 60, 115, 0.02) !important;
}

/* Modern pill badges */
.badge {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.bg-primary {
    background-color: rgba(11, 31, 77, 0.1) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(11, 31, 77, 0.2);
}

.bg-success {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bg-danger {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: var(--accent-maroon) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.bg-warning {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #D97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.bg-info {
    background-color: rgba(14, 165, 233, 0.1) !important;
    color: #0284C7 !important;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.bg-secondary {
    background-color: rgba(100, 116, 139, 0.1) !important;
    color: #475569 !important;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* --- Admin Panel Sidebar & Layout Overrides - Logo Gradient --- */
.admin-sidebar {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-maroon) 100%) !important;
    box-shadow: 4px 0 25px rgba(11, 31, 77, 0.15);
    border-right: 2.5px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
}

.admin-sidebar .border-bottom {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-sidebar a {
    display: flex !important;
    align-items: center !important;
    color: rgba(255, 255, 255, 0.72) !important;
    padding: 11px 24px !important;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
    text-decoration: none !important;
    white-space: nowrap;
}

.admin-sidebar a i {
    transition: var(--transition-smooth);
}

.admin-sidebar a:hover, 
.admin-sidebar a.active {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--white) !important;
    border-left: 4px solid var(--accent-gold) !important;
}

.admin-sidebar a:hover i,
.admin-sidebar a.active i {
    color: var(--accent-gold) !important;
    transform: scale(1.1);
}

.admin-content {
    background-color: var(--light-bg);
    min-height: 100vh;
    padding: 40px !important;
}

.admin-content h4 {
    color: var(--primary-color);
    font-weight: 800;
}

/* Dashboard Statistic Analytics Widget Cards */
.admin-content .row .card {
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--secondary-color) !important;
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius-md);
    background-color: var(--white);
    padding: 24px !important;
    transition: var(--transition-smooth);
}

.admin-content .row .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-top-color: var(--accent-gold) !important;
}

.admin-content .row .col-md-3:nth-child(1) .card { border-top-color: var(--secondary-color) !important; }
.admin-content .row .col-md-3:nth-child(2) .card { border-top-color: var(--accent-maroon) !important; }
.admin-content .row .col-md-3:nth-child(3) .card { border-top-color: var(--accent-gold) !important; }
.admin-content .row .col-md-3:nth-child(4) .card { border-top-color: var(--primary-color) !important; }

.admin-content .row .card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.admin-content .row .card h6 {
    font-weight: 700;
    color: var(--text-secondary);
}

/* Digital Signature Pad drawing canvas container */
.sig-canvas-container {
    border: 2px dashed rgba(18, 60, 115, 0.3) !important;
    background-color: rgba(18, 60, 115, 0.01);
    border-radius: var(--border-radius-md);
    padding: 10px;
    transition: var(--transition-smooth);
}

.sig-canvas-container:hover {
    border-color: var(--accent-gold) !important;
}

#sig-canvas {
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
}

/* --- Document Designs (Certificates & ID Cards) --- */
.id-card-container {
    width: 340px;
    height: 520px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border-radius: var(--border-radius-md);
    border: 4px solid var(--white) !important;
    box-shadow: 0 15px 40px rgba(11, 31, 77, 0.3) !important;
    position: relative;
    padding: 24px;
}

.id-card-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 80%);
    pointer-events: none;
}

.id-card-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--accent-gold) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin: 15px auto;
}

.cert-letter-box {
    background-color: var(--white);
    border: 15px double var(--primary-color) !important;
    border-image: initial;
    outline: 4px solid var(--accent-gold) !important;
    outline-offset: -20px;
    padding: 60px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1) !important;
    position: relative;
    max-width: 820px;
    margin: 30px auto;
}

/* --- Footer Elements - Logo Gradient Theme --- */
footer {
    background: linear-gradient(90deg, #0B1F4D 0%, #123C73 30%, #50131C 70%, #7A1E2C 100%) !important; /* Rich Navy Blue to Deep Maroon gradient */
    border-top: 3.5px solid var(--accent-gold) !important;
    position: relative;
    overflow: hidden;
}

/* Footer Links Interactive Glow and Lift */
.footer-links a {
    transition: var(--transition-smooth);
    color: rgba(255,255,255,0.7) !important;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold) !important;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Footer Impact Items Interactive Hover */
.footer-impact li {
    transition: var(--transition-smooth);
    color: rgba(255,255,255,0.7);
}

.footer-impact li:hover {
    color: var(--white) !important;
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Footer Social Icons Glow */
.social-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-maroon) 100%);
    border-color: var(--accent-gold);
    color: var(--white) !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

/* Footer Newsletter Input Interactive Glow */
footer form.input-group {
    border: 1.5px solid rgba(255,255,255,0.2) !important;
    transition: var(--transition-smooth);
}

footer form.input-group:focus-within {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3) !important;
}

footer .form-control {
    color: var(--white) !important;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Newsletter submit button pulse */
footer form button[type="submit"] {
    background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--accent-gold) 100%) !important;
    transition: var(--transition-smooth);
}

footer form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-maroon) 100%) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4) !important;
}

/* --- Page & Element Animations --- */
.animated-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
    animation: floatShape 12s infinite ease-in-out alternate;
}

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(15deg); }
}

.floating-leaf {
    position: absolute;
    width: 36px;
    height: 36px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D4AF37'><path d='M17,8C8,10 5.9,16.17 3.82,21.34L2.18,20.66C4.26,15.49 6.36,9.32 15.36,7.3C13,5 9,3 9,3C9,3 13,3 16,5C19,7 21,11 21,11C21,11 19,9 17,8Z'/></svg>") no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 3;
    opacity: 0.35;
    animation: floatLeaf 8s infinite ease-in-out alternate;
}

@keyframes floatLeaf {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(25px, -25px) rotate(45deg); }
}

/* Timeline Components */
.timeline-dot {
    border: 4px solid var(--accent-gold) !important;
    background: var(--accent-maroon) !important;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-gold) !important;
    transform: scale(1.4);
}

/* Marquee / Partners Section */
.marquee-track img {
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition-smooth);
}

.marquee-track img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.12);
}

/* Back to Top button */
#backToTopBtn {
    background: linear-gradient(135deg, var(--accent-maroon) 0%, var(--accent-gold) 100%) !important;
    box-shadow: 0 4px 15px rgba(122, 30, 44, 0.4);
}

#backToTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Loading Skeletons */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.5s infinite;
}

@keyframes loadingSkeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .navbar-custom {
        background: var(--white) !important;
        padding: 12px 0;
    }
    
    body.home-page .navbar-custom {
        background: var(--white) !important;
    }
    
    body.home-page .navbar-custom .brand-title {
        color: var(--primary-color) !important;
    }
    
    body.home-page .navbar-custom .brand-subtitle {
        color: var(--accent-maroon) !important;
    }
    
    .navbar-custom .nav-link {
        color: #334155 !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-custom .dropdown-menu {
        border: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
        padding-left: 15px !important;
    }
    
    /* Admin sidebar responsive adjustment */
    .admin-sidebar {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .container-fluid.d-flex {
        flex-direction: column !important;
    }
}

@media (max-width: 575.98px) {
    .admin-content {
        padding: 20px !important;
    }
    
    .cert-letter-box {
        padding: 30px !important;
        margin: 15px;
    }
    
    .hero-slider-section h1 {
        font-size: 2.2rem !important;
    }
}

/* --- Premium Mobile Side Drawer & Navigation Drawer Overlay --- */
.drawer-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 310px;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    box-shadow: 10px 0 40px rgba(11, 31, 77, 0.12);
    border-right: 3px solid var(--accent-gold);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 30px 24px;
    overflow-y: auto;
}

.drawer-nav.active {
    left: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 31, 77, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    display: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    display: block;
}

/* Drawer list and sub items */
.drawer-nav ul li a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 10px 0;
    transition: var(--transition-smooth);
    border-bottom: 1.5px solid rgba(11, 31, 77, 0.05);
}

.drawer-nav ul li a:hover {
    color: var(--accent-maroon) !important;
    padding-left: 8px;
    border-bottom-color: var(--accent-gold);
}

.drawer-nav ul li .collapse a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    border-bottom: none;
    padding: 6px 0 6px 12px;
}

.drawer-nav ul li .collapse a:hover {
    color: var(--accent-maroon) !important;
    padding-left: 18px;
}


/* ========================================================================
   PREMIUM ALL-PAGES UPGRADE — Navy Blue + Maroon Interactive System
   Human Rights & Social Justice Commission of India
   Full-site visual enhancement with micro-animations & interactions
   ======================================================================== */

/* === PAGE HERO BANNER (used on all inner pages) === */
.page-hero {
    background: linear-gradient(135deg, #0B1F4D 0%, #123C73 45%, #7A1E2C 100%);
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroPulse 6s ease-in-out infinite alternate;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(122,30,44,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroPulse 8s ease-in-out infinite alternate-reverse;
}
@keyframes heroPulse {
    0% { transform: scale(0.9) rotate(0deg); opacity: 0.6; }
    100% { transform: scale(1.15) rotate(15deg); opacity: 1; }
}
.page-hero .hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 0;
}
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.page-breadcrumb a {
    color: var(--accent-gold) !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s;
}
.page-breadcrumb a:hover { color: #fff !important; }
.page-breadcrumb span {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}
.page-breadcrumb .current {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
}

/* === UNIVERSAL SECTION WRAPPER === */
.section-wrapper { padding: 90px 0; }
.section-wrapper.bg-light-brand { background: #F8F9FC; }
.section-wrapper.bg-white-brand { background: #ffffff; }
.section-wrapper.bg-gradient-brand {
    background: linear-gradient(135deg, #0B1F4D 0%, #123C73 50%, #7A1E2C 100%);
}

/* === SECTION HEADINGS === */
.brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-maroon);
    background: rgba(122,30,44,0.07);
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(122,30,44,0.12);
    margin-bottom: 14px;
}
.brand-heading {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.15;
    letter-spacing: -0.3px;
}
.brand-heading .accent {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand-heading .gold-accent {
    color: var(--accent-gold);
    -webkit-text-fill-color: var(--accent-gold);
}
.brand-subtext {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 560px;
    margin: 14px auto 0;
}

/* === PREMIUM PAGE CARDS === */
.premium-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid #EEF1F8;
    box-shadow: 0 8px 30px rgba(11,31,77,0.06);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
}
.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0B1F4D, #7A1E2C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(11,31,77,0.13);
    border-color: rgba(212,175,55,0.3);
}
.premium-card:hover::before { transform: scaleX(1); }
.premium-card .card-img-top {
    height: 210px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}
.premium-card:hover .card-img-top { transform: scale(1.05); }
.premium-card .card-body { padding: 26px; }
.premium-card .card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}
.premium-card .card-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
}
.premium-card .card-footer-custom {
    padding: 16px 26px;
    border-top: 1px solid #F0F2F8;
    background: #FAFBFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* === ICON BOXES === */
.icon-box {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; flex-shrink: 0;
    transition: all 0.35s ease;
}
.icon-box-navy { background: rgba(11,31,77,0.08); color: #0B1F4D; }
.icon-box-maroon { background: rgba(122,30,44,0.08); color: #7A1E2C; }
.icon-box-gold { background: rgba(212,175,55,0.12); color: #C9960C; }
.icon-box-green { background: rgba(5,150,105,0.08); color: #059669; }
.premium-card:hover .icon-box-navy { background: #0B1F4D; color: #fff; }
.premium-card:hover .icon-box-maroon { background: #7A1E2C; color: #fff; }
.premium-card:hover .icon-box-gold { background: var(--accent-gold); color: #fff; }

/* === BADGES === */
.brand-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}
.brand-badge-navy { background: rgba(11,31,77,0.1); color: #0B1F4D; }
.brand-badge-maroon { background: rgba(122,30,44,0.1); color: #7A1E2C; }
.brand-badge-gold { background: rgba(212,175,55,0.15); color: #9A6F00; }
.brand-badge-success { background: rgba(5,150,105,0.1); color: #059669; }

/* === FORMS (all inner pages) === */
.brand-form .form-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.brand-form .form-control,
.brand-form .form-select {
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: #FAFBFF;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(11,31,77,0.03);
}
.brand-form .form-control:focus,
.brand-form .form-select:focus {
    border-color: #0B1F4D;
    box-shadow: 0 0 0 3px rgba(11,31,77,0.1), 0 4px 12px rgba(11,31,77,0.06);
    background: #fff;
    outline: none;
}
.brand-form .form-control::placeholder { color: #94A3B8; }
.brand-form textarea.form-control { resize: vertical; min-height: 130px; }
.brand-form .input-icon-wrapper { position: relative; }
.brand-form .input-icon-wrapper .form-control { padding-left: 44px; }
.brand-form .input-icon-wrapper .input-icon {
    position: absolute;
    left: 14px; top: 50%; transform: translateY(-50%);
    color: #94A3B8; pointer-events: none;
    transition: color 0.3s;
}
.brand-form .input-icon-wrapper:focus-within .input-icon { color: #0B1F4D; }

/* === TABLE STYLES === */
.brand-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(11,31,77,0.06);
    border: none;
}
.brand-table thead {
    background: linear-gradient(90deg, #0B1F4D, #7A1E2C);
    color: #fff;
}
.brand-table thead th {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 20px;
    border: none;
    color: rgba(255,255,255,0.9);
}
.brand-table tbody tr {
    border-bottom: 1px solid #F0F4FF;
    transition: all 0.25s ease;
}
.brand-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(11,31,77,0.03), rgba(122,30,44,0.02));
    transform: none;
}
.brand-table tbody td {
    padding: 14px 20px;
    font-size: 0.88rem;
    color: var(--text-primary);
    vertical-align: middle;
    border: none;
}
.brand-table tbody tr:last-child td { border-bottom: none; }

/* === ABOUT PAGE SPECIFIC === */
.about-intro-section { padding: 90px 0; background: #fff; }
.about-mission-card {
    background: linear-gradient(135deg, #0B1F4D, #123C73);
    color: #fff;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-mission-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.about-mission-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(11,31,77,0.25); }
.about-vision-card {
    background: linear-gradient(135deg, #7A1E2C, #9A2535);
    color: #fff;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-vision-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(122,30,44,0.25); }
.about-values-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1.5px solid #EEF1F8;
    height: 100%;
    transition: all 0.4s ease;
}
.about-values-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212,175,55,0.12);
    transform: translateY(-6px);
}

/* === CONTACT PAGE === */
.contact-info-card {
    background: linear-gradient(135deg, #0B1F4D 0%, #7A1E2C 100%);
    border-radius: 24px;
    padding: 40px;
    color: #fff;
    height: 100%;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item:hover { padding-left: 8px; }
.contact-info-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--accent-gold); flex-shrink: 0;
    transition: all 0.3s ease;
}
.contact-info-item:hover .contact-info-icon {
    background: var(--accent-gold);
    color: #0B1F4D;
    transform: scale(1.1) rotate(-5deg);
}
.contact-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 15px 50px rgba(11,31,77,0.07);
    border: 1.5px solid #EEF1F8;
}

/* === DONATE PAGE === */
.donate-highlight-bar {
    background: linear-gradient(90deg, #0B1F4D, #7A1E2C);
    padding: 18px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
    margin-bottom: 32px;
}
.donate-amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.donate-amount-btn {
    background: #F8F9FC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}
.donate-amount-btn:hover,
.donate-amount-btn.active {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11,31,77,0.2);
}
.donate-tier-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 2px solid #EEF1F8;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.donate-tier-card:hover {
    border-color: var(--accent-maroon);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(122,30,44,0.12);
}
.donate-tier-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(212,175,55,0.04), rgba(11,31,77,0.02));
}
.donate-tier-card .tier-ribbon {
    position: absolute;
    top: 16px; right: -20px;
    background: var(--accent-gold);
    color: #0B1F4D;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 28px;
    transform: rotate(35deg);
    letter-spacing: 1px;
}
.donate-tier-amount {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* === GALLERY PAGE === */
.gallery-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.gallery-filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(11,31,77,0.2);
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,31,77,0.85) 0%, rgba(122,30,44,0.4) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem;
    transition: all 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* === NEWS & EVENTS PAGE === */
.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(11,31,77,0.06);
    border: 1.5px solid #EEF1F8;
    transition: all 0.4s ease;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11,31,77,0.12);
    border-color: rgba(212,175,55,0.25);
}
.news-card-img-wrap { position: relative; overflow: hidden; }
.news-card-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img-wrap img { transform: scale(1.06); }
.news-card-date-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
}
.news-card-date-badge .day { font-size: 1.4rem; font-weight: 900; display: block; }
.news-card-date-badge .month { font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.news-card-body { padding: 24px; }
.news-card-category {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-maroon);
    margin-bottom: 10px;
}
.news-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.news-card:hover .news-card-title { color: var(--accent-maroon); }
.news-card-excerpt { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.news-card-footer {
    padding: 14px 24px;
    border-top: 1px solid #F5F7FB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FAFBFF;
}

/* === MEMBER / VOLUNTEER APPLICATION === */
.apply-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 15px 50px rgba(11,31,77,0.07);
    border: 1.5px solid #EEF1F8;
}
.apply-sidebar {
    background: linear-gradient(135deg, #0B1F4D 0%, #7A1E2C 100%);
    border-radius: 24px;
    padding: 40px 32px;
    color: #fff;
    position: sticky;
    top: 100px;
}
.apply-sidebar h4 { font-weight: 800; color: var(--accent-gold); margin-bottom: 20px; }
.apply-benefit-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.apply-benefit-item:last-child { border-bottom: none; }
.apply-benefit-icon {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-gold); flex-shrink: 0;
    font-size: 1rem;
}
.apply-benefit-text h6 { font-size: 0.88rem; font-weight: 700; margin-bottom: 3px; }
.apply-benefit-text p { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.6; }
.form-step-indicator {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    background: #F8F9FC;
    border-radius: 50px;
    padding: 6px;
    border: 1.5px solid #E2E8F0;
}
.form-step-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.35s ease;
}
.form-step-btn.active {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    color: #fff;
    box-shadow: 0 4px 15px rgba(11,31,77,0.2);
}

/* === STATS COUNTER CARDS === */
.stat-counter-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1.5px solid #EEF1F8;
    box-shadow: 0 6px 25px rgba(11,31,77,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.stat-counter-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0B1F4D, #7A1E2C);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.stat-counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11,31,77,0.1);
    border-color: rgba(11,31,77,0.12);
}
.stat-counter-card:hover::after { transform: scaleX(1); }
.stat-counter-card .stat-icon-box {
    width: 60px; height: 60px;
    border-radius: 16px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    transition: all 0.35s ease;
}
.stat-counter-card:hover .stat-icon-box { transform: scale(1.1) rotate(-5deg); }
.stat-counter-card .big-number {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-counter-card .stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* === TEAM MEMBER CARDS === */
.team-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(11,31,77,0.06);
    border: 1.5px solid #EEF1F8;
    transition: all 0.45s ease;
    text-align: center;
    height: 100%;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(11,31,77,0.12);
    border-color: rgba(212,175,55,0.3);
}
.team-card-img-wrap {
    position: relative;
    overflow: hidden;
    padding: 24px 24px 0;
}
.team-card-img-wrap img {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-gold);
    margin: 0 auto;
    display: block;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 25px rgba(212,175,55,0.2);
}
.team-card:hover .team-card-img-wrap img { transform: scale(1.07); }
.team-card-body { padding: 18px 24px 28px; }
.team-card-name { font-size: 1rem; font-weight: 800; color: var(--primary-color); margin-bottom: 4px; }
.team-card-role { font-size: 0.78rem; font-weight: 600; color: var(--accent-maroon); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.team-card-social { display: flex; gap: 8px; justify-content: center; }
.team-card-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(11,31,77,0.07);
    color: #0B1F4D;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.team-card-social a:hover {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    color: #fff;
    transform: translateY(-3px);
}

/* === ALERT / NOTICE BANNERS === */
.brand-alert {
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1.5px solid transparent;
    margin-bottom: 20px;
}
.brand-alert-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.brand-alert-navy {
    background: rgba(11,31,77,0.05);
    border-color: rgba(11,31,77,0.12);
    color: #0B1F4D;
}
.brand-alert-navy .brand-alert-icon { background: rgba(11,31,77,0.1); }
.brand-alert-maroon {
    background: rgba(122,30,44,0.05);
    border-color: rgba(122,30,44,0.12);
    color: #7A1E2C;
}
.brand-alert-maroon .brand-alert-icon { background: rgba(122,30,44,0.1); }
.brand-alert-gold {
    background: rgba(212,175,55,0.07);
    border-color: rgba(212,175,55,0.2);
    color: #8A6800;
}
.brand-alert-gold .brand-alert-icon { background: rgba(212,175,55,0.15); color: #8A6800; }

/* === TIMELINE === */
.brand-timeline { position: relative; padding-left: 32px; }
.brand-timeline::before {
    content: '';
    position: absolute;
    left: 11px; top: 4px; bottom: 4px;
    width: 2px;
    background: linear-gradient(180deg, #0B1F4D, #7A1E2C);
}
.brand-timeline-item {
    position: relative;
    margin-bottom: 36px;
    transition: all 0.3s ease;
}
.brand-timeline-item:last-child { margin-bottom: 0; }
.brand-timeline-item::before {
    content: '';
    position: absolute;
    left: -26px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #7A1E2C;
    border: 3px solid var(--accent-gold);
    transition: all 0.3s ease;
    z-index: 1;
}
.brand-timeline-item:hover::before {
    background: var(--accent-gold);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(212,175,55,0.5);
}
.brand-timeline-date {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-maroon);
    margin-bottom: 6px;
}
.brand-timeline-title { font-weight: 700; font-size: 0.98rem; color: var(--primary-color); margin-bottom: 6px; }
.brand-timeline-body { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* === PROGRESS BARS (branded) === */
.brand-progress { height: 8px; border-radius: 50px; background: #EEF1F8; overflow: hidden; }
.brand-progress-bar {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, #0B1F4D, #7A1E2C);
    position: relative;
    transition: width 1.2s ease;
}
.brand-progress-bar::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
    animation: progressShine 2s linear infinite;
}
@keyframes progressShine {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* === BACK TO TOP === */
#backToTopBtn {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: fixed;
    bottom: 32px; right: 32px;
    z-index: 999;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-decoration: none;
    color: #fff !important;
}
#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTopBtn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(212,175,55,0.5) !important;
}

/* === LINK STYLES (general) === */
a.brand-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline;
}
a.brand-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent-maroon);
    transition: width 0.3s ease;
}
a.brand-link:hover { color: var(--accent-maroon); }
a.brand-link:hover::after { width: 100%; }

/* === CERTIFICATE CARDS === */
.cert-card {
    background: linear-gradient(135deg, rgba(11,31,77,0.02), rgba(122,30,44,0.02));
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #0B1F4D, #7A1E2C) 1;
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0B1F4D, var(--accent-gold), #7A1E2C);
}

/* === HOVER LIFT UTILITY === */
.hover-lift { transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(11,31,77,0.1); }

/* === GLOW UTILITIES === */
.glow-navy { box-shadow: 0 0 30px rgba(11,31,77,0.2); }
.glow-maroon { box-shadow: 0 0 30px rgba(122,30,44,0.2); }
.glow-gold { box-shadow: 0 0 30px rgba(212,175,55,0.25); }

/* === GRADIENT TEXT UTILITY === */
.text-gradient-brand {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-gold {
    background: linear-gradient(135deg, #D4AF37, #F5D06F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === PILL NAVIGATION TABS === */
.brand-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    background: #F8F9FC;
    padding: 6px;
    border-radius: 50px;
    border: 1.5px solid #E2E8F0;
    width: fit-content;
}
.brand-tab {
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    background: transparent;
}
.brand-tab.active {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    color: #fff;
    box-shadow: 0 4px 14px rgba(11,31,77,0.2);
}
.brand-tab:hover:not(.active) { color: var(--primary-color); background: rgba(11,31,77,0.05); }

/* === SELECT & PAGINATION === */
.brand-pagination .page-link {
    border-radius: 10px !important;
    margin: 0 3px;
    border: 1.5px solid #E2E8F0;
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 14px;
    transition: all 0.3s ease;
}
.brand-pagination .page-link:hover {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C) !important;
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-2px);
}
.brand-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C) !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(11,31,77,0.2);
}

/* === FLOATING ACTION BUTTON === */
.fab-donate {
    position: fixed;
    bottom: 95px;
    right: 32px;
    z-index: 998;
    background: linear-gradient(135deg, #7A1E2C, #0B1F4D);
    color: #fff !important;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(122,30,44,0.4);
    text-decoration: none;
    transition: all 0.4s ease;
    animation: fabPulse 3s ease-in-out infinite;
}
.fab-donate:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 14px 35px rgba(122,30,44,0.5);
    color: #fff !important;
    animation: none;
}
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(122,30,44,0.4); }
    50% { box-shadow: 0 8px 35px rgba(122,30,44,0.65), 0 0 0 8px rgba(122,30,44,0.08); }
}

/* === SECTION DIVIDER WAVES === */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }
.wave-divider-navy { fill: #0B1F4D; }
.wave-divider-maroon { fill: #7A1E2C; }
.wave-divider-white { fill: #ffffff; }
.wave-divider-light { fill: #F8F9FC; }

/* === RESPONSIVE FINE-TUNING === */
@media (max-width: 991px) {
    .apply-form-wrap { padding: 28px; }
    .contact-form-wrap { padding: 28px; }
    .about-mission-card, .about-vision-card { margin-bottom: 20px; }
    .page-hero { padding: 80px 0 50px; }
    .brand-tabs { border-radius: 16px; padding: 8px; }
}
@media (max-width: 767px) {
    .apply-form-wrap { padding: 24px 18px; }
    .contact-form-wrap { padding: 24px 18px; }
    .page-hero h1 { font-size: 1.9rem; }
    .donate-amount-grid { grid-template-columns: repeat(3, 1fr); }
    .fab-donate { bottom: 90px; right: 20px; }
    #backToTopBtn { bottom: 24px; right: 20px; }
    .section-wrapper { padding: 65px 0; }
    .brand-heading { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .donate-amount-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item img { height: 180px; }
    .news-card-img-wrap img { height: 190px; }
}

/* === AOS ANIMATION OVERRIDES === */
[data-aos] { transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important; }

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #F8F9FC; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0B1F4D, #7A1E2C);
    border-radius: 10px;
    border: 2px solid #F8F9FC;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #7A1E2C, #0B1F4D); }

/* === SELECTION COLOR === */
::selection {
    background: rgba(11,31,77,0.18);
    color: #0B1F4D;
}

/* === PARTNERS MARQUEE SECTION === */
.partners-marquee-wrapper {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 30px rgba(11,31,77,0.06);
    border: 1px solid rgba(11,31,77,0.06);
    padding: 20px 0;
}
.partners-marquee { overflow: hidden; width: 100%; }
.partners-track {
    display: flex;
    gap: 30px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-logo-card {
    flex-shrink: 0;
    width: 180px;
    padding: 20px 15px;
    text-align: center;
    border-radius: 14px;
    background: #f8f9ff;
    border: 1.5px solid rgba(11,31,77,0.06);
    transition: all 0.35s ease;
    cursor: pointer;
}
.partner-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(11,31,77,0.10);
    border-color: var(--accent-gold);
}
.partner-logo-card img {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(11,31,77,0.08);
    margin-bottom: 12px;
    transition: border-color 0.3s;
}
.partner-logo-card:hover img { border-color: var(--accent-gold); }
.partner-fallback {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B1F4D, #7A1E2C);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.6rem;
    margin: 0 auto 12px;
}
.partner-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0B1F4D;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === ABOUT MISSION/VISION CARDS === */
.about-mission-card,
.about-vision-card {
    padding: 35px 30px;
    border-radius: 18px;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.about-mission-card {
    background: linear-gradient(135deg, #0B1F4D 0%, #1a3a7a 100%);
}
.about-vision-card {
    background: linear-gradient(135deg, #7A1E2C 0%, #a83246 100%);
}
.about-mission-card::before,
.about-vision-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

/* === GALLERY LIGHTBOX FIX === */
.custom-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.custom-lightbox.active { display: flex; }
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    background: none; border: none;
    color: #fff; font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s;
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-content {
    max-width: 90vw; max-height: 85vh;
    border-radius: 12px;
    overflow: hidden;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

/* === GALLERY GRID AND FILTER BAR === */
.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.gallery-filter-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #f8f9ff;
    border: 1.5px solid rgba(11,31,77,0.08);
    border-radius: 50px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}
.gallery-filter-btn:hover {
    color: #fff;
    background: var(--accent-maroon);
    border-color: var(--accent-maroon);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(122,30,44,0.15);
}
.gallery-filter-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #0B1F4D 0%, #123C73 100%);
    border-color: #0B1F4D;
    box-shadow: 0 4px 15px rgba(11,31,77,0.2);
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0B1F4D;
    box-shadow: 0 8px 30px rgba(11,31,77,0.06);
    border: 1px solid rgba(11,31,77,0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-item-video-fallback {
    width: 100%;
    height: 100%;
    background: #0B1F4D;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.4s;
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(11,31,77,0.15);
    border-color: var(--accent-gold);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,31,77,0.95) 0%, rgba(11,31,77,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-item-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 54px;
    height: 54px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B1F4D;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(201,150,12,0.4);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gallery-item:hover .gallery-item-overlay-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* === APPLY FORM WRAP (member/volunteer) === */
.apply-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 8px 40px rgba(11,31,77,0.08);
    border: 1px solid rgba(11,31,77,0.06);
}
@media (max-width: 768px) {
    .apply-form-wrap { padding: 25px 20px; }
    .partner-logo-card { width: 140px; }
}


