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

/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at 70% 40%, #2b4a6f, #0b1a2f 60%);
  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;
}

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

/* ICON STYLE */
.card i {
  font-size: 36px;
  color: #cbd5f5;
  margin-bottom: 15px;
  display: block;
}

/* TEXT ALIGN CENTER (premium look) */
.card {
  text-align: center;
}

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

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

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

/* ABOUT BOX (CENTER FIX) */
.about-section {
  margin-top: -60px;  /* 🔥 main fix */
  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;
}

/* 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 SECTION CSS (NEW ADD)
   ========================================= */

.projects {
  padding: 80px 0;
}

/* GRID LAYOUT */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD DESIGN */
.project-card {
  padding: 25px;
  border-radius: 18px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  transition: 0.3s;
}

/* HOVER EFFECT */
.project-card:hover {
  transform: translateY(-6px);
  border-color: #3b82f6;
  box-shadow: 0 10px 30px rgba(59,130,246,0.2);
}

/* TITLE */
.project-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

/* DESCRIPTION */
.project-card p {
  font-size: 14px;
  color: #cbd5f5;
}

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

.project-icons img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

/* LINK */
.project-card a {
  text-decoration: none;
  color: #60a5fa;
  font-size: 14px;
  transition: 0.3s;
}

.project-card a:hover {
  color: #3b82f6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
