/*
Theme Name: SD Islam Al Azhar 15 Pamulang
Theme URI: https://sdalazhar15.sch.id
Author: Yayasan Pendidikan Avicenna
Author URI: https://avicenna.sch.id
Description: WordPress theme untuk SD Islam Al Azhar 15 Pamulang, Tangerang Selatan. Dibawah naungan Yayasan Pesantren Islam Al Azhar dan Yayasan Pendidikan Avicenna Prestasi.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alazhar15
Tags: education, school, responsive, blue, islamic
*/

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
  /* Brand Colors - Al Azhar Blue & Gold */
  --color-primary: #0066cc;
  --color-primary-dark: #004a99;
  --color-primary-light: #3399ff;
  --color-secondary: #1a9fd4;
  --color-accent: #f0a500;
  --color-accent-dark: #c77c00;

  /* Neutrals */
  --color-dark: #0d1b2a;
  --color-dark-2: #1a2f45;
  --color-mid: #3a5470;
  --color-muted: #7a95a8;
  --color-light: #e8f4fb;
  --color-lighter: #f4f9fd;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-accent: 'Cinzel', serif;
  --font-arabic: 'Amiri', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,102,204,0.08);
  --shadow-md: 0 8px 30px rgba(0,102,204,0.12);
  --shadow-lg: 0 20px 60px rgba(0,102,204,0.18);
  --shadow-card: 0 4px 20px rgba(13,27,42,0.1);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--color-primary-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-dark);
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-pad {
  padding: var(--space-2xl) 0;
}

.section-pad-sm {
  padding: var(--space-xl) 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,102,204,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,165,0,0.4);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 600px;
}

.section-header-center {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header-center .section-desc {
  margin: 0 auto;
}

/* =========================================
   TOP BAR
   ========================================= */
.topbar {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--color-primary);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.75);
}

.topbar-item svg {
  width: 13px;
  height: 13px;
  color: var(--color-accent);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.social-link svg { width: 13px; height: 13px; }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
#site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,102,204,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Main Navigation */
#main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-2);
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--color-primary);
  background: var(--color-light);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border: 1px solid rgba(0,102,204,0.1);
  overflow: hidden;
}

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

.sub-menu li a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-mid);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sub-menu li a:hover {
  color: var(--color-primary);
  background: var(--color-light);
  border-left-color: var(--color-primary);
  padding-left: 1.5rem;
}

/* Dropdown indicator */
.nav-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  transition: transform 0.2s;
}

.nav-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg);
  top: 2px;
}

/* PPDB Button */
.nav-menu .menu-ppdb > a {
  background: var(--color-accent);
  color: var(--color-dark) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.2rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-menu .menu-ppdb > a:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger:hover { background: var(--color-light); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 40%, #0d3a6e 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-pattern::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,204,0.25) 0%, transparent 70%);
  right: -150px;
  top: -150px;
}

.hero-bg-pattern::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,159,212,0.15) 0%, transparent 70%);
  left: 10%;
  bottom: -100px;
}

.hero-geometric {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-geometric span {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero-geometric span:nth-child(1) {
  width: 300px; height: 300px;
  top: 10%; right: 20%;
  animation: floatOrbit 20s linear infinite;
}

.hero-geometric span:nth-child(2) {
  width: 500px; height: 500px;
  top: 5%; right: 15%;
  animation: floatOrbit 30s linear infinite reverse;
}

.hero-geometric span:nth-child(3) {
  width: 700px; height: 700px;
  top: 0%; right: 10%;
  animation: floatOrbit 40s linear infinite;
}

.hero-arabic {
  position: absolute;
  top: 15%;
  right: 8%;
  font-family: var(--font-arabic);
  font-size: 8rem;
  color: rgba(255,255,255,0.03);
  writing-mode: initial;
  pointer-events: none;
  user-select: none;
}

@keyframes floatOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
  padding-right: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.35s both;
}

.hero-title .highlight {
  color: var(--color-accent);
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.6s ease 0.65s both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInUp 0.6s ease 0.8s both;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

/* Hero Image Side */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 180px;
  background: linear-gradient(to right, #0d1b2a, transparent);
  z-index: 2;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.55;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease 1s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* =========================================
   ANNOUNCEMENT TICKER
   ========================================= */
.ticker-bar {
  background: var(--color-primary);
  color: white;
  padding: 0.7rem 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ticker-label {
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: flex;
  gap: 4rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-content:hover { animation-play-state: paused; }

.ticker-item {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.ticker-item:hover { color: var(--color-accent); }
.ticker-item::before { content: '●'; margin-right: 0.75rem; opacity: 0.5; font-size: 0.5rem; vertical-align: middle; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   FEATURES / KEUNGGULAN
   ========================================= */
.features {
  background: var(--color-lighter);
  padding: var(--space-2xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,102,204,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,102,204,0.15);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-light), rgba(0,102,204,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  transform: scale(1.05);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* =========================================
   ABOUT SNIPPET
   ========================================= */
.about-snippet {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-main:hover img { transform: scale(1.04); }

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 130px;
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
}

.badge-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.25rem;
}

.about-content { padding-left: var(--space-sm); }

.about-quote {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.8;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-text {
  color: var(--color-mid);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-checkmarks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-2);
}

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* =========================================
   BERITA / NEWS
   ========================================= */
.news-section {
  background: var(--color-lighter);
  padding: var(--space-2xl) 0;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.news-featured {
  display: flex;
  flex-direction: column;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-featured {
  flex: 1;
}

.news-card-featured .news-img {
  aspect-ratio: 16/9;
}

.news-img {
  overflow: hidden;
  background: var(--color-light);
}

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

.news-card:hover .news-img img { transform: scale(1.05); }

.news-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.news-title:hover { color: var(--color-primary); }

.news-excerpt {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-light);
}

.news-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Sidebar News List */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-mini {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.news-mini:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.news-mini-img {
  width: 90px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-light);
}

.news-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-mini:hover .news-mini-img img { transform: scale(1.08); }

.news-mini-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-mini-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.news-mini-date {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* =========================================
   AKTIVITAS & PRESTASI
   ========================================= */
.activity-section {
  background: var(--color-white);
  padding: var(--space-2xl) 0;
}

.activity-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--color-light);
  background: transparent;
  color: var(--color-mid);
  transition: var(--transition);
  font-family: var(--font-body);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.activity-card {
  background: var(--color-lighter);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,102,204,0.12);
}

.activity-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-light);
}

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

.activity-card:hover .activity-img img { transform: scale(1.06); }

.activity-body {
  padding: 1.25rem;
}

.activity-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.activity-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* Trophy cards for prestasi */
.prestasi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trophy-card {
  background: linear-gradient(135deg, var(--color-lighter), var(--color-white));
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0,102,204,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trophy-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.trophy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.trophy-card:hover::after { transform: scaleX(1); }

.trophy-emoji { font-size: 3rem; margin-bottom: 0.75rem; }

.trophy-level {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.trophy-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.trophy-year {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery-section {
  background: var(--color-dark);
  padding: var(--space-2xl) 0;
}

.gallery-section .section-title { color: var(--color-white); }
.gallery-section .section-label { color: var(--color-secondary); }
.gallery-section .section-desc { color: rgba(255,255,255,0.55); }

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-dark-2);
  cursor: pointer;
  position: relative;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-item:nth-child(1) .gallery-img-wrap,
.gallery-item:nth-child(4) .gallery-img-wrap { aspect-ratio: auto; height: 100%; }

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,60,120,0.85), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.06); }

.gallery-caption {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* =========================================
   CTA / PPDB SECTION
   ========================================= */
.ppdb-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.ppdb-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ppdb-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ppdb-text .section-title { color: white; margin-bottom: 0.5rem; }
.ppdb-text .section-desc { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }

.ppdb-countdown {
  display: flex;
  gap: 1rem;
}

.countdown-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 80px;
  backdrop-filter: blur(10px);
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* =========================================
   EKSKUL SECTION
   ========================================= */
.ekskul-section {
  background: var(--color-lighter);
  padding: var(--space-2xl) 0;
}

.ekskul-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: var(--space-lg);
}

.ekskul-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  cursor: pointer;
}

.ekskul-card:hover {
  background: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,102,204,0.3);
}

.ekskul-card:hover .ekskul-name { color: white; }
.ekskul-card:hover .ekskul-icon { filter: brightness(10); }

.ekskul-icon { font-size: 2rem; margin-bottom: 0.6rem; display: block; transition: var(--transition); }

.ekskul-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dark-2);
  transition: color 0.2s;
}

/* =========================================
   KONTAK SECTION
   ========================================= */
.kontak-section {
  background: var(--color-white);
  padding: var(--space-2xl) 0;
}

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.kontak-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.kontak-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kontak-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.kontak-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--color-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.kontak-item:hover .kontak-icon-wrap {
  background: var(--color-primary);
  color: white;
}

.kontak-icon-wrap svg { width: 20px; height: 20px; }

.kontak-detail strong {
  display: block;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}

.kontak-detail span {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Contact Form */
.kontak-form {
  background: var(--color-lighter);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.kontak-form h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark-2);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* =========================================
   MAP EMBED
   ========================================= */
.map-section {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(15%) contrast(1.05);
}

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.footer-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer-logo-item img {
  height: 55px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: var(--transition);
  background: white;
  border-radius: 8px;
  padding: 4px 8px;
}

.footer-logo-item img:hover { opacity: 1; transform: scale(1.05); }

.footer-logo-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

.footer-logo-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-social a svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '›';
  color: var(--color-accent);
  font-size: 1rem;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.9);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,102,204,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

.back-to-top svg { width: 20px; height: 20px; }

/* =========================================
   PAGE-SPECIFIC STYLES (Tentang, etc.)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary-dark));
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-content { position: relative; z-index: 1; color: white; }

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* Content pages */
.page-content {
  padding: var(--space-xl) 0;
}

.content-prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-mid);
}

.content-prose h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-dark);
  margin: 2rem 0 1rem;
}

.content-prose p { margin-bottom: 1.25rem; }

/* Visi Misi */
.visi-misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.visi-box, .misi-box {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.visi-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.misi-box {
  background: var(--color-lighter);
  border: 2px solid rgba(0,102,204,0.1);
}

.visi-box h3, .misi-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.visi-box h3 { color: white; }
.visi-box p { color: rgba(255,255,255,0.85); line-height: 1.8; }

.misi-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.misi-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--color-mid);
  line-height: 1.65;
}

.misi-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* =========================================
   MOBILE NAV OVERLAY
   ========================================= */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-nav.open { pointer-events: all; }

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-nav.open .mobile-nav-overlay { opacity: 1; }

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: var(--color-white);
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-dark);
  transition: var(--transition);
}

.mobile-nav-close:hover { background: var(--color-primary); color: white; }

.mobile-menu {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu li { border-bottom: 1px solid var(--color-light); }

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--color-dark-2);
  font-size: 0.95rem;
}

.mobile-menu a:hover { color: var(--color-primary); }

.mobile-menu .sub-menu {
  padding-left: 1rem;
  border-top: 1px solid var(--color-light);
}

.mobile-menu .sub-menu a {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-mid);
  padding: 0.6rem 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ekskul-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 992px) {
  #main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 6rem 0 4rem; }
  .hero-content { max-width: 100%; padding-right: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
  .about-content { padding-left: 0; }
  .about-image-badge { right: 0; }

  .news-grid { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .prestasi-grid { grid-template-columns: repeat(2, 1fr); }

  .ppdb-inner { flex-direction: column; text-align: center; }

  .kontak-grid { grid-template-columns: 1fr; }

  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }

  .visi-misi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .ekskul-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-logos { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .ppdb-countdown { flex-wrap: wrap; justify-content: center; }
  .activity-grid { grid-template-columns: 1fr; }
  .prestasi-grid { grid-template-columns: 1fr; }
  .news-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .ekskul-grid { grid-template-columns: repeat(2, 1fr); }
  .about-checkmarks { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
