@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 */

#content-1 {
    height: 100vh;
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#content-1 .container {
    height: 100%;
    width: 100%;
}

#content-1 .gradient-divider {
    height: 10px;
    width: 50%;
    margin: 20px 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

#content-1 .iam-parent {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

#content-1 .iam-left {
    width: 50%;
}

#content-1 .iam-left h1 {
    font-size: 2.5em;
    width: 450px;
}

#content-1 .iam-left h2 {
    color: var(--color-primary);
}

#content-1 .iam-left .btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: var(--fs-md);
    border-radius: 100px;
    transition: 0.3s;
}

#content-1 .iam-left .btn:hover {
    background: var(--color-secondary-dark);
}

#content-1 .iam-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#content-1 .iam-right img {
    height: 45vh;
}

#content-1 .iam-right .mobile-view {
    display: none;
}

@media (max-height: 768px) {
    #content-1 {
        padding-top: 10%;
    }

    #content-1 .iam-left h1 {
        font-size: 2em;
        width: 350px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {

    #content-1 {
        height: fit-content;
        padding: 130px 5% 5% 5%;
    }

    #content-1 .iam-parent {
        flex-direction: column-reverse;
        padding: 0 5%;
    }

    #content-1 .iam-left h1 {
        font-size: 2.5em;
        width: auto;
    }

    #content-1 .iam-left,
    #content-1 .iam-right {
        width: 100%;
        justify-content: center;
        text-align: left;
    }

    #content-1 .iam-right img {
        height: 380px;
    }

    #content-1 .iam-right .mobile-view {
        display: block;
    }

    #content-1 .iam-right .web-view {
        display: none;
    }


    #content-1 .gradient-divider {
        height: 10px;
        width: 60%;
        margin-top: 8px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    }
}

/* Content-2 */

#content-2 {
    height: fit-content;
    background-image:
        linear-gradient(to bottom, rgba(184, 45, 45, 0.137), rgba(54, 5, 5, 0.747)),
        url("../img/imgs-about/about-content2-bg-2.png");
    padding: 8% 10%;
}

#content-2 .iam-parent {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

#content-2 .iam-left {
    width: 70%;
}

#content-2 .iam-left a {
    color: var(--bg-light);
    font-style: italic;
    font-size: 0.75em;
}

#content-2 .iam-left video {
    width: 100%;
    border-radius: 20px;
}

#content-2 .iam-right {
    width: 30%;
    padding: 40px;
}

#content-2 h1 {
    font-size: 2.25em;
    color: var(--bg-light);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #content-2 {
        margin-top: 50px;
        padding: 10% 5%;
    }

    #content-2 .iam-parent {
        flex-direction: column;
    }

    #content-2 .iam-left h1 {
        font-size: 2.5em;
        width: auto;
    }

    #content-2 .iam-left,
    #content-2 .iam-right {
        width: 100%;
        justify-content: center;
        text-align: left;
    }

    #content-2 .iam-right {
        padding: 10px;
    }
}

/* Content-3 */

#content-3 {
    height: fit-content;
    padding: 5% 10%;
    background-color: var(--bg-light);
}

#content-3 .gradient-divider {
    height: 10px;
    width: 40%;
    margin: 20px 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

#content-3 h2 {
    color: var(--text-lighter);
}

#content-3 h1 {
    font-size: 3em;
}

#content-3 .program-highlights {
    margin: 40px auto;
}

#content-3 .program-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#content-3 .program-highlights li {
    font-size: 1.25em;
    line-height: 1.6;
    margin-bottom: 18px;
    padding-left: 20px;
    position: relative;
}

/* Minimal bullet dot */
#content-3 .program-highlights li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-size: 1.2em;
    line-height: 1;
}

#content-3 .program-description {
    margin: 40px auto;
}

.program-description .intro,
.program-description .sub-intro {
    font-size: 1.35em;
    line-height: 1.6;
    margin-bottom: 20px;
}

#content-3 .program-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

#content-3 .program-list li {
    font-size: 1.25em;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-left: 20px;
    margin-left: 20px;
    position: relative;
}

/* Minimal bullet */
#content-3 .program-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    color: var(--color-primary);
    /* matches your theme color */
    line-height: 1;
}

#content-3 .program-list strong {
    color: var(--color-primary-dark);
}


/* Mobile responsiveness */
@media (max-width: 768px) {
    #content-3 {
        margin-top: 20px;
        padding: 10%;
    }

    #content-3 .gradient-divider {
        height: 10px;
        width: 50%;
        margin: 20px 0;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    }
}

/* Content-4 */

#content-4 {
    height: fit-content;
    padding: 5% 10%;
    background-color: var(--bg-dark);
}

#content-4 .gradient-divider {
    height: 10px;
    width: 35%;
    margin: 20px 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

#content-4 h2 {
    color: var(--color-secondary-light);
}

#content-4 h1 {
    font-size: 3em;
    color: var(--bg-light);
}

/* Container for cards */
#iam-cards .card-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Flip card wrapper */
#iam-cards .flip-card {
    background: transparent;
    width: 100%;
    height: 320px;
    perspective: 1000px;
}

/* Inner container */
#iam-cards .flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/* When card is flipped */
#iam-cards .flip-card.flip .flip-card-inner {
    transform: rotateY(180deg);
}

/* Card faces */
#iam-cards .flip-card-front,
#iam-cards .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Front */
#iam-cards .flip-card-front {
    background: #fff;
}

/* Back (blank for now) */
#iam-cards .flip-card-back {
    background: #f1f1f1;
    padding: 20px;
    overflow: auto;
    transform: rotateY(180deg);
}

/* Front content styling */
#iam-cards .flip-card-front img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

#iam-cards .card-subtitle {
    margin: 50px 15px 0 15px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--color-primary);
}

#iam-cards .card-title {
    margin: 5px 15px;
    font-size: 1.1em;
    color: #333;
}

.minimal-list {
    list-style-type: none;
    padding-left: 0;
    font-family: Arial, sans-serif;
    color: #222;
    max-width: 400px;
}

.minimal-list>li {
    margin-bottom: 1em;
}

.minimal-list>li>strong {
    font-size: 1.1em;
}

.minimal-list ul {
    list-style-type: disc;
    margin: 0.3em 0 0 1.2em;
    padding-left: 10px;
    color: #555;
    font-weight: normal;
    font-size: 0.95em;
}

/* Change bullet dot color */
.minimal-list ul li::marker {
    color: var(--color-primary);
}


/* Responsive */
@media (max-width: 900px) {
    #iam-cards .card-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #iam-cards .card-section {
        grid-template-columns: 1fr;
    }
}