/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, blue 0%, blue 25%, white 25%, white 75%, pink 75%, pink 100%);
}

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
}

/* Container to keep content centered and with a white background */
.container {
    background-color: #ffffff;
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}

/* Desktop nav */
#desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #ffffff; /* White background for nav */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for nav */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

a:hover {
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
}

.logo:hover {
    cursor: default;
}

/* Hamburger menu */
#hamburger-nav {
    display: none; /* Hide hamburger menu by default */
    flex-direction: column;
    align-items: center;
    background-color: #ffffff; /* Match desktop nav background */
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin: 10px 0;
}

.hamburger-icon span {
    height: 3px;
    width: 25px;
    background: black;
    margin: 4px 0;
    transition: 0.4s;
}

.menu-links {
    display: none;
    flex-direction: column;
    align-items: center; /* Center align the menu items */
}

.menu-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-links li {
    margin: 15px 0; /* Add more space between items */
}

.menu-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 20px; /* Add padding to the links */
    border-radius: 5px; /* Round the corners */
    transition: background-color 0.3s ease; /* Smooth background transition */
}

.menu-links a:hover {
    background-color: #ddd; /* Change background on hover */
}

#hamburger-nav.active .menu-links {
    display: flex;
}

/* Media queries */
@media (max-width: 768px) {
    body {
        background: #ffffff; /* Change background to white on mobile */
    }

    #desktop-nav {
        display: none;
    }

    #hamburger-nav {
        display: flex;
    }
}

@media (min-width: 769px) {
    #hamburger-nav {
        display: none;
    }
}

img {
    border-radius: 50%;
    width: 150px; /* Increased size for more prominence */
    height: 150px; /* Increased size for more prominence */
    object-fit: cover; /* Ensures the image fits within the dimensions */
}

section {
    padding: 20px;
    background-color: #ffffff; /* White background for section */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for section */
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
}

.section-container {
    display: flex;
    flex-direction: column; /* Changed to column for a vertical layout */
    align-items: center; /* Center align all items */
    gap: 20px;
}

.section__text__p1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-details-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.details-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.text-container {
    max-width: 600px;
    text-align: left;
}

.arrow {
    margin-top: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease; /* Smooth scaling effect on hover */
}

.arrow:hover {
    transform: scale(1.1); /* Slightly enlarge the arrow on hover */
}

/* Original profile section styles */
#profile {
    display: flex;
    flex-direction: column; /* Changed to column for a vertical layout */
    align-items: center; /* Center align all items */
    gap: 2rem;
    padding-top: 5rem;
    height: 100vh;
    background-color: #ffffff; /* Set background color to white */
}

.section__pic__container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px; /* Ensure the container size matches the image size */
    height: 150px; /* Ensure the container size matches the image size */
}

.section__text {
    text-align: center;
}

.section__text__p1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section__text__p2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent; /* Add an initial border */
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Add transition for smooth hover effect */
}

.btn-color-1 {
    background-color: #007bff;
    color: white;
}

.btn-color-1:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #ffffff; /* Text color change if needed */
    border-color: #0056b3; /* Change border color on hover */
}

.btn-color-2 {
    background-color: #6c757d;
    color: white;
}

.btn-color-2:hover {
    background-color: #5a6268; /* Darker grey on hover */
    color: #ffffff; /* Text color change if needed */
    border-color: #5a6268; /* Change border color on hover */
}

/* Social icon hover effect */
.icon {
    cursor: pointer;
    height: 2rem;
    width: 2rem;
    transition: transform 0.3s ease; /* Smooth scaling effect on hover */
    margin-top: 1rem; /* Add margin to move the icon down */
}

.icon:hover {
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

/* General image styles */
img {
    border-radius: 50%;
    object-fit: cover; /* Ensures the image fits within the dimensions */
}

/* Specific styles for profile picture */
.profile-pic {
    width: 200px; /* Adjust width */
    height: 200px; /* Adjust height */
}

/* Specific styles for about section picture */
.about-pic {
    width: 268px; /* Adjust width */
    height: 268px; /* Adjust height */
}

#Experience {
    padding: 50px 20px;
    text-align: center;
}

.experience-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items at the top */
    gap: 20px; /* Space between columns */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-top: 20px;
}

.experience-category {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px; /* Set a fixed width for each category */
}

.experience-category h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.experience-item img.icon {
    margin-right: 10px;
}

.experience-details h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.experience-details p {
    font-size: 1rem;
    color: #555;
}

#OtherDevelopment {
    margin-top: 30px;
    text-align: left;
}

#OtherDevelopment h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.experience-item img.icon {
    margin-right: 10px;
}

.experience-details {
    text-align: left;
}

.experience-details h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.experience-details p {
    font-size: 1rem;
    color: #555;
}

.experience-box {
    border: 2px solid rgb(196, 14, 14);
    padding: 10px;
    margin: 10px;
    border-radius: 5px; /* Optional: for rounded corners */
}

/* Projects Section */
#Projects {
    padding: 50px 20px;
    text-align: center;
}

.projects-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.project-card img.project-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.project-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* Contact Section */
#Contact {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px; /* Adjusted width to match other elements */
    margin: 50px auto;
    width: 90%; /* Ensures it scales nicely on smaller screens */
}

.contact-container {
    margin: 0 auto;
}

.contact-container h2 {
    margin-bottom: 20px;
    font-size: 2.5em;
    color: #333;
}

.contact-container p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.contact-container ul {
    list-style: none;
    padding: 0;
}

.contact-container li {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.contact-container a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
}

.contact-container a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.contact-container li:hover {
    color: #007BFF;
}



alert {
    font-weight: bold;
}



/* Add this to your styles.css */
body {
    margin: 0;
    font-family: Arial, sans-serif;
  }
  
  #desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
  }
  
  #desktop-nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  #desktop-nav .nav-links li {
    margin-left: 20px;
  }
  
  #desktop-nav .nav-links a {
    color: white;
    text-decoration: none;
  }
  
  #hamburger-nav {
    display: none; /* Hide the hamburger nav by default */
    flex-direction: column;
    align-items: flex-start;
    background-color: #333;
    color: white;
    padding: 10px 20px;
  }
  
  #hamburger-nav .hamburger-icon {
    cursor: pointer;
  }
  
  #hamburger-nav .hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
  }
  
  .menu-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    width: 100%;
    max-height: 100vh; /* Ensure the menu does not exceed the viewport height */
    overflow-y: auto; /* Enable vertical scrolling if the content exceeds the viewport height */
  }
  
  .menu-links.active {
    display: flex; /* Show menu links when active */
  }
  
  .menu-links .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  .menu-links .nav-links li {
    margin: 10px 0;
    width: 100%;
  }
  
  .menu-links .nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
    width: 100%;
    text-align: center;
  }
  
  @media (max-width: 768px) {
    #desktop-nav {
      display: none; /* Hide the desktop nav on small screens */
    }
  
    #hamburger-nav {
      display: flex; /* Show the hamburger nav on small screens */
    }
  }













  