/* ==========================================================================
   CONTACT US PAGE SPECIFIC STYLES
   ========================================================================== */
/* Alert Notification/Success Box */
.contact-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.4s ease;
}

.contact-alert.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.contact-alert.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Main page layout */
.contact-page-section {
    background: var(--bg-body);
    width: 100%;
    min-height: calc(100vh - 100px); /* fallback */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Background glow blobs to enhance premium look */
.contact-page-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-page-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.025) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

/* LEFT COLUMN: Info details */
.contact-info-col {
    padding-right: 20px;
}

.contact-subtitle-wrapper {
    margin-bottom: 25px;
}

.contact-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.contact-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--color-primary);
}

.contact-headline {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 45px;
    letter-spacing: -1px;
}

/* Highlight metrics */
.contact-highlights {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 10px;
}

.highlight-item {
    flex: 1;
    position: relative;
}

.highlight-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #e2e8f0;
}

.highlight-item span {
    display: block;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.highlight-item span.title-bold {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Contact lists */
.contact-info-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateX(5px);
}

.detail-icon {
    font-size: 1.8rem;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-item a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--color-primary);
}

/* RIGHT COLUMN: Form Card */
.contact-form-col {
    width: 100%;
}

.contact-form-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.form-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.form-title {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Form controls */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    border: none;
    border-bottom: 1.5px solid #e2e8f0;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    resize: none;
    min-height: 44px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
}

/* Floating labels effect */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* Custom bottom border highlight animation */
.form-group .focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: transparent;
}

/* Submit Button */
.btn-submit {
    background-color: #212529;
    color: var(--color-white);
    border: none;
    padding: 16px 50px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-submit:hover {
    color: var(--color-white);
    box-shadow: 0 8px 25px rgba(231, 24, 27, 0.25);
    transform: translateY(-2px);
}

.btn-submit:hover::before {
    width: 100%;
}

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

/* Alert Notification/Success Box */
.contact-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.4s ease;
}

.contact-alert.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.contact-alert.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .contact-headline {
        font-size: 2.8rem;
    }
    .contact-container {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .contact-page-section {
        padding: 60px 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info-col {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-highlights {
        justify-content: center;
        max-width: 600px;
        margin: 0 auto 40px auto;
    }
    
    .contact-info-details {
        align-items: center;
    }
    
    .contact-detail-item {
        justify-content: center;
    }
    
    .btn-submit {
        align-self: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .contact-headline {
        font-size: 2.1rem;
        margin-bottom: 30px;
    }
    
    .contact-highlights {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        padding-right: 0;
        padding-bottom: 15px;
    }
    
    .highlight-item:not(:last-child)::after {
        display: none;
    }
    
    .highlight-item:not(:last-child) {
        border-bottom: 1px solid #e2e8f0;
    }
    
    .contact-form-card {
        padding: 35px 24px;
    }
    
    .form-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}
