/* ============================
   GLOBAL
============================ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #333;
}

section {
    padding-top: 60px;
    padding-bottom: 60px;
}

a {
    text-decoration: none;
}

/* ============================
   NAVBAR CUSTOM PRIMARY
============================== */

.navbar {
    background-color: #0d6efd !important;   /* primary */
}

/* Brand */
.navbar .navbar-brand,
.navbar .navbar-brand strong {
    color: #ffffff !important;
}

/* Teks nav link */
.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 10px 18px;
    transition: color .25s ease;
}

/* Hover warna lebih terang */
.navbar .nav-link:hover {
    color: #dbe9ff !important;  /* biru muda */
    background: #28a745; /* hijau */
    border-radius: 5px;
    color: #ffffff;
}

/* Active item */
.navbar .nav-link.active {
    color: #ffefb3 !important;  /* kuning lembut */
    font-weight: 600;
}

/* Icon di dalam navbar juga dibuat putih */
.navbar i {
    color: #ffffff !important;
}

/* Tombol outline warna putih */
.navbar .btn-outline-primary {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* Hover tombol logout */
.navbar .btn-outline-primary:hover {
    background-color: #28a745 !important;
    color: #0d6efd !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5); /* warna border */
}

/* ============================
   HERO SECTION
============================ */
#hero {
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
}

#hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #002c6a;
}

#hero p {
    font-size: 1.2rem;
    color: #4b5c77;
}

/* Mobile Hero Text */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1rem;
    }
}

/* ============================
   PROGRAM SECTION 
============================ */
.program-card {
    border: 1px solid #eee;
    border-radius: 12px;
    transition: .3s;
    background: #fff;
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.program-icon {
    width: 80px;
    height: 80px;
}


/* ============================
   FOOTER
============================ */
.site-footer {
    background: #002c6a;
    color: white;
    padding: 50px 0;
}

.site-footer a {
    color: #c6d4ff;
}

.site-footer a:hover {
    color: white;
}

/* ============================
   MOBILE NAV FIX
============================ */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 20px;
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
    }
    .header-buttons {
        margin-top: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s ease;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.blog-card {
    transition: .3s ease;
    border-radius: 12px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card {
    border-radius: 14px;
}


.card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.rounded-circle {
    border: 4px solid #f8f9fa;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);

}

.video-card {
    border-radius: 14px;
    overflow: hidden;
    transition: 0.25s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Thumbnail */
.video-thumb {
    height: 220px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

/* Play button */
.play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
}

.play-btn i {
    color: #0d6efd;
    font-size: 1.25rem;
}

.play-btn:hover i {
    color: #fff;
}

/* Judul maksimum 2 baris */
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Deskripsi maksimum 2 baris */
.description-short {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.play-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* Jarak antar card di mobile */
@media (max-width: 576px) {
    .video-card {
        margin-bottom: 15px;
    }

    .carousel-item .row {
        row-gap: 15px !important;   /* jarak vertikal */
        column-gap: 0px !important; /* jarak horizontal */
    }

    .video-card img {
        border-radius: 10px 10px 0 0;
    }

    .card-body {
        padding: 12px !important;
    }
}

.core-skills-cards {
  font-family: "Poppins", sans-serif;
}

.core-skills-cards h2 {
  font-weight: 600;
  background: linear-gradient(90deg, #4A7BFF, #8A2BE2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skill-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: default;
  
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.skill-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.skill-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.skill-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555;
}

/* Responsive */
@media (max-width: 992px) {
  .skill-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .skill-card {
    padding: 18px;
  }
}

.carousel-item .card {
    min-height: 320px; /* Supaya tinggi kartu sama */
}
