/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text3);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body,
html {
    min-width: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

::selection {
    color: var(--white);
    background: var(--primary);
}


/* =========================================================
   BOOTSTRAP CONTAINER SAFETY
========================================================= */

.container,
.container-fluid {
    width: 100%;
    max-width: 100%;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    border-radius: 7px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: normal;
}

.btn-gold {
    color: var(--primary);
    background: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-gold:hover {
    color: var(--primary);
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 202, 129, 0.3);
}


/* =========================================================
   HERO
========================================================= */

.spoken-hero {
    width: 100%;
    max-width: 100%;
    background: var(--primary);
    position: relative;
    overflow: hidden;

    background-image: url("../uploads/SPOKEN.png");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-wrapper {
    width: 100%;
    max-width: 100%;
    min-height: 580px;
    margin: 0;
}

.hero-content {
    width: 100%;
    max-width: 100%;

    min-height: 580px;

    padding: 50px 20px 40px 12vw;

    color: var(--white);

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    z-index: 2;
}

.hero-content::before {
    content: "";
    position: absolute;

    width: 550px;
    height: 600px;

    border: 1px solid rgba(255, 202, 129, 0.25);
    border-radius: 50%;

    left: -420px;
    top: -80px;

    pointer-events: none;
}

.section-mini-title {
    color: var(--secondary);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;

    max-width: 100%;
}

.hero-content h1 {
    font-size: clamp(36px, 3.8vw, 60px);

    font-weight: 800;

    line-height: 0.98;

    margin-bottom: 12px;

    letter-spacing: -2px;

    color: var(--primary);

    max-width: 100%;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content h2 {
    font-size: clamp(21px, 2vw, 31px);

    line-height: 1.2;

    font-weight: 700;

    margin-bottom: 18px;

    color: var(--primary);

    max-width: 100%;
}

.hero-content h2 span {
    color: var(--secondary);
}

.hero-description {
    color: rgba(113, 25, 40, 0.85);

    font-size: 14px;

    max-width: 580px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;

    width: 100%;
    height: auto;
}

.fill-btn {
    width: max-content;
    max-width: 100%;
    height: auto;

    text-align: center;

    align-items: center;

    position: relative;
}

.btn-outline-light {
    border: 2px solid rgba(138, 42, 60, 0.9);

    color: var(--primary);

    font-weight: 600;

    border-radius: 7px;

    width: max-content;
    max-width: 100%;

    height: auto;
}

.btn-outline-light:hover {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   HERO GAIN
========================================================= */

.gain-title {
    color: var(--secondary);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
}

.gain-title i {
    margin-right: 7px;
}

.hero-gain-card ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.hero-gain-card li {
    font-size: 12px;

    display: flex;

    gap: 9px;

    line-height: 1.4;
}

.hero-gain-card li i {
    color: var(--secondary);
    flex-shrink: 0;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section-padding {
    padding: 80px 0;
    width: 100%;
}

.levels-section {
    background: var(--white);
}

.section-heading {
    margin-bottom: 30px;
    width: 100%;
}

.heading-line {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    width: 100%;
}

.heading-line span {
    width: 24px;
    height: 2px;

    background: var(--secondary);

    flex-shrink: 0;
}

.heading-line h2 {
    color: var(--primary);

    font-size: 20px;

    font-weight: 800;

    margin: 0;

    letter-spacing: 0.3px;

    text-align: center;
}

.heading-underline {
    width: 45px;
    height: 3px;

    background: var(--secondary);

    margin: 10px auto;
}

.section-heading > p {
    color: var(--text2);

    max-width: 680px;

    margin: 14px auto 0;

    font-size: 14px;

    text-align: center;
}


/* =========================================================
   LEVEL CARDS
========================================================= */

.level-card {
    height: 100%;

    background: var(--white);

    border: 1px solid var(--border3);

    border-radius: 12px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.level-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-md);

    border-color: var(--secondary);
}

.level-top {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 25px 22px 10px;
}

.level-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.level-card h3 {
    margin: 0;

    font-size: 15px;

    font-weight: 800;
}

.level-card .level-top span {
    display: block;

    color: var(--text2);

    font-size: 11px;

    margin-top: 2px;
}

.level-card > p {
    color: var(--text2);

    font-size: 12px;

    line-height: 1.55;

    padding: 0 22px;

    min-height: 58px;

    margin-top: 7px;
}

.level-card ul {
    padding: 0 22px 22px;

    display: flex;

    flex-direction: column;

    gap: 9px;

    flex: 1;
}

.level-card li {
    color: var(--text3);

    font-size: 12px;

    display: flex;

    gap: 8px;

    align-items: flex-start;
}

.level-card li i {
    font-size: 12px;

    margin-top: 3px;

    flex-shrink: 0;
}

.level-btn {
    padding: 12px 20px;

    color: var(--white);

    font-size: 12px;

    font-weight: 700;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;
}

.level-btn:hover {
    color: var(--white);

    filter: brightness(0.94);
}


/* =========================================================
   LEVEL COLORS
========================================================= */

.beginner .level-icon {
    background: #eef8f1;
    color: #278b57;
}

.beginner li i {
    color: #711928;
}

.beginner .level-btn {
    background: #711928;
}

.intermediate .level-icon {
    background: #eef4fb;
    color: #275eb2;
}

.intermediate li i {
    color: #711928;
}

.intermediate .level-btn {
    background: #711928;
}

.advanced .level-icon {
    background: #f4edfa;
    color: #7042a1;
}

.advanced li i {
    color: #711928;
}

.advanced .level-btn {
    background: #711928;
}

.professional .level-icon {
    background: #fff3e8;
    color: #df681d;
}

.professional li i {
    color: #711928;
}

.professional .level-btn {
    background: #711928;
}


/* =========================================================
   FOCUS SECTION
========================================================= */

.focus-section {
    padding: 65px 0;

    background: var(--light-bg);

    border-top: 1px solid var(--border3);

    border-bottom: 1px solid var(--border3);

    width: 100%;
}

.focus-grid {
    display: grid;

    grid-template-columns: repeat(8, 1fr);

    border: 1px solid var(--border3);

    border-radius: 12px;

    overflow: hidden;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    width: 100%;
}

.focus-item {
    min-height: 130px;

    padding: 20px 10px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border-right: 1px solid var(--border3);

    transition: var(--transition);

    min-width: 0;
}

.focus-item:last-child {
    border-right: 0;
}

.focus-item:hover {
    background: var(--primary);

    color: var(--white);

    transform: translateY(-3px);
}

.focus-item i {
    color: var(--primary);

    font-size: 27px;

    margin-bottom: 10px;

    transition: var(--transition);
}

.focus-item:hover i {
    color: var(--secondary);
}

.focus-item strong {
    font-size: 12px;

    font-weight: 800;

    display: block;
}

.focus-item small {
    color: var(--text2);

    font-size: 10px;

    display: block;
}

.focus-item:hover small {
    color: rgba(255, 255, 255, 0.75);
}


/* =========================================================
   LEARNING SECTION
========================================================= */

.learning-section {
    background: var(--white);
    width: 100%;
}

.dark-panel,
.activities-panel,
.timing-panel {
    height: 100%;

    border: 1px solid var(--border3);

    border-radius: 12px;

    padding: 25px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.dark-panel {
    background: var(--primary);

    color: var(--white);

    border-color: var(--primary);
}

.panel-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;
}

.panel-heading span {
    width: 24px;

    height: 2px;

    background: var(--secondary);

    flex-shrink: 0;
}

.panel-heading h3 {
    color: var(--primary);

    font-size: 15px;

    font-weight: 800;

    margin: 0;
}

.dark-panel .panel-heading h3 {
    color: var(--white);
}

.panel-heading.centered {
    justify-content: center;
}

.feature-list {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.feature-list li {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 12px;

    color: rgba(255, 255, 255, 0.9);
}

.feature-list i {
    color: var(--secondary);

    margin-top: 3px;

    flex-shrink: 0;
}


/* =========================================================
   ACTIVITIES
========================================================= */

.activity-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 13px;
}

.activity-card {
    overflow: hidden;

    border-radius: 9px;

    position: relative;

    aspect-ratio: 1.5 / 1;

    background: var(--light-bg);
}

.activity-card img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: var(--transition);
}

.activity-card:hover img {
    transform: scale(1.08);
}

.activity-card span {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    padding: 8px 5px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.8)
    );

    color: var(--white);

    font-size: 10px;

    font-weight: 700;

    text-align: center;

    padding-top: 22px;
}


/* =========================================================
   TIMINGS
========================================================= */

.timing-panel {
    background: var(--light-bg);
}

.timing-item {
    display: flex;

    gap: 12px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border3);
}

.timing-item:last-child {
    border-bottom: 0;

    padding-bottom: 0;
}

.timing-icon {
    width: 38px;

    height: 38px;

    background: var(--white);

    color: var(--primary);

    border: 1px solid var(--border3);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    font-size: 17px;
}

.timing-item strong {
    color: var(--primary);

    font-size: 12px;

    display: block;

    margin-bottom: 2px;
}

.timing-item small {
    display: block;

    color: var(--text2);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 30px 0;

    background: var(--light-bg);

    width: 100%;
}

.cta-wrapper {
    background: var(--primary);

    border-radius: 16px;

    padding: 35px 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    position: relative;

    overflow: hidden;

    box-shadow: var(--shadow-md);

    width: 100%;
}

.cta-wrapper::after {
    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border: 1px solid rgba(255, 202, 129, 0.18);

    border-radius: 50%;

    right: -180px;

    top: -150px;

    pointer-events: none;
}

.cta-content {
    position: relative;

    z-index: 2;

    min-width: 0;
}

.cta-content > span {
    color: var(--secondary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.cta-content h2 {
    color: var(--white);

    font-size: clamp(22px, 3vw, 35px);

    line-height: 1.2;

    margin: 7px 0;

    font-weight: 800;
}

.cta-content h2 strong {
    color: var(--secondary);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);

    margin: 0;

    font-size: 13px;
}

.cta-buttons {
    display: flex;

    gap: 12px;

    position: relative;

    z-index: 2;

    flex-shrink: 0;
}

.btn-outline-light-brand {
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.75);

    background: transparent;
}

.btn-outline-light-brand:hover {
    color: var(--primary);

    background: var(--white);

    border-color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199px) {

    .hero-content {
        padding-left: 45px;
        padding-right: 30px;
    }

    .hero-gain-card {
        width: 280px;
        right: 3%;
    }

    .focus-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .focus-item:nth-child(4) {
        border-right: 0;
    }

    .focus-item:nth-child(-n + 4) {
        border-bottom: 1px solid var(--border3);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .spoken-hero {
        background-position: top center;
    }

    .hero-wrapper {
        min-height: auto;
    }

    .hero-content {
        width: 100%;

        min-height: 560px;

        padding: 110px 40px 70px;

        justify-content: center;
    }

    .hero-image-area {
        min-height: 600px;
    }

    .hero-image-area::before {
        display: none;
    }

    .hero-image-overlay {
        background: linear-gradient(
            90deg,
            rgba(113, 25, 40, 0.2),
            transparent
        );
    }

    .hero-gain-card {
        right: 25px;
        width: 300px;
    }

    .level-card {
        min-height: 100%;
    }

    .focus-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .learning-section .col-lg-4,
    .learning-section .col-lg-5,
    .learning-section .col-lg-3 {
        margin-bottom: 0;
    }

    .cta-wrapper {
        align-items: flex-start;

        flex-direction: column;
    }

    .cta-buttons {
        width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }


    /* HERO */

    .spoken-hero {
        width: 100%;

        background-position: center top;

        background-size: cover;
    }

    .hero-wrapper {
        width: 100%;

        min-height: 0;

        margin: 0;
    }

    .hero-content {
        width: 100%;

        min-height: 0;

        padding: 120px 20px 55px;

        justify-content: center;
    }

    .hero-content::before {
        width: 400px;
        height: 400px;

        left: -300px;
        top: -120px;
    }

    .section-mini-title {
        font-size: 10px;

        letter-spacing: 1.4px;

        line-height: 1.5;

        margin-bottom: 14px;
    }

    .hero-content h1 {
        font-size: 40px;

        line-height: 1;

        letter-spacing: -1px;

        margin-bottom: 15px;
    }

    .hero-content h2 {
        font-size: 21px;

        line-height: 1.25;

        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 13px;

        line-height: 1.7;

        max-width: 100%;

        margin-bottom: 25px;
    }

    .hero-buttons {
        width: 100%;

        height: auto;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 10px;
    }

    .hero-buttons .btn {
        max-width: 100%;

        min-height: 48px;

        height: auto;

        padding: 12px 15px;
    }

    .fill-btn {
        width: 100%;
    }



    /* GENERAL */

    .section-padding {
        padding: 55px 0;
    }

    .section-heading {
        padding: 0 5px;

        margin-bottom: 25px;
    }

    .heading-line {
        gap: 8px;
    }

    .heading-line span {
        width: 18px;
    }

    .heading-line h2 {
        font-size: 17px;

        line-height: 1.3;
    }

    .section-heading > p {
        font-size: 12px;

        line-height: 1.7;

        padding: 0 5px;
    }


    /* LEVEL CARDS */

    .level-top {
        padding: 22px 18px 10px;

        gap: 12px;
    }

    .level-icon {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }

    .level-card h3 {
        font-size: 14px;
    }

    .level-card .level-top span {
        font-size: 10px;
    }

    .level-card > p {
        padding: 0 18px;

        font-size: 12px;

        min-height: auto;

        margin-bottom: 18px;
    }

    .level-card ul {
        padding: 0 18px 20px;

        gap: 8px;
    }

    .level-card li {
        font-size: 11.5px;

        line-height: 1.5;
    }

    .level-btn {
        width: 100%;

        padding: 12px 15px;

        font-size: 11px;
    }


    /* FOCUS */

    .focus-section {
        padding: 50px 0;
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
    }

    .focus-item {
        min-height: 105px;

        padding: 18px 8px;

        border-bottom: 1px solid var(--border3);
    }

    .focus-item:nth-child(odd) {
        border-right: 1px solid var(--border3);
    }

    .focus-item:nth-child(even) {
        border-right: 0;
    }

    .focus-item:nth-child(7),
    .focus-item:nth-child(8) {
        border-bottom: 0;
    }

    .focus-item i {
        font-size: 24px;

        margin-bottom: 7px;
    }

    .focus-item strong {
        font-size: 11px;
    }

    .focus-item small {
        font-size: 9px;
    }


    /* LEARNING */

    .learning-section {
        width: 100%;
    }

    .dark-panel,
    .activities-panel,
    .timing-panel {
        width: 100%;

        padding: 20px;
    }

    .feature-list {
        gap: 11px;
    }

    .feature-list li {
        font-size: 11.5px;

        line-height: 1.5;
    }


    /* ACTIVITIES */

    .activity-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }


    /* TIMING */

    .timing-item {
        padding: 16px 0;
    }


    /* CTA */

    .cta-section {
        padding: 25px 0;
    }

    .cta-wrapper {
        width: 100%;

        padding: 30px 20px;

        border-radius: 12px;

        gap: 25px;
    }

    .cta-content {
        width: 100%;
    }

    .cta-content > span {
        font-size: 9px;

        letter-spacing: 1.4px;
    }

    .cta-content h2 {
        font-size: 24px;

        line-height: 1.25;
    }

    .cta-content p {
        font-size: 12px;

        line-height: 1.6;
    }

    .cta-buttons {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;

        min-height: 48px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-content {
        padding: 110px 18px 45px;
    }

    .hero-content h1 {
        font-size: 34px;

        letter-spacing: -1px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .hero-description {
        font-size: 12px;

        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;

        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;

        min-height: 48px;
    }

    .heading-line {
        gap: 6px;
    }

    .heading-line span {
        width: 14px;
    }

    .heading-line h2 {
        font-size: 15px;
    }

    .section-heading > p {
        font-size: 11px;
    }

    .level-top {
        padding-left: 16px;
        padding-right: 16px;
    }

    .level-card > p {
        padding-left: 16px;
        padding-right: 16px;
    }

    .level-card ul {
        padding-left: 16px;
        padding-right: 16px;
    }

    .focus-item {
        min-height: 100px;
    }

    .dark-panel,
    .activities-panel,
    .timing-panel {
        padding: 18px;
    }

    .activity-grid {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .cta-wrapper {
        padding: 25px 18px;
    }

    .cta-content h2 {
        font-size: 21px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content h2 {
        font-size: 17px;
    }

    .section-mini-title {
        font-size: 9px;
    }

    .heading-line h2 {
        font-size: 14px;
    }

    .level-top {
        gap: 9px;
    }

    .level-icon {
        width: 44px;
        height: 44px;

        font-size: 19px;
    }

    .level-card h3 {
        font-size: 12px;
    }

    .level-card .level-top span {
        font-size: 9px;
    }

    .level-card li {
        font-size: 10.5px;
    }

    .focus-item {
        min-height: 95px;
    }

    .focus-item strong {
        font-size: 10px;
    }

    .focus-item small {
        font-size: 8px;
    }
}


/* =========================================================
   PREVENT HORIZONTAL OVERFLOW
========================================================= */

.row {
    --bs-gutter-x: 1.5rem;
    width: auto;
    max-width: none;
}

.spoken-hero .row {
    margin-left: 0;
    margin-right: 0;
}

section {
    max-width: 100%;
    overflow: hidden;
}

.cta-wrapper,
.level-card,
.dark-panel,
.timing-panel,
.focus-grid {
    max-width: 100%;
}