/* =====================================================
   OAKOKHO — CONTACT PAGE STYLES
   LOCATION: /var/www/oakokho/css/contact.css
   ===================================================== */


/* =====================================================
   FLASH MESSAGE
   ===================================================== */

.contact-flash-wrap {
    padding-top: 1.5rem;
}


/* =====================================================
   SECTION HEADINGS
   ===================================================== */

.contact-section-heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}


/* =====================================================
   TWO-COLUMN CONTACT LAYOUT
   ===================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-side .contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


/* =====================================================
   CONTACT INFO CARDS
   ===================================================== */

.contact-card-body {
    flex: 1;
}

.contact-address-text {
    margin: 0;
}

.contact-social-body {
    width: 100%;
    text-align: center;
}

.contact-info-card .social-links {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.contact-info-card .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-light, #f3f4f6);
    color: var(--text-secondary, #4b5563);
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--border, #e5e7eb);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.contact-info-card .social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}


/* =====================================================
   CONTACT FORM
   ===================================================== */

.honeypot {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

.required-star {
    color: var(--primary);
}

.label-optional {
    color: var(--text-light);
    font-weight: 400;
}

.email-valid-msg {
    font-size: .8125rem;
    margin-top: .25rem;
    display: none;
}

.contact-submit-btn {
    width: 100%;
    padding: .875rem;
    font-size: 1.0625rem;
}

.contact-submit-icon {
    margin-right: 8px;
}

.contact-form-note {
    text-align: center;
    font-size: .8125rem;
    color: var(--text-light);
    margin-top: .75rem;
}


/* =====================================================
   TEAM SECTION
   ===================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border, #e5e7eb);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all .3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 3px solid var(--accent-light);
    flex-shrink: 0;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar-initials {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.team-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 .25rem;
}

.team-title {
    font-size: .9375rem;
    color: var(--text-secondary);
    margin: 0 0 .625rem;
}

.team-type-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 50px;
    margin-bottom: .875rem;
}

.team-bio {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: .875rem;
}

.team-email {
    font-size: .8125rem;
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
}

.team-email:hover {
    text-decoration: underline;
}

.team-email__icon {
    margin-right: 5px;
}

.team-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.team-cta__text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.team-cta__icon {
    margin-right: 6px;
}


/* =====================================================
   FAQ ACCORDION
   ===================================================== */

.faq-section-inner {
    max-width: 780px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border, #e5e7eb);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: background .2s ease;
}

.faq-question:hover {
    background: var(--bg-light, #f8f9fa);
}

.faq-question[aria-expanded="true"] {
    color: var(--primary);
    background: var(--bg-light, #f8f9fa);
}

.faq-icon {
    font-size: .875rem;
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform .3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer p {
    padding: 0.75rem 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: .9375rem;
    line-height: 1.75;
    margin: 0;
}

.faq-footer {
    text-align: center;
    margin-top: 2rem;
}

.faq-footer__text {
    color: var(--text-secondary);
    font-size: .9375rem;
}

.faq-footer__link {
    color: var(--primary);
    font-weight: 600;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}