
/* === Home Team Section v3 - Fixed Full CSS === */

body {
      font-family: "Open Sans", sans-serif;
      background: linear-gradient(135deg, #b9ffde, #d8fff0, #f3fff9);
      margin: 0;
      padding: 0;
      color: #1d2f2f;
      overflow-x: hidden;
    }




.home-team-section-v3 {
  padding: 60px 15px;
  position: relative;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

/* Header */
.team-header-v3 {
  margin-bottom: 40px;
  text-align: center;
}
.team-divider-v3 {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #007bff, #00c853);
  border-radius: 6px;
  margin: 0 auto 15px auto;
}
.team-title-v3 {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}
.team-btn-v3 {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #00c853);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.team-btn-v3:hover {
  background: linear-gradient(90deg, #00c853, #007bff);
  transform: scale(1.05);
}

/* Team wrapper grid - exactly 4 cards in a row */
.team-wrapper-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: start;
  width: 100%;
  padding: 0 10px; /* small padding on sides */
  box-sizing: border-box;
}

/* Teacher Card */
.teacher-card-v3 {
  width: 100%;
  max-width: 300px;
  height: 380px;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 128, 255, 0.2);
  transition: all 0.4s ease;
}
.teacher-card-v3:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 45px rgba(0, 255, 128, 0.35);
}

/* Circular frame */
.teacher-frame-v3 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #007bff, #00c853, #0091ea, #00e676);
  background-size: 400% 400%;
  animation: frameGlow 5s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}
.teacher-frame-v3 img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.teacher-card-v3:hover .teacher-frame-v3 img {
  transform: scale(1.05);
}
@keyframes frameGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Teacher text */
.teacher-info-v3 h4 a {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.teacher-info-v3 p {
  color: #00bfa5;
  font-size: 16px;
  margin-top: 6px;
  font-weight: 500;
  text-align: center;
}

/* === Responsive === */
@media (max-width: 1200px) {
  .team-wrapper-v3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .team-wrapper-v3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .teacher-card-v3 {
    max-width: 260px;
    height: 360px;
  }
  .teacher-frame-v3 {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 576px) {
  .team-wrapper-v3 {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }
  .teacher-card-v3 {
    max-width: 230px;
    height: 340px;
  }
  .teacher-frame-v3 {
    width: 150px;
    height: 150px;
  }
  .teacher-info-v3 h4 a {
    font-size: 18px;
  }
}
































/* 🌅 Inner Banner Section */
.inner-banner-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}

/* 🏞️ Background Image Container */
.inner-baner-container {
  position: relative;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 4px solid #00a651; /* subtle accent line */
}

/* ❌ Removed any blue/colored overlay */
.inner-baner-container::before {
  content: none; /* removes unwanted layer */
}

/* 🎯 Banner Text Content */
.inner-banner-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

/* 🏫 Main Title */
.inner-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* 🌈 Optional bottom glow line under title */
.inner-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 15px auto 0;
  background: linear-gradient(90deg, #00a651, #0099cc);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 166, 81, 0.3);
}

/* 📱 Responsive Adjustments */
@media (max-width: 992px) {
  .inner-baner-container {
    height: 320px;
  }

  .inner-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .inner-baner-container {
    height: 250px;
  }

  .inner-title {
    font-size: 1.8rem;
  }
}
