:root {
    /* Dark color palette */
    --bg-dark: #121212;
    --bg-dark-alt: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    
    /* Vibrant teal accent color */
    --primary: #00e5ff;
    --primary-dark: #00bcd4;
    --primary-light: rgba(0, 229, 255, 0.1);
    
    /* Supporting colors */
    --secondary: #ff4081;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'SF Pro Display', -apple-system, sans-serif;
    
    /* Shadows and effects */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --glow: 0 0 10px rgba(0, 229, 255, 0.5);
    
    /* Borders */
    --border-radius: 8px;
    --border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 50%, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), #00bcd4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: var(--glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-bottom: var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '</>';
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background: linear-gradient(45deg, var(--primary), transparent);
    opacity: 0.3;
    z-index: -1;
    filter: blur(20px);
}

.hero-image img {
    border-radius: var(--border-radius);
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(90deg, var(--primary), #00bcd4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark-alt);
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* About Section */
#about {
    background-color: var(--bg-dark-alt);
    position: relative;
}

#about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    border-radius: var(--border-radius);
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-chip {
    background-color: rgba(0, 229, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-chip:hover {
    background-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 229, 255, 0.1);
}

.skill-chip i {
    color: var(--primary);
}

/* Experience Section */
#experience {
    background-color: var(--bg-dark);
    position: relative;
}

.experience-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.experience-tab {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    background-color: var(--bg-dark-alt);
    color: var(--text-secondary);
    border: var(--border);
}

.experience-tab.active {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--glow);
}

.experience-tab:not(.active):hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.experience-content {
    display: none;
}

.experience-content.active {
    display: block;
}

.experience-item {
    background-color: var(--bg-dark-alt);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: var(--border);
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.experience-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.experience-company {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.experience-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.experience-description li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.experience-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-skill {
    background-color: rgba(0, 229, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

/* Projects Section */
#projects {
    background-color: var(--bg-dark-alt);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, transparent 100%);
    z-index: 0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.9), transparent);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.75rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-skill {
    background-color: rgba(0, 229, 255, 0.1);
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.3s ease;
}

.project-skill:hover {
    background-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.project-links {
    margin-top: auto;
    text-align: center;
}

.project-links .btn {
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}


/* Contact Section */
#contact {
    background-color: var(--bg-dark);
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact-container {
    max-width: 900px;
    display: flex;
    gap: 3rem;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form {
    flex: 1;
    background-color: var(--bg-dark-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: var(--border);
}

.contact-item {
    background-color: var(--bg-dark-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: var(--border);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.contact-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.contact-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: var(--border);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo::before {
    content: '</>';
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Media Query */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-container {
        flex-direction: column;
    }
    
    .hero-text,
    .about-text,
    .contact-info,
    .contact-form {
        text-align: center;
    }
    
    .hero-buttons,
    .social-links,
    .skills-container,
    .footer-links,
    .footer-social {
        justify-content: center;
    }
    
    .experience-tabs {
        justify-content: flex-start;
    }
    
    .about-image,
    .hero-image {
        margin-top: 2rem;
    }

    #hero {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-dark-alt);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
        gap: 1.5rem;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    header {
        height: 70px;
    }

    .header-container {
        padding: 0.75rem 1.5rem;
    }

    .contact-container {
        flex-direction: column;
        max-width: 100%;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 4rem 0 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 0.5rem; 
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-container {
        flex-direction: column-reverse;
    }

    #hero {
        padding-top: 100px;
    }

    .hero-content {
        gap: 2rem;
    }
}