/* ============================================
   HOMEPAGE SPECIFIC STYLES
   Modern, Academic, Professional Design
   ============================================ */

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1b2a 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Optional: Add a subtle pattern background */
    /* background: url('/assets/images/hero-pattern.svg') no-repeat center center / cover; */
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-gold, #d4af37);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
    color: #ffffff;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .highlight {
    color: var(--secondary-gold, #d4af37);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ---------- SECTION HEADERS ---------- */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: var(--secondary-gold, #d4af37);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.6rem;
    margin-bottom: 12px;
    border-left: none;
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted, #6c757d);
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- WHY ENSET SECTION ---------- */
.section-enset-why {
    background: var(--bg-light, #f8f9fa);
}

.enset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.enset-item {
    background: white;
    padding: 30px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.enset-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.enset-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.enset-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary, #212529);
}

.enset-item p {
    font-size: 0.92rem;
    color: var(--text-muted, #6c757d);
    line-height: 1.6;
    margin: 0;
}

/* Vision Timeline */
.vision-timeline {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.vision-timeline h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.vision-years {
    color: var(--secondary-gold, #d4af37);
    font-weight: 300;
    font-size: 1rem;
    margin-left: 8px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.timeline-phase {
    padding: 24px;
    border-radius: 12px;
    background: var(--bg-light, #f8f9fa);
    position: relative;
    border-left: 4px solid var(--secondary-gold, #d4af37);
}

.phase-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-gold, #d4af37);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.phase-years {
    font-size: 0.8rem;
    color: var(--text-muted, #6c757d);
    margin: 4px 0 8px;
    display: block;
}

.timeline-phase h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-phase ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-phase ul li {
    font-size: 0.88rem;
    color: var(--text-muted, #6c757d);
    padding: 4px 0;
    line-height: 1.5;
}

.timeline-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---------- EXCELLENCE SECTION ---------- */
.section-excellence {
    background: #ffffff;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.excellence-card {
    padding: 35px 28px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.excellence-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.excellence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
}

.enset-card::before { background: #2d8a4e; }
.coffee-card::before { background: #6f4e37; }
.flora-card::before { background: #2a7a62; }

.excellence-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.excellence-card h3 {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.scientific-name {
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted, #6c757d);
    font-size: 0.85rem;
}

.excellence-tagline {
    font-weight: 600;
    color: var(--secondary-gold, #d4af37);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.excellence-card p {
    color: var(--text-muted, #6c757d);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.excellence-highlights {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.excellence-highlights span {
    background: var(--bg-light, #f8f9fa);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #495057);
}

.excellence-link {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color, #0056b3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.excellence-link:hover {
    color: var(--secondary-gold, #d4af37);
    transform: translateX(4px);
}

.excellence-link.disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- BIOTECH SECTION ---------- */
.section-biotech {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    color: white;
    padding: 70px 0;
}

.biotech-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.biotech-content .section-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-gold, #d4af37);
}

.biotech-content h2 {
    color: white;
    border-left: none;
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.biotech-mission {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.biotech-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.biotech-stat {
    text-align: center;
}

.biotech-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-gold, #d4af37);
}

.biotech-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.biotech-competencies h4,
.biotech-careers h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 10px;
}

.competency-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.competency-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.career-tags span {
    background: rgba(212, 175, 55, 0.15);
    color: var(--secondary-gold, #d4af37);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.biotech-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.biotech-vision-box,
.biotech-alignment {
    background: rgba(255, 255, 255, 0.05);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.biotech-vision-box h4,
.biotech-alignment h4 {
    color: var(--secondary-gold, #d4af37);
    font-size: 1rem;
    margin-bottom: 10px;
}

.biotech-vision-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.biotech-alignment ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.biotech-alignment ul li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.biotech-alignment ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-gold, #d4af37);
}

.biotech-content .btn-primary {
    background: var(--secondary-gold, #d4af37);
    color: #0a1628;
    border-color: var(--secondary-gold, #d4af37);
}

.biotech-content .btn-primary:hover {
    background: #c4a040;
    border-color: #c4a040;
}

/* ---------- HUBS SECTION ---------- */
.section-hubs {
    background: var(--bg-light, #f8f9fa);
}

.hubs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.hub-card {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.hub-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.hub-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.hub-card p {
    color: var(--text-muted, #6c757d);
    line-height: 1.7;
    margin-bottom: 16px;
}

.hub-link {
    font-weight: 600;
    color: var(--primary-color, #0056b3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hub-link:hover {
    color: var(--secondary-gold, #d4af37);
}

/* ---------- UNIVERSITY NETWORK ---------- */
.section-universities {
    background: #ffffff;
}

.university-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.university-card {
    padding: 24px 20px;
    border-radius: 12px;
    background: var(--bg-light, #f8f9fa);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.university-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.university-card.hub-university {
    border-color: var(--secondary-gold, #d4af37);
    background: rgba(212, 175, 55, 0.05);
}

.university-badge {
    display: inline-block;
    background: var(--secondary-gold, #d4af37);
    color: white;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.university-card h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.university-location {
    font-size: 0.85rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 10px;
}

.university-location i {
    margin-right: 6px;
}

.university-excellence {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.university-excellence span {
    background: white;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary, #495057);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---------- CTA SECTION ---------- */
.section-cta {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    padding: 80px 0;
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    border-left: none;
    text-align: center;
    font-size: 2.6rem;
}

.cta-content h2 span {
    color: var(--secondary-gold, #d4af37);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--secondary-gold, #d4af37);
    color: #0a1628;
    border-color: var(--secondary-gold, #d4af37);
}

.cta-buttons .btn-primary:hover {
    background: #c4a040;
    border-color: #c4a040;
}
/* --- Mobile Navigation Styles --- */

/* 1. Hide the navigation by default on mobile */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Change this from 'block' to 'none' */
        width: 100%;
        position: absolute;
        top: 100%; /* Positions it right below the header */
        left: 0;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000; /* Ensures it appears above other content */
    }

    /* 2. Show the navigation ONLY when it has the 'open' class */
    .main-nav.open {
        display: block;
    }

    /* 3. Style the menu toggle button (hamburger) to be visible */
    .nav-toggle {
        display: flex; /* Ensure the toggle button is visible */
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001; /* Above the menu */
    }

    .nav-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--primary-color, #0a1628);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* 4. Style the dropdown menus within the mobile nav */
    .has-dropdown .dropdown {
        display: none; /* Hidden by default */
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .has-dropdown.open .dropdown {
        display: block; /* Show when parent has 'open' class */
    }
}

/* --- Optional: Style for the nav toggle on larger screens --- */
@media (min-width: 769px) {
    .nav-toggle {
        display: none; /* Hide the hamburger on desktop */
    }
}
/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1200px) {
    .university-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .excellence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .biotech-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .enset-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .hubs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-stat-number {
        font-size: 1.6rem;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .excellence-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .enset-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .university-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .biotech-stats {
        gap: 15px;
    }
    
    .vision-timeline {
        padding: 24px;
    }
    
    .biotech-stat-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .enset-grid {
        grid-template-columns: 1fr;
    }
    
    .university-grid {
        grid-template-columns: 1fr;
    }
    
    .excellence-card {
        padding: 24px 18px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .biotech-stats {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .biotech-stat {
        flex: 1 1 45%;
    }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to elements */
.excellence-card,
.enset-item,
.timeline-phase,
.biotech-content,
.hub-card,
.university-card {
    animation: fadeInUp 0.8s ease forwards;
}

.excellence-card:nth-child(2) { animation-delay: 0.1s; }
.excellence-card:nth-child(3) { animation-delay: 0.2s; }
.enset-item:nth-child(2) { animation-delay: 0.1s; }
.enset-item:nth-child(3) { animation-delay: 0.2s; }
.enset-item:nth-child(4) { animation-delay: 0.3s; }
.enset-item:nth-child(5) { animation-delay: 0.4s; }
.enset-item:nth-child(6) { animation-delay: 0.5s; }