/* Contact Page Styles */
/* Removing custom root variables to use main.css variables instead */

/* Title Page Header */
.title-page {
    background-color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--bg-white);
    margin-bottom: 70px;
}

.title-page h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 600;
}

.title-page p {
    font-size: 16px;
}

.title-page a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Contact Section */
.contact-section {
    padding: 0 20px;
    margin-bottom: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 5px 15px var(--shadow-color);
    border-radius: 8px;
    overflow: hidden;
}

/* Contact Information */
.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--footer-bg);
    padding: 50px;
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-group {
    margin-bottom: 30px;
}

.info-group h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.info-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
    color: var(--primary-color);
}

.info-item div p {
    margin: 5px 0;
    font-size: 16px;
    line-height: 1.6;
}

.info-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Contact Form */
.contact-form {
    flex: 1.5;
    min-width: 300px;
    padding: 50px;
    background-color: var(--bg-white);
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(62, 99, 237, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    margin-bottom: 80px;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 450px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--danger-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .title-page {
        padding: 40px 0;
        margin-bottom: 50px;
    }
    
    .title-page h1 {
        font-size: 32px;
    }
    
    .contact-section {
        margin-bottom: 60px;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
    
    .info-group h3 {
        font-size: 20px;
    }
    
    .contact-form h2 {
        font-size: 28px;
    }
    
    .map-section iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .notification {
        left: 20px;
        right: 20px;
        text-align: center;
    }
    
    .contact-info, .contact-form {
        padding: 25px;
    }
    
    .form-group input,
    .form-group textarea,
    .submit-btn {
        padding: 12px;
    }
}
