* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0a0a;
  color: #f5f5f5;
  overflow-x: hidden;
  line-height: 1.6;
}

/* NAVBAR */

.navbar {
  width: 100%;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;

  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: #ff7a00;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #d3d3d3;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ff7a00;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: white;
}

#langBtn {
  background: transparent;
  border: 1px solid #ff7a00;
  color: #ff7a00;
  padding: 9px 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

#langBtn:hover {
  background: #ff7a00;
  color: black;
}

/* HERO */

.hero {
  min-height: 100vh;

  padding: 140px 8% 80px;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;

  background:
  radial-gradient(circle at top left,
  rgba(255,122,0,0.18),
  transparent 30%),

  radial-gradient(circle at bottom right,
  rgba(255,122,0,0.08),
  transparent 30%),

  #0a0a0a;
}

.tag {
  color: #ff7a00;
  margin-bottom: 18px;
  letter-spacing: 2px;
  font-size: 14px;
}

h1 {
  font-size: clamp(54px, 7vw, 90px);
  line-height: 1.02;
  margin-bottom: 24px;
  letter-spacing: -3px;
}

h1 span {
  color: #ff7a00;
}

.desc {
  max-width: 700px;
  color: #cfcfcf;
  font-size: 19px;
  line-height: 1.9;
}

/* BUTTONS */

.buttons {
  margin-top: 38px;
  display: flex;
  gap: 16px;
}

.btn {
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.primary {
  background: #ff7a00;
  color: black;
}

.secondary {
  border: 1px solid rgba(255,122,0,0.45);
  color: #ff7a00;
}

.btn:hover {
  transform: translateY(-4px);
}

/* HERO CARD */

.hero-card {
  display: flex;
  justify-content: center;
}

.profile-box {
  width: 370px;
  height: 470px;

  border-radius: 30px;
  overflow: hidden;

  border: 1px solid rgba(255,122,0,0.35);

  box-shadow:
  0 0 80px rgba(255,122,0,0.12),
  0 20px 60px rgba(0,0,0,0.5);

  transition: 0.4s;
}

.profile-box:hover {
  transform: translateY(-10px);
}

.profile-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTIONS */

.section {
  padding: 100px 8%;
}

.section h2 {
  font-size: 48px;
  margin-bottom: 24px;
  color: #ff7a00;
  letter-spacing: -1px;
}

.section p {
  color: #c8c8c8;
  max-width: 900px;
}

/* SKILLS */

.skills {
  margin-top: 32px;

  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.skills span,
.tech span {
  background: #161616;
  border: 1px solid rgba(255,122,0,0.3);

  color: #ff7a00;

  padding: 10px 16px;

  border-radius: 999px;

  font-size: 14px;
}

/* PROJECTS */

.project-grid {
  margin-top: 40px;

  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.project-card,
.blog-card,
.semester-card {
  background: linear-gradient(
  180deg,
  #161616,
  #101010
  );

  border: 1px solid #232323;

  padding: 30px;

  border-radius: 28px;

  transition: 0.35s;
}

.project-card:hover,
.semester-card:hover,
.blog-card:hover {
  transform: translateY(-10px);

  border-color: rgba(255,122,0,0.5);

  box-shadow:
  0 0 40px rgba(255,122,0,0.08);
}

.project-card h3,
.blog-card h3,
.semester-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.school {
  color: #ff7a00 !important;
  margin-bottom: 16px;
  font-size: 14px;
}

.tech {
  margin-top: 20px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured {
  border-color: rgba(255,122,0,0.45);
}

/* COURSES */

.course-desc {
  margin-bottom: 42px;
}

.semester-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.semester-card ul {
  list-style: none;
}

.semester-card li {
  margin-bottom: 14px;
  color: #d3d3d3;

  padding-left: 18px;

  position: relative;
}

.semester-card li::before {
  content: "";

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #ff7a00;

  position: absolute;
  left: 0;
  top: 10px;
}

/* BLOG */

.blog-card {
  margin-top: 30px;
}

/* CONTACT */

.contact-links {
  margin-top: 32px;

  display: flex;
  gap: 16px;
}

.contact-links a {
  background: #ff7a00;
  color: black;

  text-decoration: none;

  padding: 14px 24px;

  border-radius: 999px;

  font-weight: 700;

  transition: 0.3s;
}

.contact-links a:hover {
  transform: translateY(-4px);
}

/* FOOTER */

footer {
  border-top: 1px solid #1d1d1d;

  padding: 30px 8%;

  text-align: center;

  color: #777;
}

/* MOBILE */

@media(max-width: 1000px) {

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .buttons,
  .contact-links,
  .skills {
    justify-content: center;
  }

  .project-grid,
  .semester-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 54px;
  }

  .profile-box {
    width: 300px;
    height: 390px;
  }

}