/* Contact Page Styles - Namespaced under .contact-page */

/* Prevent horizontal scroll */
html {
    overflow-x: hidden;
}

body {
    max-width: 100%;
}

.contact-page {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

.contact-page .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wrapper Container */
.contact-page .wrapper-container {
    min-height: 100vh;
}

.contact-page .content-pusher {
    width: 100%;
}

.contact-page #main-content {
    width: 100%;
}

.contact-page .elementor {
    width: 100%;
}

/* Hero Section */
.contact-page .hero-section {
    background: #356DF1 !important;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.contact-page .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.contact-page .hero-section .hero-content {
    text-align: center !important;
    position: relative;
    z-index: 2;
    display: block !important;
}

.contact-page .hero-section .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-page .hero-section .hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-page .contact-form-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.contact-page .contact-form-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    display: block !important;
    flex-direction: column !important;
}

.contact-page .contact-form-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #356DF1;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-page .contact-form-section .section-subtitle {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    max-width: 600px;
    margin: 0 auto;
}

.contact-page .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info */
.contact-page .contact-info {
    padding-right: 20px;
}

.contact-page .info-title {
    font-family: "Poppins", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #444444;
    margin-bottom: 32px;
    line-height: 1.3;
}

.contact-page .help-list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 32px;
}

.contact-page .help-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    line-height: 1.5;
}

.contact-page .check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-page .check-icon svg {
    width: 24px;
    height: 24px;
}

.contact-page .policy-text {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

.contact-page .policy-text a {
    color: #356DF1;
    text-decoration: none;
    font-weight: 500;
}

.contact-page .policy-text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-page .contact-form {
    padding-left: 20px;
}

.contact-page .contact-form-wrapper {
    width: 100%;
}

.contact-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-page .form-group {
    margin-bottom: 20px;
}

.contact-page .form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #000000;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.contact-page .form-control:focus {
    outline: none;
    border-color: #356DF1;
    box-shadow: 0 0 0 3px rgba(53, 109, 241, 0.1);
}

.contact-page .form-control::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.contact-page textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Group */
.contact-page .checkbox-group {
    margin-bottom: 20px;
}

.contact-page .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #6B7280;
    cursor: pointer;
    line-height: 1.5;
}

.contact-page .checkbox-label input[type="checkbox"] {
    display: none;
}

.contact-page .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #D1D5DB;
    border-radius: 50%;
    background-color: #ffffff;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.contact-page .checkbox-label input[type="checkbox"]:checked+.checkmark {
    background-color: #356DF1;
    border-color: #356DF1;
}

.contact-page .checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Privacy Text */
.contact-page .privacy-text {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.5;
}

.contact-page .privacy-text a {
    color: #356DF1;
    text-decoration: none;
    font-weight: 500;
}

.contact-page .privacy-text a:hover {
    text-decoration: underline;
}

/* Submit Button */
.contact-page .form-submit {
    text-align: left;
}

.contact-page .submit-btn {
    background-color: #356DF1;
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    min-width: 120px;
}

.contact-page .submit-btn:hover {
    background-color: #2563EB;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(53, 109, 241, 0.3);
}

.contact-page .submit-btn:active {
    transform: translateY(0);
}

/* Contact Info Section */
.contact-page .contact-info-section {
    background-color: #E1E9FD;
    padding: 80px 0;
}

.contact-page .info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-page .info-card {
    text-align: center;
    padding: 40px 20px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none !important;
    transform: none !important;
}

.contact-page .info-card:hover {
    transform: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    transition: none !important;
}

.contact-page .info-card * {
    transition: none !important;
    transform: none !important;
}

.contact-page .info-card:hover * {
    transition: none !important;
    transform: none !important;
}

.contact-page .info-card.animate-in {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

.contact-page .card-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.contact-page .card-icon svg {
    width: 60px;
    height: 60px;
}

.contact-page .card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact-page .card-content {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
}

.contact-page .view-map {
    color: #356DF1;
    text-decoration: none;
    font-weight: 500;
}

.contact-page .view-map:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-page .contact-content {
        gap: 40px;
    }

    .contact-page .hero-section .hero-title {
        font-size: 40px;
    }

    .contact-page .contact-form-section .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .contact-page .hero-section {
        padding: 60px 0;
    }

    .contact-page .hero-section .hero-title {
        font-size: 32px;
    }

    .contact-page .hero-section .hero-subtitle {
        font-size: 16px;
    }

    .contact-page .contact-form-section {
        padding: 60px 0;
    }

    .contact-page .contact-form-section .section-title {
        font-size: 28px;
    }

    .contact-page .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page .contact-info {
        padding-right: 0;
    }

    .contact-page .contact-form {
        padding-left: 0;
    }

    .contact-page .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-page .info-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-page .contact-info-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .contact-page .hero-section {
        padding: 40px 0;
    }

    .contact-page .hero-section .hero-title {
        font-size: 28px;
    }

    .contact-page .contact-form-section {
        padding: 40px 0;
    }

    .contact-page .contact-form-section .section-title {
        font-size: 24px;
    }

    .contact-page .info-title {
        font-size: 20px;
    }

    .contact-page .contact-info-section {
        padding: 40px 0;
    }

    .contact-page .info-card {
        padding: 30px 15px;
    }
}

/* Form Validation Styles */
.contact-page .form-control.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.contact-page .form-control.success {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-page .error-message {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.contact-page .error-message.show {
    display: block;
}

/* Loading State */
.contact-page .submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.contact-page .submit-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success Message */
.contact-page .success-message {
    background-color: #D1FAE5;
    border: 1px solid #10B981;
    color: #065F46;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.contact-page .success-message.show {
    display: block;
}

/* Accessibility Improvements */
.contact-page .form-control:focus-visible {
    outline: 2px solid #356DF1;
    outline-offset: 2px;
}

.contact-page .submit-btn:focus-visible {
    outline: 2px solid #356DF1;
    outline-offset: 2px;
}

.contact-page .checkbox-label:focus-within .checkmark {
    outline: 2px solid #356DF1;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .contact-page .hero-section {
        background: #356DF1 !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }

    .contact-page .contact-form-section,
    .contact-page .contact-info-section {
        page-break-inside: avoid;
    }
}