/* ==========================
   GLOBAL
========================== */
body {
    font-family: 'Poppins', sans-serif;
    background: #e8e0ff;
    margin: 0;
}

/* NAVBAR */
.navbar-custom {
    background: #3B1C6D !important;
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}


/* ======================================
   TABLET & MOBILE (below 1200px)
====================================== */
@media (max-width: 1199.98px) {

    .navbar-custom > .container {
        display: flex;
        flex-wrap: wrap;
    }

    .navbar-custom .navbar-collapse {
        flex-basis: 100%;
        margin-top: 10px;
    }

    .navbar-custom .navbar-toggler {
        border-color: rgba(220, 205, 255, .45);
        box-shadow: none;
    }

    .navbar-custom .navbar-toggler-icon {
        filter: invert(1);
    }

    .navbar-custom .nav-link {
        display: block;
        width: 100%;
        margin: 6px 0;
        text-align: left;
        padding: 12px 16px !important;

        background: rgba(255, 220, 255, 0.22); 
        border-radius: 10px;

        transform: none !important;
        box-shadow: none !important;
        transition: 0.25s ease;
        color: white !important;
    }

    .navbar-custom .nav-link:hover {
        background: rgba(255, 160, 255, 0.32);
        color: #ffffff !important;  /* FIX agar tidak hilang */
    }

    .navbar-nav {
        padding: 8px 4px;
        gap: 4px;
    }

    .navbar-custom .navbar-nav { width: 100%; }

    .navbar-custom .profile-dropdown {
        position: static !important;
        width: 100%;
        margin: 2px 0 8px;
    }

    .navbar-brand {
        font-size: 1.15rem;
    }
}
.navbar-custom .navbar-brand {
    color: #fdfaff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.navbar-custom .tagline {
    font-size: 0.72rem;
    font-weight: 300;
    color: #e8d9ff; /* ungu pastel cocok dengan navbar */
    letter-spacing: 0.3px;
    text-shadow: 0 0 4px rgba(255,255,255,0.25);
}


/* ======================================
   WIDE DESKTOP (1200px and above)
====================================== */
@media (min-width: 1200px) {

    .navbar-custom > .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 14px;
    }

    .navbar-custom .navbar-collapse {
        flex: 1 1 auto;
        min-width: 0;
        margin-top: 0;
    }

    .navbar-custom .navbar-nav {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 2px;
    }

    .navbar-custom .navbar-brand {
        flex: 0 0 auto;
        margin-right: 8px;
        white-space: nowrap;
    }

    .navbar-custom .navbar-brand img {
        width: 40px !important;
    }

    .navbar-custom .nav-link {
        padding: 9px 9px !important;
        margin: 0;
        border-radius: 10px;
        transition: 0.25s ease;
        font-size: .74rem;
        font-weight: 600;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.10); 
        color: #f4ebff !important; /* biar kelihatan */
    }

    .navbar-custom .nav-link:hover {
        background: rgba(255, 255, 255, 0.22) !important;
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.18);
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-custom > .container { gap: 8px; }
    .navbar-custom .navbar-brand { font-size: .93rem; gap: 7px !important; margin-right: 2px; }
    .navbar-custom .navbar-brand img { width: 35px !important; }
    .navbar-custom .tagline { font-size: .61rem; }
    .navbar-custom .navbar-nav { gap: 1px; }
    .navbar-custom .nav-link { padding: 8px 7px !important; font-size: .68rem; }
}

@media (max-width: 575.98px) {
    .navbar-custom { padding: 10px 0; }
    .navbar-custom .navbar-brand { gap: 7px !important; margin-right: 0; font-size: 1rem; }
    .navbar-custom .navbar-brand img { width: 32px !important; }
    .navbar-custom .tagline { font-size: .59rem; letter-spacing: .1px; }
    .navbar-custom .navbar-toggler { padding: .3rem .48rem; }
}

.navbar-custom .profile-dropdown {
    border: 1px solid rgba(169, 132, 255, .35);
    border-radius: 14px;
    background: #27104f;
    box-shadow: 0 14px 34px rgba(14, 4, 38, .32);
    padding: 8px;
}
.navbar-custom .profile-dropdown .dropdown-item {
    color: #eee7ff;
    border-radius: 9px;
    padding: 9px 12px;
    font-size: .78rem;
    font-weight: 600;
}
.navbar-custom .profile-dropdown .dropdown-item:hover,
.navbar-custom .profile-dropdown .dropdown-item:focus {
    color: #fff;
    background: linear-gradient(100deg, #6941a5, #423078);
}


/* ==========================
   HERO SECTION
========================== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: url('../img/foto-sekolah.jpg') center/cover no-repeat;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero-content p {
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* CARD BERITA */
.card-berita {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* FOOTER */
footer {
    position: relative;
    z-index: 10;
    clear: both;
    width: 100%;
    background-color: #3B1C6D;
    color: white;
}
.footer a:hover {
    color: #e5cfff !important;
}

.footer h5 {
    letter-spacing: 0.5px;
}

.footer iframe {
    box-shadow: 0 3px 18px rgba(0,0,0,0.25);
}

/* Profile page refresh — retain the site's purple palette */
.profile-page { background: #f7f4fc; color: #26183d; }
.profile-hero { background: #3B1C6D; color: #fff; min-height: 430px; }
.profile-hero-copy { position: relative; z-index: 1; }
.profile-eyebrow { color: #bca2ed; font-size: .76rem; font-weight: 700; letter-spacing: .16em; }
.profile-hero-copy h1 { line-height: 1.08; }
.profile-hero-image { min-height: 430px; height: 100%; background: linear-gradient(90deg,rgba(59,28,109,.22),transparent),url('../img/foto-sekolah.jpg') center/cover no-repeat; }
.profile-story,.profile-highlight { border-radius: 22px; background: #fff; box-shadow: 0 14px 45px rgba(59,28,109,.08); }
.profile-story p,.profile-highlight p { color: #625b70; line-height: 1.85; }
.profile-highlight { background: linear-gradient(145deg,#fff 10%,#f1eafd 100%); }
.profile-highlight hr { border-color: #d8c9f0; margin: 1.5rem 0; }
.profile-mark { color: #3B1C6D; font-size: 2.5rem; font-weight: 800; letter-spacing: -.08em; }
.profile-values { color: #fff; background: linear-gradient(120deg,#3B1C6D,#6540a0); }
.profile-values .profile-eyebrow { color: #d7c7f5; }
.galeri-card { overflow: hidden; padding: 10px; background: #fff; border-radius: 15px; box-shadow: 0 8px 24px rgba(40,20,70,.08); }
.galeri-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.spmb-hero { background: linear-gradient(125deg,#3B1C6D,#7654ad); }
.activities-page { min-height: 55vh; background: radial-gradient(ellipse at top right,#ece3fb 0,transparent 42%),#f8f6fc; }
.activities-hero { color: #fff; background: linear-gradient(130deg,#3B1C6D,#6f49a7); box-shadow: 0 16px 40px rgba(59,28,109,.16); }
.activities-kicker { color: #ddcff5; font-size: .75rem; font-weight: 700; letter-spacing: .17em; }
.activity-heading { display: flex; align-items: center; gap: 12px; color: #3B1C6D; }
.activity-dot { width: 12px; height: 34px; border-radius: 12px; background: #8d69c5; }
.activity-card { overflow: hidden; background: #fff; border: 1px solid #eee8f7; border-radius: 18px; box-shadow: 0 9px 28px rgba(59,28,109,.07); transition: transform .2s ease,box-shadow .2s ease; }
.activity-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(59,28,109,.14); }
.activity-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media(max-width:767px){.profile-hero-image{min-height:260px;order:-1}.profile-hero{min-height:unset}.profile-hero-copy{padding-top:2rem!important;padding-bottom:2rem!important}}
/* ==========================
   Visi & Misi Section
========================== */
.visi-misi {
    position: relative;
    min-height: 80vh;
    background: url('../img/foto-sekolah.jpg') center/cover no-repeat;
    color: white;
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
    text-align: center;
    padding: 40px 20px;
}

/* Layer gelap transparan di belakang untuk teks lebih jelas */
.visi-misi::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.visi-misi-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6); /* Background semi transparan untuk card */
    padding: 40px;
    border-radius: 12px;
}

/* Header dan paragraf */
.visi-misi h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.visi-misi p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Animasi pada teks */
.visi-misi-content[data-aos="fade-up"] {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================
   Profil Sekolah Section (Grid Layout)
========================== */
.profil-sekolah {
    background: #f4f2fa;
    padding: 60px 0;
    text-align: center;
}

.profil-sekolah-header {
    margin-bottom: 40px;
}

.profil-sekolah h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.profil-sekolah p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Card Styling for Profile Sections */
.profil-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profil-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.profil-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.profil-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* AOS Animation */
.profil-card[data-aos="fade-up"],
.profil-card[data-aos="fade-right"],
.profil-card[data-aos="fade-left"] {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Grid */
@media (max-width: 768px) {
    .profil-card {
        padding: 20px;
    }

    .profil-sekolah h1 {
        font-size: 2rem;
    }

    .profil-sekolah p {
        font-size: 1rem;
    }
}


/* ==========================
   Galeri Section Styling
========================== */
.galeri {
    background-color: #f4f2fa;
    padding: 60px 0;
    text-align: center;
}

.galeri-header {
    margin-bottom: 40px;
}

.galeri-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.galeri-header p {
    font-size: 1.2rem;
    color: #555;
}

.kegiatan h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Card Styling for Galeri Sections */
.galeri-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeri-card img {
    width: 100%;
    height: 250px;  /* Fix the height for consistent display */
    object-fit: cover;  /* Ensures the image covers the area without stretching */
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.galeri-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.galeri-card:hover img {
    transform: scale(1.1);  /* Zoom effect on image */
}

/* AOS Animation */
.galeri-card[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 1s forwards;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .galeri-header h1 {
        font-size: 2rem;
    }

    .galeri-header p {
        font-size: 1rem;
    }

    .kegiatan h3 {
        font-size: 1.5rem;
    }

    .galeri-card {
        margin-bottom: 20px;
    }

    .galeri-card img {
        height: 200px;  /* Adjust image height for smaller screens */
    }
}

/* ==========================
   Kata Sambutan Section
========================== */
.kata-sambutan {
    background-color: #f4f2fa;
    padding: 60px 0;
}

.kata-sambutan h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

.kata-sambutan p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.kepsek-foto img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.sambutan-text {
    margin-left: 30px;  /* Memberikan jarak antara foto dan teks */
}

@media (max-width: 768px) {
    .kata-sambutan h2 {
        font-size: 2rem;
        text-align: center;
    }

    .row {
        text-align: center; /* Agar foto dan teks rata tengah pada layar kecil */
    }

    .sambutan-text {
        margin-left: 0;
        margin-top: 20px;
    }

    .kepsek-foto img {
        width: 80%;  /* Mengurangi ukuran foto pada layar kecil */
        margin-bottom: 20px;
    }
}

/* ==========================
   Developer Section
========================== */
.developer {
    background-color: #f4f2fa;
    padding: 60px 0;
    text-align: center;
}

.developer-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.developer-header p {
    font-size: 1.2rem;
    color: #555;
}

.developer-header .developer-motto {
    display: inline-block;
    margin: 0 0 1.75rem;
    color: #573783;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-style: italic;
    letter-spacing: .08em;
}

.developer-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.developer-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #3B1C6D;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.developer-card .developer-info {
    margin-top: 20px;
}

.developer-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.developer-card .position {
    font-size: 1rem;
    color: #777;
}

.developer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* AOS Animation */
.developer-card[data-aos="zoom-in"] {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

/* Profile sub-navigation, cyber vision cards, and facilities gallery */
.profile-subnav { position: sticky; top: 0; z-index: 20; padding: 11px 0; background: rgba(18, 10, 42, .94); border-bottom: 1px solid rgba(144, 110, 255, .28); backdrop-filter: blur(16px); }
#visi-misi,#sejarah { scroll-margin-top:80px; }
.profile-subnav a { color: #d9ccff; text-decoration: none; padding: 8px 15px; border: 1px solid rgba(180, 155, 255, .18); border-radius: 999px; font-size: .82rem; font-weight: 600; transition: .2s ease; }
.profile-subnav a:hover,.profile-subnav a.active { color: #fff; background: linear-gradient(100deg,#6840a6,#3c6ac5); border-color: rgba(155, 215, 255, .55); box-shadow: 0 0 22px rgba(102, 106, 255, .22); }
.vision-cyber { position: relative; overflow: hidden; color: #f5f2ff; background: radial-gradient(ellipse at 15% 12%,rgba(29, 206, 255, .13),transparent 32%),radial-gradient(ellipse at 90% 84%,rgba(167, 77, 255, .18),transparent 34%),#090d21; }
.vision-cyber::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.12; background-image:linear-gradient(rgba(130,178,255,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(130,178,255,.25) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,transparent,#000 20%,#000 80%,transparent); }
.vision-heading,.vision-cyber .container { z-index:1; }
.vision-heading { max-width:760px; color:#d7d3e7; }
.vision-heading h2 { color:#fff; letter-spacing:-.04em; }
.vision-kicker,.facility-label { color:#79eaff; font-size:.72rem; font-weight:700; letter-spacing:.2em; }
.vision-card,.mission-card { position:relative; overflow:hidden; border:1px solid rgba(139,160,255,.2); border-radius:22px; background:linear-gradient(145deg,rgba(25,34,65,.92),rgba(17,20,46,.94)); box-shadow:0 18px 48px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.04); }
.vision-main { display:flex; flex-direction:column; justify-content:center; min-height:350px; border-color:rgba(101,224,255,.35); background:linear-gradient(145deg,rgba(27,57,91,.95),rgba(41,24,79,.96)); }
.vision-main h3 { max-width:440px; line-height:1.6; }
.vision-index { color:#93e9ff; font-size:.75rem; font-weight:700; letter-spacing:.16em; }
.vision-orbit { position:absolute; width:195px; height:195px; right:-80px; bottom:-90px; border:1px solid rgba(119,228,255,.5); border-radius:50%; box-shadow:0 0 0 20px rgba(86,190,255,.04),0 0 0 42px rgba(86,190,255,.035),0 0 55px rgba(65,197,255,.25); }
.mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.mission-card { display:flex; align-items:flex-start; gap:14px; padding:20px; transition:transform .22s ease,border-color .22s ease; }
.mission-card:hover { transform:translateY(-4px); border-color:rgba(97,225,255,.58); }
.mission-card>span { color:#77e7ff; font-size:.8rem; font-weight:700; }
.mission-card h3 { color:#fff; font-size:1rem; font-weight:700; }
.mission-card p { margin:0; color:#b4b5cb; font-size:.88rem; line-height:1.65; }
.facilities-page { min-height:60vh; color:#ece9ff; background:radial-gradient(ellipse at 80% 0,rgba(58,113,195,.18),transparent 36%),#090d21; }
.facilities-hero { max-width:800px; padding:34px; border:1px solid rgba(124,201,255,.22); border-radius:24px; background:linear-gradient(120deg,rgba(26,46,80,.94),rgba(39,23,77,.92)); box-shadow:0 18px 50px rgba(0,0,0,.2); }
.facilities-hero h1 { color:#fff; letter-spacing:-.04em; }
.facilities-hero p { color:#c6c2d7; }
.facility-card { overflow:hidden; border:1px solid rgba(128,164,255,.2); border-radius:20px; background:linear-gradient(160deg,#151d39,#11152b); box-shadow:0 16px 36px rgba(0,0,0,.22); transition:transform .22s ease,border-color .22s ease; }
.facility-card:hover { transform:translateY(-5px); border-color:rgba(100,222,255,.55); }
.facility-photo-wrap { position:relative; overflow:hidden; aspect-ratio:16/10; background:#171b36; }
.facility-photo-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.facility-card:hover .facility-photo-wrap img { transform:scale(1.04); }
.facility-number { position:absolute; left:16px; top:16px; display:grid; place-items:center; width:42px; height:42px; border:1px solid rgba(155,239,255,.65); border-radius:13px; color:#dffaff; background:rgba(8,16,38,.78); font-weight:700; backdrop-filter:blur(10px); }
.facility-copy { padding:22px; }
.facility-copy h2 { margin:8px 0 9px; color:#fff; font-size:1.25rem; font-weight:700; }
.facility-copy p { color:#b8b9ce; line-height:1.7; }
.facilities-empty { padding:55px 25px; text-align:center; border:1px dashed rgba(130,164,255,.35); border-radius:22px; background:rgba(18,23,48,.65); color:#c4c4d5; }
.facilities-empty h2 { color:#fff; }
.facility-empty-icon { display:block; margin-bottom:12px; color:#73e4ff; font-size:3rem; }
@media(max-width:767px){.mission-grid{grid-template-columns:1fr}.facilities-hero{padding:25px}.profile-subnav a{font-size:.76rem;padding:7px 11px}}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .developer-card {
        padding: 15px;
    }

    .developer-header h1 {
        font-size: 2rem;
    }

    .developer-header p {
        font-size: 1rem;
    }
}

/* ==========================
   Berita Section
========================== */
.berita {
    background-color: #f4f2fa;
    padding: 60px 0;
    text-align: center;
}

.berita-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.berita-header p {
    font-size: 1.2rem;
    color: #555;
}

.berita-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.berita-card img {
    width: 100%;
    height: 250px; /* Menetapkan tinggi tetap untuk gambar */
    object-fit: cover; /* Menjaga gambar sesuai dengan ukuran kontainer */
    border-radius: 12px 12px 0 0; /* Sudut atas bulat */
}

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

.berita-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.berita-card .card-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.berita-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* AOS Animation */
.berita-card[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 1s forwards;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .berita-header h1 {
        font-size: 2rem;
    }

    .berita-header p {
        font-size: 1rem;
    }

    .berita-card {
        margin-bottom: 20px;
    }

    .berita-card img {
        height: 200px;  /* Adjust image height for smaller screens */
    }
}

/* ==========================
   Kontak Section
========================== */
.kontak {
    background-color: #f4f2fa;
    padding: 60px 0;
    text-align: center;
}

.kontak-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.kontak-header p {
    font-size: 1.2rem;
    color: #555;
}
.kontak { color:#eef0ff; background:radial-gradient(ellipse at 15% 0,rgba(75,201,255,.1),transparent 38%),#090d21; }
.kontak-header h1 { color:#fff; }
.kontak-header p { color:#bec1d5; }
.kontak .form-label { color:#dbe1ff; }
.kontak .form-control { color:#f3f4ff; background:#0e1430; border:1px solid rgba(137,159,226,.28); }
.kontak .form-control:focus { color:#fff; background:#101936; border-color:#53dfff; box-shadow:0 0 0 .2rem rgba(61,204,255,.13); }
.kontak .form-control::placeholder { color:#7883a5; }
.kontak form.card { color:#eef0ff; background:linear-gradient(145deg,#151c39,#0e142d)!important; border:1px solid rgba(130,153,255,.18); box-shadow:0 18px 45px rgba(0,0,0,.23)!important; }
.cyber-contact-card { border:1px solid rgba(111,214,255,.23); background:linear-gradient(145deg,rgba(21,31,61,.95),rgba(16,18,44,.95)); box-shadow:0 18px 45px rgba(0,0,0,.22); text-align:left; }
.cyber-contact-card h2 { color:#fff; }
.contact-line { display:grid; grid-template-columns:88px 1fr; gap:10px; margin:18px 0; color:#e7eaff; }
.contact-line span { color:#89e9ff; font-size:.77rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.contact-line strong,.contact-line a { color:#e7eaff; font-weight:500; text-decoration:none; overflow-wrap:anywhere; }
.contact-line a:hover { color:#8cecff; }
.contact-map-wrap { overflow:hidden; border:1px solid rgba(111,214,255,.28); border-radius:15px; box-shadow:0 10px 28px rgba(0,0,0,.25); }
.kontak .alert-success { color:#caffed; background:#10352e; border-color:#26745f; }
.kontak .alert-danger { color:#ffd1dc; background:#391622; border-color:#914253; }
@media(max-width:575px){.contact-line{grid-template-columns:1fr;gap:2px}.kontak-header h1{font-size:2.1rem}}

.form-label {
    font-weight: 600;
    color: #3B1C6D;
}

form .form-control {
    border-radius: 12px;
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 15px;
}

form button {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    background-color: #3B1C6D;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #5b3e91;
}

.alert {
    margin-top: 20px;
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.developer-img {
    width: 100px; /* Ukuran foto kecil */
    height: 100px; /* Ukuran foto kecil */
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #3B1C6D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.developer-img:hover {
    transform: scale(1.1); /* Efek zoom saat hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .kontak-header h1 {
        font-size: 2rem;
    }
    
    .form-control, button {
        font-size: 1rem;
    }
    
.developer-img {
    max-width: 100px;  /* Mengatur ukuran maksimal gambar */
    margin-bottom: 10px;  /* Memberikan sedikit jarak antara gambar dan teks */
}

.developer-img:hover {
    transform: scale(1.05);  /* Efek zoom saat hover */
    transition: transform 0.3s ease;
}
.toast-container {
    z-index: 1050;
}

.toast {
    min-width: 300px;
    max-width: 400px;
}
}
