/* =========================
   HUBUNGI PAGE STYLES
   ========================= */

/* Main Container Layout */
.hubungi-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Text Styling */
.hubungi-page .text {
    width: 100%;
    padding: 20px;
}

.hubungi-page .text.left {
    text-align: left;
}

.hubungi-page .text.center {
    text-align: center;
}

.hubungi-page .text.right {
    text-align: right;
}

/* Image Container */
.hubungi-page .image-container {
    position: relative;
    width: 100%;
}

.hubungi-page .image-with-text {
    position: relative;
}

.hubungi-page .header-image {
    width: 100%;
    height: auto;
}

.hubungi-page .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Contact Cards */
.hubungi-page .contact-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 50px;
}

.hubungi-page .contact-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.hubungi-page .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.hubungi-page .contact-card h3 {
    color: #233a7e;
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #233a7e;
    padding-bottom: 10px;
}

.hubungi-page .contact-card p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.hubungi-page .contact-card strong {
    color: #233a7e;
}

/* Register Button */
.hubungi-page .register-button {
    margin-top: 30px;
    padding: 12px 28px;
    background-color: #233a7e;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hubungi-page .register-button:hover {
    background-color: #1a2a5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Maps Section */
.hubungi-page .maps-section {
    margin: 40px 0;
    width: 100%;
}

.hubungi-page .maps-section h3 {
    text-align: center;
    color: #233a7e;
    margin-bottom: 20px;
}

.hubungi-page .maps-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.hubungi-page .maps-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.hubungi-page .maps-section p {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
    padding: 0 20px;
}

/* FAQ Section */
.hubungi-page .faq-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    width: 100%;
}

.hubungi-page .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.hubungi-page .faq-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
    color: #233a7e;
    font-size: 2rem;
    font-weight: 600;
}

.hubungi-page .faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.hubungi-page .faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #233a7e;
    transition: all 0.3s ease;
}

.hubungi-page .faq-question:hover {
    background-color: rgba(35, 58, 126, 0.03);
}

.hubungi-page .faq-icon {
    min-width: 24px;
    height: 24px;
    margin-left: 16px;
    color: #233a7e;
    transition: transform 0.3s ease;
}

.hubungi-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    color: #555;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(-10px);
}

.hubungi-page .faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
}

.hubungi-page .faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.hubungi-page .faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hubungi-page .container {
        padding: 0 15px;
    }
    
    .hubungi-page .contact-cards {
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .hubungi-page .contact-card {
        padding: 20px;
    }
    
    .hubungi-page .maps-container {
        height: 350px;
    }
    
    .hubungi-page .maps-container iframe {
        height: 350px;
    }
    
    .hubungi-page .faq-section {
        padding: 40px 15px;
    }
    
    .hubungi-page .faq-container h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
    
    .hubungi-page .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .hubungi-page .faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hubungi-page .container {
        padding: 0 10px;
    }
    
    .hubungi-page .text {
        padding: 15px;
    }
    
    .hubungi-page .contact-card {
        padding: 15px;
    }
    
    .hubungi-page .maps-container {
        height: 300px;
    }
    
    .hubungi-page .maps-container iframe {
        height: 300px;
    }
    
    .hubungi-page .faq-section {
        padding: 30px 10px;
    }
    
    .hubungi-page .faq-question {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .hubungi-page .faq-answer p {
        padding: 0 16px 12px;
        font-size: 13px;
    }
}
