* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #020617;
  color: white;
  overflow-x: hidden;
}

/* ===== Background Glow ===== */

body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: rgba(59, 130, 246, 0.15);
  filter: blur(140px);
  top: -200px;
  left: -100px;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.12);
  filter: blur(140px);
  bottom: -150px;
  right: -100px;
  z-index: -1;
}

/* ===== Navbar ===== */

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 18px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo span {
  width: 45px;
  height: 45px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  font-weight: bold;
}

.logo h3 {
  font-size: 16px;
}

.logo p {
  font-size: 12px;
  color: #94a3b8;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s;
}

.nav-links a:hover {
  color: white;
}

.nav-btn {
  text-decoration: none;
  color: black;
  background: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.3s;
}

.nav-btn:hover {
  background: #dbeafe;
}

.menu-btn {
  display: none;
}

/* ===== Hero ===== */

.hero {
  min-height: 100vh;
  padding: 170px 7% 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #bfdbfe;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.9;
  max-width: 600px;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.primary-btn {
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.primary-btn:hover {
  transform: translateY(-3px);
}

.secondary-btn {
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  background: rgba(255,255,255,0.04);
}

/* ===== Hero Card ===== */

.hero-card {
  border-radius: 35px;
  padding: 25px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-top p {
  color: #94a3b8;
  margin-bottom: 6px;
}

.card-top h3 {
  font-size: 24px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dots span:nth-child(1) {
  background: #ef4444;
}

.dots span:nth-child(2) {
  background: #facc15;
}

.dots span:nth-child(3) {
  background: #22c55e;
}

.stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.stats div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 25px;
  padding: 25px;
}

.stats i {
  font-size: 24px;
  color: #93c5fd;
  margin-bottom: 20px;
}

.stats p {
  color: #94a3b8;
  margin-bottom: 8px;
}

.stats h4 {
  font-size: 22px;
}

.project-preview {
  margin-top: 25px;
  border-radius: 25px;
  padding: 25px;
  background: linear-gradient(
    135deg,
    rgba(59,130,246,0.18),
    rgba(139,92,246,0.18)
  );
}

.project-preview h4 {
  margin-bottom: 15px;
  font-size: 22px;
}

.project-preview p {
  color: #cbd5e1;
  line-height: 1.8;
}

/* ===== Sections ===== */

.section {
  padding: 120px 7%;
}

.section-title p {
  color: #93c5fd;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 14px;
}

.section-title h2 {
  font-size: 54px;
  max-width: 800px;
  line-height: 1.2;
}

.center {
  text-align: center;
}

.center h2 {
  margin: auto;
}

/* ===== About ===== */

.about-box {
  margin-top: 50px;
  padding: 40px;
  border-radius: 35px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.about-box p {
  color: #cbd5e1;
  line-height: 1.9;
  font-size: 18px;
  margin-bottom: 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.about-tags span {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e2e8f0;
}

/* ===== Skills ===== */

.skills-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.skill-card {
  padding: 35px;
  border-radius: 35px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
}

.skill-card:hover {
  transform: translateY(-8px);
}

.skill-card i {
  font-size: 34px;
  color: #93c5fd;
  margin-bottom: 25px;
}

.skill-card h3 {
  margin-bottom: 15px;
  font-size: 28px;
}

.skill-card p {
  color: #94a3b8;
  line-height: 1.8;
}

/* ===== Projects ===== */

.projects-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.project-card {
  padding: 35px;
  border-radius: 35px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

.featured {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    rgba(59,130,246,0.16),
    rgba(139,92,246,0.16)
  );
}

.project-card span {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 14px;
  color: #cbd5e1;
}

.project-card h3 {
  font-size: 34px;
  margin-bottom: 20px;
}

.project-card p {
  color: #94a3b8;
  line-height: 1.9;
}

.project-tags {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-tags small {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===== Contact ===== */

.contact-box {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.contact-info p {
  color: #94a3b8;
  line-height: 1.9;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-links a {
  text-decoration: none;
  color: white;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 35px;
  border-radius: 35px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f172a;
  color: white;
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: none;
}

.contact-form button {
  border: none;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

/* ===== Footer ===== */

footer {
  padding: 35px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
}

/* ===== Responsive ===== */

@media (max-width: 1100px) {

  .hero,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured {
    grid-column: span 1;
  }

  .hero h1 {
    font-size: 56px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-btn {
    display: none;
  }

  .menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
  }

  .hero h1,
  .section-title h2 {
    font-size: 42px;
  }

  .skills-grid,
  .projects-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section {
    padding: 100px 7%;
  }
}
.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
}
