/* CSS Design System - Web Profil & Berita Sekolah + Admin CMS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #0ea5e9;
    --emerald: #10b981;
    --emerald-light: #ecfdf5;
    --rose: #f43f5e;
    --rose-light: #ffe4e6;
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--slate-900);
    background-color: var(--slate-50);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.brand-logo {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-700);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-ppdb {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: var(--white);
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ppdb:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-admin-nav {
    background: var(--slate-100);
    color: var(--slate-800);
    border: 1px solid var(--slate-300);
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-admin-nav:hover {
    background: var(--slate-900);
    color: var(--white);
    border-color: var(--slate-900);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--slate-800);
    background: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 90px;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 40%),
                radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.08), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.badge-akreditasi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-light);
    color: var(--emerald);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--slate-600);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.95rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--slate-800);
    padding: 0.95rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid var(--slate-300);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--slate-100);
    border-color: var(--slate-500);
    color: var(--primary);
}

.hero-image-wrapper {
    position: relative;
}

.hero-img-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.hero-img-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-img-card:hover img {
    transform: scale(1.03);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--slate-100);
}

.floating-badge .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-badge div h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--slate-900);
}

.floating-badge div p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* Stats Section */
.stats-section {
    background: var(--slate-900);
    color: var(--white);
    padding: 3.5rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
}

.stat-info p {
    font-size: 0.85rem;
    color: var(--slate-300);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
}

/* Profil & Visi Misi Section */
.profile-section {
    padding: 6rem 0;
}

.kepsek-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: center;
    border: 1px solid var(--slate-100);
    margin-bottom: 4rem;
}

.kepsek-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.kepsek-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
}

.kepsek-content .title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.kepsek-content p {
    font-size: 1.05rem;
    color: var(--slate-600);
    font-style: italic;
    line-height: 1.7;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

.visi-card, .misi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
}

.visi-card h3, .misi-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.visi-card h3 i, .misi-card h3 i {
    color: var(--primary);
}

.visi-card p {
    font-size: 1.1rem;
    color: var(--slate-700);
    line-height: 1.8;
}

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

.misi-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--slate-700);
}

.misi-list li i {
    color: var(--emerald);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Direktori Guru Section */
.teacher-section {
    padding: 6rem 0;
    background: var(--white);
}

.teacher-card {
    border-top: 4px solid var(--primary);
}

.teacher-card:hover {
    border-top-color: var(--accent);
}

.news-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tab-btn {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--slate-700);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 1px solid var(--slate-300);
}

.tab-btn:hover {
    background: var(--slate-50);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--slate-300);
    background: var(--white);
    font-size: 0.9rem;
    color: var(--slate-900);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-500);
}

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

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.news-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
}

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

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

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-bottom: 0.75rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    font-size: 0.9rem;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.btn-read-more {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    padding: 0;
    margin-top: auto;
}

.btn-read-more:hover {
    color: var(--primary-hover);
    gap: 12px;
}

.no-news-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--slate-500);
}

.no-news-found i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--slate-300);
}

/* Modal Pop-up Berita */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    color: var(--slate-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--slate-900);
    color: var(--white);
}

.modal-header-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.modal-body {
    padding: 2.5rem;
}

.modal-badge-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.modal-meta-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--slate-500);
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.modal-content-text {
    font-size: 1.05rem;
    color: var(--slate-700);
    line-height: 1.8;
}

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

.modal-content-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 1.5rem 0 0.75rem;
}

.modal-content-text ul, .modal-content-text ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-quote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--slate-800);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-200);
}

.tag-pill {
    background: var(--slate-100);
    color: var(--slate-600);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Programs Section */
.programs-section {
    padding: 6rem 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.program-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.program-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.program-card p {
    font-size: 0.95rem;
    color: var(--slate-600);
}

/* Ekstrakulikuler Section */
.ekstra-section {
    padding: 6rem 0;
    background: var(--slate-900);
    color: var(--white);
}

.ekstra-section .section-title {
    color: var(--white);
}

.ekstra-section .section-desc {
    color: var(--slate-300);
}

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

.ekstra-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.ekstra-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.03);
}

.ekstra-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}

.ekstra-info h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.ekstra-info span {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

/* Fasilitas Section */
.facility-section {
    padding: 6rem 0;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.facility-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
}

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

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

.facility-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 70%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
}

.facility-overlay h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.facility-overlay p {
    font-size: 0.9rem;
    color: var(--slate-300);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--slate-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--slate-600);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-300);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Toast Alert */
.toast-alert {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--slate-900);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    border-left: 4px solid var(--emerald);
}

.toast-alert.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--slate-900);
    color: var(--slate-300);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand h2 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--slate-400);
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.social-btn:hover {
    background: var(--primary);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

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

/* ==========================================================================
   ADMIN CMS DASHBOARD STYLES
   ========================================================================== */

.admin-body {
    background-color: #f1f5f9;
    min-height: 100vh;
}

/* Login Card */
.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.05), transparent 50%);
    padding: 1.5rem;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 420px;
    width: 100%;
    padding: 2.5rem;
    border: 1px solid var(--slate-200);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
}

/* Admin Dashboard Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--slate-900);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.admin-brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-brand i {
    font-size: 1.5rem;
    color: var(--accent);
}

.admin-brand h2 {
    font-size: 1.1rem;
    font-weight: 800;
}

.admin-nav {
    padding: 1.5rem 1rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.admin-nav-btn {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--slate-300);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.admin-nav-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-logout {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: rgba(244, 63, 94, 0.15);
    color: #f87171;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-logout:hover {
    background: #ef4444;
    color: var(--white);
}

/* Main Content Area */
.admin-main {
    margin-left: 260px;
    flex-grow: 1;
    padding: 2rem 2.5rem;
}

.admin-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
}

.admin-header-bar h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--slate-900);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-700);
}

.user-badge img {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

/* Data Table Styling */
.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    margin-bottom: 2rem;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--slate-200);
    font-size: 0.9rem;
}

.data-table th {
    background: var(--slate-50);
    color: var(--slate-700);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.table-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.table-actions {
    display: flex;
    gap: 6px;
}

.btn-action-edit {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
}

.btn-action-edit:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-action-delete {
    background: var(--rose-light);
    color: var(--rose);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
}

.btn-action-delete:hover {
    background: var(--rose);
    color: var(--white);
}

/* Responsive Breakdown */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 80px;
    }
    .admin-brand h2, .admin-nav-btn span, .sidebar-footer span {
        display: none;
    }
    .admin-main {
        margin-left: 80px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ekstra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .facility-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .kepsek-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .kepsek-img {
        max-width: 220px;
        margin: 0 auto;
    }
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .ekstra-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .news-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
