.content .container {
    padding: 10px 40px !important;
}

/* ============================================
   CONTACT PAGE - Enhanced Design
   ============================================ */

/* Contact Page Header */
.contact-page-header {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.contact-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.contact-page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.contact-page-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(102, 126, 234, 0.3);
    animation: contactIconRotate 20s linear infinite;
}

@keyframes contactIconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-page-icon i {
    font-size: 32px;
    color: #fff;
}

.contact-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    position: relative;
}

.contact-page-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    position: relative;
}

/* Contact Content Wrapper */
.contact-content-wrapper {
    position: relative;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
}

/* Google Map Background */
.contact-map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: grayscale(100%) brightness(0.9);
}

/* Contact Overlay */
.contact-overlay {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    min-height: 600px;
}

/* Contact Info Cards */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.contact-info-header i {
    font-size: 24px;
    color: var(--primary-bg, #667eea);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 10px;
}

.contact-info-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.contact-info-body {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.contact-address {
    margin: 0;
    line-height: 1.7;
}

.contact-link {
    color: var(--primary-bg, #667eea);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--header-bg, #16213e);
}

.contact-hours {
    margin: 0;
    line-height: 1.8;
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 100%;
}

.contact-form-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.contact-form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-form-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.contact-form .form-label i {
    color: var(--primary-bg, #667eea);
    font-size: 14px;
}

.contact-form .form-control {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.2s ease;
    background: #fff;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-bg, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form .form-control::placeholder {
    color: #94a3b8;
}

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

.contact-form .is-invalid {
    border-color: #dc2626;
}

.contact-form .invalid-feedback {
    display: block;
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
}

.contact-form .alert {
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    border: none;
}

.contact-form .alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.contact-form .alert-success {
    background: #dcfce7;
    color: #166534;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

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

.btn-contact-submit i {
    font-size: 14px;
}

/* Responsive Contact Page */
@media (max-width: 992px) {
    .contact-overlay {
        padding: 24px;
    }

    .contact-form-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .contact-page-header {
        padding: 30px 16px 24px;
        margin-bottom: 20px;
    }
    
    .contact-page-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .contact-page-icon i {
        font-size: 24px;
    }
    
    .contact-page-title {
        font-size: 22px;
    }
    
    .contact-page-subtitle {
        font-size: 14px;
    }

    .contact-content-wrapper {
        min-height: auto;
    }

    .contact-overlay {
        padding: 20px;
        background: rgba(255, 255, 255, 0.98);
    }

    .contact-info-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    .contact-info-header {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .contact-info-header i {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }

    .contact-info-header h3 {
        font-size: 16px;
    }

    .contact-form-card {
        padding: 20px;
    }

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

    .btn-contact-submit {
        width: 100%;
        justify-content: center;
    }
}
