/**
 * Contact Page Redesigned Styles
 * Modern, user-friendly, and properly aligned layout
 */

/* Contact Area Redesigned */
.contact-area-redesigned {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Contact Header Redesigned */
.contact-header-redesigned {
    margin-bottom: 60px;
}

.contact-image-box {
    position: relative;
}

.contact-image-box img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: block;
}

.facility-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.facility-badge i {
    font-size: 18px;
}

/* Contact Intro Box */
.contact-intro-box h2 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-text {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.benefit-item i {
    color: #0066cc;
    font-size: 22px;
    flex-shrink: 0;
}

.benefit-item span {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

/* Contact Form Box */
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.form-header-redesigned {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0066cc;
}

.form-header-redesigned h3 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header-redesigned p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* Form Group Styling */
.contact-form-box .form-group {
    margin-bottom: 0;
}

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

.contact-form-box label .required {
    color: #e74c3c;
    font-weight: 700;
}

.contact-form-box .form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9f9f9;
    width: 100%;
}

.contact-form-box .form-control:focus {
    background: white;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

.contact-form-box select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230066cc' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

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

/* Form Check */
.agree-label {
    background: #f5f7ff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
    margin-top: 0 !important;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #0066cc;
}

.form-check-label {
    margin-left: 10px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 0;
}

.form-check-label a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Form Actions Redesigned */
.form-actions-redesigned {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-contact,
.btn-secondary-contact {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 180px;
}

.btn-primary-contact {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
}

.btn-primary-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.btn-primary-contact:active {
    transform: translateY(0);
}

.btn-secondary-contact {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary-contact:hover {
    background: #e8e8e8;
    border-color: #ccc;
    transform: translateY(-2px);
}

.btn-secondary-contact:active {
    transform: translateY(0);
}

/* Contact Info Box */
.contact-info-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-box h3 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-intro {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Info Items */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    color: #0066cc;
    font-size: 24px;
}

.info-content h5 {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.info-content a:hover {
    text-decoration: underline;
}

/* Contact Map */
.contact-map {
    margin-top: 60px;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-area-redesigned {
        padding: 60px 0;
    }

    .contact-form-box,
    .contact-info-box {
        padding: 30px;
    }

    .contact-intro-box h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .contact-area-redesigned {
        padding: 40px 0;
    }

    .contact-header-redesigned {
        margin-bottom: 40px;
    }

    .contact-intro-box h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .intro-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .contact-form-box,
    .contact-info-box {
        padding: 25px;
    }

    .form-header-redesigned h3 {
        font-size: 22px;
    }

    .contact-info-box h3 {
        font-size: 20px;
    }

    .btn-primary-contact,
    .btn-secondary-contact {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 150px;
    }

    .contact-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-area-redesigned {
        padding: 30px 0;
    }

    .contact-header-redesigned {
        margin-bottom: 30px;
    }

    .contact-intro-box h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .intro-text {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .contact-form-box,
    .contact-info-box {
        padding: 20px;
    }

    .form-header-redesigned h3 {
        font-size: 18px;
    }

    .contact-info-box h3 {
        font-size: 18px;
    }

    .contact-form-box .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-primary-contact,
    .btn-secondary-contact {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        min-width: auto;
    }

    .form-actions-redesigned {
        flex-direction: column;
    }

    .info-item {
        gap: 12px;
        padding-bottom: 20px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-icon i {
        font-size: 20px;
    }

    .info-content h5 {
        font-size: 14px;
    }

    .info-content p {
        font-size: 13px;
    }

    .contact-map iframe {
        height: 250px;
    }

    .facility-badge {
        font-size: 12px;
        padding: 10px 15px;
        bottom: 15px;
        left: 15px;
    }
}
