* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  line-height: 1.6;
}

.navbar {
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1e40af;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

nav a:hover {
  color: #1e40af;
}

.hero {
  min-height: 90vh;
  padding: 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.small-title {
  font-size: 16px;
  color: #1e40af;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 48px;
  max-width: 750px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.description {
  font-size: 18px;
  max-width: 650px;
  color: #4b5563;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.primary {
  background: #1e40af;
  color: white;
}

.secondary {
  background: white;
  color: #1e40af;
  border: 1px solid #1e40af;
}

.section {
  padding: 70px 8%;
  background: white;
  margin-bottom: 10px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #111827;
}

.section p {
  max-width: 750px;
  font-size: 17px;
  color: #4b5563;
}

.project-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 5px solid #1e40af;
}

.project-card h3 {
  margin-bottom: 10px;
  color: #1e40af;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    margin: 0 8px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .description {
    font-size: 16px;
  }
}
.about-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-text p {
  margin-bottom: 18px;
}

.profile-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid #1e40af;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.profile-card h3 {
  color: #1e40af;
  margin-bottom: 15px;
}

.profile-card p {
  margin-bottom: 10px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.info-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
  color: #1e40af;
  margin-bottom: 12px;
  font-size: 22px;
}

.info-card p {
  font-size: 16px;
  color: #4b5563;
}

.info-card ul {
  padding-left: 20px;
  color: #4b5563;
}

.info-card li {
  margin-bottom: 8px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
.project-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #1e40af;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.project-link:hover {
  background: #1d4ed8;
}

.project-list {
  margin-top: 12px;
  padding-left: 20px;
  color: #4b5563;
}

.project-list li {
  margin-bottom: 8px;
}
.project-category-title {
  font-size: 24px;
  margin-top: 35px;
  margin-bottom: 18px;
  color: #111827;
  border-left: 5px solid #1e40af;
  padding-left: 12px;
}
.project-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #1e40af;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.project-link:hover {
  background: #1d4ed8;
}
.skills-container {
  max-width: 1100px;
  margin: 25px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-container span {
  background: #eff6ff;
  color: #1e40af;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
  border: 1px solid #bfdbfe;
}
/* ===== Tools & Technologies - Responsive Fix ===== */

.skills-container {
  max-width: 1100px;
  margin: 25px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-container span {
  background: #eff6ff;
  color: #1e40af;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

/* Phone view */
@media (max-width: 768px) {
  .skills-container {
    justify-content: center;
    gap: 10px;
  }

  .skills-container span {
    font-size: 14px;
    padding: 8px 12px;
  }
}
/* ===== Future Goals Section ===== */

.goals-list {
  max-width: 1100px;
  margin: 30px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.goal-item {
  background: #f9fafb;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.goal-item h3 {
  font-size: 28px;
  color: #1e40af;
  margin-bottom: 12px;
}

.goal-item p {
  font-size: 15px;
  color: #4b5563;
}

/* Phone view for Future Goals */
@media (max-width: 768px) {
  .goals-list {
    grid-template-columns: 1fr;
  }

  .goal-item {
    text-align: left;
  }
}
/* ===== Why Section ===== */

.why-card {
  max-width: 1100px;
  margin: 25px auto 0 auto;
  background: #eff6ff;
  padding: 28px;
  border-radius: 16px;
  border-left: 5px solid #1e40af;
}

.why-card p {
  font-size: 18px;
  color: #374151;
}
/* ===== Premium Hero Section ===== */

.hero {
  min-height: 90vh;
  padding: 90px 8%;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(circle at top left, #dbeafe, transparent 35%),
    linear-gradient(135deg, #eff6ff, #ffffff);
}

.hero-content {
  max-width: 780px;
}

.hero h1 {
  font-size: 52px;
  max-width: 780px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #111827;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-tags span {
  background: white;
  color: #1e40af;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #bfdbfe;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 22px;
  border: 1px solid #dbeafe;
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.12);
}

.hero-card h3 {
  color: #1e40af;
  font-size: 24px;
  margin-bottom: 12px;
}

.hero-card p {
  color: #4b5563;
  margin-bottom: 22px;
}

.hero-card-item {
  background: #f8fafc;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.hero-card-item strong {
  color: #111827;
}

.hero-card-item span {
  color: #4b5563;
  text-align: right;
}

/* Phone view */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 70px 8%;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-card {
    margin-top: 10px;
  }

  .hero-card-item {
    flex-direction: column;
  }

  .hero-card-item span {
    text-align: left;
  }
}
/* ===== Premium Navbar Fix ===== */

.navbar {
  width: 100%;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: #1e40af;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: #1e40af;
}

/* Phone view navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 6%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .nav-links a {
    background: #eff6ff;
    color: #1e40af;
    padding: 8px 12px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 13px;
  }
}
/* ===== Project Badge Row ===== */

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.project-badge.web {
  background: #dbeafe;
  color: #1e40af;
}
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 100px;
}
/* ===== Footer ===== */

.footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 30px 8%;
}

.footer p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #d1d5db;
}
/* ===== Scroll Reveal Animation ===== */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== Scroll Reveal Animation ===== */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== Premium Scroll Reveal Animation ===== */

.reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== Call To Action Section ===== */

.cta-box {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: white;
  padding: 45px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(30, 64, 175, 0.2);
}

.cta-box h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-box p {
  color: #dbeafe;
  max-width: 750px;
  margin: 0 auto 25px auto;
  font-size: 17px;
}

.cta-box .project-link {
  background: white;
  color: #1e40af;
}

.cta-box .project-link:hover {
  background: #eff6ff;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 30px 22px;
  }

  .cta-box h2 {
    font-size: 26px;
  }
}
.project-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
