/**
 * Enhanced Contact Page Styles
 * Professional design with improved layout and visual hierarchy
 */

/* Contact Area */
.contact-area {
    background: white;
    padding: 80px 0;
}

/* Contact Header Section */
.contact-header-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.contact-image-section {
    text-align: center;
}

.contact-image-section img {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transition: transform 0.3s ease;
}

.contact-image-section img:hover {
    transform: scale(1.05);
}

.contact-image-section p {
    color: #666;
    font-size: 13px;
    margin-top: 15px;
}

.contact-image-section p strong {
    color: #0066cc;
    font-weight: 700;
}

/* Contact Intro */
.contact-intro {
    padding: 0 30px;
}

.contact-intro h2 {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-intro p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Contact Benefits List */
.contact-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-benefits li {
    padding: 12px 0;
    color: #666;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-benefits i {
    color: #0066cc;
    font-size: 20px;
    flex-shrink: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.form-header h3 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #666;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.contact-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

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

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

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

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

.contact-form 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 .form-text {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

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

.contact-form i {
    position: absolute;
    right: 15px;
    top: 12px;
    color: #0066cc;
    font-size: 18px;
    pointer-events: none;
}

.contact-form textarea ~ i {
    top: 15px;
}

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

.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;
}

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

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

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Submit Button */
.default-btn.three {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

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

.default-btn.three:active {
    transform: translateY(0);
}

/* Reset Button */
.default-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

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

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

/* Contact Info Sidebar */
.contact-info {
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
    padding: 40px;
    border-radius: 12px;
    height: 100%;
}

.contact-info .section-title-two {
    margin-bottom: 30px;
}

.contact-info .section-title-two h2 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info .section-title-two p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    display: flex;
    gap: 15px;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-info i {
    color: #0066cc;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info span {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

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

.contact-info 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-intro {
        padding: 0 20px;
    }

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

    .contact-form {
        padding: 30px;
    }

    .contact-info {
        padding: 30px;
    }
}

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

    .contact-header-section {
        padding: 30px;
        margin-bottom: 40px;
    }

    .contact-header-section .row {
        flex-direction: column;
    }

    .contact-header-section .col-lg-4,
    .contact-header-section .col-lg-8 {
        width: 100%;
    }

    .contact-image-section img {
        max-width: 250px !important;
    }

    .contact-intro {
        padding: 0;
        margin-top: 30px;
    }

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

    .contact-form {
        padding: 25px;
        margin-bottom: 30px;
    }

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

    .contact-info {
        padding: 25px;
    }

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

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

    .contact-header-section {
        padding: 20px;
    }

    .contact-image-section img {
        max-width: 200px !important;
    }

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

    .contact-intro p {
        font-size: 14px;
    }

    .contact-benefits li {
        font-size: 13px;
        padding: 10px 0;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

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

    .contact-form i {
        right: 12px;
        top: 10px;
        font-size: 16px;
    }

    .contact-info {
        padding: 20px;
        margin-top: 30px;
    }

    .contact-info li {
        padding: 15px 0;
    }

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

    .default-btn.three {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}
