* {
  scroll-behavior: smooth;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #0D1117;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0D1117;
  padding: 20px 80px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

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

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffdd57;
}

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  background: linear-gradient(to right, #0D1117 20%, #1C2A35 50%, #34495E 100%);
}

.hero-text {
  max-width: 50%;
  color: #fff;
}

.hero-text h1 {
  font-size: 50px;
  margin: 10px 0;
  font-weight: bold;
  color: cornsilk;
}

.hero-text .study {
  font-size: 30px;
  color: cornsilk;
  margin: 25px 0 10px 0;
}

.hero-text p {
  font-size: 20px;
  color: rgb(245, 241, 229);
  margin: 15px 0;
}

.hero-text .button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #ffce00;
  color: #111;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.hero-text .button:hover {
  background: #ffaa00;
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.hero-img img {
  height: 100%;
  max-height: 100vh;
  width: 600px;
  border-radius: 40px;
  box-shadow: 0 0 10px;
  object-fit: cover;
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  background: linear-gradient(to right, #16222A 20%, #3A6073 80%);
  color: #E0E0E0;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  padding-left: 25px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #d4cfcf;
  padding-left: 25px;
}

.about-photo {
  display: flex;
  justify-content: center;
}

.about-photo img {
  max-width: 350px;
  border-radius: 30px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.projects {
  padding: 40px 80px;
  background: linear-gradient(to right, #0F2027 20%, #203A43 60%, #2C5364 100%);
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background-color: #1a2a3a;
  border-radius: 16px;
  overflow: hidden;
  flex: 1 1 300px;
  max-width: 320px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #fff;
  padding: 20px;
}

.project-card h3 {
  font-size: 1.3rem;
  margin: 10px;
}

.project-card p {
  margin: 15px 20px;
  line-height: 1.5;
  color: #d1d1d1;
}

.project-card .btn {
  display: block;
  background-color: #3a7bd5;
  color: white;
  text-align: center;
  padding: 12px 0;
  margin: 15px 20px 20px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.project-card .btn:hover {
  background-color: #559cf6;
}

.contact {
  padding: 80px 10%;
  background: linear-gradient(to right, #16222A 20%, #3A6073 80%);
  color: #E0E0E0;
  text-align: center;
}

.contact h3 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #dcdcdc;
}

.contact p {
  margin-bottom: 40px;
  color: #cccccc;
  font-size: 18px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-links a {
  display: inline-block;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: #E0E0E0;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s, transform 0.3s;
}

.contact-links a:hover {
  background: #00bfa6;
  color: #fff;
  transform: translateY(-5px);
}

.footer {
  background: linear-gradient(to right, #0D1117 20%, #1E2A38 80%);
  color: #aaaaaa;
  text-align: center;
  padding: 20px 10%;
  font-size: 14px;
}

.footer p {
  margin: 10px 0;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00bfa6;
}


@media (max-width: 1024px) {
  .navbar {
    padding: 20px 40px;
  }

  .hero {
    padding: 0 5%;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text .study {
    font-size: 25px;
  }

  .hero-img img {
    width: 450px;
  }

  .about {
    padding: 60px 5%;
  }

  .projects {
    padding: 40px 40px;
  }
}


@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 20px;
  }

  .nav-links {
    gap: 15px;
    font-size: 14px;
  }

  .hero {
    flex-direction: column;
    padding: 100px 5% 40px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text .study {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-img {
    justify-content: center;
    margin-top: 0;
  }

  .hero-img img {
    width: 100%;
    max-width: 400px;
    max-height: 500px;
  }

  .about {
    flex-direction: column;
    padding: 50px 5%;
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
    padding-left: 0;
    padding-top: 30px;
  }

  .about-text p {
    padding-left: 0;
  }

  .about-photo {
    margin-top: 30px;
  }

  .about-photo img {
    max-width: 280px;
  }

  .projects {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .projects-container {
    gap: 20px;
  }

  .contact {
    padding: 60px 5%;
  }

  .contact h3 {
    font-size: 28px;
  }

  .contact p {
    font-size: 16px;
  }

  .contact-links {
    gap: 15px;
  }

  .contact-links a {
    font-size: 16px;
    padding: 10px 20px;
  }
}


@media (max-width: 480px) {
  .navbar {
    padding: 12px 15px;
  }

  .logo {
    font-size: 18px;
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .hero {
    padding: 80px 5% 30px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text .study {
    font-size: 18px;
    margin: 15px 0 10px 0;
  }

  .hero-text p {
    font-size: 14px;
    margin: 10px 0;
  }

  .hero-text .button {
    padding: 8px 20px;
    font-size: 14px;
  }

  .hero-img img {
    max-width: 300px;
    max-height: 400px;
    border-radius: 20px;
  }

  .about {
    padding: 40px 5%;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 14px;
    line-height: 1.5;
  }

  .about-photo img {
    max-width: 240px;
  }

  .projects {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .project-card {
    max-width: 100%;
  }

  .project-card h3 {
    font-size: 1.1rem;
  }

  .project-card p {
    font-size: 14px;
  }

  .contact {
    padding: 40px 5%;
  }

  .contact h3 {
    font-size: 24px;
  }

  .contact p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .contact-links {
    flex-direction: column;
    gap: 12px;
  }

  .contact-links a {
    font-size: 14px;
    padding: 10px 18px;
  }

  .footer {
    padding: 15px 5%;
    font-size: 12px;
  }

  .footer-links a {
    margin: 0 5px;
    font-size: 12px;
  }
}

