/* ======================================================================
   RESET & DASAR
   ====================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Skema Warna:
 * Biru Tua: #004d80
 * Oranye: #ff7f27
 * Kuning Aksen: #f3cc0b
 * Putih: #ffffff
 */

body {
    font-family: 'Nunito', sans-serif; 
    line-height: 1.6;
    color: #333333;
    /* UPDATE: Texture dipindahkan ke sini sebagai background utama */
    background-color: #f4f4f4; 
    background-image: url('Asset/texture.png');
    background-repeat: repeat;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .section-title, .section-title-light, .main-menu > li > a, .school-name, .cta-button {
    font-family: 'Fredoka', sans-serif;
}

a {
    text-decoration: none;
    color: #333333;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #ff7f27;
}

ul {
    list-style: none;
}

/* Utilitas */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5em;
    font-weight: 600;
    color: #004d80;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background-color: #ff7f27;
    border-radius: 10px;
}

.section-title-light {
    font-size: 2.5em;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subtitle-light {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tombol CTA Umum */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    font-size: 1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-orange {
    background-color: #ff7f27;
    color: #ffffff;
}
.cta-orange:hover {
    background-color: #e86a14;
}

.cta-white {
    background-color: #ffffff;
    color: #004d80;
}
.cta-white:hover {
    background-color: #f0f0f0;
}

.cta-dark-blue {
    background-color: #004d80;
    color: #ffffff;
}
.cta-dark-blue:hover {
    background-color: #00375a;
}

.center-button-container {
    text-align: center;
    margin-top: 40px;
}

/* ======================================================================
   HEADER & NAVIGASI
   ====================================================================== */
#wrapper {
    overflow: hidden;
    position: relative;
}

#main-header {
    background-color: #ffffff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); 
    width: 100%;
}

#main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #f3cc0b; 
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    gap: 40px; 
}

.logo a {
    display: block;
}

.logo a img {
    height: auto;
    max-height: 130px; 
    width: auto;
    display: block;
}

/* Menu Desktop */
#main-nav {
    display: block;
}

.main-menu {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-menu > li {
    position: relative;
    padding: 0 15px; /* Jarak antar item menu */
    height: 100px; /* Menyamakan tinggi dengan header agar hover full height */
    display: flex;
    align-items: center;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333333;
    gap: 8px;
}

.main-menu > li > a i {
    color: #ff7f27;
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.main-menu > li:hover > a i {
    transform: scale(1.2);
}

.main-menu > li:hover > a,
.main-menu > li.current-menu-item > a {
    color: #007bff;
}

/* Dropdown Desktop */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 99;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    border-top: 3px solid #f3cc0b;
    border-radius: 0 0 8px 8px;
    padding: 0;
    transform: translateY(10px);
}

.main-menu > li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu a {
    padding: 12px 20px;
    font-size: 14px;
    display: block;
    color: #555555;
    font-family: 'Nunito', sans-serif;
}

.sub-menu a:hover {
    background-color: #fffcf0;
    color: #ff7f27;
    padding-left: 25px; /* Efek geser sedikit saat hover */
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
    display: none;
    /* Styling detail ada di Media Query bawah */
}

/* ======================================================================
   HERO SLIDESHOW
   ====================================================================== */
#hero-slideshow {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #004d80; 
}

#hero-slideshow .slide {
    display: none; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fade 1.5s;
}

#hero-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}

#hero-slideshow .slide-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 20px;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    backdrop-filter: blur(3px);
}

#hero-slideshow .slide-caption h1 {
    font-size: 2.8em;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.1;
}

#hero-slideshow .slide-caption p {
    font-size: 1.3em;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* === FLOATING WA ICONS STYLE (BARU) === */
.hero-wa-group {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wa-btn {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

/* Lingkaran Ikon (Bubble) */
.wa-icon-bg {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #f3cc0b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.wa-icon-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

/* Label Teks (Tooltip di kiri) */
.wa-label {
    position: absolute;
    right: 75px; /* Geser ke kiri tombol */
    background-color: #004d80;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Segitiga kecil di label */
.wa-label::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #004d80;
}

/* Efek Hover */
.wa-btn:hover .wa-icon-bg {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    border-color: #25D366; /* Warna hijau WA saat hover */
}

.wa-btn:hover .wa-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* ======================================================================
   MARQUEE / RUNNING TEXT (ANIMASI MELINGKAR)
   ====================================================================== */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #f3cc0b; /* Kuning Aksen */
    color: #333;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 50px; /* Tinggi bar running text */
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: scroll-left 40s linear infinite; /* Kecepatan animasi */
}

/* Saat di-hover, animasi berhenti agar bisa dibaca */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee-tag {
    background-color: #fff;
    color: #004d80;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-family: 'Fredoka', sans-serif;
    margin-left: 20px;
    margin-right: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.marquee-item {
    display: inline-block;
    padding: 0 10px;
    font-size: 1.05em;
    font-weight: 500;
}

.separator-icon {
    color: #fff;
    font-size: 0.6em;
    margin: 0 15px;
    vertical-align: middle;
}

/* ======================================================================
   PROFILE BANNER
   ====================================================================== */
#profile-banner {
    background-color: #f7f7f7;
    padding: 50px 0;
    margin-top: -5px; /* Menutup celah kecil jika ada */
}

.banner-container {
    background-image: url('Asset/Bg3.png'), linear-gradient(135deg, #004d80 0%, #006bb3 100%);
    border-radius: 20px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #f3cc0b;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.profile-image-container {
    flex: 0 0 45%; 
    padding: 30px; 
    z-index: 2;
}

.profile-team-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 4px solid #fff;
}

.profile-text {
    flex: 1 1 50%; 
    padding: 40px;
    text-align: right;
    z-index: 2;
}

.profile-text .school-name {
    font-size: 3em;
    font-weight: 700;
    color: #f3cc0b;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

.profile-text .slogan-text {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
}

/* ======================================================================
   SECTIONS (General Layouts)
   ====================================================================== */
/* Profil Singkat */
#school-profile {
    background-color: #ffffff;
}
.school-profile-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.profile-text-content {
    flex: 1;
}
.profile-text-content h2 {
    color: #004d80;
    font-size: 2.2em;
    margin-bottom: 10px;
}
.profile-text-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05em;
}
.profile-image-content {
    flex: 1;
}
.profile-image-content img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 10px 10px 0px #f3cc0b; /* Efek bayangan solid lucu */
}
.divider {
    width: 60px;
    height: 5px;
    background-color: #f3cc0b;
    margin: 10px 0 25px;
    border-radius: 10px;
}

/* Keunggulan (Dark Blue) */
.section-dark-blue {
    background-color: #4cb4ef;
    background-image: url('Asset/Bg3.png');
    background-size: cover;
    color: #ffffff;
}
.section-title-light {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.advantage-item {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 8px solid #f3cc0b;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; 
}

.advantage-item:hover {
    transform: translateY(-10px);
}
.advantage-icon {
    font-size: 3.5em;
    color: #4cb4ef;
    margin-bottom: 20px;
}
.advantage-item h3 {
    color: #004d80;
    margin-bottom: 15px;
    font-size: 1.3em;
    line-height: 1.3;
}
.advantage-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Artikel */
#latest-articles {
    background-color: #f9f9f9;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.article-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.article-body {
    padding: 25px;
    flex-grow: 1;
}
.article-body h4 {
    color: #004d80;
    font-size: 1.3em;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Galeri (Mosaic & Slider Updates) */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 15px;
}

.mosaic-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* SWIPER STYLES INSIDE MOSAIC */
.gallerySwiper {
    width: 100%;
    height: 100%;
}

.gallerySwiper .swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallerySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Navigation Buttons Styles */
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    opacity: 0; /* Hide initially */
    transition: all 0.3s ease;
}

.gallerySwiper .swiper-button-next:after,
.gallerySwiper .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

.mosaic-item:hover .swiper-button-next,
.mosaic-item:hover .swiper-button-prev {
    opacity: 1; /* Show on hover */
}

.mosaic-item:hover .swiper-button-next:hover,
.mosaic-item:hover .swiper-button-prev:hover {
    background-color: #ff7f27;
}

/* Pagination Dots */
.gallerySwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}
.gallerySwiper .swiper-pagination-bullet-active {
    background: #ff7f27;
    opacity: 1;
}

/* Mosaic Specific Sizes */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

.item-tall {
    grid-row: span 2;
}

/* Overlay Effect */
.mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10; /* Ensure it stays above swiper */
    pointer-events: none; /* Allows clicking through to swipe */
}

.mosaic-overlay span {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
}

.mosaic-item:hover .mosaic-overlay {
    transform: translateY(0);
}


/* CTA Contact */
.section-orange-bg {
    background-color: #ff7f27;
    background-image: linear-gradient(45deg, #ff7f27 0%, #ff9955 100%);
}
.contact-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.contact-cta-content .section-title-light {
    text-align: center;
    font-size: 1.5em;
}

/* ======================================================================
   VISI & MISI STYLES (SPLIT LAYOUT REDESIGN)
   ====================================================================== */

#visi-misi-modern {
    background-color: #eef9ff;
    position: relative;
    overflow: hidden;
}

.vm-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Kiri: Visi */
.vm-visi {
    flex: 1;
    background: linear-gradient(135deg, #004d80 0%, #006bb3 100%);
    border-radius: 30px;
    padding: 60px 40px;
    color: #ffffff;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 77, 128, 0.2);
    overflow: hidden;
}

.vm-label {
    display: inline-block;
    background-color: #f3cc0b;
    color: #004d80;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.vm-visi-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5em;
    line-height: 1.3;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

/* Dekorasi Bintang/Bulan di Visi */
.vm-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.vm-decoration i {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
}

.star-1 { top: 20px; right: 20px; font-size: 4em; animation: float 4s ease-in-out infinite; }
.star-2 { bottom: 40px; left: 20px; font-size: 2.5em; animation: float 6s ease-in-out infinite; }
.moon-1 { top: 50%; right: -20px; font-size: 8em; transform: translateY(-50%); opacity: 0.1; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Kanan: Misi (List Modern) */
.vm-misi {
    flex: 1;
}

.vm-misi-title {
    font-size: 2em;
    color: #004d80;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 5px solid #f3cc0b;
}

.vm-misi-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vm-item {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.vm-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #f3cc0b;
}

.vm-icon {
    width: 50px;
    height: 50px;
    background-color: #eef9ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004d80;
    font-size: 1.2em;
    margin-right: 20px;
    flex-shrink: 0;
}

.vm-content h4 {
    font-size: 1.1em;
    color: #004d80;
    margin-bottom: 5px;
    font-weight: 700;
}

.vm-content p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ======================================================================
   HALAMAN SUB-MENU (PAGE HEADER)
   ====================================================================== */
.page-header {
    background-image: linear-gradient(rgba(0, 77, 128, 0.8), rgba(0, 77, 128, 0.8)), url('Asset/bg4.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb {
    font-size: 1em;
    color: #f3cc0b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: #ffffff;
}

.breadcrumb a:hover {
    color: #f3cc0b;
}

/* Styling Konten Halaman */
.page-content {
    padding-bottom: 80px;
}

.content-wrapper {
    background: #ffffff; /* Warna dasar putih untuk kotak konten */
    /* background-image dihapus agar bersih */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-wrapper h3 {
    color: #004d80;
    border-bottom: 3px solid #f3cc0b;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* ======================================================================
   MEDIA QUERIES (RESPONSIVE & MOBILE MENU FIX)
   ====================================================================== */

@media (max-width: 991px) {
    .header-container {
        padding: 10px 20px;
    }

    /* LOGIKA HAMBURGER DARI STYLE.CSS */
    
    /* Tampilkan tombol hamburger */
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle button {
        background: none;
        border: none;
        font-size: 24px;
        color: #004d80;
        padding: 10px;
        cursor: pointer;
    }

    /* Sembunyikan menu secara default di mobile */
       @media (max-width: 900px) {
            /* Header Adjustment */
            .header-container {
                padding: 10px 20px;
                justify-content: space-between;
                position: relative;
            }

            .logo a img {
                max-height: 100px; 
                position: center;
            }

            /* Mobile Menu Toggle Button Styles */
            .mobile-menu-toggle {
                display: block;
            }
            .mobile-menu-toggle button {
                background: none;
                border: none;
                font-size: 24px;
                color: #004d80;
                padding: 10px;
                cursor: pointer;
            }

            /* Mobile Navigation Style */
            #main-nav {
                display: none; /* Default hidden */
                position: absolute;
                top: 100%; /* Muncul tepat di bawah header */
                left: 0;
                width: 100%;
                background-color: #ffffff;
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
                border-top: 2px solid #f3cc0b;
                padding-bottom: 20px;
                z-index: 999;
            }

            /* Class untuk menampilkan menu via JS */
            #main-nav.active {
                display: block;
                animation: slideDown 0.3s ease-out forwards;
            }

            @keyframes slideDown {
                from { opacity: 0; transform: translateY(-10px); }
                to { opacity: 1; transform: translateY(0); }
            }

            .main-menu {
                flex-direction: column;
                width: 100%;
                align-items: flex-start;
            }

            .main-menu > li {
                width: 100%;
                height: auto;
                border-bottom: 1px solid #eee;
                padding: 0;
            }

            .main-menu > li > a {
                padding: 15px 20px;
                width: 100%;
                justify-content: flex-start;
            }

    
    /* Banner Profile Responsif (Tetap dipertahankan dari Style2) */
    .banner-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-image-container, .profile-text {
        flex: 0 0 100%;
        padding: 20px;
        text-align: center;
    }

    .profile-text .school-name {
        font-size: 2.2em;
    }
    
    /* Visi Misi Layout Column */
    .vm-layout {
        flex-direction: column;
    }
    
    .vm-visi, .vm-misi {
        width: 100%;
    }
    
    /* Hero Caption Size */
    #hero-slideshow .slide-caption {
        width: 90%;
        padding: 15px;
    }
    
    #hero-slideshow .slide-caption h1 {
        font-size: 1.8em;
    }
    
    /* WA Icon Position Fix on Mobile */
    .hero-wa-group {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
        flex-direction: row;
    }
    
    .wa-label {
        display: none; /* Sembunyikan label di mobile agar tidak menutupi */
    }
}

@media (max-width: 576px) {
    .school-profile-content {
        flex-direction: column-reverse;
    }
    
    .contact-cta-content {
        flex-direction: column;
        text-align: center;
    }
}

/*WA FLOAT SECTION*/
            .whatsapp-float {
            position: fixed;
            width: 80px;
            height:80px;
            bottom: 40px;
            right: 40px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 50px;
            box-shadow: 2px 2px 3px #999;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .whatsapp-float:hover {
            background-color: #128c7e;
            transform: scale(1.1);
            color: #FFF;
        }

        .whatsapp-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 22px;
            height: 22px;
            background-color: #ff0000;
            color: white;
            border-radius: 50%;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: sans-serif;
            font-weight: bold;
            border: 2px solid white;
        }

        /* Responsive adjustment */
       @media screen and (max-width: 768px) {
            .whatsapp-float {
                width: 70px;
                height: 70px;
                bottom: 20px;
                right: 20px;
                font-size: 40px;
            }
            .whatsapp-badge {
                width: 18px;
                height: 18px;
                font-size: 10px;
            }

            /* Gallery Mosaic Mobile Adjustment */
            .gallery-mosaic {
                grid-template-columns: 1fr;
                grid-auto-rows: 300px; /* Sedikit lebih tinggi untuk mobile agar slider enak dilihat */
            }
            
            .item-large, .item-wide, .item-tall {
                grid-column: auto;
                grid-row: auto;
            }

            .gallerySwiper .swiper-button-next,
            .gallerySwiper .swiper-button-prev {
                opacity: 1; /* Selalu tampilkan navigasi di HP */
                background-color: rgba(0,0,0,0.5);
                width: 35px;
                height: 35px;
            }
        }

          /* ======================================================================
        FOOTER
        ====================================================================== */
        #main-footer {
            background-color: #2a2a2a;
            color: #ffffff;
            padding-top: 60px;
            padding-bottom: 20px;
            border-top: 8px solid #f3cc0b;
        }

        .footer-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid #444;
        }

        .footer-grid > div {
            flex: 1;
            min-width: 250px;
        }

        .footer-logo-section img {
            margin-bottom: 20px;
        }

        .footer-links-section h3, .footer-contact-section h3 {
            color: #f3cc0b;
            margin-bottom: 20px;
            font-size: 1.2em;
        }

        .footer-links-section ul li {
            margin-bottom: 10px;
        }
        .footer-links-section ul li a {
            color: #ccc;
        }
        .footer-links-section ul li a:hover {
            color: #f3cc0b;
            padding-left: 5px;
        }

        .footer-contact-section p {
            margin-bottom: 12px;
            color: #ddd;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        .footer-contact-section p i {
            color: #f3cc0b;
            margin-top: 5px;
        }

        .social-icons {
            margin-top: 20px;
        }
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: #444;
            color: #fff;
            border-radius: 50%;
            margin-right: 10px;
            transition: all 0.3s;
        }
        .social-icons a:hover {
            background: #f3cc0b;
            color: #333;
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            font-size: 0.9em;
            color: #888;
        }
}