:root {
    --primary-color: #0a192f;
    --secondary-color: #112240;
    --accent-color: #64ffda;
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --animation-duration: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code', monospace;
}

body {
    background-color: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.logo a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--animation-duration) ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--animation-duration) ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hide hamburger menu by default */
.hamburger-menu {
    display: none;
}

/* Main Content Styles */
main {
    padding: 120px 5% 60px;
    min-height: calc(100vh - 60px);
    box-sizing: border-box;
}

.content {
    margin: 0 auto;
    padding: 0 5%;
}

.intro-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: calc(70vh - 200px);
}

.intro-text {
    flex: 1;
}

.intro-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.intro-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.profile-image {
    flex: 1;
    position: relative;
}

.profile-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    transition: transform var(--animation-duration);
}

.profile-image img:hover {
    transform: translateY(-5px);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    z-index: -1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 5px;
    transition: all var(--animation-duration);
    border: 1px solid var(--accent-color);
}

.social-badge:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        min-height: 100vh;
        height: auto;
    }
    
    .intro-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }

    .profile-image img {
        max-width: 300px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 900px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    main {
        padding: 100px 5% 40px;
    }

    .social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .terminal-flex {
        flex-direction: column;
    }

    .terminal-left {
        order: 2;
        text-align: center;
    }

    .profile-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .profile-image img {
        max-width: 200px;
    }

    .social-links {
        justify-content: center;
    }

    /* Increase text sizes for mobile */
    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p, .description {
        font-size: 1.2rem !important;
        line-height: 1.8;
    }

    .terminal-content {
        padding: 2rem !important;
    }

    .terminal-header {
        padding: 1rem !important;
    }

    .typing-effect {
        font-size: 1.4rem !important;
    }

    /* Adjust button and link sizes */
    button, .btn, a.btn {
        font-size: 1.2rem !important;
        padding: 1rem 1.5rem !important;
    }

    /* Adjust list items */
    li {
        font-size: 1.2rem !important;
        margin: 0.8rem 0 !important;
    }
}

/* GitHub Stats */
.github-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
    justify-content: flex-start;
}

.github-stats img {
    width: 400px;
    height: auto;
    background: white;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Projects Grid */
.work-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    width: 380px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.project-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.language-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.description {
    color: #666;
    margin: 1.5rem 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Language Badges */
/* Language Colors */
.badge.python { background-color: #306998; }
.badge.java { background-color: #b5651d; }
.badge.javascript { background-color: #f7df1e; color: #000; }
.badge.html { background-color: #d64d3a; }
.badge.css { background-color: #264de4; }
.badge.ruby { background-color: #e0115f; }
.badge.rust { background-color: #a45b1f; }
.badge.kotlin { background-color: #7f52ff; }
.badge.sql { background-color: #f29111; }
.badge.json { background-color: #0e76a8; }

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
}

/* Project Stats */
.project-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

/* Project Links */
.project-links {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.view-details,
.github-link {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
    background-color: white;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.view-details {
    background-color: #3498db;
    color: white;
}

.github-link:hover {
    background-color: #2c3e50;
    color: white;
}

/* Language Colors */
.badge.python { background-color: #3572A5; }
.badge.java { background-color: #b07219; }
.badge.javascript { background-color: #f1e05a; color: #000; }
.badge.html { background-color: #e34c26; }
.badge.css { background-color: #563d7c; }
.badge.ruby { background-color: #701516; }
.badge.rust { background-color: #dea584; }
.badge.kotlin { background-color: #A97BFF; }
.badge.sql { background-color: #e38c00; }

/* Contact grid layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

/* Contact card styles */
.contact-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #4a90e2;
    height: fit-content;
}

.contact-card h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-intro {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    width: 100%;
}

/* Contact badge styles */
.contact-methods .social-badge {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-methods .social-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.contact-methods .social-badge i {
    margin-right: 0.5rem;
}

.contact-methods .social-badge.email {
    background: linear-gradient(45deg, #4a90e2, #5ca0f2);
    color: white;
}

.contact-methods .social-badge.linkedin {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
    color: white;
}

.contact-methods .social-badge.github {
    background: linear-gradient(45deg, #24292e, #404448);
    color: white;
}

/* Form iframe styles */
.contact-form {
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.contact-form iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        min-height: 500px;
    }
    
    .contact-form iframe {
        min-height: 500px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    color: var(--text-secondary);
    position: absolute;
    bottom: 0;
    width: 100%;
}