/**
 * Additional Styles for About & Contact Pages
 * Team Section, Map Section, Enhanced Contact Layout
 */

/* ============================================
   ABOUT PAGE - TEAM SECTION
   ============================================ */

.team-section {
    background: #f8fafc;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: #64748b;
}

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

.team-member {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.team-photo {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #e2e8f0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.75rem;
}

.team-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.375rem;
    font-weight: 600;
    color: #0f172a;
}

.team-role {
    margin: 0 0 1rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.standard-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
}

.standard-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.standard-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.standard-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.standard-card p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
}

/* Methodology Steps */
.methodology-steps {
    margin-top: 2rem;
}

.method-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.method-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

.step-content p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
}

/* Neutrality Box */
.neutrality-box {
    background: #f0f9ff;
    border: 2px solid #bae6fd;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.neutrality-box p {
    margin: 0 0 1rem 0;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #0c4a6e;
}

.neutrality-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE - ENHANCED LAYOUT
   ============================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-form-section h2 {
    margin-bottom: 0.75rem;
}

.contact-form-section > p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.info-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid #e2e8f0;
}

.info-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #0f172a;
}

.info-content a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.info-content a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

.faq-item p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.map-section h2 {
    margin-bottom: 0.75rem;
    text-align: center;
}

.map-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.map-container iframe {
    display: block;
    border: 0;
}

.map-directions {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.map-directions h3 {
    margin: 0 0 1.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.map-directions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-directions li {
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.map-directions li:last-child {
    border-bottom: none;
}

.map-directions strong {
    color: #0f172a;
    font-weight: 600;
}

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

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

    .contact-info-sidebar {
        order: 2;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 2rem 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-photo {
        height: 320px;
    }

    .standards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .method-step {
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .map-container iframe {
        height: 350px;
    }

    .map-directions {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-intro {
        font-size: 1rem;
    }

    .team-info {
        padding: 1.5rem;
    }

    .team-info h3 {
        font-size: 1.25rem;
    }

    .standard-card {
        padding: 1.5rem;
    }

    .neutrality-box {
        padding: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }
}
