* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #222;
  background: #f9fafc;
}

.container {
  width: 85%;
  max-width: 1100px;
  margin: auto;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: white;
  min-height: 100vh;
  padding-bottom: 40px;
}

.navbar {
  width: 85%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

.logo span {
  color: #facc15;
}

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

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

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

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 75vh;
  padding: 20px;
}

.hero-text h2 {
  font-size: 44px;
  margin-bottom: 10px;
}

.hero-text h2 span {
  color: #facc15;
}

.hero-text h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 400;
}

.hero-text p {
  max-width: 750px;
  margin: auto;
  font-size: 18px;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #facc15;
  color: #111827;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #eab308;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: #1d4ed8;
}

.section {
  padding: 70px 0;
}

.light-bg {
  background: #eef2ff;
}

.section-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 35px;
  color: #1e3a8a;
}

.white {
  color: white;
}

.skills-grid,
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin-bottom: 10px;
  color: #1d4ed8;
}

.card h4 {
  margin-bottom: 12px;
  color: #555;
}

.timeline-item {
  background: white;
  padding: 30px;
  border-left: 5px solid #1d4ed8;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.timeline-item ul {
  margin-top: 15px;
  padding-left: 20px;
}

.timeline-item li {
  margin-bottom: 10px;
}

.cert-title {
  margin-top: 50px;
}

.dark-section {
  background: #0f172a;
  color: white;
}

.contact-box {
  max-width: 700px;
  margin: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 14px;
}

.contact-box p {
  margin-bottom: 12px;
  font-size: 18px;
}

.contact-box a {
  color: #facc15;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 20px;
  background: #020617;
  color: white;
  font-size: 14px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-text h2 {
    font-size: 32px;
  }

  .hero-text h3 {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 16px;
  }
}
