/* ====== Base Styles ====== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #1e293b;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 50px;
  font-size: 1rem;
}

/* ====== Buttons ====== */
.btn-primary {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0891b2, #2563eb);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

/* ====== Hero Section ====== */
.hero-education {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: white;
  text-align: center;
  padding: 100px 20px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ====== Projects Grid ====== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  font-size: 1.25rem;
  margin: 16px 20px 8px;
  color: #0f172a;
}

.project-card p {
  font-size: 0.95rem;
  margin: 0 20px 20px;
  color: #64748b;
}

/* ====== CTA Section ====== */
.cta {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  color: white;
  border-radius: 20px;
  margin-top: 60px;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 700;
}

/* ====== Back Button ====== */
.btn-back {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #2563eb;
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.btn-back:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .project-card img {
    height: 180px;
  }
}
