/* Contact Page Specific CSS */

.contact-page {
    background-color: #f8fafc;
}

/* Hero Section */
.contact-hero-section {
    position: relative;
    width: 100%;
    min-height: 45vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
    margin-top: 0;
}

.contact-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 30, 61, 0.95) 0%, rgba(11, 30, 61, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.contact-hero-container {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    width: 100%;
}

.contact-hero-content {
    max-width: 650px;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    text-align: left;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hero-content .badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(242, 169, 0, 0.15);
    border: 1px solid #F4B400;
    border-radius: 30px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.contact-hero-content .badge span {
    color: #F4B400;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.gold-text {
    color: #F4B400;
}

.contact-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 35px;
    font-weight: 400;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
}

.breadcrumb a {
    color: #F4B400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb i {
    font-size: 12px;
    color: #ffffff;
}

.breadcrumb span {
    color: #ffffff;
}

/* Main Contact Section */
.contact-main-section {
    padding: 80px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #F4B400;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-subtitle .line {
    width: 30px;
    height: 2px;
    background: #F4B400;
}

.contact-info-wrapper .section-title {
    font-size: 38px;
    font-weight: 800;
    color: #0B1F4D;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-info-wrapper .section-title span {
    color: #F4B400;
}

.contact-info-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(244, 180, 0, 0.3);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(244, 180, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F4B400;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.info-card:hover .info-icon {
    background: #F4B400;
    color: #ffffff;
    transform: rotateY(360deg);
}

.info-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0B1F4D;
    margin: 0 0 8px;
}

.info-details p {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.info-details p a {
    color: #475569;
    transition: color 0.3s ease;
}

.info-details p a:hover {
    color: #F4B400;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
    z-index: 10;
}

.form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(11, 31, 77, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0B1F4D;
    margin: 0 0 10px;
}

.form-card > p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
}

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

.loan-contact-form .form-row {
    display: flex;
    gap: 20px;
}

.loan-contact-form .half {
    flex: 1;
}

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

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    transition: color 0.3s ease;
}

.textarea-wrapper i {
    top: 20px;
    transform: none;
}

.loan-contact-form input,
.loan-contact-form select,
.loan-contact-form textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 15px;
    color: #334155;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    font-family: inherit;
}

.loan-contact-form select {
    appearance: none;
    cursor: pointer;
}

.loan-contact-form input:focus,
.loan-contact-form select:focus,
.loan-contact-form textarea:focus {
    outline: none;
    border-color: #F4B400;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.1);
}

.loan-contact-form input:focus + i,
.loan-contact-form select:focus + i,
.loan-contact-form textarea:focus + i,
.input-wrapper:focus-within i {
    color: #F4B400;
}

.btn-submit-form {
    width: 100%;
    background: #0B1F4D;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit-form:hover {
    background: #F4B400;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 180, 0, 0.2);
}

/* Map Section */
.contact-map-section {
    width: 100%;
    height: 450px;
    display: block;
    position: relative;
    z-index: 1;
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
}
/* Form Validation Styles */
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

@keyframes errorShake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.error-shake {
    animation: errorShake 0.4s ease-in-out;
}

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

@media (max-width: 768px) {
    .contact-main-section {
        padding: 40px 0;
    }
    
    .loan-contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-hero-container {
        padding: 20px 15px;
    }
    
    .contact-hero-content {
        text-align: center;
    }
    
    .contact-hero-content .badge {
        padding: 4px 10px;
        margin-bottom: 15px;
    }
    
    .contact-hero-content .badge span {
        font-size: 9px;
    }
    
    .contact-hero-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .contact-hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .breadcrumb {
        font-size: 14px;
        gap: 8px;
        justify-content: center;
    }
    
    .section-subtitle {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .section-subtitle .line {
        width: 15px;
    }
    
    .contact-info-wrapper .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .contact-info-desc {
        font-size: 13px;
        margin-bottom: 25px;
        text-align: justify;
    }
    
    .info-card {
        padding: 15px;
        gap: 12px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .info-details h3 {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .info-details p {
        font-size: 12px;
        text-align: justify;
    }
    
    .form-card {
        padding: 25px 15px;
        border-radius: 16px;
    }
    
    .form-card h3 {
        font-size: 22px;
    }
    
    .form-card > p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .loan-contact-form .form-group {
        margin-bottom: 10px;
    }

    .loan-contact-form label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .error-message {
        font-size: 12px;
        margin-top: 2px;
    }
    
    .loan-contact-form input,
    .loan-contact-form select,
    .loan-contact-form textarea {
        padding: 12px 15px 12px 40px;
        font-size: 14px;
    }
    
    .input-wrapper i {
        left: 15px;
        font-size: 14px;
    }
    
    .btn-submit-form {
        padding: 14px;
        font-size: 15px;
    }

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

    /* Custom SweetAlert Mobile Styling */
    .custom-swal-mobile {
        width: 100% !important;
        padding: 1.2em !important;
        font-size: 0.85em !important;
    }
    .custom-swal-mobile .swal2-title {
        font-size: 1.6em !important;
    }
    .custom-swal-mobile .swal2-icon {
        transform: scale(0.75);
        margin: 0.5em auto 0.5em !important;
    }
    .custom-swal-mobile .swal2-actions {
        margin-top: 1em !important;
    }
}
