/* ==========================================
   RESET BASE & CONTAINER (Agar aman)
========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   HALAMAN TENTANG (DESKTOP)
========================================== */

/* Hero khusus halaman Tentang */
.hero-about {
    height: 380px;
    min-height: 380px;
    background: url("../images/gedung.jpg") center center/cover no-repeat;
}

/* History Section */
.history {
    padding: 100px 0 150px;
    background: #f8fafc;
}

/* Judul History */
.history-title {
    text-align: center;
    margin-bottom: 60px;
}

.history-title span {
    color: #1FA463;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.history-title h2 {
    font-size: 42px;
    margin: 12px 0;
    color: #222;
}

.history-title p {
    color: #777;
    font-size: 18px;
}

/* Layout History */
.history-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 50px;
    align-items: center;
}

.history-text {
    width: 100%;
    padding-top: 10px;
}

.history-text p {
    font-size: 17px;
    color: #555;
    line-height: 2;
    text-align: justify;
    margin-bottom: 22px;
}

.history-text strong {
    color: #1FA463;
}

/* Swiper */
.historySwiper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.historySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.historySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tombol Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 26px;
    font-weight: bold;
}

/* Titik Swiper */
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: .6;
}

.swiper-pagination-bullet-active {
    background: #1FA463;
    opacity: 1;
}

/* ==========================================
   MASTERPLAN (DESKTOP)
========================================== */
.masterplan {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: #1FA463;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 46px;
    margin: 15px 0;
    color: #222;
}

.section-title p {
    color: #777;
    font-size: 18px;
}

.masterplan-content {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 35px;
    align-items: center;
}

.masterplan-image img {
    width: 100%;
    border-radius: 25px;
    display: block;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .15);
}

.tower-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tower-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: .3s;
}

.tower-card:hover {
    transform: translateY(-8px);
}

.tower-card i {
    font-size: 40px;
    color: #1FA463;
    margin-bottom: 15px;
}

.tower-card h3 {
    margin-bottom: 10px;
    color: #222;
}

.tower-card p {
    color: #666;
    line-height: 1.7;
}

/* ==========================================
   FASILITAS (DESKTOP)
========================================== */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.facility-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    transition: .3s;
}

.facility-card:hover {
    transform: translateY(-8px);
}

.facility-card i {
    font-size: 42px;
    color: #1FA463;
    margin-bottom: 18px;
}

.facility-card h3 {
    margin-bottom: 12px;
}

.facility-card p {
    color: #666;
    line-height: 1.8;
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVE)
========================================== */

/* TABLET (max-width: 991px) */
@media (max-width: 991px) {
    .history {
        padding: 70px 0;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .historySwiper {
        height: 350px;
    }

    .history-title h2 {
        font-size: 34px;
    }

    .history-title p {
        font-size: 16px;
    }

    .masterplan-content {
        grid-template-columns: 1fr;
    }

    .tower-list {
        grid-template-columns: 1fr 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* MOBILE (max-width: 768px) */
@media (max-width: 768px) {
    .masterplan {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .tower-list,
    .facility-grid {
        grid-template-columns: 1fr;
    }
}

/* SMALL MOBILE (max-width: 576px) */
@media (max-width: 576px) {
    .hero-about {
        height: 280px;
        min-height: 280px;
    }

    .historySwiper {
        height: 250px;
    }

    .history-title h2,
    .section-title h2 {
        font-size: 26px;
    }

    .history-text p {
        font-size: 15px;
        line-height: 1.7;
        text-align: left; /* Mencegah kata-kata terpisah jauh di HP */
    }

    .tower-card,
    .facility-card {
        padding: 20px;
    }
}