/* Styling Header */
.hero {
    position: relative;
    background: url("/img/smk.webp") center/cover no-repeat;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    color:rgb(250, 241, 241);
    font-size: 30px;
    font-weight: bold;
}
.overlay h2 {
    font-size: 50px;
    font-weight: bold;
}
.hero .overlay {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 2;
}

.title{
    color: #ffffff;
    position: relative;
    z-index: 10; 
}

/* Overlay Gelap */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.712); /* Sedikit lebih terang untuk meningkatkan visibilitas teks */
}
body {
    font-family: Arial, sans-serif;
}

.contact-section {
    background: #f8f9fa;
    text-align: center;
    justify-content: center;
    margin-top: 5%;
    padding: 40px 20px;
}

.contact-section h2 {
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 30px;
}

.contact-section p {
    text-align: center;  
    max-width: 700px;    
    margin: 0 auto;      
    line-height: 1.4;   
    margin-bottom: 5%;
    color: #9F9F9F;
    font-size: 20px;
}

.contact-card {
    background: #213555;
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
}
.contact-card p {
    margin-bottom: 10px; 
    line-height: 1.2;
    font-size: 12px;
}

.contact-card iframe {
    height: 300px; 
    width: 110%;
    margin-bottom: 35px;
}

.contact-card h4 {
    margin-bottom: 30px;
}

.hai{
    margin-left: 3rem;
    margin-right:3rem;
}
.contact-form-hai {
    margin: 0 auto; 
    padding-bottom: 10px;
    margin-left: 68px;
    margin-top: 30px;
}


.contact-form-hai .form-control {
    padding: 17px;
    font-size: 14px; 
}

.form-control {
    margin-bottom: 10px;
}

.contact-form-hai .btn-custom {
    background: #9F9F9F;
    color: white;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hai{
        margin-left: 4px;
        margin-right:4px;
    }
    .contact-card {
        transform: scale(0.85); /* Mengecilkan card menjadi 80% dari ukuran aslinya */
        transform-origin: center; /* Memastikan scaling dilakukan dari tengah */
    }

    .contact-form-hai {
        max-width: 100%; /* Membuat form full width */
        margin-top: 30px;
        margin-left: 5px;
    }

    .contact-card iframe {
        width: 100%;
        height: 200px; /* Kurangi tinggi maps di layar kecil */
    }

    .contact-section h2 {
        font-size: 24px; /* Kurangi ukuran font di layar kecil */
    }

    .contact-section p {
        font-size: 16px;
    }

}