/* ==========================================================================
   SCE SUPAUL TECHNICAL CLUB - MONOCHROME HIGH-TECH STYLESHEET
   Supaul College of Engineering (SCE Supaul) | Department of Science & Tech, Bihar
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    --bg-main: #050505;
    --bg-surface: #0c0c0c;
    --bg-card: #121212;
    --bg-card-hover: #181818;
    --bg-elevated: #202020;
    
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #666666;
    
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.25);
    --border-glow: rgba(255, 255, 255, 0.6);
    
    --accent-glow: 0 0 25px rgba(255, 255, 255, 0.25);
    --accent-glow-strong: 0 0 35px rgba(255, 255, 255, 0.45);
    
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   DAY / NIGHT THEME SWITCH ANIMATIONS
   ============================================= */
.theme-ripple-wave {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 60%, transparent 100%);
    pointer-events: none;
    z-index: 999999;
    animation: themeRippleSweep 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

body.day-mode .theme-ripple-wave {
    background: radial-gradient(circle, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

@keyframes themeRippleSweep {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(120);
        opacity: 0;
    }
}

/* =========================================
   DAY MODE (PURE LIGHT THEME)
   Background -> Pure White (#ffffff)
   Text -> Pure Black (#000000)
   ========================================= */
body.day-mode {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* All background elements & containers become PURE WHITE */
body.day-mode,
body.day-mode main,
body.day-mode section,
body.day-mode header,
body.day-mode footer,
body.day-mode nav,
body.day-mode article,
body.day-mode aside,
body.day-mode .site-header,
body.day-mode .hero-section,
body.day-mode .section-container,
body.day-mode .main-wrapper,
body.day-mode .grid-overlay,
body.day-mode .site-footer {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* Hide dark scanlines in day mode */
body.day-mode .scanlines {
    display: none !important;
}

/* Cards & containers -> Pure White background with clean subtle border & rich 4-sided shadow */
body.day-mode .wing-card,
body.day-mode .event-card,
body.day-mode .project-card,
body.day-mode .team-card,
body.day-mode .gallery-card,
body.day-mode .contact-card,
body.day-mode .stat-card,
body.day-mode .vm-card,
body.day-mode .social-card,
body.day-mode .video-card,
body.day-mode .insta-embed-card,
body.day-mode .modal-box,
body.day-mode .badge,
body.day-mode .photo-item-card,
body.day-mode [class*="card"] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Hover state for all cards in Day Mode */
body.day-mode .wing-card:hover,
body.day-mode .event-card:hover,
body.day-mode .project-card:hover,
body.day-mode .team-card:hover,
body.day-mode .gallery-card:hover,
body.day-mode .contact-card:hover,
body.day-mode .stat-card:hover,
body.day-mode .photo-item-card:hover,
body.day-mode [class*="card"]:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px) !important;
}

/* Day Mode & Cloud/Afternoon Mode Gallery Cards & Caption Styling */
body.day-mode .gallery-card,
body.afternoon-mode .gallery-card,
body.day-mode [class*="gallery-card"],
body.afternoon-mode [class*="gallery-card"] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07) !important;
}

body.day-mode .gallery-card:hover,
body.afternoon-mode .gallery-card:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-5px) !important;
}

body.day-mode .gallery-caption,
body.afternoon-mode .gallery-caption {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 1.2rem 1.4rem !important;
}

body.day-mode .gallery-caption h4,
body.afternoon-mode .gallery-caption h4 {
    color: #0f172a !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

body.day-mode .gallery-caption p,
body.afternoon-mode .gallery-caption p {
    color: #475569 !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

body.day-mode .gallery-caption .btn-text,
body.afternoon-mode .gallery-caption .btn-text,
body.day-mode .btn-text,
body.afternoon-mode .btn-text {
    color: #0284c7 !important;
    font-weight: 600 !important;
}

body.day-mode .full-photo-card,
body.afternoon-mode .full-photo-card {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

body.day-mode .full-photo-img-box,
body.afternoon-mode .full-photo-img-box {
    background-color: #f8fafc !important;
}

/* Footer Styling in Night & Day Mode */
.footer-nav-link {
    color: #38bdf8;
    transition: color 0.3s ease;
}
.footer-nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

body.day-mode .site-footer {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
}
body.day-mode .footer-nav-link {
    color: #0284c7 !important;
}
body.day-mode .footer-nav-link:hover {
    color: #000000 !important;
}

/* All Text Elements -> PURE BLACK */
body.day-mode *,
body.day-mode h1, body.day-mode h2, body.day-mode h3,
body.day-mode h4, body.day-mode h5, body.day-mode h6,
body.day-mode p, body.day-mode span, body.day-mode a,
body.day-mode li, body.day-mode label, body.day-mode div,
body.day-mode strong, body.day-mode b, body.day-mode i,
body.day-mode small, body.day-mode .section-title,
body.day-mode .section-subtitle, body.day-mode .nav-link,
body.day-mode .logo-title, body.day-mode .mobile-logo-title,
body.day-mode .logo-sub, body.day-mode .mobile-logo-sub,
body.day-mode .btn-text {
    color: #000000 !important;
    text-shadow: none !important;
}

/* Primary Action Buttons in Day Mode -> Pure Black background with Pure White text */
body.day-mode .btn-primary,
body.day-mode .btn.btn-primary,
body.day-mode button.btn-primary {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}
body.day-mode .btn-primary *,
body.day-mode .btn-primary span {
    color: #ffffff !important;
}

body.day-mode .btn-outline {
    border-color: rgba(0, 0, 0, 0.25) !important;
    color: #000000 !important;
}
body.day-mode .btn-outline:hover {
    border-color: #000000 !important;
    background: rgba(0, 0, 0, 0.05) !important;
}
body.day-mode .event-date-box {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Toggle Button in Day Mode -> Modern Dark Slate pill with white text & cyan border */
body.day-mode .theme-control,
body.day-mode #themeToggleBtn {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #0284c7 !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3) !important;
}
body.day-mode .theme-control *,
body.day-mode #themeToggleBtn * {
    color: #ffffff !important;
}

/* SVGs and Icons color handling */
body.day-mode svg {
    stroke: #000000 !important;
}
body.day-mode .btn-primary svg,
body.day-mode #themeToggleBtn svg {
    stroke: #ffffff !important;
}

/* Header & Nav in Day Mode */
body.day-mode .site-header {
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}
body.day-mode .nav-link:hover,
body.day-mode .nav-link.active {
    border-bottom-color: #000000 !important;
}

/* Gallery Sub-Pages in Day Mode */
body.day-mode .gallery-page-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
body.day-mode .page-main-title {
    color: #000000 !important;
}
body.day-mode .page-sub-title {
    color: #333333 !important;
}
body.day-mode .photo-item-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}
body.day-mode .back-nav-btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

/* Modal backdrop */
body.day-mode .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* =========================================
   AFTERNOON MODE (WARM PROFESSIONAL THEME)
   Day/Night rules above remain unchanged.
   ========================================= */
body.afternoon-mode {
    --afternoon-ink: #2f241d;
    --afternoon-muted: #6b5a4d;
    --afternoon-paper: #fffaf3;
    --afternoon-surface: #f7eee3;
    --afternoon-line: rgba(126, 78, 45, 0.22);
    --afternoon-accent: #b95f32;
    --afternoon-accent-dark: #8d4527;
    background: #f4eadf !important;
    color: var(--afternoon-ink) !important;
}

body.afternoon-mode,
body.afternoon-mode main,
body.afternoon-mode section,
body.afternoon-mode header,
body.afternoon-mode footer,
body.afternoon-mode nav,
body.afternoon-mode article,
body.afternoon-mode aside,
body.afternoon-mode .site-header,
body.afternoon-mode .hero-section,
body.afternoon-mode .section-container,
body.afternoon-mode .main-wrapper,
body.afternoon-mode .grid-overlay,
body.afternoon-mode .site-footer {
    background-color: #f4eadf !important;
    background-image: none !important;
}

body.afternoon-mode .grid-overlay {
    opacity: 0.22 !important;
    background-image: linear-gradient(rgba(126, 78, 45, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 78, 45, 0.08) 1px, transparent 1px) !important;
}

body.afternoon-mode .scanlines {
    opacity: 0.035 !important;
    background: repeating-linear-gradient(0deg, rgba(126, 78, 45, 0.24) 0, rgba(126, 78, 45, 0.24) 1px, transparent 1px, transparent 4px) !important;
}

body.afternoon-mode .theme-ripple-wave {
    background: radial-gradient(circle, rgba(226, 133, 72, 0.92) 0%, rgba(226, 133, 72, 0.32) 58%, transparent 100%);
}

body.afternoon-mode .wing-card,
body.afternoon-mode .event-card,
body.afternoon-mode .project-card,
body.afternoon-mode .team-card,
body.afternoon-mode .gallery-card,
body.afternoon-mode .contact-card,
body.afternoon-mode .stat-card,
body.afternoon-mode .modal-box,
body.afternoon-mode .badge,
body.afternoon-mode .photo-item-card,
body.afternoon-mode .faq-item,
body.afternoon-mode [class*="card"] {
    background: var(--afternoon-paper) !important;
    border: 1px solid var(--afternoon-line) !important;
    box-shadow: 0 10px 28px rgba(126, 78, 45, 0.12), 0 2px 8px rgba(126, 78, 45, 0.07) !important;
}

body.afternoon-mode .wing-card:hover,
body.afternoon-mode .event-card:hover,
body.afternoon-mode .project-card:hover,
body.afternoon-mode .team-card:hover,
body.afternoon-mode .gallery-card:hover,
body.afternoon-mode .contact-card:hover,
body.afternoon-mode .stat-card:hover,
body.afternoon-mode .photo-item-card:hover,
body.afternoon-mode [class*="card"]:hover {
    box-shadow: 0 15px 36px rgba(126, 78, 45, 0.18), 0 4px 12px rgba(126, 78, 45, 0.1) !important;
}

body.afternoon-mode *,
body.afternoon-mode h1, body.afternoon-mode h2, body.afternoon-mode h3,
body.afternoon-mode h4, body.afternoon-mode h5, body.afternoon-mode h6,
body.afternoon-mode p, body.afternoon-mode span, body.afternoon-mode a,
body.afternoon-mode li, body.afternoon-mode label, body.afternoon-mode div,
body.afternoon-mode strong, body.afternoon-mode b, body.afternoon-mode i,
body.afternoon-mode small, body.afternoon-mode .section-title,
body.afternoon-mode .section-subtitle, body.afternoon-mode .nav-link,
body.afternoon-mode .logo-title, body.afternoon-mode .mobile-logo-title,
body.afternoon-mode .logo-sub, body.afternoon-mode .mobile-logo-sub,
body.afternoon-mode .btn-text {
    color: var(--afternoon-ink) !important;
    text-shadow: none !important;
}

body.afternoon-mode .text-gradient,
body.afternoon-mode .section-tag,
body.afternoon-mode .tech-tag,
body.afternoon-mode .tech-coordinates,
body.afternoon-mode .event-month,
body.afternoon-mode .event-day,
body.afternoon-mode .stat-number {
    color: var(--afternoon-accent) !important;
    -webkit-text-fill-color: var(--afternoon-accent) !important;
    background: none !important;
}

body.afternoon-mode .hero-typewriter-box {
    color: var(--afternoon-accent-dark) !important;
    background: rgba(185, 95, 50, 0.1) !important;
    border-color: rgba(185, 95, 50, 0.3) !important;
    box-shadow: 0 0 24px rgba(185, 95, 50, 0.12) !important;
}
body.afternoon-mode .hero-typewriter-box span,
body.afternoon-mode .hero-typewriter-box #typewriterText,
body.afternoon-mode .hero-typewriter-box .typewriter-cursor {
    color: var(--afternoon-accent-dark) !important;
    -webkit-text-fill-color: var(--afternoon-accent-dark) !important;
    text-shadow: none !important;
}
body.afternoon-mode .hero-description,
body.afternoon-mode .page-sub-title {
    color: var(--afternoon-muted) !important;
}

body.afternoon-mode .btn-primary,
body.afternoon-mode .btn.btn-primary,
body.afternoon-mode button.btn-primary,
body.afternoon-mode .back-nav-btn {
    background: var(--afternoon-accent-dark) !important;
    color: #fffaf3 !important;
    border-color: var(--afternoon-accent-dark) !important;
}
body.afternoon-mode .btn-primary *,
body.afternoon-mode .btn-primary span,
body.afternoon-mode .back-nav-btn * {
    color: #fffaf3 !important;
}

body.afternoon-mode .btn-outline {
    border-color: var(--afternoon-line) !important;
    color: var(--afternoon-text) !important;
}
body.afternoon-mode .btn-outline:hover {
    border-color: var(--afternoon-accent) !important;
    background: rgba(185, 95, 50, 0.08) !important;
}
body.afternoon-mode .event-date-box {
    background: #fff8f0 !important;
    border: 1px solid var(--afternoon-line) !important;
    box-shadow: 0 2px 8px rgba(126, 78, 45, 0.08) !important;
}

body.afternoon-mode .theme-control,
body.afternoon-mode #themeToggleBtn {
    background: var(--afternoon-accent) !important;
    color: #fffaf3 !important;
    border-color: var(--afternoon-accent-dark) !important;
    box-shadow: 0 4px 15px rgba(185, 95, 50, 0.3) !important;
}
body.afternoon-mode .theme-control *,
body.afternoon-mode #themeToggleBtn * {
    color: #fffaf3 !important;
}
body.afternoon-mode .site-header {
    border-bottom: 1px solid var(--afternoon-line) !important;
    box-shadow: 0 2px 12px rgba(126, 78, 45, 0.08) !important;
}
body.afternoon-mode .nav-link:hover,
body.afternoon-mode .nav-link.active {
    border-bottom-color: var(--afternoon-accent) !important;
    color: var(--afternoon-accent-dark) !important;
}
body.afternoon-mode .gallery-caption {
    background: var(--afternoon-paper) !important;
    border-top: 1px solid var(--afternoon-line) !important;
}
body.afternoon-mode .gallery-page-header {
    background: var(--afternoon-paper) !important;
    border-bottom: 1px solid var(--afternoon-line) !important;
}
body.afternoon-mode .page-main-title {
    color: var(--afternoon-ink) !important;
}
body.afternoon-mode .modal-backdrop {
    background-color: rgba(62, 38, 25, 0.48) !important;
}
body.afternoon-mode svg {
    stroke: var(--afternoon-accent-dark) !important;
}
body.afternoon-mode .btn-primary svg,
body.afternoon-mode #themeToggleBtn svg,
body.afternoon-mode .back-nav-btn svg {
    stroke: #fffaf3 !important;
}

/* --- Global Reset & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: #ffffff;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #404040;
}

/* --- Background Effects & Overlay --- */
#cyberCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.3)
    );
    background-size: 100% 4px;
    z-index: 99;
    pointer-events: none;
    opacity: 0.3;
}

/* --- Hero Marquee Banner (Right under TECHNICAL CLUB Title) --- */
.hero-notification-marquee {
    margin: 1.25rem 0 1.5rem 0;
    padding: 0.5rem 0.85rem;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 720px;
}

.notification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.85rem;
}

.marquee-wrapper marquee {
    vertical-align: middle;
}

.marquee-wrapper strong {
    color: #ffffff;
}

.marquee-url {
    color: #ffffff;
    font-family: var(--font-mono);
    font-weight: 600;
    text-decoration: underline;
}

.notification-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: #ffffff;
    color: #000000 !important;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.notification-btn:hover {
    background: #e5e5e5;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-normal);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon-img-box,
.official-seal-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon-img-box:hover,
.official-seal-badge:hover {
    transform: scale(1.05);
    border-color: #00f2fe;
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
}

.brand-logo-img,
.seal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-mobile-center-text {
    display: none;
}

.hero-slogan-badge {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #ffffff;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1.1;
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.mobile-only-ui,
.mobile-drawer-header,
.drawer-action-btn-group,
.header-mobile-center-text,
.floating-mobile-menu-btn,
#floatingMobileMenuBtn,
.mobile-menu-toggle,
.mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    box-shadow: 0 0 10px #ffffff;
    transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* MODERN PILL THEME TOGGLE CONTROL */
.theme-control {
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 30px;
    padding: 0.35rem 0.85rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
    user-select: none;
}

.theme-control:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(14, 165, 233, 0.22);
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.theme-control:active {
    transform: translateY(0) scale(0.97);
}

.nav-theme-btn {
    display: none !important;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    border-color: var(--border-strong);
    color: #ffffff;
    background: var(--bg-card);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: #e6e6e6;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: #ffffff;
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-dark {
    background: #000000;
    color: #ffffff;
    border: 1px solid #333333;
}

.btn-dark:hover {
    border-color: #666666;
    background: #111111;
}

.btn-text {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-text:hover {
    text-decoration: underline;
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

/* --- Hero Section --- */
.hero-section {
    padding: 10rem 1.5rem 5rem 1.5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px #ffffff; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.text-white-glow {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 620px;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #ffffff;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hero Media Image Frame */
.image-frame-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(110%) brightness(95%);
    transition: transform var(--transition-slow);
}

.image-frame-container:hover .hero-banner-img {
    transform: scale(1.03);
}

.frame-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    z-index: 2;
}

.frame-corner.top-left { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.frame-corner.top-right { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.frame-corner.bottom-left { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.frame-corner.bottom-right { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.image-overlay-tech {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* --- Section Layouts --- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.bg-surface {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* --- Technical Wings Grid --- */
.wings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.wing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.wing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.wing-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.wing-card:hover::before {
    opacity: 1;
}

.wing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.wing-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.wing-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.wing-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.wing-domain {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.wing-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.wing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.wing-tags span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.wing-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.07);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0.85rem 1rem;
    margin: 0.75rem -1rem -1rem -1rem;
}

/* --- OSINT Campus Grid --- */
.osint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.osint-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.meta-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.meta-key {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.meta-val {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

.branches-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branch-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.branch-code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    background: #ffffff;
    color: #000000;
    border-radius: var(--radius-sm);
}

.branch-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.branch-details p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.map-container-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.coord-badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.map-iframe-wrapper {
    width: 100%;
}

/* --- Resource Download Library --- */
.resource-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    flex-grow: 1;
    max-width: 480px;
}

.search-input-wrapper input {
    background: none;
    border: none;
    outline: none;
    color: #ffffff;
    width: 100%;
    font-size: 0.9rem;
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.75rem;
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.resource-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.event-res-thumb {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
}

.event-res-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.event-res-thumb:hover .event-res-img {
    transform: scale(1.05);
}

.res-type-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

/* Event Gallery Grid Styling */
.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.gallery-card {
    background: #0c0d12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.gallery-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.gallery-img-box {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-img-box img,
.gallery-card:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    padding: 1.2rem 1.4rem;
    background: linear-gradient(180deg, #11141d 0%, #0a0b0e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.res-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.res-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.res-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-subtle);
}

/* --- Events Grid --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all var(--transition-normal);
}

.event-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-5px);
}

.event-date-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #ffffff;
    color: #000000;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.event-month {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.event-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-type {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.25rem 0 0.5rem 0;
}

.event-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-5px);
}

.project-preview-code {
    background: #000000;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #a3a3a3;
    overflow-x: auto;
}

.project-body {
    padding: 1.75rem;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: #ffffff;
}

/* --- Join & Digital Member Pass Section --- */
.join-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.join-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group select {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: #ffffff;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

/* Digital ID Card Preview Styling */
.id-card-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.card-preview-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.digital-id-card {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(145deg, #181818, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.digital-id-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.id-logo-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.id-card-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
}

.id-logo-text span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    display: block;
    color: #ffffff;
}

.id-logo-text small {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
}

.id-chip {
    width: 36px;
    height: 26px;
    background: linear-gradient(135deg, #d4d4d4, #737373);
    border-radius: 4px;
    border: 1px solid #ffffff;
}

.id-card-body {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.id-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #000000;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.id-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.id-role {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.id-detail-row {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.id-detail-row strong {
    color: #ffffff;
}

.id-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.id-status .text-glow {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 8px #ffffff;
}

/* --- CLI Cyber Terminal Drawer --- */
.terminal-drawer {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    height: 420px;
    background: #050505;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.15);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-drawer.open {
    bottom: 0;
}

.terminal-header {
    background: #121212;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.terminal-close {
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.terminal-close:hover {
    color: #ffffff;
}

.terminal-body {
    flex-grow: 1;
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e5e5e5;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.term-cmd {
    color: #ffffff;
    font-weight: 700;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: #0d0d0d;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
}

.term-prompt {
    color: #ffffff;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.term-input {
    background: none;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    flex-grow: 1;
}

/* --- Modals & Ticket Pass Output --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 12, 0.82) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

body.modal-open .site-footer {
    display: none !important;
}

.modal-box {
    display: none;
    background: #12141d;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 620px;
    padding: 2.25rem;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
    z-index: 100000;
    margin: 0 auto;
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal-close-btn:hover {
    color: #ffffff;
}

.event-modal-header {
    margin-bottom: 1.5rem;
}

.event-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

.ticket-pass-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    color: #000000;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
}

.ticket-pass-box.hidden {
    display: none;
}

.ticket-pass-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px stroke #000000;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

/* --- Footer --- */
.site-footer {
    background: #000000;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 1.5rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 1rem 0;
    max-width: 400px;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links, .footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contacts strong {
    color: #ffffff;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .osint-grid {
        grid-template-columns: 1fr;
    }
    
    .join-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .college-name-title {
        white-space: nowrap !important;
        font-size: clamp(1.8rem, 4.35vw, 4.2rem) !important;
    }
}



@media (max-width: 768px) {
    /* Prevent horizontal scroll & overflow on mobile */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Mobile Header Layout: Left Club Logo, Centered TECHNICAL CLUB, Right Official Seal Logo */
    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        padding: 0.45rem 0.85rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .brand-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        flex: 0 0 auto !important;
    }

    /* LEFT LOGO EXACT 38px */
    .logo-icon-img-box {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
    }

    .desktop-only-text {
        display: none !important;
    }

    .header-container {
        position: relative !important;
    }

    /* EXACT MATHEMATICAL CENTERING FOR MOBILE HEADER TEXT BETWEEN BOTH LOGOS */
    button.header-mobile-center-text,
    .header-mobile-center-text {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        pointer-events: auto !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
        padding: 4px 10px !important;
        cursor: pointer !important;
        user-select: none !important;
        white-space: nowrap !important;
        z-index: 999 !important;
        max-width: calc(100% - 110px) !important;
        border-radius: 10px !important;
        transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        -webkit-appearance: none !important;
        outline: none !important;
    }

    .header-mobile-center-text * {
        pointer-events: none !important;
    }

    .header-mobile-center-text:active {
        transform: translate(-50%, -50%) scale(0.94) !important;
        opacity: 0.75 !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }

    .mobile-logo-title {
        font-family: var(--font-heading) !important;
        font-size: clamp(0.78rem, 3.4vw, 1.05rem) !important;
        font-weight: 800 !important;
        letter-spacing: 0.6px !important;
        white-space: nowrap !important;
        color: #ffffff !important;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
    }

    body.day-mode .mobile-logo-title {
        color: #0f172a !important;
        text-shadow: none !important;
    }

    body.afternoon-mode .mobile-logo-title {
        color: #3b220c !important;
        text-shadow: none !important;
    }

    .mobile-logo-sub {
        font-family: var(--font-mono) !important;
        font-size: clamp(0.45rem, 1.8vw, 0.58rem) !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        color: #38bdf8 !important;
        margin-top: 1px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
    }

    body.day-mode .mobile-logo-sub {
        color: #0284c7 !important;
    }

    body.afternoon-mode .mobile-logo-sub {
        color: #d97706 !important;
    }

    /* RIGHT COLLEGE OFFICIAL SEAL LOGO (EXACT 38px MATCH WITH LEFT LOGO) */
    .header-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
    }

    .official-seal-badge {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: #000000 !important;
        overflow: hidden !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.25) !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .seal-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 50% !important;
    }

    /* MOBILE MENU TOGGLE 3-DOT KEBAB BUTTON */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        margin-left: 0.5rem;
    }

    .hamburger-line {
        width: 5px;
        height: 5px;
        background-color: #ffffff;
        border-radius: 50%;
        transition: all 0.3s ease;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    }

    .mobile-menu-toggle.active {
        background: rgba(56, 189, 248, 0.2) !important;
        border-color: rgba(56, 189, 248, 0.6) !important;
    }

    .mobile-menu-toggle.active .hamburger-line {
        background-color: #38bdf8 !important;
        box-shadow: 0 0 8px #38bdf8;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(2px) scale(1.15);
    }
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        transform: scale(0.85);
        opacity: 0.7;
    }
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-2px) scale(1.15);
    }

    /* FLOATING MOBILE NAVIGATION DOCK WIDGET (TRANSLUCENT GLASSMORPHIC DOCK WITH 3-LINE MENU) */
    .floating-mobile-menu-btn,
    #floatingMobileMenuBtn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: center !important;
        position: fixed !important;
        bottom: 22px !important;
        right: 18px !important;
        width: 54px !important;
        height: 54px !important;
        padding: 0 !important;
        background: rgba(15, 23, 42, 0.65) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
        border-radius: 50% !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.25) !important;
        cursor: pointer !important;
        z-index: 999999 !important;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        color: #38bdf8 !important;
    }

    .floating-menu-icon {
        width: 24px !important;
        height: 24px !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .floating-mobile-menu-btn.active {
        background: rgba(14, 165, 233, 0.8) !important;
        border-color: #ffffff !important;
        color: #ffffff !important;
        box-shadow: 0 0 30px rgba(56, 189, 248, 0.8), 0 0 15px rgba(255, 255, 255, 0.6) !important;
        transform: scale(1.08) !important;
    }

    .floating-mobile-menu-btn.active .floating-menu-icon {
        transform: rotate(90deg) scale(1.1) !important;
    }

    /* DAY MODE TRANSLUCENT FLOATING DOCK */
    body.day-mode .floating-mobile-menu-btn {
        background: rgba(255, 255, 255, 0.75) !important;
        border: 1.5px solid rgba(2, 132, 199, 0.4) !important;
        color: #0284c7 !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 15px rgba(2, 132, 199, 0.2) !important;
    }

    body.day-mode .floating-mobile-menu-btn.active {
        background: #0284c7 !important;
        color: #ffffff !important;
    }

    /* BODY SCROLL LOCK WHEN MOBILE DRAWER IS OPEN */
    body.menu-drawer-open {
        overflow: hidden !important;
        touch-action: none !important;
        height: 100vh !important;
    }

    /* ENHANCED GLASSMORPHIC MOBILE DRAWER MENU UI */
    .main-nav {
        display: none !important;
        position: fixed !important;
        top: 68px !important;
        left: 12px !important;
        right: 12px !important;
        max-height: calc(100vh - 95px) !important;
        overflow-y: auto !important;
        background: rgba(8, 10, 15, 0.97) !important;
        backdrop-filter: blur(28px) !important;
        -webkit-backdrop-filter: blur(28px) !important;
        border: 1px solid rgba(56, 189, 248, 0.35) !important;
        border-radius: 18px !important;
        padding: 1rem 0.85rem !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
        z-index: 9998 !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(14, 165, 233, 0.25) !important;
    }

    .main-nav.mobile-active {
        display: flex !important;
        animation: drawerPop 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    }

    @keyframes drawerPop {
        from { opacity: 0; transform: translateY(-12px) scale(0.97); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* ENHANCED ULTRA-PREMIUM MOBILE DRAWER HEADER & POPUP UI */
    .mobile-drawer-header {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        height: auto !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.5rem 0.25rem 0.85rem 0.25rem !important;
        border-bottom: 1.5px dashed rgba(56, 189, 248, 0.3) !important;
        margin-bottom: 0.75rem !important;
        gap: 0.85rem !important;
        box-sizing: border-box !important;
    }

    .drawer-close-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        outline: none !important;
        flex-shrink: 0 !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.15) !important;
    }

    .drawer-close-btn:active {
        background: rgba(239, 68, 68, 0.25) !important;
        border-color: rgba(239, 68, 68, 0.8) !important;
        color: #ef4444 !important;
        transform: scale(0.9) rotate(90deg) !important;
        box-shadow: 0 0 18px rgba(239, 68, 68, 0.6) !important;
    }

    .drawer-title {
        font-family: var(--font-mono) !important;
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        color: #38bdf8 !important;
        letter-spacing: 1.2px !important;
        text-transform: uppercase !important;
        text-shadow: 0 0 12px rgba(56, 189, 248, 0.5) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex: 1 !important;
        text-align: center !important;
        margin: 0 0.35rem !important;
    }

    .drawer-theme-btn {
        background: rgba(14, 165, 233, 0.18) !important;
        border: 1.5px solid rgba(56, 189, 248, 0.5) !important;
        color: #ffffff !important;
        padding: 0.4rem 0.85rem !important;
        border-radius: 20px !important;
        font-size: 0.8rem !important;
        font-family: var(--font-mono) !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        flex-shrink: 0 !important;
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.25) !important;
        transition: all 0.2s ease !important;
    }

    .drawer-theme-btn:active {
        transform: scale(0.94) !important;
        background: rgba(56, 189, 248, 0.3) !important;
    }

    /* SLEEK MOBILE THEME MODE OPTIONS UI */
    .mobile-drawer-control-dock {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        height: auto !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .theme-mode-option {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0.8rem 1rem !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
        font-family: var(--font-heading) !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        outline: none !important;
        transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .opt-icon {
        font-size: 1.25rem !important;
        line-height: 1 !important;
    }

    .opt-label {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        color: #f1f5f9 !important;
    }

    .theme-mode-option.night-opt {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%) !important;
        border-color: rgba(56, 189, 248, 0.45) !important;
    }

    .theme-mode-option.day-opt {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%) !important;
        border-color: rgba(251, 191, 36, 0.45) !important;
    }

    .theme-mode-option.afternoon-opt {
        background: linear-gradient(135deg, rgba(234, 88, 12, 0.15) 0%, rgba(194, 65, 12, 0.15) 100%) !important;
        border-color: rgba(249, 115, 22, 0.45) !important;
    }

    .theme-mode-option:active {
        transform: scale(0.97) !important;
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.35) !important;
    }

    .drawer-action-btn-group {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        height: auto !important;
        width: auto !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        margin-top: 0.4rem !important;
        padding-top: 0.65rem !important;
        border-top: 1px dashed rgba(255, 255, 255, 0.15) !important;
    }

    .drawer-action-badge {
        padding: 0.55rem 0.65rem !important;
        border-radius: 10px !important;
        font-size: 0.76rem !important;
        font-family: var(--font-mono) !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.35rem !important;
        cursor: pointer !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        transition: all 0.2s ease !important;
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }

    .drawer-sih-badge {
        background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(194, 65, 12, 0.2)) !important;
        border-color: rgba(249, 115, 22, 0.5) !important;
        color: #f97316 !important;
    }

    .drawer-dev-badge {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(2, 132, 199, 0.2)) !important;
        border-color: rgba(56, 189, 248, 0.5) !important;
        color: #38bdf8 !important;
    }

    /* MOBILE BOTTOM NAVIGATION BAR REMOVED */
    .mobile-bottom-nav {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        color: #94a3b8;
        font-size: 0.65rem;
        font-family: var(--font-heading);
        font-weight: 700;
        text-decoration: none;
        transition: all 0.25s ease;
        padding: 0.25rem 0.5rem;
        border-radius: 8px;
    }

    .mobile-bottom-item.active, .mobile-bottom-item:hover {
        color: #38bdf8;
        background: rgba(56, 189, 248, 0.1);
    }

    /* Hero Section Mobile Optimization */
    .hero-section {
        padding-top: 5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .hero-status-pill {
        display: none !important;
    }

    .college-name-title {
        font-size: clamp(1.35rem, 6vw, 2.1rem) !important;
        white-space: normal !important;
        line-height: 1.25 !important;
        letter-spacing: 0.3px !important;
        font-weight: 900 !important;
        text-align: center !important;
        word-break: break-word !important;
    }

    .text-gradient {
        font-size: clamp(1rem, 4.2vw, 1.45rem) !important;
        letter-spacing: 3px !important;
        margin-top: 0.4rem !important;
    }

    .hero-slogan-badge {
        font-size: 0.82rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-typewriter-box {
        font-size: clamp(0.95rem, 3.8vw, 1.25rem) !important;
        padding: 0.35rem 1rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 1.25rem !important;
        max-width: 95% !important;
        box-sizing: border-box !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem !important;
    }

    .hero-tags {
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-tags .badge {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.65rem !important;
    }

    .hero-media {
        margin-top: 0.5rem !important;
        padding: 0 0.25rem !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .hero-slider-wrapper {
        min-height: 200px !important;
        max-height: 300px !important;
    }

    .image-overlay-tech {
        padding: 0.4rem 0.65rem !important;
    }

    .tech-tag {
        font-size: 0.6rem !important;
    }

    .tech-coordinates {
        font-size: 0.55rem !important;
    }

    /* Section Container Mobile Responsive Fixes */
    .section-container {
        padding: 3rem 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .section-title {
        font-size: clamp(1.35rem, 5.5vw, 2rem) !important;
    }

    .section-subtitle {
        font-size: 0.85rem !important;
        padding: 0 0.25rem !important;
    }

    .wings-grid, 
    .events-grid, 
    .event-gallery-grid, 
    .projects-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-card {
        padding: 1.4rem 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .contact-card h3 {
        font-size: 1.2rem !important;
    }

    .contact-card div {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    .contact-card a {
        font-size: 0.88rem !important;
        padding: 0.65rem 1rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)) !important;
        gap: 0.75rem !important;
    }

    .team-card {
        padding: 0.9rem 0.6rem !important;
    }

    .member-photo-frame {
        width: 75px !important;
        height: 75px !important;
        margin-bottom: 0.6rem !important;
    }

    .member-name {
        font-size: 0.9rem !important;
    }

    .member-role {
        font-size: 0.7rem !important;
    }

    .gallery-card .gallery-img-box {
        height: 180px !important;
    }

    .gallery-caption h4 {
        font-size: 1.05rem !important;
    }

    .gallery-caption p {
        font-size: 0.8rem !important;
    }
}

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

/* --- Executive Committee & Leadership Section --- */
.team-featured-box {
    max-width: 420px;
    margin: 0 auto 3.5rem auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.team-card.featured-head {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(18, 18, 18, 1) 100%);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.12);
}

.member-photo-frame {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.team-card:hover .member-photo-frame {
    border-color: #ffffff;
    border-style: solid;
}

.member-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    gap: 0.35rem;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.2px;
}

.member-role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: #a3a3a3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.role-badge-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin-top: 0.5rem;
}

@keyframes blinkCaret {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* Hide theme toggle button on mobile screens (<768px) */
@media (max-width: 768px) {
    #themeToggleBtn,
    .theme-control,
    .header-actions .theme-control,
    .header-actions #themeToggleBtn,
    .nav-theme-btn,
    button[onclick*="toggleTheme"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .header-mobile-center-text {
        cursor: default !important;
        pointer-events: none !important;
    }
}

/* ==========================================================================
   FAQ Section Styling (Night Mode & Day Mode Responsive)
   ========================================================================== */
.faq-item {
    background: rgba(12, 14, 20, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.35s ease;
}

.faq-item:hover {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-icon {
    font-size: 1.4rem;
    color: #38bdf8;
    font-weight: 700;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #ffffff;
    background: #0284c7;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.25rem;
    padding-top: 0.85rem;
}

/* DAY MODE & AFTERNOON MODE FAQ STYLING OVERRIDES */
body.day-mode .faq-item,
body.afternoon-mode .faq-item {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.day-mode .faq-item:hover,
body.afternoon-mode .faq-item:hover {
    border-color: rgba(2, 132, 199, 0.4) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12) !important;
}

body.day-mode .faq-question,
body.afternoon-mode .faq-question {
    color: #0f172a !important;
    background: transparent !important;
}

body.day-mode .faq-question span,
body.afternoon-mode .faq-question span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.day-mode .faq-answer-inner,
body.afternoon-mode .faq-answer-inner {
    color: #334155 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.day-mode .faq-icon,
body.afternoon-mode .faq-icon {
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.12) !important;
}

body.day-mode .faq-item.active .faq-icon,
body.afternoon-mode .faq-item.active .faq-icon {
    color: #ffffff !important;
    background: #0284c7 !important;
}

/* ==========================================================================
   MOBILE NAVIGATION THEME OVERRIDES (DAY & AFTERNOON MODE)
   ========================================================================== */
body.day-mode .mobile-menu-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.day-mode .hamburger-line {
    background-color: #0f172a !important;
}

body.day-mode .main-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}

body.day-mode .main-nav .nav-link {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.day-mode .main-nav .nav-link.active,
body.day-mode .main-nav .nav-link:hover {
    background: rgba(2, 132, 199, 0.12) !important;
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}

body.day-mode .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08) !important;
}

body.day-mode .mobile-bottom-item {
    color: #64748b !important;
}

body.day-mode .mobile-bottom-item.active,
body.day-mode .mobile-bottom-item:hover {
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.1) !important;
}

body.afternoon-mode .mobile-menu-toggle {
    background: rgba(126, 78, 45, 0.08) !important;
    border-color: rgba(126, 78, 45, 0.25) !important;
}

body.afternoon-mode .hamburger-line {
    background-color: var(--afternoon-ink) !important;
}

body.afternoon-mode .main-nav {
    background: var(--afternoon-paper) !important;
    border-bottom-color: var(--afternoon-line) !important;
}

body.afternoon-mode .main-nav .nav-link {
    color: var(--afternoon-ink) !important;
    background: rgba(126, 78, 45, 0.04) !important;
    border-color: var(--afternoon-line) !important;
}

body.afternoon-mode .mobile-bottom-nav {
    background: var(--afternoon-paper) !important;
    border-top-color: var(--afternoon-line) !important;
}

body.afternoon-mode .mobile-bottom-item {
    color: var(--afternoon-ink) !important;
}

/* ==========================================================================
   HIGH CONTRAST FORM INPUT & SELECT DROPDOWN FIXES
   ========================================================================== */
#eventModal input[type="text"],
#eventModal input[type="tel"],
#eventModal input[type="email"],
#eventModal select,
.sih-input,
.sih-select {
    color: #ffffff !important;
    background-color: #161b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    outline: none !important;
}

#eventModal input::placeholder {
    color: #94a3b8 !important;
    opacity: 0.8 !important;
}

#eventModal select option,
.sih-select option {
    background-color: #161b26 !important;
    color: #ffffff !important;
    padding: 10px !important;
    font-size: 0.9rem !important;
}

/* Day mode overrides for SIH form inputs */
body.day-mode #eventModal input[type="text"],
body.day-mode #eventModal input[type="tel"],
body.day-mode #eventModal input[type="email"],
body.day-mode #eventModal select,
body.day-mode .sih-input,
body.day-mode .sih-select {
    color: #0f172a !important;
    background-color: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body.day-mode #eventModal select option,
body.day-mode .sih-select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* ==========================================================================
   DEVELOPER MODAL STYLING (NIGHT, DAY & AFTERNOON THEMES)
   ========================================================================== */
.dev-modal-box {
    background: linear-gradient(135deg, #0e1118 0%, #080a0e 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
}

.dev-modal-tag {
    color: #38bdf8 !important;
}

.dev-modal-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: #38bdf8;
}

.dev-modal-title {
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0 0 0.4rem 0;
    font-weight: 800;
}

.dev-modal-subtitle {
    color: #38bdf8 !important;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.dev-modal-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.dev-modal-desc {
    color: #e2e8f0 !important;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 0.8rem 0;
}

.dev-modal-list {
    color: #94a3b8 !important;
    font-size: 0.85rem;
    line-height: 1.7;
    padding-left: 1.2rem;
    margin: 0;
}

.dev-email-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.dev-email-btn-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

/* DAY MODE DEV MODAL OVERRIDES */
body.day-mode .dev-modal-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
    color: #0f172a !important;
}

body.day-mode .dev-modal-tag {
    color: #0284c7 !important;
}

body.day-mode .dev-modal-avatar {
    background: rgba(2, 132, 199, 0.12) !important;
    border-color: rgba(2, 132, 199, 0.35) !important;
    color: #0284c7 !important;
}

body.day-mode .dev-modal-title {
    color: #0f172a !important;
}

body.day-mode .dev-modal-subtitle {
    color: #0284c7 !important;
}

body.day-mode .dev-modal-card {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.day-mode .dev-modal-desc {
    color: #1e293b !important;
}

body.day-mode .dev-modal-list {
    color: #475569 !important;
}

body.day-mode .dev-email-btn-secondary {
    background: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
}

/* AFTERNOON MODE DEV MODAL OVERRIDES */
body.afternoon-mode .dev-modal-box {
    background: #fffaf3 !important;
    border: 1px solid rgba(126, 78, 45, 0.25) !important;
    box-shadow: 0 25px 60px rgba(126, 78, 45, 0.2) !important;
    color: #3b220c !important;
}

body.afternoon-mode .dev-modal-tag {
    color: #d97706 !important;
}

body.afternoon-mode .dev-modal-avatar {
    background: rgba(217, 119, 6, 0.12) !important;
    border-color: rgba(217, 119, 6, 0.35) !important;
    color: #d97706 !important;
}

body.afternoon-mode .dev-modal-title {
    color: #3b220c !important;
}

body.afternoon-mode .dev-modal-subtitle {
    color: #d97706 !important;
}

body.afternoon-mode .dev-modal-card {
    background: #fdf6ee !important;
    border: 1px solid rgba(126, 78, 45, 0.15) !important;
}

body.afternoon-mode .dev-modal-desc {
    color: #3b220c !important;
}

body.afternoon-mode .dev-modal-list {
    color: #6b4423 !important;
}

body.afternoon-mode .dev-email-btn-secondary {
    background: #f7ede2 !important;
    border-color: rgba(126, 78, 45, 0.2) !important;
    color: #3b220c !important;
}

/* ==========================================================================
   FLOATING BACK-TO-TOP (TOP VIEW) BUTTON (TRIGGERED ON CONTACT SECTION)
   ========================================================================== */
#scrollTopBtn {
    position: fixed;
    bottom: 88px; /* Placed cleanly above floating mobile nav button to prevent overlap */
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.85);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#scrollTopBtn:hover {
    transform: translateY(-4px) scale(1.08);
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.7);
    color: #ffffff;
}

#scrollTopBtn:active {
    transform: translateY(0) scale(0.95);
}

/* DAY MODE TOP VIEW BUTTON */
body.day-mode #scrollTopBtn {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.4) !important;
}

body.day-mode #scrollTopBtn:hover {
    background: linear-gradient(135deg, #0369a1, #075985) !important;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.55) !important;
}

/* AFTERNOON MODE TOP VIEW BUTTON */
body.afternoon-mode #scrollTopBtn {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45) !important;
}

body.afternoon-mode #scrollTopBtn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.6) !important;
}

/* MOBILE RESPONSIVE POSITIONING (NO OVERLAP WITH FLOATING NAV DOCK) */
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 86px !important; /* Stacked above floating 3-line nav button */
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
    }
}

/* ==========================================================================
   PREMIUM DEVELOPER CONTACT TRIGGER BUTTON (#devContactBtn)
   ========================================================================== */
.dev-contact-trigger-btn {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(2, 132, 199, 0.14));
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.45);
    padding: 0.75rem 1.6rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10;
    min-height: 48px;
    -webkit-appearance: none;
    outline: none;
}

.dev-contact-trigger-btn:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(14, 165, 233, 0.25));
    border-color: rgba(56, 189, 248, 0.75);
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
}

.dev-contact-trigger-btn:active {
    transform: translateY(0) scale(0.98);
}

/* DAY MODE DEVELOPER BUTTON OVERRIDES */
body.day-mode .dev-contact-trigger-btn {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(14, 165, 233, 0.1)) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15) !important;
}

body.day-mode .dev-contact-trigger-btn:hover {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(14, 165, 233, 0.2)) !important;
    border-color: rgba(2, 132, 199, 0.6) !important;
    color: #0369a1 !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25) !important;
}

body.day-mode .dev-badge-tag {
    background: rgba(2, 132, 199, 0.15) !important;
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}

/* AFTERNOON MODE DEVELOPER BUTTON OVERRIDES */
body.afternoon-mode .dev-contact-trigger-btn {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(180, 83, 9, 0.12)) !important;
    color: #d97706 !important;
    border: 1px solid rgba(217, 119, 6, 0.4) !important;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15) !important;
}

body.afternoon-mode .dev-contact-trigger-btn:hover {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.22), rgba(180, 83, 9, 0.22)) !important;
    border-color: rgba(217, 119, 6, 0.65) !important;
    color: #b45309 !important;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25) !important;
}

body.afternoon-mode .dev-badge-tag {
    background: rgba(217, 119, 6, 0.15) !important;
    color: #d97706 !important;
    border-color: rgba(217, 119, 6, 0.35) !important;
}

/* ULTRA-SLEEK HIGH-TECH WING PAGE ENHANCEMENTS */
.wing-page-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(8, 14, 26, 0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.wing-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.coord-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.official-coord-card {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.official-coord-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.official-coord-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}

.coord-avatar-badge {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 2px solid #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.official-coord-card:hover .coord-avatar-badge {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.45);
}

.coord-name-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    letter-spacing: 0.5px;
}

.coord-role-pill {
    font-family: var(--font-mono);
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.coord-roll-pill {
    display: inline-block;
    font-family: var(--font-mono);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* DAY MODE OVERRIDES FOR WING PAGES */
body.day-mode .wing-page-hero {
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.95) 0%, rgba(226, 232, 240, 0.95) 100%) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.day-mode .wing-page-hero h1 {
    color: #0f172a !important;
}

body.day-mode .official-coord-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}

body.day-mode .coord-name-title {
    color: #0f172a !important;
}

body.day-mode .coord-role-pill {
    color: #0284c7 !important;
}

body.day-mode .coord-roll-pill {
    color: #334155 !important;
    background: rgba(2, 132, 199, 0.08) !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
}

/* SUNSET (AFTERNOON) MODE OVERRIDES FOR WING PAGES */
body.afternoon-mode .wing-page-hero {
    background: linear-gradient(135deg, rgba(45, 26, 14, 0.92) 0%, rgba(26, 14, 8, 0.95) 100%) !important;
    border-color: rgba(249, 115, 22, 0.35) !important;
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.15) !important;
}

body.afternoon-mode .official-coord-card {
    background: rgba(35, 20, 10, 0.85) !important;
    border-color: rgba(249, 115, 22, 0.25) !important;
}

body.afternoon-mode .coord-avatar-badge {
    border-color: #f97316 !important;
    color: #f97316 !important;
    background: rgba(249, 115, 22, 0.15) !important;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.25) !important;
}

body.afternoon-mode .coord-role-pill {
    color: #f97316 !important;
}

/* SLEEK BACK TO SITE BUTTON FOR WING PAGES */
.back-site-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-site-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

body.day-mode .back-site-btn {
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.08) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}

body.day-mode .back-site-btn:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}

body.afternoon-mode .back-site-btn {
    color: #f97316 !important;
    background: rgba(249, 115, 22, 0.1) !important;
    border-color: rgba(249, 115, 22, 0.35) !important;
}

body.afternoon-mode .back-site-btn:hover {
    background: #ea580c !important;
    color: #ffffff !important;
}

/* WING CARD VIEW MORE THEMED BUTTON (CLEAN BLACK & WHITE ACCORDING TO THEME) */
.wing-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1.25rem;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.wing-view-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

body.day-mode .wing-view-btn {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

body.day-mode .wing-view-btn:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25) !important;
}

/* =============================================
   MOBILE RESPONSIVENESS OPTIMIZATIONS FOR WING PAGES
   ============================================= */
@media (max-width: 768px) {
    .page-main {
        padding-top: 85px !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 3rem !important;
    }

    .wing-page-hero {
        padding: 1.5rem 1.15rem !important;
        border-radius: 18px !important;
        margin-bottom: 2rem !important;
    }

    .wing-page-hero > div {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.85rem !important;
    }

    .wing-page-hero h1 {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important;
        line-height: 1.25 !important;
    }

    .wing-page-hero div[style*="width: 58px"] {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border-radius: 12px !important;
    }

    .wing-page-hero svg {
        width: 24px !important;
        height: 24px !important;
    }

    .coord-card-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        max-width: 100% !important;
    }

    .official-coord-card {
        padding: 1.5rem 1.1rem !important;
        border-radius: 16px !important;
    }

    .coord-avatar-badge {
        width: 64px !important;
        height: 64px !important;
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }

    .coord-name-title {
        font-size: 1.15rem !important;
        word-break: break-word !important;
    }

    .coord-role-pill {
        font-size: 0.76rem !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }

    .coord-roll-pill {
        font-size: 0.74rem !important;
        padding: 0.3rem 0.75rem !important;
        word-break: break-all !important;
    }

    /* Mobile Header Navigation Adjustments for Wing Pages */
    .site-header .header-actions {
        gap: 0.4rem !important;
    }

    .site-header .header-actions .back-site-btn {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.72rem !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
    }

    .site-header .header-actions .theme-control {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 420px) {
    .site-header .header-actions {
        gap: 0.3rem !important;
    }

    .site-header .header-actions .back-site-btn {
        padding: 0.3rem 0.58rem !important;
        font-size: 0.68rem !important;
    }

    .site-header .header-actions .theme-control {
        padding: 0.3rem 0.52rem !important;
        font-size: 0.68rem !important;
    }

    .site-header .official-seal-badge {
        width: 32px !important;
        height: 32px !important;
    }
}

/* ==========================================================================
   ULTRA-PREMIUM CYBER ANIMATION & INTERACTIVE MICRO-INTERACTION SUITE
   ========================================================================== */

/* 1. Scroll-Driven Reveal Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(4px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.65s ease;
    will-change: opacity, transform, filter;
}

.reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.stagger-0 { transition-delay: 0.04s; }
.stagger-1 { transition-delay: 0.10s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.22s; }
.stagger-4 { transition-delay: 0.28s; }
.stagger-5 { transition-delay: 0.34s; }
.stagger-6 { transition-delay: 0.40s; }

/* 2. Interactive Spotlight Cursor Glow on Cards */
.premium-card-spotlight {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.premium-card-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(450px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(0, 242, 254, 0.14), transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.premium-card-spotlight:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.18);
    border-color: rgba(0, 242, 254, 0.45);
}

.premium-card-spotlight:hover::before {
    opacity: 1;
}

/* 3. Button Shimmer Sweep Effect */
.btn-primary, .btn-submit-reg {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover, .btn-submit-reg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

.btn-primary::after, .btn-submit-reg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: translateX(-100%) rotate(25deg);
    pointer-events: none;
}

.btn-primary:hover::after, .btn-submit-reg:hover::after {
    animation: buttonShimmer 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes buttonShimmer {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(120%) rotate(25deg); }
}

/* 4. Glowing Neon Breathing Pulse on Hero Badge */
.hero-typewriter-box {
    animation: neonBreathe 3s ease-in-out infinite alternate;
}

@keyframes neonBreathe {
    0% {
        box-shadow: 0 0 18px rgba(14, 165, 233, 0.2);
        border-color: rgba(56, 189, 248, 0.3);
    }
    100% {
        box-shadow: 0 0 32px rgba(0, 242, 254, 0.45), 0 0 10px rgba(56, 189, 248, 0.3);
        border-color: rgba(56, 189, 248, 0.65);
    }
}

/* 5. Stat Numbers Glow & Hover */
.stat-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.stat-number {
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* 6. Interactive Photo Card Zoom */
.gallery-card .gallery-img-box img,
.project-preview-img-box img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.gallery-card:hover .gallery-img-box img,
.project-card:hover .project-preview-img-box img {
    transform: scale(1.07);
    filter: brightness(1.08);
}

/* 7. Floating Action Buttons */
#scrollTopBtn, #floatingMobileMenuBtn {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

#scrollTopBtn:hover, #floatingMobileMenuBtn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.5);
}

/* 8. Reduced Motion Graceful Fallback */
@media (prefers-reduced-motion: reduce) {
    .reveal-item, .premium-card-spotlight, .btn-primary, .btn-submit-reg, .hero-typewriter-box, img, .vishwa-img-box, .vishwa-halo-ring {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

/* ==========================================================================
   VISHWAKARMA PUJA DIVINE ANIMATION SUITE
   ========================================================================== */
.vishwa-card-container {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 15%, rgba(245, 158, 11, 0.16), rgba(13, 17, 26, 0.95) 75%);
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.vishwa-card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 45px rgba(251, 191, 36, 0.35);
    border-color: rgba(251, 191, 36, 0.75);
}

.vishwa-frame-wrapper {
    position: relative;
    max-width: 440px;
    margin: 1.25rem auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Radiant Glowing Breathing Halo behind Lord Vishwakarma */
.vishwa-halo-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 70%);
    filter: blur(20px);
    animation: vishwaHaloBreathe 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* Divine Floating Animation for the portrait */
.vishwa-img-box {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(251, 191, 36, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.35);
    animation: vishwaFloat 4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.vishwa-img-box img {
    width: 100%;
    max-height: 290px;
    object-fit: contain;
    background: #05070a;
    display: block;
    transition: transform 0.5s ease;
}

.vishwa-img-box:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 45px rgba(251, 191, 36, 0.65);
    border-color: #fbbf24;
}

.vishwa-img-box:hover img {
    transform: scale(1.04);
}

/* Golden divine light sweep across the portrait */
.vishwa-img-box::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-100%) rotate(25deg);
    animation: vishwaShimmerSweep 5.5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes vishwaFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-9px);
    }
}

@keyframes vishwaHaloBreathe {
    0% {
        transform: scale(0.88);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@keyframes vishwaShimmerSweep {
    0%, 25% {
        transform: translateX(-100%) rotate(25deg);
    }
    45%, 100% {
        transform: translateX(120%) rotate(25deg);
    }
}

/* =========================================
   WING EVENT TIMELINE COMPONENT
   ========================================= */
.wing-timeline-section {
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
}

.wing-timeline {
    position: relative;
    max-width: 820px;
    margin: 2rem auto 0 auto;
    padding-left: 2rem;
}

.wing-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    background: linear-gradient(to bottom, #38bdf8 0%, rgba(56, 189, 248, 0.3) 70%, rgba(255, 255, 255, 0.1) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0f172a;
    border: 3px solid #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-dot.live {
    border-color: #10b981;
    background: #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.8);
}

.timeline-dot.upcoming {
    border-color: #38bdf8;
    background: #0284c7;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.timeline-dot.completed {
    border-color: #64748b;
    background: #1e293b;
    box-shadow: none;
}

.timeline-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #38bdf8;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.timeline-badge.live {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.timeline-badge.upcoming {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.timeline-badge.completed {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0.2rem 0 0.45rem 0;
    line-height: 1.35;
}

.timeline-desc {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0 0 0.85rem 0;
}

.timeline-tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.timeline-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Day Mode rules for Wing Event Timeline */
body.day-mode .wing-timeline::before {
    background: linear-gradient(to bottom, #0284c7 0%, rgba(2, 132, 199, 0.25) 70%, rgba(0, 0, 0, 0.08) 100%);
}
body.day-mode .timeline-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}
body.day-mode .timeline-card:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
}
body.day-mode .timeline-dot {
    background: #ffffff !important;
    border-color: #0284c7 !important;
}
body.day-mode .timeline-dot.live {
    background: #10b981 !important;
    border-color: #059669 !important;
}
body.day-mode .timeline-dot.completed {
    background: #cbd5e1 !important;
    border-color: #94a3b8 !important;
}
body.day-mode .timeline-title {
    color: #0f172a !important;
}
body.day-mode .timeline-date {
    color: #0284c7 !important;
}
body.day-mode .timeline-desc {
    color: #475569 !important;
}
body.day-mode .timeline-tags span {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #e2e8f0 !important;
}

/* Afternoon Mode rules for Wing Event Timeline */
body.afternoon-mode .wing-timeline::before {
    background: linear-gradient(to bottom, var(--afternoon-accent) 0%, rgba(185, 95, 50, 0.3) 70%, rgba(0, 0, 0, 0.08) 100%);
}
body.afternoon-mode .timeline-card {
    background: #ffffff !important;
    border: 1px solid var(--afternoon-line) !important;
    box-shadow: 0 4px 16px rgba(126, 78, 45, 0.06) !important;
}
body.afternoon-mode .timeline-card:hover {
    border-color: var(--afternoon-accent) !important;
    box-shadow: 0 8px 24px rgba(126, 78, 45, 0.12) !important;
}
body.afternoon-mode .timeline-dot {
    background: #fff8f0 !important;
    border-color: var(--afternoon-accent) !important;
}
body.afternoon-mode .timeline-date {
    color: var(--afternoon-accent) !important;
}



