body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
background: #fff;
color: #000;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
}
header h1 {
font-size: 1.2rem;
margin: 0;
}
nav a {
margin-left: 20px;
text-decoration: none;
color: #000;
font-size: 1rem;
transition: color 0.3s ease, transform 0.3s ease;
display: inline-block;
}

nav a:hover {
color: #666;
transform: translateY(-2px);
}

.hero {
text-align: center;
margin-top: 100px;
}
.hero h2 {
font-size: 3rem;
   margin-bottom: 10px;
}
.hero p {
font-size: 1.2rem;
color: #333;
}
.about {
max-width: 800px;
margin: 100px auto;
padding: 0 20px;
}
.about h3 {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
    }
.about p {
font-size: 1.35rem;
line-height: 1.6;
color: #333;
text-align: center;
}

.social-footer {
  /* background-color: #f8f9fa; */
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.social-icons a {
  color: #666;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.social-icons a:hover {
  color: #333;
  transform: translateY(-2px);
}

.social-icons svg {
  width: 24px;
  height: 24px;
}

/* Contact Form Styles */
.contact-form {
  max-width: 800px;
  margin: 100px auto;
  padding: 0 20px;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-form p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

.contact-form-element {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #666;
}

.submit-btn {
  background-color: #333;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: block;
  margin: 30px auto 0;
}

.submit-btn:hover {
  background-color: #555;
  transform: translateY(-2px);
}

.contact-info {
  margin-top: 60px;
  text-align: center;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Projects Page Styles */
.projects {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

.projects h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.projects p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #666;
}

.project-image {
  height: 150px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-image {
  font-size: 3rem;
  opacity: 0.6;
}

.project-content {
  padding: 20px;
}

.project-content h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
}

.project-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: left;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: #f0f0f0;
  color: #333;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-link {
  display: inline-block;
  background: #333;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.project-link:hover {
  background: #555;
  transform: translateY(-2px);
}

.logo-link {
  text-decoration: none;
}

.logo {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    height: 80px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    margin: 20px 0;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
    padding: 10px 0;
  }

  /* Overlay for when menu is open */
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-card {
    margin: 0 10px;
  }

  .hero {
    padding: 0 20px;
    margin-top: 80px;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  /* padding for other sections on mobile */
  .about {
    padding: 0 20px;
  }
  
  .contact-form {
    padding: 0 20px;
  }
  
  .projects {
    padding: 0 20px;
  }
  
  nav a {
    margin: 0 10px;
  }
}

/* Even smaller screens */
@media (max-width: 480px) {
  .hero {
    padding: 0 15px;
    margin-top: 60px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .about, .contact-form, .projects {
    padding: 0 15px;
  }
  
  header {
    padding: 10px 15px;
  }
  
  .logo {
    height: 80px;
  }
}
