body {
    font-family: "Nunito", sans-serif !important;
}

:root {
    --primary-color: #98b569;
    --secondary-color: #000;
    --text-color: #2f3777;
    --optional-color: #0451a8;
    --red-color: #e73332;
}

a {
    text-decoration: none;
}

.section-title {
    position: relative;
    color: var(--text-color);
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

.section-title::before {
    content: " ";
    position: absolute;
    top: 50%;
    left: -60px;
    width: 50px;
    height: 3px;
    background-color: var(--red-color);
}

.carousel-item {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-link,
.dropdown-item {
    font-size: 1.05rem;
    font-weight: 500 !important;
    color: var(--text-color) !important;
}

.header {
    background-color: var(--primary-color);
    color: white;
}

/* Scrolling Notice Section */
.scrolling-text-section {
    background-color: var(--optional-color); /* Match the gold/olive tone */
    white-space: nowrap;
}

.scrolling-text-container {
    overflow: hidden;
    width: 100%;
}

.scrolling-text {
    display: flex;
    animation: scroll-left 25s linear infinite;
    width: max-content;
}

.scroll-item {
    flex-shrink: 0;
}

.scroll-item i {
    font-size: 1rem;
    opacity: 0.8;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scrolling-text-section:hover .scrolling-text {
    animation-play-state: paused;
}

/* Notice */
#notice-section i {
    font-size: 3rem;
    color: var(--red-color);
}

#notice-section span {
    font-size: 2rem;
    color: var(--text-color);
}

.notice-container {
    width: 100%;
    height: 400px;
    border: 1px solid var(--primary-color);
}

#principal-section {
    border-bottom: 2px solid var(--primary-color);
}

#principal-section i {
    font-size: 3rem;
    color: var(--red-color);
}
#principal-section span {
    font-size: 2rem;
    color: var(--text-color);
}

.principal-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.facility-img {
    position: relative;
    border-radius: 10px;
}

.facility-img img {
    border-radius: 10px;
}

.facility-img .facility-tab {
    position: absolute;
    bottom: -10px;
    left: 35%;
    padding: 10px 14px;
    border-radius: 10px 0 10px 0;
    background-color: var(--optional-color);
    color: white;
    font-weight: bold;
}
.thought-section {
    padding: 4rem 0;
}

.thought-card {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
    background: linear-gradient(
        90deg,
        rgba(255, 178, 161, 0.22) 0%,
        rgba(255, 255, 255, 0.98) 100%
    );
    box-shadow: 0 2rem 3.75rem rgba(52, 62, 78, 0.08);
    padding: 3rem 2.5rem;
}

.thought-card::before {
    content: "";
    position: absolute;
    left: -14%;
    top: -20%;
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle at 34% 30%,
        rgba(255, 166, 143, 0.88),
        rgba(255, 255, 255, 0)
    );
    border-radius: 50%;
}

.thought-card::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: -8%;
    width: 260px;
    height: 260px;
    background: rgba(255, 148, 118, 0.16);
    border-radius: 50%;
}

.thought-card-body {
    position: relative;
    z-index: 1;
}

.thought-card-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background: #ffffff;
    color: #d25d44;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.thought-card-badge::before,
.thought-card-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 1px;
    background: rgba(210, 109, 81, 0.28);
}

.thought-card-badge::before {
    left: -110px;
    transform: translateY(-50%);
}

.thought-card-badge::after {
    right: -110px;
    transform: translateY(-50%);
}

.thought-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #d25442;
    font-size: 1.8rem;
    box-shadow: 0 1.25rem 2.5rem rgba(210, 90, 64, 0.15);
}

.thought-card-text {
    margin: 0 auto;
    max-width: 760px;
    color: #2a3741;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.85;
    text-align: center;
}

@media (max-width: 767.98px) {
    .thought-card {
        padding: 2rem 1.5rem;
    }

    .thought-card-badge::before,
    .thought-card-badge::after {
        width: 70px;
    }

    .thought-card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .thought-card-text {
        font-size: 1.15rem;
    }
}

.mission-vision-section {
    background-color: rgba(152, 181, 105, 0.08);
}

.mission-vision-section .section-title {
    color: var(--text-color);
}

.mission-vision-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(152, 181, 105, 0.18);
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(
        circle at top right,
        rgba(151, 181, 105, 0.32),
        transparent 58%
    );
    pointer-events: none;
}

.mv-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background-color: var(--primary-color);
    color: var(--optional-color);
}

.mission-vision-card h3 {
    color: var(--secondary-color);
}

.mission-vision-card p,
.mission-vision-card li {
    color: var(--text-color);
}

.mission-vision-card ul li {
    padding-left: 1rem;
    position: relative;
}

.mission-vision-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--red-color);
}

@media (max-width: 767.98px) {
    .mv-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
}

.gallery-card {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(43, 56, 119, 0.08);
    box-shadow: 0 1.25rem 2.5rem rgba(47, 55, 119, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    background: linear-gradient(
        180deg,
        rgba(152, 181, 105, 0.08),
        rgba(255, 255, 255, 0.95)
    );
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.75rem 3rem rgba(47, 55, 119, 0.16);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 12px;
    border: none;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 0.75rem 1.5rem rgba(152, 181, 105, 0.18);
}

.button:hover,
.button:focus {
    background-color: var(--optional-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 1rem 1.85rem rgba(4, 81, 168, 0.2);
}

@media (max-width: 575.98px) {
    .gallery-card {
        border-radius: 1.25rem;
    }

    .button {
        width: 100%;
        padding: 0.95rem 1.25rem;
    }
}

.faq-section {
    background-color: rgba(152, 181, 105, 0.06);
}

.faq-section .accordion-item {
    border: 1px solid rgba(41, 59, 96, 0.12);
    border-radius: 1.5rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1.2rem 2.8rem rgba(47, 55, 119, 0.08);
}

.faq-section .accordion-button {
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(41, 59, 96, 0.08);
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    background-color: rgba(152, 181, 105, 0.1);
    box-shadow: inset 0 -1px 0 rgba(41, 59, 96, 0.08);
}

.faq-section .accordion-button::after {
    filter: invert(0.2) sepia(1) saturate(3) hue-rotate(85deg);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
    background: #ffffff;
}

.faq-section .section-title {
    color: var(--text-color);
}

.footer-section {
    background:
        radial-gradient(
            circle at top right,
            rgba(152, 181, 105, 0.2),
            transparent 40%
        ),
        linear-gradient(180deg, #16203f 0%, #111826 100%);
    color: #f3f4f7;
}

.footer-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    min-height: 320px;
}

.footer-section h5 {
    color: #ffffff;
    font-weight: 700;
}

.footer-links li + li {
    margin-top: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    transition:
        color 0.25s ease,
        transform 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.82rem;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(4, 81, 168, 0.16);
    color: #ffffff;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.footer-button:hover,
.footer-button:focus {
    background-color: rgba(152, 181, 105, 0.16);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section .text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.map-frame {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 767.98px) {
    .footer-card {
        min-height: auto;
        padding: 1.5rem;
    }

    .footer-bottom {
        gap: 0.75rem;
        text-align: center;
    }
}
