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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #081120;
  color: #ffffff;
  line-height: 1.6;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 24px 7%;
  background: linear-gradient(135deg, #081120, #132850, #0c5a93);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 211, 90, 0.08);
  top: -100px;
  right: -100px;
  filter: blur(10px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.08);
  bottom: -100px;
  left: -80px;
  filter: blur(10px);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s;
  font-weight: 500;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* HERO CONTENT */
.hero-content {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.intro-tag {
  color: #ffd35a;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 3.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #d8e6ff;
  margin-bottom: 18px;
}

.hero-description {
  max-width: 650px;
  color: #d8e6ff;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-box {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 18px 20px;
  min-width: 150px;
  backdrop-filter: blur(10px);
}

.stat-box h3 {
  color: #ffd35a;
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.stat-box p {
  color: #d8e6ff;
  font-size: 0.92rem;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}

.primary-btn {
  background: #ffd35a;
  color: #101828;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 211, 90, 0.28);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

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

.profile-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.badge {
  display: inline-block;
  background: #ffd35a;
  color: #101828;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.profile-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.profile-card p {
  color: #d8e6ff;
  margin-bottom: 24px;
}

.mini-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mini-info div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 14px;
}

.mini-info span {
  display: block;
  color: #b7c7e8;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.mini-info strong {
  color: #ffd35a;
}

/* COMMON */
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 46px;
}

.section-heading p {
  color: #ffd35a;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: 2.3rem;
}

/* ABOUT */
.about-section {
  padding: 90px 7%;
  background: #0b1528;
}

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

.about-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-box h3 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.about-box p {
  color: #d8e6ff;
  margin-bottom: 12px;
}

/* SKILLS */
.skills-section {
  padding: 90px 7%;
  background: #081120;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  font-weight: 600;
  transition: 0.3s;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* PROJECTS */
.projects-section {
  padding: 90px 7%;
  background: #0b1528;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255, 211, 90, 0.18);
}

.project-card h3 {
  margin-bottom: 14px;
}

.project-card p {
  color: #d8e6ff;
  margin-bottom: 18px;
}

.project-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.project-links a {
  color: #ffd35a;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 211, 90, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
}

/* RESUME */
.resume-section {
  padding: 90px 7%;
  background: #081120;
}

.resume-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 211, 90, 0.12), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 28px;
}

.resume-tag {
  color: #ffd35a;
  font-weight: 600;
  margin-bottom: 8px;
}

.resume-box h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.resume-box p {
  color: #d8e6ff;
  margin-bottom: 20px;
}

/* CONTACT */
.contact-section {
  padding: 90px 7%;
  background: #0b1528;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 18px;
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 8px;
  color: #ffd35a;
}

.contact-card p {
  color: #d8e6ff;
  word-break: break-word;
}

.contact-card a {
  color: #d8e6ff;
  text-decoration: none;
  transition: 0.3s;
}

.contact-card a:hover {
  color: #ffd35a;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b7c7e8;
}

.form-message {
  min-height: 20px;
  color: #86efac;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 7%;
  background: #060d19;
}

.footer h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.footer p {
  color: #cfe0ff;
}

.footer-bottom {
  margin-top: 14px;
  color: #9fb2d5;
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-content,
  .about-grid,
  .skills-grid,
  .projects-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background: rgba(8, 17, 32, 0.95);
    flex-direction: column;
    padding: 18px;
    border-radius: 14px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hero,
  .about-section,
  .skills-section,
  .projects-section,
  .resume-section,
  .contact-section,
  .footer {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  .section-heading h2,
  .resume-box h2 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-box {
    width: 100%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}