:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 28, 0.6);
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #ec4899;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: auto;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.blob-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: blob-float 15s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 40%;
    left: 40%;
    animation-delay: -8s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo-icon {
    color: var(--primary);
}

.highlight {
    color: var(--primary);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--text-main);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-main);
}

.btn-primary-sm {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-primary-sm:hover {
    background: var(--secondary);
}

.hero {
    min-height: 100vh;
    padding: 8rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.badge-container {
    margin-bottom: 2rem;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.code-card {
    background: #1e1e2e;
    border-radius: 16px;
    padding: 2rem; 
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); 
    transition: transform 0.4s ease-out;
}

.code-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.05);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

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

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.code-content pre {
    font-family: 'Fira Code', monospace;
    color: #a9b7c6;
    font-size: 1.1rem; 
}

.k { color: #cc7832; } 
.c { color: #ffc66d; } 
.s { color: #6a8759; } 
.f { color: #ffc66d; } 

.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.qualifications {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.qual-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.qual-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.qual-code {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-family: monospace;
    color: var(--secondary);
    font-weight: bold;
}

.qual-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.qual-list {
    list-style: none;
    margin-top: 2rem;
}

.qual-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    align-items: center;
}

.qual-list li i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.highlight-card {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.languages-preview {
    padding: 6rem 0;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.tech-marquee {
    display: flex;
    white-space: nowrap;
}

.tech-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.tech-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    margin-right: 4rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.career {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -3rem auto 4rem;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.career-item {
    text-align: center;
    padding: 2rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.career-item h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0;
}

footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 2rem;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }

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

    .stats-section {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-col {
        text-align: center !important;
    }
    
}

.education-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.full-width {
    grid-column: span 2;
}

.edu-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.edu-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edu-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.big-text {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
}

.edu-list {
    list-style: none;
}

.edu-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.edu-list li i {
    color: var(--secondary);
    width: 18px;
    height: 18px;
}

.tech-subjects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-subjects span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tech-subjects i {
    color: var(--primary);
}

.exams-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: -3rem auto 4rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.exams-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.exam-card {
    background: linear-gradient(145deg, rgba(20,20,28,0.8), rgba(20,20,28,0.4));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.exam-card:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.exam-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.exam-number {
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.1;
    font-family: var(--font-heading);
    line-height: 1;
}

.exam-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.exam-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.exam-details {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.exam-details li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.detail-num {
    color: var(--secondary);
    font-family: monospace;
    font-weight: bold;
    opacity: 0.8;
}

.detail-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
}

@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: span 1;
    }
    
    .tech-subjects {
        grid-template-columns: 1fr;
    }
    
    .exams-grid {
        grid-template-columns: 1fr;
    }
    
    .edu-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
