.hero {
    min-height: 100vh;
    background: linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.65)
    ), url('/images/hero.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
}

.program-card {
    background: #1f2933;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    transition: transform .3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

/*  =========================
    HERO SLIDER
    ========================= */

.hero-slider {
    position: relative;
    overflow: hidden;
}

/* tinggi seperti */
.hero-slide {
    height: 75vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

/* overlay gelap (invisible but readable) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* konten di atas overlay */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* =========================
   CAROUSEL CONTROLS (HIDDEN)
========================= */

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

/* ukuran panah */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 45px;
    height: 45px;
    background-size: 100%;
}

/* =========================
   ABOUT SECTION
========================= */

.about-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #dc3545;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111827;
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 12px;
}

/* highlights */
.about-highlights {
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.highlight-item strong {
    font-size: 0.95rem;
    color: #111827;
}

.highlight-item span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* image */
.about-image-wrapper {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    display: inline-block;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* responsive */
@media (max-width: 768px) {
    .about-section {
        padding: 70px 0;
    }

    .about-title {
        font-size: 2rem;
    }
}

/* =========================
   T&D PROGRAMS
========================= */

.td-section {
    background: linear-gradient(180deg, #1f2933, #111827);
    padding: 110px 0;
    color: #ffffff;
}

/* header */
.td-label {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    color: #f87171;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.td-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.td-subtitle {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1rem;
    color: rgba(255,255,255,.75);
}

/* card */
.td-card {
    height: 100%;
    padding: 32px;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.td-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.td-card p {
    font-size: .95rem;
    line-height: 1.6;
    color: rgba(255,255,255,.8);
    margin-bottom: 24px;
}

/* hover effect */
.td-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,.07);
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

/* link */
.td-link {
    font-weight: 600;
    font-size: .9rem;
    color: #f87171;
    text-decoration: none;
    align-self: flex-start;
    transition: color .2s ease;
}

.td-link:hover {
    color: #ffffff;
}

/* responsive */
@media (max-width: 768px) {
    .td-section {
        padding: 80px 0;
    }

    .td-title {
        font-size: 2rem;
    }
}


/* =========================
   WHY CHOOSE US
========================= */

.why-section {
    background: #ffffff;
    padding: 100px 0;
}

/* header */
.why-label {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    color: #dc3545;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.why-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111827;
}

.why-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    color: #6b7280;
}

/* card */
.why-card {
    height: 100%;
    padding: 36px 28px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    text-align: center;
    transition: all .35s ease;
}

.why-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 18px 0 10px;
    color: #111827;
}

.why-card p {
    font-size: .95rem;
    line-height: 1.6;
    color: #6b7280;
}

/* icon */
.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(220,53,69,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto;
}

/* hover */
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

/* responsive */
@media (max-width: 768px) {
    .why-section {
        padding: 80px 0;
    }

    .why-title {
        font-size: 2rem;
    }
}


/* =========================
   CTA SECTION
========================= */

.cta-section {
    padding: 120px 0;
    background: linear-gradient(
        135deg,
        #111827 0%,
        #1f2933 60%,
        #111827 100%
    );
    color: #ffffff;
}

/* box */
.cta-box {
    max-width: 820px;
    margin: 0 auto;
}

/* title */
.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

/* subtitle */
.cta-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
}

/* actions */
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* buttons */
.cta-primary {
    padding: 12px 28px;
    font-weight: 600;
}

.cta-secondary {
    padding: 12px 28px;
    font-weight: 600;
    border-width: 2px;
}

/* hover effect */
.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,.25);
}

/* responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 90px 0;
    }

    .cta-title {
        font-size: 2.1rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
}
