@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Epilogue', sans-serif;
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  color: #2d2d2d;
}
/* Header */
header {
  width: 100%;
  height: 80px;
  padding: 0 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #9b9191;
}
header .logo {
  width: 70px;
  height: 70px;
  border-radius: 60%;
  object-fit: cover;
}
nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
nav ul li a {
  text-decoration: none;
  color: #263238;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}
nav ul li a.active,
nav ul li a:hover {
  color: #007bff;
}
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  cursor: pointer;
}
.menu-icon img {
  width: 30px;
  height: 30px;
}
.contact-section {
  padding: 40px 20px;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-section p {
  margin-bottom: 30px;
  color: #666;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.contact-form button {
  padding: 12px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}
footer {
  background-color: #f1f1f1;
  padding: 30px 20px;
  border-top: 1px solid #ccc;
  margin-top: 50px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-container p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}
.footer-container .social {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-container .social a {
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-container .social a:hover {
  color: #007bff;
  transform: scale(1.2);
}
/* Responsive */
@media (max-width: 768px) {
header {
    padding: 0 20px;
    position: relative;
  }
  .menu-icon {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: #ffffff;
    width: 100vw;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 20px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  #menu-toggle:checked + .menu-icon + nav {
    display: flex;
  }
}
/* Reveal on scroll */
.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.8s ease;
}
section, .skills, .timeline, .vision, .projects-section, .contact-section {
  opacity: 0;
  transform: translateY(40px);
}

/* Project Modal */
.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
.img-modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}
.img-modal .close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
