:root {
    --primary: #3B82F6;
    /* Stripe Blue */
    --secondary: #22C55E;
    /* Coding Green */
    --accent: #22C55E;
    --bg-dark: #0f172a;
    --bg-darker: #0c1120;
    --text-white: #FFFFFF;
    --text-muted: #A0A7B8;
    --gradient-blue-green: linear-gradient(135deg, #3B82F6, #22C55E);
    --gradient-anim: linear-gradient(-45deg, #0f172a, #0c1120, #1e293b, #0f172a);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --container-width: 1400px;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: var(--bg-darker);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: move 20s infinite alternate;
}

.blob-2 {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    width: 600px;
    height: 600px;
    animation-duration: 30s;
    animation-delay: -5s;
    top: 20%;
    right: -10%;
}

@keyframes move {
    from {
        transform: translate(-10%, -10%);
    }

    to {
        transform: translate(110%, 110%);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
        opacity: 0.9;
        transform: scale(1.1);
    }

    100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes gradient-bg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes slide-in-bottom {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

p.large {
    font-size: 1.4rem;
    color: var(--text-white);
}

.text-gradient {
    background: var(--gradient-blue-green);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-blue-green);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
    top: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(55, 118, 171, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: var(--glass-bg);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: transparent;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4), var(--bg-darker) 90%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Sections */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-2-col {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    min-width: 0;
}

.grid-2-col>* {
    min-width: 0;
}

/* Feature Cards */
.feature-card {
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.feature-card:nth-child(2) {
    animation-delay: 1s;
}

.feature-card:nth-child(3) {
    animation-delay: 2s;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Program Section */
.badge {
    background: rgba(55, 118, 171, 0.2);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    animation: pulse-glow 3s infinite;
}

.program-stats {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.program-stats li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.program-stats i {
    color: var(--accent);
    width: 24px;
}

.program-stats strong {
    display: block;
    font-size: 1.1rem;
}

.program-stats span {
    color: var(--text-muted);
}

.curriculum {
    padding: 2rem;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-white);
    font-size: 0.95rem;
}

.curriculum-item i {
    color: var(--accent);
    width: 18px;
}

/* Code Window */
.code-window {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dots span:nth-child(1) {
    background: #ff5f56;
}

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

.dots span:nth-child(3) {
    background: #27c93f;
}

.window-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: monospace;
}

.window-body {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.5);
}

.window-body pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 1.1rem;
    line-height: 1.7;
}

.window-body code {
    font-family: inherit;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .window-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

.keyword {
    color: #3B82F6;
}

.function {
    color: #22C55E;
}

.string {
    color: #FACC15;
}

.number {
    color: #F472B6;
}

/* Projects */
.section-header.align-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.project-card {
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: scale(1.05) translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-blue-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Vision */
.vision-box {
    padding: 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.vision-points {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.point i {
    width: 48px;
    height: 48px;
    color: var(--secondary);
    /* Using the green accent */
}

/* CTA Final Redesign */
.cta-final .container {
    padding: 2rem;
}

.cta-card {
    padding: 6rem 5rem;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 4s infinite ease-in-out;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 6s infinite ease-in-out reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    text-align: left;
}

.cta-content h3 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 550px;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .cta-card {
        padding: 4rem 3rem;
    }

    .cta-content h3 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .cta-card {
        padding: 4rem 2rem;
        text-align: center;
    }

    .cta-content {
        text-align: center;
        margin: 0 auto;
    }

    .cta-content h3 {
        font-size: 2.2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-actions {
        justify-content: center;
    }
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 0;
    background: rgba(12, 17, 32, 0.98);
    /* Less transparent for readability */
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-nav-links .btn-primary {
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Updated Responsive Design */
@media (max-width: 1200px) {
    h1 {
        font-size: 3.8rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .program-visual {
        order: -1;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .program-visual {
        display: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

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

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

    .feature-card,
    .project-card {
        padding: 2rem;
    }

    .vision-box {
        padding: 3rem 1.5rem;
    }

    .vision-points {
        flex-direction: column;
        gap: 2rem;
    }

    .program-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 1rem auto 0;
    }

    .footer-social {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icon {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}