/* --- Root Variables & Base Styles --- */
:root {
    --primary-color: #0A1A2F; /* Deep Navy Blue */
    --secondary-color: #C5B358; /* Muted Gold */
    --light-bg: #F8F9FA;
    --text-dark: #343A40;
    --text-light: #FFFFFF;
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: var(--secondary-color); text-decoration: none; }

/* --- Utility Classes --- */
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--primary-color); color: var(--text-light); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--text-light); }
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.section-intro { max-width: 800px; margin: 0 auto 2rem auto; text-align: center; font-size: 1.1rem; }
.full-width { width: 100%; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition-speed);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: #b3a14e;
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color var(--transition-speed), padding var(--transition-speed);
}
.main-header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}
.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color var(--transition-speed);
}
.nav-link:hover {
    color: var(--secondary-color);
}
.nav-link.btn { padding: 0.5rem 1.2rem; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 47, 0.6); /* Dark tint */
    z-index: -1;
}
.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}
.hero-content h1 { color: var(--text-light); }
.hero-content p { font-size: 1.25rem; margin: 1.5rem 0 2.5rem; }
.hero-buttons { display: flex; justify-content: center; gap: 1rem; }

/* --- General Content Section --- */
.content-section {
    padding: 6rem 0;
}

/* Section 2: Premise */
.innovators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}
.innovator-card {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}
blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
}

/* Section 3 & 8: Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.visual-formula {
    margin-top: 2rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}
.visual-formula .result {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* Section 4: Why it Matters */
.three-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.info-card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    fill: var(--secondary-color);
}

/* Section 5: How It Works (Timeline) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid var(--secondary-color);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(odd)::after { right: -10px; }
.timeline-item:nth-child(even)::after { left: -10px; }
.timeline-content {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Section 6: Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}
.philosopher-card {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 8px;
}
.concluding-tagline {
    text-align: center;
    font-style: italic;
    color: rgba(255,255,255,0.8);
    margin-top: 3rem;
}

/* Section 7: Vision */
.vision-section {
    height: 100vh;
    background: url('media/future-campus.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}
.vision-content {
    background: rgba(10, 26, 47, 0.5); /* Dark overlay */
    padding: 4rem;
    border-radius: 8px;
}
.vision-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.vision-content h3:last-child { margin-bottom: 0; }

/* Section 8: Contact Form */
.contact-details { margin-top: 2rem; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
}

/* --- Footer --- */
.main-footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-column h4 { color: var(--text-light); }
.footer-logo {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.8rem;
}
.footer-column ul { list-style: none; }
.footer-column ul a { color: rgba(255,255,255,0.8); transition: color var(--transition-speed); }
.footer-column ul a:hover { color: var(--secondary-color); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .two-column-layout, .three-card-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0%; }
    .timeline-item::after { left: 20px; }
    .vision-content { padding: 2rem; }
    .nav-menu { display: none; } /* Add hamburger menu logic if needed */
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    .three-card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}