/* =============================================
   SD IT Harapan Bangsa - Main Stylesheet
   Modern, Clean Education Theme
   ============================================= */

/* ---------- Design Tokens ---------- */
:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;

    --secondary: #059669;
    --secondary-light: #10b981;
    --secondary-dark: #047857;

    --accent: #f59e0b;
    --accent-light: #fbbf24;

    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--neutral-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--neutral-900);
    line-height: 1.3;
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--neutral-500);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.938rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
    line-height: 1.5;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--neutral-900);
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neutral-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.navbar-brand .logo-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    overflow: hidden;
}

.navbar-brand .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.navbar-brand .navbar-akreditasi {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.navbar-brand .navbar-separator {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--neutral-300);
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
}

.navbar-transparent .navbar-brand .navbar-separator {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-brand .brand-name {
    font-size: 1.1rem;
    color: var(--neutral-900);
}

.navbar-brand .brand-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--neutral-500);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--neutral-600);
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-50);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--neutral-700);
    cursor: pointer;
    padding: 0.5rem;
}

/* ---------- Transparent Navbar ---------- */
.navbar-transparent {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: none;
}

.navbar-transparent .navbar-brand .brand-name {
    color: var(--white);
}

.navbar-transparent .navbar-brand .brand-tagline {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-transparent .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-transparent .nav-links a:hover,
.navbar-transparent .nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar-transparent .mobile-toggle {
    color: var(--white);
}

.navbar-transparent.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neutral-200);
}

.navbar-transparent.scrolled .navbar-brand .brand-name {
    color: var(--neutral-900);
}

.navbar-transparent.scrolled .navbar-brand .brand-tagline {
    color: var(--neutral-500);
}

.navbar-transparent.scrolled .nav-links a {
    color: var(--neutral-600);
}

.navbar-transparent.scrolled .nav-links a:hover,
.navbar-transparent.scrolled .nav-links a.active {
    color: var(--primary);
    background: var(--primary-50);
}

.navbar-transparent.scrolled .mobile-toggle {
    color: var(--neutral-700);
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 50%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--neutral-900);
}

.hero-content h1 .text-gradient {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #60a5fa;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat .stat-label {
    font-size: 0.813rem;
    color: var(--neutral-500);
    margin-top: 0.125rem;
}

.hero-visual {
    position: relative;
}

.hero-image-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
}

.hero-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.hero-image-placeholder span {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-float-card.card-1 {
    top: -20px;
    right: -20px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-2 {
    bottom: 20px;
    left: -30px;
    animation: float 3s ease-in-out infinite 1.5s;
}

.hero-float-card .float-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-float-card .float-icon.green {
    background: #ecfdf5;
    color: var(--secondary);
}

.hero-float-card .float-icon.blue {
    background: var(--primary-50);
    color: var(--primary);
}

.hero-float-card .float-text strong {
    display: block;
    font-size: 0.938rem;
    color: var(--neutral-900);
}

.hero-float-card .float-text span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Hero with Background Slideshow ---------- */
.hero-slideshow-bg {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
    background: none;
}

.hero-slideshow-bg::before,
.hero-slideshow-bg::after {
    display: none;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.70) 50%, rgba(15, 23, 42, 0.50) 100%);
    z-index: 2;
}

.hero-slideshow-bg .hero-content-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 520px) 1fr;
    align-items: end;
    text-align: center;
    width: 100%;
}

.hero-slideshow-bg .hero-content {
    max-width: 100%;
}

.hero-text-slideshow {
    position: relative;
    margin-bottom: 2rem;
}

.hero-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.hero-text-slide:first-child {
    position: relative;
}

.hero-text-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-text-slide h1 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hero-text-slide p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.hero-slideshow-bg .hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-slideshow-bg .hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slideshow-bg .hero-stat .stat-number {
    color: var(--white);
    font-size: 1.5rem;
}

.hero-slideshow-bg .hero-stat .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Button Outline White */
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Section Spacing ---------- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--neutral-50);
}

.section-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.section-primary .section-title,
.section-primary .section-title::after {
    color: var(--white);
}

.section-primary .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* ---------- Feature Cards ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--neutral-200);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card .card-icon.blue {
    background: var(--primary-50);
    color: var(--primary);
}

.feature-card .card-icon.green {
    background: #ecfdf5;
    color: var(--secondary);
}

.feature-card .card-icon.amber {
    background: #fffbeb;
    color: var(--accent);
}

.feature-card .card-icon.purple {
    background: #faf5ff;
    color: #7c3aed;
}

.feature-card .card-icon.rose {
    background: #fff1f2;
    color: #e11d48;
}

.feature-card .card-icon.cyan {
    background: #ecfeff;
    color: #0891b2;
}

.feature-card h3 {
    font-size: 1.175rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--neutral-500);
    font-size: 0.938rem;
    line-height: 1.6;
}

/* ---------- News Cards ---------- */
.info-banner {
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.info-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.info-banner-slideshow {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: height 0.5s ease;
}

.info-banner-track {
    position: relative;
    width: 100%;
}

.info-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
    z-index: 0;
    cursor: pointer;
}

.info-banner-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.info-banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.info-banner-slide.active img {
    animation: bannerZoom 8s ease-out forwards;
}

@keyframes bannerZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

.info-banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    color: var(--white);
}

.info-banner-icon {
    font-size: 3rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.info-banner-text h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.info-banner-text p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--neutral-200);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.news-card .card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.news-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-date {
    font-size: 0.813rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card p {
    color: var(--neutral-500);
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.news-card .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.news-card .read-more:hover {
    gap: 0.625rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.cta-section h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ---------- Dashboard Banner ---------- */
.dashboard-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 50%, #90caf9 100%);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dashboard-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.dashboard-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.dashboard-banner-icon {
    position: relative;
    font-size: 3.5rem;
    z-index: 1;
}

.dashboard-banner-icon .badge-check {
    position: absolute;
    top: -6px;
    right: -10px;
    color: #fbbf24;
    font-size: 1.25rem;
    background: var(--white);
    border-radius: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-banner-text {
    z-index: 1;
}

.dashboard-banner-text h3 {
    font-size: 1.875rem;
    color: var(--white);
    margin-bottom: 0.125rem;
    font-weight: 700;
}

.dashboard-banner-text p {
    font-size: 1.375rem;
    color: rgba(255,255,255,0.95);
    margin: 0;
    font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.footer-about p {
    font-size: 0.938rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.625rem;
}

.footer-links a {
    font-size: 0.938rem;
    color: var(--neutral-400);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
    font-size: 0.938rem;
}

.footer-contact li i {
    color: var(--primary-light);
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* ---------- Page Header ---------- */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: var(--neutral-500);
    font-size: 0.938rem;
}

.page-header .breadcrumb a {
    color: var(--primary);
}

/* ---------- Profile Page ---------- */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.profile-section.reverse {
    direction: rtl;
}

.profile-section.reverse > * {
    direction: ltr;
}

.profile-image-placeholder {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.visi-card, .misi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--neutral-200);
}

.visi-card h3, .misi-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.visi-card h3 i, .misi-card h3 i {
    color: var(--primary);
}

.misi-list {
    list-style: none;
    padding: 0;
}

.misi-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
    color: var(--neutral-600);
}

.misi-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.875rem;
}

/* ---------- Gallery ---------- */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--neutral-200);
    border-radius: 50px;
    background: var(--white);
    color: var(--neutral-600);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.938rem;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.contact-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    color: var(--neutral-500);
    font-size: 0.875rem;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--neutral-200);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--neutral-700);
    margin-bottom: 0.375rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--white);
    color: var(--neutral-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ---------- News Detail ---------- */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail .news-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--neutral-500);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.news-detail .news-meta i {
    margin-right: 0.375rem;
    color: var(--primary-light);
}

.news-detail .news-featured-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.news-detail .news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail .news-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--neutral-700);
}

.news-detail .news-content p {
    margin-bottom: 1.25rem;
}

/* ---------- Ekskul Cards ---------- */
.ekskul-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ekskul-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
}

.ekskul-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.ekskul-card .ekskul-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--primary-50);
    color: var(--primary);
    transition: var(--transition);
}

.ekskul-card:hover .ekskul-icon {
    background: var(--primary);
    color: var(--white);
}

.ekskul-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.ekskul-card p {
    color: var(--neutral-500);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ekskul-card .ekskul-meta {
    font-size: 0.813rem;
    color: var(--neutral-400);
}

.ekskul-card .ekskul-meta i {
    margin-right: 0.25rem;
    color: var(--primary-light);
}

/* ---------- Alert ---------- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 0.938rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #ecfdf5;
    color: var(--secondary-dark);
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary);
    border: 1px solid var(--primary-100);
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--neutral-200);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-600);
    transition: var(--transition);
}

.pagination a:hover, .pagination span.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ---------- Lightbox ---------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-visual {
        display: none;
    }
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    .hero-slideshow-bg {
        min-height: auto;
        padding: 140px 0 60px;
    }
    .hero-slideshow-bg .hero-content-wrapper {
        grid-template-columns: minmax(0, 480px) 1fr;
    }
    .hero-text-slide h1 {
        font-size: 1.5rem;
    }
    .features-grid, .news-grid, .ekskul-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-text-slide h1 {
        font-size: 1.375rem;
    }
    .hero-slideshow-bg .hero-content-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-slideshow-bg .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .features-grid, .news-grid, .ekskul-grid {
        grid-template-columns: 1fr;
    }
    .profile-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .profile-section.reverse {
        direction: ltr;
    }
    .visi-misi-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.625rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 1.875rem;
    }
    .navbar-brand .navbar-akreditasi {
        width: 48px;
        height: 48px;
    }
    .navbar-brand .navbar-separator {
        font-size: 1.25rem;
    }
}
