* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  background: white;
  color: black;
}

/* Navbar */
.navbar {
  background: black;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

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

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
}

.btn {
  background: black;
  color: white;
  font-weight: bold;
}

.nav-links a:hover {
  background: #333;
}

/* Scroll Snap */
.snap-container {
  scroll-snap-type: y mandatory;
}

.snap-child {
  scroll-snap-align: start;
}

/* Hero */
.hero {
  display: flex;
  height: 100vh;
}

.hero-left {
  flex: 1;
  background: white;
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hello {
  font-size: 22px;
}

.name {
  font-size: 48px;
  font-weight: bold;
  margin: 10px 0;
}

.title {
  font-size: 18px;
  color: #555;
}

.socials img {
  margin-right: 20px;
  filter: grayscale(100%);
  transition: 0.3s;
}

.socials img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.hero-right {
  flex: 1;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 70%;
  border: 5px solid white;
  border-radius: 10px;
}

/* Gradient ring wrapper around profile image */
.img-wrapper {
  margin: 20px;
  display: inline-block;
  padding: 5px;
  background: linear-gradient(45deg, #00d2ff, #3a47d5);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* optional: shadow */
}

/* Profile image styling */
.hero-img {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 5px solid white;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

/* Sections */
.section {
  min-height: 100vh;
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.section h2 {
  margin-bottom: 20px;
}

.section h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 15px;
}

.skills li {
  background: black;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project {
  width: 300px;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: auto;
}

.cv-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 16px;
  background: black;
  color: white;
  border-radius: 4px;
  text-decoration: none;
}

/* Contact Form Styling */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.contact-icons {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.contact-icons img {
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.contact-icons img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-delay-1 { animation-delay: 0.3s; }
.fade-delay-2 { animation-delay: 0.6s; }
.fade-delay-3 { animation-delay: 0.9s; }
.fade-delay-4 { animation-delay: 1.2s; }

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: black;
  color: white;
}
.footer {
  background-color: #f1f1f1;
  padding: 40px 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
}

.footer h2 {
  margin-bottom: 10px;
}

.footer p {
  margin: 5px 0;
}

.footer a {
  color: #333;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.contact-icons {
  margin: 20px 0;
}

.contact-icons a {
  margin: 0 10px;
  display: inline-block;
}
/* Responsive Navigation and Layout for Mobile */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    align-items: center; 
    padding: 40px 20px;
  }

  .hero-left {
    width: 100%;
    padding: 0;
  }

  .hero-right {
    width: 100%;
    padding: 0;
    margin-top: 20px;
  }

  .hero-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center;
  }

  .name {
    font-size: 32px;
  }

  .hello {
    font-size: 18px;
  }

  .title {
    font-size: 16px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    background: black;
    padding: 10px 0;
  }

  /* Show nav when hamburger is checked */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-left, .hero-right {
    padding: 30px;
  }

  .hero-img {
    width: 90%;
    margin: 20px auto 0;
  }

  .section {
    padding: 50px 20px;
  }

  .skills {
    flex-direction: column;
    gap: 10px;
  }

  .footer {
  padding: 30px 15px;
  font-size: 14px;
}

.contact-form {
  width: 100%;
  padding: 0 10px;
}

.contact-icons {
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

}