/*
 * tnt-about.css
 * TNT | TechNoviceTools | About Us page (aboutUs.html) styles
 * Requires: tnt-base-styles.css (loaded first)
 *
 * Covers: hero config, about cards, card links, spoiler collapse.
 */


/* ═══════════════════════════════════════════════════════════════════
   HERO — About Us page
   Shorter than the home hero; classroom panorama background.
═══════════════════════════════════════════════════════════════════ */

/* Background: images/labRedo2022-08-21.jpg — panoramic shot of the TNT lab.
   Overlay is slightly denser than the home hero to compensate for the bright photo. */
#hero {
    min-height: 48vh;
    background:
        linear-gradient(135deg, rgba(10,14,26,0.86) 0%, rgba(168,16,32,0.72) 100%),
        url('../images/labRedo2022-08-21.jpg') center / cover no-repeat;
    padding: 4rem 1rem;
}

.hero-content { max-width: 720px; }

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════
   ABOUT CARDS  (#aboutSection)
═══════════════════════════════════════════════════════════════════ */
#aboutSection {
    background: #f4f5f7;
    padding: 5rem 0;
}

.about-card {
    background: #fff;
    border: 1.5px solid #e2e4e8;
    border-radius: 16px;
    padding: 2.5rem 1.75rem 2rem;
    height: 100%;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.about-card:hover {
    border-color: var(--tnt-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(216,24,39,0.13);
}

/* Card icon: PNG/SVG image */
.about-card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.25rem;
}

/* Card icon: Font Awesome fallback (loaded via onerror) */
.about-card-icon-fa {
    font-size: 3.5rem;
    display: block;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.about-card h3 {
    font-family: var(--boogaloo);
    font-size: 1.6rem;
    color: var(--tnt-dark);
    margin-bottom: 0.85rem;
    text-align: center;
}

.about-card p {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.65;
}

/* Inline link used inside card body */
.card-link {
    color: var(--tnt-red);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
}

.card-link:hover {
    color: var(--tnt-red-dark);
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════
   HOW WE LEARN CARD — Spoiler collapse toggle
═══════════════════════════════════════════════════════════════════ */
.btn-spoiler {
    background: var(--tnt-amber);
    color: var(--tnt-dark);
    border: none;
    font-family: var(--boogaloo);
    font-size: 1rem;
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-spoiler:hover {
    background: var(--tnt-amber-dark);
    color: var(--tnt-dark);
}

.spoiler-content {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.6;
    border-top: 1px solid #e2e4e8;
    padding-top: 0.85rem;
}
