@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600;700&display=swap');
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

* {
  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;
}
/* Main Section */
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 100px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  flex:1;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.text p {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 20px;
}
.text h1 {
  font-size: 60px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}
/* Button */
.btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #0056b3;
}
/* Footer */
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);
}
.text .tagline {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  max-width: 700px;
  margin: 0 auto 25px;
  font-weight: 400;
}

/* 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;
  }
  .main {
    padding: 30px 20px;
    flex-direction: column;
  }
  .text h1 {
    font-size: 44px;
  }
  .text p {
    font-size: 18px;
  }
}
/* 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;
}
