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

/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  background: 
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.25), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(99,102,241,0.15), transparent 40%),
    #0b1a2f;

  color: #fff;
  overflow-x: hidden;
}
/* CONTAINER */
.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  padding: 30px 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 24px;
}

.logo span {
  color: #3b82f6;
}

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

.nav-links a {
  text-decoration: none;
  color: #cbd5f5;
  font-size: 16px;
  transition: 0.3s;
}

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

.nav-links .active {
  border-bottom: 2px solid #3b82f6;
}

/* HERO */
.hero {
  padding: 80px 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* LEFT */
.hero-left {
  max-width: 600px;
}

.hero-left h1 {
  font-size: 64px;
  line-height: 1.1;
}

.hero-left h2 {
  color: #9ca3af;
  margin: 10px 0 20px;
}

/* BUTTON */
.btn {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  color: white;
  cursor: pointer;
  margin-bottom: 30px;
  font-size: 14px;
}

/* TITLES */
.small-title {
  font-size: 13px;
  color: #9ca3af;
}

.section-title {
  font-size: 26px;
  margin-bottom: 25px;
}

/* CARDS */
.cards {
  display: flex;
  gap: 20px;
}

.card {
  width: 200px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
}

.card i {
  font-size: 36px;
  color: #cbd5f5;
  margin-bottom: 15px;
}

.card:hover i {
  color: #3b82f6;
  transform: scale(1.1);
}

/* IMAGE */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-right img {
  height: 650px;
  object-fit: contain;
}

/* ABOUT BOX */
.about-section {
  margin-top: -60px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.about-box {
  max-width: 900px;
  padding: 35px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

/* FOOTER */
.footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.connect {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.connect span {
  color: #cbd5f5;
}

.connect a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.connect i {
  font-size: 20px;
}

.copy {
  margin-top: 10px;
  font-size: 14px;
  color: #94a3b8;
}

/* =========================================
   🔥 PROJECT SECTION (FINAL PREMIUM)
   ========================================= */

.projects {
  padding: 100px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  padding: 30px;
  border-radius: 20px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(12px);

  transition: all 0.3s ease;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;

  background: radial-gradient(circle at top left, rgba(59,130,246,0.15), transparent 60%);
  opacity: 0;
  transition: 0.3s;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #3b82f6;
  box-shadow: 0 20px 50px rgba(59,130,246,0.25);
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

.project-card p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-icons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.project-icons img {
  height: 38px;
  width: 38px;
  padding: 8px;

  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);

  border-radius: 10px;
  transition: 0.3s;
}

.project-icons img:hover {
  background: rgba(59,130,246,0.25);
  transform: scale(1.15);
}
.project-icons img:hover {
  background: rgba(59,130,246,0.2);
  transform: scale(1.1);
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #60a5fa;
  text-decoration: none;
  transition: 0.3s;
}

.project-card a:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.projects .section-title {
  margin-bottom: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero-right img {
    height: 450px;
  }

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