/* ════════════════════════════════════════════════════════
   CONTACT.CSS — Hire Cronos Page Styles
   ════════════════════════════════════════════════════════ */

.contact-section {
    padding: 100px 4% 120px;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
    min-height: 80vh;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* ─── CONTACT INFO SIDE ─── */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    /* JS Animation Starting State */
    transform: translateX(-50px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    position: relative;
    top: 0;
    transition: top 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at left, rgba(16, 212, 118, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    top: -5px;
    border-color: rgba(16, 212, 118, 0.4);
    background: rgba(16, 212, 118, 0.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 212, 118, 0.1);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 212, 118, 0.1);
    border: 1px solid rgba(16, 212, 118, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(16, 212, 118, 0.4);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.contact-label {
    font-family: var(--font-logo);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-value {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-value {
    color: var(--accent-color);
}

/* ─── FAQ SIDE ─── */
.faq-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    /* JS Animation Starting State */
    transform: translateX(50px);
}

.faq-header {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 800;
}

.faq-header span {
    color: var(--accent-color);
}

.faq-item {
    background: rgba(20, 20, 24, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item.active {
    border-color: rgba(16, 212, 118, 0.3);
    background: rgba(25, 30, 28, 0.8);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: var(--accent-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent-color);
    transition: transform 0.4s ease;
}

/* Horizontal line */
.faq-icon::before {
    width: 16px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    width: 2px;
    height: 16px;
}

/* Transform to minus when active */
.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    background: var(--text-main);
}

.faq-answer {
    padding: 0 30px;
    height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    padding: 0 30px 24px;
    /* Height is set dynamically via JS */
}

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}