/* Contact Page Specific Styles */
:root {
    --contact-bg: #F0F9FB;
    --card-bg: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --brand-primary: #2A8CA6;
    --brand-hover: #1A5C78;
    --whatsapp-green: #25D366;
    --success-color: #10B981;
    --error-color: #EF4444;
}

/* Animations Variables */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Hero Section */
/* Hero Section */
.contact-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: #0B1120;
    /* Deepest dark blue/black */
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 1. Animated Gradient Blobs */
.contact-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(42, 140, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(77, 179, 216, 0.1) 0%, transparent 40%);
    animation: rotateGradient 20s linear infinite;
    z-index: -2;
}

/* 2. Moving Grid Overlay */
.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    z-index: -1;
    animation: panGrid 60s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes panGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
}

.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.hero-sub {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 90%;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.trust-strip {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--brand-primary);
}

/* Hero Console Visual */
.console-card {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.console-header {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.console-header span {
    margin-left: auto;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--success-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #FF5F56;
}

.yellow {
    background: #FFBD2E;
}

.green {
    background: #27C93F;
}

.console-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: monospace;
    font-size: 0.95rem;
}

.console-row .label {
    color: #94a3b8;
}

.console-row .value {
    color: white;
    font-weight: 600;
}

.console-row .success {
    color: var(--success-color);
}

.text-primary {
    color: var(--brand-primary);
}

.radar-scan {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    width: 100%;
    margin-top: 20px;
    animation: scan 2s linear infinite;
    opacity: 0.5;
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}


/* Options Grid */
.contact-options {
    margin-top: -60px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.option-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--brand-primary);
}

.icon-bubble {
    width: 60px;
    height: 60px;
    background: rgba(42, 140, 166, 0.1);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.option-card:hover .icon-bubble {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-color {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
}

.option-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.opt-val {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.micro-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.micro-btn:hover {
    background: #e5e7eb;
}

.micro-btn.action-btn {
    background: var(--whatsapp-green);
    color: white;
}

.micro-btn.action-btn:hover {
    background: #1da851;
}

.copy-feedback {
    font-size: 0.8rem;
    color: var(--success-color);
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    height: 0;
}

.copy-feedback.show {
    opacity: 1;
    height: auto;
}

.note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 10px;
    display: block;
}

.urgent-note {
    color: #f59e0b;
    font-weight: 500;
}

/* Form Section */
.form-section {
    background: white;
}

.split-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-form {
    background: white;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.field-group {
    margin-bottom: 20px;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.req {
    color: var(--error-color);
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #f9fafb;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(42, 140, 166, 0.1);
    background: white;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
}

/* Sidebar Info */
.info-box {
    background: #F8FAFC;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 i {
    color: var(--brand-primary);
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.check-list li i {
    color: var(--success-color);
    margin-top: 4px;
}

.whatsapp-box {
    background: #effff5;
    /* Very light green */
    border-color: #d1fae5;
}

.whatsapp-box h3 {
    color: #065f46;
}

.whatsapp-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-whatsapp-full {
    background: #25D366;
    color: white;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    font-weight: 600;
}

.btn-whatsapp-full:hover {
    background: #1da851;
}

.privacy-note {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
    padding-top: 10px;
}

/* FAQ Accordion */
.faq-section {
    background: #F9FAFB;
    padding: 80px 0;
}

.custom-accordions {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.accordion-header i {
    transition: transform 0.3s;
    color: var(--brand-primary);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fcfcfc;
}

.accordion-body p {
    padding: 24px;
    padding-top: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sticky Mobile Bar */
.mobile-sticky-bar {
    display: none;
    /* Desktop default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 10px;
    justify-content: space-around;
    gap: 10px;
}

.stick-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.email-stick {
    background: #f3f4f6;
    color: var(--text-primary);
}

.whatsapp-stick {
    background: #25D366;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-layout,
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero {
        padding-top: 140px;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
        max-width: 600px;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-strip {
        justify-content: center;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .console-card {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding-bottom: 80px;
        /* Space for sticky bar */
    }
}

@media (prefers-reduced-motion: reduce) {

    .fade-in-up,
    .fade-in-right,
    .scroll-reveal,
    .accordion-body,
    .radar-scan {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }

    .accordion-body {
        display: none;
        height: auto;
        max-height: none;
    }

    .accordion-header.active+.accordion-body {
        display: block;
    }
}