* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;
    color: #003f87;
    padding-top: 90px;
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 6%;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
}

.logo img {
    height: 70px;
}

.nav-title {
    font-size: 1.5rem;
    color: #003f87;
    flex: 1;
    text-align: center;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1e293b;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #003f87;
}

/* HERO */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    gap: 40px;
    background:
        linear-gradient(to right,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.2)),
        url('banner.jpg') center/cover no-repeat;
}

.hero-left {
    flex: 1;
}

.hero-left h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
}

.hero-left p {
    margin-top: 15px;
    color: #e2e8f0;
    max-width: 500px;
    line-height: 1.6;
}

.heroinner {
    height: 50vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    gap: 40px;
    background:
        linear-gradient(to right,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.2)),
        url('banner.jpg') center/cover no-repeat;
}

.heroinner-left {
    flex: 1;
}

.heroinner-left h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
}

.heroinner-left p {
    margin-top: 15px;
    color: #e2e8f0;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right h3 {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    padding: 25px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* DEAN SECTION */
.dean-section {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 60px;
    background: #ffffff;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.9s ease;
}

.dean-section.show {
    opacity: 1;
    transform: translateY(0);
}

.dean-img-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dean-img-wrapper::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 380px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    border-radius: 20px;
    transform: rotate(-6deg);
    z-index: 1;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.dean-img-wrapper img {
    width: 320px;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.dean-text {
    flex: 2;
}

.dean-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #0f172a;
}

.dean-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}

/* SECTION */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 300px;
    padding: 40px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: #eff6ff;
}

/* ===== EVENTS SECTION (NEW) ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.event-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.event-card img {
    width: 100%;
    height: auto;
    /* 👈 key fix */
    display: block;
}

.event-card.show {
    opacity: 1;
    transform: translateY(0);
}



.event-card:hover img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.event-overlay h3 {
    font-size: 1.1rem;
}

footer {
    background: #fff;
    padding: 40px 10%;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.feature-section {
    padding: 80px 10%;
    background: #f8fafc;
}

.feature-card {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Image */
.feature-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Text area */
.feature-content {
    padding: 25px;
    text-align: center;
}

.feature-content h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button */
.more-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.more-btn:hover {
    background: #1d4ed8;
}

.pdf-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* Creates centered document look with white side space */
.pdf-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* centers it */
    background: #ffffff;
    /* white frame */
    padding: 20px;
    /* side white space */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* iframe fills inside the framed area */
.pdf-wrapper iframe {
    width: 100%;
    height: 85vh;
    border: none;
    border-radius: 8px;
}

.reports-section {
    padding: 90px 10%;
    background: #f8fafc;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 👈 2 per row */
    gap: 30px;
}

/* big cards */
.report-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.report-card:hover {
    transform: translateY(-6px);
}

.report-card iframe {
    width: 100%;
    height: 450px;
    /* 👈 bigger size */
    border: none;
    border-radius: 10px;
}

.report-card p {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

/* MOBILE */
@media(max-width:768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .heroinner {
        flex-direction: column;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 90px;
        right: 6%;
        background: #fff;
        flex-direction: column;
        width: 220px;
        padding: 15px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .dean-section {
        flex-direction: column;
        text-align: center;
    }
    
}