/* =========================================
   FLEHMAK BUILDERS DIGITAL ACADEMY
   Professional Website Design
========================================= */

:root {
    --navy-950: #050914;
    --navy-900: #08101f;
    --navy-850: #0b1426;
    --navy-800: #101b31;
    --blue: #315efb;
    --blue-light: #6485ff;
    --cyan: #42d9ff;
    --white: #ffffff;
    --text: #d8e1f2;
    --muted: #9baac3;
    --border: rgba(255, 255, 255, 0.10);
    --card: rgba(255, 255, 255, 0.035);
    --radius: 18px;
    --container: 1160px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--navy-950);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

section {
    position: relative;
}

.section {
    padding: 100px 0;
}

span {
    overflow-wrap: break-word;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 9, 20, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
}

.brand-name {
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 1px;
}

.brand-name small {
    display: block;
    margin-top: 4px;
    color: var(--blue-light);
    font-size: 9px;
    letter-spacing: 1.3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.main-nav > a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
    color: var(--white);
}

.main-nav .nav-class-btn {
    padding: 10px 17px;
    border: 1px solid var(--blue);
    border-radius: 9px;
    color: var(--white);
}

.main-nav .nav-class-btn:hover {
    background: var(--blue);
}

.menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    color: var(--white);
    background: var(--navy-800);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
    min-height: 49px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #2144d6);
    box-shadow: 0 10px 30px rgba(49, 94, 251, 0.20);
}

.btn-primary:hover {
    box-shadow: 0 13px 34px rgba(49, 94, 251, 0.34);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--blue-light);
    background: rgba(49, 94, 251, 0.10);
}

/* =========================================
   COMMON SECTION ELEMENTS
========================================= */

.section-label {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2,
.about-content h2,
.final-cta-section h2,
.free-class-content h2 {
    margin-bottom: 17px;
    font-size: clamp(29px, 4vw, 45px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.section-heading h2 span,
.about-content h2 span,
.final-cta-section h2 span,
.free-class-content h2 span {
    color: var(--blue-light);
}

.section-heading > p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    color: var(--blue-light);
    font-size: 14px;
    font-weight: 800;
}

.text-link:hover {
    color: var(--cyan);
}

.section-bottom-link {
    margin-top: 40px;
    text-align: center;
}

/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    min-height: 640px;
    padding: 95px 0 105px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 80% 30%,
            rgba(49, 94, 251, 0.13),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 5% 90%,
            rgba(66, 217, 255, 0.055),
            transparent 30%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 65px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    max-width: 650px;
    margin-bottom: 23px;
    font-size: clamp(39px, 5.2vw, 64px);
    line-height: 1.09;
    letter-spacing: -2.4px;
    font-weight: 900;
}

.hero-content h1 span {
    display: block;
    color: var(--blue-light);
}

.hero-content > p {
    max-width: 540px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.hero-trust {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 19px;
}

.hero-trust span {
    color: #c6d2e6;
    font-size: 11px;
}

.hero-trust span::first-letter {
    color: var(--cyan);
}

/* Hero code illustration */

.hero-visual {
    min-width: 0;
    position: relative;
    padding: 25px 10px;
}

.visual-glow {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: rgba(49, 94, 251, 0.24);
    filter: blur(85px);
    pointer-events: none;
}

.code-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(116, 148, 255, 0.25);
    border-radius: 17px;
    background: #091222;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    transform: perspective(1000px) rotateY(-4deg);
}

.window-top {
    min-height: 53px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 17px;
    border-bottom: 1px solid var(--border);
    background: #0d192d;
    color: var(--muted);
    font-size: 11px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff657a;
}

.window-dots span:nth-child(2) {
    background: #ffcb65;
}

.window-dots span:nth-child(3) {
    background: #51d99a;
}

.code-content {
    padding: 28px 24px 35px;
    overflow-x: auto;
    font-family: monospace;
    font-size: clamp(10px, 1.1vw, 14px);
    line-height: 2.4;
}

.code-content p {
    white-space: nowrap;
}

.code-indent {
    padding-left: 24px;
}

.code-purple {
    color: #c39bff;
}

.code-blue {
    color: #75b7ff;
}

.code-green {
    color: #7ce5b5;
}

.code-white {
    color: #f2f5ff;
}

.code-window-footer {
    padding: 14px 19px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border);
    color: #9fb0ce;
    font-size: 10px;
}

.floating-card {
    position: absolute;
    z-index: 2;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(12, 23, 43, 0.95);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--cyan);
    background: rgba(49, 94, 251, 0.18);
    font-size: 20px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 11px;
}

.floating-card small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.floating-card-one {
    top: 4px;
    right: -10px;
}

.floating-card-two {
    bottom: 0;
    left: -20px;
    animation-delay: -2s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* =========================================
   SERVICES
========================================= */

.services-section {
    background: var(--navy-900);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.service-card {
    min-width: 0;
    padding: 29px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(100, 133, 255, 0.55);
    background: rgba(49, 94, 251, 0.055);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 23px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(100, 133, 255, 0.20);
    border-radius: 13px;
    background: rgba(49, 94, 251, 0.12);
    font-size: 24px;
}

.service-card h3 {
    margin-bottom: 11px;
    font-size: 18px;
}

.service-card p {
    min-height: 100px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.service-card > a {
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 800;
}

.service-card > a:hover {
    color: var(--cyan);
}

/* =========================================
   PORTFOLIO
========================================= */

.portfolio-section {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(49, 94, 251, 0.08),
            transparent 45%
        );
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portfolio-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--navy-850);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 133, 255, 0.5);
}

.portfolio-placeholder {
    min-height: 205px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(100, 133, 255, 0.22),
            transparent 65%
        ),
        #101c35;
}

.portfolio-placeholder > span {
    margin-bottom: 8px;
    font-size: 40px;
}

.portfolio-placeholder strong {
    font-size: 19px;
    letter-spacing: 2px;
}

.portfolio-placeholder small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.academy-placeholder {
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(66, 217, 255, 0.16),
            transparent 65%
        ),
        #101c35;
}

.digital-placeholder {
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(165, 110, 255, 0.17),
            transparent 65%
        ),
        #101c35;
}

.portfolio-info {
    padding: 24px;
}

.project-category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--cyan);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.portfolio-info p {
    min-height: 78px;
    margin-bottom: 19px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.portfolio-info a {
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 800;
}

.portfolio-info a:hover {
    color: var(--cyan);
}

/* =========================================
   ABOUT
========================================= */

.about-section {
    background: var(--navy-900);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 75px;
}

.about-visual {
    min-height: 350px;
    padding: 25px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 25px;
    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(49, 94, 251, 0.22),
            transparent 65%
        ),
        var(--navy-850);
}

.about-logo-box {
    width: 100%;
    min-height: 270px;
    padding: 35px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    text-align: center;
}

.about-logo-box img {
    width: min(190px, 75%);
    max-height: 180px;
    object-fit: contain;
}

.about-logo-box span {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.about-content h2 {
    margin-bottom: 22px;
}

.about-content > p {
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.about-content .btn {
    margin-top: 10px;
}

/* =========================================
   WHY CHOOSE US
========================================= */

.why-section {
    background: var(--navy-950);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    padding: 25px 21px;
    border-top: 2px solid var(--blue);
    border-radius: 0 0 13px 13px;
    background: var(--card);
}

.why-card > span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--blue-light);
    font-size: 26px;
    font-weight: 900;
}

.why-card h3 {
    margin-bottom: 11px;
    font-size: 15px;
}

.why-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

/* =========================================
   FREE CLASS
========================================= */

.free-class-section {
    padding: 75px 0;
    background: var(--navy-900);
}

.free-class-card {
    position: relative;
    overflow: hidden;
    padding: 55px;
    border: 1px solid rgba(100, 133, 255, 0.25);
    border-radius: 23px;
    background:
        radial-gradient(
            ellipse at 100% 0%,
            rgba(49, 94, 251, 0.22),
            transparent 55%
        ),
        var(--navy-850);
}

.free-class-content {
    max-width: 750px;
}

.free-class-content h2 {
    max-width: 650px;
}

.free-class-content > p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.class-highlights {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.class-highlights span {
    color: #d7e2f8;
    font-size: 11px;
}

.free-class-content .class-status {
    margin: 14px 0 0;
    font-size: 11px;
}

.class-account-link {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
}

.class-account-link a {
    color: var(--blue-light);
    font-weight: 800;
}

/* =========================================
   FINAL CTA
========================================= */

.final-cta-section {
    padding: 100px 0;
    text-align: center;
    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(49, 94, 251, 0.16),
            transparent 65%
        );
}

.final-cta-section h2 {
    max-width: 750px;
    margin: 0 auto 20px;
}

.final-cta-section > .container > p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 14px;
}

.final-cta-section .hero-buttons {
    justify-content: center;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 36px 0 25px;
    border-top: 1px solid var(--border);
    background: #040710;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-brand span {
    color: var(--blue-light);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 11px;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    color: #72819b;
    font-size: 10px;
}

/* =========================================
   GENERAL PAGE HELPERS
   For the services, portfolio and contact pages
========================================= */

.page-hero {
    padding: 75px 0;
    text-align: center;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(49, 94, 251, 0.16),
            transparent 65%
        );
}

.page-hero h1 {
    margin-bottom: 17px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
}

.page-hero h1 span {
    color: var(--blue-light);
}

.page-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
}

.content-section {
    padding: 70px 0 100px;
}

/* Shared form styling for future pages */

.form-card {
    width: min(760px, 100%);
    margin-inline: auto;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--navy-850);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #dfe7f6;
    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    color: var(--white);
    background: #070e1c;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(49, 94, 251, 0.12);
}

.form-group select option {
    color: var(--white);
    background: var(--navy-900);
}

.form-group textarea {
    min-height: 135px;
    resize: vertical;
}

.form-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px;
}

/* =========================================
   RESPONSIVE DESIGN: TABLETS
========================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 17px;
    }

    .main-nav > a {
        font-size: 12px;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 5.3vw, 54px);
    }

    .floating-card-one {
        right: -5px;
    }

    .floating-card-two {
        left: -5px;
    }

    .about-grid {
        gap: 40px;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   RESPONSIVE DESIGN: MOBILE
========================================= */

@media (max-width: 760px) {

    .section {
        padding: 70px 0;
    }

    .header-inner {
        min-height: 73px;
    }

    .brand {
        gap: 9px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 14px;
    }

    .brand-name small {
        font-size: 8px;
        letter-spacing: 0.7px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        flex-shrink: 0;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: 18px 5% 23px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--border);
        background: #070d1a;
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav > a {
        padding: 13px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.055);
        font-size: 13px;
    }

    .main-nav .nav-class-btn {
        margin-top: 12px;
        padding: 12px 15px;
        text-align: center;
        border: 1px solid var(--blue);
    }

    .hero-section {
        min-height: auto;
        padding: 65px 0 75px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 10vw, 54px);
        letter-spacing: -1.7px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-trust {
        gap: 10px 14px;
    }

    .hero-visual {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
        padding: 18px 5px 35px;
    }

    .code-window {
        transform: none;
    }

    .code-content {
        padding: 22px 15px;
        font-size: 10px;
    }

    .floating-card {
        padding: 10px 12px;
    }

    .floating-card-one {
        top: -5px;
        right: 0;
    }

    .floating-card-two {
        bottom: 0;
        left: 0;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .service-card {
        padding: 22px 17px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .service-card p {
        min-height: auto;
        font-size: 12px;
    }

    .portfolio-placeholder {
        min-height: 160px;
        padding: 15px;
    }

    .portfolio-placeholder > span {
        font-size: 32px;
    }

    .portfolio-placeholder strong {
        font-size: 15px;
    }

    .portfolio-info {
        padding: 18px 15px;
    }

    .portfolio-info h3 {
        font-size: 15px;
    }

    .portfolio-info p {
        min-height: auto;
        font-size: 11px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-visual {
        min-height: 270px;
    }

    .about-logo-box {
        min-height: 220px;
    }

    .why-grid {
        gap: 14px;
    }

    .why-card {
        padding: 22px 17px;
    }

    .why-card h3 {
        font-size: 14px;
    }

    .free-class-card {
        padding: 35px 25px;
    }

    .final-cta-section {
        padding: 75px 0;
    }

    .form-card {
        padding: 22px 17px;
    }

    .page-hero {
        padding: 60px 0;
    }

    .content-section {
        padding: 50px 0 75px;
    }
}

/* =========================================
   SMALL MOBILE PHONES
========================================= */

@media (max-width: 420px) {

    .container {
        width: 91%;
    }

    .brand-name {
        font-size: 12px;
    }

    .brand-name small {
        font-size: 7px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 7px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .service-card p,
    .portfolio-info p {
        min-height: auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .free-class-card {
        padding: 28px 19px;
    }

    .class-highlights {
        flex-direction: column;
        gap: 8px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .footer-links {
        gap: 12px 17px;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   FLEHMAK FREE CLASS PAGE REDESIGN
   Add this section to the bottom of style.css
========================================= */

.free-class-page {
    --fc-bg: #050914;
    --fc-panel: #0b1426;
    --fc-panel-light: #101d34;
    --fc-blue: #315efb;
    --fc-blue-light: #6c8cff;
    --fc-white: #ffffff;
    --fc-text: #aab6cc;
    --fc-border: rgba(255,255,255,0.09);

    background: var(--fc-bg);
    color: var(--fc-white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

.free-class-page *,
.free-class-page *::before,
.free-class-page *::after {
    box-sizing: border-box;
}

.fc-container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.free-class-page a {
    text-decoration: none;
}

.fc-header {
    position: relative;
    z-index: 10;
    background: rgba(5,9,20,0.96);
    border-bottom: 1px solid var(--fc-border);
}

.fc-header-inner {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.fc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fc-white);
}

.fc-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.fc-brand strong,
.fc-brand small {
    display: block;
}

.fc-brand strong {
    font-size: 18px;
    letter-spacing: 2px;
}

.fc-brand small {
    font-size: 9px;
    color: var(--fc-text);
    letter-spacing: 1px;
}

.fc-home-link {
    color: #dce5ff;
    border: 1px solid var(--fc-border);
    padding: 10px 16px;
    border-radius: 9px;
    font-size: 13px;
    transition: 0.25s ease;
}

.fc-home-link:hover {
    background: var(--fc-panel-light);
    border-color: var(--fc-blue-light);
}


/* HERO */

.fc-hero {
    position: relative;
    padding: 95px 0 55px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 25%, rgba(49,94,251,0.17), transparent 38%),
        radial-gradient(ellipse at 10% 75%, rgba(49,94,251,0.09), transparent 32%),
        var(--fc-bg);
}

.fc-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 65px;
    align-items: center;
}

.fc-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    padding: 9px 13px;
    border: 1px solid rgba(49,94,251,0.35);
    border-radius: 30px;
    background: rgba(49,94,251,0.09);
    color: #b9caff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.fc-status-dot,
.fc-online-indicator {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    display: inline-block;
    border-radius: 50%;
    background: #36d995;
    box-shadow: 0 0 12px rgba(54,217,149,0.45);
}

.free-class-page #registrationBadge.registration-closed {
    border-color: rgba(255,100,100,0.35);
    background: rgba(255,70,70,0.08);
    color: #ffaaaa;
}

.free-class-page #registrationBadge.registration-closed .fc-status-dot {
    background: #ff6565;
    box-shadow: 0 0 10px rgba(255,101,101,0.4);
}

.fc-eyebrow {
    margin: 25px 0 12px;
    color: var(--fc-blue-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fc-hero-content h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.fc-hero-content h1 span,
.fc-section-heading h2 span,
.fc-why-content h2 span,
.fc-joiners-intro h2 span,
.fc-register-content h2 span {
    display: block;
    color: var(--fc-blue-light);
}

.fc-hero-description {
    max-width: 590px;
    margin: 23px 0;
    color: var(--fc-text);
    font-size: 15px;
    line-height: 1.9;
}

.fc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.fc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.fc-button:hover {
    transform: translateY(-2px);
}

.fc-button-primary {
    color: #fff;
    background: linear-gradient(135deg, #315efb, #5478ff);
    box-shadow: 0 8px 25px rgba(49,94,251,0.2);
}

.fc-button-outline {
    color: #e3eaff;
    border: 1px solid var(--fc-border);
    background: rgba(255,255,255,0.025);
}

.fc-button-outline:hover {
    background: var(--fc-panel-light);
}

.fc-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    color: #9eacc4;
    font-size: 11px;
}


/* CODE PREVIEW */

.fc-visual-card {
    position: relative;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(122,151,255,0.23);
    border-radius: 18px;
    background: linear-gradient(145deg, #101d34, #080f1f);
    box-shadow: 0 25px 70px rgba(0,0,0,0.28);
}

.fc-visual-top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--fc-border);
}

.fc-window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #52617c;
}

.fc-window-label {
    margin-left: auto;
    color: #71809c;
    font-size: 9px;
    letter-spacing: 1px;
}

.fc-code-preview {
    position: relative;
    z-index: 1;
    padding: 20px 10px;
    font-family: monospace;
    font-size: clamp(13px, 1.6vw, 17px);
    line-height: 1.65;
}

.fc-code-preview p {
    margin: 5px 0;
}

.fc-code-indent {
    padding-left: 22px;
}

.fc-code-indent-two {
    padding-left: 44px;
}

.fc-code-purple {
    color: #b99aff;
}

.fc-code-blue {
    color: #65b9ff;
}

.fc-code-highlight {
    color: #e3eaff;
    font-size: 19px;
    font-weight: bold;
}

.fc-project-result {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    background: rgba(255,255,255,0.035);
}

.fc-result-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--fc-blue);
    font-size: 22px;
}

.fc-project-result strong {
    display: block;
    font-size: 12px;
}

.fc-project-result p {
    margin: 3px 0 0;
    color: var(--fc-text);
    font-size: 10px;
}

.fc-result-check {
    margin-left: auto;
    color: #52dfa7;
    font-size: 20px;
}

.fc-visual-glow {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(49,94,251,0.13);
    filter: blur(35px);
}


/* QUICK FACTS */

.fc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 65px;
}

.fc-stat {
    padding: 20px 15px;
    text-align: center;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    background: rgba(255,255,255,0.025);
}

.fc-stat strong {
    display: block;
    color: #fff;
    font-size: 25px;
    line-height: 1.3;
}

.fc-stat span {
    color: var(--fc-text);
    font-size: 11px;
}


/* COUNTDOWN AND CAPACITY */

.fc-live-section {
    padding: 25px 0 55px;
    background: #070d1a;
}

.fc-live-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--fc-border);
    border-radius: 16px;
    background: var(--fc-panel);
}

.fc-countdown-area {
    padding-right: 25px;
    border-right: 1px solid var(--fc-border);
}

.fc-section-mini-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--fc-blue-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.fc-mini-icon {
    font-size: 19px;
}

.fc-countdown-status {
    display: block;
    margin: 13px 0 20px;
    color: #fff;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.fc-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.fc-count-box {
    padding: 14px 4px;
    text-align: center;
    border: 1px solid var(--fc-border);
    border-radius: 9px;
    background: rgba(255,255,255,0.025);
}

.fc-count-box strong {
    display: block;
    font-size: 25px;
    color: #fff;
}

.fc-count-box span {
    color: var(--fc-text);
    font-size: 10px;
}

.fc-capacity-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.fc-capacity-label {
    color: var(--fc-blue-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.fc-capacity-heading h3 {
    margin: 4px 0 0;
    font-size: 17px;
}

.fc-capacity-icon {
    color: var(--fc-blue-light);
    font-size: 30px;
}

.fc-capacity-description {
    margin: 8px 0 18px;
    color: var(--fc-text);
    font-size: 12px;
}

.fc-capacity-numbers {
    display: flex;
    align-items: center;
    gap: 24px;
}

.fc-capacity-numbers strong,
.fc-capacity-numbers span {
    display: block;
}

.fc-capacity-numbers strong {
    font-size: 22px;
}

.fc-capacity-numbers span {
    color: var(--fc-text);
    font-size: 10px;
}

.fc-capacity-divider {
    width: 1px;
    height: 35px;
    background: var(--fc-border);
}

.fc-progress-track {
    height: 7px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 20px;
    background: #1c2941;
}

.fc-progress-track #progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #315efb, #77a0ff);
    transition: width 0.4s ease;
}

.fc-progress-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    color: var(--fc-text);
    font-size: 10px;
}

.fc-progress-footer strong {
    color: #dce5ff;
}


/* SECTION DEFAULTS */

.fc-section {
    padding: 85px 0;
}

.fc-section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.fc-section-tag {
    display: inline-block;
    color: var(--fc-blue-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fc-section-heading h2,
.fc-why-content h2,
.fc-joiners-intro h2 {
    margin: 13px 0;
    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.fc-section-heading p,
.fc-why-content > p,
.fc-joiners-intro > p {
    color: var(--fc-text);
    font-size: 14px;
    line-height: 1.9;
}


/* LEARNING CARDS */

.fc-learning-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.fc-learning-card {
    padding: 25px;
    border: 1px solid var(--fc-border);
    border-radius: 13px;
    background: linear-gradient(145deg, #0d172a, #080f1e);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.fc-learning-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108,140,255,0.55);
}

.fc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.fc-card-number {
    color: #63728e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.fc-card-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(49,94,251,0.12);
    color: #7ea0ff;
    font-size: 19px;
    font-weight: 800;
}

.fc-icon-css {
    color: #bd9aff;
    background: rgba(166,112,255,0.12);
}

.fc-icon-js {
    color: #ffe18c;
    background: rgba(255,207,71,0.10);
}

.fc-icon-ai {
    color: #6be3c4;
    background: rgba(67,217,179,0.10);
}

.fc-icon-project {
    color: #ffadbc;
    background: rgba(255,115,145,0.10);
}

.fc-icon-deploy {
    color: #89caff;
    background: rgba(83,177,255,0.10);
}

.fc-learning-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.fc-learning-card p {
    min-height: 85px;
    margin: 0;
    color: var(--fc-text);
    font-size: 12px;
    line-height: 1.9;
}

.fc-card-label {
    display: inline-block;
    margin-top: 18px;
    color: #829cff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.fc-learning-featured {
    border-color: rgba(49,94,251,0.42);
    background: linear-gradient(145deg, #111f43, #0a1224);
}


/* WHY JOIN */

.fc-why-section {
    background: #080f1d;
    border-top: 1px solid rgba(255,255,255,0.035);
    border-bottom: 1px solid rgba(255,255,255,0.035);
}

.fc-why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: center;
}

.fc-why-content h2 {
    font-size: clamp(30px, 4vw, 45px);
}

.fc-why-content > p {
    margin-bottom: 27px;
}

.fc-benefits-card {
    padding: 28px;
    border: 1px solid var(--fc-border);
    border-radius: 15px;
    background: var(--fc-panel);
}

.fc-benefits-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--fc-border);
}

.fc-benefits-symbol {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(49,94,251,0.16);
    color: #85a0ff;
    font-size: 22px;
}

.fc-benefits-heading h3 {
    margin: 0;
    font-size: 15px;
}

.fc-benefits-heading p {
    margin: 3px 0 0;
    color: var(--fc-text);
    font-size: 11px;
}

.fc-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 14px 0;
}

.fc-benefit > span {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #5ee2a7;
    background: rgba(65,214,155,0.1);
    font-size: 12px;
    font-weight: 800;
}

.fc-benefit p {
    margin: 0;
    color: #d5deef;
    font-size: 12px;
}


/* INFORMATION */

.fc-information-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.fc-information-card {
    padding: 23px 18px;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    background: var(--fc-panel);
}

.fc-information-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 10px;
    color: #8ca6ff;
    background: rgba(49,94,251,0.13);
    font-size: 20px;
}

.fc-information-card small,
.fc-information-card strong {
    display: block;
}

.fc-information-card small {
    margin-bottom: 5px;
    color: var(--fc-blue-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.fc-information-card strong {
    font-size: 15px;
}

.fc-information-card p {
    margin: 8px 0 0;
    color: var(--fc-text);
    font-size: 11px;
    line-height: 1.8;
}

.fc-class-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 850px;
    margin: 25px auto 0;
    padding: 16px;
    border: 1px solid rgba(49,94,251,0.2);
    border-radius: 10px;
    background: rgba(49,94,251,0.06);
}

.fc-class-note > span {
    color: #8ca6ff;
    font-size: 19px;
}

.fc-class-note p {
    margin: 0;
    color: var(--fc-text);
    font-size: 11px;
    line-height: 1.9;
}


/* JOINERS */

.fc-joiners-section {
    background: #080f1d;
}

.fc-joiners-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 55px;
    align-items: center;
}

.fc-joiners-intro h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.fc-text-link {
    display: inline-block;
    margin-top: 12px;
    color: #90a8ff;
    font-size: 13px;
    font-weight: 800;
}

.fc-joiners-panel {
    overflow: hidden;
    border: 1px solid var(--fc-border);
    border-radius: 14px;
    background: var(--fc-panel);
}

.fc-joiners-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 19px;
    border-bottom: 1px solid var(--fc-border);
}

.fc-joiners-panel-heading > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fc-joiners-panel-heading strong {
    font-size: 12px;
}

.fc-live-label {
    color: #65dda8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.fc-joiners-feed {
    display: grid;
    gap: 0;
    padding: 8px 18px;
}

.fc-joiners-feed .joiner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fc-joiners-feed .joiner-item:last-child {
    border-bottom: 0;
}

.fc-joiners-feed .joiner-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #54dba3;
}

.fc-joiners-feed .joiner-item strong {
    display: block;
    color: #e6edfa;
    font-size: 12px;
}

.fc-joiners-feed .joiner-item small {
    display: block;
    margin-top: 3px;
    color: var(--fc-text);
    font-size: 10px;
}

.fc-joiners-feed .joiner-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 90px;
    color: var(--fc-text);
    font-size: 12px;
}

.fc-joiners-feed .joiner-placeholder p {
    margin: 0;
}

.fc-privacy-note {
    padding: 12px 18px;
    border-top: 1px solid var(--fc-border);
    color: #8190aa;
    font-size: 10px;
}


/* REGISTRATION CTA */

.fc-register-section {
    padding: 75px 0;
}

.fc-register-card {
    position: relative;
    overflow: hidden;
    padding: 60px 25px;
    border: 1px solid rgba(120,150,255,0.25);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(49,94,251,0.25), transparent 55%),
        linear-gradient(145deg, #101d38, #080f1f);
    text-align: center;
}

.fc-register-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
}

.fc-register-label {
    color: #91a8ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fc-register-content h2 {
    margin: 17px 0;
    font-size: clamp(31px, 5vw, 48px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.fc-register-content > p {
    max-width: 570px;
    margin: 0 auto;
    color: var(--fc-text);
    font-size: 13px;
    line-height: 1.9;
}

.fc-register-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 25px 0;
    color: #cbd7ee;
    font-size: 11px;
}

.fc-registration-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 27px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #315efb, #5478ff);
    box-shadow: 0 10px 30px rgba(49,94,251,0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fc-registration-cta:hover {
    transform: translateY(-2px);
}

.fc-registration-cta:not(.registration-note-link) {
    background: #26334a;
    box-shadow: none;
    color: #c5cede;
    cursor: default;
}

.fc-registration-cta:focus-visible {
    outline: 3px solid #a4b8ff;
    outline-offset: 4px;
}

.fc-login-link {
    display: block;
    margin-top: 22px;
    color: var(--fc-text);
    font-size: 11px;
}

.fc-login-link strong {
    display: inline-block;
    margin-left: 4px;
    color: #a9bbff;
}

.fc-register-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(49,94,251,0.09);
    filter: blur(30px);
    pointer-events: none;
}

.fc-register-decoration-one {
    top: -100px;
    left: -80px;
}

.fc-register-decoration-two {
    right: -80px;
    bottom: -100px;
}


/* FOOTER */

.fc-footer {
    padding: 35px 0 20px;
    border-top: 1px solid var(--fc-border);
    background: #040710;
    text-align: center;
}

.fc-footer-brand {
    color: #e5ebf9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.fc-footer p {
    margin: 8px 0 20px;
    color: var(--fc-text);
    font-size: 11px;
}

.fc-footer-bottom {
    padding-top: 18px;
    border-top: 1px solid var(--fc-border);
    color: #78869f;
    font-size: 10px;
}


/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .fc-hero {
        padding-top: 65px;
    }

    .fc-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .fc-visual-card {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .fc-live-card {
        gap: 25px;
        padding: 24px;
    }

    .fc-learning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fc-why-grid,
    .fc-joiners-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .fc-information-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .fc-container {
        width: 90%;
    }

    .fc-header-inner {
        min-height: 72px;
    }

    .fc-logo {
        width: 38px;
        height: 38px;
    }

    .fc-brand {
        gap: 8px;
    }

    .fc-brand strong {
        font-size: 14px;
    }

    .fc-brand small {
        max-width: 170px;
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .fc-home-link {
        padding: 9px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .fc-hero {
        padding: 48px 0 35px;
    }

    .fc-hero-grid {
        gap: 30px;
    }

    .fc-hero-content h1 {
        font-size: clamp(35px, 10vw, 47px);
        letter-spacing: -1.5px;
    }

    .fc-eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .fc-hero-description {
        font-size: 13px;
    }

    .fc-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fc-button {
        width: 100%;
    }

    .fc-trust-line {
        gap: 9px 12px;
        font-size: 10px;
    }

    .fc-visual-card {
        padding: 15px;
    }

    .fc-code-preview {
        padding: 15px 5px;
        font-size: 13px;
    }

    .fc-code-highlight {
        font-size: 16px;
    }

    .fc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 35px;
    }

    .fc-stat {
        padding: 15px 8px;
    }

    .fc-stat strong {
        font-size: 22px;
    }

    .fc-live-section {
        padding: 15px 0 35px;
    }

    .fc-live-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .fc-countdown-area {
        padding-right: 0;
        padding-bottom: 25px;
        border-right: 0;
        border-bottom: 1px solid var(--fc-border);
    }

    .fc-count-box {
        padding: 12px 2px;
    }

    .fc-count-box strong {
        font-size: 22px;
    }

    .fc-section {
        padding: 60px 0;
    }

    .fc-section-heading {
        margin-bottom: 30px;
    }

    .fc-section-heading h2,
    .fc-why-content h2,
    .fc-joiners-intro h2 {
        font-size: 30px;
    }

    .fc-section-heading p {
        font-size: 12px;
    }

    .fc-learning-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .fc-learning-card {
        padding: 21px;
    }

    .fc-learning-card p {
        min-height: 0;
    }

    .fc-card-top {
        margin-bottom: 17px;
    }

    .fc-benefits-card {
        padding: 20px;
    }

    .fc-information-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fc-information-card {
        padding: 16px 13px;
    }

    .fc-information-card strong {
        font-size: 13px;
    }

    .fc-information-card p {
        font-size: 10px;
    }

    .fc-class-note {
        padding: 13px;
    }

    .fc-joiners-panel-heading {
        padding: 15px 12px;
    }

    .fc-joiners-panel-heading strong {
        font-size: 10px;
    }

    .fc-live-label {
        font-size: 8px;
    }

    .fc-joiners-feed {
        padding: 8px 13px;
    }

    .fc-register-section {
        padding: 45px 0;
    }

    .fc-register-card {
        padding: 42px 17px;
        border-radius: 15px;
    }

    .fc-register-content h2 {
        font-size: 33px;
    }

    .fc-register-content > p {
        font-size: 12px;
    }

    .fc-register-points {
        gap: 10px;
        font-size: 10px;
    }

    .fc-registration-cta {
        width: 100%;
        padding: 15px 12px;
        font-size: 12px;
    }

    .fc-login-link {
        line-height: 1.9;
    }

    .fc-login-link strong {
        display: block;
        margin-left: 0;
    }

    .fc-footer-brand {
        font-size: 10px;
    }

    .fc-footer-bottom {
        font-size: 9px;
        line-height: 1.8;
    }

}