/* ============================================================
   ABOUT & CONTACT SHARED
   ============================================================ */

.about-main,
.contact-main {
    display: flex;
    flex-direction: column;
    padding-top: 65px; /* same height as fixed header */
    min-height: 100vh;
}

/* ---- Eyebrow / hero shared ---- */
.about-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.about-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: #0c2e53;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.about-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--muted);
    max-width: 580px;
    line-height: 1.7;
    margin: 0 auto;
}

/* ============================================================
   ABOUT HERO
   ============================================================ */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, #0c2e53 0%, #1a4a7a 50%, #0c2e53 100%);
    color: #fff;
    text-align: center;
    padding: 7rem 2rem 5rem;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(144,24,2,0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.about-hero .about-title {
    color: #fff;
}

.about-hero .about-subtitle {
    color: rgba(255,255,255,0.75);
}

.about-hero-scroll-hint {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    font-size: 2rem;
    color: rgba(255,255,255,0.45);
    animation: bounceDown 1.8s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ============================================================
   SHARED SECTION WRAPPER
   ============================================================ */
.about-section {
    padding: 5rem 2rem;
}

.about-section--alt {
    background: #f8f7f5;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #0c2e53;
    text-align: center;
    margin-bottom: 0.6rem;
}

.about-section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.about-steps {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.about-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(12,46,83,0.07);
    border: 1px solid rgba(12,46,83,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(12,46,83,0.13);
}

.step-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0c2e53, #1a4a7a);
    margin-bottom: 1.3rem;
}

.step-icon-wrap i {
    font-size: 2rem;
    color: #fff;
}

.step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--secondary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.about-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0c2e53;
    margin-bottom: 0.8rem;
}

.about-step p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.about-step-divider {
    flex: 0 0 auto;
    font-size: 2rem;
    color: rgba(12,46,83,0.2);
    padding-top: 3.5rem;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(12,46,83,0.07);
    box-shadow: 0 2px 16px rgba(12,46,83,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(12,46,83,0.12);
}

.about-feature-card i {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: block;
}

.about-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0c2e53;
    margin-bottom: 0.5rem;
}

.about-feature-card p {
    font-size: 0.98rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ============================================================
   ROLES
   ============================================================ */
.about-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-role-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(12,46,83,0.07);
    border: 1px solid rgba(12,46,83,0.06);
    transition: transform 0.3s ease;
}

.about-role-card:hover {
    transform: translateY(-5px);
}

.role-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}

.role-badge--buyer  { background: rgba(12,46,83,0.1);  color: #0c2e53; }
.role-badge--seller { background: rgba(144,24,2,0.1);  color: var(--secondary); }
.role-badge--staff  { background: rgba(20,83,45,0.1);  color: #14532d; }

.about-role-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0c2e53;
    margin-bottom: 1.2rem;
}

.about-role-card ul {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.about-role-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.98rem;
    color: var(--muted);
}

.about-role-card li i {
    color: #14532d;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   ABOUT CTA BANNER
   ============================================================ */
.about-cta {
    background: linear-gradient(135deg, #0c2e53 0%, #901802 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
}

.about-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
}

.about-cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
}

.about-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.cta-btn--primary {
    background: #fff;
    color: #0c2e53;
}

.cta-btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
    background: linear-gradient(135deg, #0c2e53 0%, #1a4a7a 100%);
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 60%, rgba(144,24,2,0.15) 0%, transparent 55%);
    pointer-events: none;
}

.contact-hero .about-hero-inner { position: relative; z-index: 1; }
.contact-hero .about-title      { color: #fff; }
.contact-hero .about-subtitle   { color: rgba(255,255,255,0.75); }

.contact-body {
    padding: 4rem 2rem 5rem;
    background: #f8f7f5;
    flex: 1;
}

.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: start;
}

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

.contact-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(12,46,83,0.06);
    border: 1px solid rgba(12,46,83,0.06);
    transition: transform 0.2s ease;
}

.contact-info-card:hover {
    transform: translateX(4px);
}

.contact-info-card i {
    font-size: 1.7rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0c2e53;
    margin-bottom: 0.3rem;
}

.contact-info-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ---- Form card ---- */
.contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 4px 30px rgba(12,46,83,0.09);
    border: 1px solid rgba(12,46,83,0.06);
}

.contact-messages {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-msg {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-size: 0.98rem;
    font-weight: 500;
}

.contact-msg--success {
    background: rgba(20,83,45,0.08);
    color: #14532d;
    border: 1px solid rgba(20,83,45,0.2);
}

.contact-msg--error {
    background: rgba(144,24,2,0.08);
    color: var(--secondary);
    border: 1px solid rgba(144,24,2,0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0c2e53;
    letter-spacing: 0.02em;
}

.required { color: var(--secondary); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1.5px solid rgba(12,46,83,0.15);
    background: #fafafa;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Gideon Roman', serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0c2e53;
    box-shadow: 0 0 0 3px rgba(12,46,83,0.08);
    background: #fff;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230c2e53' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Checkbox */
.form-group--checkbox { flex-direction: row; align-items: center; }

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--muted);
    user-select: none;
}

.checkbox-label input[type="checkbox"] { display: none; }

.checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid rgba(12,46,83,0.25);
    background: #fafafa;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background: #0c2e53;
    border-color: #0c2e53;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 8px;
    height: 12px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(40deg);
}

/* Submit button */
.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #0c2e53, #1a4a7a);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Gideon Roman', serif;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    align-self: flex-start;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12,46,83,0.3);
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-submit i { font-size: 1.1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .about-steps {
        flex-direction: column;
        align-items: center;
    }

    .about-step-divider i {
        transform: rotate(90deg);
    }

    .about-features,
    .about-roles {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-info-card { flex: 1 1 200px; }
}

@media (max-width: 600px) {
    .about-features,
    .about-roles {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 1.5rem 1.2rem;
    }

    .contact-submit {
        width: 100%;
        justify-content: center;
    }
}
