﻿/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: ''Poppins'', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}

.logo p {
    font-size: 14px;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '''';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(''data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== QUICK LINKS ===== */
.quick-links {
    padding: 60px 0;
    background: var(--bg-light);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

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

.quick-link-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 36px;
    color: var(--white);
}

.quick-link-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.quick-link-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--accent-color);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin: 10px 0;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

/* About Gallery Styles */
.about-gallery {
    margin-top: 3rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--accent-color);
    font-size: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card i {
    font-size: 36px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-card h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== DEPARTMENTS SECTION ===== */
.departments {
    padding: 80px 0;
    background: var(--bg-light);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.department-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary-color);
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.department-card i {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.department-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.department-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    padding: 80px 0;
}

.programs-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

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

.program-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.program-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.program-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

.blog-cta {
    text-align: center;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    gap: 50px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: ''Poppins'', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    opacity: 0.8;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-list i {
    margin-top: 3px;
    color: var(--accent-color);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.scroll-top.show {
    display: flex;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 10px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

/* About Gallery Styles */
.about-gallery {
    margin-top: 3rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

    .hero-buttons {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ===== LOGO STYLING ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

.logo > div {
    display: flex;
    flex-direction: column;
}

/* ===== IMPROVED HERO SECTION WITH BACKGROUND ===== */
.hero {
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(59, 130, 246, 0.85)), 
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600') center/cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== IMPROVED ABOUT SECTION WITH IMAGE ===== */
.about {
    background: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1600') center/cover fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
}

.about .container {
    position: relative;
    z-index: 1;
}

/* ===== DEPARTMENTS SECTION BACKGROUND ===== */
.departments {
    background: linear-gradient(rgba(249, 250, 251, 0.95), rgba(249, 250, 251, 0.95)),
                url('https://images.unsplash.com/photo-1562774053-701939374585?w=1600') center/cover fixed;
}

/* ===== PROGRAMS SECTION BACKGROUND ===== */
.programs {
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1600') center/cover fixed;
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
}

.programs .container {
    position: relative;
    z-index: 1;
}

/* ===== BLOG SECTION WITH ACTUAL IMAGES ===== */
.blog {
    background: linear-gradient(rgba(249, 250, 251, 0.9), rgba(249, 250, 251, 0.9)),
                url('https://images.unsplash.com/photo-1519452635265-7b1fbfd1e4e0?w=1600') center/cover fixed;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Default blog images */
.blog-card:nth-child(1) .blog-image {
    background: url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?w=800') center/cover;
}

.blog-card:nth-child(2) .blog-image {
    background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=800') center/cover;
}

.blog-card:nth-child(3) .blog-image {
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=800') center/cover;
}

/* ===== CONTACT SECTION BACKGROUND ===== */
.contact {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600') center/cover fixed;
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ===== IMPROVED STAT CARDS WITH GRADIENT ===== */
.stat-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== IMPROVED QUICK LINK CARDS ===== */
.quick-link-card {
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.quick-link-card:hover::before {
    left: 100%;
}

/* ===== ENHANCED DEPARTMENT CARDS ===== */
.department-card {
    position: relative;
    overflow: hidden;
}

.department-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.department-card:hover::after {
    transform: scaleX(1);
}

/* ===== IMPROVED FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--accent-color));
}

/* ===== UPDATED COLOR SCHEME ===== */
:root {
    --primary-color: #0d47a1;      /* Deep Blue */
    --secondary-color: #1976d2;    /* Bright Blue */
    --accent-color: #ff6f00;       /* Vibrant Orange */
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #fafafa;
    --success-color: #2e7d32;      /* Green */
    --gradient-1: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    --gradient-2: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
}

/* Update existing color references */
.top-bar {
    background: var(--gradient-1);
}

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.btn-primary {
    background: var(--gradient-2);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8f00 0%, #ffa726 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
}

.quick-link-card {
    background: white;
    border-left: 4px solid var(--accent-color);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.2);
}

.quick-link-card i {
    color: var(--accent-color);
}

.section-header h2::after {
    background: var(--gradient-2);
}

.stat-card {
    background: var(--gradient-1);
}

.stat-icon {
    color: var(--accent-color);
}

.department-card {
    background: white;
    border-top: 3px solid var(--secondary-color);
}

.department-card:hover {
    border-top-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.15);
}

.department-card i {
    color: var(--secondary-color);
}

.department-card:hover i {
    color: var(--accent-color);
}

.program-tabs {
    border-bottom: 2px solid #e0e0e0;
}

.program-tab {
    color: var(--text-light);
    border-bottom: 3px solid transparent;
}

.program-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.program-item {
    background: white;
    border-left: 4px solid var(--secondary-color);
}

.program-item:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(255, 111, 0, 0.1);
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 71, 161, 0.2);
}

.blog-meta {
    color: var(--accent-color);
}

.read-more {
    color: var(--accent-color);
}

.read-more:hover {
    color: var(--primary-color);
}

.contact-card {
    background: white;
    border-top: 4px solid var(--secondary-color);
}

.contact-card:hover {
    border-top-color: var(--accent-color);
}

.contact-card i {
    color: var(--accent-color);
}

.submit-btn {
    background: var(--gradient-2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff8f00 0%, #ffa726 100%);
}

.footer {
    background: var(--gradient-1);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.scroll-to-top {
    background: var(--accent-color);
}

.scroll-to-top:hover {
    background: var(--primary-color);
}

/* Enhanced hover effects */
.department-card::after {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

/* Mobile menu button */
.mobile-menu-btn {
    color: var(--primary-color);
}

/* Form inputs focus */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

/* ===== STATS SECTION STYLING ===== */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 15px 0 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== UNIVERSITY CLOSED BANNER ===== */
.university-closed-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 15px 0;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideText 20s linear infinite;
    white-space: nowrap;
}

.banner-content i {
    font-size: 1.3rem;
    animation: pulse 2s ease-in-out infinite;
}

.banner-text {
    display: inline-block;
}

@keyframes slideText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Adjust body padding to account for fixed banner */
body {
    padding-top: 60px;
}

/* Make sure navbar doesn't overlap with banner */
nav {
    top: 60px !important;
}

@media (max-width: 768px) {
    .university-closed-banner {
        padding: 12px 0;
    }
    
    .banner-content {
        font-size: 0.9rem;
        gap: 15px;
    }
    
    body {
        padding-top: 50px;
    }
    
    nav {
        top: 50px !important;
    }
}
