/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #e0e0e0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #6c8eff;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.highlight {
    color: #6c8eff;
}

section {
    padding: 80px 0;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    padding: 0 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 40%;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #6c8eff;
    background-color: #2d2d2d;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #292929 100%);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #bebebe;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #6c8eff;
    color: white;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #5a7af2;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 142, 255, 0.3);
}

/* Projects Section */
.projects {
    background-color: #181818;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-card {
    background-color: #242424;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-img img, .project-video video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-info p {
    color: #b0b0b0;
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.project-tags span {
    background-color: #2d2d2d;
    color: #6c8eff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

.project-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #6c8eff;
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background-color: #5a7af2;
}

.center-btn {
    text-align: center;
    margin-top: 50px;
}

/* About Section */
.about {
    background-color: #1a1a1a;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-img {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.about-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
}

.skill-tags span {
    background-color: #2d2d2d;
    color: #6c8eff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Skills Section */
.skills-section {
    background-color: #202020;
    padding: 80px 0;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.skills-category {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
}

.skills-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #6c8eff;
    position: relative;
    padding-bottom: 10px;
}

.skills-category h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #6c8eff;
}

/* Interest Tags */
.interest-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.interest-tags span {
    background-color: #2d2d2d;
    color: #6c8eff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.interest-tags span:hover {
    background-color: #6c8eff;
    color: #121212;
}

.education {
    margin-bottom: 20px;
}

.education h3, .interests h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Contact Section */
.contact {
    background-color: #181818;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #6c8eff;
    margin-right: 15px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    font-size: 1.8rem;
    color: #6c8eff;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #5a7af2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    font-size: 1rem;
    color: #e0e0e0;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #6c8eff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #5a7af2;
}

/* Footer */
footer {
    background-color: #121212;
    color: #b0b0b0;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: #1e1e1e;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links li {
        opacity: 0;
    }
    
    .burger {
        display: block;
    }
    
    .about-img {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}