/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #ffffff;
    text-align: center;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #161b22;
    position: fixed;
    width: 98%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding-top: 20px; /* Adjust this value */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e52259;
}

@media (max-width: 768px) {
    header {
        padding: 10px; /* Reduce padding */
    }

    .logo {
        font-size: 18px; /* Smaller logo */
    }

    nav ul {
        gap: 10px; /* Reduce spacing */
    }
}


nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        display: none; /* Hide initially */
    }
    nav ul.show {
        display: flex; /* Show when toggled */
    }
}


nav ul li a {
    color: #e52259;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #58a6ff;
}

@media (max-width: 768px) {
    nav ul {
        display: none; /* Hide initially */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background: #161b22;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    nav ul.show {
        display: flex; /* Show when toggled */
    }

    nav ul li {
        padding: 10px 0;
    }
}

h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #e52259;
}


/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    background-size: contain;
    color: rgb(8, 8, 8);
    text-align: center;
    flex-direction: column;
    padding: 30px 20px;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px 20px 20px; /* Push content below fixed header */
    }
}


h1 {
    color: rgb(8, 8, 8);
}

.hero img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin-bottom: 10px;
    margin-top: 100px;
    transition: transform 0.3s;
}
@media (max-width: 768px) {
    .hero img {
        margin-top: 50px; /* Reduce margin for better spacing */
        width: 300px; /* Scale image down on small screens */
    }
}


.hero img:hover {
    transform: scale(1.15);
}

.hero-content h1 {
    font-size: 28px;
    margin: 20px 0
}

.hero-content .highlight {
    color: #e52259;
}

.btn {
    background: #e52259;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 60px;
    margin-bottom: 10px;
    transition: background 0.3s;
}

.btn:hover {
    background: #6a0c27;
}

.cursor {
    width: 10px;
    height: 10px;
    background: #e52259;
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    z-index: 9999;
}

@keyframes cursorGlow {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}


/* About Section */
.about {
    background-color: #ffffff;
    min-height: auto; /* Remove fixed height */
    padding: 80px 20px; /* Reduce padding */
    padding-bottom: 20px; /* Reduce bottom spacing */
    margin-bottom: 0; /* Remove extra margin */
}

.about img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .about img {
        width: 300px;
    }
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    margin-top: 10px;
    display: flex;
    gap: 10px; /* Space between icons */
}

.social-links a img {
    width: 30px; /* Adjust icon size */
    height: 30px;
    transition: transform 0.3s ease;
}

.social-links a img:hover {
    transform: scale(1.2); /* Slight zoom effect on hover */
}

.vertical-divider {
    width: 3px;
    height: 480px;
    background-color: #e52259;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 32px;
    margin-bottom: 22px;
    color: #000000;
    margin-top: 0.05cm;
    margin-left: 0px;
}

@media (max-width: 768px) {
    .about-text h1 {
        font-size: 16px;
    }
}


/* Project Section */
.Experience {
    background-color: #ffffff;
    min-height: auto; /* Remove fixed height */
    padding: 60px 20px; /* Reduce padding */
    padding-top: 20px; /* Reduce top spacing */
    margin-top: 0; /* Remove extra margin */
}

.project-grid {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 325px));
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 120px)); /* One column layout on mobile */
    }
}


.project-card {
    background: #e52259;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

@media (max-width: 768px) {
    .project-card {
        padding: 20px;
    border-radius: 10px;
    
    }
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
}

.contact-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px; /* Missing closing bracket */
}

.contact-note {
    flex: 1;
}

.contact-note h1 {
    font-size: 30px;
    margin-bottom: 22px;
    color: #000000;
    margin-top: 20px;
    margin-left: 0px;
}

@media (max-width: 768px) {
    .contact-note h1 {
        font-size: 18px;
    }
}


.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
    width: 500%; /* Use 100% instead of 300% */
    max-width: 400px; /* Set a reasonable max width */
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #e52259;
    border-radius: 5px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .contact-form input, 
.contact-form textarea {
        width: 130%;
    }
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    background: #e52259;
    color: white;
    padding: 10px 15px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #6a0c27;
}

html {
    scroll-padding-top: 100px; /* Adjust for fixed header */
}


@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stack About section */
    }

    .vertical-divider {
        display: none; /* Hide divider on mobile */
    }

    .contact-container {
        flex-direction: column;
        gap: 20px; /* Reduce gap */
    }

    .project-grid {
        grid-template-columns: 1fr; /* Make projects single column */
    }
}

@keyframes floatEffect {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.logo {
    animation: floatEffect 3s infinite ease-in-out;
}

.parallax {
    background: url('your-image.jpg') no-repeat center center/cover;
    height: 100vh; /* Full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    
    /* Parallax Effect */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
        background-size: cover;
    }
}
