@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    /* Primary Colors & Theme Tokens */
    --primary-dark: #023F33;
    /* Deep Forest Green */
    --primary-light: #FDFBF7;
    /* Soft Cream */
    --accent-gold: #C5A059;
    /* Vibrant Gold */
    --accent-tan: #F4EEE0;
    /* Warm Tan/Beige */

    /* Semantic Colors */
    --bg-main: var(--primary-light);
    --bg-alt: var(--accent-tan);
    --bg-dark: var(--primary-dark);

    --text-main: var(--primary-dark);
    --text-light: var(--primary-light);
    --text-muted: #4a5d4a;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Satoshi', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(2, 63, 51, 0.08);
    --shadow-md: 0 4px 16px rgba(2, 63, 51, 0.12);
    --shadow-lg: 0 8px 32px rgba(2, 63, 51, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 500;
}

p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.caption {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 500;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(2, 63, 51, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-dark);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--primary-light);
    border-color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--primary-light);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: var(--primary-light);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
    color: var(--primary-light);
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 148, 95, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.hero-text .highlight {
    color: var(--accent-gold);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--accent-tan);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 5%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== CARDS & FACULTY ========== */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.faculty-card {
    text-align: center;
    padding: 2rem;
}

.faculty-img-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    background: #FFD700;
    /* Yellow background */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: var(--transition);
}

.faculty-card:hover .faculty-img-container {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #0077b5;
    color: white;
    border-radius: 50%;
    margin-top: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.linkedin-link:hover {
    background: #005582;
    transform: translateY(-3px);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 1.5rem;
}

/* Premium Faculty Section */
.premium-faculty-section {
    background-color: #F4EEE0;
    /* Beige Background */
    padding: 80px 5%;
    text-align: center;
}

.premium-faculty-section .section-header {
    margin-bottom: 4rem;
}

.premium-faculty-section .gold-text {
    color: var(--accent-gold);
    letter-spacing: 2px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.premium-faculty-section .white-text {
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-mentor-card {
    background: transparent;
    transition: var(--transition);
}

.mentor-image-container {
    width: 70%;
    margin: 0 auto 1.5rem;
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    background: #f4eee0;
    /* Fallback */
    border: 1px solid rgba(2, 63, 51, 0.1);
}

.mentor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-mentor-card:hover .mentor-image-container img {
    transform: scale(1.05);
}

.mentor-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mentor-name {
    color: var(--primary-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.mentor-linkedin {
    color: #0077b5;
    font-size: 1.5rem;
    transition: var(--transition);
}

.mentor-linkedin:hover {
    transform: translateY(-2px);
}

.mentor-role {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.mentor-subrole {
    color: var(--primary-dark);
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 968px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .premium-faculty-section .white-text {
        font-size: 1.75rem;
    }
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--sage);
}

/* ========== GRID LAYOUTS ========== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* ========== PROGRAM CARDS ========== */
.program-card {
    background: var(--accent-tan);
    color: var(--primary-dark);
    padding: 3rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(2, 63, 51, 0.05);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.program-card:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
    color: var(--primary-light);
}

.program-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.4;
    position: absolute;
    top: 20px;
    right: 30px;
}

.program-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.program-card p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ========== ACCORDION (FAQ) ========== */
.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--mint-wash);
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body {
    padding: 0 2rem 1.5rem;
    color: var(--sage);
}

/* ========== FORM ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--warm-sand);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    color: var(--primary-light);
    padding: 80px 5% 40px;
    border-top: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-link {
    color: var(--accent-tan);
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-tan);
    font-weight: 500;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-tan);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--accent-tan);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-gold);
    transform: translateY(-3px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: 0;
        top: -100%;
        flex-direction: column;
        background: rgba(2, 63, 51, 0.98);
        width: 100%;
        height: auto;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        padding: 6rem 2rem 4rem;
        gap: 2.5rem;
        visibility: hidden;
        opacity: 0;
        z-index: 999;
    }

    .nav-menu.active {
        top: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-menu .nav-link {
        color: var(--primary-light);
        font-size: 1.5rem;
        font-family: var(--font-heading);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: auto;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 40px 15px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        height: 40px;
    }
}

/* Program Card Enhancements */
.program-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem !important;
    text-align: left !important;
}

.program-features {
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
}

.program-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: inherit;
    opacity: 0.9;
    line-height: 1.4;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.program-outcome {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(2, 63, 51, 0.1);
}

.program-outcome h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-outcome p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Classroom Grid */
.classroom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.classroom-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.classroom-grid img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .classroom-grid {
        grid-template-columns: 1fr;
    }

    .classroom-grid img {
        height: 200px;
    }
}