:root {
    --primary-purple: #2f1c6a;
    --accent-gold: #c89b3c;
    --btn-purple: #3a1f87;
    --btn-red: #e53935;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Top header */
.top-header {
    padding: 20px 0;
}

.navbar-nav li.nav-item {
    padding-left: 10px;
    padding-right: 10px;
}

.top-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.top-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0;
}

.logo{
    width: 80px;
}

/* Navbar */
.main-nav {
    background-color: var(--primary-purple);
}

.main-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 14px 18px;
}

.main-nav .nav-link:hover {
    color: #f1d27a;
}

button.navbar-toggler.text-white {
    width: 100%;
    text-align: right;
}


/* Base dropdown styling */
.about-dropdown {
    position: relative;
}

.about-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-purple);
    min-width: 220px;
    padding: 8px 0;
    border-radius: 4px;
    display: none;
    z-index: 1000;
}

.about-submenu li {
    list-style: none;
}

.about-submenu .dropdown-item {
    color: #fff;
    padding: 8px 16px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.about-submenu .dropdown-item:hover {
    color: #f1d27a;
    background: #170942FF;
}

.main-nav-menu .nav-link.active {
    color: #f1d27a;
}
.dropdown-item.active {
    color: #f1d27a;
    background: #170942FF;
}

/* Desktop hover behavior */
@media (min-width: 992px) {
    .about-dropdown:hover .about-submenu {
        display: block;
    }
}

/* Mobile friendly behavior */
@media (max-width: 991px) {
    .about-submenu {
        position: static;
        background: #111;
        border-radius: 0;
    }

    /* Use focus-within to simulate hover on mobile tap */
    .about-dropdown:focus-within .about-submenu {
        display: block;
    }

    .about-dropdown > a {
        position: relative;
    }

    .about-dropdown > a::after {
        content: " ▾";
        font-size: 12px;
    }
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    background-image: url("/img/homepage-hero.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

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

.hero h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.hero h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

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

.hero-buttons {
    margin-top: 28px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-apply {
    background-color: var(--btn-purple);
    color: #fff;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 4px;
}

.btn-apply:hover {
    background-color: #2c1567;
    color: #fff;
}

.btn-circular {
    background-color: var(--btn-red);
    color: #fff;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 4px;
}

.btn-circular:hover {
    background-color: #c62828;
    color: #fff;
}


/*  Notice  */
.notice-section {
    padding: 60px 0;
    background-color: #f6f7fb;
}

.notice-title {
    font-size: 28px;
    font-weight: 700;
    color: #2f1c6a;
    margin-bottom: 30px;
    position: relative;
}

.notice-title::after {
    content: "";
    width: 70px;
    height: 3px;
    background-color: #c89b3c;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    background-color: #ffffff;
    border-left: 5px solid #2f1c6a;
    padding: 16px 18px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.notice-list li:hover {
    background-color: #f1f3ff;
}

.notice-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.notice-date {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .notice-title {
        font-size: 24px;
    }

    .notice-text {
        font-size: 15px;
    }
}


/*  Footer  */
.site-footer {
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
    background-color: #ffffff;
    font-size: 14px;
}

.footer-wrap {
    text-align: center;
}

.footer-left {
    color: #2f1c6a;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-wrap {
        flex-direction: column;
    }

    .footer-left {
        text-align: center;
        width: 100%;
    }

    .footer-right {
        text-align: center;
        width: 100%;
    }
}



/* Info */
.mph-section {
    padding: 80px 20px;
    background: #ffffff;
}

.mph-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2937;
}

.mph-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
}

.mph-content ul {
    padding-left: 20px;
    margin: 0;
}

.mph-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 12px;
}

.mph-image img {
    border-radius: 16px;
    object-fit: cover;
}



@media screen and (min-width:768px){
    .desktop-justified{
        text-align: justify;
    }
}
@media screen and (max-width:768px){
    .logo{
        width: 60px;
    }
    .header-description {
        margin-top: 20px;
    }
    .header-description h1 {
        font-size: 13px;
    }
    .header-description h2 {
        font-size: 13px;
    }
    .hero {
        min-height: 40vh !important;
    }

    .hero h1 {
        font-size: 20px;
    }

    .hero h3 {
        font-size: 18px;
    }

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

    .main-nav .nav-link {
        padding: 10px 14px;
    }

    .mph-content h2 {
        font-size: 24px;
    }
}
