:root {
    --primary-color: #00ff00;
    --secondary-color: #80ff00;
    --background-color: #0a0a0a;
    --card-background: #1a1a1a;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --accent-color: #00ff00;
    --accent-glow: rgba(0, 255, 0, 0.2);
    --border-radius: 4px;
    --font-primary: 'JetBrains Mono', 'Fira Code', monospace;
    --terminal-green: #00ff00;
    --code-blue: #61dafb;
    --warning-yellow: #ffd700;
    --error-red: #ff4444;
    --success-green: #00ff00;
    --grid-color: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
}



/* Location Badge */
.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.location-badge i {
    font-size: 0.75rem;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    background: rgba(0, 180, 216, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 998;
    transition: transform 0.6s ease;
}

.cursor-hover {
    transform: scale(1.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    background: black;
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 100%;
    margin-bottom: 4rem;
}

/* Code Window Styling */
.code-window {
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(-2deg) translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.15);
}

.code-window-header {
    background: #1a1a1a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.window-dots span:nth-child(3) {
    background: #27c93f;
}

.window-title {
    color: var(--text-light);
    margin-left: 1rem;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.code-content {
    padding: 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 500px;
    overflow-y: auto;
}

.code-content pre {
    margin: 0;
}

.code-content code {
    color: var(--text-color);
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

.code-class {
    color: #4ec9b0;
}

.code-function {
    color: #dcdcaa;
}

.typing-code::after {
    content: '|';
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .code-window {
        transform: none;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .code-window:hover {
        transform: translateY(-5px);
    }
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.terminal-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--terminal-green);
    position: relative;
    padding-left: 20px;
}

.terminal-text::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--terminal-green);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 20px;
    background: var(--terminal-green);
    margin-left: 5px;
    animation: blink 1s infinite;
}

.code-block {
    background: #1a1a1a;
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
    margin: 20px 0;
    position: relative;
}

.code-block::before {
    content: 'neural_network.py';
    position: absolute;
    top: -30px;
    left: 0;
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--font-primary);
}

.code-line {
    font-family: var(--font-primary);
    color: var(--text-color);
    margin: 5px 0;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 180, 216, 0.15);
    top: 10%;
    left: 20%;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: rgba(67, 97, 238, 0.1);
    bottom: 20%;
    right: 10%;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 180, 216, 0.15);
    top: 40%;
    right: 30%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: left;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: black;
    font-weight: bold;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn i {
    margin-left: 0.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.2);
}

/* Projects Section */
.projects-section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: #1a1a1a;
    border-bottom: 1px solid var(--accent-color);
}

.project-card::after {
    content: '● ● ●';
    position: absolute;
    top: 5px;
    left: 10px;
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 2px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 180, 216, 0.1), transparent);
    transform: translateY(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover::before {
    transform: translateY(100%);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 180, 216, 0.3);
}

.project-category {
    color: var(--accent-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #1a1a1a;
    color: var(--terminal-green);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    border: 1px solid var(--accent-color);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.tech-tag::before {
    content: '⚡';
    font-size: 12px;
    color: var(--warning-yellow);
}

.project-image {
    margin-top: 1.5rem;
}

.image-placeholder {
    background: rgba(0, 180, 216, 0.05);
    border-radius: var(--border-radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 180, 216, 0.1);
}

.image-placeholder i {
    font-size: 3rem;
    color: var(--accent-color);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 180, 216, 0.05));
    position: relative;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.25rem;
    position: relative;
    padding-left: 1rem;
}

.skill-category h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--accent-color);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    background: var(--card-background);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    border: 1px solid rgba(0, 180, 216, 0.2);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    text-align: center;
}

.contact-text {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    color: var(--text-light);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.contact-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

/* Footer */
footer {
    background: black;
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-left {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animated-text {
    color: transparent;  /* Make the original text transparent */
    position: relative;
    display: inline-block;
    min-width: 40px;
}

.animated-text::after {
    content: "AI";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: var(--accent-color);  /* Make the animated text visible in accent color */
    animation: textChange 4s infinite;
}

@keyframes textChange {
    0%, 45% {
        content: "AI";
    }
    50%, 95% {
        content: "ML";
    }
}

.project-card {
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

/* Scroll Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down-link:hover {
    background: var(--accent-color);
    color: black;
    transform: translateY(-5px);
}

.scroll-down-link i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}