/* ---------- Hero Section ---------- */
.about-hero-section {
  height: 580px;
  background: url('/images/about-herosection.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #FFF;
  text-align: left;
  padding: 120px 64px;
  margin-top: 84px;
  position: relative;
}


.about-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.about-hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.about-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-hero-content p {
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #FFF;
  margin-bottom: 40px;
}


.btn-demo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #FBBA2C;
  color: #000;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-demo:hover {
  background: #e6a800;

}

/* Tablets */
@media (max-width: 992px) {
  .about-hero-section {
    padding: 0 5%;

    margin: 0;
    /* background-position: center; */
  }

  .about-hero-content h1 {
    font-size: 2.5rem;
  }

  .about-hero-content p {
    font-size: 1.1rem;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .about-hero-section {
    /* justify-content: center; */
    /* text-align: center; */
    padding: 0 6%;
  }

  .about-hero-content {
    max-width: 100%;
  }

  .about-hero-content h1 {
    font-size: 2rem;
  }

  .about-hero-content p {
    font-size: 1rem;
  }

  .btn-demo {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/*content hero section end */

/* ---------- team Section start--------*/
.team-section {
  background: #000000;
  color: #fff;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.team-header p {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
}

/* Wrapper */
.team-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

/* Buttons */
.scroll-btn {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
}

/* .scroll-btn:hover {
  background: rgba(255, 255, 255, 0.6);
} */

.scroll-btn.left {
  /* position: absolute; */
  left: 0;
}

.scroll-btn.right {
  /* position: absolute; */
  right: 0;
}

/* Team Horizontal Scroll */
.team-container {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* padding: 0 20px; */
  padding: 0 20px;
  width: 100%;
}

.team-card {
  flex: 0 0 calc((100% - 40px) / 4);
  /* 4 cards on desktop, accounting for 3 gaps of 30px */
  border-radius: 24px;
  text-align: center;
  /* transition: transform 0.3s ease; */
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
}

.team-card h3 {
  font-size: 1rem;
  margin-top: 12px;
  font-weight: 600;
}

.team-card span {
  color: #FBBA2C;
  font-weight: 600;
}

/* Tablet */
@media (max-width: 991px) {
  .team-card {
    flex: 0 0 calc((100% - 12px) / 2);
    /* 2 cards on tablet, accounting for 1 gap of 30px */
  }

  .scroll-btn.left {
    left: 8px;
  }

  .scroll-btn.right {
    right: 8px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .team-card {
    flex: 0 0 105%;
    /* 1 card on mobile, full width  100%*/
  }

  .scroll-btn.left {
    left: 5px;
  }

  .scroll-btn.right {
    right: 5px;
  }
}

/*end team card section*/

/*story section */
.about-section {

  background: #000000;
  color: #fff;
  padding: 80px 64px;
  font-family: 'Lato', sans-serif;
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}


.story {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.story-text {
  flex: 1 1 500px;
}

.story-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #fff;
}

.story-image {
  flex: 1 1 418px;
}

.story-image img {
  width: 100%;
  height: 418px;
  object-fit: cover;
  border-radius: 16px;
  /*  border: 1px solid #FBBA2C;
    box-shadow: 0 0 22px 8px rgba(251, 186, 44, 0.30); */
}

/* ---------- Vision & Mission Cards ---------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.card {
  flex: 1 0 0;
  max-width: 632px;
  background: #000;
  border-radius: 24px;
  border: 1px solid #FBBA2C;
  box-shadow: 0 0 22px 8px rgba(251, 186, 44, 0.30);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px;
  text-align: center;
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid #FBBA2C;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  font-family: Lato;
  color: #fff;
}

@media (max-width: 992px) {
  .story {
    flex-direction: column;
    text-align: center;
  }

  .story-text,
  .story-image {
    flex: 1 1 100%;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 100%;
  }
}

/*counter section*/

.counter-section {
  
  background: #000000;
  color: #fff;
  padding: 80px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
}

.counter-item {
  background: #000;
  /* border: 1px solid #FBBA2C; */
  border-radius: 24px;
  /* box-shadow: 0 0 22px 8px rgba(251, 186, 44, 0.3); */
  width: 250px;
  padding: 32px;
  text-align: center;
  flex-direction: column;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-family: "Lato", sans-serif;
}

/* .counter-item:hover {
    transform: scale(1.05);
} */

.counter-item .icon svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  /* border: 1px solid #FBBA2C; */
  /* border-radius: 50%; */
  padding: 10px;
  border-radius: 555px;
  background: #FFF0D0;
}

.counter-item h3 {
  /* font-size: 2rem; */
  color: #FBBA2C;
  text-align: center;
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0;
}

.counter-item p {
  color: #FFF;
  text-align: center;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0;
}


@media (max-width: 992px) {
  .counter-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .counter-item {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .counter-item {
    width: 100%;
  }
}

/* ================= College Section ================= */
.college-section {
  background: url('/images/about-college.png') no-repeat center center/cover;
  position: relative;
  color: #fff;
  padding: 80px 64px;
  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* centers text & button */
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  
}

.college-content {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  /* optional inner padding to avoid overflow */
}

.college-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  word-wrap: break-word;
  /* ensures heading doesn't overflow */
}

.college-content p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  /* space above button */
  color: #fff;
  word-wrap: break-word;
  
  max-width: 800px;
  
}

.btn-clg {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #FBBA2C;
  color: #000;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}


@media (max-width: 1024px) {
  .college-content h2 {
    font-size: 1.8rem;
   
  }

  .college-content p {
    font-size: 0.95rem;
  }

  .btn-clg {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .college-content h2 {
    font-size: 1.6rem;
  }

  .college-content p {
    font-size: 0.9rem;
  }

  .btn-clg {
    padding: 10px 18px;
  }
}

@media (max-width: 480px) {
  .college-content h2 {
    font-size: 1.4rem;
  }

  .college-content p {
    font-size: 0.85rem;
  }

  .btn-clg {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

