@font-face {
    font-family: 'iam-font';
    src: url('../fonts/CreatoDisplay-Regular.otf');
}

@font-face {
    font-family: 'iam-font-bold';
    src: url('../fonts/CreatoDisplay-Bold.otf');
}

@font-face {
    font-family: 'iam-font-extra-bold';
    src: url('../fonts/CreatoDisplay-ExtraBold.otf');
}

:root {
    /* ===== BRAND COLORS ===== */
    --color-primary: #e53935;
    /* main brand color */
    --color-primary-light: #ef5350;
    --color-primary-dark: #991b1b;

    --color-secondary: #f44336;
    /* accent color */
    --color-secondary-light: #e57373;
    --color-secondary-dark: #771515;
    --color-accent: #ffc371;

    /* ===== BACKGROUND COLORS ===== */
    --bg-main: #fcfcfc;
    --bg-light: #eeeeee;
    --bg-dark: #1c2126;
    --bg-darker: #141414;

    /* ===== TEXT COLORS ===== */
    --text-main: #222222;
    --text-light: #555;
    --text-lighter: #979797;
    --text-invert: #ffffff;

    /* ===== NEUTRALS ===== */
    --neutral-100: #f8f9fa;
    --neutral-200: #e9ecef;
    --neutral-300: #dee2e6;
    --neutral-400: #ced4da;
    --neutral-500: #adb5bd;
    --neutral-600: #6c757d;
    --neutral-700: #495057;
    --neutral-800: #343a40;
    --neutral-900: #212529;

    /* ===== BORDERS & SHADOWS ===== */
    --border-color: #e0e0e0;
    --shadow-soft: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);

    /* ===== STATUS COLORS ===== */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    /* ===== FONT FAMILIES ===== */
    --font-primary: iam-font, sans-serif;
    --font-secondary: iam-font, sans-serif;
    --font-mono: iam-font, sans-serif;
    --font-bold: iam-font-bold, sans-serif;
    --font-extra-bold: iam-font-extra-bold, sans-serif;

    /* ===== FONT SIZES (scale) ===== */
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.875rem;
    /* 14px */
    --fs-md: 1rem;
    /* 16px */
    --fs-lg: 1.25rem;
    /* 20px */
    --fs-xl: 1.5rem;
    /* 24px */
    --fs-xxl: 2rem;
    /* 32px */

    /* ===== FONT WEIGHTS ===== */
    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* ===== LINE HEIGHT ===== */
    --lh-tight: 1.1;
    --lh-normal: 1.4;
    --lh-loose: 1.7;
}

* {
    box-sizing: border-box;
    font-family: iam-font, sans-serif;
}

/* --- Basic Page Reset --- */
body {
    margin: 0;
    font-family: iam-font, sans-serif;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

html {
    scroll-behavior: smooth;
}

#content-1 {
    height: fit-content;
    padding: 120px 5% 5% 5%;
    text-align: center;
}

#content-1 .gradient-divider {
    height: 10px;
    width: 20%;
    margin: auto;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.iam-parent {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
}

.person-card {
    margin: auto;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 12px;

    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.person-card:hover {
    transform: scale(1.05);
    filter: brightness(0.8);
    color: var(--color-primary);
}

.person-box {
    display: flex;
    align-items: center;
    background-image: url(../img/imgs-team/taal-bg-1.png);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    gap: 20px;
    width: 100%;
    max-width: 850px;
    margin: auto;
    overflow: hidden;
}

.person-name {
    font-size: 1.75em;
    font-weight: bolder;
    margin: 0;
    padding: 0;
}

.person-title {
    font-size: 1.15em;
}

.person-box img {
    height: 340px;
    padding-top: 30px;
}

.iam-parent-2 {
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.iam-parent-3 {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.teacher-card {
    margin: auto;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    width: 250px;

    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.teacher-card:hover {
    transform: scale(1.05);
    filter: brightness(0.8);
    color: var(--color-primary);
}

.teacher-box {
    display: flex;
    align-items: center;
    background-image: url(../img/imgs-team/taal-bg-2.png);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    gap: 20px;
    margin: auto;
    overflow: hidden;
}

.teacher-name {
    font-size: 1.25em;
    font-weight: bolder;
    margin: 0;
    padding: 0;
}

.teacher-title {
    font-size: 1em;
}

.teacher-box img {
    height: 300px;
    padding-top: 30px;
}

.name {
    padding: 20px 0 0 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #content-1 .gradient-divider {
        height: 10px;
        width: 60%;
        margin: auto;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    }

    #content-1 .iam-parent-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    #content-1 .iam-parent-3 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Content 2 */

#content-2 {
    height: fit-content;
    text-align: center;
    padding-bottom: 10%;
}

#content-2 .gradient-divider {
    height: 10px;
    width: 15%;
    margin: auto;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

#content-2 video {
    height: 450px;
    border-radius: 20px;
    margin-top: 30px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #content-2 video {
        width: 100%;
        height: auto;
        padding: 5%;
    }

    #content-2 .gradient-divider {
        height: 10px;
        width: 45%;
        margin: auto;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    }
}