/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background: #0d1b2a;
  color: #eaf4f4;
  line-height: 1.6;
}
section { padding: 80px 10%; }
h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  color: #2a9d8f; /* green accent */
}

/* ===== Hero ===== */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  background: linear-gradient(135deg,#008080,#2a9d8f);
  color: white; padding: 80px 10%;
}
.hero h1 { font-size: 48px; color: #fff; }
.hero p { max-width: 500px; margin: 20px 0; font-size: 18px; }
.hero .btn {
  background: #f4a261; color: #0d1b2a;
  padding: 12px 28px; border-radius: 30px;
  font-weight: 600; text-decoration: none;
  transition: 0.3s; box-shadow: 0 0 20px rgba(244,162,97,0.4);
}
.hero .btn:hover { background: #0d1b2a; color: #f4a261; }
.hero-img img { width: 260px; animation: floatY 3s infinite ease-in-out; }
.hero-img img {
  width: 260px;
  animation: floatY 3s infinite ease-in-out;
  filter: invert(60%) sepia(80%) saturate(300%) hue-rotate(-20deg) brightness(100%) contrast(95%);
}


/* ===== Why Chemical Engineering ===== */
.cards {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 25px;
}
.card {
  background: #1b263b; padding: 25px; border-radius: 12px;
  width: 300px; text-align: center;
  border: 1px solid rgba(42,157,143,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card i { font-size: 40px; color: #f4a261; margin-bottom: 15px; }
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(244,162,97,0.6);
}

/* ===== Program Roadmap ===== */
.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px; justify-items: center;
}
.step {
  background: #1b263b; padding: 20px; border-radius: 10px;
  border-left: 6px solid #008080;
  width: 100%; transition: 0.3s;
}
.step:hover { transform: scale(1.05); border-color: #f4a261; }

/* ===== Career Opportunities ===== */
.career-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px; justify-items: center;
}
.career-card {
  background: #1b263b; padding: 20px; border-radius: 10px;
  text-align: center; width: 100%;
  border: 1px solid rgba(0,128,128,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.career-card i { font-size: 40px; color: #2a9d8f; margin-bottom: 10px; }
.career-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0,128,128,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(42,157,143,0.4);
}
.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: #f4a261;
  padding: 10px; text-align: center; font-weight: 600;
}

/* ===== Testimonials ===== */
.testimonials {
  background: linear-gradient(135deg,#008080,#2a9d8f);
  color: white; padding: 60px 10%;
}
.testimonials > h2{
  color:#f4a261;
}
.testimonial-box {
  max-width: 700px; margin: auto; text-align: center;
  font-style: italic; background: rgba(0,0,0,0.25);
  border-left: 5px solid #f4a261; padding: 20px;
  border-radius: 8px;
}


/* ===== Explore ===== */
.explore-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 15px;
}
.explore-links a {
  background: #f4a261; color: #0d1b2a;
  padding: 12px 24px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
  transition: 0.3s;
}
.explore-links a:hover { background: #2a9d8f; color: #fff; }

/* ===== Animations ===== */
@keyframes floatY { 
  0%{transform:translateY(0);} 
  50%{transform:translateY(-15px);} 
  100%{transform:translateY(0);} 
}
