/*==================================================
    STYLE.CSS
    WEBSITE PROGRAM STUDI ITB INDONESIA
==================================================*/


/*====================================
    GOOGLE FONT
====================================*/

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


/*====================================
    ROOT
====================================*/

:root{
    --primary:#8B0000;
    --primary-dark:#6f0000;
    --secondary:#FFC107;
    --white:#ffffff;
    --light:#f8f9fa;
    --text:#555;
    --dark:#222;
    --radius:20px;
    --shadow:0 10px 30px rgba(0,0,0,.10);
    --transition:.35s ease;
}


/*====================================
    RESET
====================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;
}

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

a{
    text-decoration:none;
}

section{
    padding:80px 0;
}


/*====================================
    NAVBAR & MOBILE COLLAPSE FIX
====================================*/

.navbar-itbi,
.navbar{
    background:rgba(139,0,0,.96);
    padding:14px 0;
    position:sticky;
    top:0;
    z-index:1060 !important;
    box-shadow:0 3px 15px rgba(0,0,0,.12);
}

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

.logo{
    width:52px;
}

.logo-itbi{
    width:55px;
    height:auto;
}

.brand-title{
    color:#fff;
    font-size:18px;
    font-weight:700;
}

.brand-subtitle{
    color:#eee;
    font-size:10px;
}

.brand-text h4{
    color:#fff;
    font-size:16px;
    margin:0;
    font-weight:700;
}

.brand-text small{
    color:#eee;
    font-size:10px;
}

.navbar-nav{
    gap:8px;
}

.nav-link{
    color:#fff !important;
    font-weight:500;
    position:relative;
    transition:.3s;
}

.nav-link:hover{
    color:var(--secondary)!important;
}

.nav-link.active{
    color:var(--secondary)!important;
}

.nav-link.active::after{
    content:"";
    position:absolute;
    left:15%;
    bottom:-10px;
    width:70%;
    height:3px;
    background:var(--secondary);
    border-radius:30px;
}

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:none;
}

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

/* Fix Dropdown Mobile Menu & Klik Lapis */
@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        z-index: 1060 !important;
    }

    .navbar-collapse {
        background-color: #8B0000;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.4);
        z-index: 1070 !important;
        border-bottom: 3px solid #FFC107;
        border-radius: 0 0 10px 10px;
    }

    .navbar-collapse .nav-link,
    .navbar-collapse .btn {
        position: relative;
        z-index: 1080 !important;
    }

    .navbar-collapse .navbar-nav .nav-item {
        padding: 6px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-collapse .navbar-nav .nav-link {
        padding-bottom: 4px !important;
    }

    .navbar-collapse .btn, 
    .navbar-collapse .btn-warning,
    .navbar-collapse .nav-item .btn {
        display: block;
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }
}


/*====================================
    BUTTON
====================================*/

.btn-daftar{
    background:#FFC107;
    color:#111;
    font-weight:600;
    padding:12px 28px;
    border-radius:10px;
    border:none;
}

.btn-daftar:hover{
    background:#e0ab00;
}

.btn-itb{
    background:var(--secondary);
    color:#111;
    font-weight:600;
    border:none;
    border-radius:10px;
    padding:11px 24px;
    transition:.3s;
}

.btn-itb:hover{
    background:#e2a900;
    color:#111;
}

.btn-merah{
    background:var(--primary);
    color:#fff;
    border:none;
    border-radius:10px;
    padding:11px 24px;
}

.btn-merah:hover{
    background:var(--primary-dark);
    color:#fff;
}


/*====================================
    HERO UMUM
====================================*/

.hero,
.profil-hero,
.academic-hero,
.mahasiswa-hero,
.berita-hero,
.kontak-hero{
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    color:#fff;
    background:
    linear-gradient(
        rgba(139,0,0,.82),
        rgba(139,0,0,.82)
    ),
    url('../images/gedung.png');
    background-size:cover;
    background-position:center;
}

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

.hero-subtitle{
    display:inline-block;
    color:var(--secondary);
    font-size:18px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.hero h1,
.profil-hero h1,
.academic-hero h1,
.mahasiswa-hero h1,
.berita-hero h1,
.kontak-hero h1{
    font-size:64px;
    font-weight:700;
    line-height:1.15;
    margin-bottom:18px;
}

.hero h3{
    font-size:34px;
    font-weight:600;
    margin-bottom:18px;
}

.hero p,
.profil-hero p,
.academic-hero p,
.mahasiswa-hero p,
.berita-hero p,
.kontak-hero p{
    font-size:20px;
    color:#f1f1f1;
    line-height:1.8;
    max-width:650px;
    margin-bottom:35px;
}

.hero .btn-warning{
    background:var(--secondary);
    border:none;
    color:#111;
    font-weight:600;
    padding:14px 34px;
    border-radius:12px;
    transition:.3s;
    margin-bottom:40px;
}

.hero .btn-warning:hover{
    background:#e3ab00;
    transform:translateY(-3px);
}

.hero::before,
.profil-hero::before,
.academic-hero::before,
.mahasiswa-hero::before,
.berita-hero::before,
.kontak-hero::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:linear-gradient(
        to right,
        rgba(139,0,0,.30),
        rgba(139,0,0,.05)
    );
}

.hero-image{
    text-align:right;
}

.hero-image img{
    max-height:520px;
}


/*====================================
    RESPONSIVE HERO
====================================*/

@media(max-width:992px){
    .hero,
    .profil-hero,
    .academic-hero,
    .mahasiswa-hero,
    .berita-hero,
    .kontak-hero{
        min-height:520px;
        text-align:center;
    }
    .hero h1,
    .profil-hero h1,
    .academic-hero h1,
    .mahasiswa-hero h1,
    .berita-hero h1,
    .kontak-hero h1{
        font-size:46px;
    }
    .hero h3{
        font-size:26px;
    }
    .hero p,
    .profil-hero p,
    .academic-hero p,
    .mahasiswa-hero p,
    .berita-hero p,
    .kontak-hero p{
        font-size:17px;
        margin-left:auto;
        margin-right:auto;
    }
    .hero-image{
        display:none;
    }
}

@media(max-width:576px){
    .hero,
    .profil-hero,
    .academic-hero,
    .mahasiswa-hero,
    .berita-hero,
    .kontak-hero{
        min-height:460px;
    }
    .hero h1,
    .profil-hero h1,
    .academic-hero h1,
    .mahasiswa-hero h1,
    .berita-hero h1,
    .kontak-hero h1{
        font-size:36px;
    }
    .hero h3{
        font-size:22px;
    }
    .hero-subtitle{
        font-size:15px;
    }
    .hero p,
    .profil-hero p,
    .academic-hero p,
    .mahasiswa-hero p,
    .berita-hero p,
    .kontak-hero p{
        font-size:16px;
    }
}


/*====================================
    INFO BOX & HOME
====================================*/

.info-box{
    background:linear-gradient(135deg, #b30000, #8b0000);
    border-radius:25px;
    overflow:hidden;
    margin-top:-80px;
    position:relative;
    z-index:99;
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.stat-item{
    padding:35px 30px;
    border-right:1px solid rgba(255,255,255,.15);
}

.stat-item:last-child{
    border-right:none;
}

.stat-content{
    display:flex;
    align-items:center;
    gap:18px;
}

.stat-icon{
    width:65px;
    height:65px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
}

.stat-icon i{
    color:var(--secondary);
    font-size:32px;
}

.stat-text small{
    color:#f5f5f5;
    font-size:14px;
}

.stat-text h3{
    color:#fff;
    font-size:24px;
    font-weight:700;
    margin:3px 0;
}

.stat-text p{
    color:#f3f3f3;
    margin:0;
}

.about-section{
    padding:90px 0;
}

.about-section img{
    border-radius:25px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.about-section p{
    line-height:1.9;
    font-size:17px;
}

.news-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.lihat-semua{
    color:var(--primary);
    font-weight:600;
    transition:.3s;
}

.lihat-semua:hover{
    color:#c00000;
}

.lihat-semua i{
    margin-left:8px;
}

.news-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    height:100%;
}

.news-card:hover{
    transform:translateY(-10px);
}

.news-img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.news-body{
    padding:24px;
}

.news-category{
    color:var(--primary);
    font-weight:600;
    font-size:15px;
}

.news-body h4{
    font-size:22px;
    line-height:1.5;
    color:#222;
    margin:15px 0;
    min-height:95px;
}

.news-date{
    border-top:1px solid #eee;
    padding-top:15px;
    color:#888;
    font-size:14px;
}

.news-date i{
    color:var(--primary);
    margin-right:6px;
}


/*====================================
    HALAMAN PROFIL
====================================*/

.profile-section{
    padding:90px 0;
    background:#fff;
}

.title-line{
    width:70px;
    height:5px;
    background:var(--secondary);
    border-radius:20px;
    margin-bottom:18px;
}

.kaprodi-frame{
    width:360px;
    margin:auto;
    padding:15px;
    border-radius:25px;
    background:#fff;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.kaprodi-img{
    width:100%;
    height:460px;
    object-fit:cover;
    border-radius:18px;
}

.kaprodi-name{
    color:var(--primary);
    font-size:28px;
    font-weight:700;
    margin-top:25px;
}

.kaprodi-jabatan{
    color:#777;
    font-size:18px;
}

.profile-text{
    font-size:17px;
    line-height:1.9;
    color:#555;
}

.visi-card{
    background:#fff;
    border-radius:22px;
    padding:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
    display:flex;
    gap:22px;
}

.visi-card:hover{
    transform:translateY(-8px);
}

.icon-circle{
    width:75px;
    height:75px;
    min-width:75px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--primary), #b00000);
    display:flex;
    align-items:center;
    justify-content:center;
}

.icon-circle i{
    color:var(--secondary);
    font-size:30px;
}

.dosen-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.dosen-card:hover{
    border-radius:16px;
    transform:translateY(-5px);
    box-shadow:0 12px 25px rgba(0,0,0,.15);
}

.dosen-photo{
    height:240px;
    overflow:hidden;
    background:#f7f7f7;
}

.dosen-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
}

.dosen-body{
    padding:18px 20px 20px;
    text-align:center;
}

.dosen-body h5{
    font-size:18px;
    font-weight:600;
    color:#222;
    line-height:1.35;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:12px;
}


/*====================================
    AKADEMIK & KURIKULUM
====================================*/

.akademik-section{
    padding:90px 0;
    background:#fafafa;
}

.akademik-card{
    background:#fff;
    border-radius:22px;
    padding:35px 25px;
    text-align:center;
    height:100%;
    transition:.35s;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.akademik-card:hover{
    transform:translateY(-10px);
}

.akademik-card i{
    width:85px;
    height:85px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto auto 25px;
    background:rgba(255,193,7,.15);
    color:var(--primary);
    font-size:38px;
}

.calendar-card,
.kurikulum-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.calendar-card thead,
.kurikulum-card thead{
    background:var(--primary);
    color:#fff;
}


/*====================================
    MAHASISWA & KEGIATAN
====================================*/

.mahasiswa-section{
    padding:90px 0;
    background:#fff;
}

.menu-mahasiswa{
    background:#fff;
    border-radius:22px;
    padding:35px 25px;
    text-align:center;
    height:100%;
    transition:.35s;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.menu-mahasiswa:hover{
    transform:translateY(-10px);
}

.menu-mahasiswa i{
    width:85px;
    height:85px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto auto 20px;
    background:rgba(255,193,7,.15);
    color:var(--primary);
    font-size:38px;
}

.prestasi-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    height:100%;
}

.prestasi-card:hover{
    transform:translateY(-10px);
}


/*====================================
    BERITA, KONTAK & FOOTER
====================================*/

.berita-section{
    padding:90px 0;
}

.berita-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    height:100%;
}

.berita-card:hover{
    transform:translateY(-10px);
}

.berita-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.berita-content{
    padding:25px;
}

.berita-content span{
    display:inline-block;
    background:#fff3cd;
    color:var(--primary);
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.berita-content h3{
    font-size:23px;
    margin:18px 0;
    color:var(--primary);
    line-height:1.5;
}

.contact-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    height:100%;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-form{
    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-form .form-control{
    border-radius:12px;
    padding:14px;
    border:1px solid #ddd;
}

.map iframe{
    width:100%;
    height:450px;
    border:0;
    border-radius:20px;
}

footer{
    background:#6f0000;
    color:#fff;
    padding:70px 0 20px;
}

footer a{
    color:#ddd;
}

footer a:hover{
    color:var(--secondary);
}

#backToTop{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:999;
}

#backToTop.show{
    opacity:1;
    visibility:visible;
}

#backToTop:hover{
    background:var(--secondary);
    color:#111;
}

/*====================================
    FITUR / KEUNGGULAN PROGRAM STUDI
====================================*/

.fitur-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fitur-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.fitur-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.fitur-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left; /* Biar rapi dibaca rata kiri */
}

.fitur-body h4 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.fitur-body p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/*====================================
    PERBAIKAN LAYANAN AKADEMIK CARD
====================================*/
.akademik-card {
    background: #fff;
    border-radius: 22px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    transition: .35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
}

.akademik-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.akademik-card i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(255, 193, 7, 0.15);
    color: var(--primary);
    font-size: 34px;
}

.akademik-card h4 {
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.akademik-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}


/*====================================
    MODERNISASI KALENDER & TABEL AKADEMIK
====================================*/
.calendar-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border: none;
}

.calendar-card .table {
    margin-bottom: 0;
    vertical-align: middle;
}

.calendar-card thead {
    background-color: var(--primary) !important;
}

.calendar-card th {
    background-color: var(--primary) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 18px 22px;
    border: none;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.calendar-card td {
    padding: 16px 22px;
    color: #444;
    font-size: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.calendar-card tbody tr:last-child td {
    border-bottom: none;
}

.calendar-card tbody tr:hover {
    background-color: #fffaf0; /* Sentuhan soft kuning/krem saat kursor di atas baris tabel */
    transition: background-color 0.2s ease;
}

/*====================================================
    HALAMAN MAHASISWA & KOMPONENNYA
====================================================*/

/* Hero Mahasiswa */
.mahasiswa-hero {
    position: relative;
    padding: 100px 0 140px;
    background: linear-gradient(rgba(139,0,0,0.85), rgba(139,0,0,0.85)), url('../images/gedung.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.mahasiswa-hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin: 15px 0;
    color: #fff;
}

.mahasiswa-hero h1 span {
    color: var(--secondary);
}

.mahasiswa-hero h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f1f1f1;
}

.mahasiswa-hero p {
    font-size: 17px;
    line-height: 1.8;
    color: #eaeaea;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Kotak Statistik Mahasiswa */
.mahasiswa-statistik {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    /*margin-bottom: 25px; /* <--- Pangkas dari 60px jadi 25px biar dekat */*/
}

.statistik-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    overflow: hidden;
}

.statistik-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 30px 25px;
    border-right: 1px solid #eee;
    height: 100%;
}

.statistik-card:last-child {
    border-right: none;
}

.statistik-card .icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    background: rgba(255,193,7,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.statistik-card i {
    color: var(--primary);
    font-size: 28px;
}

.statistik-card h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.statistik-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Header Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* Organisasi Card */
.organisasi-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.organisasi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.organisasi-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(139,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.organisasi-icon i {
    color: var(--primary);
    font-size: 30px;
}

.organisasi-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.organisasi-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.organisasi-section {
    padding-top: 10px; /* <--- Perkecil padding atas */
    padding-bottom: 90px;
}

/* Prestasi Card */
.prestasi-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prestasi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.prestasi-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.prestasi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-prestasi {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.badge-prestasi.nasional {
    background: #dc3545;
}

.badge-prestasi.regional {
    background: #ffc107;
    color: #111;
}

.prestasi-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prestasi-body h5 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}

.prestasi-nama {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.prestasi-footer {
    margin-top: auto;
    border-top: 1px solid #f1f1f1;
    padding-top: 12px;
    color: #777;
    font-size: 13px;
}

/* Kegiatan Card */
.kegiatan-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kegiatan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.kegiatan-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.kegiatan-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kegiatan-kategori {
    display: inline-block;
    background: rgba(139,0,0,0.08);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}

.kegiatan-body h4 {
    font-size: 19px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
}

.kegiatan-body p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

/* Gallery Card */
.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    height: 260px;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.gallery-overlay h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-overlay p {
    margin: 0;
    font-size: 13px;
    color: #ddd;
}

/* Service Card (Portal Layanan) */
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: rgba(255,193,7,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    color: var(--primary);
    font-size: 28px;
}

.service-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.service-card p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Testimonial Card */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-card img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--secondary);
}

.testimonial-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.testimonial-card span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.rating {
    margin: 12px 0;
    color: #ffc107;
    font-size: 13px;
}

.testimonial-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Beasiswa Card */
.beasiswa-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-left: 5px solid var(--secondary);
    border-top: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.beasiswa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.beasiswa-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.beasiswa-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.deadline {
    display: inline-block;
    background: rgba(139,0,0,0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-start;
}