/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

/* ── 1. HERO SECTION ── */
.contact-hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('Assets/contact hero bg.jpg') no-repeat center center / cover;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}

.hero-overlay-mesh {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(248, 147, 32, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    opacity: 0.8;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 12, 17, 0.9) 0%,
        rgba(10, 12, 17, 0.65) 60%,
        rgba(10, 12, 17, 0.95) 100%
    );
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    padding: 0 24px;
    max-width: 880px;
    transform: translateY(15px);
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(248, 147, 32, 0.12);
    border: 1px solid rgba(248, 147, 32, 0.3);
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.contact-hero-subtitle {
    font-size: 19px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breadcrumbs {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 24px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 9px;
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--primary-color);
}

.contact-hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    animation: contactScrollBounce 2s infinite;
}

@keyframes contactScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 0.95; }
}

@keyframes heroFadeIn {
    to { transform: translateY(0); opacity: 1; }
}


/* ── 2. MAIN CONTACT SECTION ── */
.contact-section {
    padding: 120px 0;
    background-color: #0f1117;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
    align-items: start;
}


/* ── 3. LEFT COLUMN: CONTACT DETAILS ── */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 32px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                background 0.3s ease,
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 147, 32, 0.03) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(248, 147, 32, 0.35);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background-color: rgba(248, 147, 32, 0.12);
    border: 1px solid rgba(248, 147, 32, 0.25);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.08) rotate(8deg);
}

.contact-card-content {
    position: relative;
    z-index: 1;
}

.contact-card-content h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-card-content h3 {
    color: var(--primary-color);
}

.contact-card-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 6px;
}

.contact-card-content p:last-child {
    margin-bottom: 0;
}

.contact-card-content a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: var(--transition);
}

.contact-card-content a:hover {
    color: var(--primary-color);
}

/* Social card specifically */
.social-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 32px;
    border-radius: 12px;
    border-left: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                background 0.3s ease,
                border-color 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-color);
}

.social-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.social-card:hover h3 {
    color: var(--primary-color);
}

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

.social-card-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    transition: var(--transition);
}

.social-card-link:hover {
    color: var(--white);
    transform: translateY(-4px) scale(1.1);
}

.social-card-link.facebook:hover { background-color: #3b5998; border-color: #3b5998; box-shadow: 0 6px 15px rgba(59, 89, 152, 0.35); }
.social-card-link.twitter:hover { background-color: #000000; border-color: #111; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35); }
.social-card-link.linkedin:hover { background-color: #0077b5; border-color: #0077b5; box-shadow: 0 6px 15px rgba(0, 119, 181, 0.35); }
.social-card-link.whatsapp:hover { background-color: #25d366; border-color: #25d366; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35); }


/* ── 4. RIGHT COLUMN: CONTACT FORM ── */
.contact-form-column {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.form-header {
    margin-bottom: 36px;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14.5px;
    line-height: 1.5;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 14.5px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 4px rgba(248, 147, 32, 0.12);
}

/* Custom select dropdown styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f89320' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 15px;
    padding-right: 45px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.form-group select option {
    background-color: #0f1117;
    color: var(--white);
    padding: 10px;
}

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

.submit-btn-wrapper {
    grid-column: span 2;
    margin-top: 10px;
}

.submit-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px 30px;
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 147, 32, 0.35);
}

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

.submit-btn i {
    font-size: 13.5px;
    transition: var(--transition);
}

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

/* Loading & Success overlays */
.submit-btn:disabled {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

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

.form-success-overlay {
    position: absolute;
    inset: 0;
    background-color: #0f1117;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: scale(0.95);
}

.form-success-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(40, 167, 69, 0.12);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.15);
}

.form-success-overlay h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-success-overlay p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    max-width: 380px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-success-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-success-reset:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 147, 32, 0.3);
}

.btn-success-reset i {
    transition: var(--transition);
}

.btn-success-reset:hover i {
    transform: rotate(-180deg);
}

.form-feedback-error {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    align-items: center;
    gap: 12px;
    background-color: rgba(220, 53, 69, 0.12);
    color: #f87171;
    border: 1px solid rgba(220, 53, 69, 0.25);
    grid-column: span 2;
    animation: fadeIn 0.4s ease forwards;
}

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


/* ── 5. GOOGLE MAP SECTION ── */
.map-section {
    width: 100%;
    height: 500px;
    background-color: #0c0e12;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(0.9);
}


/* ── 6. SCROLL REVEAL TRIGGERS ── */
.reveal-up,
.reveal-content,
.reveal-images,
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Hero stagger animations */
.contact-hero-content .reveal-up:nth-child(1) { transition-delay: 0.10s; }
.contact-hero-content .reveal-up:nth-child(2) { transition-delay: 0.25s; }
.contact-hero-content .reveal-up:nth-child(3) { transition-delay: 0.40s; }
.contact-hero-content .reveal-up:nth-child(4) { transition-delay: 0.55s; }

/* Grid Stagger */
.contact-info-column .reveal-card:nth-child(1) { transition-delay: 0.10s; }
.contact-info-column .reveal-card:nth-child(2) { transition-delay: 0.20s; }
.contact-info-column .reveal-card:nth-child(3) { transition-delay: 0.30s; }
.contact-info-column .reveal-card:nth-child(4) { transition-delay: 0.40s; }


/* ── 7. RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 380px;
    }
    .contact-hero-title {
        font-size: 38px;
    }
    .contact-hero-subtitle {
        font-size: 16px;
    }
    
    .contact-form-column {
        padding: 35px 25px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .submit-btn-wrapper {
        grid-column: span 1;
    }
    
    .map-section {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-hero-title {
        font-size: 28px;
    }
    
    .contact-hero-badge {
        font-size: 11px;
        padding: 7px 18px;
        margin-bottom: 16px;
    }
    
    .contact-card {
        padding: 24px;
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-icon-box {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-success-overlay {
        padding: 25px;
    }
    
    .success-icon-box {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .form-success-overlay h3 {
        font-size: 20px;
    }
    
    .form-success-overlay p {
        font-size: 14px;
        margin-bottom: 20px;
    }
}
