/* ========================================
   CSS Variables (Design Tokens)
   ======================================== */
:root {
    --background: hsl(220, 20%, 6%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(220, 20%, 10%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(185, 100%, 50%);
    --primary-foreground: hsl(220, 20%, 6%);
    --secondary: hsl(220, 20%, 14%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(220, 15%, 18%);
    --muted-foreground: hsl(215, 20%, 65%);
    --accent: hsl(280, 100%, 65%);
    --accent-foreground: hsl(210, 40%, 98%);
    --border: hsl(220, 20%, 18%);
    --radius: 0.75rem;
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select {
    font-family: inherit;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-white {
    color: var(--foreground);
}

.w-full {
    width: 100%;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow: 0 0 20px hsla(185, 100%, 50%, 0.5), 0 0 40px hsla(185, 100%, 50%, 0.3);
}

.glow-box {
    box-shadow: 0 0 30px hsla(185, 100%, 50%, 0.2), 0 0 60px hsla(185, 100%, 50%, 0.1);
}

.glass-card {
    background: hsla(220, 20%, 10%, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid hsla(220, 20%, 18%, 0.5);
    border-radius: var(--radius);
}

.gradient-border {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: hsla(185, 100%, 50%, 0.9);
    color: var(--primary-foreground);
}

.btn-gradiant {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.btn-gradiant:hover {
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--primary) 90%, transparent),
            color-mix(in srgb, var(--accent) 90%, transparent));
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--secondary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-md {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

/* Background glow */

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-glow-1 {
    top: 25%;
    left: 40px;
    width: 18rem;
    height: 18rem;
    background: hsla(185, 100%, 50%, 0.2);
}

.hero-glow-2 {
    bottom: 25%;
    right: 40px;
    width: 24rem;
    height: 24rem;
    background: hsla(280, 100%, 65%, 0.2);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.hero-content {
    padding-top: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 6rem;
    }
}

.hero-description {
    color: var(--muted-foreground);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Main card */
.hero-card {
    position: absolute;
    padding: 1.5rem;
    width: 260px;
}

/* Card positions */
.hero-card:nth-child(1) {
    top: 20px;
    left: 40px;
}

.hero-card:nth-child(2) {
    bottom: 40px;
    left: 0;
    width: 180px;
}

.hero-card:nth-child(3) {
    top: 80px;
    right: 0;
    width: 180px;
}

/* Floating animation */
.hero-card {
    animation: float 6s ease-in-out infinite;
}

.hero-card:nth-child(2) {
    animation-delay: 1s;
}

.hero-card:nth-child(3) {
    animation-delay: 2s;
}

.hero-visual {
    position: relative;
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-top: 140px;
}

.hero-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 260px;
    height: 380px;
}

.hero-img .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-card {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    width: 100%;
    height: fit-content;
    border-radius: 10px;
    background-color: #fff;
    padding: 8px;
}

.hero-img-2 .card-img {
    width: 100%;
    max-width: 50px;
}

.hero-img-card span {
    color: var(--primary);
}

.hero-img-card .num {
    font-size: 28px;
    font-weight: 700;
}

.hero-img-card p {
    color: hsl(215, 20%, 65%);
}

/* Left image slightly lower */
.img-left {
    margin-top: 60px;
}

/* Right image higher */
.img-right {
    margin-bottom: 60px;
}

.students-trained {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 60px;
}

.students-avatars {
    display: flex;
    align-items: center;
}

.students-avatars img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;

    /* Overlapping effect */
    margin-left: -14px;

    /* White border like original */
    border: 3px solid #fff;

    /* Smooth look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* First image no overlap */
.students-avatars img:first-child {
    margin-left: 0;
}

.students-info h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    /* or gradient-text if you want */
}

.students-info p {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--muted-foreground);
}


@media (max-width: 900px) {
    .hero-visual {
        justify-content: center;
    }

    .overlay-card {
        left: 0;
    }

    .students-box {
        position: relative;
        bottom: 0;
        margin-top: 1rem;
    }
}


@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .hero-visual {
        padding-top: 0;
        justify-content: space-between;
    }

    .img-left {
        margin-top: 0;
    }

    .img-right {
        margin-bottom: 0;
    }

    .hero-img {
        width: 100%;
    }

    .hero-content h1 br {
        display: none;
    }
}

@media (max-width: 500px) {
    .hero-visual {
        display: flex;
        flex-direction: column;
    }
}

/* ========================================
   Sections (General)
   ======================================== */

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/*  */

.section-header2 {
    text-align: start;
    margin-bottom: 4rem;
}

.header-flex {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.section-header2 h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header2 h2 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .header-flex button {
        display: none;
    }

    .section-header2 {
        text-align: center;
    }

    .header-flex {
        justify-content: center;
    }

    .section-header2 p {
        margin: 0 auto;
    }
}

.section-header2 p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0;
}


/* ========================================
   We Work With
   ======================================== */


.grid-container {
    display: grid !important;

    /* allow shrinking */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 25px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

.grid-container .img-card {
    width: 100%;
    max-width: 100%;
}

.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    background-color: #fff;
}

.sponsor-card:hover {
    transform: scale(1.05);
}

.sponsor-platinum {
    width: 100%;
    height: 7rem;
    padding: 2rem;
}

.sponsor-platinum span {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.sponsor-card img {
    max-width: 100px;
    /* width: 100%; */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s ease;
}

/* Hover effect */
.sponsor-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.sponsor-card:hover {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
}


/* ========================================
   Program
   ======================================== */

.program-item {
    padding: 25px;
    border-radius: 24px;
    background-color: hsl(220deg 20% 10% / 50%);
}

.program-img {
    max-height: 325px;
    height: 100%;
    position: relative;
    border-radius: 20px;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.progarm-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
    font-size: 30px;
    font-weight: 700;
    line-height: initial;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.program-item .duration {
    margin: 15px 0;
    color: var(--primary);
}

.program-item p {
    color: var(--muted-foreground);
}

.program-item ul {
    list-style: disc;
    color: var(--muted-foreground);
}

.program-item .staff-main {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.program-item .staff-main .name-det {
    display: flex;
    gap: 15px;
}

.program-item .staff-main .name-det img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}


.program-item .staff-main .name-det strong {
    display: block;
}

.program-item .staff-main .name-det span {
    color: var(--muted-foreground);
    display: block;
}

@media (max-width: 992px) {
    .program-img {
        max-height: 100%;
    }
}

@media (max-width: 500px) {
    .program-item .staff-main {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========================================
   About Section
======================================== */

.section-header-about {
    /* margin-bottom: 4rem; */
}

.section-header-about h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .section-header-about {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .section-header-about h2 {
        font-size: 3rem;
    }
}

.section-header-about p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.about-content p {
    color: var(--muted-foreground);
}

.about-content ul {
    list-style: disc;
    color: var(--muted-foreground);
}

.about-img-main {
    position: relative;
    border-radius: 24px;
    width: 100%;
    height: 100%;
}

.about-img-main img {
    border-radius: 24px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-card {
    padding: 20px;
    background-color: var(--card);
    border-radius: 10px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.about-img-card>div {
    font-size: 38px;
    color: var(--primary);
    line-height: initial;
}

.about-img-card>span {
    color: var(--muted-foreground);
}

.about-split-main {
    display: flex;
    gap: 60px;
    margin-top: 20px;
}

.about-split-item {
    display: flex;
    gap: 15px;
}

.about-split-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.about-split-item h2 {
    margin: 0;
    font-size: 38px;
    line-height: initial;
}

.about-split-item span {
    color: var(--muted-foreground);
}

@media (max-width: 500px) {

    .about-split-item h2 {
        font-size: 26px;
    }

    .about-split-item img {
        width: 60px;
        height: 60px;
    }

    .about-split-main {
        gap: 0;
        justify-content: space-between;
    }

}

@media (max-width: 380px) {

    .about-split-main {
        flex-direction: column;
        gap: 20px;
    }

}

/* ========================================
   Team Section
======================================== */

.train-card {
    padding: 20px;
    border-radius: 20px;
    background-color: var(--card);
}

.train-card img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.train-card-con {
    margin-top: 15px;
}

.train-card-con p {
    color: var(--muted-foreground);
}

.train-social {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.train-social>span {
    color: var(--primary);
}

.train-social .social {
    display: flex;
    gap: 10px;
}

/* ========================================
   WHY US SECTION
======================================== */


.choose-content p {
    margin-bottom: 40px;
    color: var(--muted-foreground);
}

.choose-card {
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.choose-card:hover {
    scale: 1.02;
}

.choose-img {
    margin-bottom: 20px;
}

.choose-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.choose-card p {
    color: var(--muted-foreground);
}


/* ========================================
   EVENTS SECTION
======================================== */


.events-card {
    padding: 20px;
}

.events-img {
    height: 250px;
}

.events-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.events-card h5 {
    margin-bottom: 20px;
}

.events-card p {
    color: var(--primary);
    margin: 15px 0 10px;
}

.events-date {
    display: flex;
    gap: 20px;
}

.events-date i {
    color: var(--primary);
}

.events-date p {
    margin: 0;
    color: var(--muted-foreground);
}


/* ========================================
   FAQ SECTION
======================================== */

.faq-card {
    padding: 40px;
}

.faq-card p {
    color: var(--muted-foreground);
}

/* ACCORDION CUSTOM */

#faqAccordion {
    padding: 0 30px;
}

.faq-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--foreground);
    font-size: 1.3rem;
    padding: 1.5rem 0;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
    transform: scale(1.2);
}

/* Remove default blue */
.accordion-button:focus {
    box-shadow: none;
}

/* BODY */
.faq-accordion .accordion-body {
    color: var(--muted-foreground);
    padding: 0 0 1.5rem 0;
}

/* HOVER */
.faq-accordion .accordion-button:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .faq-card {
        display: none;
    }
}

/* ========================================
   SUBSCRIBE SECTION
======================================== */

.subscribe-card {
    padding: 120px 0;
    position: relative;
}

.subscribe-card input {
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--secondary);
    color: var(--foreground);
    min-width: 260px;
    outline: none;
    transition: 0.2s;
}

.subscribe-card:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.subscribe-card .btn {
    border-radius: 999px;
    padding: 0.9rem 1.8rem;
}

.subscribe-card form {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.float-img-1 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 8%;
    left: 10%;
}

.float-img-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 15%;
    right: 12%;
}

.float-img-3 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    bottom: 15%;
    left: 5%;
}

.float-img-4 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    bottom: 15%;
    right: 15%;
}


@media (max-width: 992px) {

    .float-img-1 {
        width: 50px;
        height: 50px;
    }

    .float-img-2 {
        width: 50px;
        height: 50px;
    }

    .float-img-3 {
        display: none;
    }

    .float-img-4 {
        display: none;
    }

}

@media (max-width: 768px) {

    .subscribe-card {
        padding: 80px 20px;
    }

    .float-img-1 {
        display: none;
    }

    .float-img-2 {
        display: none;
    }

}

@media (max-width: 500px) {

    .subscribe-card form {
        flex-direction: column;
    }

}


/* course popup */

.custom-modal2 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-Y: auto;
}

.custom-modal2.active {
    display: flex;
}

.split-modal {
    display: flex;
    width: 900px;
    max-width: 95%;
    border-radius: 20px;
    overflow: hidden;
}

/* LEFT SIDE */
.modal-left {
    width: 45%;
    position: relative;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

.overlay-text h4 {
    font-weight: 600;
}

/* RIGHT SIDE */
.modal-right {
    width: 55%;
    padding: 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 10%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.modal-close:hover {
    background-color: var(--primary);
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .split-modal {
        flex-direction: column;
    }

    .modal-left {
        width: 100%;
    }

    .modal-right {
        width: 100%;
    }
}


/* flagship popup */

/* ===== MODAL BASE ===== */
.flagship-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
    overflow: auto;
}

.flagship-modal.active {
    display: block;
}

/* Modal Box */
.flagship-modal-content {
    position: relative;
    max-width: 900px;
    width: 95%;
    margin: 40px auto;
    padding: 2rem;
    border-radius: var(--radius);
    animation: popupFade 0.3s ease;
}

/* Close */
.flagship-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--foreground);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 10%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.flagship-close:hover {
    background-color: var(--primary);
}

/* Header */
.flagship-badge {
    display: inline-block;
    background: var(--secondary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--primary);
}

.flagship-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.flagship-desc {
    color: var(--muted-foreground);
    max-width: 600px;
}

/* Stats */
.flagship-stats {
    display: flex;
    gap: 1rem;
    margin: 20px 0;
}

.flagship-stat {
    flex: 1;
    padding: 1rem;
    background: var(--secondary);
    border-radius: var(--radius);
    text-align: center;
}

.flagship-stat h3 {
    font-size: 20px;
}

/* Sections */
.flagship-section {
    margin-top: 20px;
}

.flagship-section h4 {
    margin-bottom: 10px;
}

/* Tags */
.flagship-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.flagship-tags span {
    padding: 6px 12px;
    background: var(--muted);
    border-radius: 999px;
    font-size: 13px;
}

/* Skills */
.flagship-skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.flagship-skills div {
    background: var(--secondary);
    padding: 10px;
    border-radius: var(--radius);
}

/* Accordion override */
.flagship-accordion .accordion-item {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.flagship-accordion .accordion-button {
    background: transparent;
    color: var(--foreground);
    font-weight: 500;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
}

.flagship-accordion .accordion-button::after {
    filter: invert(1); /* white arrow */
}

.flagship-accordion .accordion-button:not(.collapsed) {
    background: var(--muted);
}

.module-count {
    font-size: 12px;
    color: var(--muted-foreground);
}

.flagship-accordion .accordion-body {
    background: var(--card);
    color: var(--muted-foreground);
    font-size: 14px;
}

.module-title {
    display: flex;
    flex-direction: column; /* 🔥 makes span go to next line */
    align-items: flex-start;
}

.module-count {
    font-size: 12px;
    color: var(--muted-foreground);
}

/* Career Grid */
.flagship-career {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Card */
.career-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.2s ease;
}

/* Hover effect (🔥 looks premium) */
.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px hsla(185, 100%, 50%, 0.15);
}

/* Icon */
.career-icon {
    font-size: 22px;
}

/* Text */
.career-card h5 {
    margin-bottom: 4px;
    font-size: 15px;
}

.career-card p {
    font-size: 13px;
    color: var(--muted-foreground);
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .flagship-career {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.flagship-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

/* Animation */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .flagship-stats {
        flex-direction: column;
    }

    .flagship-skills {
        grid-template-columns: 1fr;
    }

    .flagship-modal-content {
        padding: 1.5rem;
    }
}

/* flagship popup */