﻿/* ================= HERO ================= */
.about-hero {
    position: relative;
    height: 260px;
    background-image: url('/images/about/aboutus.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.inner-hero {
    min-height: auto;
    padding: 40px 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
    .about-hero .hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.08);
    }

    /* purple ribbon */
    .about-hero .hero-content {
        position: relative;
        z-index: 2;
    }

.hero-ribbon {
    width: 60%;
    max-width: 760px;
    height: 70px;
    background: rgba(160,130,190,0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding-left: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transform: translateY(20%);
}

    .hero-ribbon span {
        color: #fff;
        font-size: 36px;
        font-weight: 600;
        letter-spacing: 1px;
    }

/* make ribbon responsive */
@media (max-width: 991px) {
    .hero-ribbon {
        width: 80%;
        height: 60px;
        padding-left: 20px;
    }

        .hero-ribbon span {
            font-size: 28px;
        }
}

/* ================= TOP ABOUT ================= */
.about-wrapper {
    padding: 60px 0;
    background: #fff;
}

.about-title {
    font-size: 40px;
    margin-bottom: 18px;
}

    .about-title span {
        color: #f4b400;
    }

.about-wrapper p {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

/* ================= LATEST NOTICE CARD ================= */
.latest-notice-card {
    background:#15d683;
    padding: 24px ;
    border-radius: 14px;
    color: #fff;
    max-height: 420px;
    overflow-y: auto;
}

    .latest-notice-card h4 {
        margin-bottom: 14px;
        color: darkblue;
    }

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .notice-list li {
        margin-bottom: 12px;
        font-size: 14px;
        display: flex;
        gap: 10px;
        align-items: baseline;
    }

.notice-date {
    font-weight: 700;
    min-width: 110px;
    color: darkviolet;
}

.notice-text {
    color: black;
}

.no-notice {
    color: #cfcfcf;
}

/* ================= DARK SECTION ================= */
.about-dark-section {
    background:#f4b400;
    padding: 80px 0;
    color: #dfe7ff;
}

.about-image-wrap img {
    width: 100%;
    border-radius: 6px;
    display: block;
    filter: none;
}

/* headings */
.orange-heading {
    color: darkblue;
    font-weight: 700;
    margin-bottom: 10px;
}

/* text inside dark */
.about-dark-section p {
    color: black;
    line-height: 1.8;
    font-size: 15px;
}

/* ===== Animation helpers ===== */
.animate-image, .animate-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(.2,.9,.2,1);
}

.animate-content {
    transform: translateX(60px);
}

.show {
    opacity: 1;
    transform: translate(0);
}

/* Small screens layout fix */

@media (max-width: 991px) {

    .gd-header {
        position: absolute;
        top: 0;
        z-index: 9999;
        background: #fff;
    }

    .about-hero {
    position: relative;
    height: 220px;
    background-image: url('/images/about/aboutus.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 175px;
    }

    .inner-hero {
        min-height: auto;
        padding: 30px 15px;
    }

    .hero-ribbon {
        width: 90%;
        height: 55px;
        transform: translateY(10%);
    }

        .hero-ribbon span {
            font-size: 24px;
        }

    .about-wrapper {
        padding: 40px 0;
    }

    .latest-notice-card {
        margin-top: 20px;
    }
}
