/* === Service Banner Section === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: 'Mulish', sans-serif;
}

.career-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 80px;
  background: url('../images/team-meeting.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}
.career-view {
  margin: 30px;
}
/* Overlay for better text visibility */
.career-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Text content */
.career-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: 8%;
}

.career-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.career-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f1f1f1;
}

/* Button Style */
.banner-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #ff4d4d;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background-color: #ff4d4d;
  color: #fff;
}

/* ==============================
   RESPONSIVE DESIGN
============================== */

/* ===== Tablet & Small Laptop (≤1024px) ===== */
@media (max-width: 1024px) {
  .career-banner {
    height: 80vh; /* Reduce height for smaller screens */
    justify-content: center;
    text-align: center;
    background-position: center center;
    padding: 0 40px;
  }

  .career-content {
    margin-left: 0;
    max-width: 90%;
  }

  .career-content h1 {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .career-content p {
    font-size: 1.1rem;
  }

  .banner-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

/* ===== Mobile Phones (≤600px) ===== */
@media (max-width: 600px) {
  .career-banner {
    height: 60vh;
    justify-content: center;
    text-align: center;
  }

  .career-content {
    margin: 0;
    max-width: 100%;
  }

  .career-content h1 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .career-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .banner-btn {
    font-size: 0.95rem;
    padding: 10px 22px;
    border-width: 1.5px;
  }
}

/* === Scroll Animation Base Styles === */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.4s; }
