:root {
    --primary-bg: #f5f6fa;
    --secondary-bg: #e8ecf5;
    --dark-bg: #1a1f36;
    --card-bg: #f8fafd;
    --accent-blue: #1a3c6e;
    --accent-light-blue: #8cdcf4;
    --accent-purple: #9d71ff;
    --accent-light-purple: #b190f8;
    --accent-teal: #25c4f3;
    --accent-green: #27e1a1;
    --accent-dark-green: #456a5d;
    --accent-red: #ff5b69;
    --accent-light-red: #fc8c95;
    --accent-yellow: #ffb23d;
    --text-dark: #1a2036;
    --text-medium: #445177;
    --text-light: #8390b8;
    --border-color: rgba(221, 229, 247, 0.5);
    --shadow-sm: 0 2px 8px rgba(26, 60, 110, 0.07);
    --shadow-md: 0 4px 12px rgba(26, 60, 110, 0.1);
    --shadow-lg: 0 6px 18px rgba(26, 60, 110, 0.15);
    --gradient-blue: linear-gradient(135deg, #1a3c6e, #25c4f3);
    --gradient-cyber: linear-gradient(135deg, #1a3c6e, #9d71ff, #ff5b69);
    --font-main: 'Montserrat', Arial, sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
    --font-signature: 'Caveat', cursive
}

body {
    font-family: 'Montserrat', Arial, sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
}

.language-option {
    font-family: 'Poppins', sans-serif
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    scroll-behavior: smooth
}

body {
    background-color: var(--dark-bg);
    color: var(--text-medium);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative
}

#coding-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: .2;
    pointer-events: none
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.2), rgba(43, 49, 97, 0.1));
    background-blend-mode: overlay;
    z-index: -1;
    opacity: .8
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem
}

.top-bar {
    background: linear-gradient(90deg, #1a1f36, #2a2f46);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: .5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000
}

.language-and-accessibility {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem
}

.language-selector,
.text-size-selector {
    display: flex;
    align-items: center;
    gap: .5rem
}

.language-option {
    color: #fff;
    text-decoration: none;
    padding: .3rem .5rem;
    font-size: .9rem;
    transition: color .3s ease
}

.language-option.active {
    color: var(--accent-green);
    text-decoration: underline
}

.language-option:hover {
    color: #a3cfff
}

.separator {
    color: #fff;
    font-size: .9rem
}

.text-size-selector a {
    color: #fff;
    text-decoration: none;
    padding: .3rem .5rem;
    font-size: .9rem;
    transition: color .3s ease, font-size .3s ease
}

.text-size-selector a.active {
    color: #10b981;
    font-weight: 600
}

.text-size-selector a:hover {
    color: #34d399
}

.text-size-small[data-size="small"]:hover {
    font-size: .8rem
}

.text-size-large[data-size="large"]:hover {
    font-size: 1.1rem
}

@media(max-width:768px) {
    .top-bar {
        display: none
    }

    .language-and-accessibility {
        flex-direction: column;
        gap: 1rem;
        padding: .5rem 0
    }

    .language-selector,
    .text-size-selector {
        justify-content: flex-end
    }
}

header {
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform .3s ease
}

.logo-image:hover {
    transform: scale(1.05)
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem
}

.nav-item {
    position: relative
}

.nav-item>a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: .5rem 1rem;
    border-radius: 6px;
    transition: background-color .3s ease, color .3s ease
}

.nav-item>a:hover,
.nav-item>a.active {
    background-color: var(--secondary-bg);
    color: var(--accent-blue)
}

.dropdown-content {
    position: absolute;
    top: 110%;
    left: 0;
    background-color: var(--primary-bg);
    min-width: 200px;
    border-radius: 10px;
    border: 1px solid #1a2b5f;
    box-shadow: 0 0 8px #5874c8;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    z-index: 10;
    padding: .5rem 0
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-content a {
    display: block;
    padding: .75rem 1.5rem;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color .2s ease
}

.dropdown-content a:hover {
    color: var(--accent-blue);
    background: 0
}

.mobile-nav-toggle {
    display: none;
    background: 0;
    border: 0;
    cursor: pointer;
    width: 40px;
    height: 40px
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 30px
}

.hamburger-icon span {
    display: block;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all .3s ease
}

.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    overflow: hidden
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    z-index: 1
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 60, 110, 0.8), rgba(43, 49, 97, 0.6));
    z-index: 2
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 2rem
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: .9
}

.cta-button {
    display: inline-block;
    padding: .75rem 2rem;
    background: var(--accent-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color .3s ease, transform .3s ease
}

.cta-button:hover {
    background: var(--accent-purple);
    transform: translateY(-2px)
}

.section {
    padding: 4rem 0
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: .5rem
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-blue);
    margin: .5rem auto;
    border-radius: 2px
}

.section-subtitle {
    color: #fff;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto
}

.content-box {
    background: #f8fafd;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0), rgba(157, 113, 255, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.content-box:hover {
    box-shadow: var(--shadow-lg)
}

.content-box:hover::before {
    opacity: .1
}

.content-box>* {
    position: relative;
    z-index: 1
}

.about-text,
.criteria-desc,
.timeline-content p,
.award-description p,
.modern-contact-container p,
.judging-intro,
.presentation-format p,
.eligibility-section p {
    text-align: justify;
    text-justify: inter-word
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1)
}

.about-text a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500
}

.about-text a:hover {
    text-decoration: underline
}

.eligibility-container {
    display: grid;
    gap: 1.5rem
}

.eligibility-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease
}

.eligibility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0), rgba(79, 124, 255, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.eligibility-section:hover {
    transform: translateY(-3px)
}

.eligibility-section:hover::before {
    opacity: .1
}

.eligibility-section>* {
    position: relative;
    z-index: 1
}

.eligibility-heading {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600
}

.requirement-intro {
    font-weight: 500;
    margin-bottom: .75rem;
    color: var(--text-dark)
}

.requirements-list {
    list-style: none;
    margin-left: 1rem
}

.requirements-list li {
    position: relative;
    padding: .5rem 0 .5rem 1.5rem;
    color: var(--text-medium)
}

.requirements-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2rem
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto
}

.timeline {
    position: relative;
    border-radius: 12px;
    padding: 1rem
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--gradient-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 3px
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    opacity: 0;
    transition: opacity .5s ease, transform .5s ease
}

.timeline-item.animate {
    opacity: 1
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start
}

.timeline-item:nth-child(even) {
    justify-content: flex-end
}

.timeline-content {
    width: calc(50% - 30px);
    background: #e8f2f5;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-teal);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 225, 161, 0), rgba(37, 196, 243, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.timeline-content:hover {
    transform: translateY(-5px)
}

.timeline-content:hover::before {
    opacity: .1
}

.timeline-content>* {
    position: relative;
    z-index: 1
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    top: 22px;
    left: 50%;
    margin-left: -10px;
    z-index: 1
}

.timeline-date {
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: .5rem
}

.timeline-date.signature {
    font-family: var(--font-signature);
    font-size: 1.5rem;
    color: var(--accent-purple);
    border-bottom: 2px dashed var(--accent-purple);
    display: inline-block;
    padding-bottom: .2rem
}

.timeline-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: .5rem
}

.timeline-item:nth-child(1) .timeline-content {
    border-left-color: var(--accent-blue)
}

.timeline-item:nth-child(2) .timeline-content {
    border-left-color: var(--accent-teal)
}

.timeline-item:nth-child(3) .timeline-content {
    border-left-color: var(--accent-yellow)
}

.timeline-item:nth-child(4) .timeline-content {
    border-left-color: var(--accent-dark-green)
}


.timeline-item:nth-child(5) .timeline-content {
    /* border: 1px solid var(--border-color); */
    border-left-color: var(--accent-purple);
}

.timeline-item:nth-child(5) .timeline-content::before {
    background: linear-gradient(135deg, rgba(157, 113, 255, 0), rgba(255, 91, 105, 0))
}

.timeline-item:nth-child(5) .timeline-content:hover::before {
    opacity: .1
}

.presentation-format {
    background: #eef5fa;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-teal);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden
}

.presentation-format::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 196, 243, 0), rgba(26, 60, 110, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.presentation-format:hover::before {
    opacity: .1
}

.presentation-format>* {
    position: relative;
    z-index: 1
}

.format-heading {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem
}

.format-list {
    list-style: none
}

.format-list li {
    padding: .5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: baseline;
    color: var(--text-medium)
}

.detail-label {
    font-weight: 600
}

.judging-intro {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: var(--text-medium)
}

.criteria-list-container {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto
}

.criteria-item {
    background: #e8f2f5;
    border: 1px solid var(--border-color);
    border-left: 4px solid;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease
}

.criteria-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 91, 105, 0), rgba(26, 60, 110, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.criteria-item:hover {
    transform: translateX(5px)
}

.criteria-item:hover::before {
    opacity: .1
}

.criteria-item>* {
    position: relative;
    z-index: 1
}

.impact {
    border-left-color: var(--accent-red)
}

.presentation {
    border-left-color: var(--accent-teal)
}

.technical {
    border-left-color: var(--accent-yellow)
}

.innovation {
    border-left-color: var(--accent-green)
}

.feasibility {
    border-left-color: var(--accent-blue)
}

.criteria-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem
}

.criteria-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .5rem
}

.criteria-desc {
    color: var(--text-medium);
    font-size: .95rem;
    line-height: 1.5
}

.criteria-percentage {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    background: #fff;
    padding: .3rem .8rem;
    border-radius: 6px;
    border: 1px solid var(--accent-blue)
}

.prize-container {
    background: #fffaf0;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-yellow);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden
}

.prize-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 178, 61, 0), rgba(26, 60, 110, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.prize-container:hover::before {
    opacity: .1
}

.prize-container>* {
    position: relative;
    z-index: 1
}

.award-spotlight {
    display: flex;
    gap: 2rem;
    align-items: center
}

.award-badge {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #f9d423);
    border-radius: 50%;
    box-shadow: var(--shadow-md)
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: .5rem
}

.badge-label {
    font-weight: 600;
    font-size: 1.2rem;
    color: #5d4411
}

.award-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1)
}

.highlight-text {
    color: var(--accent-yellow);
    font-weight: 600
}

.travel-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--accent-blue)
}

.note-icon {
    font-size: 1.5rem
}

.challenges-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch
}

.challenge-card {
    background: #f8fafd;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(157, 113, 255, 0), rgba(255, 91, 105, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.challenge-card:hover {
    transform: translateY(-5px)
}

.challenge-card:hover::before {
    opacity: .1
}

.challenge-card>* {
    position: relative;
    z-index: 1
}

.challenge-accent {
    height: 6px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px
}

.procurement .challenge-accent {
    background: var(--gradient-blue)
}

.sports .challenge-accent {
    background: linear-gradient(90deg, #ff5b69, #ff8e9d)
}

.finance .challenge-accent {
    background: linear-gradient(90deg, #27e1a1, #5df8c3)
}

.infrastructure .challenge-accent {
    background: linear-gradient(90deg, #9d71ff, #b59aff)
}

.modern-contact-container {
    background: #fff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease
}

.modern-contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0), rgba(25, 194, 243, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0
}

.modern-contact-container:hover {
    box-shadow: 0 6px 20px rgba(26, 60, 110, 0.2)
}

.modern-contact-container:hover::before {
    opacity: .1
}

.modern-contact-container>* {
    position: relative;
    z-index: 1
}

.contact-update {
    text-align: center;
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem
}

.contact-timer {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1rem
}

.contact-timer #countdown {
    font-weight: 600;
    color: var(--accent-yellow)
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden
}

.contact-button:hover {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(157, 113, 255, 0.4)
}

.contact-button .button-text {
    transition: transform .3s ease
}

.contact-button:hover .button-text {
    transform: translateX(5px)
}

.contact-button .button-arrow {
    transition: transform .3s ease
}

.contact-button:hover .button-arrow {
    transform: translateX(5px)
}

.contact-button:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.5)
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--card-bg);
    z-index: 1001;
    transition: right .3s ease;
    display: flex;
    flex-direction: column
}

.mobile-nav.active {
    right: 0
}

.mobile-nav-header {
    padding: 1rem;
    background: var(--gradient-blue);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.mobile-header-title {
    font-size: 1.2rem;
    font-weight: 600
}

.mobile-nav-close {
    background: 0;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer
}

.mobile-nav-links {
    list-style: none;
    padding: 1rem;
    flex-grow: 1
}

.mobile-nav-item {
    position: relative
}

.mobile-nav-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: background .3s ease
}

.mobile-nav-item>a:hover {
    background: var(--secondary-bg)
}

.dropdown-toggle {
    position: relative
}

.dropdown-arrow {
    display: inline-block;
    font-size: .9rem;
    transition: transform .3s ease
}

.mobile-nav-item.active .dropdown-arrow {
    transform: rotate(180deg)
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(39, 225, 161, 0.2);
    border: 1px solid rgba(39, 225, 161, 0.2);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(26, 60, 110, 0.1);
    margin: .5rem 0;
    padding: 0 .5rem;
    transition: max-height .3s ease, opacity .3s ease, padding .3s ease
}

.mobile-nav-item.active .mobile-dropdown {
    max-height: 400px;
    opacity: 1;
    padding: .5rem
}

.mobile-dropdown a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(27, 207, 149, 0.3);
    border-radius: 6px;
    transition: background .2s ease, color .2s ease, transform .2s ease
}

.mobile-dropdown a:last-child {
    border-bottom: 0
}

.mobile-dropdown a:hover,
.mobile-dropdown a:focus {
    background: rgba(27, 207, 149, 0.15);
    color: var(--accent-green);
    transform: translateX(5px)
}

.mobile-dropdown a:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px
}

.mobile-nav-settings {
    padding: 1rem;
    background: rgba(26, 31, 54, 0.05);
    border-top: 1px solid var(--border-color)
}

.mobile-language-selector,
.mobile-text-size-selector {
    margin-bottom: .75rem
}

.settings-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: .5rem
}

.mobile-language-selector a,
.mobile-text-size-selector a {
    display: inline-block;
    padding: .5rem .75rem;
    margin-right: .5rem;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: 4px;
    transition: background .3s ease, color .3s ease
}

.mobile-language-selector a.active,
.mobile-text-size-selector a.active {
    color: var(--accent-blue);
    font-weight: 600;
    background: rgba(39, 225, 161, 0.1)
}

.mobile-language-selector a:hover,
.mobile-text-size-selector a:hover {
    background: rgba(39, 225, 161, 0.15);
    color: var(--accent-green)
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000
}

.nav-overlay.active {
    display: block
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.timeline-item:nth-child(odd).animate {
    animation: slideIn .3s ease-out forwards
}

.timeline-item:nth-child(even).animate {
    animation: slideInRight .3s ease-out forwards
}

@media(max-width:992px) {
    .section-title {
        font-size: 2rem
    }

    .hero-title {
        font-size: 2.5rem
    }

    .hero-subtitle {
        font-size: 1.1rem
    }

    .award-spotlight {
        gap: 1.5rem
    }

    .award-badge {
        width: 120px;
        height: 120px
    }

    .badge-icon {
        font-size: 2.5rem
    }

    .badge-label {
        font-size: 1rem
    }
}

@media (max-width:1400px) {
    .mobile-nav-toggle {
        display: block
    }

    .main-nav {
        display: none
    }

    .logo-image {
        height: 40px
    }

    .timeline::before {
        left: 20px
    }

    .timeline-item {
        justify-content: flex-start !important
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px
    }

    .timeline-dot {
        left: 20px
    }

    .award-spotlight {
        flex-direction: column;
        text-align: center
    }

    .travel-note {
        flex-direction: column;
        text-align: center
    }

    .section {
        padding: 3rem 0
    }

    .hero {
        height: 500px
    }
}

@media(max-width:576px) {
    .language-and-accessibility {
        flex-direction: column;
        gap: .5rem
    }

    .logo-image {
        height: 35px
    }

    .challenges-container {
        grid-template-columns: 1fr
    }

    .criteria-header {
        flex-direction: column;
        align-items: flex-start
    }

    .criteria-percentage {
        margin-top: .5rem
    }

    .content-box {
        padding: 1.5rem
    }

    .section-title {
        font-size: 1.8rem
    }

    .hero-title {
        font-size: 2rem
    }

    .hero-overlay {
        font-size: 1rem
    }
}

.timeline-item:nth-child(5) .timeline-dot {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-teal));
    box-shadow: 0 0 10px var(--accent-purple), 0 0 20px var(--accent-teal);
    animation: pulse 2s infinite ease-in-out
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px var(--accent-purple), 0 0 20px var(--accent-teal)
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-teal)
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px var(--accent-purple), 0 0 20px var(--accent-teal)
    }
}

.timeline-item:nth-child(5) .timeline-title {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700
}

.timeline-item:nth-child(5) .timeline-content p {
    font-weight: 500;
    background: 0;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.timeline-item:nth-child(5) .timeline-content ul li {
    position: relative;
    margin: .5rem 0
}

.timeline-item:nth-child(5) .timeline-content ul li::before {
    position: absolute;
    left: 0;
    font-size: 1rem
}

.timeline-item:nth-child(5) .timeline-content ul li:nth-child(1) {
    color: linear-gradient(90deg, var(--accent-purple), var(--accent-red))
}

.timeline-item:nth-child(5) .timeline-content ul li:nth-child(1)::before {
    color: linear-gradient(90deg, var(--accent-purple), var(--accent-red))
}

.content-box p {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1)
}

.footer {
    background-color: var(--dark-bg);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10
}

.footer-text {
    color: var(--text-medium);
    font-size: .9rem;
    margin: 0;
    opacity: .8
}

.footer-text a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500
}

.footer-text a:hover {
    text-decoration: underline
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem
}

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain
}

.footer {
    background-color: var(--secondary-bg);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 2px solid var(--accent-blue);
    box-shadow: 0 -4px 12px rgba(26, 60, 110, 0.1);
    position: relative;
    z-index: 10
}

.footer-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: color .3s ease
}

.footer-text a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600
}

.footer-text a:hover {
    text-decoration: underline;
    color: var(--accent-purple)
}

.footer {
    background-color: var(--secondary-bg);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 2px solid var(--accent-blue);
    box-shadow: 0 -4px 12px rgba(26, 60, 110, 0.1);
    position: relative;
    z-index: 10
}

.footer-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: color .3s ease
}

.footer-text a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600
}

.footer-text a:hover {
    text-decoration: underline;
    color: var(--accent-purple)
}

.footer {
    background-color: var(--accent-blue);
    padding: 1.5rem 0;
    position: relative;
    z-index: 10
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem
}

.footer-text {
    color: #fff;
    text-align: center;
    flex: 1
}

.footer-address {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 .5rem 0
}

.footer-copyright {
    font-size: .9rem;
    font-weight: 400;
    margin: 0
}

.footer-badges {
    display: flex;
    gap: .5rem;
    align-items: center
}

.badge-image {
    height: 30px;
    width: auto;
    object-fit: contain
}

@media(max-width:768px) {
    .footer-content {
        flex-direction: column;
        text-align: center
    }

    .footer-badges {
        margin-top: 1rem
    }
}

.footer {
    background-color: var(--accent-blue);
    padding: 2.5rem 0;
    position: relative;
    z-index: 10
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: 100px
}

.footer-text {
    color: #fff;
    text-align: center;
    flex: 1
}

.footer-address {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 1rem 0
}

.footer-copyright {
    font-size: 1rem;
    font-weight: 400;
    margin: 0
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: center
}

.badge-image {
    height: 35px;
    width: auto;
    object-fit: contain
}

@media(max-width:768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0
    }

    .footer-badges {
        margin-top: 1.5rem;
        flex-direction: row;
        gap: 1rem
    }

    .footer-address {
        margin: 0 0 .75rem 0
    }
}

.footer {
    background-color: var(--accent-blue);
    padding: 2.5rem 0;
    position: relative;
    z-index: 10
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: 100px
}

.footer-text {
    color: #fff;
    text-align: center;
    flex: 1
}

.footer-address {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 1rem 0
}

.footer-copyright {
    font-size: 1rem;
    font-weight: 400;
    margin: 0
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: center
}

.badge-image {
    height: 35px;
    width: auto;
    object-fit: contain
}

@media(max-width:768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0
    }

    .footer-badges {
        margin-top: 1.5rem;
        flex-direction: row;
        gap: 1rem
    }

    .footer-address {
        margin: 0 0 .75rem 0
    }
}

.esport-title {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #25c4f3, 0 0 20px #9d71ff
}

.esport-challenges-box {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(37, 196, 243, 0.3);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch
}

.challenge-card {
    background: rgba(26, 31, 54, 0.85);
    border: 1px solid var(--accent-teal);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(26, 60, 110, 0.2);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    filter: blur(2px)
}

.challenge-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(157, 113, 255, 0.5);
    filter: blur(0)
}

.challenge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 91, 105, 0.2), rgba(37, 196, 243, 0.2));
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1;
    pointer-events: none
}

.challenge-card:hover .challenge-overlay {
    opacity: 1
}

.challenge-accent {
    height: 8px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: height .3s ease
}

.challenge-card:hover .challenge-accent {
    height: 12px
}

.procurement .challenge-accent {
    background: var(--gradient-blue)
}

.sports .challenge-accent {
    background: linear-gradient(90deg, #ff5b69, #ff8e9d)
}

.finance .challenge-accent {
    background: linear-gradient(90deg, #27e1a1, #5df8c3)
}

.infrastructure .challenge-accent {
    background: linear-gradient(90deg, #9d71ff, #b59aff)
}

.challenge-text {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transition: transform .1s ease
}

.challenge-card:hover .challenge-text {
    transform: translateY(-5px)
}

.challenge-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    text-transform: capitalize;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-teal);
    margin-bottom: .75rem;
    transition: text-shadow .1s ease
}

.challenge-card:hover .challenge-text h3 {
    text-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-teal)
}

.challenge-desc {
    color: var(--text-light);
    font-size: .95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease
}

.challenge-card:hover .challenge-desc {
    opacity: 1;
    transform: translateY(0)
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 10px var(--accent-teal)
    }

    50% {
        box-shadow: 0 0 20px var(--accent-purple), 0 0 30px var(--accent-teal)
    }

    100% {
        box-shadow: 0 0 10px var(--accent-teal)
    }
}

.challenge-card:hover {
    animation: neonPulse 1.5s infinite alternate
}

@media(max-width:768px) {
    .challenges-container {
        grid-template-columns: 1fr
    }

    .challenge-text h3 {
        font-size: 1.2rem
    }

    .challenge-desc {
        font-size: .9rem
    }
}

.esport-challenges-box {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(37, 196, 243, 0.3);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    animation: boxPulse 4s infinite ease-in-out
}

@keyframes boxPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 196, 243, 0.3)
    }

    50% {
        box-shadow: 0 0 30px rgba(157, 113, 255, 0.5)
    }
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch
}

.challenge-card {
    background: rgba(26, 31, 54, 0.85);
    border: 1px solid var(--accent-teal);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(26, 60, 110, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    filter: blur(2px);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease
}

.challenge-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(157, 113, 255, 0.5);
    filter: blur(0);
    animation: none
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.challenge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 91, 105, 0.2), rgba(37, 196, 243, 0.2));
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1;
    pointer-events: none
}

.challenge-card:hover .challenge-overlay {
    opacity: 1;
    animation: overlayGlow 1.5s infinite alternate
}

@keyframes overlayGlow {
    0% {
        opacity: .5
    }

    100% {
        opacity: 1
    }
}

.challenge-accent {
    height: 8px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: height .3s ease
}

.challenge-card:hover .challenge-accent {
    height: 12px;
    animation: accentPulse 1s infinite
}

@keyframes accentPulse {

    0%,
    100% {
        transform: scaleX(1)
    }

    50% {
        transform: scaleX(1.05)
    }
}

.procurement .challenge-accent {
    background: var(--gradient-blue)
}

.sports .challenge-accent {
    background: linear-gradient(90deg, #ff5b69, #ff8e9d)
}

.finance .challenge-accent {
    background: linear-gradient(90deg, #27e1a1, #5df8c3)
}

.infrastructure .challenge-accent {
    background: linear-gradient(90deg, #9d71ff, #b59aff)
}

.glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-purple);
    border-radius: 12px;
    opacity: 0;
    transform: rotate(0deg);
    pointer-events: none;
    z-index: 2
}

.challenge-card:hover .glow-line {
    opacity: .7;
    animation: rotateBorder 2s infinite linear
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.challenge-text {
    padding: 1.5rem;
    flex-grow: 1;
    text-align: center;
    z-index: 3;
    transition: transform .3s ease
}

.challenge-card:hover .challenge-text {
    transform: translateY(-5px)
}

.challenge-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-teal);
    margin-bottom: .75rem
}

.challenge-text h3 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease
}

.challenge-card:hover h3 span {
    opacity: 1;
    transform: translateY(0)
}

.challenge-card:hover h3 span:nth-child(1) {
    transition-delay: .1s
}

.challenge-card:hover h3 span:nth-child(2) {
    transition-delay: .2s
}

.challenge-card:hover h3 span:nth-child(3) {
    transition-delay: .3s
}

.challenge-card:hover h3 span:nth-child(5) {
    transition-delay: .4s
}

.challenge-card:hover h3 span:nth-child(5) {
    transition-delay: .5s
}

.challenge-card:hover h3 span:nth-child(6) {
    transition-delay: .6s
}

.challenge-card:hover h3 span:nth-child(7) {
    transition-delay: .7s
}

.challenge-card:hover .challenge-text h3 {
    text-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-teal)
}

.challenge-desc {
    color: var(--text-light);
    font-size: .95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease
}

.challenge-card:hover .challenge-desc {
    opacity: 1;
    transform: translateY(0);
    animation: textFlicker .5s ease-in-out
}

@keyframes textFlicker {
    0% {
        opacity: .2
    }

    20% {
        opacity: .8
    }

    40% {
        opacity: .3
    }

    60% {
        opacity: 1
    }

    100% {
        opacity: 1
    }
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 10px var(--accent-teal)
    }

    50% {
        box-shadow: 0 0 20px var(--accent-purple), 0 0 30px var(--accent-teal)
    }

    100% {
        box-shadow: 0 0 10px var(--accent-teal)
    }
}

.challenge-card:hover {
    animation: neonPulse 1.5s infinite alternate
}

@media(max-width:768px) {
    .challenges-container {
        grid-template-columns: 1fr
    }

    .challenge-text h3 {
        font-size: 1.2rem
    }

    .challenge-desc {
        font-size: .9rem
    }
}

.esport-challenges-box {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(37, 196, 243, 0.3);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    animation: boxPulse 4s infinite ease-in-out
}

@keyframes boxPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 196, 243, 0.3)
    }

    50% {
        box-shadow: 0 0 30px rgba(157, 113, 255, 0.5)
    }
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch
}

.challenge-card {
    background: rgba(26, 31, 54, 0.85);
    border: 1px solid var(--accent-teal);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(26, 60, 110, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    filter: blur(2px);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease
}

.challenge-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(157, 113, 255, 0.5);
    filter: blur(0);
    animation: none
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.challenge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 91, 105, 0.2), rgba(37, 196, 243, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 1;
    pointer-events: none
}

.challenge-card:hover .challenge-overlay {
    opacity: 0
}

.challenge-desc {
    color: var(--text-light);
    font-size: .95rem;
    text-align: center;
    padding: 1rem;
    opacity: 1
}

.challenge-accent {
    height: 8px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: height .3s ease
}

.challenge-card:hover .challenge-accent {
    height: 12px;
    animation: accentPulse 1s infinite
}

@keyframes accentPulse {

    0%,
    100% {
        transform: scaleX(1)
    }

    50% {
        transform: scaleX(1.05)
    }
}

.procurement .challenge-accent {
    background: var(--gradient-blue)
}

.sports .challenge-accent {
    background: linear-gradient(90deg, #ff5b69, #ff8e9d)
}

.finance .challenge-accent {
    background: linear-gradient(90deg, #27e1a1, #5df8c3)
}

.infrastructure .challenge-accent {
    background: linear-gradient(90deg, #9d71ff, #b59aff)
}

.glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-purple);
    border-radius: 12px;
    opacity: 0;
    transform: rotate(0deg);
    pointer-events: none;
    z-index: 2
}

.challenge-card:hover .glow-line {
    opacity: .7;
    animation: rotateBorder 2s infinite linear
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.challenge-text {
    padding: 1.5rem;
    flex-grow: 1;
    text-align: center;
    z-index: 3;
    transition: transform .3s ease
}

.challenge-card:hover .challenge-text {
    transform: translateY(-5px)
}

.challenge-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-teal);
    margin-top: .8rem;
    margin-bottom: .75rem
}

.challenge-text h3 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease
}

.challenge-card:hover h3 span {
    opacity: 1;
    transform: translateY(0)
}

.challenge-card:hover h3 span:nth-child(1) {
    transition-delay: .1s
}

.challenge-card:hover h3 span:nth-child(2) {
    transition-delay: .2s
}

.challenge-card:hover h3 span:nth-child(3) {
    transition-delay: .3s
}

.challenge-card:hover h3 span:nth-child(5) {
    transition-delay: .4s
}

.challenge-card:hover h3 span:nth-child(5) {
    transition-delay: .5s
}

.challenge-card:hover h3 span:nth-child(6) {
    transition-delay: .6s
}

.challenge-card:hover h3 span:nth-child(7) {
    transition-delay: .7s
}

.challenge-card:hover .challenge-text h3 {
    text-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-teal)
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 10px var(--accent-teal)
    }

    50% {
        box-shadow: 0 0 20px var(--accent-purple), 0 0 30px var(--accent-teal)
    }

    100% {
        box-shadow: 0 0 10px var(--accent-teal)
    }
}

.challenge-card:hover {
    animation: neonPulse 1.5s infinite alternate
}

@media(max-width:768px) {
    .challenges-container {
        grid-template-columns: 1fr
    }

    .challenge-text h3 {
        font-size: 1.2rem
    }

    .challenge-desc {
        font-size: .9rem
    }
}

.esport-challenges-box {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(37, 196, 243, 0.3);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    animation: boxPulse 4s infinite ease-in-out
}

@keyframes boxPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 196, 243, 0.3)
    }

    50% {
        box-shadow: 0 0 30px rgba(157, 113, 255, 0.5)
    }
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch
}

.challenge-card {
    background: rgba(26, 31, 54, 0.85);
    border: 1px solid var(--accent-teal);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(26, 60, 110, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    filter: blur(2px);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease
}

.challenge-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(157, 113, 255, 0.5);
    filter: blur(0);
    animation: none
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.challenge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 91, 105, 0.2), rgba(37, 196, 243, 0.2));
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 1;
    pointer-events: none
}

.challenge-card:hover .challenge-overlay {
    opacity: 0
}

.challenge-overlay::before {
    content: attr(data-desc);
    color: var(--text-light);
    font-size: .95rem;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 1rem;
    opacity: 1;
    transition: opacity .3s ease
}

.challenge-card:hover .challenge-overlay::before {
    opacity: 0
}

.challenge-accent {
    height: 8px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: height .3s ease
}

.challenge-card:hover .challenge-accent {
    height: 12px;
    animation: accentPulse 1s infinite
}

@keyframes accentPulse {

    0%,
    100% {
        transform: scaleX(1)
    }

    50% {
        transform: scaleX(1.05)
    }
}

.procurement .challenge-accent {
    background: var(--gradient-blue)
}

.sports .challenge-accent {
    background: linear-gradient(90deg, #ff5b69, #ff8e9d)
}

.finance .challenge-accent {
    background: linear-gradient(90deg, #27e1a1, #5df8c3)
}

.infrastructure .challenge-accent {
    background: linear-gradient(90deg, #9d71ff, #b59aff)
}

.glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-purple);
    border-radius: 12px;
    opacity: 0;
    transform: rotate(0deg);
    pointer-events: none;
    z-index: 2
}

.challenge-card:hover .glow-line {
    opacity: .7;
    animation: rotateBorder 2s infinite linear
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.challenge-text {
    padding: 1.5rem;
    flex-grow: 1;
    text-align: center;
    z-index: 3;
    transition: transform .3s ease
}

.challenge-card:hover .challenge-text {
    transform: translateY(-5px)
}

.challenge-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-teal);
    margin-bottom: .75rem
}

.challenge-text h3 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease
}

.challenge-card:hover h3 span {
    opacity: 1;
    transform: translateY(0)
}

.challenge-card:hover h3 span:nth-child(1) {
    transition-delay: .1s
}

.challenge-card:hover h3 span:nth-child(2) {
    transition-delay: .2s
}

.challenge-card:hover h3 span:nth-child(3) {
    transition-delay: .3s
}

.challenge-card:hover h3 span:nth-child(5) {
    transition-delay: .4s
}

.challenge-card:hover h3 span:nth-child(5) {
    transition-delay: .5s
}

.challenge-card:hover h3 span:nth-child(6) {
    transition-delay: .6s
}

.challenge-card:hover h3 span:nth-child(7) {
    transition-delay: .7s
}

.challenge-card:hover .challenge-text h3 {
    text-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-teal)
}

.challenge-desc {
    color: var(--text-light);
    font-size: .95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease
}

.challenge-card:hover .challenge-desc {
    opacity: 1;
    transform: translateY(0);
    animation: textFlicker .5s ease-in-out
}

@keyframes textFlicker {
    0% {
        opacity: .2
    }

    20% {
        opacity: .8
    }

    40% {
        opacity: .3
    }

    60% {
        opacity: 1
    }

    100% {
        opacity: 1
    }
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 10px var(--accent-teal)
    }

    50% {
        box-shadow: 0 0 20px var(--accent-purple), 0 0 30px var(--accent-teal)
    }

    100% {
        box-shadow: 0 0 10px var(--accent-teal)
    }
}

.challenge-card:hover {
    animation: neonPulse 1.5s infinite alternate
}

@media(max-width:768px) {
    .challenges-container {
        grid-template-columns: 1fr
    }

    .challenge-text h3 {
        font-size: 1.2rem
    }

    .challenge-desc {
        font-size: .9rem
    }
}

.challenge-overlay::before {
    content: attr(data-desc);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    z-index: 2;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7)
}

.challenge-card:hover .challenge-overlay::before {
    opacity: 0
}

.challenge-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(26, 31, 54, 0.8);
    color: var(--accent-teal);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: .4rem .6rem;
    border-radius: 8px;
    z-index: 5;
    box-shadow: 0 0 10px rgba(37, 196, 243, 0.5);
    border: 1px solid var(--accent-teal);
    text-shadow: 0 0 5px var(--accent-teal);
    transform: translateY(-50%);
    opacity: .9;
    transition: all .3s ease
}

.challenge-card:hover .challenge-number {
    background: rgba(26, 31, 54, 0.95);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-teal);
    text-shadow: 0 0 10px var(--accent-purple), 0 0 15px var(--accent-teal);
    transform: translateY(-50%) scale(1.1);
    opacity: 1
}

.procurement .challenge-number {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    text-shadow: 0 0 5px var(--accent-blue)
}

.sports .challenge-number {
    border-color: var(--accent-red);
    color: var(--accent-red);
    text-shadow: 0 0 5px var(--accent-red)
}

.finance .challenge-number {
    border-color: var(--accent-green);
    color: var(--accent-green);
    text-shadow: 0 0 5px var(--accent-green)
}

.infrastructure .challenge-number {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    text-shadow: 0 0 5px var(--accent-purple)
}

.challenge-card:hover .challenge-number {
    animation: numberPulse 1.5s infinite alternate
}

@keyframes numberPulse {
    0% {
        text-shadow: 0 0 5px currentColor
    }

    100% {
        text-shadow: 0 0 15px currentColor, 0 0 25px currentColor
    }
}

.challenge-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(26, 31, 54, 0.8);
    color: var(--accent-teal);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: .4rem .6rem;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 0 10px rgba(37, 196, 243, 0.5);
    border: 1px solid var(--accent-teal);
    text-shadow: 0 0 5px var(--accent-teal);
    transform: translateY(-50%);
    opacity: .9;
    transition: all .3s ease;
    filter: blur(0) !important
}

.challenge-card .challenge-number {
    filter: blur(0) !important
}

.challenge-card:hover .challenge-number,
.challenge-card:not(:hover) .challenge-number {
    filter: blur(0) !important
}

.challenge-card:hover .challenge-number {
    background: rgba(26, 31, 54, 0.95);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-teal);
    text-shadow: 0 0 10px var(--accent-purple), 0 0 15px var(--accent-teal);
    transform: translateY(-50%) scale(1.1);
    opacity: 1
}

.procurement .challenge-number {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    text-shadow: 0 0 5px var(--accent-blue)
}

.sports .challenge-number {
    border-color: var(--accent-red);
    color: var(--accent-red);
    text-shadow: 0 0 5px var(--accent-red)
}

.finance .challenge-number {
    border-color: var(--accent-green);
    color: var(--accent-green);
    text-shadow: 0 0 5px var(--accent-green)
}

.infrastructure .challenge-number {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    text-shadow: 0 0 5px var(--accent-purple)
}

.challenge-card:hover .challenge-number {
    animation: numberPulse 1.5s infinite alternate
}

@keyframes numberPulse {
    0% {
        text-shadow: 0 0 5px currentColor
    }

    100% {
        text-shadow: 0 0 15px currentColor, 0 0 25px currentColor
    }
}

.challenge-wrapper {
    position: relative;
    width: 100%
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch
}

.challenge-card {
    background: rgba(26, 31, 54, 0.85);
    border: 1px solid var(--accent-teal);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(26, 60, 110, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    filter: blur(2px);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
    height: 100%;
    width: 100%
}

.challenge-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(26, 31, 54, 0.95);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: .4rem .6rem;
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0 0 10px rgba(37, 196, 243, 0.5);
    border-width: 1px;
    border-style: solid;
    text-shadow: 0 0 5px;
    filter: none !important;
    transform: translateY(-50%);
    opacity: .95;
    transition: all .3s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none
}

.blue-number {
    border-color: var(--accent-light-blue);
    color: var(--accent-light-blue);
    text-shadow: 0 0 5px var(--accent-light-blue)
}

.red-number {
    border-color: var(--accent-light-red);
    color: var(--accent-light-red);
    text-shadow: 0 0 5px var(--accent-light-red)
}

.green-number {
    border-color: var(--accent-green);
    color: var(--accent-green);
    text-shadow: 0 0 5px var(--accent-green)
}

.purple-number {
    border-color: var(--accent-light-purple);
    color: var(--accent-light-purple);
    text-shadow: 0 0 5px var(--accent-light-purple)
}

.challenge-wrapper:hover .challenge-number {
    color: #fff;
    box-shadow: 0 0 15px currentColor, 0 0 25px currentColor;
    text-shadow: 0 0 10px currentColor, 0 0 15px currentColor;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    animation: numberPulse 1.5s infinite alternate
}

@keyframes numberPulse {
    0% {
        text-shadow: 0 0 5px currentColor
    }

    100% {
        text-shadow: 0 0 15px currentColor, 0 0 25px currentColor
    }
}

.challenge-wrapper:hover .challenge-card {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(157, 113, 255, 0.5);
    filter: blur(0);
    animation: none
}

.special-awards-container {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 31, 54, 0.9), rgba(43, 49, 97, 0.7));
    border: 2px solid var(--accent-blue);
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(37, 196, 243, 0.3);
    position: relative;
    overflow: hidden;
    animation: boxPulse 4s infinite ease-in-out
}

.special-awards-title {
    font-size: 2rem;
    text-shadow: 0 0 10px var(--accent-teal), 0 0 20px var(--accent-purple)
}

.special-awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem
}

.special-award-card {
    background: rgba(248, 250, 253, 0.95);
    border: 1px solid var(--accent-teal);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: var(--shadow-md)
}

.special-award-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(157, 113, 255, 0.5)
}

.special-award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(37, 196, 243, 0.1), rgba(157, 113, 255, 0.1));
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 0
}

.special-award-card:hover::before {
    opacity: 1
}

.special-award-card>* {
    position: relative;
    z-index: 1
}

.presentation-award {
    border-left: 4px solid var(--accent-teal)
}

.innovation-award {
    border-left: 4px solid var(--accent-green)
}

.prototype-award {
    border-left: 4px solid var(--accent-yellow)
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--accent-teal);
    transition: transform .3s ease
}

.special-award-card:hover .award-icon {
    transform: scale(1.2)
}

.special-award-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .75rem;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.special-award-desc {
    color: var(--text-medium);
    font-size: .95rem;
    line-height: 1.6;
    text-align: justify
}

@keyframes boxPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 196, 243, 0.3)
    }

    50% {
        box-shadow: 0 0 30px rgba(157, 113, 255, 0.5)
    }
}

@media(max-width:768px) {
    .special-awards-grid {
        grid-template-columns: 1fr
    }

    .special-award-title {
        font-size: 1.2rem
    }

    .award-icon {
        font-size: 2.5rem
    }
}

.compact-special-awards {
    margin-top: 2rem;
    padding: 1rem
}

.special-awards-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 5px var(--accent-teal)
}

.special-awards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between
}

.special-award-item {
    flex: 1;
    min-width: 200px;
    padding: .75rem;
    background: linear-gradient(135deg, rgba(26, 31, 54, 0.9), rgba(43, 49, 97, 0.7));
    border-radius: 6px;
    border-left: 3px solid;
    transition: transform .3s ease, box-shadow .3s ease
}

.special-award-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(26, 60, 110, 0.2)
}

.special-award-item .presentation-label {
    border-left-color: var(--accent-teal);
    color: var(--accent-red)
}

.special-award-item .innovation-label {
    border-left-color: var(--accent-green);
    color: var(--accent-dark-green)
}

.special-award-item .prototype-label {
    border-left-color: var(--accent-yellow);
    color: var(--accent-purple)
}

.award-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
    display: block;
    margin-bottom: .25rem
}

.award-detail {
    font-size: .9rem;
    text-align: justify;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.4
}

@media(max-width:768px) {
    .special-awards-list {
        flex-direction: column;
        gap: .75rem
    }

    .special-award-item {
        min-width: 100%
    }

    .special-awards-title {
        font-size: 1.5rem
    }
}

.education .challenge-accent {
    background: linear-gradient(90deg, #ffb23d, #ffd700)
}

.yellow-number {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--accent-yellow)
}

.compact-special-awards {
    margin-top: 2rem;
    padding: 1rem
}

.special-awards-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 5px var(--accent-teal)
}

.special-awards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between
}

.special-award-item {
    flex: 1;
    min-width: 200px;
    padding: .75rem;
    background: linear-gradient(135deg, rgba(26, 31, 54, 0.9), rgba(43, 49, 97, 0.7));
    border-radius: 6px;
    border-left: 3px solid;
    transition: transform .3s ease, box-shadow .3s ease
}

.special-award-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(26, 60, 110, 0.2)
}

.special-award-item .presentation-label {
    border-left-color: var(--accent-teal);
    color: var(--accent-teal)
}

.special-award-item .innovation-label {
    border-left-color: var(--accent-green);
    color: var(--accent-green)
}

.special-award-item .prototype-label {
    border-left-color: var(--accent-yellow);
    color: var(--accent-yellow)
}

.award-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
    display: block;
    margin-bottom: .25rem
}

.award-detail {
    font-size: .9rem;
    color: #fff;
    margin: 0;
    line-height: 1.4
}

@media(max-width:768px) {
    .special-awards-list {
        flex-direction: column;
        gap: .75rem
    }

    .special-award-item {
        min-width: 100%
    }

    .special-awards-title {
        font-size: 1.5rem
    }
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
    padding: 0 1rem
}

@media(max-width:1400px) {
    .challenges-container {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:992px) {
    .challenges-container {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:576px) {
    .challenges-container {
        grid-template-columns: 1fr
    }
}

.challenge-card {
    min-height: 180px;
    width: 100%
}

.challenge-text {
    padding: 1rem
}

.challenge-text h3 {
    font-size: 1rem;
    line-height: 1.3
}

.partner-section {
    text-align: center;
    margin-bottom: 3rem
}



.partner-logo-container {
    display: flex;
    justify-content: center;
    align-items: center
}

.partner-logo {
    max-width: 100%;
    height: auto
}

.institute-logo {
    max-width: 250px;
    border: 3px solid var(--accent-blue);
    border-radius: 10px;
    padding: .75rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3)
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto
}

.partner-logo-wrapper {
    border: 3px solid var(--accent-blue);
    border-radius: 10px;
    padding: .75rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3)
}

.partner-logo-wrapper.double-column {
    grid-column: span 2
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 650px;
    margin: 0 auto;
    grid-auto-flow: dense
}

.partner-logo-wrapper.double-column {
    grid-column: span 2
}

.partner-logo-wrapper {
    border: 3px solid var(--accent-blue);
    border-radius: 10px;
    padding: .75rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center
}

@media(max-width:559px) {
    .partner-grid {
        grid-template-columns: 1fr
    }

    .partner-logo-wrapper.double-column {
        grid-column: span 1
    }
}

.partner-logo {
    max-width: 100%;
    height: auto
}

.partner-section {
    text-align: center;
    margin-bottom: 3rem
}



.partner-section {
    text-align: center;
    margin-bottom: 3rem
}



.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 650px;
    margin: 0 auto;
    grid-auto-flow: dense
}

.partner-logo-wrapper.double-column {
    grid-column: span 2
}

.partner-logo-wrapper {
    border: 3px solid var(--accent-blue);
    border-radius: 10px;
    padding: .75rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center
}

@media(max-width:559px) {
    .partner-grid {
        grid-template-columns: 1fr
    }

    .partner-logo-wrapper.double-column {
        grid-column: span 1
    }

    .partner-section:nth-child(1) .partner-logo {
        width: 250px;
        height: 200px;
        object-fit: contain
    }
}

.partner-logo {
    max-width: 100%;
    height: auto
}

.partner-section:nth-child(2) .partner-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    justify-items: center
}

.partner-section:nth-child(2) .partner-logo-wrapper {
    width: 250px;
    max-width: 100%
}

.partner-section:nth-child(2) .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    justify-items: center
}

.partner-section:nth-child(2) .partner-logo-wrapper {
    width: 250px;
    max-width: 100%
}

@media(max-width:768px) {
    .partner-section:nth-child(2) .partner-grid {
        grid-template-columns: 1fr
    }
}

.partner-section:nth-child(2) .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    justify-items: center
}

.partner-section:nth-child(2) .partner-logo-wrapper {
    width: 300px;
    max-width: 100%
}

@media(max-width:768px) {
    .partner-section:nth-child(2) .partner-grid {
        grid-template-columns: 1fr
    }
}

.partner-section:nth-child(2) .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    justify-items: center;
    width: 100%
}

.partner-section:nth-child(2) .partner-logo-wrapper {
    width: 350px;
    max-width: 100%;
    box-sizing: border-box
}

@media(max-width:768px) {
    .partner-section:nth-child(2) .partner-grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 10px
    }

    .partner-section:nth-child(2) .partner-logo-wrapper {
        width: 100%;
        max-width: 350px;
        margin: 0 auto
    }

    .partner-section:nth-child(2) .partner-logo {
        width: 100%;
        max-width: 350px;
        height: auto
    }
}

.partner-section {
    text-align: center;
    margin-bottom: 3rem
}

.partner-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
    padding: 0rem 1rem;
    border-radius: 5px
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    grid-auto-flow: dense;
}

.partner-logo-wrapper.double-column {
    grid-column: span 2
}

.partner-logo-wrapper {
    border: 3px solid var(--accent-blue);
    border-radius: 10px;
    padding: .75rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center
}

@media(max-width:559px) {
    .partner-grid {
        grid-template-columns: 1fr
    }

    .partner-logo-wrapper {
        padding: .1rem;
    }

    .partner-logo-wrapper.double-column {
        grid-column: span 1
    }
}

.partner-section:nth-child(2) .partner-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    justify-content: center;
}

.partner-section:nth-child(2) .partner-logo-wrapper {
    grid-column: span 4;
    width: 300px;
    max-width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center
}

.partner-section:nth-child(2) .partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

@media(max-width:768px) {
    .partner-section:nth-child(2) .partner-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 10px
    }

    .partner-section:nth-child(2) .partner-logo-wrapper {
        grid-column: span 1;
        width: 100%;
        max-width: 350px;
        height: auto
    }

    .partner-section:nth-child(2) .partner-logo {
        width: 100%;
        max-height: 200px
    }
}

.partner-section:nth-child(2) .partner-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
    /* Center the row within the container */
    justify-items: center;
    /* Center items horizontally within their grid cells */
    display: flex;
    /* Ensure flex properties apply for centering */
    flex-wrap: wrap;
    /* Allow wrapping for responsiveness */
}

.partner-section:nth-child(2) .partner-logo-wrapper {
    grid-column: span 6;
    width: 300px;
    max-width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-section:nth-child(2) .partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

@media(max-width:768px) {
    .partner-section:nth-child(2) .partner-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 10px;
        justify-content: center;
        /* Center the single column */
    }

    .partner-section:nth-child(2) .partner-logo-wrapper {
        grid-column: span 1;
        width: 100%;
        max-width: 400px;
        height: 100px;
    }

    .partner-section:nth-child(2) .partner-logo {
        width: 100%;
        max-height: 250px
    }

    .hero-image {
        object-fit: initial;
    }
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(26, 60, 110, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(221, 229, 247, 0.5);
}



.news-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.2rem;
}

.news-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue);
    opacity: 0.9;
}

.news-link {
    display: inline-block;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.news-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: var(--gradient-blue);
}

.news-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: var(--gradient-blue);
}

/* Animation for cards */
.news-card {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}



/* Enhanced shadows and highlights */
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .news-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .news-image-container {
        height: auto !important;
        min-height: unset !important;
        max-height: 300px;
    }

    .news-image.responsive-news-img {
        height: auto !important;
        max-height: 300px !important;
        width: 100% !important;
        object-fit: contain !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Default news-excerpt size (normal) */
.news-excerpt {
    font-size: 1rem;
    transition: font-size 0.3s;
}

/* When small text size is active */
.text-size-small.active~.news-grid .news-excerpt,
.text-size-small.active~.section .news-excerpt,
body.text-size-small .news-excerpt {
    font-size: 0.9rem;
}

/* When normal text size is active */
.text-size-normal.active~.news-grid .news-excerpt,
.text-size-normal.active~.section .news-excerpt,
body.text-size-normal .news-excerpt {
    font-size: 1rem;
}

/* When large text size is active */
.text-size-large.active~.news-grid .news-excerpt,
.text-size-large.active~.section .news-excerpt,
body.text-size-large .news-excerpt {
    font-size: 1.2rem;
}

/* Special Weather Alert Modal */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    width: 90%;
    max-width: 500px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-blue);
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: block;
}

.modal-content {
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-ok {
    display: block;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-ok:hover {
    background: var(--accent-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 1.5rem;
    }
}


.compact-special-awards {
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.audience-favorite-award {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-favorite-award:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.award-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
    text-align: center;
}

.award-content {
    flex: 1;
}

.award-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1976D2;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.award-description {
    margin: 0;
    color: #424242;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .audience-favorite-award {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .award-icon {
        font-size: 2rem;
        min-width: auto;
    }

    .award-title {
        font-size: 1.2rem;
    }

    .award-description {
        font-size: 0.95rem;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    position: relative;
    background: #000;
    padding: 0;
    border-radius: 8px;
    width: 70vw;
    max-width: 560px;
    height: 40vw;
    max-height: 315px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content iframe {
    border-radius: 8px;
    border: none;
    width: 100%;
    height: 100%;
    background: #000;
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

#close-popup-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(30, 30, 30, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#close-popup-btn:hover,
#close-popup-btn:focus {
    background: #e74c3c;
    outline: none;
}

@media (max-width: 600px) {
    .popup-content {
        width: 90vw;
        max-width: 100%;
        height: 56vw;
        max-height: 240px;
        padding: 0;
    }

    .popup-content iframe {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 240px;
    }

    #close-popup-btn {
        top: 6px;
        right: 6px;
    }
}


/* ...previous styles... */

.popup-content {
    position: relative;
    background: #000;
    padding: 0;
    border-radius: 8px;
    width: 90vw;
    /* Changed from 70vw to 90vw */
    max-width: 960px;
    /* Changed from 560px to 960px */
    height: 56vw;
    /* Changed from 40vw to 56vw (16:9 ratio for larger window) */
    max-height: 540px;
    /* Changed from 315px to 540px */
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content iframe {
    border-radius: 8px;
    border: none;
    width: 100%;
    height: 100%;
    background: #000;
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Make close button larger for bigger popup */
#close-popup-btn {
    position: absolute;
    top: 20px;
    /* Increased from 14px */
    right: 20px;
    /* Increased from 14px */
    width: 48px;
    /* Increased from 36px */
    height: 48px;
    /* Increased from 36px */
    background: rgba(30, 30, 30, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    /* Increased from 1.5rem */
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#close-popup-btn:hover,
#close-popup-btn:focus {
    background: #e74c3c;
    outline: none;
}

@media (max-width: 1100px) {
    .popup-content {
        width: 98vw;
        max-width: 100vw;
        height: 60vw;
        max-height: 400px;
    }
}

@media (max-width: 600px) {
    .popup-content {
        width: 98vw;
        max-width: 100%;
        height: 56vw;
        max-height: 240px;
        padding: 0;
    }

    .popup-content iframe {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 240px;
    }

    #close-popup-btn {
        top: 6px;
        right: 6px;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
}

.hackathon-week-hero {
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f35 50%, #0f1419 100%);
    color: #00eaff;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hackathon-week-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(0, 234, 255, 0.1) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent 0px, rgba(0, 234, 255, 0.03) 1px, transparent 2px);
    pointer-events: none;
}

.hackathon-week-hero h1 {
    font-family: 'Orbitron', 'Poppins', sans-serif;
    font-size: 2.5rem;
    /* or 2rem or 1.6rem below */
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(0, 234, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* Responsive changes */
@media (max-width: 768px) {
    .hackathon-week-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hackathon-week-hero h1 {
        font-size: 1.6rem;
    }
}

/* Video thumbnail with simple play button overlay */
.gallery-item.video-item {
    position: relative;
}

.gallery-item.video-item::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(43, 199, 251, 0.85);
    border-radius: 50%;
    pointer-events: none;
    transition: background 0.25s, transform 0.25s;
    box-shadow: 0 2px 15px rgba(43, 199, 251, 0.3);
}

.gallery-item.video-item::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-38%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.25s;
}

.gallery-item.video-item:hover::after {
    background: rgba(43, 199, 251, 0.95);
    transform: translate(-50%, -50%) scale(1.08);
}

.gallery-item.video-item:hover::before {
    transform: translate(-36%, -50%) scale(1.08);
}

@media (max-width: 600px) {
    .gallery-item.video-item::after {
        width: 55px;
        height: 55px;
        top: 35%;
    }

    .gallery-item.video-item::before {
        border-width: 12px 0 12px 20px;
        top: 35%;
    }
}


/* Success Announcement - Prize-like Style with Different Colors */
#success-announcement .success-spotlight {
    background: #f0f8ff;
    border: 1px solid var(--border-color);
    border-left: 4px solid #4d96ff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

#success-announcement .success-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 150, 255, 0), rgba(107, 207, 127, 0));
    z-index: 0;
    transition: opacity .3s ease;
    opacity: 0;
}

#success-announcement .success-spotlight:hover::before {
    opacity: .1;
}

#success-announcement .success-spotlight>* {
    position: relative;
    z-index: 1;
}

#success-announcement .success-icon-badge {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4d96ff, #6bcf7f);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

#success-announcement .badge-circle {
    font-size: 3rem;
    margin-bottom: .5rem;
}

#success-announcement .success-description {
    flex: 1;
}

#success-announcement .success-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

#success-announcement .success-links {
    text-align: center;
    margin: 1.5rem 0;
}

#success-announcement .success-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #4d96ff, #6bcf7f);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all .3s ease;
    box-shadow: 0 3px 12px rgba(77, 150, 255, 0.3);
}

#success-announcement .success-button:hover {
    background: linear-gradient(135deg, #3d86ef, #5bbf6f);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(77, 150, 255, 0.4);
}

#success-announcement .success-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #6bcf7f;
    margin-top: 1.5rem;
}

#success-announcement .note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

#success-announcement .contact-link {
    color: #4d96ff;
    text-decoration: none;
    font-weight: 600;
    transition: color .3s ease;
}

#success-announcement .contact-link:hover {
    color: #6bcf7f;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    #success-announcement .success-spotlight {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    #success-announcement .success-icon-badge {
        width: 120px;
        height: 120px;
    }

    #success-announcement .badge-circle {
        font-size: 2.5rem;
    }

    #success-announcement .success-note {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 576px) {
    #success-announcement .success-icon-badge {
        width: 100px;
        height: 100px;
    }

    #success-announcement .badge-circle {
        font-size: 2rem;
    }

    #success-announcement .success-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===========================
   InTECHgrity Framework Page
   =========================== */

.framework-page header {
    background: var(--card-bg);
}

.fw-hero {
    background: linear-gradient(135deg, #121626 0%, #1a2444 50%, #10162a 100%);
    border-bottom: 1px solid rgba(37, 196, 243, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.fw-hero-inner {
    padding: 2.2rem 0 1.25rem;
}

.fw-hero-title {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    /* text-transform: uppercase; */
    letter-spacing: 3px;
    font-size: 2.2rem;
    margin: 0 0 1rem;
    text-shadow: 0 0 12px rgba(37, 196, 243, 0.35);
}

.fw-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.fw-tab {
    appearance: none;
    border: 1px solid rgba(37, 196, 243, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: #cfefff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
}

.fw-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 196, 243, 0.55);
    box-shadow: 0 0 20px rgba(37, 196, 243, 0.12);
}

.fw-tab.active {
    background: linear-gradient(135deg, rgba(37, 196, 243, 0.25), rgba(157, 113, 255, 0.18));
    border-color: rgba(37, 196, 243, 0.65);
    color: #fff;
    box-shadow: 0 0 30px rgba(37, 196, 243, 0.16);
}

.fw-stage {
    padding: 2.25rem 0 3rem;
}

.fw-panel {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(26, 60, 110, 0.15);
    box-shadow: 0 18px 55px rgba(26, 60, 110, 0.18);
    overflow: hidden;
    position: relative;
}

.fw-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 196, 243, 0.08), transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(157, 113, 255, 0.08), transparent 48%),
        radial-gradient(circle at 30% 90%, rgba(39, 225, 161, 0.06), transparent 45%);
    pointer-events: none;
}

.fw-view {
    display: none;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.fw-view.active {
    display: block;
}

.fw-about {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 2.2rem;
    align-items: start;
}

.fw-wheel {
    width: 100%;
    height: auto;
    border-radius: 14px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.10); */
    /* background: #fff; */
}

.fw-lead {
    color: #1a2036;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0 0 1.2rem;
    text-align: justify;
}

.fw-h2 {
    color: #142a54;
    font-size: 1.55rem;
    margin: 0 0 0.25rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.fw-subhead {
    margin: 0 0 0.75rem;
    color: #1a3c6e;
}

.fw-body {
    margin: 0 0 1.1rem;
    color: #2a3556;
    line-height: 1.75;
    font-size: 1.05rem;
}

.fw-instruction {
    color: #0f2e5b;
    font-weight: 700;
    margin: 1.2rem 0 1rem;
}

.fw-icon-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(100px, 1fr));
    gap: 0.9rem;
    align-items: stretch;
}

.fw-icon-card {
    border: 1px solid rgba(26, 60, 110, 0.14);
    background: #ffffff;
    border-radius: 14px;
    padding: 0.9rem 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    text-align: center;
}

.fw-icon-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(157, 113, 255, 0.18));
}

.fw-icon-card span {
    font-size: 0.85rem;
    color: #182748;
    font-weight: 700;
    line-height: 1.2;
}

.fw-icon-card:hover {
    transform: translateY(-2px);
    border-color: rgba(157, 113, 255, 0.35);
    box-shadow: 0 12px 30px rgba(26, 60, 110, 0.12);
}

.fw-hint {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 196, 243, 0.08), rgba(157, 113, 255, 0.08));
    border: 1px solid rgba(26, 60, 110, 0.10);
    color: #1a2b5f;
    font-weight: 600;
}

.fw-detail {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 2rem;
    align-items: start;
}

.fw-detail-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
    padding: 0.75rem;
}

.fw-detail-titlebar {
    margin-bottom: 0.9rem;
}

.fw-detail-title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.55rem;
    color: #132a57;
    letter-spacing: 1px;
}

.fw-detail-title span {
    font-family: var(--font-main);
    font-weight: 700;
    color: rgba(19, 42, 87, 0.65);
    font-size: 1.05rem;
}

.fw-table {
    border: 2px solid rgba(19, 42, 87, 0.75);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.fw-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    border-bottom: 2px solid rgba(19, 42, 87, 0.75);
}

.fw-row:last-child {
    border-bottom: 0;
}

.fw-th {
    padding: 1rem 1rem;
    background: rgba(246, 249, 255, 0.9);
    font-weight: 800;
    color: #0f2e5b;
    border-right: 2px solid rgba(19, 42, 87, 0.75);
}

.fw-th-sub {
    font-weight: 600;
    /* font-style: italic; */
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

.fw-td {
    padding: 1rem 1rem;
    color: #1a2036;
    line-height: 1.65;
    text-align: justify;
}

.fw-list {
    margin: 0;
    padding-left: 1.2rem;
}

.fw-list li {
    margin: 0.35rem 0;
}

.fw-detail-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.fw-back {
    appearance: none;
    border: 1px solid rgba(26, 60, 110, 0.25);
    background: linear-gradient(135deg, rgba(37, 196, 243, 0.10), rgba(157, 113, 255, 0.10));
    color: #102a57;
    font-weight: 800;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fw-back:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(26, 60, 110, 0.16);
}

.fw-center-message {
    text-align: center;
    padding: 1.25rem 0;
}

.fw-mini-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.fw-mini {
    border: 1px solid rgba(26, 60, 110, 0.2);
    background: #fff;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    color: #142a54;
}

.fw-mini:hover {
    border-color: rgba(157, 113, 255, 0.35);
    box-shadow: 0 10px 20px rgba(26, 60, 110, 0.12);
}

/* Responsive */
@media (max-width: 1200px) {
    .fw-icon-row {
        grid-template-columns: repeat(4, minmax(110px, 1fr));
    }

    .fw-row {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 900px) {
    .fw-about {
        grid-template-columns: 1fr;
    }

    .fw-detail {
        grid-template-columns: 1fr;
    }

    .fw-row {
        grid-template-columns: 1fr;
    }

    .fw-th {
        border-right: 0;
        border-bottom: 2px solid rgba(19, 42, 87, 0.75);
    }
}

@media (max-width: 520px) {
    .fw-hero-title {
        font-size: 1.55rem;
    }

    .fw-icon-row {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

/* Objective selector */
.fw-objectives {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.fw-obj-tab {
    border: 1px solid rgba(26, 60, 110, 0.18);
    background: #fff;
    color: #142a54;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.fw-obj-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(26, 60, 110, 0.12);
}

.fw-obj-tab.active {
    color: #fff;
    border-color: transparent;
}

.fw-obj-content {
    border-radius: 14px;
    padding: 1rem 1rem 0.5rem;
}

/* 3 themes to match wheel parts */
.fw-theme--system {
    background: linear-gradient(135deg, rgba(157, 113, 255, 0.12), rgba(37, 196, 243, 0.06));
    border: 1px solid rgba(157, 113, 255, 0.25);
}

.fw-theme--process {
    background: linear-gradient(135deg, rgba(255, 178, 61, 0.14), rgba(26, 60, 110, 0.04));
    border: 1px solid rgba(255, 178, 61, 0.28);
}

.fw-theme--anomaly {
    background: linear-gradient(135deg, rgba(140, 220, 244, 0.16), rgba(26, 60, 110, 0.05));
    border: 1px solid rgba(140, 220, 244, 0.35);
}


/* active pill colors */
.fw-obj-tab[data-obj="system"].active {
    background: linear-gradient(135deg, #bd8aab, #1a3c6e);
}

.fw-obj-tab[data-obj="process"].active {
    background: linear-gradient(135deg, #d4a680);
}

.fw-obj-tab[data-obj="anomaly"].active {
    background: linear-gradient(135deg, #1a3c6e, #8cdcf4);
}



/* --- High-Brightness Active Pill Colors --- */

/* Anomaly Unchanged */
.fw-obj-tab[data-obj="anomaly"].active {
    background: linear-gradient(135deg, #1a3c6e, #8cdcf4);
    box-shadow: 0 0 15px rgba(140, 220, 244, 0.5);
    color: #ffffff;
}

/* icon grid: adapt count per objective */
.fw-icon-row--objective {
    margin-top: 0.75rem;
}

@media (max-width: 1200px) {
    .fw-icon-row--objective {
        grid-template-columns: repeat(4, minmax(110px, 1fr));
    }
}

@media (max-width: 520px) {
    .fw-icon-row--objective {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}


/* Grid adapts per objective icon count (7 / 9 / 5) */
#fw-obj-icons[data-count="9"] {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
}

#fw-obj-icons[data-count="5"] {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
}

/* Tablet */
@media (max-width: 1200px) {

    #fw-obj-icons[data-count="9"],
    #fw-obj-icons[data-count="7"],
    #fw-obj-icons[data-count="5"] {
        grid-template-columns: repeat(4, minmax(110px, 1fr));
    }
}

/* Mobile */
@media (max-width: 520px) {

    #fw-obj-icons[data-count="9"],
    #fw-obj-icons[data-count="7"],
    #fw-obj-icons[data-count="5"] {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

/* -------- Modal / Drawer (Control Detail) -------- */
.fw-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 5000;
    display: none;
}

.fw-modal-overlay.active {
    display: block;
}

.fw-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(1100px, 94vw);
    max-height: 86vh;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(26, 60, 110, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    z-index: 5001;
    display: none;
    overflow: auto;
}

.fw-modal.active {
    display: block;
}

.fw-modal-close {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: block;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    color: #1a3c6e;
    padding: 0;
}

.fw-modal-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 1.5rem;
    padding: 0 1.5rem 1.5rem;
}

.fw-modal-media {
    padding-top: 0.5rem;
}

@media (max-width: 900px) {
    .fw-modal-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Wheel vertical centering --- */
.fw-about-left {
    display: flex;
    align-items: flex-end;
    /* Aligns the image to the bottom of the container */
    justify-content: center;
}

.fw-wheel-wrap {
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    width: 100%;
    min-height: 100%;
}

/* Optional: ensure the left column has some height to center against */
@media (min-width: 901px) {
    .fw-about {
        align-items: stretch;
        /* allow left column to stretch to right column height */
    }
}

/* --- Objective tabs: match PNG "ABOUT" style --- */
.fw-objectives {
    /* turn the tab group into a dark bar like the screenshot */
    background: linear-gradient(180deg, #121626 0%, #0d1222 100%);
    border: 1px solid rgba(140, 220, 244, 0.25);
    border-radius: 14px;
    padding: 0.75rem;
    gap: 0.75rem;
    justify-content: center;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

/* subtle circuit sheen */
.fw-objectives::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(37, 196, 243, 0.10), transparent 45%),
        radial-gradient(circle at 80% 40%, rgba(157, 113, 255, 0.10), transparent 50%);
    pointer-events: none;
}

.fw-obj-tab {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .18s ease, color .18s ease, background .18s ease;
}

.fw-obj-tab:hover {
    transform: translateY(-1px);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

/* cyan underline glow (active) like the screenshot */
.fw-obj-tab.active {
    color: #ffffff;
}



/* Mobile: make objective tabs wrap nicely */
@media (max-width: 520px) {
    .fw-obj-tab {
        letter-spacing: 2px;
        padding: 0.8rem 0.9rem;
        font-size: 0.85rem;
    }
}



/* ---------------------------
   Framework: Objective tabs
   - closer to your wheel PNG (purple / amber / blue)
   - subtle “glow underline” like the screenshot
----------------------------*/




/* ---- your 3 themes (improved but still “your design”) ---- */

/* System = purple-ish like wheel segment */
.fw-obj-tab[data-obj="system"].active {
    background: linear-gradient(135deg, #bd8aab 0%, #6b3f7a 55%, #1a3c6e 100%);
}

/* Process = amber/orange like wheel segment */
.fw-obj-tab[data-obj="process"].active {
    background: linear-gradient(135deg, #d4a680 0%, #c07a2f 55%, #8a4a1f 100%);
}

/* Anomaly = deep blue to light blue like wheel segment */
.fw-obj-tab[data-obj="anomaly"].active {
    background: linear-gradient(135deg, #1a3c6e 0%, #1c5f93 55%, #8cdcf4 100%);
}

/* ===== Global text scaling (works everywhere) ===== */
:root {
    --fw-font-scale: 1;
}

/* Use the scale on the base font-size */
html {
    font-size: calc(16px * var(--fw-font-scale));
}

/* IMPORTANT:
   Avoid hard-coded px font sizes for text.
   Prefer rem so it scales with html font-size. */
body {
    font-size: 1rem;
}



/* Unify the “card” look */
.fw-panel,
.content-box {
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(26, 60, 110, 0.15) !important;
    box-shadow: 0 18px 55px rgba(26, 60, 110, 0.18) !important;
    overflow: hidden;
    position: relative;
}

/* Same subtle radial glow overlay used by framework.html */
.fw-panel::before,
.content-box::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 196, 243, 0.08), transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(157, 113, 255, 0.08), transparent 48%),
        radial-gradient(circle at 30% 90%, rgba(39, 225, 161, 0.06), transparent 45%);
    pointer-events: none;
    opacity: 1 !important;
    z-index: 0;
}

/* Ensure content sits above the overlay */
.fw-panel>*,
.content-box>* {
    position: relative;
    z-index: 1;
}

/* Optional: remove the left “accent border” that index.html uses */
.fw-panel,
.content-box {
    border-left: 1px solid rgba(26, 60, 110, 0.15) !important;
}

/* Disable hover effects for fw-panel and content-box */
.fw-panel:hover,
.content-box:hover {
    transform: none !important;
    box-shadow: 0 18px 55px rgba(26, 60, 110, 0.18) !important;
}

/* Also prevent any hover-driven overlay/glow changes */
.fw-panel:hover::before,
.content-box:hover::before {
    opacity: 1 !important;
}

.cyber-step-timeline {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    /* Guarantees mathematically perfect curve connections */
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

.cyber-step-node {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    /* Vertically centers the cards */
}

.cyber-step-node:nth-child(odd) {
    justify-content: flex-start;
}

.cyber-step-node:nth-child(even) {
    justify-content: flex-end;
}

/* The Pill-Shaped Cards */
.cyber-step-card {
    width: 40%;
    background: linear-gradient(135deg, rgba(20, 24, 44, 0.98), rgba(30, 36, 66, 0.95));
    border: 2px solid;
    border-radius: 30px;
    /* Pill shape matching reference */
    padding: 2rem;
    position: relative;
    z-index: 3;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cyber-step-node:hover .cyber-step-card {
    transform: translateY(-5px);
}

.cyber-step-node:nth-child(odd) .cyber-step-card {
    margin-left: 5%;
    text-align: right;
}

.cyber-step-node:nth-child(even) .cyber-step-card {
    margin-right: 5%;
    text-align: left;
}

/* The Node Icons */
.cyber-step-icon {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a2036;
    border: 3px solid;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cyber-step-icon-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cyber-step-node:nth-child(odd) .cyber-step-icon {
    left: 45%;
    transform: translate(-50%, -50%);
}

.cyber-step-node:nth-child(even) .cyber-step-icon {
    left: 55%;
    transform: translate(-50%, -50%);
}

.cyber-step-node:hover .cyber-step-icon {
    transform: translate(-50%, -50%) scale(1.15);
}

/* === THE CIRCUIT TRACE (SNAKE PATH) === */
/* Path from Odd (Left) to Even (Right) */
.cyber-step-node:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    width: 10%;
    height: 100%;
    border-top: 3px dashed;
    border-right: 3px dashed;
    border-top-right-radius: 25px;
    z-index: 1;
    opacity: 0.6;
}

/* Path from Even (Right) to Odd (Left) */
.cyber-step-node:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    width: 10%;
    height: 100%;
    border-top: 3px dashed;
    border-left: 3px dashed;
    border-top-left-radius: 25px;
    z-index: 1;
    opacity: 0.6;
}

.cyber-step-node:last-child::before {
    display: none;
}

/* === DYNAMIC COLORS === */
/* Nodes 1 & 4 (Teal) */
.cyber-step-node:nth-child(3n+1) .cyber-step-card {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 20px rgba(37, 196, 243, 0.1);
}

.cyber-step-node:nth-child(3n+1):hover .cyber-step-card {
    box-shadow: 0 12px 30px rgba(37, 196, 243, 0.25);
}

.cyber-step-node:nth-child(3n+1) .cyber-step-icon {
    border-color: var(--accent-teal);
    box-shadow: 0 0 15px rgba(37, 196, 243, 0.3);
}

.cyber-step-node:nth-child(3n+1) .cyber-step-icon-inner {
    background: var(--accent-teal);
    box-shadow: 0 0 10px var(--accent-teal);
}

.cyber-step-node:nth-child(3n+1)::before {
    border-color: var(--accent-teal);
}

.cyber-step-node:nth-child(3n+1) .cyber-step-date {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Nodes 2 & 5 (Purple) */
.cyber-step-node:nth-child(3n+2) .cyber-step-card {
    border-color: var(--accent-purple);
    box-shadow: 0 8px 20px rgba(157, 113, 255, 0.1);
}

.cyber-step-node:nth-child(3n+2):hover .cyber-step-card {
    box-shadow: 0 12px 30px rgba(157, 113, 255, 0.25);
}

.cyber-step-node:nth-child(3n+2) .cyber-step-icon {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(157, 113, 255, 0.3);
}

.cyber-step-node:nth-child(3n+2) .cyber-step-icon-inner {
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

.cyber-step-node:nth-child(3n+2)::before {
    border-color: var(--accent-purple);
}

.cyber-step-node:nth-child(3n+2) .cyber-step-date {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Nodes 3 & 6 (Yellow) */
.cyber-step-node:nth-child(3n+3) .cyber-step-card {
    border-color: var(--accent-yellow);
    box-shadow: 0 8px 20px rgba(255, 178, 61, 0.1);
}

.cyber-step-node:nth-child(3n+3):hover .cyber-step-card {
    box-shadow: 0 12px 30px rgba(255, 178, 61, 0.25);
}

.cyber-step-node:nth-child(3n+3) .cyber-step-icon {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 178, 61, 0.3);
}

.cyber-step-node:nth-child(3n+3) .cyber-step-icon-inner {
    background: var(--accent-yellow);
    box-shadow: 0 0 10px var(--accent-yellow);
}

.cyber-step-node:nth-child(3n+3)::before {
    border-color: var(--accent-yellow);
}

.cyber-step-node:nth-child(3n+3) .cyber-step-date {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Typography */
.cyber-step-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.cyber-step-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.cyber-step-desc {
    color: #b3c2e6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cyber-step-list {
    margin: 0.8rem 0 0 1.2rem;
    color: #b3c2e6;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cyber-step-list li {
    margin-bottom: 0.3rem;
}

/* Mobile View: Collapses to a straight vertical line */
@media (max-width: 768px) {
    .cyber-step-timeline {
        grid-auto-rows: auto;
        gap: 1.5rem;
    }

    .cyber-step-node {
        display: block;
        padding-left: 60px;
    }

    .cyber-step-node:nth-child(odd) .cyber-step-card,
    .cyber-step-node:nth-child(even) .cyber-step-card {
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .cyber-step-node:nth-child(odd) .cyber-step-icon,
    .cyber-step-node:nth-child(even) .cyber-step-icon {
        left: 20px;
        top: 40px;
        transform: translateX(-50%);
    }

    .cyber-step-node::before {
        left: 19px !important;
        width: 0 !important;
        top: 60px !important;
        height: calc(100% + 1.5rem) !important;
        border: none !important;
        border-left: 3px dashed !important;
        border-radius: 0 !important;
    }

    .cyber-step-node:nth-child(3n+1)::before {
        border-color: var(--accent-teal) !important;
    }

    .cyber-step-node:nth-child(3n+2)::before {
        border-color: var(--accent-purple) !important;
    }

    .cyber-step-node:nth-child(3n+3)::before {
        border-color: var(--accent-yellow) !important;
    }
}

/* Updated Gradient: Using lighter blue/purple stops for better contrast on dark cards */
.cyber-step-node:nth-child(odd) .cyber-step-date {
    background: linear-gradient(90deg, #5c83cf, #7de0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cyber-step-node:nth-child(even) .cyber-step-date {
    background: linear-gradient(90deg, #9d71ff, #ff5b69);
    /* Rich purple to soft magenta/red */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cyber-step-node:nth-child(3n+3) .cyber-step-date {
    background: linear-gradient(90deg, #ff9b5e, #ffda82);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cyber-step-desc {
    color: #e0e7ff;
    /* Lighter, off-white blue */
    font-size: 0.95rem;
    line-height: 1.7;
    /* Increased for better legibility */
    margin: 0;
    opacity: 0.9;
    text-align: justify;
    /* Slightly less transparent */
}

.cyber-step-list {
    margin: 0.8rem 0 0 1.2rem;
    color: #e0e7ff;
    /* Matches desc color */
    font-size: 0.95rem;
    line-height: 1.6;
}

/* System Core Section - Circuit Design */
.system-core-box {
    position: relative;
    background: linear-gradient(145deg, #121626, #1a1f36);
    border: 1px solid rgba(37, 196, 243, 0.3);
    padding: 4rem 2rem;
    margin: 3rem auto;
    max-width: 1000px;
    text-align: center;
    clip-path: polygon(4% 0, 100% 0, 100% 85%, 96% 100%, 0 100%, 0 15%);
    box-shadow: 0 0 40px rgba(26, 60, 110, 0.4);
}

.core-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-teal);
    z-index: 2;
}

.core-top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.core-bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.system-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: corePulse 1.5s infinite;
}

.system-status {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--accent-teal);
    letter-spacing: 2px;
}

.circuit-divider {
    height: 2px;
    width: 60%;
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-light-blue), transparent);
    margin: 1.5rem auto;
    position: relative;
}

.core-message {
    color: #fff !important;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
}

.loading-container {
    width: 280px;
    margin: 0 auto;
}

.loading-label {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.data-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.data-progress {
    width: 45%;
    height: 100%;
    background: var(--gradient-blue);
    box-shadow: 0 0 15px var(--accent-teal);
    animation: dataSync 4s infinite linear;
}

.stay-tuned-glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-top: 2rem;
    letter-spacing: 5px;
    position: relative;
    display: inline-block;
}

@keyframes corePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes dataSync {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(250%);
    }
}

@media (max-width: 768px) {
    .system-core-box {
        clip-path: none;
        padding: 3rem 1.5rem;
    }
}

/* Mobile nav header look (you had this in index.html inline styles) */
.mobile-nav-header {
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f36 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-teal);
    box-shadow: 0 2px 15px rgba(37, 196, 243, 0.3);
}

.mobile-header-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(37, 196, 243, 0.5);
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(37, 196, 243, 0.3);
    border-radius: 4px;
    color: var(--accent-teal);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: var(--accent-teal);
    color: #1a1f36;
    box-shadow: 0 0 15px var(--accent-teal);
}

html,
body {
    overflow-x: hidden;
}

/* About/Framework two-column layout -> stack on smaller screens */
.fw-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .fw-about {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.fw-wheel {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section {
        padding: 2.25rem 0;
    }

    /* reduce inline padding conflicts in your HTML */
    .fw-panel[style*="padding"],
    .content-box[style*="padding"] {
        padding: 1.25rem !important;
    }

    /* CTA button full-width on mobile */
    #framework .cta-button {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.95rem 1.1rem !important;
        gap: 8px !important;
        flex-wrap: wrap;
    }

    /* hide decorative absolute corners inside framework panel */
    #framework .fw-panel>div[style*="position: absolute"] {
        display: none;
    }
}

/* Enforce: no hover motion for cards */
.fw-panel:hover,
.content-box:hover {
    transform: none !important;
}

/* About accordion: h3 → image → text on mobile */
@media (max-width: 768px) {
    #panel-what .about-media-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }

    #panel-what .about-media-text {
        display: contents;
    }

    #panel-what .about-media-text > h3 {
        order: 1;
        width: 100%;
        margin-bottom: 0 !important;
    }

    #panel-what .about-media-img {
        order: 2;
        width: 100% !important;
        justify-content: center !important;
    }

    #panel-what .about-media-text > p,
    #panel-what .about-media-text > div {
        order: 3;
        width: 100%;
    }

    #panel-what .about-media-img img {
        width: min(320px, 92vw) !important;
        height: auto !important;
        max-width: 100% !important;
    }
}

.cyber-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(37, 196, 243, 0.45);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.95), rgba(18, 22, 38, 0.98));
    color: #ffffff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(37, 196, 243, 0.15) inset,
        0 0 18px rgba(37, 196, 243, 0.18),
        0 0 30px rgba(157, 113, 255, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cyber-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(140, 220, 244, 0.18) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.cyber-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(140, 220, 244, 0.22);
    box-shadow: 0 0 18px rgba(37, 196, 243, 0.12) inset;
    pointer-events: none;
}

.cyber-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 196, 243, 0.8);
    background: linear-gradient(135deg, rgba(26, 60, 110, 1), rgba(24, 30, 54, 1));
    box-shadow:
        0 0 0 1px rgba(37, 196, 243, 0.25) inset,
        0 0 20px rgba(37, 196, 243, 0.35),
        0 0 34px rgba(157, 113, 255, 0.22);
}

.cyber-cta:hover::before {
    transform: translateX(120%);
}

.cta-text {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    transition: transform 0.25s ease;
    color: var(--accent-teal);
    text-shadow: 0 0 10px rgba(37, 196, 243, 0.65);
}

.cyber-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.cyber-cta:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .cyber-cta {
        width: 100%;
        padding: 1rem 1.1rem;
        font-size: 0.92rem;
        letter-spacing: 0.8px;
        text-align: center;
        box-sizing: border-box;
    }

    .cta-text {
        line-height: 1.35;
    }
}