{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #020617;
  color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  }

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: #0ea5e9;
  border-radius: 20px;
}

/* BACKGROUND EFFECT */
body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,0.15), transparent 25%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.15), transparent 25%);
  z-index: -1;
  }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #38bdf8;
  text-shadow: 0 0 15px rgba(56,189,248,0.6);
}
.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #38bdf8;
  left: 0;
  bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 8%;
  position: relative;
}
.hero-content {
  max-width: 900px;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h2 {
  font-size: 28px;
  color: #38bdf8;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 35px;
  }

/* TECH TAGS */
.tech-stack {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tech-stack span {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(56,189,248,0.3);
  color: #38bdf8;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  transition: 0.3s;
}

.tech-stack span:hover {
   transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(56,189,248,0.3);
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: white;
  box-shadow: 0 0 25px rgba(14,165,233,0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(14,165,233,0.6);
}

.btn-secondary {
  border: 1px solid rgba(56,189,248,0.3);
  color: #38bdf8;
  background: rgba(15,23,42,0.6);
}

.btn-secondary:hover {
  background: rgba(56,189,248,0.1);
}
/* SECTION */
.section {
  padding: 100px 8%;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  color: #38bdf8;
  text-shadow: 0 0 15px rgba(56,189,248,0.3);
}

/* GLASS CARD */
.card,
.skill-card,
.project-card,
.timeline-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border-radius: 20px;
    padding: 30px;
  transition: 0.4s ease;
}

.card:hover,
.skill-card:hover,
.project-card:hover,
.timeline-item:hover {
  transform: translateY(-8px);
  border-color: rgba(56,189,248,0.5);
  box-shadow: 0 0 35px rgba(56,189,248,0.15);
}

/* GRID */
.skills-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.skill-card h3,
.project-card h3,
.timeline-item h3 {
  color: #38bdf8;
  margin-bottom: 15px;
}

.skill-card ul {
  list-style: none;
}

.skill-card ul li {
  margin-bottom: 10px;
  color: #cbd5e1;
}

.skill-card ul li::before {
  content: "▹ ";
  color: #38bdf8;
}

/* CERTIFICATION LIST */
.cert-list li {
  margin-bottom: 15px;
  color: #cbd5e1;
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.timeline-item span {
  color: #94a3b8;
  display: block;
  margin-bottom: 12px;
}

/* CONTACT */
.contact-container {
  max-width: 700px;
  margin: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;

  background: rgba(15, 23, 42, 0.7);
  padding: 40px;
  border-radius: 20px;

  border: 1px solid rgba(255,255,255,0.06);

  backdrop-filter: blur(12px);
}

.contact-form input,
.contact-form textarea {

  width: 100%;
  padding: 15px;

  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(2, 6, 23, 0.8);

  color: white;

  border-radius: 10px;

  font-size: 16px;

  outline: none;

  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {

  border-color: #38bdf8;

  box-shadow: 0 0 15px rgba(56,189,248,0.2);

}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  border: none;
  cursor: pointer;
}
.contact-card {
  text-align: center;
}
.contact-card p {
  margin-bottom: 15px;
  color: #cbd5e1;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: #010409;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .hero-content h1 {
    font-size: 50px;
  }

   .hero-content h2 {
    font-size: 24px;
  }

  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {

  .hero-content h1 {
    font-size: 38px;
  }

  .section-title {
        font-size: 32px;
  }

  .section {
    padding: 80px 5%;
  }
}
