:root {
    --primary: #40bbbb;
    --secondary: #BB4048;
    --green-title: #30987f;
    --red-title: #ed1c24;
    --bg: #f5f5f5;
    --border: #dcdcdc;
    --footer: #3d3d3d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--primary);
    color: #333;
    font-family:
        "Jost",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen-Sans,
        Ubuntu,
        Cantarell,
        "Helvetica Neue",
        sans-serif;
    line-height: 1.6;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,1);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    padding: 12px 24px;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-title {
    color: var(--primary);
    font-size: clamp(1rem, 2.1vw, 1.35rem);
    font-weight: 600;
    text-align: left;
    margin-left: 20px;
}

.header-logo img {
    height: 80px;
    width: auto;
}

/* CONTENT */

.content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* CARD */

.resource-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.card-content {
    padding: 32px;
}

/* GALLERY */

.gallery {
    position: relative;
}

.slides {
    position: relative;
    overflow: hidden;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.4);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.25s ease, transform 0.25s ease;
}

.slide-arrow:hover {
    background: rgba(255,255,255,0.9);
}

.slide-arrow:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.slide-arrow-left {
    left: 16px;
}

.slide-arrow-right {
    right: 16px;
}

.slide-arrow-right .slide-arrow-icon {
    transform: rotate(-45deg);
}

.slide-arrow-left .slide-arrow-icon {
    transform: rotate(135deg);
}

.slide-arrow-icon {
    width: 12px;
    height: 12px;
    border-right: 3px solid #d3d3d3;
    border-bottom: 3px solid #d3d3d3;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* CARD TITLE */

.card-title {
    font-family: "Belanosima", sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.title-green {
    color: var(--green-title);
}

.title-red {
    color: var(--red-title);
}

.card-description {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

hr {
    border: none;
    border-top: 1px solid #e3e3e3;
    margin: 24px 0;
}

/* TEACHER SECTION */

.content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.guide-button {
    display: inline-block;

    background: var(--primary);
    color: white;

    text-decoration: none;
    padding: 14px 24px;

    border-radius: 8px;
    font-weight: 600;

    transition: 0.25s ease;
}

.guide-button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.app-button {
    display: inline-block;

    background: var(--secondary);
    color: white;

    text-decoration: none;
    padding: 24px 38px;

    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;

    transition: 0.25s ease;
}

.app-button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

/* FOOTER */

.site-footer {
    background: var(--footer);
    color: rgb(230, 230, 230);
    text-align: center;
    padding: 30px 20px;
    margin-top: 80px;
}

.site-footer a {
    color: rgb(230, 230, 230);
    text-decoration: underline;
}

/* MOBILE */

@media (max-width: 768px) {

    .header-container {
        justify-content: flex-start;
        text-align: left;
    }

    .header-branding {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .header-title {
        font-size: 1rem;
    }

    .header-logo img {
        height: 48px;
    }

    .slide-arrow {
        top: auto;
        bottom: 12px;
        transform: none;
        width: 38px;
        height: 38px;
    }

    .slide-arrow-left {
        left: 10px;
    }

    .slide-arrow-right {
        right: 10px;
    }

    .slide img {
        height: 260px;
    }

    .card-content {
        padding: 24px;
    }

    .hero-banner {
        padding: 50px 20px;
    }

    .app-button {
        font-size: 1.12rem;
        padding: 20px 30px;
    }

    .support-text {
        display: none;
    }
}