/* --- CSS ABOUT SECTION --- */

.about-section {

    padding-top: 6rem !important; /* Jarak atas/bawah yang lega */
    padding-bottom: 6rem !important;
}

/* Container untuk membatasi lebar konten */
.about-container {
   width: 100%;
}

/* Gambar */
.about-image {
    /* Menerapkan border-radius agar sudutnya melengkung persis seperti gambar */
    border-radius: 15px; 
}

/* Konten Teks */
.about-content {
    padding-left: 2.5rem; /* Memberi jarak yang cukup antara gambar dan teks di desktop */
}

.about-title {
    
    color: #6381a8; 
    font-size: 6.2rem; /* Ukuran besar, cocok untuk judul section */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem; /* Sedikit lebih kecil dari 1.5rem */
}

.about-text {
    /* Warna teks abu-abu tua */
    color: #6381a8; 
    font-size: 1.25rem; /* Ukuran font deskripsi */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Tombol 'MAKE APPOINTMENT' (Mengikuti style btn-seuri/btn-more-info) */
.btn-about-appointment {
    background-color: #D1A361 !important; 
    border-color: #D1A361 !important;
    color: white !important;
    font-weight: bold;
    padding: 15px 35px; /* Padding lebih besar agar tombol lebih menonjol */
    border-radius: 8px; /* Sudut lebih melengkung */
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-about-appointment:hover {
    background-color: #a87346 !important; 
    border-color: #a87346 !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet dan Desktop Kecil */
@media (max-width: 991.98px) {
    .about-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .about-content {
        padding-left: 1rem; 
        padding-right: 1rem;
        margin-top: 2rem; /* Beri jarak yang jelas di mobile/tablet */
    }

    .about-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .about-text {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .about-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .about-content {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        text-align: center; /* Rata tengah di mobile */
    }

    .about-image {
        margin: 0 auto; 
        display: block;
        border-radius: 10px; /* Sudut sedikit lebih kecil di mobile */
    }

    .about-title, .about-text {
        text-align: center;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }
    
    /* Tombol lebar penuh di mobile */
    .btn-about-appointment {
        display: block; 
        width: 100%;
        max-width: 300px; /* Batasi lebar maksimal tombol */
        margin: 0 auto;
    }
}


.about-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Kolom gambar & teks tetap 50% */
.about-flex > div {
    flex: 1;
}

/* Di mobile tetap 2 kolom, tapi kedua-keduanya mengecil */
@media (max-width: 575.98px) {
    .about-flex {
        flex-direction: row;  /* tetap side-by-side */
    }

    .about-flex > div {
        flex: 1 1 50%;
    }

    .about-image {
        width: 100%;
        height: auto;
    }

    .about-title {
        font-size: 1.4rem;
    }

    .about-text {
        font-size: .9rem;
    }
}
