:root {
    /* Brand Colors */
    --primary-color: #082d5a;
    --primary-light: #0d4385;
    --primary-dark: #051d3b;
    --accent-color: #1ba2cc;
    --accent-light: #2bc0ef;
    
    /* Backgrounds */
    --bg-light: #f8fafc;
    --bg-dark: #031123;
    --bg-card: #ffffff;
    
    /* Text Colors */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --text-white-muted: #cbd5e1;
    
    /* UI Elements */
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white);
}

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

.dark-bg .text-muted {
    color: var(--text-white-muted);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

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

.section {
    padding: 6rem 0;
}

.dark-bg {
    background-color: var(--bg-dark);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 162, 204, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline-light:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 25, 46, 0.85); /* Dark background */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(6, 25, 46, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a:not(.btn):hover {
    color: var(--accent-color);
}

.lang-toggle {
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.lang-toggle:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: #050f1a;
    color: var(--text-white);
    overflow: hidden;
}

.hero-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(5, 15, 26, 0) 0%, #050f1a 100%);
}

.aurora-1, .aurora-2, .aurora-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.65;
    animation: meshFlow 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.aurora-1 {
    top: -10%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: #0ea5e9; /* Vibrant sky blue */
    animation-delay: 0s;
}

.aurora-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #4f46e5; /* Deep indigo */
    animation-delay: -7s;
}

.aurora-3 {
    top: 40%;
    left: 40%;
    width: 45vw;
    height: 45vw;
    background: #1ba2cc; /* WNCC accent blue */
    animation-delay: -14s;
}

@keyframes meshFlow {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(8%, -12%) scale(1.15); }
    66% { transform: translate(-10%, 8%) scale(0.85); }
    100% { transform: translate(5%, 15%) scale(1.05); }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.code-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 45, 90, 0.4);
    border: 1px solid rgba(27, 162, 204, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-white-muted);
    margin-bottom: 2.5rem;
    min-height: 36px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    font-family: var(--font-body);
}

.prompt-arrow {
    color: #4ade80;
    font-weight: bold;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--text-white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number, .stat-plus, .stat-percent {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--accent-color);
}

.stat-label {
    display: block;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    background: linear-gradient(135deg, var(--bg-card) 0%, #e0f2fe 100%);
    border-radius: var(--border-radius);
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(8, 45, 90, 0.08);
    position: relative;
    overflow: hidden;
}

.about-logo-icon {
    width: 150px;
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(27,162,204,0.3) 0%, rgba(255,255,255,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(27, 162, 204, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.glass-card:hover .service-icon {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.glass-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.glass-card p {
    color: var(--text-white-muted);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 4px 0 0 4px;
}

.project-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(27, 162, 204, 0.15);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.project-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-content h3 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.project-content p {
    color: var(--text-white-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Expertise / Tech Stack Section */
.expertise {
    background-color: var(--bg-light);
}

.tech-stack-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-card-dark {
    background: var(--primary-dark);
    border: 1px solid rgba(27, 162, 204, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.glass-card-dark:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(8, 45, 90, 0.15);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.tech-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.tech-header h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin: 0;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white-muted);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-badge:hover {
    background: rgba(27, 162, 204, 0.15);
    color: var(--text-white);
    border-color: rgba(27, 162, 204, 0.4);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(8, 45, 90, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.info-item p, .info-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

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

.contact-form-container {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(27, 162, 204, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem;
    color: var(--text-white-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo p {
    max-width: 300px;
}

.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

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

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

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

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
    100% { transform: translate(-5%, 10%) scale(0.9); }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.2s; }
.reveal.delay-2 { transition-delay: 0.4s; }
.reveal.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        min-height: 75px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}
