/* ============================================================
   MJPRU TPDC — FUTURISTIC DESIGN SYSTEM v3.0
   Premium Glass-morphism | Animated Gradients | Micro-Animations
   ============================================================ */

/* --- Design Tokens --- */
:root {
    /* Core Palette */
    --primary: #0a1628;
    --primary-light: #132744;
    --primary-mid: #1a3a5c;
    --primary-dark: #060d18;
    --secondary: #f97316;
    --secondary-hover: #ea580c;
    --accent: #06d6a0;
    --accent-glow: rgba(6, 214, 160, 0.25);
    --neon-blue: #38bdf8;
    --neon-purple: #a78bfa;

    /* Neutrals */
    --dark: #0f172a;
    --light: #f0f4f8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;

    /* Text */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: rgba(255,255,255,0.85);

    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-dark: rgba(10, 22, 40, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(20px);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 30px rgba(6, 214, 160, 0.15);
    --shadow-neon: 0 0 40px rgba(56, 189, 248, 0.2);

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary) 0%, #fb923c 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, #10b981 100%);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.7;
    background: var(--light);
    overflow-x: hidden;
    position: relative;
}

/* Subtle animated background mesh */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(6, 214, 160, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(56, 189, 248, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(167, 139, 250, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

ul { list-style: none; }

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

img { max-width: 100%; height: auto; }

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.text-center { text-align: center; }
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; letter-spacing: -0.01em; }

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(6, 214, 160, 0.15); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #fb923c 100%);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    border-color: var(--white);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--primary);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.82rem;
    padding: 0.35rem 0;
    position: relative;
    z-index: 200;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left a, .top-right a,
.top-left .top-info {
    color: rgba(255,255,255,0.65);
    margin-right: 1.5rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.top-left a:hover, .top-right a:hover, .top-right a.active {
    color: var(--accent);
}

.skip-link:focus {
    position: static;
    background: var(--accent);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ============================================================
   MAIN HEADER
   ============================================================ */
.main-header {
    background: var(--white);
    padding: 0.4rem 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 150;
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper { flex-shrink: 0; }

.logo {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
    transition: var(--transition);
}

.logo:hover { transform: scale(1.03); }

.secondary-logo { height: 68px; }

.header-titles {
    text-align: center;
    flex-grow: 1;
    padding: 0 1.5rem;
}

.header-titles h1 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.03em;
    margin-bottom: 0.15rem;
}

.header-titles h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.header-titles h3 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.3);
}

.main-nav .container {
    display: flex;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
}

.nav-links { display: flex; flex-wrap: wrap; }

.nav-links > li { position: relative; }

.nav-links > li > a {
    display: block;
    padding: 1.1rem 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: var(--transition);
    position: relative;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--neon-blue));
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-links > li > a i.fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: var(--transition-fast);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 3px solid var(--accent);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 0.9rem 1.4rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--gray-100);
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition-fast);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
    background: linear-gradient(90deg, rgba(6, 214, 160, 0.08), transparent);
    color: var(--primary);
    padding-left: 2rem;
}

/* ============================================================
   ANNOUNCEMENT MARQUEE
   ============================================================ */
.announcement-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.ticker-container {
    display: flex;
    align-items: stretch;
}

.ticker-label {
    background: linear-gradient(135deg, var(--secondary), #fb923c);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    border-left: 12px solid #fb923c;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.ticker-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-left: 1.5rem;
    background: var(--gray-50);
}

.ticker-item {
    margin-right: 3rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.new-badge {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse-glow 2s infinite;
}

@keyframes blink {
    from { opacity: 1; }
    to { opacity: 0.5; }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 520px;
    background: var(--primary);
    overflow: hidden;
}

/* Floating particles overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.15) 1px, transparent 0),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.1) 1px, transparent 0),
        radial-gradient(2px 2px at 70% 25%, rgba(255,255,255,0.12) 1px, transparent 0),
        radial-gradient(2px 2px at 90% 60%, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 200px 200px;
    animation: float 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-caption {
    color: var(--white);
    max-width: 800px;
    position: relative;
    z-index: 5;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-serif);
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: 24px; }
.carousel-control.next { right: 24px; }

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent);
    width: 48px;
}

/* ============================================================
   STATS & INTRO SECTION
   ============================================================ */
.stats-intro-section {
    position: relative;
    z-index: 1;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.read-more {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.read-more:hover::after { width: 100%; }

.read-more:hover {
    color: var(--accent);
    gap: 0.85rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--neon-blue));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover::before { transform: scaleX(1); }

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

/* ============================================================
   MESSAGES / PLACEMENT STATS SECTION
   ============================================================ */
.bg-light {
    background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.messages-section {
    position: relative;
}

.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.message-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: none;
    transition: var(--transition);
    overflow: hidden;
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.message-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary), #fbbf24);
}

.message-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.message-card:hover .avatar {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.1);
}

.author-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

.message-body {
    font-style: normal;
    color: var(--text-muted);
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 80px;
    line-height: 1.8;
}

.quote-icon {
    color: var(--gray-200);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.message-footer a {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--gray-50);
}

.message-footer a:hover {
    background: var(--accent);
    color: var(--white);
    gap: 0.75rem;
}

/* ============================================================
   BOARDS (WORKSHOPS & EVENTS)
   ============================================================ */
.boards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.board-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.board-container:hover {
    box-shadow: var(--shadow-lg);
}

.board-header {
    padding: 1.25rem 1.5rem;
    color: var(--white);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.bg-secondary {
    background: linear-gradient(135deg, var(--secondary), #fb923c);
}

.board-header h3 {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.board-body {
    padding: 1rem;
    flex-grow: 1;
}

.notice-scroll {
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.notice-scroll::-webkit-scrollbar { width: 5px; }
.notice-scroll::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}
.notice-scroll::-webkit-scrollbar-track { background: transparent; }

.notice-list li, .event-list li {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
    margin: 0.25rem 0;
}

.notice-list li:hover, .event-list li:hover {
    background: var(--gray-50);
    transform: translateX(4px);
}

.notice-list li:last-child, .event-list li:last-child {
    border-bottom: none;
}

.notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    margin-right: 1rem;
    flex-shrink: 0;
    color: var(--white);
}

.notice-date .day {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.notice-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.85;
}

.notice-content a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.notice-content a:hover {
    color: var(--accent);
}

.badge.new {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 700;
}

/* Event List */
.event-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.event-details h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.event-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.board-footer {
    background: var(--gray-50);
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--gray-100);
}

.view-all {
    font-weight: 700;
    color: var(--primary);
}

.view-all:hover { color: var(--accent); }

/* ============================================================
   TOP RECRUITERS MARQUEE
   ============================================================ */
.recruiters-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.recruiters-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.recruiters-track {
    display: flex;
    width: calc(200px * 20);
    animation: scroll-left 35s linear infinite;
    gap: 2rem;
}

.recruiters-track:hover {
    animation-play-state: paused;
}

.recruiter-box {
    min-width: 170px;
    height: 75px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-light);
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    white-space: nowrap;
    padding: 0 1.5rem;
}

.recruiter-box:hover {
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: var(--shadow-glow);
    color: var(--accent);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-170px * 10 - 2rem * 10)); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background: linear-gradient(180deg, var(--primary-dark), #030a14);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient glow on footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-top {
    padding: 4.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 55px;
    background: white;
    padding: 3px;
    border-radius: 6px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.15rem;
    line-height: 1.4;
}

.about-widget p {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.3);
}

.widget-title {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--neon-blue));
    border-radius: 2px;
}

.links-widget ul li {
    margin-bottom: 0.75rem;
}

.links-widget ul li a {
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.links-widget ul li a i {
    font-size: 0.65rem;
    color: var(--accent);
}

.links-widget ul li a:hover {
    color: var(--white);
    transform: translateX(6px);
}

.contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem;
}

.contact-info li i {
    color: var(--accent);
    font-size: 1.15rem;
    margin-top: 0.3rem;
}

.contact-info li strong {
    color: var(--white);
}

.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0,0,0,0.25);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.bottom-links a {
    margin-left: 1.5rem;
    color: rgba(255,255,255,0.4);
}

.bottom-links a:hover { color: var(--accent); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: -60px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--neon-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.35);
    z-index: 999;
    transition: var(--transition-spring);
    opacity: 0;
    font-size: 1.1rem;
}

.scroll-top.visible {
    bottom: 24px;
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.5);
}

/* ============================================================
   AUTHENTICATION PORTAL
   ============================================================ */
.auth-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0a2540 100%);
    font-family: var(--font-sans);
    position: relative;
}

.auth-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(6, 214, 160, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.auth-tabs {
    display: flex;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.auth-tab {
    flex: 1;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--gray-500);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
    background: var(--white);
}

.auth-tab:hover:not(.active) {
    background: var(--gray-100);
}

.auth-content { padding: 40px; }

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header img {
    height: 75px;
    margin-bottom: 15px;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.1));
}

.auth-header h2 {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Form Styles */
.auth-form-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.auth-input-wrapper { position: relative; }

.auth-input-wrapper i:not(.password-toggle) {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    pointer-events: none;
    font-size: 0.9rem;
}

.auth-form-control {
    width: 100%;
    padding: 13px 15px 13px 45px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: var(--font-sans);
    background: var(--gray-50);
}

.auth-form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.12);
    background: var(--white);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray-500);
    z-index: 10;
    transition: var(--transition-fast);
}

.password-toggle:hover { color: var(--primary); }

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
}

.auth-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 22, 40, 0.25);
}

.auth-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    color: var(--accent);
}

/* Dynamic Fields */
.dynamic-fields {
    border-top: 1px dashed var(--gray-200);
    margin-top: 25px;
    padding-top: 25px;
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

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

.role-restricted {
    padding: 20px;
    background: #fff1f2;
    border-radius: var(--radius-sm);
    border: 1px solid #fda4af;
    color: #be123c;
    text-align: center;
    display: none;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: var(--gray-200);
    margin-top: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.strength-weak { background: linear-gradient(90deg, #ef4444, #f87171); width: 33%; }
.strength-medium { background: linear-gradient(90deg, #f59e0b, #fbbf24); width: 66%; }
.strength-strong { background: linear-gradient(90deg, #10b981, var(--accent)); width: 100%; }

/* Profile Completion */
.profile-indicator {
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.indicator-bar {
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    margin-top: 5px;
}

.indicator-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--neon-blue));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 3px;
}

/* Alerts */
.status-msg {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.status-error {
    background: linear-gradient(135deg, #fee2e2, #fff1f2);
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.status-success {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* ============================================================
   CARD (Generic re-used class)
   ============================================================ */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .intro-grid { grid-template-columns: 1fr; }
    .carousel-caption h2 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .r-logo { display: none; }
    .header-titles h1 { font-size: 1.5rem; }
    .header-titles h2 { font-size: 0.95rem; }
    .boards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .main-nav .container {
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.show { display: flex; }

    .nav-links > li > a::after { display: none; }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        background: var(--primary-light);
        border-top: none;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu { display: block; }

    .dropdown-menu li a {
        color: var(--white);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding-left: 2.5rem;
    }

    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.08);
        color: var(--accent);
        padding-left: 3rem;
    }

    .carousel-caption h2 { font-size: 2rem; }

    .stats-grid { grid-template-columns: 1fr; }

    .messages-grid { grid-template-columns: 1fr; }

    .hero-section {
        height: 55vh;
        min-height: 400px;
    }

    .section-padding { padding: 3rem 0; }

    .section-title { font-size: 1.8rem; }

    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .bottom-links a { margin: 0 0.5rem; }

    .top-bar-inner {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.25rem 0;
    }

    .top-left, .top-right {
        width: 100%;
        text-align: center;
    }

    .top-left a, .top-left .top-info { margin-right: 0.75rem; }
}

@media (max-width: 480px) {
    .auth-content { padding: 25px; }
    .auth-card { border-radius: var(--radius-md); margin: 0 10px; }
    .container { padding: 0 1rem; }
    .carousel-caption h2 { font-size: 1.6rem; }
    .carousel-caption p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .stat-number { font-size: 2.2rem; }
}

/* ============================================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   STUDENT ACHIEVEMENTS PANEL (TESTIMONIALS)
   ========================================================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.achievement-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 115, 22, 0.3);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

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

.student-photo-container {
    width: 65px;
    height: 65px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.student-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: var(--bg-light);
}

.student-info h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.company-tag {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(249, 115, 22, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

