/* Scoped to Contact Page - Premium Data & AI Consulting Style */

/* --- 1. HERO SECTION --- */
/* Subtle premium background gradient for Hero (extends existing hero styles) */
.hero {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(58, 122, 254, 0.08), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(122, 92, 255, 0.05), transparent 50%);
}

/* Text spacing & animation */
.hero-content h1 {
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-content p {
    max-width: 600px;
    margin-bottom: 0;
    line-height: 1.7;
    opacity: 0.9;
}

/* Hero Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-tag {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-content h1 {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.hero-content p {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.hero-reassurance {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}


/* --- 2. TRUST INDICATORS (Reassurance) --- */
.hero-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* Improved spacing */
    margin-top: 48px;
    /* Breathing room */
}

.reassurance-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.reassurance-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(58, 122, 254, 0.4);
    /* Glow border on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.reassurance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.reassurance-card:hover .reassurance-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(58, 122, 254, 0.4));
}

.reassurance-icon svg {
    width: 100%;
    height: 100%;
}


/* --- 3. PROCESS SECTION --- */
.process-section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
}

.process-header {
    max-width: 600px;
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    /* Increased gap */
}

.process-step {
    position: relative;
    padding-top: 24px;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step-number {
    font-size: 4rem;
    /* Larger */
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    /* Outline style */
    position: absolute;
    top: -30px;
    left: 0;
    z-index: 0;
    line-height: 1;
    opacity: 0.6;
    font-family: var(--font-heading, sans-serif);
}

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

.process-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.process-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
}

.process-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    opacity: 0.85;
    line-height: 1.7;
}


/* --- 4. CONTACT FORM --- */
.contact-form-card {
    background: rgba(5, 49, 61, 0.6);
    /* Slightly more transparent secondary */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    /* softer corners */
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet));
}

/* Override JS-injected form styles for premium feel */
#contactForm {
    gap: 24px !important;
    /* Visually consistent gap */
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    color: var(--text-primary) !important;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--accent-blue) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 122, 254, 0.15) !important;
    transform: translateY(-1px);
}

#contactForm button {
    margin-top: 10px;
    height: 54px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px !important;
    background: linear-gradient(135deg, var(--accent-blue), #2a5ec7) !important;
    /* Gradient button */
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(58, 122, 254, 0.3);
}

#contactForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 122, 254, 0.4);
    filter: brightness(1.1);
}

#contactForm button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(58, 122, 254, 0.3);
    filter: brightness(0.95);
}

.form-reassurance-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-top: 24px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-reassurance-text svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    /* prevent shrinking */
}


/* --- 5. OFFICES SECTION --- */
.offices-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    /* Stretch to fill if needed */
}

.office-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    /* for pseudo-elements */
    overflow: hidden;
    /* clip highlight */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Gradient border effect via pseudo-element or easier box-shadow inset hack 
   User wants "Soft gradient border accent" - simpler to do left border accent styled nicely */
.office-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: width 0.3s ease;
}

.office-card.guinea::before {
    background: var(--accent-blue);
}

.office-card.france::before {
    background: var(--accent-violet);
}

.office-card.email::before {
    background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0.5));
}

.office-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.office-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.office-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.office-details {
    color: #b0c4cd;
    /* Softer secondary */
    font-size: 1rem;
    line-height: 1.6;
}

.office-flag {
    font-size: 1.4rem;
    filter: grayscale(0.3);
    transition: filter 0.3s;
}

.office-card:hover .office-flag {
    filter: grayscale(0);
    transform: scale(1.1);
}


/* Responsive */
@media (max-width: 900px) {
    .hero {
        text-align: center;
    }

    .hero-reassurance {
        justify-content: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-step {
        text-align: left;
        /* Keep steps readable */
        padding-left: 10px;
    }

    .contact-form-card {
        padding: 30px 20px;
    }
}