        :root {
            --primary-dark: #30364F;
            --accent-teal: #3F9AAE;
            --white: #FFFFFF;
            --text-dark: #30364F;
            --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            --transition-fast: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            font-family: 'Barlow Condensed', sans-serif; 
            background-color: var(--white); 
            color: var(--text-dark);
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        h1, h2, h3, h4, .fredoka { font-family: 'Fredoka', sans-serif; font-weight: 600; }

        /* --- HEADER ROW 1 (Taller Height) --- */
        .header-r1 {
            background: var(--white);
            height: 200px; /* Increased height */
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 5%;
            position: relative;
            z-index: 2000;
            border-bottom: 1px solid #f0f0f0;
        }
        .header-logo-container { height: 100%; display: flex; align-items: center; overflow: hidden; }
        .logo-placeholder { 
            height: 70px; /* Logo does not push header height because container is fixed 100px */
            cursor: pointer; 
            display: flex;
            align-items: center;
            font-family: 'Fredoka';
            font-size: 2.2rem;
            color: var(--primary-dark);
            font-weight: 700;
            text-transform: uppercase;
        }
        .logo-placeholder span { color: var(--accent-teal); margin-right: 5px; }

        .search-container { position: relative; display: flex; align-items: center; }
        .search-bar {
            width: 0;
            opacity: 0;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 20px;
            transition: var(--transition-fast);
            font-family: inherit;
        }
        .search-bar.active { width: 250px; opacity: 1; margin-left: 10px; }
        
        .header-icons { display: flex; gap: 25px; align-items: center; }
        .icon-link { color: var(--primary-dark); cursor: pointer; transition: var(--transition-fast); text-decoration: none; display: flex; align-items: center; gap: 8px; font-weight: 600; text-transform: uppercase; font-size: 1.1rem; }
        .icon-link:hover { color: var(--accent-teal); }

        /* --- HEADER ROW 2 (Thin Navigation) --- */
        .header-r2 {
            background: var(--primary-dark);
            height: 45px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        .nav-link { 
            color: var(--white); 
            text-decoration: none; 
            padding: 0 18px; 
            font-size: 0.95rem; 
            text-transform: uppercase; 
            letter-spacing: 1.8px; 
            cursor: pointer;
            transition: var(--transition-fast);
        }
        .nav-link:hover { color: var(--accent-teal); }

        /* --- HERO SECTION (Fixed Background) --- */
        .hero {
            height: 100vh;
            width: 100%;
            position: relative;
        }
        .hero-bg {
            position: fixed; /* Fixed as requested */
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(rgba(48, 54, 79, 0.5), rgba(48, 54, 79, 0.5)), 
                        url('https://i.pinimg.com/736x/3c/07/27/3c0727112556d4806cbb612440f2670e.jpg');
            background-size: cover;
            background-position: center;
            z-index: -1;
            animation: kenBurns 20s infinite alternate;
        }
        @keyframes kenBurns {
            from { transform: scale(1); }
            to { transform: scale(1.1); }
        }
        .hero-content {
            height: 120vh; /* Provides scrollable height for the card overlay */
            display: flex;
            align-items: center;
            padding: 0 8%;
            z-index: 2;
        }
        .hero-card {
            background: var(--accent-teal);
            color: var(--white);
            width: 550px;
            padding: 70px;
            box-shadow: 40px 40px 100px rgba(0,0,0,0.4);
            transform: translateY(50px);
            opacity: 0;
            animation: fadeUp 1s forwards ease-out 0.5s;
        }
        .hero-card h1 { font-size: 4rem; line-height: 1; margin-bottom: 25px; }
        .hero-card p { font-size: 1.3rem; line-height: 1.7; margin-bottom: 30px; font-weight: 300; }
        .hero-secondary-box {
            background: rgba(0,0,0,0.15);
            padding: 25px;
            margin-bottom: 40px;
            font-size: 1rem;
            border-left: 6px solid var(--primary-dark);
            line-height: 1.6;
        }
        .btn-dark {
            background: var(--primary-dark);
            color: var(--white);
            border: none;
            padding: 20px 45px;
            font-family: inherit;
            font-weight: 700;
            text-transform: uppercase;
            cursor: pointer;
            transition: var(--transition-fast);
            letter-spacing: 1px;
        }
        .btn-dark:hover { background: #1a1e2e; transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

        /* --- SECTION 2: ACADEMIC INTRO --- */
        .intro-section {
            background: var(--white);
            padding: 150px 15%;
            text-align: center;
            position: relative;
            z-index: 5;
        }
        .intro-section h2 { font-size: 3.5rem; margin-bottom: 40px; color: var(--primary-dark); }
        .intro-section p { font-size: 1.4rem; line-height: 2; color: var(--primary-dark); font-weight: 300; max-width: 900px; margin: 0 auto; }

        /* --- FEATURE GRID --- */
        .feature-grid { display: flex; flex-direction: column; background: var(--white); position: relative; z-index: 5; }
        .feature-row { display: flex; min-height: 600px; overflow: hidden; }
        .feature-row.reverse { flex-direction: row-reverse; }
        .feature-img { flex: 1; background-size: cover; background-position: center; transition: 1.5s ease; }
        .feature-row:hover .feature-img { transform: scale(1.05); }
        .feature-text { 
            flex: 1; 
            background: var(--primary-dark); 
            color: var(--white); 
            padding: 80px 100px; 
            display: flex; 
            flex-direction: column; 
            justify-content: center; 
        }
        .feature-text h3 { font-size: 2.8rem; color: var(--accent-teal); margin-bottom: 25px; }
        .feature-text p { font-size: 1.2rem; line-height: 1.8; margin-bottom: 35px; opacity: 0.9; }

        /* --- OVERLAP NEWS SECTION --- */
        .news-section {
            background: var(--white);
            padding: 0 5% 150px;
            position: relative;
            z-index: 10;
        }
        .news-header { text-align: center; padding-top: 150px; margin-bottom: 100px; }
        .news-header h2 { font-size: 3.5rem; }
        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: -150px; /* Overlap effect */
        }
        .news-card {
            background: var(--white);
            box-shadow: 0 30px 80px rgba(0,0,0,0.12);
            transition: var(--transition-slow);
            display: flex;
            flex-direction: column;
        }
        .news-card:hover { transform: translateY(-20px); }
        .news-card img { width: 100%; height: 250px; object-fit: cover; }
        .news-card-body { padding: 45px; flex: 1; display: flex; flex-direction: column; }
        .news-card-body h4 { font-size: 1.8rem; margin-bottom: 20px; line-height: 1.2; }
        .news-card-body p { line-height: 1.7; font-size: 1.1rem; opacity: 0.8; margin-bottom: 30px; }

        /* --- STACKED OVERLAP: EVENTS --- */
        .events-layer {
            background: #f4f6f9;
            padding: 100px 5% 200px;
            position: relative;
            z-index: 11;
            margin-top: -80px;
        }
        .events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: -120px; }
        .event-card {
            background: var(--white);
            display: flex;
            box-shadow: 0 20px 50px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        .event-card img { width: 40%; object-fit: cover; }
        .event-card-content { padding: 50px; flex: 1; }
        .link-arrow { 
            color: var(--accent-teal); 
            text-decoration: none; 
            font-weight: 700; 
            font-size: 1.1rem; 
            text-transform: uppercase; 
            display: inline-block;
            margin-top: 20px;
            transition: 0.3s;
        }
        .link-arrow:hover { letter-spacing: 2px; }

        /* --- ADDITIONAL INFO (Dark) --- */
        .info-section {
            background: var(--primary-dark);
            color: var(--white);
            padding: 150px 10%;
            display: flex;
            gap: 100px;
            align-items: center;
        }
        .info-left { flex: 1.2; }
        .info-right { flex: 0.8; }
        .info-left h2 { font-size: 4rem; margin-bottom: 40px; line-height: 1.1; }
        .quote {
            font-size: 2rem;
            font-style: italic;
            border-left: 8px solid var(--accent-teal);
            padding-left: 40px;
            margin-bottom: 50px;
            color: #d1d4de;
        }
        .info-left p { font-size: 1.25rem; line-height: 1.9; opacity: 0.8; }
        .info-right img { width: 100%; height: 650px; object-fit: cover; box-shadow: 30px 30px 0 var(--accent-teal); }

        /* --- FOOTER (Long & Multi-column) --- */
        footer {
            background: var(--primary-dark);
            color: var(--white);
            padding: 120px 8% 50px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        .footer-main {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
            gap: 60px;
            margin-bottom: 80px;
        }
        .footer-col h4 { color: var(--accent-teal); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 35px; font-size: 1.2rem; }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 18px; opacity: 0.6; cursor: pointer; transition: 0.3s; font-size: 1.1rem; }
        .footer-col li:hover { opacity: 1; color: var(--accent-teal); transform: translateX(5px); }
        .footer-social { display: flex; gap: 15px; margin-top: 30px; }
        .social-circle { width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: 0.3s; cursor: pointer; }
        .social-circle:hover { background: var(--accent-teal); border-color: var(--accent-teal); }

        /* --- AUTH SYSTEM --- */
        .auth-overlay {
            position: fixed; inset: 0; background: rgba(48, 54, 79, 0.95);
            z-index: 5000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(10px);
        }
        .auth-box {
            background: var(--white); width: 500px; padding: 70px; box-shadow: 0 50px 100px rgba(0,0,0,0.5);
            position: relative;
        }
        .auth-box h2 { font-size: 3rem; margin-bottom: 30px; text-align: center; }
        .auth-input { 
            width: 100%; padding: 18px; margin-bottom: 20px; border: 1px solid #ddd; font-family: inherit; font-size: 1.1rem;
        }
        .auth-toggle { text-align: center; margin-top: 30px; cursor: pointer; color: var(--accent-teal); font-weight: 700; text-decoration: underline; }

        /* --- PAGES --- */
        .page { display: none; min-height: 100vh; }
        .page.active { display: block; }
        .content-view { padding: 150px 15%; }
        .content-view h1 { font-size: 4.5rem; color: var(--primary-dark); margin-bottom: 40px; }
        .content-view img { width: 100%; height: 550px; object-fit: cover; margin-bottom: 60px; box-shadow: 0 40px 80px rgba(0,0,0,0.1); }
        .content-view p { font-size: 1.4rem; line-height: 2.1; margin-bottom: 30px; color: #444; }

        /* --- ANIMATIONS --- */
        .reveal { opacity: 0; transform: translateY(80px); transition: var(--transition-slow); }
        .reveal.active { opacity: 1; transform: translateY(0); }

        @keyframes fadeUp {
            to { opacity: 1; transform: translateY(0); }
        }

        /* Responsive Fixes */
        @media (max-width: 1200px) {
            .footer-main { grid-template-columns: 1fr 1fr; }
            .news-grid { grid-template-columns: 1fr 1fr; margin-top: -100px; }
            .events-grid { grid-template-columns: 1fr; }
            .feature-row { flex-direction: column !important; }
            .info-section { flex-direction: column; }
            .hero-card { width: 90%; padding: 40px; }
        }

        .event-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,0.7);
backdrop-filter:blur(6px);
display:none;
z-index:2000;
}

.event-popup{
position:fixed;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:800px;
max-width:90%;
background:white;
padding:60px;
display:none;
z-index:2100;
max-height:85vh;
overflow-y:auto;
box-shadow:0 30px 80px rgba(0,0,0,0.25);
}

.event-close{
position:absolute;
top:15px;
right:20px;
font-size:24px;
cursor:pointer;
}

.event-article h3{
margin-top:25px;
margin-bottom:10px;
}

.event-meta{
font-size:0.9rem;
opacity:0.7;
margin-bottom:20px;
}

.event-article p{
margin-bottom:16px;
line-height:1.7;
}

        .news-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,0.7);
backdrop-filter:blur(5px);
display:none;
z-index:2000;
}

.news-popup{
position:fixed;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:700px;
max-width:90%;
background:white;
padding:50px;
z-index:2100;
display:none;
max-height:80vh;
overflow-y:auto;
box-shadow:0 30px 80px rgba(0,0,0,0.25);
}

.news-close{
position:absolute;
top:15px;
right:20px;
font-size:24px;
cursor:pointer;
}
.news-article{
line-height:1.8;
}

.news-meta{
font-size:0.85rem;
opacity:0.6;
margin-bottom:20px;
}

.news-article .lead{
font-size:1.1rem;
font-weight:500;
margin-bottom:25px;
}

.news-article h3{
margin-top:30px;
margin-bottom:10px;
font-size:1.4rem;
}

.news-article p{
margin-bottom:16px;
}
/* NAV MENU WRAPPER */
.nav-menu{
display:flex;
align-items:center;
justify-content:center;
}

/* HAMBURGER ICON */
.hamburger{
display:none;
color:white;
cursor:pointer;
position:absolute;
left:20px;
}

/* MOBILE MENU */
@media (max-width:768px){

.header-r2{
justify-content:flex-start;
padding-left:60px;
}

.hamburger{
display:block;
}

.nav-menu{
position:absolute;
top:45px;
left:0;
width:100%;
background:var(--primary-dark);
flex-direction:column;
align-items:flex-start;
display:none;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.nav-menu.active{
display:flex;
}

.nav-link{
width:100%;
padding:15px 25px;
border-bottom:1px solid rgba(255,255,255,0.08);
}

}

