/* =========================================================
   ALUSIYES ACADEMY - MODERN HOMEPAGE
   This file intentionally replaces the old homepage styling.
   It works with the existing Flask index.html and image paths.
   ========================================================= */

:root {
    --navy: #06143d;
    --navy-2: #071b4d;
    --blue: #0b8cff;
    --cyan: #13b5ff;
    --text: #101936;
    --muted: #71809d;
    --bg: #f7f9fd;
    --white: #ffffff;
    --border: #e7ecf4;
    --shadow: 0 18px 50px rgba(21, 43, 88, .09);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
}

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


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    height: 82px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #06143d, #071b4d, #08245e);
    border-bottom: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

.nav-container {
    width: min(1400px, 100%);
    height: 100%;
    margin: auto;
    padding: 0 34px;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

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

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text span {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-text small {
    margin-top: 5px;
    color: #2daeff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 31px 0;
    color: #c9d6f0;
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    border-radius: 5px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(19,181,255,.85);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #087df5, #12a7ef);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 9px 25px rgba(0,130,255,.25);
    transition: .25s ease;
}

.login-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,150,255,.38);
}

.staff-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #dbeafe;
    background: transparent;
    border: 1px solid rgba(255,255,255,.22);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: .25s ease;
}

.staff-login-btn:hover {
    color: #fff;
    border-color: #13b5ff;
    background: rgba(19,181,255,.1);
}


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

.modern-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 45%, rgba(21,139,255,.24), transparent 28%),
        linear-gradient(115deg, #020b2c, #071b54 55%, #062b73);
}

.hero-container {
    width: min(1400px, 100%);
    min-height: 650px;
    margin: auto;
    padding: 70px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
}

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

.hero-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 9px 16px;
    border: 1px solid rgba(32,166,255,.45);
    border-radius: 30px;
    color: #21aaff;
    background: rgba(0,126,255,.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}

.hero-content h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(54px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -4px;
    font-weight: 800;
    margin-bottom: 27px;
}

.hero-content h1 span {
    color: #0aa2ff;
    text-shadow: 0 0 28px rgba(0,160,255,.22);
}

.hero-description {
    max-width: 620px;
    margin-bottom: 32px;
    color: #bac9e8;
    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.primary-btn,
.secondary-btn,
.dark-btn,
.cta-btn,
.internship-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .25s ease;
}

.primary-btn {
    padding: 15px 20px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #087df5, #0faaf4);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0,130,255,.28);
}

.primary-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}

.secondary-btn {
    padding: 14px 20px;
    border: 1px solid #2189df;
    border-radius: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,.02);
}

.secondary-btn:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.trust-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-group {
    display: flex;
    padding-left: 7px;
}

.avatar {
    width: 36px;
    height: 36px;
    margin-left: -7px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #158fe9, #12336c);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.stars {
    color: #ffc928;
    font-size: 12px;
    margin-bottom: 4px;
}

.trust-info span {
    color: #aebfdf;
    font-size: 11px;
}

.hero-visual {
    position: relative;
    height: 510px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: min(455px, 72vw);
    height: min(455px, 72vw);
    padding: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8ca7e2, #079cff, #0876f5);
    box-shadow: 0 0 55px rgba(0,140,255,.32);
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(0,150,255,.28);
    border-radius: 50%;
    box-shadow: 0 0 55px rgba(0,150,255,.12);
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(91,162,238,.28);
    border-radius: 12px;
    background: rgba(7,31,79,.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 35px rgba(0,0,0,.25);
}

.project-card {
    left: 4px;
    top: 76px;
}

.mentor-card {
    right: -3px;
    bottom: 72px;
}

.floating-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #25aaff;
    background: rgba(20,145,255,.12);
}

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

.floating-card strong {
    margin-bottom: 3px;
    color: #fff;
    font-size: 12px;
}

.floating-card span {
    color: #9eb2d8;
    font-size: 10px;
}

.dot-pattern {
    position: absolute;
    right: -5px;
    top: 35px;
    width: 105px;
    height: 105px;
    opacity: .38;
    background-image: radial-gradient(#52aaff 2px, transparent 2px);
    background-size: 15px 15px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats-section {
    padding: 42px 35px;
    background: #f5f8fd;
}

.stats-container {
    width: min(1250px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(20,45,90,.04);
    transition: .25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.stat-card strong {
    color: #53627d;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.stat-card h3 {
    margin: 3px 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #123d85;
    font-size: 29px;
}

.stat-card small {
    color: #8995aa;
    font-size: 10px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 21px;
}

.stat-icon.blue { color: #087df5; background: #e6f2ff; }
.stat-icon.green { color: #14ad64; background: #e3f9ee; }
.stat-icon.yellow { color: #dfa900; background: #fff5d7; }
.stat-icon.purple { color: #7652e8; background: #eeeaff; }


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.content-section,
.feature-section {
    width: min(1250px, 100%);
    margin: auto;
    padding: 82px 35px;
}

.feature-section {
    width: 100%;
    max-width: none;
    background: #f8faff;
    padding-left: max(35px, calc((100% - 1180px) / 2));
    padding-right: max(35px, calc((100% - 1180px) / 2));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading h2,
.certificate-content h2,
.internship-content h2,
.cta-section h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: -1.5px;
}

.section-heading h2 {
    margin-bottom: 9px;
    font-size: clamp(30px, 4vw, 42px);
}

.section-heading p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: #087df5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.section-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #087df5;
}

.centered-label {
    justify-content: center;
}

.light-label {
    color: #52b9ff;
}

.light-label span {
    background: #52b9ff;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #087df5;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   COURSE CARDS
   ========================================================= */

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.modern-course-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20,45,90,.04);
    transition: .3s ease;
}

.modern-course-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.course-icon {
    height: 165px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 48px;
}

.blue-gradient { background: linear-gradient(135deg, #06184b, #0a68c9); }
.purple-gradient { background: linear-gradient(135deg, #30126d, #7052df); }
.cyan-gradient { background: linear-gradient(135deg, #034d72, #0bb7c5); }

.course-content {
    padding: 22px;
}

.course-category {
    color: #087df5;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.course-content h3 {
    margin: 7px 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
}

.course-content p {
    min-height: 62px;
    color: #7d899f;
    font-size: 12px;
    line-height: 1.7;
}

.course-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #087df5;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   WORKSHOPS
   ========================================================= */

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

.feature-card {
    position: relative;
    min-height: 235px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20,45,90,.04);
    transition: .3s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.feature-card i {
    margin: 18px 0;
    color: #087df5;
    font-size: 31px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 17px;
}

.feature-card p {
    color: #7b879c;
    font-size: 12px;
    line-height: 1.7;
}

.feature-number {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #dce9fb;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 27px;
    font-weight: 800;
}


/* =========================================================
   INTERNSHIP
   ========================================================= */

.internship-section {
    width: min(1250px, calc(100% - 70px));
    margin: 30px auto 85px;
    padding: 58px;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: center;
    gap: 45px;
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 40%, rgba(40,175,255,.35), transparent 28%),
        linear-gradient(120deg, #06143d, #0a397e);
}

.internship-content h2 {
    max-width: 680px;
    margin-bottom: 15px;
    font-size: clamp(31px, 4vw, 49px);
}

.internship-content > p {
    max-width: 650px;
    margin-bottom: 25px;
    color: #b8c9e8;
    font-size: 14px;
    line-height: 1.8;
}

.opportunity-grid {
    max-width: 600px;
    margin-bottom: 27px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.opportunity-card {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    background: rgba(255,255,255,.07);
}

.opportunity-card i {
    color: #2bb2ff;
    margin-right: 7px;
}

.opportunity-card strong,
.opportunity-card span {
    display: block;
}

.opportunity-card strong {
    margin: 9px 0 4px;
    font-size: 13px;
}

.opportunity-card span {
    color: #9fb4d8;
    font-size: 10px;
}

.internship-btn {
    width: fit-content;
    padding: 13px 19px;
    border-radius: 9px;
    color: #06143d;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
}

.internship-btn:hover {
    transform: translateY(-2px);
    color: #06143d;
    background: #e8f4ff;
}

.internship-visual {
    min-height: 320px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 25px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
}

.internship-visual > i {
    color: #24aaff;
    font-size: 70px;
    filter: drop-shadow(0 0 22px rgba(36,170,255,.5));
}

.internship-visual span {
    position: absolute;
    bottom: 55px;
    text-align: center;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.45;
}

.visual-orbit {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(37,172,255,.45);
    border-radius: 50%;
}


/* =========================================================
   CERTIFICATE
   ========================================================= */

.certificate-section {
    width: min(1250px, calc(100% - 70px));
    margin: 0 auto 85px;
    padding: 55px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
}

.certificate-visual {
    padding: 30px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #eef5ff, #f8fbff);
}

.certificate-paper {
    width: min(360px, 100%);
    min-height: 250px;
    padding: 30px 25px;
    text-align: center;
    border: 7px double #9bb6dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(20,45,90,.13);
}

.certificate-mark {
    width: 35px;
    height: 35px;
    margin: auto auto 10px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #0a68c9;
    font-weight: 800;
}

.certificate-paper small {
    color: #5372a1;
    font-size: 8px;
    letter-spacing: 2px;
}

.certificate-paper h3 {
    margin: 20px 0 9px;
    font-family: Georgia, serif;
    font-size: 21px;
}

.certificate-paper p {
    color: #7a879e;
    font-size: 9px;
    line-height: 1.6;
}

.certificate-line {
    width: 130px;
    height: 1px;
    margin: 23px auto 8px;
    background: #b7c5da;
}

.certificate-paper > span {
    color: #5372a1;
    font-size: 8px;
    letter-spacing: 1px;
}

.certificate-content h2 {
    margin-bottom: 15px;
    font-size: clamp(31px, 4vw, 48px);
}

.certificate-content > p {
    max-width: 620px;
    margin-bottom: 25px;
    color: #75829a;
    font-size: 14px;
    line-height: 1.8;
}

.certificate-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.certificate-features div {
    padding: 14px;
    border-radius: 10px;
    color: #23355a;
    background: #f3f7fd;
    font-size: 11px;
    font-weight: 700;
}

.certificate-features i {
    margin-right: 6px;
    color: #087df5;
}

.dark-btn {
    width: fit-content;
    padding: 13px 19px;
    border-radius: 9px;
    color: #fff;
    background: #071a48;
    font-size: 12px;
    font-weight: 800;
}

.dark-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    background: #0b337e;
}


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

.cta-section {
    width: min(1250px, calc(100% - 70px));
    margin: 0 auto 85px;
    padding: 48px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 23px;
    color: #fff;
    background: linear-gradient(120deg, #071a48, #0a4da4);
}

.cta-section h2 {
    margin-bottom: 8px;
    font-size: clamp(26px, 3vw, 39px);
}

.cta-section p {
    color: #b7caeb;
    font-size: 12px;
}

.cta-btn {
    flex-shrink: 0;
    padding: 14px 19px;
    border-radius: 9px;
    color: #071a48;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
}

.cta-btn:hover {
    color: #071a48;
    transform: translateY(-2px);
}


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

.footer {
    padding: 55px 35px 22px;
    color: #fff;
    background: #030d2d;
}

.footer-container {
    width: min(1250px, 100%);
    margin: auto;
    padding-bottom: 35px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .brand {
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 410px;
    color: #8ea3c9;
    font-size: 12px;
    line-height: 1.8;
}

.footer-column h4 {
    margin-bottom: 17px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
}

.footer-column a {
    display: block;
    margin-bottom: 11px;
    color: #8ea3c9;
    font-size: 11px;
    transition: .2s;
}

.footer-column a:hover {
    color: #20aaff;
    transform: translateX(3px);
}

.copyright {
    width: min(1250px, 100%);
    margin: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #667b9f;
    text-align: center;
    font-size: 10px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
    .nav-menu {
        gap: 17px;
    }

    .nav-link {
        font-size: 12px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .login-btn span {
        display: none;
    }

    .login-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 10px;
    }

    .staff-login-btn span {
        display: none;
    }

    .staff-login-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        margin-left: 8px;
        border-radius: 10px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 25px;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .trust-section {
        justify-content: center;
    }

    .hero-visual {
        height: 460px;
    }

    .internship-section,
    .certificate-section {
        grid-template-columns: 1fr;
    }

    .internship-section {
        padding: 40px;
    }

    .certificate-section {
        padding: 40px;
    }

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

@media (max-width: 600px) {
    .navbar {
        height: 72px;
    }

    .brand img {
        width: 45px;
        height: 45px;
    }

    .brand-text span {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .modern-hero,
    .hero-container {
        min-height: auto;
    }

    .hero-container {
        padding: 48px 20px 35px;
    }

    .hero-content h1 {
        font-size: 52px;
        letter-spacing: -3px;
    }

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

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

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-visual {
        height: 360px;
    }

    .hero-image {
        width: 290px;
        height: 290px;
    }

    .hero-glow {
        width: 320px;
        height: 320px;
    }

    .project-card {
        left: -5px;
        top: 55px;
        transform: scale(.78);
        transform-origin: left top;
    }

    .mentor-card {
        right: -5px;
        bottom: 45px;
        transform: scale(.78);
        transform-origin: right bottom;
    }

    .dot-pattern {
        right: 0;
        top: 10px;
        transform: scale(.7);
    }

    .stats-container,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stats-section {
        padding: 28px 20px;
    }

    .content-section,
    .feature-section {
        padding: 60px 20px;
    }

    .section-heading {
        display: block;
    }

    .view-all {
        margin-top: 17px;
    }

    .internship-section,
    .certificate-section,
    .cta-section {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }

    .internship-section,
    .certificate-section {
        padding: 28px;
    }

    .opportunity-grid,
    .certificate-features {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 32px 26px;
        display: block;
    }

    .cta-btn {
        margin-top: 20px;
    }

    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
.career-launch-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    object-fit: contain;
}
/* =========================================================
   REAL ALUSIYES CERTIFICATE
   ========================================================= */

.certificate-visual {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #eef5ff,
            #f8fbff
        );
}

.certificate-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.real-certificate {
    width: 100%;
    max-width: 600px;
    height: auto;

    display: block;

    border-radius: 4px;

    box-shadow:
        0 18px 40px rgba(20, 45, 90, 0.18);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.real-certificate:hover {
    transform: translateY(-4px);

    box-shadow:
        0 24px 50px rgba(20, 45, 90, 0.24);
}
/* =========================================================
   ALUSIYES HERO VIDEO
   The hero visual keeps the original circular composition,
   but uses the supplied 16:9 learning video as the media.
   ========================================================= */
.hero-video-frame {
    position: relative;
    z-index: 3;
    width: min(500px, 44vw);
    aspect-ratio: 1 / 1;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8ca7e2 0%, #079cff 48%, #0876f5 100%);
    box-shadow: 0 0 55px rgba(0,140,255,.32), 0 24px 60px rgba(0,0,0,.25);
    overflow: visible;
}

.hero-video-frame::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
}

.hero-video,
.hero-video-poster {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #06183e;
}

.hero-video-sound {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 7;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(3,18,54,.78);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.hero-video-sound:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(8,132,242,.92);
    border-color: rgba(255,255,255,.55);
}

.hero-video-sound:focus-visible {
    outline: 3px solid rgba(32,171,255,.55);
    outline-offset: 3px;
}

@keyframes alusiyesHeroPulse {
    0%, 100% { box-shadow: 0 0 55px rgba(0,140,255,.32), 0 24px 60px rgba(0,0,0,.25); }
    50% { box-shadow: 0 0 72px rgba(0,170,255,.42), 0 28px 64px rgba(0,0,0,.28); }
}

.hero-video-frame {
    animation: alusiyesHeroPulse 5s ease-in-out infinite;
}

@media (max-width: 900px) {
    .hero-video-frame {
        width: min(455px, 72vw);
    }
}

@media (max-width: 600px) {
    .hero-video-frame {
        width: 290px;
        padding: 6px;
    }

    .hero-video-sound {
        width: 40px;
        height: 40px;
        right: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-frame { animation: none; }
}

/* =========================================================
   V18 HERO VIDEO — FULL 16:9 PLAYER
   ========================================================= */
.hero-visual {
    min-width: 0;
}

.hero-video-frame {
    position: relative;
    z-index: 3;
    width: min(650px, 100%);
    aspect-ratio: 16 / 9;
    padding: 5px;
    border: 1px solid rgba(130, 201, 255, .65);
    border-radius: 24px;
    background: linear-gradient(135deg, #d8e8ff 0%, #12a8ff 42%, #086cf0 100%);
    box-shadow: 0 22px 65px rgba(0, 0, 0, .30), 0 0 42px rgba(0, 157, 255, .22);
    overflow: hidden;
}

.hero-video-frame::before {
    content: "";
    position: absolute;
    inset: 5px;
    z-index: 4;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 19px;
    pointer-events: none;
}

.hero-video,
.hero-video-poster {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    background: #041536;
}

.hero-video {
    outline: none;
}

.hero-video-sound {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 8;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(3, 18, 54, .78);
    backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.hero-video-sound:hover {
    transform: scale(1.06);
    background: rgba(8, 132, 242, .94);
    border-color: rgba(255,255,255,.75);
}

.hero-video-sound:focus-visible {
    outline: 3px solid rgba(32,171,255,.55);
    outline-offset: 3px;
}

.hero-video-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 7;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 8px;
    color: rgba(255,255,255,.92);
    background: rgba(3,18,54,.62);
    backdrop-filter: blur(9px);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    pointer-events: none;
}

@keyframes alusiyesVideoFramePulse {
    0%, 100% { box-shadow: 0 22px 65px rgba(0,0,0,.30), 0 0 42px rgba(0,157,255,.22); }
    50% { box-shadow: 0 25px 70px rgba(0,0,0,.32), 0 0 55px rgba(0,170,255,.30); }
}

.hero-video-frame {
    animation: alusiyesVideoFramePulse 5s ease-in-out infinite;
}

@media (max-width: 1100px) {
    .hero-container {
        gap: 28px;
        padding-left: 36px;
        padding-right: 36px;
    }
    .hero-content h1 {
        font-size: clamp(48px, 5.7vw, 70px);
    }
    .hero-video-frame {
        width: min(590px, 100%);
    }
}

@media (max-width: 900px) {
    .hero-video-frame {
        width: min(680px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero-video-frame {
        width: 100%;
        padding: 4px;
        border-radius: 18px;
    }
    .hero-video,
    .hero-video-poster {
        border-radius: 13px;
    }
    .hero-video-sound {
        width: 40px;
        height: 40px;
        right: 12px;
        bottom: 12px;
    }
    .hero-video-label {
        left: 12px;
        bottom: 12px;
        font-size: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-frame { animation: none; }
}


/* V19 HERO CLEANUP: no floating cards; native video controls handle sound. */
.hero-video-frame {
    position: relative;
    width: min(650px, 100%);
    aspect-ratio: 16 / 9;
    padding: 5px;
    border: 2px solid rgba(41, 174, 255, .78);
    border-radius: 24px;
    background: linear-gradient(135deg, #9bdcff 0%, #10a8ff 45%, #086cf0 100%);
    box-shadow: 0 24px 70px rgba(0,0,0,.30), 0 0 46px rgba(0,157,255,.24);
    overflow: hidden;
}
.hero-video-frame::before {
    inset: 5px;
    border-radius: 18px;
}
.hero-video, .hero-video-poster {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
}
.hero-video {
    display: block;
}
/* Remove the previous floating callouts from the hero. */
.hero-visual .project-card,
.hero-visual .mentor-card {
    display: none !important;
}
@media (max-width: 900px) {
    .hero-video-frame { width: min(680px, 100%); margin: 0 auto; }
}
@media (max-width: 600px) {
    .hero-video-frame { width: 100%; padding: 4px; border-radius: 18px; }
    .hero-video, .hero-video-poster { border-radius: 13px; }
}

/* =========================================================
   V20 HERO — STACKED BRAND STORY
   Learn / Build / Succeed first, then the large video,
   followed by the supporting copy and actions.
   ========================================================= */
.modern-hero-stacked {
    min-height: auto;
    background:
        radial-gradient(circle at 50% 30%, rgba(16,137,255,.16), transparent 34%),
        linear-gradient(180deg, #061642 0%, #071d59 55%, #062b73 100%);
}
.hero-container-stacked {
    width: min(1320px, calc(100% - 80px));
    min-height: auto;
    padding: 72px 0 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.hero-heading {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-heading .hero-badge {
    margin: 0 auto 22px;
}
.hero-heading h1 {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(56px, 7vw, 96px);
    line-height: .98;
    letter-spacing: -4px;
    font-weight: 800;
    color: #fff;
}
.hero-heading h1 span {
    color: #0aa2ff;
    text-shadow: 0 0 28px rgba(0,160,255,.22);
}
.hero-video-stage {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 46px 0 34px;
    position: relative;
}
.hero-video-stage::before {
    content: "";
    position: absolute;
    width: 78%;
    height: 70%;
    top: 15%;
    border-radius: 50%;
    background: rgba(0,145,255,.13);
    filter: blur(55px);
    pointer-events: none;
}
.modern-hero-stacked .hero-video-frame {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    aspect-ratio: 16 / 9;
    padding: 6px;
    border: 2px solid rgba(53,190,255,.95);
    border-radius: 26px;
    background: linear-gradient(135deg, #b6e6ff 0%, #22b5ff 42%, #0875f5 100%);
    box-shadow: 0 30px 90px rgba(0,0,0,.38), 0 0 55px rgba(0,157,255,.25);
    overflow: hidden;
}
.modern-hero-stacked .hero-video,
.modern-hero-stacked .hero-video-poster {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    background: #050505;
}
.hero-support {
    width: min(900px, 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}
.modern-hero-stacked .hero-description {
    max-width: 850px;
    margin: 0 auto 27px;
    color: #c5d5f1;
    font-size: 16px;
    line-height: 1.8;
}
.modern-hero-stacked .hero-buttons {
    justify-content: center;
    margin-bottom: 27px;
}
.modern-hero-stacked .trust-section {
    justify-content: center;
}
@media (max-width: 800px) {
    .hero-container-stacked { width: min(100% - 32px, 680px); padding: 48px 0 58px; }
    .hero-heading h1 { font-size: clamp(46px, 12vw, 68px); letter-spacing: -3px; }
    .hero-video-stage { margin: 34px 0 28px; }
    .modern-hero-stacked .hero-video-frame { padding: 4px; border-radius: 20px; }
    .modern-hero-stacked .hero-video,
    .modern-hero-stacked .hero-video-poster { border-radius: 14px; }
}
@media (max-width: 520px) {
    .hero-heading .hero-badge { font-size: 9px; padding: 8px 12px; }
    .hero-heading h1 { font-size: 43px; letter-spacing: -2px; }
    .modern-hero-stacked .hero-description { font-size: 14px; }
    .modern-hero-stacked .hero-buttons { flex-direction: column; width: 100%; }
    .modern-hero-stacked .hero-buttons a { width: 100%; }
}

/* =========================================================
   V29.4 HOME WORKSHOP CARDS
   ========================================================= */
.home-workshops-section{position:relative}
.home-workshop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-workshop-card{position:relative;display:flex;flex-direction:column;min-height:445px;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(24,48,91,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.home-workshop-card:hover{transform:translateY(-6px);border-color:#cbdff4;box-shadow:0 24px 50px rgba(24,75,130,.12)}
.home-workshop-media{position:relative;display:block;height:205px;overflow:hidden;background:linear-gradient(135deg,#071b4d,#0b8cff);text-decoration:none}
.home-workshop-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .45s ease}
.home-workshop-card:hover .home-workshop-media img{transform:scale(1.04)}
.home-workshop-placeholder{height:100%;display:grid;place-items:center;color:#fff;font:800 38px 'Plus Jakarta Sans',sans-serif}
.home-workshop-placeholder span{padding:12px 16px;border:1px solid rgba(255,255,255,.32);border-radius:15px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.home-workshop-badge{position:absolute;top:14px;left:14px;padding:6px 9px;border-radius:999px;background:rgba(8,25,65,.8);color:#fff;font-size:7px;font-weight:800;letter-spacing:.8px;backdrop-filter:blur(7px)}
.home-workshop-body{display:flex;flex:1;flex-direction:column;padding:18px 18px 17px}
.home-workshop-category{display:inline-block;color:#087df5;font-size:8px;font-weight:800;letter-spacing:1px}
.home-workshop-body h3{min-height:56px;margin:8px 0 9px;color:#14233f;font:800 18px/1.4 'Plus Jakarta Sans',sans-serif;letter-spacing:-.25px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-workshop-meta{display:grid;gap:6px;min-height:58px;color:#76839a;font-size:9px;line-height:1.55}
.home-workshop-meta span{display:block}
.home-workshop-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:8px;margin-top:auto;padding-top:16px}
.home-workshop-actions a{display:flex;align-items:center;justify-content:center;min-height:43px;padding:0 11px;border-radius:10px;text-decoration:none;font-size:9px;font-weight:800}
.home-workshop-outline{border:1px solid #d9e4f2;color:#31517b;background:#fff}
.home-workshop-outline:hover{border-color:#b9d3ef;background:#f8fbff}
.home-workshops-footer{display:flex;justify-content:center;margin-top:21px}
.home-workshop-empty{grid-column:1/-1;min-height:270px;display:grid;place-items:center;align-content:center;padding:35px 20px;text-align:center;border:1px dashed #cbd8e8;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff)}
.home-workshop-empty-icon{width:55px;height:55px;display:grid;place-items:center;margin-bottom:12px;border-radius:16px;background:#edf7ff;color:#087df5;font-size:22px}
.home-workshop-empty h3{margin:0;color:#152642;font:800 18px 'Plus Jakarta Sans',sans-serif}
.home-workshop-empty p{max-width:510px;margin:7px 0 17px;color:#77859b;font-size:10px;line-height:1.6}
@media(max-width:1120px){.home-workshop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.home-workshop-grid{grid-template-columns:1fr}.home-workshop-card{min-height:0}.home-workshop-media{height:auto;aspect-ratio:16/9}.home-workshop-body h3{min-height:0}.home-workshop-meta{min-height:0}}
