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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a192f;
    color: #fff;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 47, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #64ffda;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 4rem 2rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 120px;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 300px;  /* Fixed width */
    height: 300px; /* Fixed height for perfect circle */
    border-radius: 50%; /* Makes image circular */
    object-fit: cover;
    border: 3px solid #64ffda; /* Adds a border with the theme color */
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3); /* Adds a subtle glow effect */
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100vw;
    position: absolute;
    left: 0;
    top: 100px;
}

.highlight {
    color: #64ffda;
}

.typing-text {
    font-size: 1.5rem;
    color: #8892b0;
    margin-bottom: 1.5rem;
    position: relative;
    width: fit-content;
    margin-left: 0;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: transparent;
    border: 2px solid #64ffda;
    color: #64ffda;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

/* Hero section social links */
.hero-content .social-links {
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-content .social-links a {
    font-size: 1.8rem;
    padding: 0.3rem;
}

/* Skills Section */
.skills {
    padding: 5rem 3rem;
}

.skills h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: #112240;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-card i {
    font-size: 3rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.skill-level {
    background: #233554;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #64ffda;
    border-radius: 4px;
    animation: fillProgress 1.5s ease-out;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
}

/* In the Skills section */
.skill-card:nth-child(1) .progress {
    width: 75%;
}

.skill-card:nth-child(2) .progress {
    width: 50%;
}

.skill-card:nth-child(3) .progress {
    width: 55%;  /* JavaScript */
}

.skill-card:nth-child(4) .progress {
    width: 75%;  /* TailwindCSS */
}

.skill-card:nth-child(5) .progress {
    width: 88%;  /* Git & GitHub */
}

.skill-card:nth-child(6) .progress {
    width: 80%;  /* HTML */
}

.skill-card:nth-child(7) .progress {
    width: 65%;  /* CSS */
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 3rem;
    background: #0a192f;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: #112240;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #233554;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #8892b0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #64ffda;
    outline: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    left: 0;
    font-size: 0.9rem;
    color: #64ffda;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid #64ffda;
    color: #64ffda;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-container {
        flex-direction: column;
        margin-top: 100px;
    }
    
    .hero-content,
    .hero-image {
        max-width: 100%;
    }

    .skills {
        padding: 3rem 1rem;
    }

    .contact {
        padding: 3rem 1rem;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .hero h1 {
        font-size: 2.5rem;
        top: 80px;
    }
}

/* About Section */
.about {
    padding: 5rem 3rem;
    background: #112240;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    background: #0a192f;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.about-content p {
    color: #8892b0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.key-points {
    margin-top: 2rem;
}

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

.point i {
    color: #64ffda;
    font-size: 1.2rem;
}

.point span {
    color: #ccd6f6;
    font-size: 1.1rem;
}

/* Update responsive design */
@media (max-width: 768px) {
    .about {
        padding: 3rem 1rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 3rem;
    background: #0a192f;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.project-card {
    background: #112240;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #e6f1ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #8892b0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    text-decoration: none;
    color: #64ffda;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #fff;
}

/* Update responsive design */
@media (max-width: 768px) {
    .projects {
        padding: 3rem 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Section */
.footer {
    background: #0a192f;
    padding: 2rem 0;
    border-top: 1px solid #233554;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #8892b0;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.social-links a:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

.copyright {
    color: #8892b0;
    font-size: 0.9rem;
}

/* Update responsive design */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
    }
    
    .social-links {
        gap: 1.5rem;
    }
} 