﻿/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Default height for other pages */
    background: url("images/hero-bg.jpg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

    .hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    word-break: break-word; /* prevents cutting off */
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

/* 🎯 Page-specific Banner Height */
.home-sample-page .hero {
    height: 70vh; /* Adjust height for this page only */
}
/* Department dropdown styles */
.departments-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 40px 20px;
    background: #f8f9fa;
}

.departments-dropdown {
    width: 250px;
    position: relative;
}

    .departments-dropdown select {
        width: 100%;
        padding: 12px;
        border: 2px solid #00798c;
        border-radius: 6px;
        font-size: 16px;
        appearance: none;
        background: white url("https://cdn-icons-png.flaticon.com/512/32/32195.png") no-repeat right 10px center;
        background-size: 16px;
        cursor: pointer;
    }

.departments-content {
    flex: 1;
    border: 2px solid #00798c;
    border-radius: 6px;
    background: #fff;
}

    .departments-content p {
        padding: 15px;
    }

    .departments-content h2 {
        margin-top: 0;
        background: #00798c;
        color: white;
        padding: 10px;
        border-radius: 4px 4px 0 0;
    }

    .departments-content h3 {
        padding: 15px;
    }

.department {
    display: none;
}

    .department ul {
        list-style: none;
        padding: 0 20px 20px;
    }

@media (max-width: 768px) {
    .departments-container {
        flex-direction: column;
    }

    .departments-dropdown {
        width: 100%;
    }
}
