/* ===== General Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #0d1117;
  color: #eaeaea;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}
section { padding: 80px 10%; }
h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #26d0ce;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #1a2980, #26d0ce);
  color: white; padding: 80px 10%;
}
.hero h1 { font-size: 48px; color: #ffb347; }
.hero p { max-width: 500px; margin: 20px 0; }
.hero .btn {
  background: #ffb347; color: #0d1117;
  padding: 12px 28px; border-radius: 30px;
  text-decoration: none; font-weight: 600;
  box-shadow: 0 0 20px rgba(255,179,71,0.6);
  transition: 0.3s;
}
.hero .btn:hover { background: #26d0ce; color: #fff; }
.hero-img img { width: 280px; animation: floatY 3s infinite ease-in-out; }

/* ===== Why Computer Engineering ===== */
.cards {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 25px;
}
.card {
  background: #161b22; padding: 25px; border-radius: 12px;
  width: 300px; text-align: center;
  border: 1px solid rgba(38,208,206,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card i { font-size: 40px; color: #26d0ce; margin-bottom: 15px; }
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(255,179,71,0.5);
}

/* ===== Program Roadmap ===== */
.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px; justify-items: center;
}
.step {
  background: #d4e6ff; padding: 20px; border-radius: 10px;
  border-left: 6px solid #26d0ce;
  width: 100%; transition: 0.3s;
}
.step:hover { transform: scale(1.05); border-color: #ffb347; }

/* ===== Career Opportunities ===== */
.career-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px; justify-items: center;
}
.career-card {
  background: #d0e4ff; padding: 20px; border-radius: 10px;
  text-align: center; width: 100%;
  border: 1px solid rgba(255,179,71,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.career-card i { font-size: 40px; color: #ffb347; margin-bottom: 10px; }
.career-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(38,208,206,0.6);
}

/* ===== Labs ===== */
.lab-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.lab-item {
  position: relative; overflow: hidden; border-radius: 12px;
  box-shadow: 0 0 20px rgba(38,208,206,0.3);
}
.lab-item img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.4s ease;
}
.lab-item:hover img { transform: scale(1.05); }
.lab-item p {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); color: #ffb347;
  padding: 10px; text-align: center; font-weight: 600;
}

/* ===== Testimonials ===== */
.testimonials {
  background: linear-gradient(135deg,#1f1c2c,#928dab);
  color: white; padding: 60px 10%;
}
.testimonial-box {
  max-width: 700px; margin: auto; text-align: center;
  font-style: italic; background: rgba(255,179,71,0.1);
  border-left: 5px solid #ffb347; padding: 20px;
  border-radius: 8px;
}

/* ===== Explore ===== */
.explore-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 15px;
}
.explore-links a {
  background: #26d0ce; color: #0d1117;
  padding: 12px 24px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
  transition: 0.3s;
}
.explore-links a:hover { background: #ffb347; color: #fff; }

/* ===== Animations ===== */
@keyframes floatY { 
  0%{transform:translateY(0);} 
  50%{transform:translateY(-15px);} 
  100%{transform:translateY(0);} 
}
