/* --- Global Variables & Base Styles --- */
:root {
    --primary-color: #0A1A2F; /* Deep Navy Blue */
    --secondary-color: #D4AF37; /* Refined Gold (less yellow) */
    --light-bg: #F8F9FA;
    --text-dark: #212529; /* Strong Charcoal */
    --text-light: #FFFFFF;
    --text-light-accent: #E0E0E0;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Source Serif Pro', serif;
    --transition-speed: 0.4s ease-in-out;
    --border-radius: 6px;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
}

*, *::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.8;
    background-color: var(--text-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
}

h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1.5rem; font-size: 1.1rem; }
a { color: var(--primary-color); text-decoration: none; font-weight: 600; transition: var(--transition-speed); }
a:hover { color: var(--secondary-color); text-decoration: none; }
ul { list-style: none; padding: 0; }
li { margin-bottom: 0.5rem; }

/* Custom list style for legacy-list */
.legacy-list, .fancy-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.legacy-list li, .fancy-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 25px; /* Space for the custom bullet */
    font-size: 1.1rem; /* Match paragraph font size */
}

.legacy-list li::before, .fancy-list li::before {
    content: "\2022"; /* Unicode bullet point */
    font-size: 1.5em; /* Larger bullet */
    color: var(--secondary-color); /* Gold bullet */
    position: absolute;
    left: 0;
    top: -0.1em; /* Adjust vertical alignment */
    line-height: 1;
}

/* --- Utility Classes --- */
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--primary-color); color: var(--text-light); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--text-light); }
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.text-light-accent { color: var(--text-light-accent); }
.large-body-text { font-size: 1.3rem; line-height: 1.7; max-width: 800px; margin-left: auto; margin-right: auto; }
.full-width { width: 100%; }
.my-5 { margin-top: 5rem; margin-bottom: 5rem; }
.mt-4 { margin-top: 2rem; }
.required { color: var(--secondary-color); font-weight: 700; }
.sr-only { /* For screen readers only */
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-speed);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    gap: 0.75rem;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}
.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: 1.5rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.main-header.scrolled {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
}
.nav-link.btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}
.nav-link.btn:hover {
    background-color: var(--text-light);
    border-color: var(--text-light);
}
.hamburger { display: none; }
.hamburger .bar { width: 25px; height: 3px; background-color: var(--text-light); transition: var(--transition-speed); }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: 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-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 47, 0.75);
    z-index: -1;
}
.hero-content {
    max-width: 900px;
}
.hero-content h1 {
    color: var(--text-light);
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.hero-content p {
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin: 1.5rem 0 2.5rem;
    max-width: 700px;
    color: var(--text-light-accent);
}

/* --- General Content Section --- */
.content-section {
    padding: 8rem 0;
}
.intro-block {
    max-width: 900px;
    margin: 0 auto 5rem auto;
    text-align: center;
}
.intro-block h2 {
    margin-bottom: 2rem;
}
.full-width-text-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 2rem;
}
.full-width-text-block h3 { margin-bottom: 1rem; }


/* --- Innovators Grid --- */
.innovators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for more cards */
    gap: 1.5rem;
    margin: 4rem 0;
}
.innovator-card {
    text-align: center;
}
.innovator-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: var(--transition-speed);
}
.innovator-card:hover img {
    filter: grayscale(0%);
    box-shadow: var(--shadow-medium);
}
.innovator-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}
.innovator-card span {
    font-family: var(--font-body);
    font-size: 0.95rem; /* Slightly smaller for detail */
    color: #6c757d;
    display: block; /* Ensures it's on a new line */
}

/* --- Two Column Layout --- */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.column-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium); /* Added shadow to images */
}

/* Accordion Styling */
.accordion-section {
    max-width: 900px;
    margin: 5rem auto;
}
.accordion-title {
    text-align: center;
    margin-bottom: 3rem;
}
.accordion-item {
    border-bottom: 1px solid #dee2e6;
}
.accordion-header {
    width: 100%;
    padding: 1.5rem 1rem;
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-speed);
}
.accordion-header:hover {
    color: var(--secondary-color);
}
.accordion-header i {
    transition: transform var(--transition-speed);
}
.accordion-header[aria-expanded="true"] i {
    transform: rotate(45deg);
}
.accordion-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}
.accordion-content.active {
    max-height: 500px; /* Adjust as needed for content height */
    padding-bottom: 1.5rem;
}
.accordion-content p { font-size: 1rem; }


/* --- Feature Grid (Why It Matters) --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: background-color var(--transition-speed);
}
.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}
.feature-card h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-light-accent);
    font-size: 1rem;
}

/* --- How It Works Grid --- */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.how-it-works-item {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed);
}
.how-it-works-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}
.how-it-works-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.how-it-works-item p {
    font-size: 1rem;
    color: #495057;
}
.how-it-works-item ul {
    margin-top: 1rem;
}


/* --- Vision Section --- */
.vision-section {
    height: 100vh;
    background: url('media/future-campus.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
}
.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 47, 0.7);
    z-index: 1;
}
.vision-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.vision-content h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

/* --- Contact Form --- */
.contact-form {
    background: var(--text-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 26, 47, 0.1);
    outline: none;
}
.contact-form textarea { resize: vertical; }

/* --- Footer --- */
.main-footer {
    background: var(--primary-color);
    color: var(--text-light-accent);
    padding: 5rem 0 2.5rem;
    font-family: var(--font-heading);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-column h4 { color: var(--text-light); }
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.footer-column ul a { color: var(--text-light-accent); font-weight: 400; }
.social-links { margin-top: 1.5rem; display: flex; gap: 1rem; }
.social-links a { color: var(--text-light); }
.social-links a:hover { color: var(--secondary-color); transform: translateY(-3px); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* --- Animations --- */
.animate-fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 1s forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; } /* Added for more vision statements */
.delay-4 { animation-delay: 1.2s; }
.delay-5 { animation-delay: 1.5s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.reveal-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .two-column-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .innovators-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); } /* Adjust for smaller screens */
    .feature-grid, .how-it-works-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: transparent; border: none; z-index: 1001; }
    .nav-menu { position: fixed; right: -100%; top: 0; width: 80%; max-width: 320px; height: 100vh; background-color: var(--primary-color); flex-direction: column; justify-content: center; gap: 2rem; transition: right var(--transition-speed); }
    .nav-menu.active { right: 0; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero-content p { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }
    .content-section { padding: 5rem 0; }
    .innovators-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); } /* Further adjustment */
    .innovator-card img { width: 80px; height: 80px; }
    .innovator-card h4 { font-size: 1rem; }
    .innovator-card span { font-size: 0.85rem; }
    .reverse-on-mobile { grid-template-areas: "image" "form"; }
    .reverse-on-mobile .column-form { grid-area: form; }
    .reverse-on-mobile .column-image { grid-area: image; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .legacy-list li, .fancy-list li { font-size: 1rem; }
    .accordion-header { font-size: 1.2rem; }
    .vision-content h3 { font-size: clamp(1.8rem, 4vw, 3rem); } /* Smaller text for vision on mobile */
}