:root{
    --primary:#0f4c81;
    --secondary:#f4c542;
    --dark:#1e293b;
    --light:#f8fafc;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Plus Jakarta Sans',sans-serif;
    background:var(--light);
    color:#334155;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.navbar{
    position:fixed;
    top:0;
    width:100%;
    height:65px;
    background:rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
    z-index:1000;
    transition:.3s;
    border-bottom:
    1px solid rgba(15,76,129,.05);
}

.navbar a{
    font-weight:600;
    transition:.3s;
}

.navbar a:hover{
    color:#2563eb;
}

.menu{
    display:flex;
    gap:30px;
}

.menu a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
    position:relative;
    padding:8px 0;
}

.menu a:hover{
    color:var(--primary);
}

.menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0%;
    height:2px;
    background:var(--primary);
    transition:.3s;
}

.menu a:hover::after{
    width:100%;
}

.menu-toggle{
    display:none;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-area img{
    width:45px;
}

.logo-text h2{
    font-size:20px;
    color:var(--primary);
}

.logo-text p{
    font-size:13px;
    color:#666;
}

.hero{
    min-height:100vh;
    background:
    linear-gradient(rgba(10,35,80,.75), rgba(10,35,80,.75)), url("../images/banner.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:0 20px;
    position:relative;
}

.hero::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:
    radial-gradient(
        rgba(244,197,66,.25),
        transparent 70%
    );
    top:50%;
    left:50%;
    transform:
    translate(-50%,-50%);
}

.hero-logo{
    width:120px;
    margin-bottom:30px;
}

.hero h1{
    font-size:84px;
    font-weight:800;
    line-height:1.1;
    color:white;
    max-width:900px;
    letter-spacing:-2px;
}

.hero p{
    font-size:20px;
    font-weight:400;
    line-height:1.8;
    max-width:700px;
    margin:20px auto 35px;
    color:#e2e8f0;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
}

.berita-hero{
    height:350px;
    position:relative;
}

.hero-text{
    position:relative;
    color:white;
    text-align:center;
    z-index:2;
}

.hero-text h1{
    font-size:52px;
}

.hero-text p{
    margin-top:10px;
    opacity:.9;
}

.btn-primary,
.btn-secondary{
    display:inline-block;
    padding:15px 30px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    margin:5px;
}

.btn-primary{
    background:var(--primary);
    color:white;
    padding:12px 20px;
}

.btn-secondary{
    background:white;
    color:#333;
}

.stats{
    margin-top:-70px;
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    position:relative;
    z-index:5;
}

.stat-card{
    background:rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding:35px;
    border-radius:28px;
    text-align:center;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
    transition:.3s;
    border:1px solid rgba(15,76,129,.08);
    position: relative;
    overflow: hidden;
}

.stat-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    height:4px;
    width:100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-card:hover{
    transform:translateY(-6px);
}

.stat-card h2{
    color:var(--primary);
    font-size:42px;
}

.welcome{
    background:white;
    border-radius:40px;
    padding:80px 60px;
}

.section-title{
    color:var(--primary);
    font-size:48px;
    font-weight:800;
    margin-bottom:20px;
    text-align:center;
    position:relative;
    letter-spacing:-1px;
}

.section-title::after{
    content:"";
    width:100px;
    height:5px;
    background:var(--secondary);
    display:block;
    margin:12px auto 0;
    border-radius:10px;
}

.welcome p{
    max-width:900px;
    margin:auto;
    line-height:1.8;
}

.fitur-section{
    padding:80px 60px;
    background:#f8fafc;
    border-radius:40px;
}

.fitur-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.fitur-card{
    background:white;
    padding:30px;
    border-radius:28px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.fitur-card:hover{
    transform:translateY(-8px);
}

.fitur-card i{
    font-size:50px;
    color:var(--primary);
    margin-bottom:20px;
}

.berita-section{
    border-radius:40px;
    padding:100px 0;
    background:white;
}

.berita-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.berita-grid-modern{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.berita-page{
    padding:80px 0;
}

.berita-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 8px;
}

.berita-header h2{
    font-size:48px;
    font-weight:800;
    color:var(--primary);
}

.berita-header p{
    color:#64748b;
    font-size:15px;
    max-width: 600px;
    line-height: 1.6;
}

.card{
    background:#fcfdff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s ease;
    display:flex;
    flex-direction:column;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.card-image{
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    object-fit:cover;
    transition:.4s;
}

.card:hover .card-image{
    transform:scale(1.05);
}

.card-body{
    padding:20px;
}

.card-body h2{
    font-size:20px;
    margin-bottom:10px;
    color:#111827;
}

.card-body h3{
    margin-bottom:10px;
}

.card-body p{
    color:#6b7280;
    line-height:1.6;
    margin-bottom:15px;
}

.card-body a{
    display:inline-block;
    padding:10px 16px;
    background:var(--primary);
    color:white;
    border-radius:10px;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

.card-body a:hover{
    background:#0b3a63;
    transform:translateY(-2px);
}

/* =========================
   FOOTER MODERN
========================= */

.footer{
    background: linear-gradient(135deg, #0f172a, #0b3a63);
    color:white;
    padding:70px 20px 20px;
    margin-top:80px;
}

/* GRID */
.footer-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:40px;
}

/* BRAND */
.footer-brand h3{
    font-size:22px;
    margin-bottom:15px;
    color:var(--secondary);
}

.footer-brand p{
    color:#cbd5e1;
    line-height:1.7;
}

/* MENU */
.footer-menu h4,
.footer-contact h4{
    margin-bottom:15px;
    font-size:16px;
    color:white;
}

.footer-menu a{
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    margin-bottom:10px;
    transition:.3s;
}

.footer-menu a:hover{
    color:var(--secondary);
    transform:translateX(5px);
}

/* CONTACT */
.footer-contact p{
    color:#cbd5e1;
    margin-bottom:10px;
    display:flex;
    gap:10px;
    align-items:center;
}

.footer-contact i{
    color:var(--secondary);
}

/* SOCIAL */
.social{
    margin-top:15px;
    display:flex;
    gap:12px;
}

.social a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,0.1);
    color:white;
    transition:.3s;
}

.social a:hover{
    background:var(--secondary);
    color:#0f172a;
    transform:translateY(-4px);
}

/* BOTTOM */
.footer-bottom{
    text-align:center;
    margin-top:50px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.1);
    color:#94a3b8;
    font-size:14px;
}

.page-hero{
    height:400px;
    background:
    linear-gradient(
      rgba(0,0,0,.5),
      rgba(0,0,0,.5)
    ),
    url("../images/banner.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.page-hero h1{
    font-size:60px;
}

.about{
    display:grid;
    grid-template-columns:
    1fr 1fr;
    gap:50px;
    align-items:center;
    padding:80px 0;
    background:white;
    border-radius:32px;
    padding:50px;
    box-shadow:
    0 10px 30px rgba(0,0,0,.06);
    margin-top:60px;
    margin-bottom:40px;
}

.kepsek-section,
.visi-misi-section,
.info-section,
.guru-section{
    padding:20px 0 40px;
}

.about-image img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:24px;
}

.kepsek-card{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:35px;
    background:white;
    padding:40px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-bottom:40px;
    align-items:center;
}

.kepsek-card img{
    width:260px;
    height:260px;
    object-fit:cover;
    border-radius:24px;
    object-position:center 20%;
    display:block;
}

.guru-section{
    padding:20px 0 40px;
}

.guru-section .container{
    max-width:1200px;
}

.guru-grid{
    display:grid;
    grid-template-columns:
    repeat(4,1fr);
    gap:30px;
}

.guru-card{
    position:relative;
    background:white;
    padding:30px;
    border-radius:24px;
    text-align:center;
    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.guru-card::before{
    content:"";
    position:absolute;
    width:80px;
    height:80px;
    border-radius:50%;
    background:rgba(15,76,129,.08);
    top:15px;
    right:15px;
}

.guru-card:hover{
    transform:translateY(-8px);
    box-shadow:
    0 15px 40px rgba(0,0,0,.12);
}

.guru-card img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    object-position:center 20%;
    margin-bottom:20px;
    border:4px solid #f1f5f9;
}

.guru-card h3{
    color:var(--primary);
    margin-bottom:8px;
}

.guru-card p{
    color:#666;
}

.card,
.info-item,
.guru-card,
.fitur-card,
.stat-card{
    transition:.35s ease;
}

.card:hover,
.info-item:hover,
.guru-card:hover,
.fitur-card:hover{
    transform:translateY(-8px);
}

.visi-misi-section{
    padding:20px 0 40px;
}

.visi-misi-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
    align-items:stretch;
}

.visi-card,
.misi-card{
    background:white;
    padding:40px;
    border-radius:24px;
    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
    height:100%;
}

.visi-card:hover,
.misi-card:hover{
    transform:translateY(-8px);
}

.visi-card i,
.misi-card i{
    font-size:48px;
    color:var(--primary);
    margin-bottom:20px;
}

.visi-card h3,
.misi-card h3{
    margin-bottom:20px;
    color:var(--primary);
}

.visi-card p{
    line-height:1.8;
}

.misi-card ul{
    padding-left:20px;
}

.misi-card li{
    margin-bottom:12px;
    line-height:1.7;
}

.info-section{
    padding:20px 0 40px;
}

.info-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.info-item{
    background:white;
    padding:40px 20px;
    border-radius:24px;
    text-align:center;
    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.info-item:hover{
    transform:translateY(-8px);
    box-shadow:
    0 15px 40px rgba(0,0,0,.12);
}

.info-item i{
    font-size:45px;
    color:var(--primary);
    margin-bottom:20px;
}

.info-item h4{
    margin-bottom:10px;
    color:var(--primary);
}

.info-item p{
    font-size:28px;
    font-weight:700;
    color:var(--primary);
}

.visi-card,
.misi-card,
.info-item{

    position:relative;

    overflow:hidden;
}

.visi-card::before,
.misi-card::before,
.info-item::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:
    linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
}

.justify {
  text-align: justify;
  line-height: 1.6;
}

.right {
  text-align: right;
  line-height: 1.6;
}

/* =========================
   PENGUMUMAN MODERN UI
========================= */

.pengumuman-section{
    padding: 100px 0;
}

.pengumuman-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 8px;
}

.pengumuman-header h2{
    font-size:48px;
    font-weight:800;
    color:var(--primary);
}

.pengumuman-header p{
    color:#64748b;
    font-size:15px;
    max-width: 600px;
    line-height: 1.6;
}

.pengumuman-header a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    border-radius:999px;
    background:#eff6ff;
    color:var(--primary);
    text-decoration:none;
    font-weight:600;
}

/* GRID */
.pengumuman-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap:25px;
}

/* CARD */
.pengumuman-card{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    border: 1px solid rgba(15,76,129,.08);
    position: relative;
    overflow: hidden;
    transition: .35s ease;
}

/* aksen garis atas */
.pengumuman-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    height:4px;
    width:100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* hover lebih smooth */
.pengumuman-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* judul */
.pengumuman-card h3{
    color: var(--primary);
    margin-bottom:10px;
    font-size:18px;
}

/* tanggal */
.pengumuman-date{
    font-size:13px;
    color:#94a3b8;
    margin-bottom:12px;
}

/* isi */
.pengumuman-card p{
    color:#475569;
    line-height:1.7;
    font-size:14px;
}

/* badge kecil (opsional kalau kamu pakai kategori) */
.pengumuman-badge{
    display:inline-block;
    padding:4px 10px;
    font-size:12px;
    border-radius:999px;
    background:#e0f2fe;
    color:#0369a1;
    margin-bottom:10px;
}

/* TO TOP BUTTON */

#topBtn{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    transition: .3s;
    z-index: 9999;
}

#topBtn i{
    pointer-events: none;
}

#topBtn:hover{
    transform: translateY(-5px);
    background: #0b3a63;
}

/* =========================
   KONTAK MODERN SECTION
========================= */

.kontak-section{
    padding: 100px 0;
}

.kontak-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 8px;
}

.kontak-header h2{
    font-size:48px;
    font-weight:800;
    color:var(--primary);
}

.kontak-header p{
    color:#64748b;
    font-size:15px;
    max-width: 600px;
    line-height: 1.6;
}

/* GRID */
.kontak-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:25px;
}

/* CARD */
.kontak-card{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 30px;
    text-align:center;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    border: 1px solid rgba(15,76,129,.08);
    transition: .3s;
    position: relative;
    overflow:hidden;
}

/* accent bar */
.kontak-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    height:4px;
    width:100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* hover */
.kontak-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* icon */
.kontak-card i{
    font-size:40px;
    color: var(--primary);
    margin-bottom:15px;
}

/* title */
.kontak-card h3{
    margin-bottom:10px;
    color:#0f172a;
}

/* text */
.kontak-card p{
    color:#64748b;
    line-height:1.6;
}

.kontak-maps{
    margin-top: 60px;
    text-align:center;
}

.kontak-maps iframe{
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-top: 20px;
}

/* =========================
   DETAIL BERITA MODERN
========================= */

.detail-berita-section{
    padding: 120px 0 80px;
}

.detail-berita-card{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,.08);
    border: 1px solid rgba(15,76,129,.08);
}

.detail-pengumuman-section{
    padding: 120px 0 80px;
}

.detail-pengumuman-card{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,.08);
    border: 1px solid rgba(15,76,129,.08);
}

.detail-title{
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.detail-meta{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 25px;
}

.detail-badge{
    display:inline-block;
    padding:6px 12px;
    font-size:12px;
    border-radius:999px;
    background:#e0f2fe;
    color:#0369a1;
    margin-bottom:15px;
}

.detail-image{
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.detail-content{
    font-size: 16px;
    line-height: 1.9;
    color: #334155;
    text-align: justify;
}

.detail-content p{
    margin-bottom: 15px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .detail-berita-card{
        padding: 25px;
    }

    .detail-title{
        font-size: 24px;
    }
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    margin-bottom:20px;
    color:#64748b;
    flex-wrap:wrap;
}

.breadcrumb a{
    text-decoration:none;
    color:var(--primary);
    font-weight:500;
    transition:.2s;
}

.breadcrumb a:hover{
    color:#0b3a63;
    text-decoration:underline;
}

.breadcrumb span{
    color:#94a3b8;
}

.breadcrumb .active{
    color:#0f172a;
    font-weight:600;
}

/* =========================
   DETAIL HERO MODERN
========================= */

.detail-hero{
    padding: 120px 0 40px;
    background: linear-gradient(135deg, rgba(15,76,129,.08), rgba(244,197,66,.08));
}

.detail-hero-box{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    border: 1px solid rgba(15,76,129,.08);
}

/* badge */
.detail-badge{
    display:inline-block;
    padding:6px 12px;
    font-size:12px;
    border-radius:999px;
    background:#e0f2fe;
    color:#0369a1;
    margin-bottom:15px;
}

/* back button */
.back-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:20px;
    padding:10px 16px;
    background: var(--primary);
    color:white;
    border-radius:10px;
    text-decoration:none;
    font-size:14px;
    transition:.3s;
}

.back-btn:hover{
    background:#0b3a63;
    transform:translateY(-2px);
}

/* content section */
.detail-content-section{
    padding: 40px 0 80px;
}

.detail-content-card{
    background:white;
    padding:40px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* responsive */
@media(max-width:768px){
    .detail-hero-box{
        padding:25px;
    }

    .detail-content-card{
        padding:25px;
    }

    .detail-title{
        font-size:24px;
    }
}

.pengumuman-section,
.berita-section,
.fitur-section,
.kontak-section,
.welcome{
    margin-bottom:40px;
}

.welcome,
.fitur-section,
.berita-section,
.pengumuman-section,
.kontak-section{
    padding:60px 0;
}


/* =========================
   ERROR 404
========================= */

.error-section{
    padding:80px 0;
}

.error-card{
    background:white;
    border-radius:32px;
    padding:60px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    max-width:900px;
    margin:auto;
}

.error-icon{
    width:100px;
    height:100px;
    margin:0 auto 25px;
    border-radius:50%;
    background:rgba(15,76,129,.08);
    display:flex;
    align-items:center;
    justify-content:center;
}

.error-icon i{
    font-size:42px;
    color:var(--primary);
}

.error-card h2{
    font-size:36px;
    color:var(--primary);
    margin-bottom:20px;
}

.error-card p{
    max-width:650px;
    margin:0 auto;
    line-height:1.8;
    color:#64748b;
}

.error-buttons{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.error-buttons a{
    display:inline-flex;
    align-items:center;
    gap:10px;
}


/* RESPONSIVE HANDPHONE */

@media(max-width:768px){

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    padding:12px 16px;
}

.menu{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:white;
    flex-direction:column;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-top:1px solid #e5e7eb;
}

.menu-toggle{
    display:block;
    background:none;
    border:none;
    font-size:28px;
    cursor:pointer;
    color:var(--primary);
}

.menu.active{
    display:flex;
}

.menu li{
    width:100%;
}

.menu a{
    display:flex;
    align-items:center;
    padding:16px 24px;
    min-height:60px;
    font-size:17px;
    font-weight:500;
    color:#334155;
    border-bottom:1px solid #f1f5f9;
    transition:.3s;
}

.menu a:hover{
    background:#f8fafc;
    color:var(--primary);
}

.menu{
    gap:0;
}

.hero{
    padding-top:100px;
}

.hero h1{
    font-size:40px;
    max-width:100%;
    width:100%;
    line-height:1.15;
    letter-spacing:-1px;
    overflow-wrap:break-word;
    word-break:normal;
}

.hero p{
    font-size:16px;
}

.hero-logo{
    width:100px;
}

.hero-content{
    width:100%;
    max-width:100%;
    padding:0 15px;
    overflow:hidden;
}

.logo-area{
    flex:1;
    gap:10px;
}

.logo-area img{
    width:50px;
    height:auto;
}

.logo-text h2{
    font-size:16px;
    line-height:1.2;
}

.logo-text p{
    font-size:11px;
    margin-top:2px;
}

html,
body{
    overflow-x:hidden;
    max-width:100%;
}

.kepsek-card{
        grid-template-columns:1fr;
        padding:25px;
        gap:20px;
    }

.kepsek-card img{
    width:100%;
    max-width:220px;
    margin:auto;
    display:block;
}

.kepsek-nama{
    margin-top:25px;
    text-align:right;
    font-weight:700;
    color:var(--primary);
}

.guru-grid{
    grid-template-columns:
    repeat(2,minmax(0,1fr));
}

.guru-card img{
    width:100px;
    height:100px;
}

.about{
    grid-template-columns:1fr;
    gap:25px;
    padding:25px;
}

.error-card{
    padding:35px 25px;
}

.error-card h2{
    font-size:28px;
}

}