* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* NAVBAR - Animasi Slide Down */
.navbar {
    background-color: #1b2a6b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    position: sticky;  
    top: 0; 
    z-index: 1000;
    animation: navSlideDown 1s ease forwards;
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LEFT */
.nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.nav-left a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    text-decoration: none;
}

.logo {
    width: 46px;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
    animation: logoSpin 1.2s ease 0.5s both;
}

@keyframes logoSpin {
  0% {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
  }
  100% {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* garis kuning */
.line-yellow {
    width: 3px;
    height: 42px;
    background-color: #f5b400;
    animation: lineGrow 0.6s ease 0.8s both;
}

@keyframes lineGrow {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 42px;
    opacity: 1;
  }
}

/* nama sekolah */
.school-name {
    font-size: 14px;
    line-height: 1.2;
    animation: textFade 0.8s ease 1s both;
}

@keyframes textFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.school-name span {
    font-weight: 400;
}

.school-name strong {
    font-weight: 600;
}

/* RIGHT - Menu navigasi dengan stagger */
.nav-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-right a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    animation: menuFadeIn 0.5s ease both;
    transition: all 0.3s ease;
}

.nav-right a:nth-child(1) { animation-delay: 1.1s; }
.nav-right a:nth-child(2) { animation-delay: 1.2s; }
.nav-right a:nth-child(3) { animation-delay: 1.3s; }
.nav-right a:nth-child(4) { animation-delay: 1.4s; }

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effect untuk menu */
.nav-right a:not(.btn-daftar)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5b400;
    transition: width 0.3s ease;
}

.nav-right a:not(.btn-daftar):hover::after {
    width: 100%;
}

/* tombol pendaftaran */
.btn-daftar {
    background-color: #f5b400;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transform: scale(1);
    transition: all 0.3s ease;
}

.btn-daftar:hover {
    background-color: #ffcc33;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 180, 0, 0.4);
}

/* HERO */
.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.hero-gradient {
    position: relative;
    width: 100%;
    height: 100%;
    inset: 0;
    pointer-events: auto;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.15),
        rgba(0,0,0,0)
    );
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-text {
    position: absolute;
    left: 70px;
    bottom: 90px;
    color: white;
    max-width: 500px;
}

.hero-sub {
    display: inline-block;
    border-left: 4px solid #f5b400;
    padding-left: 10px;
    font-size: 15px;
    font-weight: 500;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 8px 0;
}

.hero-text p {
    font-size: 15px;
    font-weight: 400;
    opacity: 0.9;
}

.line-yellow-text {
    border-left: 4px solid #f5b400;
    padding-left: 12px;
}

.hero-slider {
    position: absolute;
    overflow: hidden;
    inset: 0;
    z-index: 1;
}

.hero-gradient,
.slide::before {
    pointer-events: none;
}

.slide {
    position: absolute;
    pointer-events: auto;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0)
    );
    z-index: 2;
    pointer-events: none;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide.active::after {
    animation: bgZoom 8s ease-in-out infinite;
}

@keyframes bgZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.slide-content {
    position: absolute;
    left: 70px;
    bottom: 90px;
    color: white;
    max-width: 500px;
    z-index: 3;
}

.slide-sub {
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    border-left: 4px solid #f5b400;
    padding-left: 10px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 6px 0;
}

.slide-content p {
    font-size: 15px;
    font-weight: 400;
    opacity: 0.9;
}

/* Animasi konten slide saat aktif */
.slide.active .slide-sub {
    animation: slideInLeft 0.8s ease forwards;
}

.slide.active h1 {
    animation: slideInLeft 0.8s ease 0.2s forwards;
}

.slide.active p {
    animation: slideInLeft 0.8s ease 0.4s forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tombol slider dengan animasi pulse */
.slider-btn {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0,0,0,0.75);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 180, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(245, 180, 0, 0);
  }
}

.slider-btn:hover {
    background: rgba(245, 180, 0, 0.9);
    transform: scale(1.1);
}

/* Divider dengan animasi */
.hero-divider {
    width: 100%;              
    height: 45px;             
    background: #e6e6e6;
    margin-top: 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    animation: dividerSlide 1s ease forwards;
}

@keyframes dividerSlide {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* WELCOME SECTION */
.welcome {
    margin-top: 35px;   
    padding-top: 0;
}

.welcome-desc {
    max-width: 700px;
    margin: 20px auto 20px;
    text-align: center;
    font-size: 15px;
    color: #444;
    white-space: pre-line !important; /* Paksa enter dari database kebaca */
    display: block !important;
}

.welcome-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}

.welcome-desc {
    max-width: 700px;
    margin: 20px auto 20px;
    text-align: center;
    font-size: 15px;
    color: #444;
}

.welcome h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}

.welcome-line {
    width: 80px;
    height: 4px;
    background: #f5b400;
    margin: 0 auto 50px;
}

.welcome-line.show {
    animation: lineExpand 0.8s ease forwards;
}



@keyframes lineExpand {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.welcome-image img {
    width: 420px;
    margin-left: 90px;
}

.welcome-visimisi {
    display: flex;
    gap: 50px;
    margin-left: 40px;
    margin-top: -20px;
}

.welcome-visimisi h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1b2a6b;
    position: relative;
    display: inline-block;
}

.welcome-visimisi h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5b400;
    transition: width 0.5s ease;
}

.welcome-visimisi.show h3::after {
    width: 100%;
}

.welcome-visimisi p {
    max-width: 400px;  
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.welcome-visimisi .visi p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

.visi {
  font-size: inherit;
  font-weight: normal;
}

.misi {
    position: relative;
}

.detail-link {
    display: inline-block !important; /* Paksa balik ke baris normal */
    position: static !important;      /* Paksa lepas dari posisi pojok */
    margin-top: 10px !important;      /* Kasih jarak dari teks misi */
    color: #e53935;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detail-link:hover {
    transform: translateX(5px);
    color: #ff5252;
}

/* NEWS SECTION */
.news {
  padding: 60px 70px;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.news-head span,
.news-head h2 {
  font-weight: 300;
}

.news-head h2 {
  font-size: 32px;
}

.news-head a {
  color: #e53935;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.news-head a::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.news-head a:hover::after {
    transform: translateX(5px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  grid-template-rows: 240px 240px; 
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-grid > .video:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.news-grid > .text:nth-child(2) { grid-column: 3; grid-row: 1; }
.news-grid > .text:nth-child(3) { grid-column: 4; grid-row: 1; }
.news-grid > .text:nth-child(4) { grid-column: 1; grid-row: 2; }
.news-grid > .text:nth-child(5) { grid-column: 2; grid-row: 2; }

.news-grid > .video:nth-child(6) {
  grid-column: 3 / 5;
  grid-row: 2;
}

/* CARD dengan animasi stagger */
.card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }
.card:nth-child(5) { transition-delay: 0.5s; }
.card:nth-child(6) { transition-delay: 0.6s; }

.card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* VIDEO */
.video {
  height: 100%;
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
  position: relative;
}

.video.wide {
  grid-column: 2 / 3;
}

.video .overlay {
  position: relative;
  z-index: 2;
}

.overlay {
  height: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top {
  display: flex;
  justify-content: space-between;
}

.play {
  border: 1px solid #fff;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.play:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Fix untuk text video di index */
.news-grid a.video .overlay,
.news-grid a.video .overlay * {
    color: white !important;
}

.news-grid a.video small,
.news-grid a.video h3 {
    color: white !important;
}

/* BERITA */
.text {
  height: 100%;
  aspect-ratio: auto;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #f5b400;
    transition: height 0.4s ease;
}

.text:hover::before {
    height: 100%;
}

.text span {
  color: #1b2a6b;
  font-weight: 300;
}

.text h3 {
  font-weight: 300;
  margin: 10px 0;
  transition: color 0.3s ease;
}

.text:hover h3 {
    color: #1b2a6b;
}

.text hr {
  width: 60%;
  border: none;
  border-top: 1px dashed #ccc;
  margin: 10px 0;
  transition: width 0.3s ease;
}

.text:hover hr {
    width: 100%;
}

.text a {
  color: #e53935;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.text a:hover {
    color: #ff5252;
    transform: translateX(5px);
    display: inline-block;
}

/* FOOTER STYLES */
.main-footer {
    background-color: #1a237e;
    color: white;
    padding: 40px 70px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f5b400, transparent);
    animation: footerLineSlide 3s ease-in-out infinite;
}

@keyframes footerLineSlide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 60px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: rotate(360deg);
}

.footer-divider-vertical {
    width: 2px;
    height: 40px;
    background-color: #ffb300;
}

.footer-school-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-school-name span {
    font-size: 14px;
    font-weight: 300;
}

.footer-school-name strong {
    font-size: 18px;
    letter-spacing: 0.5px;
}

.footer-info {
    text-align: right;
    flex: 1;
    margin-right: 30px;
}

.footer-label {
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.footer-divider-main {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 30px;
}

.footer-contact {
    text-align: left;
}

.contact-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-icons a:hover {
    color: #f5b400;
    transform: translateY(-5px) scale(1.2);
}

/* Reveal animation class */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.welcome-title { transition-delay: 0.1s; }
.welcome-desc  { transition-delay: 0.25s; }
.welcome-line  { transition-delay: 0.4s; }
.welcome-content { transition-delay: 0.55s; }

/* DROPDOWN MENU STYLES */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-right .dropdown-toggle {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 20px 26px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-right .dropdown-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* Dropdown Toggle Arrow */
.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-item.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-item.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    border-left-color: #f5b400;
    padding-left: 25px;
    color: #1b2a6b;
}

/* Overlay */
.dropdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.dropdown-overlay.active {
    display: block;
}

/* ===== PAGE HERO ===== */
.page-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero-overlay {
    background: rgba(13, 27, 94, 0.6);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    color: #fff;
}

.page-hero-overlay h1 {
    font-size: 42px;
    font-weight: 700;
}

.page-hero-overlay p {
    font-size: 16px;
    margin-top: 8px;
}

/* ===== SEJARAH ===== */
.sejarah-section {
    background: #f5f6fa;
    padding: 80px 0;
}

.sejarah-container {
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.sejarah-text h2 {
    font-size: 32px;
    color: #0D1B5E;
}

.title-line {
    width: 60px;
    height: 4px;
    background: #F9B233;
    margin: 12px 0 24px;
}

.sejarah-text p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: #444;
}

.sejarah-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Responsif */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-info, .footer-contact {
        text-align: center;
        margin: 0;
    }
    .footer-divider-main {
        display: none;
    }
} 

/* ============================= */
/* ANIMASI SEDERHANA & RAPI     */
/* ============================= */

/* NAVBAR MUNCUL DARI ATAS */
@keyframes navFadeDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: navFadeDown 0.6s ease-out;
}

/* UNDERLINE MENU */
.navbar ul li a {
    position: relative;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* ISI HALAMAN FADE */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeUp 0.8s ease forwards;
}

/* CARD / BOX HOVER */
.card, .box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* HERO TEXT ANIMATION */
@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: heroFade 0.9s ease forwards;
}

.hero-subtitle {
    animation: heroFade 1.2s ease forwards;
}

/* ===============================
   HERO ANIMATION (LEFT TO RIGHT)
================================ */

/* KEYFRAMES */
@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* HERO TEXT */
.hero-title {
    opacity: 0;
    animation: slideLeft 0.9s ease forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: slideLeft 1.2s ease forwards;
}

/* HERO IMAGE */
.sejarah-image img {
    opacity: 0;
    animation: fadeZoom 1.2s ease forwards;
    animation-delay: 0.8s;
}

/* ===============================
   VISI MISI SECTION
================================ */

.visimisi-section {
    padding: 100px 8%;
    background: #f9fafc;
}

.title-line {
    width: 60px;
    height: 4px;
    background: #f5b400;
    margin: 12px auto 24px; 
    display: block;
}

.visimisi-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: start;
}

.visi-box,
.misi-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.visi-box h2,
.misi-box h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.misi-box ul {
    padding-left: 20px;
}

.misi-box li {
    margin-bottom: 12px;
    line-height: 1.7;
}


/* ===============================
   ANIMATION
================================ */

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-left {
    opacity: 0;
    animation: slideLeft 1s ease forwards;
}

.reveal-right {
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .visimisi-container {
        grid-template-columns: 1fr;
    }
}

/* ===== KEPALA SEKOLAH ===== */
.kepsek-section {
    background: #ffffff;
    padding: 90px 0;
}

.kepsek-container {
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.kepsek-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.kepsek-text h2 {
    font-size: 30px;
    color: #0D1B5E;
}

.jabatan {
    display: inline-block;
    margin: 10px 0 20px;
    color: #f5b400;
    font-weight: 600;
}

.kepsek-text p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 14px;
}

.hero-animate {
    opacity: 0;
    transform: translateX(-60px);
    animation: slideInLeft 0.8s ease forwards;
}

.hero-animate.delay-1 {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateX(0);
}

/* ===== BERITA & ACARA ===== */
.berita-section {
    background: #f5f6fa;
    padding: 90px 0;
}

.berita-container {
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.berita-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.35s ease;
}

.berita-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.berita-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.berita-content {
    padding: 22px;
}

.tanggal {
    font-size: 13px;
    color: #f5b400;
    font-weight: 600;
}

.berita-content h3 {
    font-size: 18px;
    margin: 8px 0 10px;
    color: #0D1B5E;
}

.berita-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.berita-content a {
    font-size: 14px;
    font-weight: 600;
    color: #e53935;
    text-decoration: none;
    transition: all 0.3s ease;
}

.berita-content a:hover {
    transform: translateX(6px);
    display: inline-block;
}

.berita-content-full p {
    word-wrap: break-word;      /* Memaksa teks turun jika terlalu panjang */
    overflow-wrap: break-word;  /* Standar modern untuk memutus baris */
    white-space: normal;        /* Memastikan teks tidak lurus ke samping */
    line-height: 1.6;           /* Biar jarak antar baris enak dibaca */
}

.berita-card:nth-child(1) { transition-delay: 0.1s; }
.berita-card:nth-child(2) { transition-delay: 0.25s; }
.berita-card:nth-child(3) { transition-delay: 0.4s; }

/* ===============================
   DATA GURU SECTION
================================ */

.guru-section {
    background: #f5f6fa;
    padding: 80px 0;
}

.title-line {
    width: 60px;
    height: 4px;
    background: #f5b400;
    margin: 12px auto 24px; /* AUTO = center horizontal */
    display: block; /* Pastikan dia block element */
}

.guru-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #0D1B5E;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
}

/* GRID GURU - 3 kolom */
.guru-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* CARD GURU */
.guru-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.guru-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

/* FOTO GURU */
.guru-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.guru-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guru-card:hover .guru-photo img {
    transform: scale(1.1);
}

/* INFO GURU */
.guru-info {
    padding: 25px;
    text-align: center;
}

.guru-info h3 {
    font-size: 20px;
    color: #0D1B5E;
    margin-bottom: 8px;
    font-weight: 600;
}

.guru-mapel {
    display: inline-block;
    background: #f5b400;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.guru-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* CONTACT ICONS */
.guru-contact {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.guru-contact i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1b2a6b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guru-contact i:hover {
    background: #f5b400;
    transform: translateY(-3px);
}

/* Tambahkan di bagian DATA GURU di style.css */

.guru-contact-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f5f6fa;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

.contact-info-item i {
    width: auto;
    height: auto;
    background: none;
    color: #1b2a6b;
    font-size: 14px;
}

.contact-text {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.btn-copy-small {
    padding: 5px 10px;
    background: #f5b400;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.btn-copy-small:hover {
    background: #1b2a6b;
}

.btn-copy-small.copied {
    background: #4CAF50;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .guru-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .guru-grid {
        grid-template-columns: 1fr;
    }
    
    .guru-container {
        width: 90%;
    }
}

/* ===============================
   DATA SISWA SECTION
================================ */

.siswa-section {
    background: #f5f6fa;
    padding: 80px 0;
}

.siswa-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* FILTER KELAS */
.kelas-filter {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.kelas-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.kelas-btn:hover {
    border-color: #f5b400;
    background: #fff8e1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 180, 0, 0.2);
}

.kelas-btn.active {
    background: #f5b400;
    border-color: #f5b400;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(245, 180, 0, 0.4);
}

/* INFO KELAS */
.kelas-info {
    background: linear-gradient(135deg, #1b2a6b 0%, #2d3e7f 100%);
    padding: 30px 40px;
    border-radius: 16px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.kelas-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #f5b400;
}

.kelas-info p {
    font-size: 16px;
    margin: 5px 0;
    opacity: 0.95;
}

.kelas-info strong {
    color: #f5b400;
    font-weight: 600;
}

/* TABEL SISWA */
.siswa-table-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.siswa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.siswa-table thead {
    background: linear-gradient(135deg, #1b2a6b 0%, #2d3e7f 100%);
    color: white;
}

.siswa-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.siswa-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.siswa-table tbody tr:hover {
    background: #fff8e1;
    transform: scale(1.01);
}

.siswa-table td {
    padding: 16px;
    color: #333;
}

.siswa-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.siswa-table tbody tr:nth-child(even):hover {
    background: #fff8e1;
}

/* Badge Jenis Kelamin */
.siswa-table td:nth-child(4) {
    font-weight: 600;
}

.siswa-table td:nth-child(4):contains("L") {
    color: #2196F3;
}

.siswa-table td:nth-child(4):contains("P") {
    color: #E91E63;
}

/* Animasi fade in untuk tabel */
.siswa-table tbody tr {
    opacity: 0;
    animation: fadeInRow 0.5s ease forwards;
}

.siswa-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.siswa-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.siswa-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.siswa-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.siswa-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .kelas-filter {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .kelas-filter {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .siswa-table {
        font-size: 12px;
    }
    
    .siswa-table th,
    .siswa-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .kelas-filter {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===============================
   DATA STAFF SECTION
================================ */

.staff-section {
    background: #f5f6fa;
    padding: 80px 0;
}

.title-line {
    width: 60px;
    height: 4px;
    background: #f5b400;
    margin: 12px auto 24px; /* AUTO = center horizontal */
    display: block; /* Pastikan dia block element */
}

.staff-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #0D1B5E;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
}

/* GRID STAFF - 3 kolom */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* CARD STAFF */
.staff-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.staff-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

/* FOTO STAFF */
.staff-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.staff-card:hover .staff-photo img {
    transform: scale(1.1);
}

/* INFO STAFF */
.staff-info {
    padding: 25px;
    text-align: center;
}

.staff-info h3 {
    font-size: 20px;
    color: #0D1B5E;
    margin-bottom: 8px;
    font-weight: 600;
}

.staff-jabatan {
    display: inline-block;
    background: #1b2a6b; /* Ubah warna agar berbeda dari guru */
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.staff-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* CONTACT ICONS */
.staff-contact {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.staff-contact i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1b2a6b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.staff-contact-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staff-contact-info .contact-info-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    gap: 10px;
    position: relative;
}

.staff-contact-info i {
    color: #f5b400;
    width: 20px;
}

.staff-contact-info .contact-text {
    font-size: 0.85rem;
    color: #666;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staff-contact i:hover {
    background: #f5b400;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-container {
        width: 90%;
    }
}

/* ===============================
   DATA KELAS SECTION
================================ */

.data-kelas-section {
    background: #f5f6fa;
    padding: 80px 0;
}

.data-kelas-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* GRID KELAS - 3 kolom */
.kelas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0 60px;
}

/* CARD KELAS */
.kelas-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.kelas-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    border-color: #f5b400;
}

/* HEADER KELAS */
.kelas-header {
    background: linear-gradient(135deg, #1b2a6b 0%, #2d3e7f 100%);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kelas-header h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.kelas-badge {
    background: #f5b400;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* BODY KELAS */
.kelas-body {
    padding: 25px;
}

.kelas-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.kelas-info-item i {
    width: 40px;
    height: 40px;
    background: #f5f6fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1b2a6b;
    flex-shrink: 0;
}

.kelas-info-item strong {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.kelas-info-item p {
    font-size: 16px;
    color: #0D1B5E;
    font-weight: 500;
    margin: 0;
}

/* STATS */
.kelas-stats {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f6fa;
    padding: 12px;
    border-radius: 10px;
}

.stat-item i {
    font-size: 20px;
}

.stat-item i.fa-male {
    color: #2196F3;
}

.stat-item i.fa-female {
    color: #E91E63;
}

.stat-item span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* FOOTER KELAS */
.kelas-footer {
    padding: 20px 25px;
    background: #f5f6fa;
    border-top: 1px solid #e0e0e0;
}

.btn-detail {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #f5b400;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: #1b2a6b;
    transform: translateX(5px);
}

/* TOTAL STATISTIK */
.total-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.stat-box i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f5b400 0%, #ffcc33 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.stat-box h3 {
    font-size: 32px;
    color: #0D1B5E;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.stat-box p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .kelas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .total-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kelas-grid {
        grid-template-columns: 1fr;
    }
    
    .total-stats {
        grid-template-columns: 1fr;
    }
    
    .data-kelas-container {
        width: 90%;
    }
}

/* ===============================
   PENDAFTARAN SECTION
================================ */

.pendaftaran-section {
    background: #f5f6fa;
    padding: 60px 0;
}

.pendaftaran-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* INFO PPDB */
.info-ppdb {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.info-box {
    background: linear-gradient(135deg, #1b2a6b 0%, #2d3e7f 100%);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.info-box i {
    width: 60px;
    height: 60px;
    background: #f5b400;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.info-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-box p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* SYARAT SECTION */
.syarat-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.syarat-section h2 {
    font-size: 28px;
    color: #0D1B5E;
    margin-bottom: 10px;
    text-align: center;
}

.syarat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.syarat-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f5f6fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.syarat-item:hover {
    background: #fff8e1;
    transform: translateX(5px);
}

.syarat-item i {
    color: #4CAF50;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.syarat-item p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* FORM SECTION */
.form-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-section h2 {
    font-size: 28px;
    color: #0D1B5E;
    margin-bottom: 10px;
    text-align: center;
}

.form-desc {
    text-align: center;
    color: #666;
    margin-top: 15px;
    margin-bottom: 40px;
}

/* FORM GROUP TITLE */
.form-group-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5b400;
}

.form-group-title:first-of-type {
    margin-top: 0;
}

.form-group-title i {
    width: 40px;
    height: 40px;
    background: #f5b400;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.form-group-title h3 {
    margin: 0;
    font-size: 20px;
    color: #0D1B5E;
}

/* FORM STYLES */
.pendaftaran-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e53935;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f5b400;
    box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* FORM ACTIONS */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.btn-reset,
.btn-submit {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-reset {
    background: #e0e0e0;
    color: #666;
}

.btn-reset:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, #f5b400 0%, #ffcc33 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(245, 180, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 180, 0, 0.4);
}

/* KONTAK INFO */
.kontak-info {
    background: linear-gradient(135deg, #1b2a6b 0%, #2d3e7f 100%);
    padding: 35px;
    border-radius: 16px;
    color: white;
    text-align: center;
}

.kontak-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.kontak-info > p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.kontak-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.kontak-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.kontak-item:hover {
    background: #f5b400;
    transform: translateY(-3px);
}

.kontak-item i {
    font-size: 18px;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon i {
    font-size: 40px;
    color: white;
}

.modal-content h2 {
    color: #0D1B5E;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-note {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

#noPendaftaran {
    color: #f5b400;
    font-weight: 700;
}

.btn-close-modal {
    margin-top: 25px;
    padding: 12px 40px;
    background: #f5b400;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: #1b2a6b;
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .info-ppdb {
        grid-template-columns: 1fr;
    }
    
    .syarat-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-reset,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    
    .kontak-items {
        flex-direction: column;
        align-items: stretch;
    }
    
    .kontak-item {
        justify-content: center;
    }
}
/* ===============================
   BERITA & ACARA SECTION - 1 KOLOM
================================ */

.berita-acara-section {
    background: #f5f6fa;
    padding: 80px 0;
}

.berita-acara-container {
    width: 85%;
    max-width: 1000px;
    margin: 0 auto;
}

/* FILTER TABS */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.tab-btn i {
    font-size: 16px;
}

.tab-btn:hover {
    border-color: #f5b400;
    background: #fff8e1;
    transform: translateY(-3px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #f5b400 0%, #ffcc33 100%);
    border-color: #f5b400;
    color: white;
    box-shadow: 0 5px 15px rgba(245, 180, 0, 0.3);
}

/* LIST BERITA (1 KOLOM) */
.berita-acara-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* BERITA ITEM FULL WIDTH */
.berita-item-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: row;
    min-height: 300px;
}

.berita-item-full.hide {
    display: none;
}

.berita-item-full:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    transform: translateY(-5px);
}

/* THUMBNAIL BESAR */
.berita-thumbnail-large {
    width: 40%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

/* PLAY OVERLAY LARGE untuk Video */
.play-overlay-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(245, 180, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 2;
    padding-left: 8px;
}

.berita-item-full:hover .play-overlay-large {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 10px 30px rgba(245, 180, 0, 0.5);
}

/* BADGE LARGE */
.badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.badge-berita {
    background: #2196F3;
}

.badge-acara {
    background: #4CAF50;
}

.badge-video {
    background: #E91E63;
}

/* CONTENT FULL */
.berita-content-full {
    padding: 35px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.berita-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.berita-meta .tanggal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #999;
}

.berita-meta .tanggal i {
    color: #f5b400;
}

.berita-meta .kategori {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f6fa;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.berita-content-full h2 {
    font-size: 28px;
    color: #0D1B5E;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.berita-item-full:hover .berita-content-full h2 {
    color: #f5b400;
}

.berita-content-full p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .berita-item-full {
        flex-direction: column;
    }
    
    .berita-thumbnail-large {
        width: 100%;
        min-height: 250px;
    }
    
    .berita-content-full {
        padding: 25px;
    }
    
    .berita-content-full h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .berita-acara-container {
        width: 90%;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .berita-content-full h2 {
        font-size: 20px;
    }
    
    .berita-content-full p {
        font-size: 14px;
    }
}

/* ===============================
   VIDEO MODAL
================================ */

.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: #f5b400;
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -45px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* ===============================
   HUBUNGI KAMI SECTION
================================ */

.hubungi-section {
    background: #f5f6fa;
    padding: 80px 0;
}

.hubungi-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* KONTAK CARDS */
.kontak-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.kontak-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.kontak-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f5b400, #ffcc33);
    transition: left 0.5s ease;
}

.kontak-card:hover::before {
    left: 0;
}

.kontak-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.kontak-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1b2a6b, #2d3e7f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    transition: all 0.4s ease;
}

.kontak-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.kontak-card:hover .kontak-icon {
    transform: rotateY(360deg);
}

.kontak-card h3 {
    font-size: 20px;
    color: #0D1B5E;
    margin-bottom: 12px;
}

.kontak-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.copy-text {
    font-weight: 600;
    color: #1b2a6b;
}

.btn-copy {
    padding: 10px 20px;
    background: #f5b400;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-copy:hover {
    background: #1b2a6b;
    transform: scale(1.05);
}

.btn-copy.copied {
    background: #4CAF50;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* MAPS SECTION */
.maps-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.maps-section h2 {
    font-size: 32px;
    color: #0D1B5E;
    text-align: center;
    margin-bottom: 10px;
}

.maps-desc {
    text-align: center;
    color: #666;
    margin: 15px 0 30px;
}

.maps-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.maps-container iframe {
    width: 100%;
    display: block;
}

/* JAM OPERASIONAL */
.jam-operasional {
    background: linear-gradient(135deg, #1b2a6b 0%, #2d3e7f 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.jam-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.jam-header i {
    font-size: 36px;
    color: #f5b400;
}

.jam-header h2 {
    font-size: 28px;
    margin: 0;
}

.jam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.jam-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.jam-item:hover {
    background: rgba(255,255,255,0.15);
    border-color: #f5b400;
}

.jam-item.inactive {
    opacity: 0.6;
}

.jam-item .hari {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f5b400;
}

.jam-item .waktu {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

/* FORM KONTAK */
.form-kontak {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-kontak h2 {
    font-size: 32px;
    color: #0D1B5E;
    text-align: center;
    margin-bottom: 10px;
}

.form-desc {
    text-align: center;
    color: #666;
    margin: 15px 0 40px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.btn-submit-contact {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f5b400 0%, #ffcc33 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(245, 180, 0, 0.3);
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 180, 0, 0.4);
}

/* SOCIAL MEDIA */
.social-media {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.social-media h3 {
    font-size: 24px;
    color: #0D1B5E;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #3b5998, #4267B2);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0C85D0);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .kontak-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jam-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kontak-cards {
        grid-template-columns: 1fr;
    }
    
    .maps-section,
    .form-kontak,
    .jam-operasional {
        padding: 25px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

