/* Contact Page Hero Section */
.contact-hero-section {
    background: linear-gradient(rgba(7, 35, 68, 0.85), rgba(7, 35, 68, 0.85)), url('../assets/006.jpg') center/cover no-repeat;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
    color: var(--white);
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Main Section */
.contact-main-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-main-container {
    display: flex;
    gap: 4rem;
    color: white;
}

/* Contact Info Section */
.contact-info-section {
    flex: 1;
    padding-right: 2rem;
}

.contact-info-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-info-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contact-info-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1.2rem;
    margin-top: 0.2rem;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-office-hours {
    margin-bottom: 2rem;
}

.contact-hours-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-hours-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Contact Form Section */
.contact-form-section {
    flex: 1.2;
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-main-form {
    width: 100%;
}

.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.contact-form-message.contact-form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.contact-form-message.contact-form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-form-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 2rem;
}

.contact-form-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-form-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Contact Map Section */
.contact-map-section {
    height: 450px;
}

.contact-map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.contact-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-main-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-info-section {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.2rem;
    }
    
    .contact-main-section {
        padding: 3rem 0;
    }
    
    .contact-info-title,
    .contact-form-title {
        font-size: 1.8rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .contact-map-section {
        height: 350px;
    }

    .contact-main-container {
        gap: 2rem;
    }

    .contact-info-intro {
        font-size: 1rem;
    }
}