a {
  text-decoration: none;
  color: #2c3e50;
}

main {
  flex: 1;
}

.logo {
  font-size: 30px;
  font-weight: bold;
}

.featured-projects {
text-align: center;
}

h3 {
  text-align: center;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fc;
  color: #2c3e50;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  
  
}

header {
  background: linear-gradient(270deg, #74ABE2, #5563DE, #74ABE2);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: gradientMove 15s ease infinite;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header .container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

nav a {
  color: #ffffff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #00d8ff;
}

.hero {
  padding: 3rem 1rem;
  background: linear-gradient(to right, #f0f4f8, #dbeafe);
}

.hero .container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero .text {
  flex: 1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero h2 span {
  color: #5563DE;
}

.hero p {
  font-size: 1.1rem;
}


.hero img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  margin-top: 1rem;
}

.projects {
  padding: 3rem 1rem;
  background: #ffffff;
}

.projects .container {
  max-width: 1100px;
  margin: auto;
}

.projects h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #5563DE;
}

.project-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background:linear-gradient(270deg, hsl(210, 65%, 67%), #5563DE, #74ABE2);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
  color: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.contact {
  padding: 3rem 1rem;
  background: #e8eefc;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #1e1e2f;
  color: white;
  
  
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 18px;
  justify-content: center;
}
.hamburger span {
  height: 2px;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.close-btn {
  display: none;
}
/* Responsive styles */
@media (max-width: 768px) {
  header .container,
  .hero .container,
  .projects .container,
  .contact .container {
    flex-direction: column;
    text-align: center;
  }


 .logo {
  font-size: 24px;
 
 }

  nav {
    margin-top: 1rem;
  }
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  backdrop-filter: blur(12px);
  background: rgba(30,30,30,0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 8;
}
.overlay.active {
  opacity: 1;
  pointer-events: all;
}
    .nav-links {
      display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
    left: -100%;
     background: linear-gradient(270deg, #74ABE2, #5563DE, #74ABE2);
    animation: gradientMove 15s ease infinite;
    backdrop-filter: blur(12px);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    width: 100vw;
    height: 100vh;
    max-height: 300px;
    gap: 24px;
    transition: left 0.3s ease-in-out;
    z-index: 100;
    justify-content: center;
    align-items: center;
  }
  @keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
  .close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    transition: transfrom 0.3s ease;
    background: transparent;
    color: white;
    border: none;
    display: block;
    
  }
  .close-btn:hover {
    transform: rotate(90deg);
  }
  .nav-links.active {
    left: 0;
    
  }

  nav a {
  margin: 16px 0;
  text-align: center;
  }

  
.hamburger {
  display: flex;
  margin-left: 85%;
  position: fixed;
  
}
 

  .hero img {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .card {
    margin-bottom: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero h2 {
    font-size: 2.2rem;
  }

  .hamburger {
    display: none;
  }

  .project-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) and
(max-width: 1440px) {
  .hero h2 {
    font-size: 2.8rem;
  }
  
  .hamburger {
    display: none;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero img {
    width: 280px;
  }

  .project-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .card {
    padding: 2rem;
  }
  
  header .container {
    padding: 0 2rem;
  }
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
}

.contact-form {
  background: linear-gradient(270deg, hsl(210, 65%, 67%), #5563DE, #74ABE2);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 1rem;
  text-align: center;
  color: #1e1e2f;
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  background-color: #1e1e2f;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

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

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form button {
    width: 100%;
  }
}

   .socials {
      background-color: #f4f4f4;
      padding: 2rem 1rem;
      text-align: center;
    }

    .socials h3 {
      margin-bottom: 1rem;
      font-size: 1.5rem;
      color: #1e1e2f;
    }

    .social-icons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
    }

    .social-icons a {
      font-size: 1.6rem;
      color: #1e1e2f;
      transition: color 0.3s ease;
    }

    .social-icons a:hover {
      color: #0077ff;
    }

    footer {
      background-color: #1e1e2f;
      color: white;
      padding: 1rem;
      text-align: center;
      margin-top: auto;
    }

    @media (max-width: 768px) {
      .social-icons {
        flex-wrap: wrap;
        gap: 1rem;
      }
    }
