/* ============================================
   CONTACT US SECTION
   ============================================ */

.contact-section-wrapper {
    padding: 50px 0 30px;
    background-color: #f8f9fa;
}

/* Section Header */
.contact-header {
    margin-bottom: 3rem;
}

.contact-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(224, 83, 12, 0.1) 0%, rgba(224, 83, 12, 0.15) 100%);
    color: #F19138;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(224, 83, 12, 0.2);
}

.contact-main-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #2F4F4F;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.contact-title-link {
    color: #2F4F4F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-title-link:hover {
    color: #F19138;
}

.contact-main-description {
    font-size: 1.15rem;
    color: #5a6c7d;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   CONTACT FORM CONTAINER
   ============================================ */

.contact-form-container {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2F4F4F;
    margin-bottom: 0.75rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
}

/* Form Styles */
.contact-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2F4F4F;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #2F4F4F;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;   /* gray border by default */
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none !important;     /* removes browser default ring */
    box-shadow: none !important;  /* removes outer glow */
    border-color: #F19138;        /* clean orange border */
    background-color: #ffffff;    /* optional: white background */
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%232F4F4F' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #F19138;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.25rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(224, 83, 12, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 83, 12, 0.4);
}

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

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

.submit-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Spinner for loading state */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #999;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 1rem;
}

/* Direct Contact Links */
.direct-contact {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two equal columns */
    gap: 1rem;                      /* spacing between columns */
    width: 100%;                    /* use full available width */
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    color: #2F4F4F;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    justify-content: center;        /* center icon + text inside column */
}

.contact-link:hover {
    background-color: #F19138;
    border-color: #F19138;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-link i {
    font-size: 1.4rem;
    flex-shrink: 0;
}


/* ============================================
   CONTACT INFO CONTAINER
   ============================================ */

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

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

.info-icon {
    width: 40px;
    height: 40px;
    background-color: #F19138;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1.75rem;
}

.info-content {
    flex-grow: 1;
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2F4F4F;
    margin-bottom: 0.75rem;
}

.info-text {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

.info-text strong {
    color: #2F4F4F;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.10rem;
    color: #5a6c7d;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    /* padding: 0.1rem;
    border-radius: 1px; */
}

.contact-item:hover {
    color: #F19138;
    background-color: rgba(224, 83, 12, 0.05);
    padding-left: 1rem;
}

.contact-item i {
    font-size: 0.75rem;
    color: #F19138;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2F4F4F 0%, #1a2f2f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #F19138 0%, #ff6b2c 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(224, 83, 12, 0.3);
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* ============================================
   TABLET RESPONSIVE (768px - 991px)
   ============================================ */

@media (max-width: 991.98px) {
    .contact-section-wrapper {
        padding: 40px 0 25px;
    }

    .contact-main-title {
        font-size: 2.25rem;
    }

    .contact-main-description {
        font-size: 1.1rem;
    }

    .contact-form-container {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ============================================
   MOBILE RESPONSIVE (Below 768px)
   ============================================ */

@media (max-width: 767.98px) {
    .contact-section-wrapper {
        padding: 30px 0 20px;
    }

    .contact-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.25rem;
    }

    .contact-main-title {
        font-size: 1.875rem;
        margin-bottom: 1.25rem;
    }

    .contact-main-description {
        font-size: 1.05rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-title {
        font-size: 1.35rem;
    }

    .contact-subtitle {
        font-size: 0.95rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .info-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

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

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* ============================================
   SMALL MOBILE (Below 576px)
   ============================================ */

@media (max-width: 575.98px) {
    .contact-section-wrapper {
        padding: 25px 0 30px;
    }

    .contact-main-title {
        font-size: 1.625rem;
    }

    .contact-main-description {
        font-size: 1rem;
    }

    .contact-form-container {
        padding: 1.25rem;
    }

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .submit-btn,
    .contact-link,
    .info-card,
    .social-icon,
    .contact-item {
        transition: none;
    }

    .submit-btn:hover,
    .contact-link:hover,
    .info-card:hover,
    .social-icon:hover {
        transform: none;
    }

    .spinner {
        animation: none;
    }
}

/* Focus states */
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.submit-btn:focus,
.contact-link:focus,
.social-icon:focus {
    outline: 3px solid #F19138;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .contact-main-title,
    .contact-title,
    .info-title {
        color: #000000;
    }

    .contact-main-description,
    .contact-subtitle,
    .info-text {
        color: #333333;
    }

    .form-input,
    .form-select,
    .form-textarea {
        border-width: 3px;
    }
}