:root {
    --bg-color: #0b0b0f;
    --text-color: #e0e0e0;
    --accent-color: #4a5bf0; /* Electric Blue/Purple */
    --secondary-color: #8892b0;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
    --gap: 2rem;
    --container-width: 90vw;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom one */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--text-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease 0.5s, visibility 0.5s ease 0.5s;
}

.loader.is-loaded {
    opacity: 0;
    visibility: hidden;
}

.loader__text span {
    font-family: var(--font-heading);
    font-size: 4rem;
    opacity: 0;
    display: inline-block;
    animation: fadeIn 0.5s forwards;
}

.loader__text span:nth-child(1) { animation-delay: 0.1s; }
.loader__text span:nth-child(2) { animation-delay: 0.2s; }
.loader__text span:nth-child(3) { animation-delay: 0.3s; }

.loader__progress {
    width: 0;
    height: 2px;
    background: var(--accent-color);
    margin-top: 20px;
    transition: width 0.5s ease;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav__logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.nav__links {
    display: none;
}

@media (min-width: 768px) {
    .nav__links {
        display: flex;
        gap: 3rem;
    }
}

.nav__link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav__menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Animate hamburger to X */
.nav__menu-btn.is-active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu-btn.is-active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu open state */
.nav.is-active .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.nav.is-active .nav__logo,
.nav.is-active .nav__menu-btn {
    z-index: 1000;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .nav__menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a24 0%, var(--bg-color) 70%);
    z-index: -1;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAA5OTkAAABMTExERERmZmYzMzNmZmZ3d3d3AAAACHRSTlMAMwAqzMzMzMwCg00AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAA6SURBVDjLY2AYBaNgFIyCUTAKRsEoGAWjYBSMglEwCkbBKBgFo2AUjIJRMApGwSgYBaNgFIyCUTAKBh0AAHCgAAH/2K3bAAAAAElFTkSuQmCC');
}

.hero__content {
    text-align: center;
    z-index: 1;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    font-weight: 300;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    mix-blend-mode: difference;
}

.hero__title .line {
    display: block;
    overflow: hidden;
}

.hero__subtitle {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

/* Manifesto / Marquee */
.manifesto {
    padding: 6rem 0;
    overflow: hidden;
    background: var(--bg-color);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.manifesto__text-wrap {
    white-space: nowrap;
    display: flex;
}

.manifesto__text {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    margin-right: 2rem;
    text-transform: uppercase;
}

/* Intro Section */
.intro {
    padding: 10vh 5%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .intro__layout {
        grid-template-columns: 200px 1fr;
    }
}

.intro__label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 0.1em;
}

.intro__text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3rem;
}

.btn-link {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Gallery Section */
.gallery {
    padding: 10vh 0;
    overflow: hidden;
}

.gallery__wrapper {
    display: flex;
    flex-direction: column;
    gap: 10vh;
    padding: 0 10%;
}

@media (min-width: 768px) {
    .gallery__wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 80vh;
    }
}

.gallery__item {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .gallery__item {
        width: 30%;
    }
    .gallery__item:nth-child(2) {
        margin-top: 15vh;
    }
    .gallery__item:nth-child(3) {
        margin-top: -10vh;
    }
}

.gallery__img-box {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    background: #222;
}

.gallery__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.gallery__item:hover .gallery__img-box img {
    transform: scale(1.1);
}

.gallery__caption {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
}

/* Impact Section */
.impact {
    padding: 15vh 0;
    background: #0f1014;
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    text-align: center;
}

.impact__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.impact__label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
}

/* CTA */
.cta {
    padding: 20vh 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 1.2rem 3.5rem;
    border-radius: 2px; /* Sharper edges */
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
}

.btn--primary {
    background: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary:hover {
    color: var(--bg-color);
    border-color: #fff;
}

.btn--primary:hover::before {
    width: 100%;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.btn--outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--text-color);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--outline:hover {
    color: var(--bg-color);
}

.btn--outline:hover::before {
    width: 100%;
}

/* Footer */
.footer {
    padding: 5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    gap: 2rem;
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 3rem;
}

.footer__address {
    color: var(--secondary-color);
    text-align: right;
}

.footer__address a {
    display: block;
    margin-top: 1rem;
    color: var(--text-color);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.footer__socials {
    display: flex;
    gap: 2rem;
}

/* Form Feedback */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 2px;
    background: rgba(74, 91, 240, 0.1);
    border: 1px solid var(--accent-color);
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: none;
}

.form-message.success {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Admissions Specifics */
.check-list {
    margin-top: 2rem;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    text-align: left;
}
.info-table th, .info-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.info-table th {
    color: var(--secondary-color);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
.info-table td {
    font-size: 1.1rem;
}
.info-table tr:last-child td {
    border-bottom: none;
}

.accordion {
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.accordion-header {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-title {
    font-size: 1.2rem;
    font-weight: 300;
}
.accordion-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--secondary-color);
}
.accordion-content p {
    padding-bottom: 1.5rem;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.accordion-item.active .accordion-content {
    max-height: 200px; /* Approximation */
}

/* Academy Page Specifics */
.program-card {
    background: rgba(255,255,255,0.03);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}
.program-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}
.program-list {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}
.program-list li {
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}
.program-list li::before {
    content: '•';
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.5rem;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.faculty-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
}
.faculty-number {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}
