/* ============================================
   SMKS CITRA ABDI NEGORO - Website Sekolah
   Color Scheme: Blue + Yellow + Orange
   PHP 7+ Compatible Frontend Styles
   ============================================ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables / Design Tokens ── */
:root {
    /* Primary Colors - Blue */
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --primary-deeper: #0A2A66;
    --primary-light: #42A5F5;

    /* Accent Colors - Yellow & Orange */
    --accent-yellow: #FFB300;
    --accent-orange: #F57C00;
    --accent-gold: #FFC107;
    --accent-gradient: linear-gradient(135deg, #FFB300, #F57C00);

    /* Hero Gradient */
    --hero-gradient: linear-gradient(135deg, #0D47A1 0%, #1565C0 30%, #F57C00 70%, #FFB300 100%);
    --hero-overlay: linear-gradient(135deg, rgba(13,71,161,0.92) 0%, rgba(21,101,192,0.85) 40%, rgba(245,124,0,0.75) 100%);

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Status */
    --success: #16A34A;
    --danger: #DC2626;
    --warning: #F59E0B;
    --info: #0EA5E9;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-card: 0 4px 20px rgba(21,101,192,0.08);
    --shadow-card-hover: 0 12px 40px rgba(21,101,192,0.18);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* 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 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Alert Messages ── */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #DCFCE7;
    color: #166534;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #E0F2FE;
    color: #075985;
    border-left: 4px solid var(--info);
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--hero-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
}

.navbar-brand .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition);
}

.navbar-brand .brand-tagline {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar.scrolled .brand-name {
    color: var(--primary-dark);
}

.navbar.scrolled .brand-tagline {
    color: var(--gray-500);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 60%;
}

.nav-menu a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-menu a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
    color: var(--primary);
}

.navbar.scrolled .nav-menu a::after {
    background: var(--primary);
}

.nav-cta {
    background: var(--accent-gradient) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(245,124,0,0.3);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,124,0,0.4) !important;
}

.navbar.scrolled .nav-cta {
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-700);
}

/* ── HERO SLIDER ── */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-dark);
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-slide-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-slide-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Controls */
.hero-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.hero-slider-dot.active {
    background: var(--accent-yellow);
    transform: scale(1.2);
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.hero-slider-arrow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.05);
}

.hero-slider-arrow.prev {
    left: 30px;
}

.hero-slider-arrow.next {
    right: 30px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21,101,192,0.4);
}

.btn-accent {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245,124,0,0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,124,0,0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

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

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* ── SECTION STYLES ── */
.section {
    padding: var(--section-padding);
}

.section-light {
    background: var(--gray-50);
}

.section-dark {
    background: var(--primary-deeper);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(21,101,192,0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-dark .section-title .badge {
    background: rgba(255,179,0,0.15);
    color: var(--accent-yellow);
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title p {
    color: rgba(255,255,255,0.7);
}

/* ── SAMBUTAN / WELCOME SECTION ── */
.sambutan-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.sambutan-image {
    position: relative;
}

.sambutan-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.sambutan-image .accent-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    padding: 20px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-heading);
    box-shadow: var(--shadow-lg);
}

.sambutan-image .accent-box .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.sambutan-image .accent-box .label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.sambutan-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.sambutan-content .position {
    font-size: 0.95rem;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 20px;
}

.sambutan-content p {
    margin-bottom: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ── STATS ── */
.stats-section {
    background: var(--hero-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.05'%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");
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ── CARDS - Jurusan ── */
.jurusan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.jurusan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.jurusan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--hero-gradient);
}

.jurusan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.jurusan-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(21,101,192,0.08), rgba(245,124,0,0.08));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.jurusan-card h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.jurusan-card .singkatan {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.jurusan-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── CARDS - Guru ── */
.guru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.guru-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--gray-100);
}

.guru-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.guru-card .guru-photo {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.guru-card .guru-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.guru-card .guru-photo .placeholder-icon {
    font-size: 4rem;
    color: var(--gray-300);
}

.guru-card .guru-info {
    padding: 20px;
}

.guru-card .guru-info h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.guru-card .guru-info .jabatan {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.guru-card .guru-info .mapel {
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* ── CARDS - Berita ── */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.berita-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.berita-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.berita-card .berita-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--accent-orange));
    overflow: hidden;
    position: relative;
}

.berita-card .berita-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.berita-card .berita-img .date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.berita-card .berita-body {
    padding: 22px;
}

.berita-card .berita-body h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card .berita-body h4 a {
    color: var(--gray-800);
}

.berita-card .berita-body h4 a:hover {
    color: var(--primary);
}

.berita-card .berita-body p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card .berita-body .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px;
}

.berita-card .berita-body .read-more:hover {
    color: var(--accent-orange);
    gap: 10px;
}

/* ── GALLERY ── */
.galeri-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.galeri-filter button {
    padding: 8px 22px;
    border: 2px solid var(--gray-200);
    background: transparent;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
}

.galeri-filter button.active,
.galeri-filter button:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.galeri-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--gray-100);
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.galeri-item .galeri-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13,71,161,0.85), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-item:hover img {
    transform: scale(1.1);
}

.galeri-overlay h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.galeri-overlay span {
    color: var(--accent-yellow);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ── CTA SECTION ── */
.cta-section {
    background: var(--hero-gradient);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -100px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -80px;
    left: -80px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── PAGE HEADER / BREADCRUMB ── */
.page-header {
    background: var(--hero-gradient);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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");
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: var(--accent-yellow);
}

.breadcrumb span {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    font-weight: 600;
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-card-hover);
}

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(21,101,192,0.08), rgba(245,124,0,0.08));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-form {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(21,101,192,0.08);
}

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

/* ── PPDB ── */
.ppdb-hero {
    background: var(--hero-gradient);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ppdb-hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 12px;
}

.ppdb-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 24px;
}

.ppdb-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.ppdb-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.ppdb-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.ppdb-card .step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.ppdb-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.ppdb-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Syarat List */
.syarat-list {
    list-style: none;
    padding: 0;
}

.syarat-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.syarat-list li i {
    color: var(--success);
    font-size: 1.1rem;
}

/* ── TIMELINE ── */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent-orange));
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: calc(50% + 30px);
    padding-right: 0;
}

.timeline-item .timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent-gradient);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(245,124,0,0.2);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.timeline-content .year {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── VISI MISI ── */
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.visi-card,
.misi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.visi-card::before,
.misi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--hero-gradient);
}

.visi-card .card-icon,
.misi-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(21,101,192,0.1), rgba(245,124,0,0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.visi-card h3,
.misi-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.misi-list {
    padding: 0;
    counter-reset: misi;
}

.misi-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    counter-increment: misi;
}

.misi-list li::before {
    content: counter(misi);
    min-width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 2px;
}

/* ── BERITA DETAIL ── */
.berita-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.berita-detail-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
}

.berita-detail-content .berita-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: var(--gray-400);
}

.berita-detail-content .berita-meta i {
    margin-right: 6px;
    color: var(--primary);
}

.berita-detail-content .berita-featured-img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    max-height: 400px;
    object-fit: cover;
}

.berita-detail-content h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.berita-detail-content .content-body {
    line-height: 1.9;
    color: var(--gray-600);
}

.berita-detail-content .content-body p {
    margin-bottom: 16px;
}

.berita-sidebar .sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    margin-bottom: 25px;
}

.berita-sidebar .widget-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
}

.berita-sidebar .sidebar-berita-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-50);
}

.berita-sidebar .sidebar-berita-item:last-child {
    border-bottom: none;
}

.berita-sidebar .sidebar-berita-item .thumb {
    width: 70px;
    height: 55px;
    min-width: 70px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--accent-orange));
    overflow: hidden;
}

.berita-sidebar .sidebar-berita-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berita-sidebar .sidebar-berita-item h5 {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 4px;
}

.berita-sidebar .sidebar-berita-item h5 a:hover {
    color: var(--primary);
}

.berita-sidebar .sidebar-berita-item .date {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* ── PROFIL ── */
.profil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.profil-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}

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

.profil-card .profil-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(21,101,192,0.1), rgba(245,124,0,0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 16px;
}

.profil-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.profil-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── FOOTER ── */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col .footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.footer-col .contact-item i {
    color: var(--accent-yellow);
    margin-top: 3px;
    min-width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-bottom .heart {
    color: var(--accent-orange);
}

/* ── LIGHTBOX ── */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: var(--accent-yellow);
    transform: scale(1.2);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1rem;
    text-align: center;
}

/* ── ANIMATIONS ── */
@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);
    }
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .hero-slide-content h1 {
        font-size: 2.4rem;
    }

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

    .berita-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: var(--transition);
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--gray-700) !important;
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
        font-size: 1rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 20px;
        text-align: center;
        border-bottom: none !important;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hero */
    .hero-slider {
        height: 85vh;
        min-height: 500px;
    }

    .hero-slide-content h1 {
        font-size: 1.8rem;
    }

    .hero-slide-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-slider-arrow {
        display: none;
    }

    /* Grids */
    .sambutan-grid,
    .contact-grid,
    .visi-misi-grid,
    .jurusan-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item .timeline-dot {
        left: 20px;
    }

    .sambutan-image .accent-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -30px;
        margin-left: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-slide-content h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    .cta-content h2 {
        font-size: 1.6rem;
    }
}

/* ── MAPS ── */
.maps-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-top: 30px;
}

.maps-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ── PAGINATION ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.pagination a {
    background: var(--white);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination span.active {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

/* ── NO IMAGE PLACEHOLDER ── */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 3rem;
}

/* ── Berita Detail Specific ── */
.berita-detail-content .content-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 10px 0;
}
