/* ============================================================
   CODEWORD HACKATHON PLATFORM
   MAIN INDEX CSS
   ------------------------------------------------------------
   Includes:
   - Navbar
   - Header
   - Hero
   - Announcement
   - Participation Flow
   - Hackathon Cards
   - Why Section
   - FAQ
   - Stats
   - CTA
   - Responsive Design

   IMPORTANT:
   Footer CSS is NOT included here.
   Footer styling belongs in hackathon-footer.css.
   ============================================================ */


/* ============================================================
   GOOGLE FONT
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');


/* ============================================================
   ROOT
   ============================================================ */

:root {

    --primary: #4F46D8;
    --primary-dark: #3932B8;
    --primary-light: #EEEEFF;
    --primary-soft: #F7F6FF;

    --orange: #F6A623;
    --orange-dark: #D98C08;
    --orange-light: #FFF4DF;

    --green: #22C55E;
    --green-light: #EAF9F0;

    --red: #EF4444;

    --dark: #172033;
    --dark-2: #263149;

    --text: #273247;
    --text-light: #475467;
    --muted: #5B6577;

    --white: #FFFFFF;

    --background: #F5F7FB;
    --section: #FBFCFE;

    --border: #E1E6EF;
    --border-light: #EDF0F5;

    --shadow-sm:
        0 5px 18px rgba(25, 35, 55, 0.06);

    --shadow-md:
        0 12px 32px rgba(25, 35, 55, 0.09);

    --shadow-lg:
        0 20px 55px rgba(25, 35, 55, 0.13);

    --transition: all .3s ease;

    --navbar-height: 160px;
}


/* ============================================================
   RESET
   ============================================================ */

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


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    padding-top: var(--navbar-height);

    font-family: 'Manrope', sans-serif;

    background: var(--background);

    color: var(--text);

    overflow-x: hidden;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


body.no-scroll {
    overflow: hidden;
}


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


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


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


button {
    cursor: pointer;
}


ul,
ol {
    list-style: none;
}


/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: #EEF1F6;
}


::-webkit-scrollbar-thumb {
    background: #C6CBD7;

    border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/* ============================================================
   COMMON CONTAINER
   ============================================================ */

.container {
    width: min(92%, 1240px);

    margin: 0 auto;
}


/* ============================================================
   HEADER HOLDER
   ============================================================ */

#header {
    position: relative;

    z-index: 5000;
}


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

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: var(--navbar-height);

    z-index: 5000;

    background:
        linear-gradient(180deg,
            #FFFFFF 0%,
            #FCFCFF 100%);

    border-bottom:
        1px solid rgba(79, 70, 216, 0.12);

    box-shadow:
        0 8px 30px rgba(29, 35, 55, 0.08);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);
}


/* ============================================================
   NAV CONTAINER
   ============================================================ */

.nav-container {

    width: min(95%, 1450px);

    height: 100%;

    margin: auto;

    padding: 12px 10px 9px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


/* ============================================================
   TOP ROW
   ============================================================ */

.nav-top {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.nav-left {

    display: flex;

    align-items: center;

    min-width: 0;
}


.nav-right {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 18px;
}


/* ============================================================
   LOGO
   ============================================================ */

.logo {

    display: flex;

    align-items: center;

    cursor: pointer;

    min-width: 0;
}


/* Green status dot removed */
.status-dot {

    display: none !important;
}


/* ============================================================
   LARGE CODEWORD LOGO
   ============================================================ */

.logo-text {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    color: var(--dark);

    font-family: 'Manrope', sans-serif;

    line-height: 1;

    white-space: nowrap;
}


.logo-link {

    display: grid;

    grid-template-columns: auto auto;

    grid-template-rows: auto auto;

    align-items: center;

    column-gap: 9px;

    text-decoration: none !important;

    color: var(--dark);

    transition: all .3s ease;
}


.logo-brackets {

    grid-row: 1 / 3;

    width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #172033;

    font-family: 'Courier New', monospace;

    font-size: 40px;

    font-weight: 900;

    line-height: .8;

    letter-spacing: -8px;

    transition: all .3s ease;
}


.logo-name {

    display: block;

    color: #172033;

    font-size: 32px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -1.2px;

    transition: all .3s ease;
}


.logo-text .highlight {

    display: block;

    margin-top: 7px;

    color: var(--primary);

    font-size: 12px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    white-space: nowrap;

    transition: all .3s ease;
}


.logo-link:hover .logo-name {

    color: var(--primary);
}


.logo-link:hover .logo-brackets {

    color: var(--orange);

    transform: translateY(-2px);
}


.logo-link:hover .highlight {

    letter-spacing: 2.4px;
}


/* ============================================================
   NAV STATUS
   ============================================================ */

.nav-status {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 500;

    white-space: nowrap;
}


.nav-status a {

    color: var(--primary) !important;

    font-weight: 700;

    transition: var(--transition);
}


.nav-status a:hover {

    color: var(--primary-dark) !important;
}


/* ============================================================
   MENU ROW
   ============================================================ */

.nav-links {

    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding-top: 3px;
}


/* ============================================================
   MAIN NAV LINKS
   ============================================================ */

.nav-links>a,
.nav-links .dropbtn {

    position: relative;

    min-height: 40px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 15px;

    border-radius: 10px;

    color: #344057;

    font-size: 13px;

    font-weight: 650;

    white-space: nowrap;

    transition: var(--transition);
}


.nav-links>a:hover,
.nav-links .dropbtn:hover {

    color: var(--primary);

    background:
        var(--primary-soft);

    transform:
        translateY(-1px);
}


/* ============================================================
   LINK UNDERLINE
   ============================================================ */

.nav-links>a::after,
.nav-links .dropbtn::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 2px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(90deg,
            var(--primary),
            var(--orange));

    border-radius: 10px;

    transition: var(--transition);
}


.nav-links>a:hover::after,
.nav-links .dropbtn:hover::after {

    width: 38%;
}


/* ============================================================
   DROPDOWN
   ============================================================ */

.dropdown {

    position: relative;

    display: flex;

    align-items: center;
}


.dropbtn {

    border: none;

    background: transparent;

    cursor: pointer;
}


.dropbtn span {

    margin-left: 6px;

    color: var(--muted);

    font-size: 13px;

    transition: var(--transition);
}


.dropdown:hover .dropbtn span {

    color: var(--primary);

    transform:
        rotate(180deg);
}


/* ============================================================
   DROPDOWN CONTENT
   ============================================================ */

.dropdown-content {

    position: absolute;

    top: calc(100% + 10px);

    left: 50%;

    min-width: 255px;

    padding: 8px;

    transform:
        translateX(-50%) translateY(8px);

    opacity: 0;

    visibility: hidden;

    background: #FFFFFF;

    border:
        1px solid var(--border);

    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(20, 25, 45, .13);

    transition: var(--transition);

    z-index: 6000;
}


.dropdown-content::before {

    content: "";

    position: absolute;

    top: -5px;
    left: 50%;

    width: 10px;
    height: 10px;

    transform:
        translateX(-50%) rotate(45deg);

    background: #FFFFFF;

    border-left:
        1px solid var(--border);

    border-top:
        1px solid var(--border);
}


.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {

    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%) translateY(0);
}


.dropdown-content a {

    display: flex;

    align-items: center;

    min-height: 42px;

    width: 100%;

    padding: 9px 12px;

    border-radius: 9px;

    color: var(--text);

    font-size: 13px;

    font-weight: 600;

    transition: var(--transition);
}


.dropdown-content a:hover {

    color: var(--primary);

    background:
        var(--primary-soft);

    transform:
        translateX(4px);
}


/* ============================================================
   MENTOR / SPONSOR
   ============================================================ */

.mentor-btn {

    min-height: 40px !important;

    padding: 8px 15px !important;

    border-radius: 10px !important;

    background:
        var(--orange-light) !important;

    border:
        1px solid rgba(246, 166, 35, .28);

    color:
        #B86E00 !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    transition: var(--transition);
}


.mentor-btn:hover {

    background:
        var(--orange) !important;

    border-color:
        var(--orange);

    color:
        #FFFFFF !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 16px rgba(246, 166, 35, .20);
}


/* ============================================================
   DYNAMIC AUTH AREA
   ============================================================ */

#authArea {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-shrink: 0;

    min-width: 0;

    margin-left: 4px;

    z-index: 10;
}


/* ============================================================
   LOGGED-IN USER BOX
   ============================================================ */

.user-box {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    min-width: 0;

    white-space: nowrap;
}


/* ============================================================
   DASHBOARD BUTTON
   ============================================================ */

.dashboard-btn {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 7px 13px;

    border-radius: 10px;

    background:
        linear-gradient(135deg,
            #F4F3FF,
            #ECEAFF);

    border: 1px solid rgba(79, 70, 216, 0.18);

    color: #4F46D8;

    font-family: 'Manrope', sans-serif;

    font-size: 11px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 3px 10px rgba(79, 70, 216, 0.06);

    transition:
        all .25s ease;
}


/* Dashboard icon */

.dashboard-icon {

    width: 23px;

    height: 23px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 7px;

    background: #FFFFFF;

    font-size: 13px;

    line-height: 1;

    box-shadow:
        0 2px 7px rgba(79, 70, 216, .10);

    transition:
        all .25s ease;
}


/* Dashboard hover */

.dashboard-btn:hover {

    color: #FFFFFF;

    background:
        linear-gradient(135deg,
            #4F46D8,
            #625BE7);

    border-color:
        #4F46D8;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 17px rgba(79, 70, 216, .20);
}


.dashboard-btn:hover .dashboard-icon {

    background:
        rgba(255, 255, 255, .18);

    transform:
        scale(1.08);
}


/* ============================================================
   WELCOME TEXT
   ============================================================ */

.welcome-text {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    max-width: 180px;

    padding: 0 5px;

    color: #3F4B61;

    font-family: 'Manrope', sans-serif;

    font-size: 13px;

    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* If strong is used around name */

.welcome-text strong {

    margin-left: 4px;

    color: #172033;

    font-weight: 700;
}


/* ============================================================
   LOGOUT BUTTON
   ============================================================ */

.logout-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    min-width: 70px;

    min-height: 40px;

    padding: 7px 12px;

    border-radius: 10px;

    border:
        1px solid rgba(239, 68, 68, .20);

    background:
        #FFF5F5;

    color:
        #EF4444;

    font-family: 'Manrope', sans-serif;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        all .25s ease;
}


.logout-btn:hover {

    background:
        #EF4444;

    border-color:
        #EF4444;

    color:
        #FFFFFF;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 17px rgba(239, 68, 68, .20);
}


/* ============================================================
   REGISTER / LOGIN
   ============================================================ */

#authArea>.registeration-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 8px 15px;

    border-radius: 10px;

    background:
        linear-gradient(135deg,
            #F6A623,
            #E99712);

    border:
        1px solid rgba(246, 166, 35, .20);

    color:
        #FFFFFF;

    font-family: 'Manrope', sans-serif;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        all .25s ease;
}


#authArea>.registeration-btn:hover {

    background:
        linear-gradient(135deg,
            #D98C08,
            #F6A623);

    color:
        #FFFFFF;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 17px rgba(246, 166, 35, .20);
}


/* ============================================================
   DESKTOP WIDTH FIX
   ------------------------------------------------------------
   Prevents the Dashboard / Hi name / Logout area from
   being pushed outside the navbar.
   ============================================================ */

@media (min-width: 1151px) {

    #authArea {

        flex: 0 0 auto;

        max-width: 360px;

        gap: 3%;

    }


    .user-box {

        max-width: 360px;
    }


    .welcome-text {

        max-width: 150px;
    }
}


/* ============================================================
   MEDIUM DESKTOP
   ============================================================ */

@media (max-width: 1200px) and (min-width: 851px) {

    #authArea {

        max-width: 300px;

        gap: 2%;

    }


    .user-box {

        gap: 5px;

        max-width: 300px;
    }


    .dashboard-btn {

        padding:
            7px 9px;

        font-size:
            10px;
    }


    .dashboard-icon {

        width:
            21px;

        height:
            21px;

        font-size:
            11px;
    }


    .welcome-text {

        max-width:
            110px;

        font-size:
            10px;

        padding:
            0 2px;
    }


    .logout-btn {

        min-width:
            62px;

        padding:
            7px 8px;

        font-size:
            9px;
    }
}


/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 850px) {

    #authArea {

        width:
            100%;

        max-width:
            none;

        margin:
            8px 0 0;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;
    }


    .user-box {

        width:
            100%;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            7px;

        max-width:
            none;
    }


    .dashboard-btn,
    .welcome-text,
    .logout-btn {

        width:
            100%;

        max-width:
            none;

        min-height:
            44px;

        justify-content:
            center;
    }


    .welcome-text {

        background:
            #F7F8FC;

        border:
            1px solid #E5E8EF;

        border-radius:
            10px;

        color:
            #3F4B61;
    }


    .logout-btn {

        min-width:
            0;
    }


    #authArea>.registeration-btn {

        width:
            100%;

        min-height:
            44px;

        margin-bottom:
            5px;
    }
}


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

@media (max-width: 480px) {

    .dashboard-btn {

        font-size:
            11px;
    }


    .welcome-text {

        font-size:
            11px;
    }


    .logout-btn {

        font-size:
            10px;
    }
}


/* ============================================================
   LOGOUT
   ============================================================ */

.logout-btn {

    min-height: 40px !important;

    padding: 8px 14px !important;

    border:
        1px solid rgba(239, 68, 68, .22) !important;

    border-radius: 10px !important;

    background:
        #FFF5F5 !important;

    color:
        var(--red) !important;

    font-size: 10px !important;

    font-weight: 700 !important;

    transition: var(--transition);
}


.logout-btn:hover {

    background:
        var(--red) !important;

    color:
        #FFFFFF !important;

    border-color:
        var(--red) !important;

    transform:
        translateY(-2px);
}


/* ============================================================
   MENU TOGGLE
   ============================================================ */

.menu-toggle {

    display: none;

    width: 43px;
    height: 43px;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        var(--primary-light);

    border:
        1px solid rgba(79, 70, 216, .15);

    color:
        var(--primary);

    font-size: 22px;

    cursor: pointer;

    transition: var(--transition);
}


.menu-toggle:hover {

    color: #FFFFFF;

    background:
        var(--primary);

    transform:
        translateY(-2px);
}


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


.site-header {
    position: relative;
    width: 100%;
    height: 500px; /* Original height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #171D2D;
}

.hero-slider,
.slider-track,
.slide {
    height: 100%;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(.77, 0, .18, 1);
}

.slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    overflow: hidden;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 35%;
}




/* ============================================================
   HERO OVERLAY
   ============================================================ */
/* Image overlay */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(18, 25, 42, 0.65),
        rgba(18, 25, 42, 0.25)
    );
    pointer-events: none;
}

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

.hero-content {

    position: relative;

    z-index: 10;

    width: min(90%, 1050px);

    margin: auto;

    text-align: center;

    color: #FFFFFF;
}


.hero-content h1 {

    margin: 0;

    color: #FFFFFF;

    font-size:
        clamp(44px, 6vw, 76px);

    line-height: 1.08;

    font-weight: 900;

    letter-spacing: -2px;

    text-shadow:
        0 8px 25px rgba(0, 0, 0, .25);
}


.hero-content h1::first-letter {

    color:
        var(--orange);
}


.hero-content p {

    max-width: 760px;

    margin: 22px auto 0;

    color:
        rgba(255, 255, 255, .90);

    font-size: 16px;

    line-height: 1.8;

    font-weight: 500;
}


/* ============================================================
   HERO SLIDER BUTTONS
   ============================================================ */

.slider-btn {

    position: absolute;

    top: 50%;

    z-index: 20;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform:
        translateY(-50%);

    border:
        1px solid rgba(255, 255, 255, .30);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .13);

    backdrop-filter:
        blur(10px);

    color: #FFFFFF;

    font-size: 20px;

    cursor: pointer;

    transition: var(--transition);
}


.slider-btn:hover {

    background:
        var(--orange);

    border-color:
        var(--orange);

    transform:
        translateY(-50%) scale(1.08);

    box-shadow:
        0 8px 25px rgba(246, 166, 35, .25);
}


.prev {
    left: 25px;
}


.next {
    right: 25px;
}


/* ============================================================
   ANNOUNCEMENT
   ============================================================ */

.announcement-bar {

    position: relative;

    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(90deg,
            var(--primary-dark),
            var(--primary),
            #665EE5);

    color: #FFFFFF;

    border-bottom:
        1px solid rgba(255, 255, 255, .12);

    white-space: nowrap;
}


.announcement-track {
    display: inline-block;
    padding-left: 100%;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .2px;
    animation: announcementScroll 60s linear infinite;
}

/* Pause scrolling on hover */
.announcement-track:hover {
    animation-play-state: paused;
    cursor: pointer;
}

@keyframes announcementScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ============================================================
   PARTICIPATION SECTION
   ============================================================ */

.cw-participation-section {

    width: 100%;

    padding:
        65px 20px;

    background:
        linear-gradient(180deg,
            #F5F7FB,
            #FFFFFF);
}


.cw-flow-container {

    width: min(100%, 1400px);

    margin: auto;

    padding:
        38px 30px;

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    border-radius:
        24px;

    box-shadow:
        var(--shadow-sm);
}


/* ============================================================
   PARTICIPATION HEADING
   ============================================================ */

.cw-flow-heading {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    margin-bottom: 32px;
}


.cw-flow-heading>span {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        var(--primary-light);

    font-size: 28px;

    box-shadow:
        0 8px 20px rgba(79, 70, 216, .10);
}


.cw-flow-heading h2 {

    color:
        var(--dark);

    font-size:
        28px;

    line-height: 1.2;

    font-weight:
        800;
}


.cw-flow-heading p {

    margin-top: 5px;

    color:
        var(--muted);

    font-size:
        11px;
}


/* ============================================================
   HORIZONTAL FLOW
   ============================================================ */

.cw-horizontal-flow {

    width: 100%;

    display: flex;

    align-items: stretch;

    gap: 12px;

    overflow-x: auto;

    padding:
        25px 20px 32px;

    scroll-behavior:
        smooth;

    scrollbar-width:
        thin;
}


.cw-horizontal-flow::-webkit-scrollbar {
    height: 6px;
}


.cw-horizontal-flow::-webkit-scrollbar-track {
    background: #EEF0F5;

    border-radius: 20px;
}


.cw-horizontal-flow::-webkit-scrollbar-thumb {

    background:
        var(--primary);

    border-radius:
        20px;
}


.cw-flow-item {

    flex:
        0 0 170px;

    width:
        170px;

    min-width:
        170px;
}


/* ============================================================
   FLOW CARD
   ============================================================ */

.cw-flow-card {

    position: relative;

    width: 100%;

    height: 195px;

    min-height: 195px;

    padding:
        35px 14px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    border-radius:
        16px;

    box-shadow:
        var(--shadow-sm);

    transition:
        var(--transition);
}


a.cw-flow-card {

    display: flex;

    color: inherit;
}


.cw-flow-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(79, 70, 216, .28);

    box-shadow:
        var(--shadow-md);
}


/* ============================================================
   STEP NUMBER
   ============================================================ */

.cw-step-number {

    position: absolute;

    top: -15px;
    left: 50%;

    min-width: 38px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 8px;

    transform:
        translateX(-50%);

    border:
        3px solid #FFFFFF;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            var(--primary),
            #7169EA);

    color:
        #FFFFFF;

    font-size:
        10px;

    font-weight:
        800;

    box-shadow:
        0 7px 16px rgba(79, 70, 216, .20);
}


/* ============================================================
   FLOW ICON
   ============================================================ */

.cw-flow-icon {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom:
        12px;

    border-radius:
        15px;

    background:
        var(--primary-light);

    font-size:
        25px;

    transition:
        var(--transition);
}


.cw-flow-card:hover .cw-flow-icon {

    background:
        var(--orange-light);

    transform:
        scale(1.08);
}


/* ============================================================
   FLOW TEXT
   ============================================================ */

.cw-flow-card h3 {

    margin:
        2px 0 5px;

    color:
        var(--dark);

    font-size:
        13px;

    font-weight:
        750;

    line-height:
        1.3;
}


.cw-flow-card p {

    max-width:
        140px;

    margin:
        0;

    color:
        var(--muted);

    font-size:
        9px;

    line-height:
        1.5;
}


/* ============================================================
   FLOW BUTTON
   ============================================================ */

.cw-link-btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    margin-top:
        10px;

    padding:
        5px 10px;

    border-radius:
        7px;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size:
        8px;

    font-weight:
        700;

    transition:
        var(--transition);
}


.cw-flow-card:hover .cw-link-btn {

    background:
        var(--primary);

    color:
        #FFFFFF;
}


/* ============================================================
   FLOW ARROW
   ============================================================ */

.cw-flow-arrow {

    flex:
        0 0 30px;

    width:
        30px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    align-self:
        center;

    color:
        var(--orange);

    font-size:
        20px;

    font-weight:
        800;
}


/* ============================================================
   FINAL CARD
   ============================================================ */

.cw-final-card {

    background:
        linear-gradient(180deg,
            #F0FCF5,
            #FFFFFF);

    border-color:
        rgba(34, 197, 94, .28);
}


.cw-final-card h3 {

    color:
        #16844B;
}


.cw-final-card .cw-flow-icon {

    background:
        var(--green-light);
}


.cw-success {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    margin-top:
        9px;

    padding:
        5px 11px;

    border-radius:
        20px;

    background:
        var(--green);

    color:
        #FFFFFF;

    font-size:
        8px;

    font-weight:
        700;
}


/* ============================================================
   PARTICIPATION ACTIONS
   ============================================================ */

.cw-flow-actions {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

    flex-wrap:
        wrap;
}


.cw-main-btn {

    min-height:
        45px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    padding:
        10px 22px;

    border-radius:
        10px;

    font-size:
        10px;

    font-weight:
        750;

    transition:
        var(--transition);
}


.cw-register-btn {

    background:
        var(--orange);

    color:
        #FFFFFF;

    box-shadow:
        0 7px 18px rgba(246, 166, 35, .20);
}


.cw-register-btn:hover {

    background:
        var(--orange-dark);

    color:
        #FFFFFF;

    transform:
        translateY(-2px);
}


.cw-login-btn {

    background:
        var(--primary);

    color:
        #FFFFFF;

    box-shadow:
        0 7px 18px rgba(79, 70, 216, .20);
}


.cw-login-btn:hover {

    background:
        var(--primary-dark);

    color:
        #FFFFFF;

    transform:
        translateY(-2px);
}


/* ============================================================
   UPCOMING SECTION
   ============================================================ */

#upcoming {

    width:
        100%;

    padding:
        75px 0 85px;

    background:
        #FFFFFF;
}


.upcoming-heading,
.section-heading {

    position:
        relative;

    margin-bottom:
        45px;

    color:
        var(--dark);

    text-align:
        center;

    font-size:
        clamp(28px, 4vw, 40px);

    line-height:
        1.2;

    font-weight:
        850;

    letter-spacing:
        -.8px;
}


.upcoming-heading::after,
.section-heading::after {

    content:
        "";

    display:
        block;

    width:
        60px;

    height:
        4px;

    margin:
        14px auto 0;

    border-radius:
        20px;

    background:
        linear-gradient(90deg,
            var(--primary),
            var(--orange));
}


/* ============================================================
   HACKATHON GRID
   ============================================================ */

.hackathon-grid {

    width:
        100%;

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        25px;

    margin:
        0 auto;
}


/* ============================================================
   HACKATHON CARD
   ============================================================ */

.hackathon-card {

    width:
        100%;

    min-width:
        0;

    display:
        flex;

    flex-direction:
        column;

    padding:
        15px;

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    border-radius:
        19px;

    overflow:
        hidden;

    box-shadow:
        var(--shadow-sm);

    transition:
        var(--transition);
}


.hackathon-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(79, 70, 216, .25);

    box-shadow:
        var(--shadow-md);
}


/* ============================================================
   CARD IMAGE
   ============================================================ */

.image-wrapper {

    width:
        100%;

    height:
        270px;

    overflow:
        hidden;

    border-radius:
        14px;

    background:
        #F3F5F9;
}


.image-wrapper img {

    width:
        100%;

    height:
        100%;

    object-fit:
        contain;

    transition:
        transform .4s ease;
}


.hackathon-card:hover .image-wrapper img {

    transform:
        scale(1.035);
}


/* ============================================================
   CARD TITLE
   ============================================================ */

.hackathon-name {

    margin:
        15px 0 10px;

    color:
        var(--dark);

    font-size:
        18px;

    line-height:
        1.3;

    font-weight:
        750;
}


/* ============================================================
   CARD ROW
   ============================================================ */

.card-row {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        5px;

    margin-bottom:
        7px;

    color:
        var(--text-light);

    font-size:
        11px;

    line-height:
        1.55;
}


/* ============================================================
   CARD TEXT
   ============================================================ */

.hackathon-card p,
.hackathon-card span,
.hackathon-card a,
.card-row,
.card-row span {

    word-break:
        break-word;

    overflow-wrap:
        break-word;
}


/* ============================================================
   CARD BUTTON
   ============================================================ */

.btn {

    width:
        100%;

    min-height:
        43px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-top:
        8px;

    padding:
        9px 14px;

    border:
        none;

    border-radius:
        10px;

    background:
        var(--primary);

    color:
        #FFFFFF;

    font-size:
        11px;

    font-weight:
        700;

    transition:
        var(--transition);
}


.btn:hover {

    background:
        var(--primary-dark);

    color:
        #FFFFFF;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 18px rgba(79, 70, 216, .20);
}


/* ============================================================
   WHY SECTION
   ============================================================ */

.why-section {

    padding:
        85px 20px;

    background:
        #F7F8FC;

    text-align:
        center;
}


.why-grid {

    width:
        min(100%, 1200px);

    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        20px;

    margin:
        auto;
}


.why-card {

    position:
        relative;

    min-height:
        225px;

    padding:
        32px 22px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    overflow:
        hidden;

    box-shadow:
        var(--shadow-sm);

    transition:
        var(--transition);
}


.why-card::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        100%;

    height:
        4px;

    background:
        linear-gradient(90deg,
            var(--primary),
            var(--orange));

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        var(--transition);
}


.why-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-md);

    border-color:
        rgba(79, 70, 216, .20);
}


.why-card:hover::before {

    transform:
        scaleX(1);
}


.why-card h3 {

    margin-bottom:
        10px;

    color:
        var(--dark);

    font-size:
        15px;

    font-weight:
        750;
}


.why-card p {

    color:
        var(--muted);

    font-size:
        10px;

    line-height:
        1.75;
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-section {

    padding:
        85px 20px;

    background:
        #FFFFFF;

    text-align:
        center;
}


.faq-container {

    width:
        min(100%, 900px);

    margin:
        auto;

    text-align:
        left;
}


.faq-item {

    margin-bottom:
        13px;

    padding:
        20px 22px;

    background:
        #F8F9FC;

    border:
        1px solid var(--border);

    border-radius:
        14px;

    transition:
        var(--transition);
}


.faq-item:hover {

    background:
        #FFFFFF;

    border-color:
        rgba(79, 70, 216, .25);

    box-shadow:
        var(--shadow-sm);

    transform:
        translateY(-2px);
}


.faq-item h4 {

    margin-bottom:
        7px;

    color:
        var(--dark);

    font-size:
        14px;

    font-weight:
        750;
}


.faq-item p {

    color:
        var(--muted);

    font-size:
        11px;

    line-height:
        1.7;
}


.featured-btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        43px;

    margin-top:
        18px;

    padding:
        10px 20px;

    border-radius:
        10px;

    background:
        var(--primary);

    color:
        #FFFFFF;

    font-size:
        10px;

    font-weight:
        700;

    transition:
        var(--transition);
}


.featured-btn:hover {

    background:
        var(--primary-dark);

    color:
        #FFFFFF;

    transform:
        translateY(-2px);
}


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

.stats-section {

    position:
        relative;

    padding:
        90px 20px;

    overflow:
        hidden;

    text-align:
        center;

    background:
        linear-gradient(135deg,
            #24204E,
            #4F46D8);

    color:
        #FFFFFF;
}


.stats-section::before {

    content:
        "";

    position:
        absolute;

    width:
        400px;

    height:
        400px;

    top:
        -200px;

    right:
        -120px;

    border-radius:
        50%;

    background:
        rgba(246, 166, 35, .14);
}


.stats-section::after {

    content:
        "";

    position:
        absolute;

    width:
        300px;

    height:
        300px;

    left:
        -150px;

    bottom:
        -170px;

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, .06);
}


.stats-section>* {

    position:
        relative;

    z-index:
        2;
}


.stats-section .section-heading {

    color:
        #FFFFFF;
}


.stats-section .section-heading::after {

    background:
        var(--orange);
}


.stats-container {

    width:
        min(100%, 1050px);

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        20px;

    margin:
        auto;
}


.stat-box {

    padding:
        38px 20px;

    background:
        rgba(255, 255, 255, .10);

    border:
        1px solid rgba(255, 255, 255, .17);

    border-radius:
        18px;

    backdrop-filter:
        blur(12px);

    transition:
        var(--transition);
}


.stat-box:hover {

    transform:
        translateY(-7px);

    background:
        rgba(255, 255, 255, .15);

    border-color:
        rgba(246, 166, 35, .50);
}


.stat-box h3 {

    margin-bottom:
        5px;

    color:
        var(--orange);

    font-size:
        40px;

    font-weight:
        850;
}


.stat-box p {

    color:
        rgba(255, 255, 255, .82);

    font-size:
        11px;

    font-weight:
        500;
}


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

.cta-section {

    padding:
        65px 20px;

    background:
        var(--background);
}


.cta-box {

    position:
        relative;

    width:
        min(100%, 1120px);

    margin:
        auto;

    padding:
        65px 30px;

    overflow:
        hidden;

    text-align:
        center;

    border:
        1px solid rgba(79, 70, 216, .14);

    border-radius:
        25px;

    background:
        linear-gradient(135deg,
            #FFFFFF,
            #F8F7FF);

    box-shadow:
        var(--shadow-md);
}


.cta-box::before {

    content:
        "";

    position:
        absolute;

    width:
        300px;

    height:
        300px;

    top:
        -160px;

    right:
        -100px;

    border-radius:
        50%;

    background:
        rgba(79, 70, 216, .07);
}


.cta-box::after {

    content:
        "";

    position:
        absolute;

    width:
        220px;

    height:
        220px;

    left:
        -110px;

    bottom:
        -130px;

    border-radius:
        50%;

    background:
        rgba(246, 166, 35, .08);
}


.cta-box h2 {

    position:
        relative;

    z-index:
        2;

    margin-bottom:
        10px;

    color:
        var(--dark);

    font-size:
        clamp(27px, 4vw, 42px);

    font-weight:
        850;
}


.cta-box p {

    position:
        relative;

    z-index:
        2;

    max-width:
        700px;

    margin:
        0 auto 25px;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.8;
}


.cta-btn {

    position:
        relative;

    z-index:
        2;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        46px;

    padding:
        10px 26px;

    border-radius:
        10px;

    background:
        linear-gradient(135deg,
            var(--orange),
            #F0A01A);

    color:
        #FFFFFF;

    font-size:
        11px;

    font-weight:
        750;

    box-shadow:
        0 8px 22px rgba(246, 166, 35, .20);

    transition:
        var(--transition);
}


.cta-btn:hover {

    background:
        linear-gradient(135deg,
            var(--orange-dark),
            var(--orange));

    color:
        #FFFFFF;

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 28px rgba(246, 166, 35, .28);
}


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

.registeration-btn,
.register-btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        40px;

    padding:
        9px 17px !important;

    border:
        none;

    border-radius:
        10px;

    background:
        linear-gradient(135deg,
            var(--orange),
            #F0A01A);

    color:
        #FFFFFF !important;

    font-size: 6px;

    font-weight:
        700;

    transition:
        var(--transition);
}


.registeration-btn:hover,
.register-btn:hover {

    background:
        linear-gradient(135deg,
            var(--orange-dark),
            var(--orange));

    color:
        #FFFFFF !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 18px rgba(246, 166, 35, .20);
}


/* ============================================================
   MOBILE OVERLAY
   ============================================================ */

.mobile-overlay {

    position:
        fixed;

    inset:
        0;

    z-index:
        4900;

    background:
        rgba(20, 25, 40, .45);

    backdrop-filter:
        blur(2px);

    opacity:
        0;

    visibility:
        hidden;

    transition:
        var(--transition);
}


.mobile-overlay.active {

    opacity:
        1;

    visibility:
        visible;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1150px) {

    :root {
        --navbar-height: 142px;
    }


    .nav-links {
        gap: 3px;
    }


    .nav-links>a,
    .nav-links .dropbtn {
        padding-left: 10px;

        padding-right: 10px;

        font-size: 11px;
    }


    .mentor-btn {
        padding-left: 10px !important;

        padding-right: 10px !important;
    }


    .hackathon-grid {

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


    .why-grid {

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


/* ============================================================
   MOBILE NAV
   ============================================================ */

@media (max-width: 850px) {

    :root {
        --navbar-height: 70px;
    }


    body {
        padding-top:
            var(--navbar-height);
    }


    .navbar {

        height:
            70px;
    }


    .nav-container {

        width:
            100%;

        height:
            70px;

        padding:
            8px 16px;
    }


    .nav-top {

        min-height:
            54px;
    }


    .nav-status {

        display:
            none;
    }


    .menu-toggle {

        display:
            flex;

        z-index: 9999;

    }


    .nav-links {

        position:
            fixed;

        top:
            0;

        right:
            -100%;

        width:
            min(330px, 87vw);

        height:
            100vh;

        padding:
            95px 22px 30px;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        justify-content:
            flex-start;

        gap:
            5px;

        background:
            #FFFFFF;

        border-left:
            1px solid var(--border);

        box-shadow:
            -20px 0 50px rgba(20, 25, 40, .12);

        overflow-y:
            auto;

        transition:
            right .35s ease;

        z-index:
            5100;
    }


    .nav-links.active {

        right:
            0;
    }


    .nav-links>a,
    .nav-links .dropbtn {

        width:
            100%;

        min-height:
            46px;

        justify-content:
            flex-start;

        padding:
            10px 14px;

        font-size:
            12px;
    }


    .nav-links>a::after,
    .nav-links .dropbtn::after {

        display:
            none;
    }


    .dropdown {

        width:
            100%;

        display:
            block;
    }


    .dropdown .dropbtn {

        justify-content:
            space-between;
    }


    .dropdown-content {

        position:
            static;

        width:
            100%;

        min-width:
            0;

        margin-top:
            4px;

        padding:
            4px;

        display:
            none;

        transform:
            none;

        opacity:
            1;

        visibility:
            visible;

        box-shadow:
            none;

        background:
            var(--background);
    }


    .dropdown-content::before {

        display:
            none;
    }


    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {

        display:
            block;

        transform:
            none;
    }


    #authArea {

        width:
            100%;

        flex-direction:
            column;

        align-items:
            stretch;

        margin-top:
            7px;
    }


    #authArea a,
    #authArea .logout-btn {

        width:
            100% !important;

        justify-content:
            center;
    }


    .site-header {

        height:
            480px;
    }


    .hero-content {

        width:
            88%;
    }


    .hero-content h1 {

        font-size:
            clamp(38px, 8vw, 58px);
    }


    .hero-content p {

        font-size:
            13px;
    }


    .slider-btn {

        width:
            43px;

        height:
            43px;

        font-size:
            16px;
    }


    .prev {
        left:
            14px;
    }


    .next {
        right:
            14px;
    }


    .stats-container {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* ============================================================
   MOBILE 768
   ============================================================ */

@media (max-width: 768px) {

    .cw-participation-section {

        padding:
            42px 10px;
    }


    .cw-flow-container {

        padding:
            28px 10px;

        border-radius:
            18px;
    }


    .cw-flow-heading {

        flex-direction:
            column;

        text-align:
            center;

        margin-bottom:
            22px;
    }


    .cw-flow-heading h2 {

        font-size:
            22px;
    }


    .cw-horizontal-flow {

        padding-left:
            18px;

        padding-right:
            18px;
    }


    .cw-flow-item {

        flex-basis:
            150px;

        width:
            150px;

        min-width:
            150px;
    }


    .cw-flow-card {

        height:
            175px;

        min-height:
            175px;
    }


    .cw-flow-actions {

        flex-direction:
            column;
    }


    .cw-main-btn {

        width:
            100%;

        max-width:
            300px;
    }


    #upcoming {

        padding:
            55px 0 60px;
    }


    .upcoming-heading,
    .section-heading {

        font-size:
            28px;

        margin-bottom:
            32px;
    }


    .hackathon-grid {

        grid-template-columns:
            1fr;

        gap:
            18px;
    }


    .image-wrapper {

        height:
            250px;
    }


    .why-section {

        padding:
            65px 14px;
    }


    .why-grid {

        grid-template-columns:
            1fr;

        max-width:
            520px;
    }


    .faq-section {

        padding:
            65px 14px;
    }


    .stats-section {

        padding:
            70px 14px;
    }


    .stats-container {

        grid-template-columns:
            1fr;

        max-width:
            450px;
    }


    .cta-section {

        padding:
            45px 12px;
    }


    .cta-box {

        padding:
            48px 20px;

        border-radius:
            20px;
    }
}


/* ============================================================
   MOBILE 600
   ============================================================ */

@media (max-width: 600px) {

    .logo-icon {

        width:
            40px;

        height:
            40px;

        min-width:
            40px;

        border-radius:
            11px;

        font-size:
            16px;
    }


    .logo-name {

        font-size:
            24px;
    }


    .logo-brackets {

        width:
            36px;

        font-size:
            30px;
    }


    .logo-text .highlight {

        font-size:
            8px;

        margin-top:
            4px;

        letter-spacing:
            1.3px;
    }


    .status-dot {

        display:
            none !important;
    }


    .site-header {

        height:
            430px;
    }


    .hero-content h1 {

        font-size:
            34px;

        letter-spacing:
            -.8px;
    }


    .hero-content p {

        margin-top:
            15px;

        font-size:
            11px;

        line-height:
            1.65;
    }


    .slider-btn {

        width:
            36px;

        height:
            36px;

        font-size:
            13px;
    }


    .announcement-bar {

        min-height:
            40px;
    }


    .announcement-track {

        font-size:
            9px;
    }


    .cw-flow-heading h2 {

        font-size:
            20px;
    }


    .upcoming-heading,
    .section-heading {

        font-size:
            24px;
    }


    .image-wrapper {

        height:
            225px;
    }


    .hackathon-name {

        font-size:
            16px;
    }


    .card-row {

        font-size:
            10px;
    }


    .stat-box h3 {

        font-size:
            34px;
    }


    .cta-box h2 {

        font-size:
            27px;
    }
}


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

@media (max-width: 480px) {

    .nav-container {

        padding-left:
            12px;

        padding-right:
            12px;
    }


    .logo {

        gap:
            8px;
    }


    .logo-icon {

        width:
            37px;

        height:
            37px;

        min-width:
            37px;
    }


    .logo-name {

        font-size:
            21px;
    }


    .logo-brackets {

        width:
            32px;

        font-size:
            27px;
    }


    .logo-text .highlight {

        font-size:
            7px;

        letter-spacing:
            1px;
    }


    .menu-toggle {

        width:
            37px;

        height:
            37px;

        font-size:
            19px;
    }


    .site-header {

        height:
            400px;
    }


    .hero-content h1 {

        font-size:
            29px;
    }


    .hero-content p {

        font-size:
            10px;
    }


    .cw-flow-item {

        flex-basis:
            138px;

        width:
            138px;

        min-width:
            138px;
    }


    .cw-flow-card {

        height:
            165px;

        min-height:
            165px;
    }


    .cw-flow-icon {

        width:
            44px;

        height:
            44px;

        font-size:
            20px;
    }


    .cw-flow-card h3 {

        font-size:
            10px;
    }


    .cw-flow-card p {

        font-size:
            8px;
    }


    .why-card {

        min-height:
            160px;
    }
}

/* ============================================================
   CODEWORD IMAGE LOGO + HACKATHON PLATFORM
   Add at the VERY END of hackathon.css
   ============================================================ */

.logo-text {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0;
    white-space: normal !important;
}

.logo-link {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 3px !important;
    padding: 5px 8px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: normal !important;
}

.logo-image {
    display: block !important;
    width: 165px !important;
    height: 43px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.logo-link .highlight {
    display: block !important;
    margin: 0 0 0 2px !important;
    color: var(--primary, #4F46D8) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.logo-link:hover .logo-image {
    opacity: 0.92;
    filter: brightness(1.03);
}

.logo-link:hover .highlight {
    letter-spacing: 1.7px !important;
}

/* Tablet */
@media (max-width: 850px) {
    .logo-link {
        gap: 2px !important;
        padding: 3px 4px !important;
    }

    .logo-image {
        width: 135px !important;
        height: 34px !important;
    }

    .logo-link .highlight {
        font-size: 9px !important;
        letter-spacing: 1px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo-image {
        width: 120px !important;
        height: 30px !important;
    }

    .logo-link .highlight {
        font-size: 8px !important;
        letter-spacing: 0.8px !important;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    .logo-image {
        width: 108px !important;
        height: 27px !important;
    }

    .logo-link .highlight {
        font-size: 7px !important;
        letter-spacing: 0.5px !important;
    }
}


/* =====================================================
   CODEWORD LOGO — FIXED SIZE, ALIGNMENT AND SPACING
   ===================================================== */

.nav-left,
.nav-left .logo {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
}

.nav-left .logo {
    max-width: 260px;
}

.nav-left .logo-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;

    padding: 4px 6px !important;
    margin: 0 !important;

    text-decoration: none !important;
    line-height: 1 !important;
    white-space: normal !important;

    grid-template-columns: none !important;
    grid-template-rows: none !important;
}

.nav-left .logo-image {
    display: block !important;

    width: 155px !important;
    height: 53px !important;
    max-width: 100% !important;

    object-fit: contain !important;
    object-position: left center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.nav-left .logo-link .highlight {
    display: block !important;

    margin: 0 0 0 2px !important;
    padding: 0 !important;

    color: var(--primary, #4F46D8) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;

    line-height: 1.3 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.nav-left .logo-link:hover .highlight {
    letter-spacing: 1.5px !important;
}

/* Tablet and mobile */
@media (max-width: 850px) {
    .nav-left .logo-link {
        gap: 2px !important;
        padding: 2px !important;
    }

    .nav-left .logo-image {
        width: 125px !important;
        height: 42px !important;
    }

    .nav-left .logo-link .highlight {
        font-size: 8px !important;
        letter-spacing: 1px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .nav-left .logo-image {
        width: 112px !important;
        height: 37px !important;
    }

    .nav-left .logo-link .highlight {
        font-size: 7px !important;
        letter-spacing: 0.7px !important;
    }
}

/* ============================================================
   EXTRA SMALL
   ============================================================ */

@media (max-width: 360px) {

    .logo-name {

        font-size:
            19px;
    }


    .logo-brackets {

        width:
            29px;

        font-size:
            24px;
    }


    .logo-text .highlight {

        display:
            none;
    }


    .site-header {

        height:
            370px;
    }


    .hero-content h1 {

        font-size:
            26px;
    }


    .hero-content p {

        font-size:
            9px;
    }


    .cw-flow-item {

        flex-basis:
            130px;

        width:
            130px;

        min-width:
            130px;
    }


    .cw-flow-card {

        height:
            158px;

        min-height:
            158px;
    }


    .upcoming-heading,
    .section-heading {

        font-size:
            21px;
    }
}




/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }
}


/* ============================================================
   PRINT
   ============================================================ */

@media print {

    .navbar,
    .menu-toggle,
    .slider-btn,
    .announcement-bar {

        display:
            none !important;
    }


    body {

        padding-top:
            0;

        background:
            #FFFFFF;
    }
}

/* ============================================================
   FINAL READABILITY + TYPOGRAPHY UPDATE
   ------------------------------------------------------------
   Darker text + larger readable fonts.
   This block intentionally stays at the END of the stylesheet
   so it overrides older small/light typography rules.
   ============================================================ */

:root {
    --text-readable: #273247;
    --text-readable-strong: #172033;
    --text-readable-medium: #344054;
    --text-readable-soft: #475467;
    --muted-readable: #5B6577;
    --border-readable: #D8DEE8;
}


/* ============================================================
   GLOBAL READABILITY
   ============================================================ */

body {
    color: var(--text-readable) !important;
    font-size: 14px;
}

.container,
section {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.upcoming-heading,
.section-heading {
    color: var(--text-readable-strong) !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.upcoming-heading::after,
.section-heading::after {
    height: 4px !important;
    width: 58px !important;
}


/* ============================================================
   PARTICIPATION FLOW
   ============================================================ */

.cw-flow-heading h2 {
    color: var(--text-readable-strong) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
}

.cw-flow-heading p {
    color: var(--text-readable-soft) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.cw-flow-card h3 {
    color: var(--text-readable-strong) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 750 !important;
}

.cw-flow-card p {
    color: var(--text-readable-medium) !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.cw-link-btn {
    font-size: 10px !important;
    font-weight: 700 !important;
}


/* ============================================================
   UPCOMING HACKATHON CARDS
   ============================================================ */

.hackathon-name {
    color: var(--text-readable-strong) !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 750 !important;
}

.card-row {
    color: var(--text-readable-medium) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

.hackathon-card p {
    color: var(--text-readable-medium) !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

.hackathon-card span {
    color: inherit;
}

.hackathon-card .btn {
    font-size: 12px !important;
    font-weight: 700 !important;
}


/* ============================================================
   WHY CHOOSE HACKATHONS
   ============================================================ */

.why-section {
    background: #F7F8FC !important;
}

.why-section .section-heading {
    color: var(--text-readable-strong) !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    font-weight: 800 !important;
}

.why-grid {
    gap: 22px !important;
}

.why-card {
    min-height: 245px !important;
    padding: 34px 25px !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border-readable) !important;
    box-shadow: 0 8px 24px rgba(23, 32, 51, 0.07) !important;
}

.why-card h3 {
    margin-bottom: 12px !important;
    color: var(--text-readable-strong) !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
    font-weight: 750 !important;
}

.why-card p {
    margin: 0 !important;
    color: var(--text-readable-medium) !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-item {
    border-color: var(--border-readable) !important;
}

.faq-item h4 {
    color: var(--text-readable-strong) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 750 !important;
}

.faq-item p {
    color: var(--text-readable-medium) !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
}


/* ============================================================
   STATS
   ------------------------------------------------------------
   Stats use a dark background, so white text is intentionally
   retained for contrast.
   ============================================================ */

.stats-section .section-heading {
    color: #FFFFFF !important;
}

.stat-box h3 {
    color: var(--orange) !important;
    font-size: 44px !important;
    line-height: 1.1 !important;
    font-weight: 850 !important;
}

.stat-box p {
    color: rgba(255, 255, 255, .94) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}


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

.cta-section h2,
.cta-section .section-heading {
    color: var(--text-readable-strong) !important;
}

.cta-section p {
    color: var(--text-readable-medium) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}


/* ============================================================
   ANNOUNCEMENT
   ------------------------------------------------------------
   White text remains because the background is purple.
   ============================================================ */

.announcement-track {
    color: #FFFFFF !important;
    font-size: 13px !important;
}


/* ============================================================
   HERO
   ------------------------------------------------------------
   White text remains because the hero uses a dark image overlay.
   ============================================================ */

.hero-content h1 {
    color: #FFFFFF !important;
}

.hero-content p {
    color: rgba(255, 255, 255, .94) !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
}


/* ============================================================
   BUTTON READABILITY
   ============================================================ */

.cw-main-btn,
.featured-btn,
.btn {
    font-size: 12px !important;
    font-weight: 700 !important;
}


/* ============================================================
   DESKTOP
   ============================================================ */

@media (min-width: 1201px) {

    .why-card {
        min-height: 245px !important;
        padding: 36px 27px !important;
    }

    .why-card h3 {
        font-size: 18px !important;
    }

    .why-card p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .card-row {
        font-size: 13px !important;
    }

    .hackathon-card p {
        font-size: 13.5px !important;
    }

    .faq-item p {
        font-size: 14px !important;
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1200px) and (min-width: 769px) {

    .upcoming-heading,
    .section-heading {
        font-size: 34px !important;
    }

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

    .why-card {
        min-height: 225px !important;
    }

    .why-card h3 {
        font-size: 17px !important;
    }

    .why-card p {
        font-size: 13.5px !important;
    }

    .cw-flow-card p {
        font-size: 12px !important;
    }

    .faq-item p {
        font-size: 13.5px !important;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .upcoming-heading,
    .section-heading,
    .why-section .section-heading {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .why-card {
        min-height: 205px !important;
        padding: 30px 23px !important;
    }

    .why-card h3 {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .why-card p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    .cw-flow-heading h2 {
        font-size: 26px !important;
    }

    .cw-flow-heading p {
        font-size: 13px !important;
    }

    .cw-flow-card h3 {
        font-size: 14px !important;
    }

    .cw-flow-card p {
        font-size: 11.5px !important;
    }

    .hackathon-name {
        font-size: 18px !important;
    }

    .card-row,
    .hackathon-card p {
        font-size: 13px !important;
    }

    .faq-item h4 {
        font-size: 15px !important;
    }

    .faq-item p {
        font-size: 13px !important;
    }

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

    .stat-box p {
        font-size: 12.5px !important;
    }
}


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

@media (max-width: 480px) {

    .upcoming-heading,
    .section-heading,
    .why-section .section-heading {
        font-size: 25px !important;
    }

    .why-card {
        min-height: 190px !important;
        padding: 27px 20px !important;
    }

    .why-card h3 {
        font-size: 16px !important;
    }

    .why-card p {
        font-size: 12.5px !important;
        line-height: 1.8 !important;
    }

    .cw-flow-heading h2 {
        font-size: 23px !important;
    }

    .cw-flow-card h3 {
        font-size: 13px !important;
    }

    .cw-flow-card p {
        font-size: 11px !important;
    }

    .hackathon-name {
        font-size: 17px !important;
    }

    .card-row,
    .hackathon-card p {
        font-size: 12.5px !important;
    }

    .faq-item h4 {
        font-size: 14px !important;
    }

    .faq-item p {
        font-size: 12.5px !important;
    }

    .hero-content p {
        font-size: 13px !important;
    }

    .stat-box h3 {
        font-size: 34px !important;
    }

    .stat-box p {
        font-size: 12px !important;
    }
}


/* ============================================================
   EXTRA SMALL
   ============================================================ */

@media (max-width: 360px) {

    .upcoming-heading,
    .section-heading,
    .why-section .section-heading {
        font-size: 23px !important;
    }

    .why-card {
        min-height: 180px !important;
        padding: 24px 17px !important;
    }

    .why-card h3 {
        font-size: 15px !important;
    }

    .why-card p {
        font-size: 12px !important;
    }

    .cw-flow-card h3 {
        font-size: 12px !important;
    }

    .cw-flow-card p {
        font-size: 10.5px !important;
    }

    .hackathon-name {
        font-size: 16px !important;
    }

    .card-row,
    .hackathon-card p {
        font-size: 12px !important;
    }

    .faq-item p {
        font-size: 12px !important;
    }
}


/* ============================================================
   END - FINAL READABILITY UPDATE
   ============================================================ */


/* ============================================================
   FINAL UTF-8 + EMOJI FONT FALLBACK FIX
   ============================================================ */

html,
body,
button,
input,
textarea,
select {
    font-family:
        'Manrope', sans-serif;
}

/* Use native emoji fonts wherever emoji/symbols are displayed. */
.cw-flow-icon,
.cw-flow-heading>span,
.announcement-track,
.slider-btn,
.cw-main-btn,
.cw-link-btn,
.cw-success,
.why-card h3,
.featured-badge,
.dashboard-icon,
.logo-icon {
    font-family:
        'Manrope', sans-serif;
    font-variant-emoji: emoji;
}

/* Announcement is intentionally white because its background is purple. */
.announcement-bar,
.announcement-track {
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: .1px !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Keep the actual emoji glyphs from being clipped. */
.cw-flow-icon,
.cw-flow-heading>span {
    line-height: 1 !important;
    overflow: visible !important;
}

/* Better symbol/arrow readability. */
.slider-btn {
    font-size: 20px !important;
    line-height: 1 !important;
}

/* ============================================================
   END UTF-8 / EMOJI FIX
   ============================================================ */


/* ============================================================
   FINAL CODEWORD LOGO OVERRIDE
   ------------------------------------------------------------
   Keeps the requested large CodeWord / Hackathon Platform logo
   and permanently removes the old green status dot.
   ============================================================ */

.status-dot {
    display: none !important;
}

.logo-text {
    white-space: nowrap !important;
}

.logo-link {
    display: grid !important;
    grid-template-columns: auto auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    column-gap: 9px !important;
}

.logo-name {
    display: block !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -1.2px !important;
}

.logo-brackets {
    display: flex !important;
    width: 48px !important;
    font-size: 40px !important;
    font-weight: 900 !important;
    line-height: .8 !important;
    letter-spacing: -11px !important;
}

.logo-text .highlight {
    display: block !important;
    margin-top: 7px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 2px !important;
}

@media (max-width: 850px) {
    .logo-name {
        font-size: 25px !important;
    }

    .logo-brackets {
        width: 37px !important;
        font-size: 31px !important;
    }

    .logo-text .highlight {
        font-size: 11px !important;
        margin-top: 5px !important;
        letter-spacing: 1.3px !important;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 21px !important;
    }

    .logo-brackets {
        width: 32px !important;
        font-size: 27px !important;
    }

    .logo-text .highlight {
        font-size: 7px !important;
        letter-spacing: 1px !important;
    }
}

@media (max-width: 360px) {
    .logo-name {
        font-size: 19px !important;
    }

    .logo-brackets {
        width: 29px !important;
        font-size: 24px !important;
    }

    .logo-text .highlight {
        display: block !important;
        font-size: 10px !important;
        letter-spacing: .8px !important;
    }
}

/* ============================================================
   UPCOMING - LIVE GREEN BLINKING DOT
   ============================================================ */

.upcoming-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}


/* Green live dot */
.upcoming-dot {
    width: 8px;
    height: 8px;

    min-width: 8px;

    display: inline-block;

    border-radius: 50%;

    background: #22C55E;

    box-shadow:
        0 0 0 0 rgba(34, 197, 94, 0.45);

    animation: upcomingLivePulse 1.6s infinite;

    transition: all .3s ease;
}


/* Blinking / glowing animation */
@keyframes upcomingLivePulse {

    0% {
        opacity: 1;

        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(34, 197, 94, 0.45);
    }

    50% {
        opacity: .65;

        transform: scale(1.12);

        box-shadow:
            0 0 0 5px rgba(34, 197, 94, 0.10);
    }

    100% {
        opacity: 1;

        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(34, 197, 94, 0);
    }
}


/* Slightly stronger effect when Upcoming is hovered */
.upcoming-link:hover .upcoming-dot {
    background: #16A34A;

    transform: scale(1.15);

    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.12);
}

/* ============================================================
   MENTOR / JUDGE REGISTRATION SECTION
============================================================ */

.expert-registration-section {
    width: 100%;
    padding: 70px 20px;

    background:
        linear-gradient(180deg,
            #FFFFFF 0%,
            #F5F7FB 100%);
}


.expert-registration-container {
    width: min(100%, 1240px);
    margin: 0 auto;
}


/* ============================================================
   HEADER
============================================================ */

.expert-registration-header {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    margin-bottom: 40px;

    text-align: left;
}


.expert-registration-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    background: var(--primary-light);

    font-size: 28px;

    box-shadow:
        0 8px 22px rgba(79, 70, 216, .10);
}


.expert-registration-label {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.expert-registration-header h2 {
    margin: 0;

    color: var(--dark);

    font-size: clamp(27px, 3vw, 36px);

    line-height: 1.2;

    font-weight: 800;
}


.expert-registration-header p {
    max-width: 700px;

    margin-top: 7px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* ============================================================
   GRID
============================================================ */

.expert-registration-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 26px;
}


/* ============================================================
   ROLE CARD
============================================================ */

.expert-role-card {
    position: relative;

    padding: 32px;

    background: #FFFFFF;

    border:
        1px solid var(--border);

    border-radius: 22px;

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    transition: var(--transition);
}


.expert-role-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(90deg,
            var(--primary),
            #7169EA);
}


.judge-role-card::before {
    background:
        linear-gradient(90deg,
            var(--orange),
            #F8C35E);
}


.expert-role-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}


.mentor-role-card:hover {
    border-color:
        rgba(79, 70, 216, .28);
}


.judge-role-card:hover {
    border-color:
        rgba(246, 166, 35, .30);
}


/* ============================================================
   ROLE TOP
============================================================ */

.expert-role-top {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 22px;
}


.expert-role-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 15px;

    font-size: 22px;
}


.mentor-role-icon {
    background: var(--primary-light);

    color: var(--primary);

    border:
        1px solid rgba(79, 70, 216, .13);
}


.judge-role-icon {
    background: var(--orange-light);

    color: var(--orange-dark);

    border:
        1px solid rgba(246, 166, 35, .20);
}


.expert-role-tag {
    display: block;

    margin-bottom: 3px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.mentor-role-card .expert-role-tag {
    color: var(--primary);
}


.judge-role-card .expert-role-tag {
    color: var(--orange-dark);
}


.expert-role-top h3 {
    margin: 0;

    color: var(--dark);

    font-size: 23px;

    font-weight: 800;
}


/* ============================================================
   SUB HEADING
============================================================ */

.expert-role-card>h4 {
    margin-bottom: 8px;

    color: var(--dark);

    font-size: 16px;

    font-weight: 750;
}


.expert-role-description {
    margin-bottom: 23px;

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.8;
}


/* ============================================================
   WHAT WILL YOU DO
============================================================ */

.expert-role-content {
    padding: 20px;

    background: #F8F9FC;

    border:
        1px solid var(--border-light);

    border-radius: 15px;
}


.expert-role-content h5,
.expert-who h5 {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 15px;

    color: var(--dark);

    font-size: 13px;

    font-weight: 750;
}


.mentor-role-card .expert-role-content h5 i {
    color: var(--primary);
}


.judge-role-card .expert-role-content h5 i {
    color: var(--orange-dark);
}


/* ============================================================
   POINT
============================================================ */

.expert-role-point {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-bottom: 10px;
}


.expert-role-point:last-child {
    margin-bottom: 0;
}


.expert-role-point i {
    width: 19px;
    height: 19px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin-top: 1px;

    border-radius: 50%;

    font-size: 8px;
}


.mentor-role-card .expert-role-point i {
    background: var(--primary-light);

    color: var(--primary);
}


.judge-role-card .expert-role-point i {
    background: var(--orange-light);

    color: var(--orange-dark);
}


.expert-role-point span {
    color: var(--text-light);

    font-size: 11px;

    line-height: 1.6;
}


/* ============================================================
   WHO CAN APPLY
============================================================ */

.expert-who {
    margin-top: 20px;
}


.expert-who h5 {
    margin-bottom: 11px;
}


.expert-who h5 i {
    color: var(--primary);
}


.judge-role-card .expert-who h5 i {
    color: var(--orange-dark);
}


.expert-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.expert-tags span {
    padding: 6px 10px;

    border-radius: 20px;

    background: #F5F7FB;

    border:
        1px solid var(--border);

    color: var(--text-light);

    font-size: 9px;

    font-weight: 600;
}


/* ============================================================
   REGISTER BUTTON
============================================================ */

.expert-register-btn {
    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: 23px;

    padding: 11px 16px;

    border-radius: 12px;

    color: #FFFFFF;

    font-size: 12px;

    font-weight: 700;

    transition: var(--transition);
}


.expert-register-btn span {
    display: flex;

    align-items: center;

    gap: 8px;
}


.mentor-register-btn {
    background:
        linear-gradient(135deg,
            var(--primary),
            #625BE7);

    box-shadow:
        0 7px 18px rgba(79, 70, 216, .18);
}


.judge-register-btn {
    background:
        linear-gradient(135deg,
            var(--orange),
            #E99712);

    box-shadow:
        0 7px 18px rgba(246, 166, 35, .18);
}


.expert-register-btn:hover {
    color: #FFFFFF;

    transform: translateY(-2px);
}


.mentor-register-btn:hover {
    box-shadow:
        0 11px 25px rgba(79, 70, 216, .25);
}


.judge-register-btn:hover {
    box-shadow:
        0 11px 25px rgba(246, 166, 35, .25);
}


.expert-register-btn>i {
    transition: transform .25s ease;
}


.expert-register-btn:hover>i {
    transform: translateX(4px);
}


/* ============================================================
   BOTTOM MESSAGE
============================================================ */

.expert-bottom-message {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 25px;

    padding: 19px 22px;

    background: #FFFFFF;

    border:
        1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow-sm);
}


.expert-bottom-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: var(--orange-light);

    color: var(--orange-dark);
}


.expert-bottom-message strong {
    display: block;

    color: var(--dark);

    font-size: 12px;
}


.expert-bottom-message p {
    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;
}


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

@media (max-width: 900px) {

    .expert-registration-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .expert-registration-section {
        padding: 55px 15px;
    }


    .expert-registration-header {
        align-items: flex-start;
    }


    .expert-registration-icon {
        width: 50px;
        height: 50px;

        font-size: 23px;
    }


    .expert-registration-header h2 {
        font-size: 25px;
    }


    .expert-registration-header p {
        font-size: 11px;
    }


    .expert-role-card {
        padding: 23px;

        border-radius: 18px;
    }


    .expert-role-top h3 {
        font-size: 20px;
    }


    .expert-role-content {
        padding: 17px;
    }


    .expert-bottom-message {
        align-items: flex-start;

        padding: 16px;
    }

}


@media (max-width: 420px) {

    .expert-registration-header {
        gap: 10px;
    }


    .expert-registration-header h2 {
        font-size: 21px;
    }


    .expert-registration-label {
        font-size: 8px;
    }


    .expert-role-top {
        align-items: flex-start;
    }


    .expert-role-icon {
        width: 50px;
        height: 50px;

        font-size: 19px;
    }


    .expert-role-card>h4 {
        font-size: 14px;
    }

}

/* ============================================================
   COMPANY / SPONSOR REGISTRATION
============================================================ */

.company-partner-section {
    padding: 80px 20px;
    background: linear-gradient(180deg,
            #f7f6ff 0%,
            #ffffff 50%,
            #fffaf2 100%);
}

.company-partner-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ================= HEADER ================= */

.company-partner-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 45px;
}

.company-partner-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: linear-gradient(135deg,
            #4f46d8,
            #6d63ef);

    color: #ffffff;

    font-size: 28px;

    box-shadow:
        0 12px 30px rgba(79, 70, 216, 0.20);
}

.company-partner-label {
    display: inline-block;

    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: #4f46d8;
}

.company-partner-header h2 {
    margin: 0 0 10px;

    font-size: 34px;
    line-height: 1.2;

    color: #172033;

    font-weight: 800;
}

.company-partner-header p {
    max-width: 850px;

    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #5b6577;
}


/* ================= GRID ================= */

.company-partner-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
}


/* ================= CARD ================= */

.company-partner-card {
    position: relative;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e1e6ef;

    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(23, 32, 51, 0.07);

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

.company-partner-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 55px rgba(23, 32, 51, 0.12);
}


/* ================= CARD TOP ================= */

.company-card-top {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 24px;
}

.company-card-icon {
    width: 58px;
    height: 58px;

    min-width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    font-size: 24px;
}

.hiring-card .company-card-icon {
    background: #eeeeff;
    color: #4f46d8;
}

.sponsor-card .company-card-icon {
    background: #fff4df;
    color: #d98c08;
}

.company-card-tag {
    display: inline-block;

    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.hiring-card .company-card-tag {
    color: #4f46d8;
}

.sponsor-card .company-card-tag {
    color: #d98c08;
}

.company-card-top h3 {
    margin: 0;

    font-size: 22px;

    color: #172033;

    font-weight: 800;
}


/* ================= CARD TEXT ================= */

.company-partner-card h4 {
    margin: 0 0 10px;

    font-size: 18px;

    color: #263149;
}

.company-card-description {
    margin: 0 0 25px;

    font-size: 14px;

    line-height: 1.7;

    color: #5b6577;
}


/* ================= CONTENT ================= */

.company-card-content {
    padding: 20px;

    margin-bottom: 22px;

    border-radius: 16px;

    background: #f8f9fc;

    border: 1px solid #edf0f5;
}

.company-card-content h5,
.company-benefits h5 {
    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 16px;

    font-size: 14px;

    color: #263149;

    font-weight: 800;
}

.hiring-card .company-card-content h5 i {
    color: #4f46d8;
}

.sponsor-card .company-card-content h5 i {
    color: #d98c08;
}


/* ================= POINTS ================= */

.company-card-point {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 12px;

    font-size: 13px;

    line-height: 1.5;

    color: #475467;
}

.company-card-point:last-child {
    margin-bottom: 0;
}

.company-card-point i {
    margin-top: 3px;

    font-size: 11px;
}

.hiring-card .company-card-point i {
    color: #4f46d8;
}

.sponsor-card .company-card-point i {
    color: #d98c08;
}


/* ================= BENEFITS ================= */

.company-benefits {
    margin-bottom: 25px;
}

.company-benefit-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.company-benefit-tags span {
    padding: 7px 11px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

    border: 1px solid #e1e6ef;

    background: #ffffff;

    color: #475467;
}


/* ================= REGISTER BUTTON ================= */

.company-register-btn {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 14px 18px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

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

.company-register-btn span {
    display: flex;

    align-items: center;

    gap: 9px;
}

.hiring-register-btn {
    background: #4f46d8;

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(79, 70, 216, 0.20);
}

.hiring-register-btn:hover {
    background: #3932b8;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(79, 70, 216, 0.28);
}

.sponsor-register-btn {
    background: #f6a623;

    color: #172033;

    box-shadow:
        0 8px 20px rgba(246, 166, 35, 0.20);
}

.sponsor-register-btn:hover {
    background: #d98c08;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(246, 166, 35, 0.28);
}


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

.company-partner-bottom {
    margin-top: 30px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px 25px;

    border-radius: 18px;

    background: #172033;

    color: #ffffff;

    box-shadow:
        0 15px 40px rgba(23, 32, 51, 0.16);
}

.company-bottom-icon {
    width: 48px;
    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(246, 166, 35, 0.15);

    color: #f6a623;

    font-size: 21px;
}

.company-bottom-content {
    flex: 1;
}

.company-bottom-content strong {
    display: block;

    margin-bottom: 4px;

    font-size: 15px;
}

.company-bottom-content p {
    margin: 0;

    font-size: 13px;

    line-height: 1.5;

    color: #cbd2df;
}

.company-bottom-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    border-radius: 10px;

    background: #f6a623;

    color: #172033;

    text-decoration: none;

    white-space: nowrap;

    font-size: 13px;

    font-weight: 800;

    transition: 0.25s ease;
}

.company-bottom-btn:hover {
    background: #ffffff;

    color: #172033;
}


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

@media (max-width: 900px) {

    .company-partner-grid {
        grid-template-columns: 1fr;
    }

    .company-partner-header h2 {
        font-size: 29px;
    }

}

@media (max-width: 650px) {

    .company-partner-section {
        padding: 55px 15px;
    }

    .company-partner-header {
        align-items: flex-start;
    }

    .company-partner-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;

        font-size: 22px;
    }

    .company-partner-header h2 {
        font-size: 24px;
    }

    .company-partner-card {
        padding: 22px;
    }

    .company-card-top h3 {
        font-size: 19px;
    }

    .company-partner-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-bottom-btn {
        width: 100%;

        justify-content: center;
    }

}

/* ============================================================
   PREMIUM 3D HEADER INTEGRATION
   ============================================================ */

/* ============================================================
   CODEWORD — PREMIUM 3D GORGEOUS HEADER
   Works with the existing navbar HTML/classes.
   Load this AFTER hackathon.css
   ============================================================ */

:root {
    --cw-purple: #4F46D8;
    --cw-purple-dark: #3932B8;
    --cw-purple-light: #EEEEFF;
    --cw-purple-soft: #F7F6FF;
    --cw-orange: #F6A623;
    --cw-orange-dark: #D98C08;
    --cw-orange-light: #FFF4DF;
    --cw-navy: #172033;
    --cw-navy-2: #263149;
    --cw-text: #273247;
    --cw-muted: #5B6577;
    --cw-white: #FFFFFF;
}

/* ============================================================
   NAVBAR — GLASS + DEPTH
   ============================================================ */

.navbar {
    height: 160px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 249, 255, .97));
    border-bottom: 1px solid rgba(79, 70, 216, .12);
    box-shadow:
        0 12px 35px rgba(23, 32, 51, .08),
        0 2px 0 rgba(255, 255, 255, .95) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* =========================================================
   CODEWORD NAVBAR — DESKTOP HORIZONTAL SCROLL + RESPONSIVE
   Add this block at the VERY END of your existing CSS file.
   ========================================================= */

/* Desktop / laptop navbar */
@media (min-width: 851px) {

    .navbar {
        body {
            padding-top: 115px !important;
        }

        height: auto !important;
        min-height: 100px;
        overflow: visible !important;
    }

    .nav-container {
        width: 100% !important;
        max-width: 1600px;
        height: auto !important;
        min-height: 100px;
        padding: 10px 16px !important;
        overflow: visible !important;
    }

    /* Keep the logo and top row properly aligned */
    .nav-top {
        min-width: 0;
        width: 100%;
        flex-shrink: 0;
    }
    /* Each menu item keeps its natural width */
    .nav-links>a,
    .nav-links>.dropdown,
    .nav-links>#authArea,
    .nav-links .dropbtn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .nav-links>a,
    .nav-links .dropbtn {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Keep dropdown menus visible outside the scroll area */
    .nav-links>.dropdown {
        position: relative;
    }

    .dropdown-content {
        z-index: 60000 !important;
    }

    /* Visible horizontal scrollbar */
    .nav-links::-webkit-scrollbar {
        height: 6px;
    }

    .nav-links::-webkit-scrollbar-track {
        background: #EEF0F7;
        border-radius: 20px;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: #4F46D8;
        border-radius: 20px;
    }

    .nav-links::-webkit-scrollbar-thumb:hover {
        background: #F6A623;
    }

    /* Keep authentication items compact */
    #authArea {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin-left: 4px !important;
    }

    .user-box {
        flex: 0 0 auto !important;
        max-width: none !important;
        gap: 7px !important;
    }

    .welcome-text {
        max-width: 150px;
    }
}

/* =========================================================
   TABLET + MOBILE
   Preserve the existing hamburger / slide-out menu.
   ========================================================= */

@media (max-width: 850px) {

    .navbar {
        overflow: visible !important;
    }

    .nav-container {
        overflow: visible !important;
    }

    .nav-links,
    .nav-links.active {
        overflow-x: hidden !important;
        overflow-y: auto !important;

        max-height: calc(100dvh - 70px) !important;

        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: thin;
        scrollbar-color: #4F46D8 #EEF0F7;
    }

    .nav-links::-webkit-scrollbar {
        width: 6px;
    }

    .nav-links::-webkit-scrollbar-track {
        background: #EEF0F7;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: #4F46D8;
        border-radius: 20px;
    }

    .nav-links>a,
    .nav-links .dropdown,
    .nav-links #authArea {
        flex-shrink: 0;
    }
}

/* Keyboard users can scroll and focus menu items */
.nav-links:focus-visible {
    outline: 2px solid #4F46D8;
    outline-offset: -2px;
}

/* subtle purple/orange light line */
.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--cw-purple) 25%,
            var(--cw-orange) 50%,
            var(--cw-purple) 75%,
            transparent 100%);
    opacity: .75;
}

/* ============================================================
   NAV CONTAINER
   ============================================================ */

.nav-container {
    width: min(96%, 1500px);
    padding: 10px 14px 8px;
}

/* ============================================================
   TOP ROW
   ============================================================ */

.nav-top {
    min-height: 78px;
}

.nav-left,
.nav-right {
    position: relative;
    z-index: 2;
}

/* ============================================================
   LOGO — 3D
   ============================================================ */

.logo {
    perspective: 700px;
}

.logo-link {
    position: relative;
    padding: 9px 14px 9px 7px;
    border-radius: 17px;
    transition:
        transform .35s cubic-bezier(.2, .8, .2, 1),
        box-shadow .35s ease,
        background .35s ease;
}

.logo-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 17px;
    /* background:
        linear-gradient(135deg,
            rgba(79, 70, 216, .08),
            rgba(246, 166, 35, .05)); */
    opacity: 0;
    transform: translateZ(-1px);
    transition: .35s ease;
}

.logo-link:hover {
    transform: translateY(-3px) rotateX(2deg);
    background: rgba(255, 255, 255, .75);
    box-shadow:
        0 12px 25px rgba(79, 70, 216, .12),
        0 2px 0 rgba(255, 255, 255, .9) inset;
}

.logo-link:hover::before {
    opacity: 1;
}

.logo-brackets {
    position: relative;
    z-index: 2;
    color: var(--cw-purple) !important;
    text-shadow:
        2px 3px 0 rgba(57, 50, 184, .18),
        0 6px 14px rgba(79, 70, 216, .18);
    transition: .35s ease;
}

.logo-name {
    position: relative;
    z-index: 2;
    color: var(--cw-navy) !important;
    text-shadow:
        0 2px 0 #fff,
        0 5px 14px rgba(23, 32, 51, .12);
}

.logo-text .highlight {
    position: relative;
    z-index: 2;
    color: var(--cw-purple) !important;
    text-shadow: 0 3px 10px rgba(79, 70, 216, .12);
}

.logo-link:hover .logo-name {
    color: var(--cw-purple) !important;
}

.logo-link:hover .logo-brackets {
    color: var(--cw-orange) !important;
    transform: translateY(-3px) scale(1.04);
}

/* ============================================================
   TOP RIGHT STATUS
   ============================================================ */

.nav-status {
    min-height: 42px;
    padding: 7px 13px;
    border: 1px solid rgba(79, 70, 216, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    box-shadow:
        0 5px 16px rgba(23, 32, 51, .06),
        0 1px 0 #fff inset;
}

.nav-status a {
    color: var(--cw-purple) !important;
    text-shadow: 0 2px 8px rgba(79, 70, 216, .10);
}

.nav-status a:hover {
    color: var(--cw-orange-dark) !important;
}

.nav-tagline {
    color: var(--cw-muted);
}

/* ============================================================
   MENU ROW — FLOATING 3D MENU
   ============================================================ */

.nav-links {
    min-height: 50px;
    gap: 8px;
    padding: 5px 8px 7px;
    border: 1px solid rgba(79, 70, 216, .10);
    border-radius: 18px;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .98),
            rgba(247, 248, 253, .96));
    box-shadow:
        0 9px 25px rgba(23, 32, 51, .07),
        0 2px 0 rgba(255, 255, 255, .95) inset;
}

/* Every normal menu item */
.nav-links>a,
.nav-links .dropbtn {
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--cw-text);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05px;
    background: transparent;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .8) inset;
    transition:
        transform .28s cubic-bezier(.2, .8, .2, 1),
        background .28s ease,
        color .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

/* 3D hover */
.nav-links>a:hover,
.nav-links .dropbtn:hover {
    color: var(--cw-purple);
    background:
        linear-gradient(145deg, #fff, #F1F0FF);
    border-color: rgba(79, 70, 216, .16);
    transform: translateY(-4px);
    box-shadow:
        0 8px 15px rgba(79, 70, 216, .13),
        0 2px 0 #fff inset;
}

/* Press/depth effect */
.nav-links>a:active,
.nav-links .dropbtn:active {
    transform: translateY(-1px) scale(.98);
    box-shadow: 0 3px 7px rgba(23, 32, 51, .12) inset;
}

/* Remove old underline and create glowing bottom edge */
.nav-links>a::after,
.nav-links .dropbtn::after {
    left: 15%;
    right: 15%;
    bottom: 2px;
    width: auto !important;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg,
            var(--cw-purple),
            var(--cw-orange));
    box-shadow: 0 2px 7px rgba(79, 70, 216, .35);
    transition: transform .3s ease;
}

.nav-links>a:hover::after,
.nav-links .dropbtn:hover::after {
    transform: scaleX(1);
}

/* ============================================================
   UPCOMING — SPECIAL 3D ITEM
   ============================================================ */

.upcoming-link {
    background: linear-gradient(145deg,
            rgba(79, 70, 216, .06),
            rgba(246, 166, 35, .07)) !important;
    border-color: rgba(79, 70, 216, .10) !important;
}

.upcoming-link:hover {
    background: linear-gradient(145deg,
            #F1F0FF,
            #FFF4DF) !important;
}

.upcoming-dot {
    width: 8px !important;
    height: 8px !important;
    margin: 0 7px 0 0 !important;
    border-radius: 50%;
    background: var(--cw-orange);
    box-shadow:
        0 0 0 4px rgba(246, 166, 35, .13),
        0 0 12px rgba(246, 166, 35, .55);
    animation: cwPulse 1.8s infinite;
}

@keyframes cwPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 3px rgba(246, 166, 35, .10),
            0 0 8px rgba(246, 166, 35, .35);
    }

    50% {
        box-shadow:
            0 0 0 6px rgba(246, 166, 35, .05),
            0 0 18px rgba(246, 166, 35, .65);
    }
}

/* ============================================================
   DROPDOWN — FLOATING 3D
   ============================================================ */

.dropdown-content {
    top: calc(100% + 13px);
    min-width: 275px;
    padding: 9px;
    border: 1px solid rgba(79, 70, 216, .14);
    border-radius: 16px;
    background:
        linear-gradient(145deg, #fff, #F8F8FF);
    box-shadow:
        0 25px 55px rgba(23, 32, 51, .16),
        0 7px 15px rgba(79, 70, 216, .08),
        0 1px 0 #fff inset;
}

.dropdown-content::before {
    border-color: rgba(79, 70, 216, .14);
    box-shadow: -3px -3px 8px rgba(79, 70, 216, .02);
}

.dropdown-content a {
    min-height: 45px;
    padding: 10px 13px;
    border-radius: 11px;
    color: var(--cw-text);
    font-weight: 650;
}

.dropdown-content a::before {
    content: "→";
    width: 0;
    opacity: 0;
    color: var(--cw-orange);
    font-weight: 900;
    transition: .25s ease;
}

.dropdown-content a:hover {
    color: var(--cw-purple);
    background:
        linear-gradient(145deg, #F7F6FF, #FFF9EE);
    transform: translateX(5px);
    box-shadow:
        0 5px 12px rgba(79, 70, 216, .08);
}

.dropdown-content a:hover::before {
    width: 20px;
    opacity: 1;
}

/* ============================================================
   MENTOR / COMPANY — PREMIUM 3D BUTTONS
   ============================================================ */

.nav-links>.mentor-btn {
    position: relative;
    overflow: hidden;
    min-height: 42px !important;
    padding: 5px 10px !important;
    border: 1px solid rgba(246, 166, 35, .32) !important;
    border-radius: 12px !important;
    background:
        linear-gradient(145deg, #FFF8EA, #FFF0D2) !important;
    color: #A96600 !important;
    box-shadow:
        0 5px 12px rgba(246, 166, 35, .10),
        0 2px 0 #fff inset;
    font-size: 11.5px !important;
}

.nav-links>.mentor-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 60%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .7),
            transparent);
    transition: .55s ease;
}

.nav-links>.mentor-btn:hover::before {
    left: 140%;
}

.nav-links>.mentor-btn:hover {
    color: #fff !important;
    background:
        linear-gradient(135deg, var(--cw-orange), var(--cw-orange-dark)) !important;
    border-color: var(--cw-orange) !important;
    transform: translateY(-4px);
    box-shadow:
        0 10px 20px rgba(246, 166, 35, .25),
        0 2px 0 rgba(255, 255, 255, .25) inset;
}

/* ============================================================
   AUTH AREA — MAKE LOGIN/DASHBOARD 3D TOO
   ============================================================ */

#authArea>.registeration-btn,
.dashboard-btn {
    border-radius: 12px !important;
    box-shadow:
        0 6px 14px rgba(79, 70, 216, .13),
        0 2px 0 rgba(255, 255, 255, .65) inset !important;
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        background .28s ease !important;
}

#authArea>.registeration-btn:hover,
.dashboard-btn:hover {
    transform: translateY(-4px) !important;
    box-shadow:
        0 11px 22px rgba(79, 70, 216, .22),
        0 2px 0 rgba(255, 255, 255, .2) inset !important;
}

.logout-btn {
    border-radius: 12px !important;
    box-shadow:
        0 5px 12px rgba(239, 68, 68, .08),
        0 2px 0 #fff inset !important;
}

.logout-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow:
        0 10px 20px rgba(239, 68, 68, .22) !important;
}

/* ============================================================
   MOBILE MENU BUTTON
   ============================================================ */

.menu-toggle {
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(79, 70, 216, .18) !important;
    border-radius: 14px !important;
    background:
        linear-gradient(145deg, #F7F6FF, #EEEEFF) !important;
    color: var(--cw-purple) !important;
    box-shadow:
        0 7px 16px rgba(79, 70, 216, .13),
        0 2px 0 #fff inset;
    transition: .3s ease !important;
}

.menu-toggle:hover {
    background:
        linear-gradient(135deg, var(--cw-purple), var(--cw-purple-dark)) !important;
    color: #fff !important;
    transform: translateY(-3px) rotate(2deg);
    box-shadow:
        0 10px 20px rgba(79, 70, 216, .25);
}

.menu-toggle:active {
    transform: translateY(0) scale(.96);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width:1100px) and (min-width:851px) {
    .nav-container {
        width: 97%;
        padding-left: 7px;
        padding-right: 7px;
    }

    .nav-links {
        gap: 4px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .nav-links>a,
    .nav-links .dropbtn {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 11.5px;
    }

    .nav-links>.mentor-btn {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ============================================================
   MOBILE — KEEP EXISTING JS / MENU LOGIC
   ============================================================ */

@media (max-width:850px) {
    .navbar {
        height: auto;
        min-height: 76px;
        padding-bottom: 0;
    }

    body {
        padding-top: 76px;
    }

    .nav-container {
        width: 100%;
        padding: 8px 13px;
    }

    .nav-top {
        min-height: 60px;
    }

    .nav-status {
        display: none;
    }

    .logo-link {
        padding: 5px 7px 5px 3px;
    }

    .logo-brackets {
        width: 36px;
        font-size: 31px;
        letter-spacing: -6px;
    }

    .logo-name {
        font-size: 24px;
    }

    .logo-text .highlight {
        margin-top: 5px;
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .menu-toggle {
        display: flex !important;
    }

    .nav-links {
        border-radius: 16px;
        margin-top: 7px;
        padding: 10px;
        gap: 6px;
        background:
            linear-gradient(145deg, #fff, #F7F6FF);
        box-shadow:
            0 18px 35px rgba(23, 32, 51, .13);
    }

    .nav-links>a,
    .nav-links .dropbtn,
    .nav-links>.mentor-btn {
        border-radius: 12px !important;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 5px;
        transform: none !important;
        border-radius: 13px;
        box-shadow: 0 8px 20px rgba(23, 32, 51, .08);
    }

    .dropdown-content::before {
        display: none;
    }

    #authArea {
        margin-top: 6px;
    }
}

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

@media (max-width:480px) {
    .logo-name {
        font-size: 21px;
    }

    .logo-brackets {
        width: 31px;
        font-size: 28px;
    }

    .logo-text .highlight {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .menu-toggle {
        width: 42px !important;
        height: 42px !important;
        font-size: 20px !important;
    }
}

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

.nav-links a:focus-visible,
.dropbtn:focus-visible,
.hero-btn:focus-visible,
.menu-toggle:focus-visible,
.logo-link:focus-visible {
    outline: 3px solid rgba(246, 166, 35, .45);
    outline-offset: 3px;
}

/* ============================================================
   FINAL MOBILE TOGGLE VISIBILITY FIX
   ============================================================ */

@media (max-width: 850px) {

    .navbar {
        z-index: 50000 !important;
        isolation: isolate;
    }

    .nav-top {
        position: relative;
        z-index: 100000 !important;
    }

    .nav-right {
        position: relative;
        z-index: 100001 !important;
    }

    .menu-toggle {
        position: relative !important;
        z-index: 100002 !important;

        display: flex !important;
        flex-shrink: 0;

        pointer-events: auto !important;
    }

    /* Keep slide-out menu below hamburger button */
    .nav-links {
        z-index: 5100 !important;
    }

    .nav-links.active {
        z-index: 5100 !important;
    }
}


/* ============================================================
   CODEWORD — FINAL RESPONSIVE MOBILE HEADER FIX
   ------------------------------------------------------------
   Keeps the logo + hamburger/header visible while the mobile
   navigation drawer opens BELOW the fixed navbar.
   No HTML or JavaScript changes required.
   ============================================================ */

@media (max-width: 850px) {

    /* Fixed header stays above every page element */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important;
        min-height: 70px !important;
        z-index: 50000 !important;
        isolation: isolate !important;
        overflow: visible !important;
    }

    /* Header row creates the correct stacking layer */
    .nav-container {
        position: relative !important;
        width: 100% !important;
        height: 70px !important;
        min-height: 70px !important;
        padding: 7px 12px !important;
        z-index: 50001 !important;
        overflow: visible !important;
    }

    .nav-top {
        position: relative !important;
        width: 100% !important;
        min-height: 56px !important;
        height: 56px !important;
        z-index: 50003 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        overflow: visible !important;
    }

    .nav-left,
    .nav-right {
        position: relative !important;
        z-index: 50004 !important;
    }

    /* Keep logo inside the mobile header */
    .logo {
        position: relative !important;
        z-index: 50005 !important;
        max-width: calc(100vw - 70px) !important;
        overflow: visible !important;
    }

    .logo-link {
        position: relative !important;
        z-index: 50006 !important;
    }

    /* Hamburger always stays above the drawer */
    .menu-toggle {
        position: relative !important;
        z-index: 50010 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: 43px !important;
        height: 43px !important;
        min-width: 43px !important;
        min-height: 43px !important;
        margin-left: 8px !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    /*
       IMPORTANT:
       The drawer starts BELOW the 70px navbar.
       Previously it started at top:0, which covered the logo
       and hamburger on responsive screens.
    */
    .nav-links,
    .nav-links.active {
        position: fixed !important;
        top: 70px !important;
        right: -100% !important;

        width: min(330px, 88vw) !important;
        height: calc(100dvh - 70px) !important;
        max-height: calc(100dvh - 70px) !important;

        margin: 0 !important;
        padding: 14px 12px 28px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 6px !important;

        background:
            linear-gradient(145deg,
                #FFFFFF 0%,
                #FBFAFF 55%,
                #F7F6FF 100%) !important;

        border-left: 1px solid rgba(79, 70, 216, .14) !important;
        border-top: 1px solid rgba(79, 70, 216, .10) !important;
        border-radius: 16px 0 0 0 !important;

        box-shadow:
            -18px 0 45px rgba(23, 32, 51, .16),
            0 -4px 18px rgba(79, 70, 216, .05) !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;

        transition:
            right .35s cubic-bezier(.22, .61, .36, 1) !important;

        z-index: 50002 !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    /* Menu items */
    .nav-links>a,
    .nav-links .dropbtn,
    .nav-links>.mentor-btn {
        width: 100% !important;
        min-height: 46px !important;
        flex: 0 0 auto !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        padding: 10px 14px !important;
        margin: 0 !important;

        border-radius: 12px !important;
        font-size: 12px !important;
        font-weight: 700 !important;

        transform: none !important;
    }

    .nav-links>a:hover,
    .nav-links .dropbtn:hover,
    .nav-links>.mentor-btn:hover {
        transform: translateX(2px) !important;
    }

    /* Dropdown stays inside drawer */
    .dropdown {
        width: 100% !important;
        flex: 0 0 auto !important;
        display: block !important;
    }

    .dropdown .dropbtn {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .dropdown-content {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;

        margin: 4px 0 0 !important;
        padding: 4px !important;

        display: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;

        border: 1px solid var(--border-light) !important;
        border-radius: 10px !important;
        box-shadow: none !important;

        background: #F7F8FC !important;
    }

    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block !important;
    }

    .dropdown-content a {
        min-height: 40px !important;
        font-size: 11px !important;
        padding: 8px 11px !important;
    }

    /* Auth section */
    #authArea {
        width: 100% !important;
        flex: 0 0 auto !important;
        margin: 7px 0 0 !important;
        padding: 0 !important;
    }

    #authArea>a,
    #authArea .logout-btn,
    #authArea .dashboard-btn,
    #authArea .welcome-text,
    #authArea>.registeration-btn {
        width: 100% !important;
        min-height: 44px !important;
    }
}


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

@media (max-width: 480px) {

    .navbar,
    .nav-container {
        height: 66px !important;
        min-height: 66px !important;
    }

    body {
        padding-top: 66px !important;
    }

    .nav-top {
        height: 52px !important;
        min-height: 52px !important;
    }

    .menu-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 20px !important;
    }

    .nav-links,
    .nav-links.active {
        top: 66px !important;
        height: calc(100dvh - 66px) !important;
        max-height: calc(100dvh - 66px) !important;
        width: min(330px, 91vw) !important;
    }

    .logo {
        max-width: calc(100vw - 58px) !important;
    }
}


/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 360px) {

    .nav-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .menu-toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        margin-left: 5px !important;
    }

    .logo {
        max-width: calc(100vw - 54px) !important;
    }

    .nav-links,
    .nav-links.active {
        width: 92vw !important;
    }
}


/* ============================================
   CODEWORD NAVBAR — MINIMAL SMOOTH SCROLLER
   No arrows, no scrollbar icons
   ============================================ */

@media (min-width: 851px) {

    .nav-links {
        overflow-x: auto !important;
        overflow-y: hidden !important;

        scroll-behavior: smooth !important;
        scroll-snap-type: none;

        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;

        scrollbar-width: thin !important;
        scrollbar-color: #625BE7 transparent !important;

        padding-bottom: 7px !important;
    }

    /* Slim, rounded scrollbar */
    .nav-links::-webkit-scrollbar {
        height: 5px !important;
        display: block !important;
    }

    .nav-links::-webkit-scrollbar-track {
        background: transparent !important;
        border-radius: 20px !important;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: linear-gradient(
            90deg,
            #4F46D8,
            #817AF5
        ) !important;

        border-radius: 20px !important;
        border: none !important;
        min-width: 35px;
    }

    .nav-links::-webkit-scrollbar-thumb:hover {
        background: #F6A623 !important;
    }

    /* Remove arrow buttons and corner decorations */
    .nav-links::-webkit-scrollbar-button,
    .nav-links::-webkit-scrollbar-button:start,
    .nav-links::-webkit-scrollbar-button:end,
    .nav-links::-webkit-scrollbar-button:horizontal:decrement,
    .nav-links::-webkit-scrollbar-button:horizontal:increment,
    .nav-links::-webkit-scrollbar-corner,
    .nav-links::-webkit-resizer {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
    }

    /* Prevent menu items from shrinking */
    .nav-links > a,
    .nav-links > .dropdown,
    .nav-links > #authArea {
        flex-shrink: 0 !important;
    }
}

/* Mobile menu: slim vertical scrollbar, no arrows */
@media (max-width: 850px) {

    .nav-links,
    .nav-links.active {
        overflow-x: hidden !important;
        overflow-y: auto !important;

        scrollbar-width: thin !important;
        scrollbar-color: #625BE7 transparent !important;

        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    .nav-links::-webkit-scrollbar {
        width: 4px !important;
    }

    .nav-links::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: #625BE7 !important;
        border-radius: 20px !important;
    }

    .nav-links::-webkit-scrollbar-button,
    .nav-links::-webkit-scrollbar-corner,
    .nav-links::-webkit-resizer {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* ============================================================
   CODEWORD ATTRACTIVE TYPOGRAPHY
   Body / UI : Manrope
   Headings  : Space Grotesk
   Code logo brackets : Courier New
   ============================================================ */

:root {
    --cw-font-body: 'Manrope', sans-serif;
    --cw-font-heading: 'Space Grotesk', sans-serif;
}

html,
body {
    font-family: var(--cw-font-body) !important;
}

button,
input,
textarea,
select {
    font-family: var(--cw-font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--cw-font-heading) !important;
}

.logo-text,
.logo-name,
.logo-text .highlight {
    font-family: var(--cw-font-heading) !important;
}

.logo-brackets {
    font-family: 'Courier New', monospace !important;
}

.navbar,
.nav-container,
.nav-top,
.nav-status,
.nav-links,
.nav-links>a,
.nav-links .dropbtn,
.dropdown-content,
.mentor-btn,
#authArea,
.user-box,
.dashboard-btn,
.welcome-text,
.logout-btn,
#authArea>.registeration-btn,
.menu-toggle {
    font-family: var(--cw-font-body) !important;
}

.hero-content h1,
.cw-flow-heading h2,
.upcoming-heading,
.section-heading,
.hackathon-name,
.why-card h3,
.faq-item h4,
.stat-box h3,
.cta-box h2 {
    font-family: var(--cw-font-heading) !important;
}

.hero-content p,
.cw-flow-heading p,
.cw-flow-card h3,
.cw-flow-card p,
.cw-link-btn,
.cw-main-btn,
.hackathon-card,
.hackathon-card p,
.hackathon-card span,
.hackathon-card a,
.card-row,
.btn,
.why-card p,
.faq-item p,
.featured-btn,
.stat-box p,
.cta-box,
.announcement-track {
    font-family: var(--cw-font-body) !important;
}

.hero-content h1 {
    letter-spacing: -1.8px;
}

.cw-flow-heading h2,
.upcoming-heading,
.section-heading {
    letter-spacing: -0.7px;
}

.logo-name {
    letter-spacing: -1.1px;
}

/* ============================================================
   HACKATHON AT GVMITM
   PREMIUM ANIMATED FEATURE SECTION
   ============================================================ */

.cw-gvmitm-feature {
    position: relative;

    width: 100%;

    padding: 90px 0;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #171D2D 0%,
            #20284A 48%,
            #3F38A9 100%);

    isolation: isolate;
}


/* ============================================================
   BACKGROUND GRID
   ============================================================ */

.cw-gvmitm-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px);

    background-size: 45px 45px;

    opacity: .55;

    animation: cwGridMove 18s linear infinite;

    pointer-events: none;
}


@keyframes cwGridMove {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(45px, 45px);
    }

}


/* ============================================================
   GLOW ORBS
   ============================================================ */

.cw-gvmitm-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    pointer-events: none;

    z-index: -1;
}


.cw-orb-one {
    width: 360px;
    height: 360px;

    top: -170px;
    left: -100px;

    background:
        radial-gradient(circle,
            rgba(246, 166, 35, .28),
            transparent 70%);

    animation:
        cwOrbFloatOne 8s ease-in-out infinite;
}


.cw-orb-two {
    width: 450px;
    height: 450px;

    right: -180px;
    bottom: -230px;

    background:
        radial-gradient(circle,
            rgba(79, 70, 216, .40),
            transparent 70%);

    animation:
        cwOrbFloatTwo 10s ease-in-out infinite;
}


@keyframes cwOrbFloatOne {

    0%,
    100% {
        transform:
            translate(0, 0) scale(1);
    }

    50% {
        transform:
            translate(40px, 30px) scale(1.12);
    }

}


@keyframes cwOrbFloatTwo {

    0%,
    100% {
        transform:
            translate(0, 0) scale(1);
    }

    50% {
        transform:
            translate(-40px, -35px) scale(1.15);
    }

}


/* ============================================================
   CONTAINER
   ============================================================ */

.cw-gvmitm-container {

    position: relative;

    width: min(92%, 1240px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr) minmax(420px, .95fr);

    align-items: center;

    gap: 70px;

    z-index: 2;
}


/* ============================================================
   LEFT CONTENT
   ============================================================ */

.cw-gvmitm-content {
    color: #ffffff;
}


.cw-gvmitm-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 15px;

    margin-bottom: 20px;

    border-radius: 50px;

    background:
        rgba(246, 166, 35, .14);

    border:
        1px solid rgba(246, 166, 35, .38);

    color: #FFD98A;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.3px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .12);

    animation:
        cwBadgePulse 2.2s ease-in-out infinite;
}


.cw-live-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #F6A623;

    box-shadow:
        0 0 0 0 rgba(246, 166, 35, .6);

    animation:
        cwLivePulse 1.8s infinite;
}


@keyframes cwLivePulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(246, 166, 35, .6);
    }

    70% {
        box-shadow:
            0 0 0 8px rgba(246, 166, 35, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(246, 166, 35, 0);
    }

}


@keyframes cwBadgePulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

}


.cw-gvmitm-small-title {

    display: block;

    margin-bottom: 8px;

    color:
        rgba(255, 255, 255, .62);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.cw-gvmitm-content h2 {

    margin: 0 0 18px;

    font-family:
        'Space Grotesk',
        sans-serif;

    font-size:
        clamp(40px, 5vw, 68px);

    line-height: 1.02;

    letter-spacing: -2px;

    font-weight: 800;

    color: #ffffff;
}


.cw-gvmitm-content h2 span {

    display: block;

    background:
        linear-gradient(90deg,
            #F6A623,
            #FFD77A);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

    position: relative;
}


.cw-gvmitm-description {

    max-width: 620px;

    margin: 0 0 28px;

    color:
        rgba(255, 255, 255, .76);

    font-size: 15px;

    line-height: 1.8;
}


/* ============================================================
   INFO
   ============================================================ */

.cw-gvmitm-info {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 30px;
}


.cw-gvmitm-info-item {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px;

    border:
        1px solid rgba(255, 255, 255, .10);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, .07);

    backdrop-filter:
        blur(12px);

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}


.cw-gvmitm-info-item:hover {

    transform:
        translateY(-5px);

    background:
        rgba(255, 255, 255, .11);

    border-color:
        rgba(246, 166, 35, .40);
}


.cw-gvmitm-info-icon {

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(246, 166, 35, .14);

    color:
        #F6A623;

    font-size: 14px;
}


.cw-gvmitm-info-item small {

    display: block;

    margin-bottom: 2px;

    color:
        rgba(255, 255, 255, .52);

    font-size: 9px;

    font-weight: 600;
}


.cw-gvmitm-info-item strong {

    display: block;

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.3;
}


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

.cw-gvmitm-buttons {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


.cw-gvmitm-primary-btn,
.cw-gvmitm-secondary-btn {

    min-height: 50px;

    padding: 0 20px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 800;

    transition:
        all .3s ease;
}


.cw-gvmitm-primary-btn {

    color: #ffffff;

    background:
        linear-gradient(135deg,
            #F6A623,
            #D98C08);

    box-shadow:
        0 10px 25px rgba(246, 166, 35, .22);
}


.cw-gvmitm-primary-btn:hover {

    color: #ffffff;

    transform:
        translateY(-4px);

    box-shadow:
        0 16px 35px rgba(246, 166, 35, .32);
}


.cw-gvmitm-primary-btn i {

    transition:
        transform .3s ease;
}


.cw-gvmitm-primary-btn:hover i {

    transform:
        translateX(5px);
}


.cw-gvmitm-secondary-btn {

    color: #ffffff;

    border:
        1px solid rgba(255, 255, 255, .22);

    background:
        rgba(255, 255, 255, .07);
}


.cw-gvmitm-secondary-btn:hover {

    color: #ffffff;

    background:
        rgba(255, 255, 255, .14);

    border-color:
        rgba(255, 255, 255, .40);

    transform:
        translateY(-4px);
}


/* ============================================================
   RIGHT VISUAL
   ============================================================ */

.cw-gvmitm-visual {

    min-height: 490px;

    display: flex;

    align-items: center;

    justify-content: center;

    perspective: 1200px;
}


.cw-gvmitm-card-wrapper {

    position: relative;

    width: min(100%, 470px);

    animation:
        cwCardFloat 5s ease-in-out infinite;
}


@keyframes cwCardFloat {

    0%,
    100% {
        transform:
            translateY(0) rotateY(0deg);
    }

    50% {
        transform:
            translateY(-14px) rotateY(2deg);
    }

}


/* ============================================================
   MAIN CARD
   ============================================================ */

.cw-gvmitm-main-card {

    position: relative;

    overflow: hidden;

    padding: 28px;

    min-height: 390px;

    border-radius: 28px;

    border:
        1px solid rgba(255, 255, 255, .18);

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .15),
            rgba(255, 255, 255, .055));

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 35px 80px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .20);
}


/* Animated border */

.cw-gvmitm-main-card::before {

    content: "";

    position: absolute;

    inset: -2px;

    border-radius: 30px;

    padding: 2px;

    background:
        linear-gradient(120deg,
            transparent,
            rgba(246, 166, 35, .8),
            transparent,
            rgba(115, 105, 255, .8),
            transparent);

    background-size:
        300% 300%;

    animation:
        cwBorderMove 5s linear infinite;

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:
        xor;

    mask-composite:
        exclude;

    pointer-events: none;
}


@keyframes cwBorderMove {

    0% {
        background-position:
            0% 50%;
    }

    50% {
        background-position:
            100% 50%;
    }

    100% {
        background-position:
            0% 50%;
    }

}


.cw-card-glow {

    position: absolute;

    width: 200px;
    height: 200px;

    top: -100px;
    right: -70px;

    border-radius: 50%;

    background:
        rgba(246, 166, 35, .22);

    filter:
        blur(40px);

    animation:
        cwCardGlow 4s ease-in-out infinite;
}


@keyframes cwCardGlow {

    0%,
    100% {
        opacity: .5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }

}


/* ============================================================
   CARD TOP
   ============================================================ */

.cw-card-top {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 28px;
}


.cw-gvmitm-logo {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color: #ffffff;

    background:
        linear-gradient(135deg,
            #4F46D8,
            #716AF0);

    box-shadow:
        0 12px 25px rgba(79, 70, 216, .35);

    font-size: 24px;

    animation:
        cwLogoPulse 3s ease-in-out infinite;
}


@keyframes cwLogoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06) rotate(-3deg);
    }

}


.cw-card-status {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 10px;

    border-radius: 50px;

    background:
        rgba(34, 197, 94, .12);

    border:
        1px solid rgba(34, 197, 94, .20);

    color:
        #A7F3C1;

    font-size: 9px;

    font-weight: 700;
}


.cw-card-status span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        #22C55E;

    box-shadow:
        0 0 10px #22C55E;

    animation:
        cwStatusBlink 1.5s infinite;
}


@keyframes cwStatusBlink {

    50% {
        opacity: .3;
    }

}


/* ============================================================
   CARD TITLE
   ============================================================ */

.cw-card-title small {

    display: block;

    margin-bottom: 7px;

    color:
        rgba(255, 255, 255, .48);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.cw-card-title h3 {

    margin: 0;

    color: #ffffff;

    font-family:
        'Space Grotesk',
        sans-serif;

    font-size: 34px;

    line-height: 1.05;

    letter-spacing: -1px;

    font-weight: 800;
}


.cw-card-title h3 strong {

    display: block;

    color:
        #F6A623;

    font-weight: 800;
}


/* ============================================================
   CARD LINE
   ============================================================ */

.cw-card-line {

    width: 100%;

    height: 1px;

    margin: 24px 0;

    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, .20),
            rgba(246, 166, 35, .45),
            transparent);
}


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

.cw-card-stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}


.cw-card-stats>div {

    padding: 12px 8px;

    text-align: center;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .055);

    border:
        1px solid rgba(255, 255, 255, .07);

    transition:
        transform .3s ease,
        background .3s ease;
}


.cw-card-stats>div:hover {

    transform:
        translateY(-5px);

    background:
        rgba(255, 255, 255, .10);
}


.cw-card-stats i {

    display: block;

    margin-bottom: 7px;

    color:
        #F6A623;

    font-size: 13px;
}


.cw-card-stats strong {

    display: block;

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;
}


.cw-card-stats span {

    display: block;

    margin-top: 2px;

    color:
        rgba(255, 255, 255, .45);

    font-size: 8px;

    font-weight: 600;
}


/* ============================================================
   MOVING CODE ANIMATION
   ============================================================ */

.cw-code-animation {

    display: flex;

    align-items: center;

    gap: 6px;

    margin: 23px 0 20px;

    color:
        rgba(255, 255, 255, .65);

    font-family:
        'Courier New',
        monospace;

    font-size: 11px;
}


.cw-code-animation span:nth-child(2),
.cw-code-animation span:nth-child(5) {

    color:
        #F6A623;

    font-weight: 700;
}


.cw-code-line {

    position: relative;

    flex: 1;

    height: 2px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, .12);

    border-radius: 10px;
}


.cw-code-line::after {

    content: "";

    position: absolute;

    left: -30%;

    top: 0;

    width: 30%;

    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            #F6A623,
            transparent);

    animation:
        cwCodeLineMove 1.5s linear infinite;
}


@keyframes cwCodeLineMove {

    from {
        left: -30%;
    }

    to {
        left: 100%;
    }

}


/* ============================================================
   CARD BUTTON
   ============================================================ */

.cw-card-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 46px;

    width: 100%;

    border-radius: 12px;

    background:
        linear-gradient(135deg,
            #4F46D8,
            #625BE7);

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(79, 70, 216, .25);

    transition:
        all .3s ease;
}


.cw-card-button:hover {

    color: #ffffff;

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 30px rgba(79, 70, 216, .35);
}


/* ============================================================
   FLOATING BADGES
   ============================================================ */

.cw-floating-badge {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 13px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .96);

    color:
        #273247;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .20);

    font-size: 9px;

    font-weight: 800;

    white-space: nowrap;
}


.cw-floating-badge i {

    color:
        #4F46D8;

    font-size: 13px;
}


.cw-badge-top {

    top: -20px;

    right: -18px;

    animation:
        cwBadgeFloatTop 4s ease-in-out infinite;
}


.cw-badge-bottom {

    bottom: -20px;

    left: -18px;

    animation:
        cwBadgeFloatBottom 4.5s ease-in-out infinite;
}


@keyframes cwBadgeFloatTop {

    0%,
    100% {
        transform:
            translateY(0) rotate(1deg);
    }

    50% {
        transform:
            translateY(-9px) rotate(-1deg);
    }

}


@keyframes cwBadgeFloatBottom {

    0%,
    100% {
        transform:
            translateY(0) rotate(-1deg);
    }

    50% {
        transform:
            translateY(8px) rotate(1deg);
    }

}


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

@media (max-width: 1050px) {

    .cw-gvmitm-container {

        grid-template-columns:
            1fr;

        gap: 50px;

    }


    .cw-gvmitm-content {

        text-align: center;
    }


    .cw-gvmitm-description {

        margin-left: auto;
        margin-right: auto;
    }


    .cw-gvmitm-info {

        max-width: 760px;

        margin-left: auto;
        margin-right: auto;
    }


    .cw-gvmitm-buttons {

        justify-content: center;
    }


    .cw-gvmitm-visual {

        min-height: 430px;
    }

}


@media (max-width: 700px) {

    .cw-gvmitm-feature {

        padding: 65px 0;
    }


    .cw-gvmitm-content h2 {

        font-size:
            clamp(38px, 12vw, 55px);

        letter-spacing: -1.5px;
    }


    .cw-gvmitm-info {

        grid-template-columns:
            1fr;
    }


    .cw-gvmitm-info-item {

        justify-content: flex-start;

        text-align: left;
    }


    .cw-gvmitm-main-card {

        padding: 22px;

        min-height: auto;

        border-radius: 22px;
    }


    .cw-card-title h3 {

        font-size: 28px;
    }


    .cw-card-stats {

        gap: 5px;
    }


    .cw-card-stats>div {

        padding: 10px 5px;
    }


    .cw-badge-top {

        right: -5px;
    }


    .cw-badge-bottom {

        left: -5px;
    }

}


@media (max-width: 480px) {

    .cw-gvmitm-buttons {

        flex-direction: column;

        width: 100%;
    }


    .cw-gvmitm-primary-btn,
    .cw-gvmitm-secondary-btn {

        width: 100%;
    }


    .cw-gvmitm-visual {

        min-height: 390px;
    }


    .cw-floating-badge {

        font-size: 8px;

        padding: 8px 9px;
    }


    .cw-badge-top {

        top: -13px;

        right: 0;
    }


    .cw-badge-bottom {

        bottom: -13px;

        left: 0;
    }

}


@media (prefers-reduced-motion: reduce) {

    .cw-gvmitm-grid,
    .cw-gvmitm-orb,
    .cw-gvmitm-badge,
    .cw-live-dot,
    .cw-gvmitm-card-wrapper,
    .cw-card-glow,
    .cw-gvmitm-logo,
    .cw-card-status span,
    .cw-code-line::after,
    .cw-floating-badge,
    .cw-gvmitm-main-card::before {

        animation: none !important;
    }

}

/*PROBLEM STATEMENT *****************/
/* ============================================================
   PROBLEM STATEMENTS SECTION
   ============================================================ */

.problem-statements-section {

    width: 100%;

    padding: 80px 0 90px;

    background:
        linear-gradient(180deg,
            #F7F8FC 0%,
            #FFFFFF 100%);
}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.problem-section-heading {

    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}


.problem-eyebrow {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 7px 14px;

    margin-bottom: 12px;

    border-radius: 30px;

    background:
        var(--primary-light);

    border:
        1px solid rgba(79, 70, 216, .15);

    color:
        var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

}


.problem-section-heading h2 {

    margin: 0 0 12px;

    color:
        var(--dark);

    font-size:
        clamp(30px, 4vw, 42px);

    line-height: 1.2;

    font-weight: 850;

}


.problem-section-heading p {

    margin: 0;

    color:
        var(--text-light);

    font-size: 14px;

    line-height: 1.8;

}


/* ============================================================
   PROBLEM GRID
   ============================================================ */

.problem-statements-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* ============================================================
   PROBLEM CARD
   ============================================================ */

.problem-statement-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 330px;

    padding: 25px;

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    border-radius:
        19px;

    box-shadow:
        var(--shadow-sm);

    overflow:
        hidden;

    transition:
        all .3s ease;
}


.problem-statement-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(90deg,
            var(--primary),
            var(--orange));
}


.problem-statement-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(79, 70, 216, .25);

    box-shadow:
        var(--shadow-md);
}


/* ============================================================
   NUMBER
   ============================================================ */

.problem-card-number {

    margin-bottom: 20px;

    color:
        var(--primary);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* ============================================================
   ICON
   ============================================================ */

.problem-card-icon {

    width: 54px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            var(--primary-light),
            var(--orange-light));

    color:
        var(--primary);

    font-size: 22px;

    transition:
        all .3s ease;
}


.problem-statement-card:hover .problem-card-icon {

    transform:
        rotate(-4deg) scale(1.05);

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--orange));

    color:
        #FFFFFF;
}


/* ============================================================
   TITLE
   ============================================================ */

.problem-card-title {

    margin: 0 0 12px;

    color:
        var(--dark);

    font-size: 19px;

    line-height: 1.4;

    font-weight: 800;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.problem-card-description {

    margin: 0;

    color:
        var(--text-light);

    font-size: 13px;

    line-height: 1.75;

    flex: 1;
}


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

.problem-card-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 24px;

    padding-top: 18px;

    border-top:
        1px solid var(--border-light);
}


.problem-card-id {

    color:
        var(--muted);

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;
}


/* ============================================================
   EXPLORE BUTTON
   ============================================================ */

.problem-explore-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 40px;

    padding: 8px 15px;

    border: none;

    border-radius: 10px;

    background:
        var(--primary);

    color:
        #FFFFFF;

    font-family: inherit;

    font-size: 11px;

    font-weight: 750;

    cursor: pointer;

    transition:
        all .25s ease;
}


.problem-explore-btn:hover {

    background:
        var(--primary-dark);

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 18px rgba(79, 70, 216, .20);
}


.problem-explore-btn i {

    transition:
        transform .25s ease;
}


.problem-explore-btn:hover i {

    transform:
        translateX(3px);
}


/* ============================================================
   LOADING
   ============================================================ */

.problem-loading {

    grid-column: 1 / -1;

    min-height: 180px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color:
        var(--primary);

    font-size: 14px;

    font-weight: 700;
}


/* ============================================================
   EMPTY / ERROR
   ============================================================ */

.problem-empty,
.problem-error {

    grid-column: 1 / -1;

    text-align: center;

    padding: 55px 20px;

    background: #FFFFFF;

    border:
        1px solid var(--border);

    border-radius: 18px;
}


.problem-empty-icon,
.problem-error-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size: 22px;
}


.problem-error-icon {

    background:
        #FFF1F1;

    color:
        var(--red);
}


.problem-empty h3,
.problem-error h3 {

    margin: 0 0 8px;

    color:
        var(--dark);

    font-size: 18px;
}


.problem-empty p,
.problem-error p {

    margin: 0;

    color:
        var(--muted);

    font-size: 13px;
}


/* ============================================================
   MODAL
   ============================================================ */

.problem-modal {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.problem-modal.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.problem-modal-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(15, 20, 35, .72);

    backdrop-filter:
        blur(5px);
}


/* ============================================================
   MODAL BOX
   ============================================================ */

.problem-modal-box {

    position: relative;

    z-index: 2;

    width:
        min(900px, 100%);

    max-height:
        min(85vh, 850px);

    display:
        flex;

    flex-direction:
        column;

    background:
        #FFFFFF;

    border-radius:
        22px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .25);

    overflow:
        hidden;

    transform:
        translateY(25px) scale(.97);

    transition:
        transform .3s ease;
}


.problem-modal.show .problem-modal-box {

    transform:
        translateY(0) scale(1);
}


/* ============================================================
   CLOSE
   ============================================================ */

.problem-modal-close {

    position: absolute;

    top: 18px;

    right: 18px;

    z-index: 5;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background:
        #F4F5F8;

    color:
        var(--dark);

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    transition:
        all .25s ease;
}


.problem-modal-close:hover {

    background:
        var(--red);

    color:
        #FFFFFF;

    transform:
        rotate(90deg);
}


/* ============================================================
   MODAL HEADER
   ============================================================ */

.problem-modal-header {

    padding:
        32px 70px 25px 30px;

    background:
        linear-gradient(135deg,
            #F7F6FF,
            #FFF8EB);

    border-bottom:
        1px solid var(--border);
}


.problem-modal-label {

    display: inline-block;

    margin-bottom: 8px;

    color:
        var(--primary);

    font-size: 10px;

    font-weight: 850;

    letter-spacing: 1.2px;
}


.problem-modal-header h2 {

    margin: 0;

    color:
        var(--dark);

    font-size:
        clamp(22px, 3vw, 30px);

    line-height: 1.3;

    font-weight: 850;
}


/* ============================================================
   MODAL CONTENT
   ============================================================ */

.problem-modal-content {

    padding: 30px;

    overflow-y: auto;
}


.problem-detail-block h4 {

    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 15px;

    color:
        var(--dark);

    font-size: 16px;

    font-weight: 800;
}


.problem-detail-block h4 i {

    color:
        var(--primary);
}


.problem-description {

    color:
        var(--text);

    font-size: 14px;

    line-height: 1.9;

    white-space: pre-line;

    overflow-wrap: anywhere;
}


/* ============================================================
   PDF BUTTON
   ============================================================ */

.problem-pdf-container {

    margin-top: 25px;

    padding-top: 22px;

    border-top:
        1px solid var(--border-light);
}


.problem-pdf-btn {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-height: 43px;

    padding: 9px 16px;

    border-radius: 10px;

    background:
        #FFF1F1;

    border:
        1px solid rgba(239, 68, 68, .15);

    color:
        #D92D20;

    font-size: 12px;

    font-weight: 750;

    transition:
        all .25s ease;
}


.problem-pdf-btn:hover {

    background:
        #EF4444;

    color:
        #FFFFFF;

    transform:
        translateY(-2px);
}


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

.problem-modal-footer {

    display: flex;

    justify-content: flex-end;

    padding:
        18px 30px;

    border-top:
        1px solid var(--border-light);

    background:
        #FAFBFD;
}


.problem-close-btn {

    min-height: 40px;

    padding: 8px 20px;

    border: none;

    border-radius: 10px;

    background:
        var(--dark);

    color:
        #FFFFFF;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition:
        all .25s ease;
}


.problem-close-btn:hover {

    background:
        var(--primary);

    transform:
        translateY(-2px);
}


body.problem-modal-open {

    overflow: hidden;
}


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

@media (max-width: 1000px) {

    .problem-statements-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 650px) {

    .problem-statements-section {

        padding:
            60px 0 70px;

    }


    .problem-statements-grid {

        grid-template-columns:
            1fr;

        gap: 18px;

    }


    .problem-statement-card {

        min-height: 300px;

        padding: 22px;

    }


    .problem-modal {

        padding: 12px;

    }


    .problem-modal-box {

        max-height: 92vh;

        border-radius: 17px;

    }


    .problem-modal-header {

        padding:
            28px 55px 22px 22px;

    }


    .problem-modal-content {

        padding: 22px;

    }


    .problem-modal-footer {

        padding:
            15px 22px;

    }


    .problem-card-footer {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .problem-explore-btn {

        width: 100%;

    }

}

/* ============================================================
   PROBLEM DESCRIPTION
   ============================================================ */

.problem-description {

    color: var(--text);

    font-size: 14px;

    line-height: 1.85;

    overflow-wrap: anywhere;

}


/* ============================================================
   PARAGRAPHS
   ============================================================ */

.problem-description p {

    margin: 0 0 16px;

}


.problem-description p:last-child {

    margin-bottom: 0;

}


/* ============================================================
   HEADINGS
   ============================================================ */

.problem-description h3,
.problem-description h4,
.problem-description h5 {

    margin: 22px 0 10px;

    color: var(--dark);

    font-weight: 800;

    line-height: 1.4;

}


.problem-description h3 {

    font-size: 19px;

}


.problem-description h4 {

    font-size: 17px;

}


.problem-description h5 {

    font-size: 15px;

}


/* ============================================================
   BOLD
   ============================================================ */

.problem-description strong,
.problem-description b {

    color: var(--dark);

    font-weight: 800;

}


/* ============================================================
   ITALIC
   ============================================================ */

.problem-description em,
.problem-description i {

    font-style: italic;

}


/* ============================================================
   UNDERLINE
   ============================================================ */

.problem-description u {

    text-decoration-thickness: 1px;

    text-underline-offset: 3px;

}


/* ============================================================
   UNORDERED / ORDERED LIST
   ============================================================ */

.problem-description ul,
.problem-description ol {

    margin: 12px 0 18px;

    padding-left: 25px;

}


.problem-description ul {

    list-style: disc;

}


.problem-description ol {

    list-style: decimal;

}


.problem-description li {

    margin-bottom: 8px;

    padding-left: 4px;

}


/* ============================================================
   LINE BREAK
   ============================================================ */

.problem-description br {

    display: block;

    content: "";

    margin-bottom: 5px;

}


/* ==========================================
   CODEWORD NAVBAR DROPDOWN FIX
   ========================================== */

/* Desktop: prevent dropdown clipping */
@media (min-width: 851px) {
    .nav-links {
        /* overflow: visible !important; */
        /* overflow-x: visible !important; */
        /* overflow-y: visible !important; */
        /* flex-wrap: wrap !important; */
    }

    .nav-links > .dropdown {
        position: relative !important;
        overflow: visible !important;
    }

    .dropdown-content {
        position: absolute !important;
        top: calc(100% + 5px) !important;
        left: 50% !important;
        min-width: 255px !important;

        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateX(-50%) translateY(8px) !important;
        z-index: 60000 !important;

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease !important;
    }

    .dropdown:hover > .dropdown-content,
    .dropdown:focus-within > .dropdown-content,
    .dropdown.open > .dropdown-content {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transform: translateX(-50%) translateY(0) !important;
    }
}

/* Mobile/tablet: open dropdown inside the menu drawer */
@media (max-width: 850px) {
    .nav-links .dropdown {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .nav-links .dropdown-content {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;

        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transform: none !important;
        margin: 5px 0 0 !important;
    }

    .nav-links .dropdown.open > .dropdown-content {
        display: block !important;
    }

    .nav-links .dropdown-content a {
        width: 100% !important;
        min-height: 42px;
    }
}


/* ==========================================
   CODEWORD NAVBAR DROPDOWN VISIBILITY FIX
   ========================================== */

@media (min-width: 851px) {

    .navbar,
    .nav-container {
        overflow: visible !important;
    }

    .nav-links {
        display: flex !important;
        flex-wrap: wrap !important;

        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;

        height: auto !important;
        max-height: none !important;

        position: relative;
        z-index: 60000 !important;
    }

    .nav-links > .dropdown {
        position: relative !important;
        overflow: visible !important;
        flex-shrink: 0;
    }

    .dropdown-content {
        position: absolute !important;

        top: calc(100% + 5px) !important;
        left: 50% !important;

        min-width: 255px !important;

        transform: translateX(-50%) translateY(8px) !important;

        z-index: 90000 !important;
    }

    .dropdown:hover > .dropdown-content,
    .dropdown:focus-within > .dropdown-content,
    .dropdown.open > .dropdown-content {
        transform: translateX(-50%) translateY(0) !important;
    }
}


/* =====================================================
   CODEWORD HEADER — RESPONSIVE DESKTOP SIZING
   Adapts font, gaps and buttons to screen width
   ===================================================== */

/* All desktop and laptop screens */
@media (min-width: 851px) {

    .navbar {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .nav-container {
        width: 100% !important;
        max-width: 1800px !important;
        height: auto !important;
        min-height: 0 !important;
        padding: clamp(5px, 0.65vw, 11px)
                 clamp(8px, 1.2vw, 20px) !important;
        overflow: visible !important;
    }

    /* Keep all navigation items on one horizontal line */
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: clamp(2px, 0.45vw, 8px) !important;
        /* overflow-x: auto !important; */
        /* overflow-y: hidden !important; */
        padding: 5px 3px 8px !important;
    }

    /* Navigation labels */
    .nav-links > a,
    .nav-links .dropbtn {
        flex: 0 0 auto !important;

        min-height: clamp(34px, 2.8vw, 42px) !important;

        padding-left: clamp(6px, 0.8vw, 14px) !important;
        padding-right: clamp(6px, 0.8vw, 14px) !important;

        font-size: clamp(10px, 0.88vw, 13px) !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
    }

    /* Dropdown positioning */
    .nav-links > .dropdown {
        flex: 0 0 auto !important;
        position: relative !important;
    }

    .dropdown-content {
        z-index: 60000 !important;
    }

    /* Mentor / Sponsor buttons */
    .nav-links > .mentor-btn {
        flex: 0 0 auto !important;

        min-height: clamp(34px, 2.8vw, 42px) !important;

        padding: 7px clamp(7px, 0.9vw, 15px) !important;

        font-size: clamp(10px, 0.85vw, 13px) !important;

        white-space: nowrap !important;
    }

    /* Login / dashboard / welcome / logout */
    #authArea {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-left: 2px !important;
    }

    .user-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;

        gap: clamp(3px, 0.4vw, 8px) !important;

        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .dashboard-btn,
    .logout-btn,
    #authArea > .registeration-btn {
        flex: 0 0 auto !important;

        min-height: clamp(34px, 2.8vw, 42px) !important;

        padding: 7px clamp(6px, 0.7vw, 12px) !important;

        font-size: clamp(9px, 0.72vw, 11px) !important;
        white-space: nowrap !important;
    }

    .dashboard-icon {
        width: clamp(18px, 1.6vw, 23px) !important;
        height: clamp(18px, 1.6vw, 23px) !important;
        font-size: clamp(10px, 0.9vw, 13px) !important;
    }

    .welcome-text {
        flex: 0 1 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: clamp(75px, 10vw, 150px) !important;

        padding: 0 2px !important;

        font-size: clamp(9px, 0.8vw, 12px) !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

/* Compact laptops */
@media (min-width: 851px) and (max-width: 1100px) {

    .nav-links {
        gap: 2px !important;
    }

    .nav-links > a,
    .nav-links .dropbtn {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .nav-links > .mentor-btn {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .welcome-text {
        max-width: 82px !important;
    }
}

/* Medium and large desktop */
@media (min-width: 1400px) {

    .nav-links {
        gap: 7px !important;
    }

    .nav-links > a,
    .nav-links .dropbtn {
        padding-left: 13px !important;
        padding-right: 13px !important;
    }
}



/* ============================================================
   FINAL HEADER FIX — NO HEADER SCROLLBARS
   Keeps the desktop navigation visible without horizontal or
   vertical scrolling inside the navbar. Mobile menu rules stay
   under the existing 850px breakpoints.
   ============================================================ */

@media (min-width: 851px) {
    :root {
        --navbar-height: 170px;
    }

    body {
        padding-top: 131px !important;
        overflow-x: hidden !important;
    }

    .navbar {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .nav-container {
        width: 100% !important;
        max-width: 1800px !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 7px clamp(8px, 1vw, 18px) 9px !important;
        overflow: visible !important;
        gap: 0 !important;
    }

    .nav-top {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 70px !important;
        height: auto !important;
        gap: clamp(8px, 1.2vw, 20px) !important;
        flex-shrink: 0 !important;
    }

    .nav-left,
    .nav-right {
        min-width: 0 !important;
    }

    .logo-link {
        column-gap: clamp(4px, 0.6vw, 9px) !important;
    }

    .logo-brackets {
        width: clamp(28px, 3vw, 44px) !important;
        font-size: clamp(27px, 2.7vw, 39px) !important;
        letter-spacing: clamp(-7px, -0.5vw, -4px) !important;
    }

    .logo-name {
        font-size: clamp(23px, 2.2vw, 32px) !important;
    }

    .logo-text .highlight {
        margin-top: 5px !important;
        font-size: clamp(8px, 0.8vw, 11px) !important;
        letter-spacing: clamp(1px, 0.13vw, 2px) !important;
    }

    .nav-status {
        font-size: clamp(9px, 0.75vw, 11px) !important;
        gap: clamp(4px, 0.6vw, 10px) !important;
        white-space: normal !important;
    }

    /* Allow menu items to wrap to a second row instead of scrolling. */
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        align-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;

        gap: clamp(2px, 0.35vw, 7px) !important;
        padding: 4px 0 2px !important;
        margin: 0 !important;

        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .nav-links::-webkit-scrollbar,
    .nav-links::-webkit-scrollbar-button,
    .nav-links::-webkit-scrollbar-track,
    .nav-links::-webkit-scrollbar-thumb,
    .nav-links::-webkit-scrollbar-corner {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
    }

    .nav-links > a,
    .nav-links .dropbtn {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        min-height: 34px !important;
        height: auto !important;
        padding: 7px clamp(5px, 0.65vw, 11px) !important;
        font-size: clamp(10px, 0.78vw, 12px) !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    .nav-links > .dropdown {
        position: relative !important;
        flex: 0 0 auto !important;
        overflow: visible !important;
    }

    .nav-links .dropbtn span {
        margin-left: 3px !important;
        font-size: 10px !important;
    }

    .nav-links > .mentor-btn {
        flex: 0 0 auto !important;
        min-height: 34px !important;
        padding: 7px clamp(6px, 0.7vw, 12px) !important;
        font-size: clamp(9px, 0.72vw, 12px) !important;
        white-space: nowrap !important;
    }

    #authArea {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 2px 0 !important;
        overflow: visible !important;
    }

    .user-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: clamp(3px, 0.35vw, 7px) !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .dashboard-btn,
    .logout-btn,
    #authArea > .registeration-btn {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        min-height: 34px !important;
        height: auto !important;
        padding: 7px clamp(6px, 0.6vw, 10px) !important;
        font-size: clamp(9px, 0.68vw, 11px) !important;
        white-space: nowrap !important;
    }

    .dashboard-icon {
        width: 19px !important;
        height: 19px !important;
        font-size: 11px !important;
    }

    .welcome-text {
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: clamp(65px, 8vw, 125px) !important;
        min-height: 34px !important;
        padding: 0 2px !important;
        font-size: clamp(9px, 0.7vw, 11px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .dropdown-content {
        position: absolute !important;
        top: calc(100% + 5px) !important;
        left: 50% !important;
        z-index: 90000 !important;
        max-height: min(70vh, 520px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* Compact laptop: smaller spacing, still no navbar scrollbar. */
    @media (min-width: 851px) and (max-width: 1100px) {
        body {
            padding-top: 185px !important;
        }

        .nav-top {
            min-height: 64px !important;
        }

        .nav-links {
            gap: 2px !important;
        }

        .nav-links > a,
        .nav-links .dropbtn {
            padding-left: 5px !important;
            padding-right: 5px !important;
            font-size: 10px !important;
        }

        .nav-links > .mentor-btn {
            padding-left: 6px !important;
            padding-right: 6px !important;
        }

        .welcome-text {
            max-width: 68px !important;
        }
    }
}

/* Keep page-level vertical scrolling, but prevent horizontal page overflow. */
html,
body {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}




/* =========================================================
   CODEWORD TEAM SHOWCASE
   Continuous right-to-left team card animation
   ========================================================= */

.cw-team-showcase {
    width: 100%;
    padding: 65px 0 55px;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, #eeeeff 0, transparent 35%),
        linear-gradient(135deg, #ffffff, #f5f7ff);
    font-family: 'Manrope', sans-serif;
}

.cw-team-container {
    width: min(94%, 1400px);
    margin: 0 auto;
}

.cw-team-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.cw-team-eyebrow {
    display: inline-block;
    padding: 7px 15px;
    margin-bottom: 13px;
    border: 1px solid rgba(79, 70, 216, 0.2);
    border-radius: 30px;
    background: #eeeeff;
    color: #4f46d8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cw-team-heading h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 900;
    line-height: 1.2;
}

.cw-team-heading h2 span {
    color: #f6a623;
}

.cw-team-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #5b6577;
    font-size: 15px;
    line-height: 1.8;
}

/* SCROLLING WINDOW */

.cw-team-marquee {
    width: 100%;
    overflow: hidden;
    padding: 18px 0 25px;
    position: relative;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 4%,
        #000 96%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 4%,
        #000 96%,
        transparent
    );
}

/* MOVING TRACK */

.cw-team-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: max-content;
    animation: cwTeamScroll 35s linear infinite;
    will-change: transform;
}

.cw-team-marquee:hover .cw-team-track {
    animation-play-state: paused;
}

/* EACH CARD */

.cw-team-card {
    position: relative;
    display: flex;
    flex: 0 0 280px;
    flex-direction: column;
    min-height: 255px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #e1e6ef;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(25, 35, 55, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.cw-team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4f46d8, #f6a623);
}

.cw-team-card:hover {
    transform: translateY(-7px);
    border-color: #c5c1ff;
    box-shadow: 0 18px 35px rgba(79, 70, 216, 0.14);
}

.cw-team-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.cw-team-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eeeeff;
    font-size: 24px;
}

.cw-team-badge {
    padding: 6px 10px;
    border-radius: 20px;
    background: #fff4df;
    color: #a96700;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.cw-team-card h3 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cw-team-member-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 17px;
    color: #5b6577;
    font-size: 13px;
    font-weight: 600;
}

.cw-team-member-count i {
    color: #4f46d8;
}

.cw-team-members {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.cw-team-members span {
    display: flex;
    width: 37px;
    height: 37px;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46d8, #7972ef);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 9px rgba(79, 70, 216, 0.15);
}

.cw-team-members span:nth-child(even) {
    background: linear-gradient(135deg, #f6a623, #e99712);
}

.cw-team-member-names {
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
    color: #667085;
    font-size: 12px;
    line-height: 1.7;
}

/* DUPLICATED CARDS FOR A SEAMLESS LOOP */

.cw-team-duplicate {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    gap: 24px;
}

/* Move by half of the track, which is one complete card set. */

@keyframes cwTeamScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 12px));
    }
}

/* BOTTOM MESSAGE */

.cw-team-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin-top: 22px;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.cw-team-footer i {
    margin-right: 6px;
    color: #4f46d8;
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .cw-team-track {
        animation: none;
    }

    .cw-team-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* TABLETS */

@media (max-width: 768px) {
    .cw-team-showcase {
        padding: 45px 0 38px;
    }

    .cw-team-heading {
        margin-bottom: 22px;
        padding: 0 10px;
    }

    .cw-team-heading p {
        font-size: 13px;
    }

    .cw-team-track,
    .cw-team-duplicate {
        gap: 16px;
    }

    .cw-team-card {
        flex-basis: 250px;
        min-height: 245px;
        padding: 20px;
    }

    .cw-team-footer {
        padding: 0 12px;
        gap: 10px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
    .cw-team-heading h2 {
        font-size: 29px;
    }

    .cw-team-card {
        flex-basis: 235px;
        min-height: 235px;
        padding: 18px;
    }

    .cw-team-card h3 {
        font-size: 19px;
    }

    .cw-team-track {
        animation-duration: 28s;
    }
}

/* Dynamic team showcase additions */

.cw-team-status {
    margin-top: 8px;
    color: #5b6577;
    font-size: 13px;
    text-align: center;
}

#cwTeamTrack {
    animation: none;
}

#cwTeamTrack.cw-team-loaded {
    animation: cwTeamScroll 35s linear infinite;
}

.cw-team-marquee:hover #cwTeamTrack.cw-team-loaded {
    animation-play-state: paused;
}

@media (max-width: 480px) {
    #cwTeamTrack.cw-team-loaded {
        animation-duration: 28s;
    }
}

/* ==========================================
   HACKATHON TIMELINE - TWO COLUMN LAYOUT
========================================== */

.cw-timeline-section {
    padding: 65px 22px;
    background: linear-gradient(135deg, #f7f8ff, #ffffff);
    overflow: hidden;
}

.cw-timeline-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 40px;
}

/* LEFT CONTENT */

.cw-timeline-content {
    min-width: 0;
}

.cw-timeline-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    margin-bottom: 16px;
    border: 1px solid rgba(79, 70, 216, 0.2);
    border-radius: 30px;
    background: rgba(79, 70, 216, 0.07);
    color: #4f46d8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cw-timeline-content h2 {
    margin: 0 0 14px;
    color: #172033;
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.2;
}

.cw-timeline-content h2 span {
    color: #f6a623;
}

.cw-timeline-description {
    margin: 0 0 24px;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

/* EVENT DAY CARDS */

.cw-timeline-day {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 17px;
    margin-bottom: 14px;
    border: 1px solid #e8eaf4;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(23, 32, 51, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cw-timeline-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(23, 32, 51, 0.09);
}

.cw-timeline-day-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #e9edff;
    color: #4f46d8;
    font-size: 19px;
}

.cw-day-two-icon {
    background: #fff1d6;
    color: #e99510;
}

.cw-timeline-day-details {
    flex: 1;
    min-width: 0;
}

.cw-timeline-day-label {
    display: inline-block;
    margin-bottom: 5px;
    color: #4f46d8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cw-timeline-day-details h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 17px;
    line-height: 1.4;
}

.cw-timeline-day-details p {
    margin: 6px 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.65;
}

.cw-timeline-day-details .cw-timeline-date {
    color: #27324b;
    font-weight: 700;
}

.cw-timeline-date i,
.cw-timeline-time i {
    margin-right: 5px;
    color: #f6a623;
}

.cw-timeline-time {
    display: inline-block;
    margin-top: 5px;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f5f6ff;
    color: #4f46d8;
    font-size: 11px;
    font-weight: 700;
}

/* VENUE */

.cw-timeline-venue {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 19px 0;
    padding: 14px 16px;
    border-left: 4px solid #f6a623;
    border-radius: 8px;
    background: #fff9ec;
}

.cw-timeline-venue > i {
    color: #e99510;
    font-size: 23px;
}

.cw-timeline-venue strong {
    display: block;
    margin-bottom: 4px;
    color: #172033;
    font-size: 13px;
}

.cw-timeline-venue p {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}

/* BUTTONS */

.cw-timeline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.cw-timeline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid #4f46d8;
    border-radius: 9px;
    background: #4f46d8;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cw-timeline-btn:hover {
    transform: translateY(-2px);
    background: #3730a3;
    color: #ffffff;
}

.cw-timeline-download {
    border-color: #f6a623;
    background: #f6a623;
    color: #172033;
}

.cw-timeline-download:hover {
    border-color: #e99a13;
    background: #e99a13;
    color: #172033;
}

/* RIGHT POSTER */

.cw-timeline-visual {
    min-width: 0;
}

.cw-timeline-poster {
    padding: 9px;
    border: 1px solid #e6e8f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

.cw-timeline-poster img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    border-radius: 10px;
}

.cw-timeline-poster-caption {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    color: #667085;
    font-size: 12px;
    line-height: 1.7;
}

.cw-timeline-poster-caption i {
    margin-top: 3px;
    color: #4f46d8;
}

/* TABLET */

@media (max-width: 900px) {
    .cw-timeline-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .cw-timeline-section {
        padding: 50px 18px;
    }

    .cw-timeline-content h2 {
        font-size: 29px;
    }

    .cw-timeline-day {
        padding: 13px;
        gap: 11px;
    }

    .cw-timeline-poster img {
        max-height: 460px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .cw-timeline-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cw-timeline-section {
        padding: 42px 14px;
    }

    .cw-timeline-content h2 {
        font-size: 30px;
    }

    .cw-timeline-description {
        font-size: 13px;
    }

    .cw-timeline-poster img {
        max-height: none;
    }

    .cw-timeline-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cw-timeline-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================================
   CODEWORD PARTICIPANT FEEDBACK SECTION
   ============================================================ */

.cw-feedback-showcase {
    position: relative;
    width: 100%;
    padding: 78px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(79, 70, 216, .08), transparent 30%),
        radial-gradient(circle at 92% 85%, rgba(246, 166, 35, .10), transparent 28%),
        linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 100%);
}

.cw-feedback-container {
    width: min(100%, 1320px);
    margin: 0 auto;
}

/* Section heading */

.cw-feedback-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.cw-feedback-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(79, 70, 216, .15);
    border-radius: 30px;
    background: #F0EFFF;
    color: var(--primary, #4F46D8);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.cw-feedback-eyebrow i {
    color: var(--orange, #F6A623);
}

.cw-feedback-heading h2 {
    margin: 0;
    color: var(--dark, #172033);
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.cw-feedback-heading h2 span {
    color: var(--primary, #4F46D8);
}

.cw-feedback-heading p {
    max-width: 650px;
    margin: 14px auto 0;
    color: var(--muted, #5B6577);
    font-size: 14px;
    line-height: 1.8;
}

/* Scrolling container */

.cw-feedback-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12px 0 24px;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 5%,
        #000 95%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 5%,
        #000 95%,
        transparent 100%
    );
}

.cw-feedback-track {
    display: flex;
    align-items: stretch;
    gap: 22px;
    width: max-content;
    animation: cwFeedbackScroll 42s linear infinite;
    will-change: transform;
}

/* Pause animation when users hover over the cards */

.cw-feedback-marquee:hover .cw-feedback-track,
.cw-feedback-marquee:focus-within .cw-feedback-track {
    animation-play-state: paused;
}

/* Individual feedback card */

.cw-feedback-card {
    position: relative;
    display: flex;
    flex: 0 0 330px;
    flex-direction: column;
    width: 330px;
    min-height: 255px;
    padding: 25px 24px 22px;
    overflow: hidden;
    border: 1px solid var(--border, #E1E6EF);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 30px rgba(25, 35, 55, .07);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

/* Purple and orange top accent */

.cw-feedback-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary, #4F46D8),
        var(--orange, #F6A623)
    );
    content: "";
}

.cw-feedback-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 70, 216, .24);
    box-shadow: 0 18px 38px rgba(25, 35, 55, .12);
}

/* Card top row */

.cw-feedback-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
}

/* Star rating */

.cw-feedback-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #F5A623;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Quote icon */

.cw-feedback-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #FFF4DF;
    color: #D98C08;
    font-size: 16px;
}

/* Feedback message */

.cw-feedback-message {
    display: -webkit-box;
    flex: 1;
    margin: 0 0 22px;
    overflow: hidden;
    color: #475467;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

/* Participant information */

.cw-feedback-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #EDF0F5;
}

/* Participant profile image */

.cw-feedback-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: linear-gradient(135deg, #EEEEFF, #FFF4DF);
    color: var(--primary, #4F46D8);
    box-shadow: 0 0 0 1px rgba(79, 70, 216, .16);
    font-size: 18px;
}

.cw-feedback-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name and participant label */

.cw-feedback-person-info {
    min-width: 0;
}

.cw-feedback-person-info strong {
    display: block;
    overflow: hidden;
    color: var(--dark, #172033);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cw-feedback-person-info span {
    display: block;
    margin-top: 3px;
    color: var(--muted, #5B6577);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Loading message */

.cw-feedback-loading {
    margin: 8px auto 0;
    color: var(--muted, #5B6577);
    text-align: center;
    font-size: 12px;
}

.cw-feedback-loading i {
    margin-right: 7px;
    color: var(--primary, #4F46D8);
}

/* Share feedback button */

.cw-feedback-action {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.cw-feedback-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 47px;
    padding: 12px 23px;
    border: 1px solid var(--primary, #4F46D8);
    border-radius: 11px;
    background: linear-gradient(
        135deg,
        var(--primary, #4F46D8),
        #625BE7
    );
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(79, 70, 216, .20);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.cw-feedback-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(
        135deg,
        var(--primary-dark, #3932B8),
        var(--primary, #4F46D8)
    );
    color: #FFFFFF;
    box-shadow: 0 12px 26px rgba(79, 70, 216, .27);
}

.cw-feedback-button i {
    transition: transform .25s ease;
}

.cw-feedback-button:hover i {
    transform: translateX(4px);
}

/* Right-to-left marquee animation */

@keyframes cwFeedbackScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Tablet */

@media (max-width: 768px) {
    .cw-feedback-showcase {
        padding: 58px 15px;
    }

    .cw-feedback-heading {
        margin-bottom: 25px;
    }

    .cw-feedback-heading p {
        font-size: 12px;
    }

    .cw-feedback-card {
        flex-basis: 290px;
        width: 290px;
        min-height: 245px;
        padding: 22px 20px;
    }

    .cw-feedback-track {
        gap: 16px;
        animation-duration: 34s;
    }
}

/* Mobile */

@media (max-width: 480px) {
    .cw-feedback-showcase {
        padding: 48px 10px;
    }

    .cw-feedback-heading h2 {
        font-size: 29px;
    }

    .cw-feedback-eyebrow {
        font-size: 9px;
        letter-spacing: .8px;
    }

    .cw-feedback-card {
        flex-basis: 270px;
        width: 270px;
        min-height: 235px;
        padding: 20px 18px;
        border-radius: 17px;
    }

    .cw-feedback-message {
        font-size: 12px;
    }
}

/* Accessibility: respect reduced-motion preference */

@media (prefers-reduced-motion: reduce) {
    .cw-feedback-track {
        animation: none;
        transform: none;
    }

    .cw-feedback-card,
    .cw-feedback-button,
    .cw-feedback-button i {
        transition: none;
    }
}




/* ============================================================
   CODEWORD HACKATHON VIDEO SHOWCASE
   ============================================================ */

.cw-video-section {
    --cw-video-primary: #4F46D8;
    --cw-video-primary-dark: #3932B8;
    --cw-video-orange: #F6A623;
    --cw-video-navy: #172033;
    --cw-video-muted: #667085;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 90px 5%;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 5% 15%,
            rgba(79, 70, 216, 0.09),
            transparent 32%
        ),
        radial-gradient(
            circle at 95% 85%,
            rgba(246, 166, 35, 0.11),
            transparent 30%
        ),
        linear-gradient(135deg, #FFFFFF 0%, #F6F7FF 55%, #FFF9EF 100%);
}

.cw-video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        var(--cw-video-primary),
        var(--cw-video-orange),
        var(--cw-video-primary)
    );
}

.cw-video-container {
    width: min(100%, 1240px);
    margin: 0 auto;
}

/* ---------------- SECTION HEADING ---------------- */

.cw-video-heading {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.cw-video-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-bottom: 18px;
    padding: 9px 17px;

    color: var(--cw-video-primary);
    background: #EFEDFF;
    border: 1px solid rgba(79, 70, 216, 0.17);
    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cw-video-eyebrow i {
    color: var(--cw-video-orange);
    font-size: 15px;
}

.cw-video-heading h2 {
    margin: 0 0 16px;

    color: var(--cw-video-navy);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.cw-video-heading h2 span {
    color: var(--cw-video-primary);
    position: relative;
    display: inline-block;
}

.cw-video-heading p {
    max-width: 680px;
    margin: 0 auto;

    color: var(--cw-video-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* ---------------- MAIN VIDEO LAYOUT ---------------- */

.cw-video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 42px;

    padding: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(79, 70, 216, 0.12);
    border-radius: 28px;

    box-shadow:
        0 25px 65px rgba(23, 32, 51, 0.09),
        0 5px 18px rgba(79, 70, 216, 0.04);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ---------------- VIDEO PLAYER ---------------- */

.cw-video-player {
    position: relative;
    min-width: 0;
    padding: 8px;

    background: #111827;
    border: 1px solid rgba(79, 70, 216, 0.16);
    border-radius: 22px;

    box-shadow: 0 18px 40px rgba(23, 32, 51, 0.19);
    overflow: hidden;

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

.cw-video-player:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 50px rgba(23, 32, 51, 0.23),
        0 0 0 3px rgba(79, 70, 216, 0.08);
}

.cw-video-player video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;

    object-fit: contain;
    background: #080B12;
    border-radius: 15px;
}

/* Video caption */

.cw-video-caption {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 15px 12px 10px;
    color: #FFFFFF;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cw-video-caption i {
    color: var(--cw-video-orange);
    font-size: 16px;
}

/* ---------------- RIGHT INFORMATION PANEL ---------------- */

.cw-video-info {
    min-width: 0;
    padding: 12px 5px;
}

.cw-video-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 17px;
    padding: 8px 12px;

    border-radius: 8px;
    background: #FFF4DF;
    color: #A76500;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.8px;
}

.cw-video-label i {
    color: #E99712;
}

.cw-video-info h3 {
    margin: 0 0 15px;

    color: var(--cw-video-navy);
    font-size: clamp(24px, 2.5vw, 33px);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.cw-video-info > p {
    margin: 0 0 26px;

    color: var(--cw-video-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* ---------------- FEATURE POINTS ---------------- */

.cw-video-feature {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 19px;
    padding: 13px;

    background: #FFFFFF;
    border: 1px solid #EAECF5;
    border-radius: 14px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.cw-video-feature:hover {
    transform: translateX(5px);
    border-color: rgba(79, 70, 216, 0.35);
    box-shadow: 0 8px 22px rgba(79, 70, 216, 0.07);
}

.cw-video-feature > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 43px;
    width: 43px;
    height: 43px;

    border-radius: 12px;
    background: #EFEDFF;
    color: var(--cw-video-primary);

    font-size: 17px;
}

.cw-video-feature:nth-of-type(2) > span {
    background: #FFF4DF;
    color: #C17A00;
}

.cw-video-feature:nth-of-type(3) > span {
    background: #E8F8EF;
    color: #16864A;
}

.cw-video-feature strong {
    display: block;
    margin-bottom: 3px;

    color: var(--cw-video-navy);
    font-size: 13px;
    font-weight: 800;
}

.cw-video-feature small {
    display: block;

    color: var(--cw-video-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* ---------------- CALL TO ACTION ---------------- */

.cw-video-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 49px;
    margin-top: 7px;
    padding: 13px 22px;

    color: #FFFFFF;
    background: linear-gradient(
        135deg,
        var(--cw-video-primary),
        #665BEA
    );

    border: 1px solid transparent;
    border-radius: 12px;

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 10px 24px rgba(79, 70, 216, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cw-video-cta i {
    transition: transform 0.25s ease;
}

.cw-video-cta:hover {
    color: #FFFFFF;
    background: linear-gradient(
        135deg,
        var(--cw-video-primary-dark),
        var(--cw-video-primary)
    );

    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(79, 70, 216, 0.28);
}

.cw-video-cta:hover i {
    transform: translateX(4px);
}

/* ---------------- TABLET ---------------- */

@media (max-width: 1000px) {
    .cw-video-section {
        padding: 75px 4%;
    }

    .cw-video-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .cw-video-player {
        width: 100%;
    }

    .cw-video-info {
        padding: 10px 5px 5px;
    }

    .cw-video-info h3 {
        max-width: 600px;
    }

    .cw-video-info > p {
        max-width: 700px;
    }

    .cw-video-feature {
        max-width: 700px;
    }
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 600px) {
    .cw-video-section {
        padding: 55px 16px;
    }

    .cw-video-heading {
        margin-bottom: 30px;
    }

    .cw-video-eyebrow {
        margin-bottom: 14px;
        padding: 8px 12px;
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .cw-video-heading h2 {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

    .cw-video-heading p {
        font-size: 13px;
        line-height: 1.8;
    }

    .cw-video-layout {
        gap: 22px;
        padding: 12px;
        border-radius: 20px;
    }

    .cw-video-player {
        padding: 5px;
        border-radius: 15px;
    }

    .cw-video-player video {
        border-radius: 10px;
    }

    .cw-video-caption {
        padding: 12px 8px 8px;
        font-size: 11px;
    }

    .cw-video-info {
        padding: 10px 5px;
    }

    .cw-video-label {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .cw-video-info h3 {
        font-size: 26px;
    }

    .cw-video-info > p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .cw-video-feature {
        gap: 11px;
        margin-bottom: 12px;
        padding: 11px;
    }

    .cw-video-feature > span {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
        font-size: 15px;
    }

    .cw-video-feature strong {
        font-size: 12px;
    }

    .cw-video-feature small {
        font-size: 10px;
    }

    .cw-video-cta {
        width: 100%;
        min-height: 47px;
        margin-top: 10px;
    }
}

/* ---------------- REDUCED MOTION ---------------- */

@media (prefers-reduced-motion: reduce) {
    .cw-video-player,
    .cw-video-feature,
    .cw-video-cta,
    .cw-video-cta i {
        transition: none;
    }

    .cw-video-player:hover,
    .cw-video-feature:hover,
    .cw-video-cta:hover {
        transform: none;
    }
}



/* ==========================================
   CODEWORD CARDS GALLERY
   Navy / Blue + Orange Theme
========================================== */

.cw-gallery-section {
  --cw-gallery-navy: #101b3d;
  --cw-gallery-blue: #243f83;
  --cw-gallery-orange: #ff7900;
  --cw-gallery-text: #26324a;
  --cw-gallery-muted: #69758a;
  --cw-gallery-bg: #f5f7fc;

  position: relative;
  overflow: hidden;
  padding: 85px 20px 65px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 121, 0, 0.07), transparent 26%),
    radial-gradient(circle at 95% 75%, rgba(36, 63, 131, 0.08), transparent 28%),
    var(--cw-gallery-bg);
  font-family: "Poppins", sans-serif;
}

.cw-gallery-section *,
.cw-gallery-section *::before,
.cw-gallery-section *::after {
  box-sizing: border-box;
}

.cw-gallery-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* ========== HEADING ========== */

.cw-gallery-heading {
  max-width: 750px;
  margin: 0 auto 42px;
  text-align: center;
}

.cw-gallery-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 17px;
  border: 1px solid rgba(255, 121, 0, 0.25);
  border-radius: 50px;
  background: #fff;
  color: var(--cw-gallery-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.cw-gallery-dot,
.cw-gallery-footer-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cw-gallery-orange);
  box-shadow: 0 0 0 4px rgba(255, 121, 0, 0.12);
}

.cw-gallery-heading h2 {
  margin: 20px 0 14px;
  color: var(--cw-gallery-navy);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.cw-gallery-heading h2 span {
  color: var(--cw-gallery-orange);
}

.cw-gallery-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--cw-gallery-muted);
  font-size: 14px;
  line-height: 1.9;
}

.cw-gallery-heading-line {
  width: 72px;
  height: 4px;
  margin: 24px auto 0;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    var(--cw-gallery-blue),
    var(--cw-gallery-orange)
  );
}

/* ========== SLIDER VIEWPORT ========== */

.cw-gallery-section .cw-event-card-slider {
  position: relative;
  width: 100%;
  height: auto;
  padding: 8px 0 20px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  touch-action: pan-y;
}

.cw-gallery-section .cw-event-slides {
  position: relative;
  inset: auto;
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 0 2px 12px;
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* ========== INDIVIDUAL CARDS ========== */

.cw-gallery-section .cw-event-slide {
  position: relative;
  inset: auto;
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  height: auto;
  overflow: hidden;
  visibility: visible;
  opacity: 1;
  transform: none;
  z-index: auto;
  border: 1px solid #e7eaf2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16, 27, 61, 0.07);
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.cw-gallery-section .cw-event-slide.active {
  visibility: visible;
  opacity: 1;
  transform: none;
  z-index: auto;
}

.cw-gallery-section .cw-event-slide:hover {
  border-color: rgba(255, 121, 0, 0.55);
  box-shadow: 0 18px 38px rgba(16, 27, 61, 0.14);
}

/* ========== IMAGE ========== */

.cw-gallery-section .cw-event-image-wrap {
  position: relative;
  height: 225px;
  flex-shrink: 0;
  overflow: hidden;
  background: #e7ebf4;
}

.cw-gallery-section .cw-event-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(16, 27, 61, 0.12) 0%,
    transparent 38%,
    rgba(16, 27, 61, 0.25) 100%
  );
}

.cw-gallery-section .cw-event-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.65s ease;
}

.cw-gallery-section .cw-event-slide:hover .cw-event-image-wrap img {
  transform: scale(1.07);
}

.cw-gallery-section .cw-event-image-number {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(16, 27, 61, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* ========== CARD TEXT ========== */

.cw-gallery-section .cw-event-caption {
  position: relative;
  inset: auto;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 21px 24px;
  color: var(--cw-gallery-text);
  background: #fff;
  transform: none;
}

.cw-gallery-section .cw-event-category {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  color: var(--cw-gallery-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.cw-gallery-section .cw-event-caption h3 {
  margin: 0 0 10px;
  color: var(--cw-gallery-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.cw-gallery-section .cw-event-caption p {
  margin: 0;
  color: var(--cw-gallery-muted);
  font-size: 12px;
  line-height: 1.85;
}

/* ========== PREVIOUS / NEXT ========== */

.cw-gallery-section .cw-event-arrow {
  position: absolute;
  top: 40%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--cw-gallery-navy);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(16, 27, 61, 0.2);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cw-gallery-section .cw-event-arrow:hover {
  background: var(--cw-gallery-orange);
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(255, 121, 0, 0.3);
}

.cw-gallery-section .cw-event-arrow:focus-visible,
.cw-gallery-section .cw-event-dot:focus-visible,
.cw-gallery-section .cw-gallery-readmore:focus-visible {
  outline: 3px solid var(--cw-gallery-orange);
  outline-offset: 4px;
}

.cw-gallery-section .cw-event-prev {
  left: 12px;
}

.cw-gallery-section .cw-event-next {
  right: 12px;
}

/* ========== BOTTOM CONTROLS ========== */

.cw-gallery-section .cw-gallery-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
}

.cw-gallery-section .cw-event-slider-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.cw-gallery-section .cw-event-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-gallery-section .cw-event-dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #cbd2e0;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.cw-gallery-section .cw-event-dot.active {
  width: 27px;
  background: var(--cw-gallery-orange);
}

.cw-gallery-section .cw-event-counter {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cw-gallery-navy);
  font-size: 12px;
  font-weight: 800;
}

.cw-gallery-section .cw-event-counter-line {
  width: 24px;
  height: 1px;
  background: #c1c8d8;
}

.cw-gallery-section .cw-event-counter-label {
  color: var(--cw-gallery-muted);
  font-size: 9px;
  letter-spacing: 1px;
}

.cw-gallery-section .cw-gallery-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid var(--cw-gallery-navy);
  border-radius: 9px;
  background: var(--cw-gallery-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.cw-gallery-section .cw-gallery-readmore span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.cw-gallery-section .cw-gallery-readmore:hover {
  border-color: var(--cw-gallery-orange);
  background: var(--cw-gallery-orange);
  color: #fff;
  transform: translateY(-2px);
}

.cw-gallery-section .cw-gallery-readmore:hover span {
  transform: translateX(4px);
}

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

.cw-gallery-section .cw-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #e2e6ef;
  color: var(--cw-gallery-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-align: center;
}

/* ========== TABLET: 2 CARDS ========== */

@media (max-width: 900px) {
  .cw-gallery-section {
    padding: 70px 20px 55px;
  }

  .cw-gallery-section .cw-event-slides {
    gap: 20px;
  }

  .cw-gallery-section .cw-event-slide {
    flex-basis: calc((100% - 20px) / 2);
  }

  .cw-gallery-section .cw-event-image-wrap {
    height: 220px;
  }

  .cw-gallery-section .cw-event-caption {
    padding: 20px;
  }
}

/* ========== MOBILE: 1 CARD ========== */

@media (max-width: 600px) {
  .cw-gallery-section {
    padding: 55px 15px 40px;
  }

  .cw-gallery-section .cw-gallery-heading {
    margin-bottom: 28px;
  }

  .cw-gallery-section .cw-gallery-heading h2 {
    font-size: 31px;
    letter-spacing: -0.8px;
  }

  .cw-gallery-section .cw-gallery-heading p {
    font-size: 13px;
    line-height: 1.8;
  }

  .cw-gallery-section .cw-gallery-badge {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .cw-gallery-section .cw-event-slides {
    gap: 15px;
    padding-right: 2px;
  }

  .cw-gallery-section .cw-event-slide {
    flex-basis: 100%;
  }

  .cw-gallery-section .cw-event-image-wrap {
    height: 235px;
  }

  .cw-gallery-section .cw-event-caption {
    padding: 20px;
  }

  .cw-gallery-section .cw-event-caption h3 {
    font-size: 17px;
  }

  .cw-gallery-section .cw-event-arrow {
    top: 34%;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .cw-gallery-section .cw-event-prev {
    left: 10px;
  }

  .cw-gallery-section .cw-event-next {
    right: 10px;
  }

  .cw-gallery-section .cw-gallery-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 12px;
  }

  .cw-gallery-section .cw-event-slider-info {
    width: 100%;
    justify-content: space-between;
  }

  .cw-gallery-section .cw-gallery-readmore {
    width: 100%;
  }

  .cw-gallery-section .cw-gallery-footer {
    align-items: flex-start;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
  }
}

/* ========== REDUCED MOTION ACCESSIBILITY ========== */

@media (prefers-reduced-motion: reduce) {
  .cw-gallery-section *,
  .cw-gallery-section *::before,
  .cw-gallery-section *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/*===========Hackahton winners section =================*/


/* =========================================================
   CODEWORD HACKATHON 2026 - OUR WINNERS 3D SECTION
   Theme: Royal Blue + Orange + White
   ========================================================= */

.cw-winners-3d,
.cw-winners-3d * {
    box-sizing: border-box;
}

.cw-winners-3d {
    --cw-w3d-primary: #4F46D8;
    --cw-w3d-primary-dark: #3027A8;
    --cw-w3d-orange: #F6A623;
    --cw-w3d-dark: #172033;
    --cw-w3d-text: #536078;
    --cw-w3d-white: #ffffff;
    --cw-w3d-light: #F6F7FF;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 24px 85px;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(79, 70, 216, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(246, 166, 35, 0.11),
            transparent 27%
        ),
        linear-gradient(145deg, #ffffff 0%, #F7F8FF 55%, #ffffff 100%);
    font-family: 'Poppins', sans-serif;
    color: var(--cw-w3d-dark);
}

/* Background decorative shapes */

.cw-w3d-bg-shape {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(1px);
}

.cw-w3d-shape-one {
    width: 380px;
    height: 380px;
    top: 100px;
    left: -220px;
    border: 55px solid rgba(79, 70, 216, 0.055);
    animation: cwW3dFloat 9s ease-in-out infinite;
}

.cw-w3d-shape-two {
    width: 300px;
    height: 300px;
    right: -170px;
    bottom: 100px;
    border: 45px solid rgba(246, 166, 35, 0.09);
    animation: cwW3dFloat 11s ease-in-out infinite reverse;
}

@keyframes cwW3dFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -22px, 0);
    }
}

/* Main container */

.cw-w3d-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.cw-w3d-heading {
    max-width: 800px;
    margin: 0 auto 85px;
    text-align: center;
}

.cw-w3d-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 21px;
    margin-bottom: 23px;
    border: 1px solid rgba(79, 70, 216, 0.18);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--cw-w3d-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow:
        0 7px 20px rgba(23, 32, 51, 0.05),
        inset 0 1px 0 #ffffff;
}

.cw-w3d-eyebrow i {
    color: var(--cw-w3d-orange);
    font-size: 16px;
}

.cw-w3d-heading h2 {
    margin: 0 0 18px;
    color: var(--cw-w3d-dark);
    font-size: clamp(34px, 4.5vw, 57px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -1.8px;
}

.cw-w3d-heading h2 span {
    position: relative;
    display: inline-block;
    color: var(--cw-w3d-primary);
    text-shadow: 2px 3px 0 rgba(79, 70, 216, 0.11);
}

.cw-w3d-heading h2 span::after {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: -7px;
    height: 5px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        var(--cw-w3d-primary),
        var(--cw-w3d-orange)
    );
    transform: skewX(-20deg);
}

.cw-w3d-heading > p {
    max-width: 680px;
    margin: 28px auto 25px;
    color: var(--cw-w3d-text);
    font-size: 15px;
    line-height: 1.9;
    font-weight: 400;
}

.cw-w3d-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.cw-w3d-heading-line span {
    width: 65px;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--cw-w3d-orange)
    );
}

.cw-w3d-heading-line span:last-child {
    transform: rotate(180deg);
}

.cw-w3d-heading-line i {
    color: var(--cw-w3d-orange);
    font-size: 19px;
    filter: drop-shadow(0 3px 4px rgba(246, 166, 35, 0.25));
}

/* =========================================================
   WINNER CARDS GRID
   ========================================================= */

.cw-w3d-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
    perspective: 1500px;
}

/* Base card */

.cw-w3d-card {
    --cw-w3d-accent: #4F46D8;
    --cw-w3d-accent-light: #EAE9FF;
    --cw-w3d-card-shadow: rgba(79, 70, 216, 0.14);

    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 21px 0;
    border: 1px solid rgba(79, 70, 216, 0.12);
    border-radius: 26px;
    background: linear-gradient(155deg, #ffffff 0%, #FAFAFF 100%);
    box-shadow:
        0 18px 40px rgba(23, 32, 51, 0.07),
        0 5px 12px rgba(23, 32, 51, 0.035),
        inset 0 1px 0 #ffffff;
    transform-style: preserve-3d;
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.35s ease;
    animation: cwW3dAppear 0.8s ease both;
}

.cw-w3d-card:nth-child(2) {
    animation-delay: 0.12s;
}

.cw-w3d-card:nth-child(3) {
    animation-delay: 0.24s;
}

@keyframes cwW3dAppear {
    from {
        opacity: 0;
        transform: translateY(35px) rotateX(7deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.cw-w3d-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    border-color: rgba(79, 70, 216, 0.28);
    box-shadow:
        0 30px 60px var(--cw-w3d-card-shadow),
        0 12px 22px rgba(23, 32, 51, 0.08),
        inset 0 1px 0 #ffffff;
}

/* Card rank number */

.cw-w3d-rank {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(79, 70, 216, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--cw-w3d-accent);
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(23, 32, 51, 0.08);
    transform: translateZ(20px);
}

/* =========================================================
   SECOND PLACE - SILVER / BLUE
   ========================================================= */

.cw-w3d-silver {
    --cw-w3d-accent: #5969A6;
    --cw-w3d-accent-light: #EDF0FA;
    --cw-w3d-card-shadow: rgba(89, 105, 166, 0.17);
}

.cw-w3d-silver::before,
.cw-w3d-gold::before,
.cw-w3d-bronze::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 4px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--cw-w3d-accent),
        transparent
    );
}

/* =========================================================
   FIRST PLACE - CHAMPION
   ========================================================= */

.cw-w3d-gold {
    --cw-w3d-accent: #D68A00;
    --cw-w3d-accent-light: #FFF3D8;
    --cw-w3d-card-shadow: rgba(246, 166, 35, 0.22);

    border-color: rgba(246, 166, 35, 0.43);
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(246, 166, 35, 0.12),
            transparent 38%
        ),
        linear-gradient(155deg, #ffffff 0%, #FFFCF5 100%);
    box-shadow:
        0 25px 55px rgba(246, 166, 35, 0.12),
        0 10px 25px rgba(23, 32, 51, 0.06),
        inset 0 1px 0 #ffffff;
    transform: translateY(-25px);
}

.cw-w3d-gold::before {
    height: 5px;
    background: linear-gradient(
        90deg,
        transparent,
        #F6A623,
        #FFD978,
        #F6A623,
        transparent
    );
}

.cw-w3d-gold:hover {
    transform: translateY(-37px) rotateX(2deg);
    border-color: rgba(246, 166, 35, 0.65);
    box-shadow:
        0 35px 70px rgba(246, 166, 35, 0.20),
        0 15px 25px rgba(23, 32, 51, 0.08);
}

/* Crown */

.cw-w3d-crown {
    position: absolute;
    z-index: 5;
    top: -35px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(145deg, #FFD978, #F6A623 70%, #E18A00);
    color: #ffffff;
    font-size: 28px;
    box-shadow:
        0 9px 0 #D68A00,
        0 15px 24px rgba(214, 138, 0, 0.28),
        inset 0 2px 3px rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) translateZ(35px);
    animation: cwW3dCrownFloat 3s ease-in-out infinite;
}

@keyframes cwW3dCrownFloat {
    0%, 100% {
        margin-top: 0;
    }
    50% {
        margin-top: -7px;
    }
}

/* =========================================================
   THIRD PLACE - BRONZE / ORANGE
   ========================================================= */

.cw-w3d-bronze {
    --cw-w3d-accent: #B66A31;
    --cw-w3d-accent-light: #FFF0E4;
    --cw-w3d-card-shadow: rgba(182, 106, 49, 0.18);
}

.cw-w3d-bronze::before {
    background: linear-gradient(
        90deg,
        transparent,
        #B66A31,
        transparent
    );
}

/* =========================================================
   MEDALS
   ========================================================= */

.cw-w3d-podium-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 18px;
    padding-top: 5px;
    transform: translateZ(25px);
}

.cw-w3d-medal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border: 5px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        var(--cw-w3d-accent-light),
        #ffffff
    );
    color: var(--cw-w3d-accent);
    font-size: 29px;
    box-shadow:
        0 9px 0 rgba(79, 70, 216, 0.08),
        0 13px 24px rgba(23, 32, 51, 0.10),
        inset 0 2px 5px rgba(255, 255, 255, 0.95);
    transition: transform 0.4s ease;
}

.cw-w3d-card:hover .cw-w3d-medal {
    transform: rotateY(180deg) scale(1.06);
}

/* =========================================================
   TEAM PHOTO
   ========================================================= */

.cw-w3d-photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    border: 4px solid #ffffff;
    border-radius: 19px;
    background: var(--cw-w3d-light);
    box-shadow:
        0 9px 22px rgba(23, 32, 51, 0.12),
        0 0 0 1px rgba(79, 70, 216, 0.09);
    transform: translateZ(18px);
}

.cw-w3d-photo::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 40% 0 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(23, 32, 51, 0.25)
    );
}

.cw-w3d-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cw-w3d-card:hover .cw-w3d-photo img {
    transform: scale(1.08);
}

/* Photo label */

.cw-w3d-photo-tag {
    position: absolute;
    z-index: 2;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 24px);
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 9px;
    background: rgba(23, 32, 51, 0.88);
    color: #ffffff;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cw-w3d-gold .cw-w3d-photo-tag {
    background: linear-gradient(135deg, #F6A623, #D68A00);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   CARD CONTENT
   ========================================================= */

.cw-w3d-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 0 26px;
    text-align: center;
    transform: translateZ(12px);
}

/* Achievement label */

.cw-w3d-achievement {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(79, 70, 216, 0.10);
    border-radius: 50px;
    background: var(--cw-w3d-accent-light);
    color: var(--cw-w3d-accent);
    font-size: 9px;
    line-height: 1.5;
    font-weight: 900;
    letter-spacing: 1.1px;
}

/* Team name */

.cw-w3d-card-content h3 {
    margin: 0 0 12px;
    color: var(--cw-w3d-dark);
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.4;
    font-weight: 800;
    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.cw-w3d-card:hover .cw-w3d-card-content h3 {
    color: var(--cw-w3d-primary);
}

.cw-w3d-gold .cw-w3d-card-content h3 {
    font-size: clamp(20px, 1.8vw, 25px);
}

/* College name */

.cw-w3d-college {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin: 0 0 13px;
    padding: 12px 10px;
    border: 1px solid rgba(79, 70, 216, 0.10);
    border-radius: 12px;
    background: rgba(79, 70, 216, 0.045);
    color: var(--cw-w3d-primary);
    font-size: 12px;
    line-height: 1.7;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cw-w3d-college i {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--cw-w3d-orange);
    font-size: 15px;
}

.cw-w3d-college span {
    min-width: 0;
}

/* Project */

.cw-w3d-project {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 2px;
    color: var(--cw-w3d-text);
    font-size: 12px;
    line-height: 1.8;
    text-align: left;
    overflow-wrap: anywhere;
}

.cw-w3d-project > i {
    flex-shrink: 0;
    margin-top: 5px;
    color: var(--cw-w3d-orange);
    font-size: 15px;
}

.cw-w3d-project span {
    min-width: 0;
}

.cw-w3d-project strong {
    color: var(--cw-w3d-dark);
    font-weight: 800;
}

/* Divider */

.cw-w3d-divider {
    width: 100%;
    height: 1px;
    margin: 19px 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79, 70, 216, 0.20),
        rgba(246, 166, 35, 0.35),
        transparent
    );
}

/* Members heading */

.cw-w3d-members-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--cw-w3d-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.cw-w3d-members-title i {
    color: var(--cw-w3d-primary);
    font-size: 14px;
}

/* Member list */

.cw-w3d-member-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cw-w3d-member-list li {
    position: relative;
    padding: 9px 12px;
    border: 1px solid rgba(79, 70, 216, 0.09);
    border-radius: 10px;
    background: rgba(79, 70, 216, 0.035);
    color: #46516A;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    overflow-wrap: anywhere;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.cw-w3d-member-list li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 9px 1px 0;
    border-radius: 50%;
    background: var(--cw-w3d-orange);
    vertical-align: middle;
}

.cw-w3d-member-list li:hover {
    transform: translateX(3px);
    border-color: rgba(79, 70, 216, 0.22);
    background: rgba(79, 70, 216, 0.075);
    color: var(--cw-w3d-primary);
}

.cw-w3d-gold .cw-w3d-member-list li::before {
    background: var(--cw-w3d-orange);
}

/* =========================================================
   3D PODIUM BASE
   ========================================================= */

.cw-w3d-podium-base {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 63px;
    margin: auto -21px 0;
    border-radius: 0 0 25px 25px;
    background: linear-gradient(
        135deg,
        var(--cw-w3d-accent),
        var(--cw-w3d-primary-dark)
    );
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -5px 0 rgba(0, 0, 0, 0.12);
    transform: translateZ(20px);
}

.cw-w3d-podium-base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255, 255, 255, 0.22);
}

.cw-w3d-podium-base span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

.cw-w3d-gold .cw-w3d-podium-base {
    background: linear-gradient(135deg, #F6A623, #D68A00);
}

/* =========================================================
   BOTTOM CONGRATULATIONS MESSAGE
   ========================================================= */

.cw-w3d-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    max-width: 900px;
    margin: 70px auto 0;
    padding: 25px 30px;
    border: 1px solid rgba(79, 70, 216, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 15px 35px rgba(23, 32, 51, 0.06),
        inset 0 1px 0 #ffffff;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cw-w3d-footer > div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.cw-w3d-footer h3 {
    margin: 0 0 8px;
    color: var(--cw-w3d-dark);
    font-size: 19px;
    line-height: 1.5;
    font-weight: 800;
}

.cw-w3d-footer p {
    margin: 0;
    color: var(--cw-w3d-text);
    font-size: 12px;
    line-height: 1.8;
}

.cw-w3d-footer-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    border: 1px solid rgba(246, 166, 35, 0.30);
    border-radius: 17px;
    background: linear-gradient(145deg, #FFF8E8, #FFEDC5);
    color: var(--cw-w3d-orange);
    font-size: 22px;
    box-shadow:
        0 7px 15px rgba(246, 166, 35, 0.12),
        inset 0 1px 0 #ffffff;
    transform: rotate(-5deg);
    transition: transform 0.35s ease;
}

.cw-w3d-footer-icon:last-child {
    transform: rotate(5deg);
}

.cw-w3d-footer:hover .cw-w3d-footer-icon:first-child {
    transform: rotate(5deg) translateY(-3px);
}

.cw-w3d-footer:hover .cw-w3d-footer-icon:last-child {
    transform: rotate(-5deg) translateY(-3px);
}

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

@media (max-width: 1050px) {
    .cw-winners-3d {
        padding: 85px 22px 70px;
    }

    .cw-w3d-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        row-gap: 48px;
    }

    .cw-w3d-gold {
        transform: translateY(0);
    }

    .cw-w3d-gold:hover {
        transform: translateY(-10px) rotateX(2deg);
    }

    .cw-w3d-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cw-w3d-podium-base {
        margin-left: -20px;
        margin-right: -20px;
    }

    .cw-w3d-photo {
        height: 230px;
    }

    .cw-w3d-card-content h3,
    .cw-w3d-gold .cw-w3d-card-content h3 {
        font-size: 22px;
    }
}

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

@media (max-width: 650px) {
    .cw-winners-3d {
        padding: 70px 16px 55px;
    }

    .cw-w3d-heading {
        margin-bottom: 65px;
    }

    .cw-w3d-eyebrow {
        gap: 8px;
        padding: 9px 14px;
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .cw-w3d-heading h2 {
        font-size: clamp(30px, 8vw, 42px);
        letter-spacing: -1px;
    }

    .cw-w3d-heading > p {
        margin-top: 25px;
        font-size: 13px;
        line-height: 1.8;
    }

    .cw-w3d-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 430px;
        margin: 0 auto;
        gap: 55px;
    }

    .cw-w3d-card {
        padding: 22px 20px 0;
        border-radius: 23px;
    }

    .cw-w3d-gold {
        transform: none;
    }

    .cw-w3d-card:hover,
    .cw-w3d-gold:hover {
        transform: translateY(-6px);
    }

    .cw-w3d-photo {
        height: 245px;
    }

    .cw-w3d-card-content {
        padding-top: 22px;
        padding-bottom: 23px;
    }

    .cw-w3d-card-content h3,
    .cw-w3d-gold .cw-w3d-card-content h3 {
        font-size: 22px;
    }

    .cw-w3d-college {
        font-size: 12px;
    }

    .cw-w3d-project {
        font-size: 12px;
    }

    .cw-w3d-member-list li {
        padding: 10px 12px;
        font-size: 12px;
    }

    .cw-w3d-podium-base {
        height: 58px;
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0 0 22px 22px;
    }

    .cw-w3d-crown {
        top: -30px;
        width: 55px;
        height: 48px;
        font-size: 23px;
    }

    .cw-w3d-rank {
        width: 43px;
        height: 43px;
        font-size: 15px;
    }

    .cw-w3d-footer {
        gap: 13px;
        margin-top: 55px;
        padding: 22px 16px;
        border-radius: 18px;
    }

    .cw-w3d-footer-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }

    .cw-w3d-footer h3 {
        font-size: 15px;
    }

    .cw-w3d-footer p {
        font-size: 11px;
    }

    .cw-w3d-shape-one {
        width: 230px;
        height: 230px;
        left: -160px;
    }

    .cw-w3d-shape-two {
        width: 200px;
        height: 200px;
        right: -140px;
    }
}

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

@media (max-width: 380px) {
    .cw-winners-3d {
        padding-right: 12px;
        padding-left: 12px;
    }

    .cw-w3d-card {
        padding-right: 15px;
        padding-left: 15px;
    }

    .cw-w3d-podium-base {
        margin-right: -15px;
        margin-left: -15px;
    }

    .cw-w3d-photo {
        height: 205px;
    }

    .cw-w3d-card-content h3,
    .cw-w3d-gold .cw-w3d-card-content h3 {
        font-size: 19px;
    }

    .cw-w3d-footer {
        gap: 9px;
        padding: 18px 10px;
    }

    .cw-w3d-footer-icon {
        width: 31px;
        height: 31px;
        font-size: 13px;
    }

    .cw-w3d-footer h3 {
        font-size: 13px;
    }

    .cw-w3d-footer p {
        font-size: 10px;
    }
}

/* =========================================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================================= */

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