/* ================================
   HERO SECTION
================================ */
.hero,
.hero-services,
.hero-contact,
.hero-profil,
.hero-about {
    background: url("../img/tb1.png") center/cover no-repeat;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero { height: 55vh; align-items: center; }
.hero-services { height: 55vh; align-items: center; }
.hero-contact { height: 45vh; align-items: center; }
.hero-about { height: 45vh; align-items: center; }

/* HERO CARD */
.hero-about .hero-card {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Misi Box */
.mission-box {
    min-height: 100%;
    border: 1px solid #eee;
}

.misi-list {
    padding-left: 18px;
}

.misi-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* ================================
   NEWS CARD STYLE
================================ */
.news-section .card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: transform .2s ease, box-shadow .2s ease;
    background: #fff;
}

.news-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* IMAGE SIZE FIX - kecil & rapi */
.news-section .card-img-top {
    height: 170px;
    object-fit: cover;
}

/* TITLE */
.news-section .card-body h4 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #192A56;
}

/* PARAGRAPH */
.news-section .card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ================================
   BUTTONS
================================ */
.btn-primary-custom {
    background-color: #920e0e !important;
    border-color: #920e0e !important;
    color: #fff !important;
    transition: .3s;
}

.btn-primary-custom:hover {
    background-color: #6d0909 !important;
    border-color: #6d0909 !important;
}

/* ================================
   ABOUT SECTION
================================ */
.about-section h2 {
    font-size: 2rem;
    font-weight: 700;
}

.about-section p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ================================
   PROFILE CARD
================================ */
.profile-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e4e4e4;
    backdrop-filter: blur(6px);
    transition: 0.35s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #717e9b;
}

.profile-card h5 { font-size: 1.25rem; }
.profile-card p { font-size: 0.95rem; }

/* ================================
   NAVBAR EFFECT
================================ */
.nav-link:hover { color: #920e0e !important; }

/* ================================
   SERVICE CARDS
================================ */
.service-card {
    border-radius: 14px;
    padding: 25px;
    background-color: #192A56 !important;
    color: #fff !important;
    transition: .35s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.service-card ul,
.service-card li,
.service-card p,
.service-card h5 {
    color: #fff !important;
}

/* ================================
   TEAM CARDS
================================ */
.team-card {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-card img {
    border-radius: 50%;
    object-fit: cover;
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 10px;
}

/* ================================
   FOOTER
================================ */
.footer-area {
    background-color: #717e9b;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
    font-family: Arial, sans-serif;
    margin-top: 40px;
}

.footer-area h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-area p {
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-area a.footer-link {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-area a.footer-link:hover {
    color: #920e0e;
}

.footer-area hr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-area .social-btns a.social-btn {
    display: inline-block;
    margin: 0 5px;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    color: #fff;
    text-align: center;
    transition: 0.3s;
}

.footer-area .social-btns a.social-btn:hover {
    background-color: #920e0e;
    color: #192A56;
    border-color: #920e0e;
}

.footer-area .copyright {
    background-color: #606f8b;
    padding: 10px 0;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid #505f78;
}

.footer-area .copyright a {
    color: #920e0e;
    text-decoration: none;
}

.footer-area .copyright a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .footer-area .row { text-align: center; }
}

/* INSTAFEED */
.instafeed {
    margin: 0;
    padding: 0;
    list-style: none;
}

.instafeed li {
    overflow: hidden;
    width: 25%;
}

.instafeed li img {
    margin: 5px;
}

/* ABOUT PAGE SPACING */
#about .footer-area {
    margin-top: 60px;
}

@media (max-width: 991px) {
    #about .footer-area {
        margin-top: 40px;
    }
}

/* ================================
   HERO RESPONSIVE FIX (TERBARU)
================================ */
@media (max-width: 768px) {
    .hero-about,
    .hero,
    .hero-services,
    .hero-contact,
    .hero-profil {
        height: auto;
        min-height: 65vh;
        padding-top: 150px; /* supaya tidak ketutup navbar */
        padding-bottom: 40px;
        background-position: center top;
    }

    .hero-about .hero-card {
        padding: 18px 20px;
    }

    .hero-about .hero-card h1 {
        font-size: 26px;
    }

    .hero-about .hero-card p {
        font-size: 15px;
    }
}
