/* =========================================================
   about.css  —  Shared styles for About Us & Terms pages
   ========================================================= */

body {
    margin: 0;
    padding: 0;
    background-color: #7a92b0;
}

/* ── Hero ── */
.about-hero {
    background: linear-gradient(135deg, #020e38 0%, #0d2a6e 55%, #1a6fc4 100%);
    position: relative;
    overflow: hidden;
    padding: 2.8rem 2rem 2.4rem;
    text-align: center;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Ccircle cx='30' cy='10' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Ccircle cx='10' cy='30' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Ccircle cx='30' cy='30' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Cline x1='10' y1='10' x2='30' y2='10' stroke='rgba(0,198,255,0.05)' stroke-width='1'/%3E%3Cline x1='10' y1='10' x2='10' y2='30' stroke='rgba(0,198,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}
.about-hero__inner  { position: relative; max-width: 720px; margin: 0 auto; }
.about-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00c6ff;
    background: rgba(0,198,255,0.1);
    border: 1px solid rgba(0,198,255,0.25);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 0.9rem;
}
.about-hero__title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    color: #fff;
    margin: 0 0 0.7rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.about-hero__sub {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(0.82rem, 1.8vw, 1rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0 0 1rem;
}
.about-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}
.about-hero__meta span {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 3px 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ── Page wrapper ── */
.about-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.4rem 2rem 3rem;
}
.about-page--terms { max-width: 820px; }

/* ── Section ── */
.about-section {
    background: linear-gradient(160deg, #d4e4f5, #c4d5eb);
    border: 2px solid #020e38;
    border-radius: 14px;
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a6fc4, #00c6ff);
    border-radius: 14px 14px 0 0;
}
.about-section--contact::before {
    background: linear-gradient(90deg, #27ae60, #00c6ff);
}
.about-section__label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a6fc4;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.about-section h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    color: #020e38;
    margin: 0 0 0.9rem;
    letter-spacing: -0.01em;
}
.about-section p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: #2d3a4e;
    line-height: 1.78;
    margin: 0 0 0.85rem;
}
.about-section p:last-child { margin-bottom: 0; }
.about-section a {
    color: #1a6fc4;
    text-decoration: none;
    border-bottom: 1px solid rgba(26,111,196,0.3);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.about-section a:hover { color: #020e38; border-color: #020e38; }

/* ── What We Offer cards ── */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.about-card {
    background: rgba(255,255,255,0.45);
    border: 1.5px solid rgba(2,14,56,0.12);
    border-radius: 12px;
    padding: 1.1rem 1rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(2,14,56,0.15);
}
.about-card__icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; color: #fff;
    margin-bottom: 0.7rem;
    box-shadow: 0 3px 10px rgba(2,14,56,0.22);
}
.about-card h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    color: #020e38;
    margin: 0 0 0.35rem;
}
.about-card p {
    font-size: 0.78rem !important;
    margin: 0 !important;
}

/* ── Values ── */
.about-values {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.8rem;
}
.about-value {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255,255,255,0.45);
    border: 1.5px solid rgba(2,14,56,0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: box-shadow 0.2s ease;
}
.about-value:hover { box-shadow: 0 4px 14px rgba(2,14,56,0.12); }
.about-value__icon {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #1a6fc4, #00c6ff);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: #fff;
    flex-shrink: 0;
}
.about-value h4 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 0.88rem;
    color: #020e38;
    margin: 0 0 0.2rem;
}
.about-value p {
    font-size: 0.8rem !important;
    margin: 0 !important;
    line-height: 1.55 !important;
}

/* ── Tech tags ── */
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
}
.about-tags span {
    font-family: 'Fira Code', 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: #0d5199;
    background: rgba(13,81,153,0.12);
    border: 1px solid rgba(13,81,153,0.3);
    border-radius: 20px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.18s ease, color 0.18s ease;
}
.about-tags span:hover {
    background: rgba(26,111,196,0.18);
    color: #020e38;
}

/* ── Contact grid ── */
.about-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}
.about-contact-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.5);
    border: 1.5px solid rgba(2,14,56,0.12);
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.18s ease;
}
.about-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(2,14,56,0.14);
    border-color: rgba(26,111,196,0.3);
}
.about-contact-card__icon {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 10px;
    background: rgba(26,111,196,0.1);
    border: 1.5px solid rgba(26,111,196,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #1a6fc4;
    flex-shrink: 0;
}
.about-contact-card strong {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: #020e38;
    line-height: 1.3;
}
.about-contact-card span {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: #4a5568;
    line-height: 1.4;
    display: block;
    margin-top: 1px;
}

/* ── Terms-specific ── */
.terms-highlight {
    background: rgba(26,111,196,0.07);
    border: 1.5px solid rgba(26,111,196,0.2);
    border-left: 4px solid #1a6fc4;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    margin: 0.8rem 0 1rem;
}
.terms-highlight--warn {
    background: rgba(239,68,68,0.05);
    border-color: rgba(239,68,68,0.2);
    border-left-color: #ef4444;
}
.terms-highlight--info {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.25);
    border-left-color: #f59e0b;
}
.terms-highlight h4 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: #020e38;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.terms-highlight h4 i { font-size: 0.78rem; color: #1a6fc4; }
.terms-highlight--warn h4 i { color: #ef4444; }
.terms-highlight ul, .terms-list {
    margin: 0; padding-left: 1.2rem;
}
.terms-highlight li, .terms-list li {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
    color: #2d3a4e;
    line-height: 1.7;
    margin-bottom: 0.25rem;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .about-hero            { padding: 1.6rem 1rem 1.4rem; }
    .about-hero__tag       { font-size: 0.6rem; padding: 3px 10px; }
    .about-hero__title     { font-size: 1.4rem; }
    .about-hero__sub       { font-size: 0.78rem; }
    .about-hero__meta span { font-size: 0.63rem; padding: 2px 9px; }

    .about-page            { padding: 1.2rem 0.9rem 2rem; }
    .about-section         { padding: 1.2rem 1rem; margin-bottom: 1rem; border-radius: 10px; }
    .about-section h2      { font-size: 1rem; }
    .about-section p       { font-size: 0.82rem !important; }
    .about-section__label  { font-size: 0.65rem; }

    .about-cards           { grid-template-columns: 1fr; gap: 0.7rem; }
    .about-card            { padding: 0.85rem 0.9rem; }
    .about-card__icon      { width: 38px; height: 38px; font-size: 1rem; }
    .about-card h3         { font-size: 0.84rem; }
    .about-card:hover      { transform: none; box-shadow: none; }

    .about-values          { gap: 0.7rem; }
    .about-value           { gap: 0.75rem; padding: 0.75rem 0.85rem; }
    .about-value__icon     { width: 32px; height: 32px; min-width: 32px; font-size: 0.82rem; }
    .about-value h4        { font-size: 0.82rem; }
    .about-value:hover     { box-shadow: none; }

    .about-tags span       { font-size: 0.65rem; padding: 3px 9px; }

    .about-contact-grid    { grid-template-columns: 1fr; gap: 0.7rem; }
    .about-contact-card    { padding: 0.75rem 0.85rem; gap: 0.75rem; }
    .about-contact-card__icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.9rem; }
    .about-contact-card strong { font-size: 0.78rem; }
    .about-contact-card span   { font-size: 0.7rem; }
    .about-contact-card:hover  { transform: none; box-shadow: none; }

    .terms-highlight       { padding: 0.75rem 0.85rem; }
    .terms-highlight h4    { font-size: 0.78rem; }
    .terms-highlight li    { font-size: 0.76rem; }
}

@media (min-width: 481px) and (max-width: 1000px) {
    .about-hero            { padding: 2rem 1.5rem 1.8rem; }
    .about-hero__title     { font-size: 1.8rem; }

    .about-page            { padding: 1.8rem 1.5rem 2.5rem; }
    .about-section         { padding: 1.5rem 1.5rem; }
    .about-section h2      { font-size: 1.2rem; }
    .about-section p       { font-size: 0.86rem !important; }

    .about-cards           { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
    .about-contact-grid    { grid-template-columns: 1fr 1fr; }

    .terms-highlight li    { font-size: 0.8rem; }
}

@media (min-width: 1001px) {
    .about-cards           { grid-template-columns: repeat(3, 1fr); }
}
