*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Comic Sans MS', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.logo {
    font-size: 35px;
    font-weight: bold;
    color: #fff;
}

.navbar {
    margin-left: 480px;
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar ul li a {
    color: #fff;
    transition: 0.4s;
}

.navbar ul li a:hover {
    color: blue;
    text-decoration: underline;
}

.btn {
    border: none;
    outline: none;
    background-color: yellowgreen;
    color: #000;
    font-size: 16px; /* Reduced font size */
    font-weight: bold;
    border-radius: 4px; /* Smaller border radius */
    padding: 8px 16px; /* Reduced padding */
    cursor: pointer;
    box-shadow: 0 0 8px blue; /* Slightly reduced shadow */
    transition: 0.3s;
}

/* From Uiverse.io by Navarog21 */ 
button {
    width: 10em;
    position: relative;
    height: 3.5em;
    border: 3px ridge #149CEA;
    outline: none;
    background-color: transparent;
    color: white;
    transition: 1s;
    border-radius: 0.3em;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }
  
  button::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
   
    transition: 0.5s;
    transform-origin: center;
  }
  
  button::before {
    content: "";
    transform-origin: center;
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    
    transition: 0.5s;
  }
  
  button:hover::before, button:hover::after {
    transform: scale(0)
  }
  
  button:hover {
    box-shadow: inset 0px 0px 25px #1479EA;
  }

/* Hero Section */
.hero {
    width: 100%;
    height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.hero-content {
    padding-left: 120px;
}

.hero-content p {
    color: whitesmoke;
    font-size: 15px;
    font-weight: bold;
    width: 90%;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: bold;
    color: #fff;
}

.hero-content h3 {
    font-size: 40px;
    font-weight: bold;
    color: yellowgreen;
}

.social-me {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.bttt {
    border: 1.3px solid white;
    outline: none;
    background-color: transparent;
    font-size: 19px;
    font-weight: bold;
    box-shadow: 0 0 10px white;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.4s;
}

.bttt:hover {
    background-color: rgb(15, 239, 15);
    color: #f30e0e;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-media li {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.3px solid white;
    outline: none;
    box-shadow: 0 0 10px white;
    background-color: transparent;
    font-size: 17px;
    transition: 0.4s;
    cursor: pointer;
    border-radius: 50%;
}

.social-media li a {
    color: #fff;
    font-size: 19px;
}

.social-media li:hover {
    scale: 1.1;
    box-shadow: 0 22px 30px yellowgreen;
}

.image img{
    width: 330px;
    height: 330px;
    background-color: transparent;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 50%; */
    margin-right: 50px;
}

.image img {
    width: 330px;
    height: 328px;
    /* border-radius: 50%; */
    /* box-shadow: 0 22px 30px white; */
}

/* About Section */
#about {
    padding: 50px 20px;
    text-align: center;
    color: #ccc;
}

#about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#about p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.skills {
    margin-top: 30px;
}

.skills h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.skills ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.skills ul li {
    background-color: yellowgreen;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

/* Services Section */
#services {
    padding: 50px 20px;
    text-align: center;
    color: #ccc;
}

#services h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    transition: 0.4s;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.service h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service p {
    font-size: 16px;
    margin-bottom: 20px;
}

.service button {
    background-color: yellowgreen;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.4s;
}

.service button:hover {
    background-color: green;
}

/* Projects Section */
#projects {
    padding: 50px 20px;
    text-align: center;
    color: #ccc;
}

#projects h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.project {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    transition: 0.4s;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.project h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project p {
    font-size: 16px;
    margin-bottom: 20px;
}

.project button {
    background-color: yellowgreen;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.4s;
}

.project button:hover {
    background-color: rgb(177, 28, 247);
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    text-align: center;
    color: #ccc;
}

#contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#contact p {
    font-size: 18px;
    margin-bottom: 30px;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #222;
    color: #fff;
    font-size: 16px;
}

#contact-form textarea {
    resize: vertical;
    height: 150px;
}

#contact-form button {
    background-color: yellowgreen;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.4s;
}

#contact-form button:hover {
    background-color: green;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background-color: #222;
    margin-top: 50px;     
}

footer p {
    font-size: 16px;
    color: #f3f0f0;
}

/* Light Mode */
.light-mode {
    background-color: #46cae4(211, 76%, 50%);
    color: #000000;
}

.light-mode header {
    background-color: #070b06f8;
}

.light-mode .btn {
    box-shadow: 0 0 10px black;
}

.light-mode .hero-content h2 {
    color: #333;
}

.light-mode .social-media li {
    box-shadow: 0 0 10px black;
}

.light-mode .service, 
.light-mode .project {
    background-color: #ddd;
    color: black;
}

.light-mode footer {
    background-color: #a714d8;
}

#testimonials {
    text-align: center;
    padding: 50px 20px;
}

.testimonial {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 50%;
    box-shadow: 0 0 10px yellowgreen;
}

/* Media Queries for Mobile Screens */
@media (max-width: 768px) {
    .navbar {
        margin-left: 0;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .image {
        margin: 20px 0;
    }

    .services-container, .projects-container {
        flex-direction: column;
        gap: 20px;
    }

    .service, .project {
        width: 100%;
    }

    .social-me {
        flex-direction: column;
        gap: 20px;
    }

    .social-media {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .bttt {
        width: 100%;
        text-align: center;
    }
}
.navbar {
    width: 100%;
    max-width: 600px; /* Adjust width */
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .navbar {
        position: absolute;
        top: 50px; /* Adjust as needed */
        left: 0;
        width: 100%;
        background: black;
        display: flex;
        flex-direction: column;
    }

    .navbar ul {
        display: none; /* Hide by default */
    }

    .navbar.active ul {
        display: flex; /* Show when active */
        flex-direction: column;
        gap: 10px;
    }
}
/* Center the menu button */
/* General Styles */
body {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    font-family: "Comic Sans MS", cursive; /* Your preferred font */
}

/* Center the menu button */
.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    text-align: center;
    display: block;
    padding: 10px;
    margin: 0 auto;
    color: #00ffff; /* Neon cyan */
    border: 2px solid #00ffff;
    background: transparent;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

/* Menu button hover effect */
.menu-toggle:hover {
    background: #00ffff;
    color: #000;
}

/* Center the menu items when displayed */
.navbar ul {
    list-style: none;
    padding: 10px;
    margin: 0;
    display: none; /* Hide the menu initially */
    text-align: center;
    background: rgba(0, 0, 0, 0.8); /* Slightly transparent dark background */
    border: 2px solid #00ffff;
    border-radius: 10px;
}

/* Show menu when active */
.show-menu {
    display: block !important;
}

/* Style menu items */
.navbar ul li {
    margin: 10px 0;
}

/* Style menu links */
.navbar ul li a {
    text-decoration: none;
    color: #ff00ff; /* Neon magenta */
    font-size: 18px;
    font-weight: bold;
    display: block;
    padding: 8px;
    transition: 0.3s ease-in-out;
}

/* Hover effect for menu links */
.navbar ul li a:hover {
    color: #00ffff; /* Neon cyan */
    text-shadow: 0px 0px 10px #00ffff;
}

/* Media query for desktop */
@media (min-width: 768px) {
    .navbar ul {
        display: flex;
        justify-content: center;
        background: transparent;
        border: none;
    }
    .menu-toggle {
        display: none; /* Hide menu button on large screens */
    }
    .navbar ul li {
        margin: 0 15px;
    }
}