:root {
    --primary-blue: #0d2159;
    --primary-yellow: #fdb927;
    --dark-blue: #0a1945;
    --light-blue: #E8F0FF;
    --text-muted: #6C757D;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --footer-green: #014421;
    --footer-icon-bg: rgba(255, 255, 255, 0.1);
}

body {
    font-family: var(--font-body);
    background-color: #F8F9FA;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Top Bar */
.top-bar {
    background: var(--primary-blue);
    padding: 10px 0;
    font-size: 0.8rem;
    color: white;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-brand-section {
    background: white;
    padding: 25px 0;
}

.branding-flex {
    display: flex;
    justify-content: center;
    text-align: center;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar {
    background: white;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55px;
    background: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 18px 15px;
    display: block;
    text-transform: uppercase;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 0, 0, 0.05);
}

/* Hero Slider Section */
.hero-swiper {
    width: 100%;
    height: 600px;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
}

.hero-overlay {
    position: relative;
    z-index: 10;
    margin-left: 20px;
    background: rgba(10, 30, 94, 0.85);
    color: white;
    padding: 30px 40px;
    border-left: 6px solid var(--primary-yellow);
    max-width: 500px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-yellow);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-yellow);
    background: rgba(10, 30, 94, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--primary-yellow);
    opacity: 1;
}

/* Yellow Marquee Section */
.marquee-section {
    background: var(--primary-yellow);
    padding: 10px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.social-icons-box {
    display: flex;
    gap: 15px;
    padding-left: 20px;
}

/* Section Common */
.section-title-box {
    border-bottom: 2px solid #EEE;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    color: var(--primary-blue);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-blue);
    margin-bottom: -2px;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Navbar Responsive */
@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-swiper {
        height: 350px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .news-layout {
        grid-template-columns: 1fr !important;
    }

    .grid-4 {
        grid-template-columns: 1fr !important;
    }

    .agenda-cards {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .marquee-section .container {
        flex-direction: column;
        gap: 10px;
    }

    .social-icons-box {
        padding-left: 0;
        justify-content: center;
    }

    .branding-flex {
        justify-content: center;
        text-align: center;
    }

    .brand {
        flex-direction: column;
        gap: 10px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .hero-swiper {
        height: 300px !important;
    }

    .hero-title {
        font-size: 1.5rem !important;
    }

    .quote-text {
        font-size: 1.2rem !important;
    }

    .top-bar {
        display: none;
    }

    /* Hide top bar on very small phones to save space */
}

/* Base Styles Refinement */
img {
    max-width: 100%;
    height: auto;
}

.badge {
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* News Grid 1-2 */
.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* 4 Column Grid Items */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

/* Prestasi Section */
.prestasi-item {
    border-left: 4px solid var(--primary-yellow);
    padding: 5px 20px;
    margin-bottom: 15px;
}

/* Blue Agenda Section */
.agenda-bg {
    background: var(--primary-blue);
    color: white;
    padding: 80px 0;
}

.agenda-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.agenda-date-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    display: flex;
    gap: 20px;
}

/* Quotes */
.quote-box {
    background: var(--dark-blue);
    color: white;
    padding: 100px 40px;
    text-align: center;
}

/* Guru List Horizontal */
.guru-slider {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.guru-card-v2 {
    flex: 0 0 180px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.guru-card-v2 img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.guru-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 30, 94, 0.9);
    color: white;
    padding: 10px;
    font-size: 0.75rem;
    text-align: center;
}

/* Video Buttons */
.video-btns {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px 0;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Footer & Copyright */
.footer-main {
    background: var(--dark-blue);
    color: white;
    padding: 80px 0;
}


/* Footer Modern */
.footer-main-v2 {
    background: var(--footer-green);
    color: white;
    padding: 60px 0 40px 0;
    text-align: center;
}

.footer-social-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-icon-box {
    width: 48px;
    height: 48px;
    background: var(--footer-icon-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.social-icon-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    color: var(--primary-yellow);
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 15px auto 0;
    line-height: 1.7;
    font-weight: 500;
}

.footer-copyright {
    font-size: 0.8rem;
    margin-top: 30px;
    opacity: 0.5;
    letter-spacing: 0.5px;
}

/* Quick Access Section */
.quick-access-section {
    padding: 20px 0;
    margin-top: -80px;
    position: relative;
    z-index: 100;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.qa-item {
    background: var(--primary-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qa-item:hover {
    transform: translateY(-12px) scale(1.03);
    background: #0d287a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.qa-item i {
    font-size: 2.4rem;
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}

.qa-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.qa-item span {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 992px) {

    .news-layout,
    .agenda-cards,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .quick-access-grid {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 0;
    }

    .quick-access-section {
        margin-top: 20px;
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qa-item {
        padding: 20px 10px;
    }

    .qa-item i {
        font-size: 1.8rem;
    }

    body {
        padding-bottom: 90px;
    }
}

/* Mobile Bottom Navigation */
.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 15px;
        left: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        height: 60px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        justify-content: space-around;
        align-items: center;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-muted);
        transition: all 0.3s;
        gap: 2px;
        flex: 1;
    }

    .bottom-nav-item i {
        font-size: 1.2rem;
    }

    .bottom-nav-item span {
        font-size: 0.6rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .bottom-nav-item.active {
        color: var(--primary-blue);
    }

    .bottom-nav-item:hover {
        color: var(--primary-blue);
    }
}