/* ============================================
   Contact Page - Production Level
   Bogura Bazar Theme
   ============================================ */

.contact-hero {
    padding: 40px 0 30px;
    background: linear-gradient(135deg, #f8fafc, #e8f5e9);
    border-bottom: 1px solid #e5e7eb;
}

.contact-hero-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-hero-icon {
    width: 64px;
    height: 64px;
    background: rgba(1, 126, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #017e3d;
}

.contact-hero-text h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1e1e2e;
    margin: 0;
}

.contact-hero-text p {
    font-size: 15px;
    color: #6b7280;
    margin: 4px 0 0;
}

.contact-section {
    padding: 40px 0 60px;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.contact-info-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e1e2e;
    margin: 0 0 8px;
}

.contact-info-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(1, 126, 61, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #017e3d;
}

.contact-info-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e1e2e;
    margin: 0 0 2px;
}

.contact-info-text p {
    font-size: 14px;
    color: #4b5563;
    margin: 0;
}

.contact-info-text .small {
    font-size: 13px;
    color: #9ca3af;
}

.contact-social {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.contact-social h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e1e2e;
    margin: 0 0 12px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #017e3d;
    color: #ffffff;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.contact-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e1e2e;
    margin: 0 0 4px;
}

.contact-form-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1e1e2e;
    margin-bottom: 4px;
}

.contact-form .form-label i {
    margin-right: 6px;
    color: #017e3d;
}

.text-danger {
    color: #ef4444;
}

.contact-form .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form .form-control:focus {
    border-color: #017e3d;
    box-shadow: 0 0 0 3px rgba(1, 126, 61, 0.08);
}

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

.contact-form .form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.invalid-feedback {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

.char-counter {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.contact-submit-btn {
    width: 100%;
    padding: 14px;
    background: #017e3d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-submit-btn:hover:not(:disabled) {
    background: #00632f;
    transform: translateY(-2px);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-loader i {
    font-size: 18px;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.alert-success {
    background: #f0fdf4;
    color: #065f46;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert ul {
    padding-left: 20px;
    margin: 0;
}

.contact-map {
    padding-bottom: 60px;
    background: #f8fafc;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .contact-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-hero-text h1 {
        font-size: 24px;
    }

    .contact-section {
        padding: 30px 0 40px;
    }

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info-item {
        gap: 12px;
    }

    .contact-info-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 16px;
    }

    .contact-info-text h4 {
        font-size: 14px;
    }

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

    .contact-social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 24px 0 16px;
    }

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

    .contact-hero-text h1 {
        font-size: 20px;
    }

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

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

    .contact-form .form-control {
        font-size: 13px;
        padding: 8px 12px;
    }

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

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
