/* Contact Section Modern Styles */

.contact-section-modern {
    padding: 80px 0;
    position: relative;
}

.contact-section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #164852;
    margin-bottom: 15px;
    position: relative;
}

.section-title .bg-text {
    font-size: 120px;
    font-weight: 900;
    color: rgba(22, 72, 82, 0.05);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    z-index: 0;
    line-height: 1;
}

.section-title span:not(.bg-text) {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 15px;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.form-title {
    font-size: 28px;
    font-weight: 600;
    color: #164852;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.form-group-modern {
    margin-bottom: 25px;
}

.form-group-modern label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #164852;
    font-size: 16px;
    z-index: 1;
}

.form-control-modern {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control-modern:focus {
    outline: none;
    border-color: #164852;
    box-shadow: 0 0 0 3px rgba(22, 72, 82, 0.1);
}

.form-control-modern::placeholder {
    color: #999;
}

textarea.form-control-modern {
    padding-top: 15px;
    resize: vertical;
    min-height: 120px;
}

.submit-wrapper {
    position: relative;
    margin-top: 30px;
}

.btn-submit-modern {
    background: linear-gradient(135deg, #164852 0%, #277da0 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 72, 82, 0.3);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.form-loader {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #164852;
}

.form-loader.active {
    display: block;
}

.form-messages {
    margin-top: 20px;
}

.alert-success-message,
.alert-error-message {
    padding: 15px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.alert-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success-message.show,
.alert-error-message.show {
    display: flex;
}

/* Contact Info Styles */
.contact-info-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.info-title {
    font-size: 28px;
    font-weight: 600;
    color: #164852;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.info-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    background: #fff;
    border-color: #164852;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.email-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.phone-icon {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.location-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.contact-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a,
.contact-details span {
    font-size: 16px;
    color: #164852;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0d3540;
}

/* Map Section Styles */
.map-section-modern {
    margin-top: 0;
    position: relative;
}

.map-header {
    background: #164852;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.map-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-section-modern {
        padding: 60px 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-title .bg-text {
        font-size: 80px;
        top: -20px;
    }
}

@media (max-width: 575px) {
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 20px;
    }

    .form-title,
    .info-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-title .bg-text {
        font-size: 60px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .map-wrapper iframe {
        height: 350px;
    }
}

