/* =========================================
   Design System & Variables
   ========================================= */
:root {
    /* Colors */
    --clr-primary: #005938; /* Deep Emerald Green */
    --clr-primary-light: #007a4d;
    --clr-primary-dark: #003d26;
    
    --clr-accent: #F5B041; /* Premium Gold */
    --clr-accent-hover: #e09b2e;
    
    --clr-text-main: #1F2937;
    --clr-text-muted: #4B5563;
    --clr-text-light: #F9FAFB;
    
    --clr-bg-main: #FFFFFF;
    --clr-bg-alt: #F3F4F6;
    --clr-bg-dark: #111827;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

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

/* =========================================
   Typography & Utilities
   ========================================= */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--clr-accent);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.lead-text {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-text-main);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text-light);
    border-color: var(--clr-text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar.scrolled .logo {
    color: var(--clr-primary);
}

.logo i {
    color: var(--clr-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-text-light);
    font-weight: 500;
    font-size: 1rem;
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
    color: var(--clr-text-main);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--clr-accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-text-light);
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--clr-text-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--clr-bg-main);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    border-bottom: 1px solid var(--clr-bg-alt);
    padding-bottom: 0.5rem;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 89, 56, 0.9), rgba(0, 89, 56, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
    margin: 0 auto;
    text-align: center;
    color: var(--clr-text-light);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(245, 176, 65, 0.2);
    color: var(--clr-accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 176, 65, 0.5);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    background-color: var(--clr-bg-main);
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background-color: var(--clr-bg-main);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 3rem 2rem;
}

.stat-card {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-text-main);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--clr-text-muted);
    font-weight: 500;
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--clr-bg-main);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--clr-accent);
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
    font-weight: 500;
}

.feature-list i {
    color: var(--clr-primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* =========================================
   Academics Section
   ========================================= */
.academics-section {
    background-color: var(--clr-bg-alt);
}

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

.program-card {
    background-color: var(--clr-bg-main);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.program-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.program-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-img-wrapper img {
    transform: scale(1.05);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--clr-accent);
    color: var(--clr-text-main);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-primary);
    font-weight: 600;
    font-family: var(--font-heading);
}

.text-link:hover {
    color: var(--clr-primary-dark);
    gap: 0.75rem;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    padding: 6rem 0;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1577896851231-70ef18881754?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 89, 56, 0.9);
}

.cta-content {
    position: relative;
    z-index: 1;
    color: var(--clr-text-light);
    max-width: 700px;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--clr-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

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

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: var(--clr-text-light);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--clr-accent);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info i {
    color: var(--clr-accent);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--clr-text-light);
}

.social-links a:hover {
    background-color: var(--clr-accent);
    color: var(--clr-bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   Animations & Responsive
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        bottom: -1rem;
        right: -1rem;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .stats-grid {
        padding: 2rem;
        gap: 2rem;
    }
}
