/* General Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
    background: black;
    color: white;
}

/* Canvas for Twinkling Stars */
#starsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Full width */
    height: 60px; /* Height of navbar */
    z-index: -1;
}

/* Navbar for Larger Screens */
.sidebar {
    width: 100vw;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 10;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    display: block;
    padding: 10px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

/* Hamburger Menu */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 30px; /* Move to right */
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        justify-content: flex-end;
        padding-right: 20px;
    }

    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 10px;
        background: rgba(0, 0, 0, 0.8);
        width: 200px;
        padding: 10px;
        border-radius: 10px;
        flex-direction: column;
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links.show {
        display: flex;
    }
}
/* About Section */
#about {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Column */
.about-left {
    width: 40%;
    background: rgba(24, 24, 24, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-left h2 {
    font-size: 80px;
    margin: 0;
    font-weight: bold;
}

.about-left h3 {
    font-size: 50px;
    margin: 0;
}

/* Right Column */
.about-right {
    width: 60%;
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box; /* Ensures padding doesn’t cause overflow */
    overflow: hidden; /* Prevents any text from going out */
}

.about-right p {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'IBM Plex Sans', sans-serif;
    word-wrap: break-word; /* Ensures text wraps properly */
}

/* Responsive Fix */
@media (max-width: 768px) {
    .about-right {
        width: 100%;
        padding: 30px;
    }

    .about-right p {
        font-size: 16px;
    }
}

.about-right h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&display=swap');

.about-right p {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'IBM Plex Sans', sans-serif;
    word-wrap: break-word; /* Ensures text wraps properly */
}

/* Responsive Design */
@media (max-width: 768px) {
    #about {
        flex-direction: column;
        height: auto;
    }

    .about-left {
        width: 100%;
        height: 200px;
    }

    .about-left h2 {
        font-size: 60px;
    }

    .about-left h3 {
        font-size: 40px;
    }

    .about-right {
        width: 100%;
        padding: 30px;
    }
}
/* Services Section */
#services {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Column */
.services-left {
    width: 40%;
    background: rgba(24, 24, 24, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services-left h2 {
    font-size: 80px;
    margin: 0;
    font-weight: bold;
}

.services-left h3 {
    font-size: 50px;
    margin: 0;
}

/* Right Column */
.services-right {
    width: 60%;
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box;
    overflow: hidden;
}

.services-right h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.service h3 {
    font-size: 24px;
    margin-top: 20px;
}

.service p {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'IBM Plex Sans', sans-serif;
    word-wrap: break-word;
}

/* Responsive Design */
@media (max-width: 768px) {
    #services {
        flex-direction: column;
        height: auto;
    }

    .services-left {
        width: 100%;
        height: 200px;
    }

    .services-left h2 {
        font-size: 60px;
    }

    .services-left h3 {
        font-size: 40px;
    }

    .services-right {
        width: 100%;
        padding: 30px;
    }

    .service h3 {
        font-size: 20px;
    }

    .service p {
        font-size: 16px;
    }
}
/* Skills Section */
#skills {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Column */
.skills-left {
    width: 40%;
    background: rgba(24, 24, 24, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skills-left h2 {
    font-size: 80px;
    margin: 0;
    font-weight: bold;
}

.skills-left h3 {
    font-size: 50px;
    margin: 0;
}

/* Right Column */
.skills-right {
    width: 60%;
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box;
    overflow: hidden;
}

.skills-right h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.skill h3 {
    font-size: 24px;
    margin-top: 20px;
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: rgba(24, 24, 24, 0.5);
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #skills {
        flex-direction: column;
        height: auto;
    }

    .skills-left {
        width: 100%;
        height: 200px;
    }

    .skills-left h2 {
        font-size: 60px;
    }

    .skills-left h3 {
        font-size: 40px;
    }

    .skills-right {
        width: 100%;
        padding: 30px;
    }

    .skill h3 {
        font-size: 20px;
    }

    .progress {
        height: 6px;
    }
}
/* Projects Section */
#projects {
    display: flex;
    width: 100%;
    min-height: 100vh; /* Use min-height instead of height */
    overflow: hidden; /* Prevent double scrollbar */
}

/* Left Column */
.projects-left {
    width: 40%;
    background: rgba(24, 24, 24, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projects-left h2 {
    font-size: 80px;
    margin: 0;
    font-weight: bold;
}

.projects-left h3 {
    font-size: 50px;
    margin: 0;
}

/* Right Column */
.projects-right {
    width: 60%;
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box;
    overflow-y: auto; /* Allow scrolling only within this column */
}

.projects-right h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.project {
    margin-bottom: 30px;
}

.project h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.project p {
    font-size: 18px;
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Button */
.project-btn {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover Effect */
.project-btn:hover {
    background: white;
    color: black;
    border: 2px solid black;
}

/* Responsive Design */
@media (max-width: 768px) {
    #projects {
        flex-direction: column;
        height: auto;
    }

    .projects-left {
        width: 100%;
        height: 200px;
    }

    .projects-left h2 {
        font-size: 60px;
    }

    .projects-left h3 {
        font-size: 40px;
    }

    .projects-right {
        width: 100%;
        padding: 30px;
    }

    .project h3 {
        font-size: 20px;
    }

    .project p {
        font-size: 16px;
    }

    .project-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}
/* Resume Section */
#resume {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Column */
.resume-left {
    width: 40%;
    background: rgba(24, 24, 24, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.resume-left h2 {
    font-size: 80px;
    margin: 0;
    font-weight: bold;
}

.resume-left h3 {
    font-size: 50px;
    margin: 0;
}

/* Right Column */
.resume-right {
    width: 60%;
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box;
}

.resume-right h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.resume-right p {
    font-size: 18px;
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Download Button */
.resume-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 220px;
    text-align: center;
}

/* Button Hover Effect */
.resume-btn:hover {
    background: white;
    color: black;
}

/* SVG Icon */
.download-icon {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #resume {
        flex-direction: column;
        height: auto;
    }

    .resume-left {
        width: 100%;
        height: 200px;
    }

    .resume-left h2 {
        font-size: 60px;
    }

    .resume-left h3 {
        font-size: 40px;
    }

    .resume-right {
        width: 100%;
        padding: 30px;
        text-align: center;
    }

    .resume-right p {
        font-size: 16px;
    }

    /* Button for Smaller Screens */
@media (max-width: 768px) {
    .resume-btn {
        font-size: 16px;
        padding: 14px 0;
        width: 80%; /* Adjusting width for better touch accessibility */
        max-width: 300px; /* Prevents it from being too wide */
        margin: 0 auto; /* Centers the button */
        display: flex;
        justify-content: center;
    }
}
}
/* Connect Section */
#connect {
    display: flex;
    height: 100vh;
}

/* Left Column */
.connect-left {
    width: 40%;
    background: rgba(24, 24, 24, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.connect-left h2 {
    font-size: 80px;
    margin: 0;
    font-weight: bold;
}

.connect-left h3 {
    font-size: 50px;
    margin: 0;
}

/* Right Column */
.connect-right {
    width: 60%;
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box;
}

.connect-right h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    width: 90%;
    padding: 12px;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif;
    outline: none;
}

/* Textarea */
textarea {
    resize: none;
    height: 120px;
}

/* Send Button */
.send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 400px;
    text-align: center;
}

/* Button Hover Effect */
.send-btn:hover {
    background: white;
    color: black;
}

/* SVG Icon */
.send-icon {
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #connect {
        flex-direction: column;
        height: auto;
    }

    .connect-left {
        width: 100%;
        height: 200px;
    }

    .connect-left h2 {
        font-size: 60px;
    }

    .connect-left h3 {
        font-size: 40px;
    }

    .connect-right {
        width: 100%;
        padding: 30px;
        text-align: center;
    }

    input, textarea {
        font-size: 14px;
    }

    .send-btn {
        font-size: 16px;
        padding: 12px 25px;
        width: 300px;
    }
}
footer {
    background-color: rgba(24, 24, 24, 0.5);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.copyright {
    font-size: 14px;
}

