/* Global Settings */
:root {
    --primary-color: #2e7d32;
    /* Forest Green */
    --primary-dark: #1b5e20;
    --secondary-color: #f9a825;
    /* Academic Gold */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --font-heading: 'Merriweather', serif;
    /* Serif for prestige */
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

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

.btn-light:hover {
    background-color: transparent;
    color: var(--white);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact span {
    margin-right: 15px;
}

.top-contact i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.top-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 15px;
    font-weight: 600;
}

.top-links a:hover {
    color: var(--white);
}

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 6px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.college-logo {
    height: 85px;
    width: auto;
}

.college-text h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 5px;
}

.college-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.est-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* Navigation - Green Bar */
.main-nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    justify-content: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    color: var(--white);
    padding: 15px 25px;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 4px solid transparent;
}

.nav-menu>li>a.active,
.nav-menu>li>a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.nav-menu>li>a i {
    font-size: 0.8rem;
    margin-left: 5px;
    opacity: 0.8;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--box-shadow);
    display: none;
    border-top: 3px solid var(--secondary-color);
}

.has-dropdown:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown li {
    border-bottom: 1px solid #f1f1f1;
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.dropdown li a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Hero Section with Overlap */
.hero-wrapper {
    position: relative;
    height: 600px;
    background-color: #ddd;
    overflow: hidden;
}

.hero-slider,
.hero-slide {
    height: 100%;
    width: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
}

.hero-text {
    color: var(--white);
    max-width: 600px;
    padding-left: 5%;
}

.hero-text h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Quick Stats Card (Overlap) */
.quick-stats-card {
    position: absolute;
    bottom: 50px;
    right: 10%;
    background-color: var(--white);
    padding: 30px;
    width: 320px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--primary-color);
    z-index: 10;
}

.quick-stats-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stat-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
}

.stat-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-links {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-links a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.stat-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.view-all {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid #eee;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: var(--box-shadow);
    border-color: transparent;
    transform: translateY(-5px);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 70px;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.news-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.news-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Streams */
.streams-bg {
    background-color: var(--primary-dark);
    color: var(--white);
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    /* Subtle texture pattern */
}

.section-title.center {
    text-align: center;
    color: var(--white);
}

.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stream-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-card:hover {
    background-color: var(--white);
    transform: scale(1.05);
}

.stream-card:hover h3,
.stream-card:hover p,
.stream-card:hover .icon-box {
    color: var(--primary-color);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.stream-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.stream-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.main-footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-brand h3 {
    color: var(--white);
    font-family: var(--font-heading);
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

.footer-info h4,
.footer-links h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-left: 3px solid var(--secondary-color);
    padding-left: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

.fab-home {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 5000;
}

.fab-home a {
    color: #000;
    font-size: 1.2rem;
}

.fab-home:hover {
    transform: scale(1.1);
}

/* Responsive */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 992px) {
    .header-content {
        justify-content: space-between;
    }

    .header-actions {
        display: none;
    }

    .top-bar {
        text-align: center;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        width: 100%;
        background-color: var(--primary-dark);
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu>li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border: none;
        width: 100%;
    }

    .dropdown li a {
        color: rgba(255, 255, 255, 0.8);
        padding-left: 40px;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .quick-stats-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin: -50px auto 30px;
        width: 90%;
        border-top: none;
        border-bottom: 5px solid var(--primary-color);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}