
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .footer {
    margin: 0 auto;
    padding: 20px 20px;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
  }
  
  header h1 {
    float: left;
  }
  
  nav {
    float: right;
  }
  
  nav ul {
    list-style: none;
  }
  
  nav ul li {
    display: inline;
    margin-left: 20px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  .hero {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('hero.jpg');
    background-size: cover;
    color: #fff;
    padding: 50px 0;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.2em;
  }
  
  .about {
    background-color: #f9f9f9;
    padding: 25px 0;
  }
  
  
.projects {
    padding: 25px 0;
    background-color: #fff;
    text-align: center;
  }
  
  .projects h2 {
    margin-bottom: 50px;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    text-align: center;
    align-items: center;
  }
  
  .project {
    text-align: center; 
  }
  
  .project img {
    width: 50%;
    max-width: 300px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .project h3 {
    margin-top: 20px;
    font-size: 1.5em;
  }
  
  .project p {
    color: #777;
  }
  
  .contact {
    padding: 25px 0;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .contact h2 {
    margin-bottom: 50px;
  }
  
  .contact form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact input,
  .contact textarea {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
  }
  
  .contact button[type="submit"] {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2em;
    text-transform: uppercase;
  }
  
  .contact button[type="submit"]:hover {
    background-color: #ff4f4f;
  }
  
  @media (max-width: 768px) {
    header {
      padding: 10px 0;
    }
  
    header h1 {
      font-size: 1.5em;
    }
  
    nav {
      float: right;
      /* text-align: right; */
      margin-top: 10px;
    }
  
    nav ul li {
      /* display: block; */
      margin: 10px 5px;
    }
  
    .hero h2 {
      font-size: 2em;
    }
  
    .hero p {
      font-size: 1em;
    }
  
    .project img {
      max-width: 200px;
    }
  
    .contact input[type="submit"] {
      padding: 15px 30px;
    }
  }

.gallery {
    padding: 25px 0;
    background-color: #f4f4f4;
    text-align: center;
  }
  
  .gallery h2 {
    margin-bottom: 50px;
  }
  
  .image-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .img {
    padding-bottom: 16px;
  }
  
  .image-container {
    margin: 10px;
  }
  
  .image-container img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
  }
  
  .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
  }
  
  .close {
    color: #fff;
    font-size: 30px;
    position: absolute;
    top: 15px;
    right: 35px;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  .social-icons {
    margin-top: 20px;
  }
  
  .social-icons a {
    display: inline-block;
    margin-right: 10px;
  }
  
  .social-icons img {
    width: 30px; /* Adjust size as needed */
    height: auto;
  }
  
  @media (max-width: 480px) {
    .hero h2 {
      font-size: 1.5em;
    }
  
    .hero p {
      font-size: 0.9em;
    }
  
    .project img {
      max-width: 150px;
    }
  
    .contact input[type="submit"] {
      padding: 15px 20px;
      font-size: 1em;
    }
  }
  