/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
  }
  
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
  }
  
  header {
    background-color: #333;
    color: #fff;
  }
  
  nav {
    position: sticky;
    top: 0;
    background-color: #333; /* Set the background color for the navbar */
    z-index: 100; /* Ensure the navbar is on top of other content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }
  
  nav ul {
    list-style: none;
    display: flex;
  }
  
  nav ul li {
    margin-right: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
  }
  
  .section {
    padding: 40px 0;
  }
  
  #home {
    animation: gradientChange 20s infinite alternate;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
  }
  
  @keyframes gradientChange {
    0%, 100% {
      background: linear-gradient(to bottom, #1a1a2e, #16213e, #0e3a52);
    }
    25% {
      background: linear-gradient(to bottom, #16213e, #0e3a52, #1a1a2e);
    }
    50% {
      background: linear-gradient(to bottom, #0e3a52, #1a1a2e, #16213e);
    }
    75% {
      background: linear-gradient(to bottom, #1a1a2e, #0e3a52, #16213e);
    }
    75% {
        background: linear-gradient(to bottom, #112731, #06334b, #7a8ea1, #74839b, );}
  }
  
  /* ... other styles ... */
  
  #home h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  #home p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 600px;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #89c1f5;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
  

  #about {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(to right, #1a1a2e, #0e3a52);
  }



  #about h2 {
    font-size: 2.5rem;
    color: #7693d3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  #about p {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.8;
  }

  #about a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7693d3;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  
 /* Project section styles */
.project {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .project img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .project h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .project p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
  }
  
  .project a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6bace0;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
  }
  
  .project a:hover {
    background-color: #6bace0;
  }

/* ... your existing styles ... */

/* ... your existing styles ... */

/* Contact form styles */
#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center; /* Center the text horizontally */
  }
  
  #contact p.contact-intro {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 30px;
    text-align: center; /* Center the text horizontally */
  }
  
  #contact form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the form items horizontally */
  }
  
  #contact input,
  #contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #f2f2f2;
    font-size: 1rem;
  }
  
  #contact textarea {
    resize: vertical;
  }
  
  #contact button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #7cd3df;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1rem;
  }
  
  #contact button:hover {
    background-color: #64b3d8;
  }
  
  /* ... your other styles ... */
  
  /* ... your existing styles ... */

/* Contact details styles */
.contact-details {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
  }
  
  .contact-info h3,
  .contact-social h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
  }
  
  .contact-social {
    display: flex;
    align-items: center;
  }
  
  .social-icon {
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s;
  }
  
  .social-icon img {
    width: 40px;
    height: 40px;
  }
  
  .social-icon:hover {
    transform: translateY(-5px);
  }
  
  /* ... your other styles ... */
  
  /* ... your existing styles ... */

/* Mobile menu styles */
.menu-toggle {
    display: none; /* Hide by default for larger screens */
    cursor: pointer;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px auto;
    transition: transform 0.3s, opacity 0.3s;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Media query for small screens */
  @media screen and (max-width: 768px) {
    .menu-toggle {
      display: block; /* Display hamburger menu for smaller screens */
      margin-right: 15px;
    }
  
    .menu {
      display: none; /* Hide the main menu for smaller screens */
      flex-direction: column;
      position: absolute;
      background-color: #fff;
      width: 100%;
      top: 80px;
      left: 0;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      border-radius: 5px;
      z-index: 1;
    }
  
    .menu.show {
      display: flex;
    }
  
    .menu li {
      margin: 0;
      padding: 15px;
      text-align: center;
      border-bottom: 1px solid #ddd;
    }
  }
  