/* ================= CO-CURRICULAR HERO IMAGE ================= */

.cocurricular-overview {
  background: url("images/co-curricular.jpeg") center/cover no-repeat;
}

/* ================= CO-CURRICULAR 3 COLUMN SECTION ================= */

.coco-three-section {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  background: #f4f4f4;
  padding: 120px 7%;
}

.coco-heading h2 {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 400;
  color: #002f63;
}

.coco-text h3 {
  font-size: 18px;
  margin-bottom: 18px;
  color: #1d1d1d;
}

.coco-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.coco-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 30px;
  border: 1.5px solid #008ed6;
  border-radius: 30px;
  color: #008ed6;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.coco-btn:hover {
  background: #008ed6;
  color: white;
}

.coco-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* ================= CO-CURRICULAR INFINITE SLIDER ================= */

.coco-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.coco-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.75s ease;
}

.coco-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.coco-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  z-index: 1;
}

.coco-slide-box {
  position: absolute;
  left: 8%;
  bottom: 80px;
  width: 650px;
  min-height: 240px;
  display: flex;
  z-index: 3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.coco-blue {
  width: 38%;
  background: #003f7d;
  color: white;
  padding: 38px 30px;
}

.coco-blue h4 {
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.coco-blue h2 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 25px;
}

.coco-blue a {
  display: inline-block;
  background: white;
  color: #008ed6;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
}

.coco-white {
  width: 62%;
  background: white;
  padding: 45px 40px;
  display: flex;
  align-items: center;
}

.coco-white p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.coco-arrow {
  position: absolute;
  bottom: 35px;
  z-index: 10;
  width: 58px;
  height: 58px;
  border: none;
  background: rgba(255,255,255,0.95);
  color: #002f63;
  font-size: 24px;
  cursor: pointer;
}

.coco-prev {
  left: 50%;
  transform: translateX(-65px);
}

.coco-next {
  left: 50%;
  transform: translateX(5px);
  background: #002f63;
  color: white;
}

/* ================= INNER CONTENT ================= */

.inner-content {
  max-width: 980px;
  margin: 140px auto;
  padding: 0 40px;
}

.content-line {
  width: 70px;
  height: 2px;
  background: #8b1e3f;
  margin-bottom: 70px;
}

.inner-content p {
  font-size: 24px;
  line-height: 1.9;
  color: #1f2c3a;
  font-weight: 300;
  margin-bottom: 55px;
  letter-spacing: 0.2px;
}

/* ================= CO-CURRICULAR MOBILE ================= */

@media (max-width: 900px) {

  .coco-three-section {
    grid-template-columns: 1fr;
    padding: 80px 22px;
    gap: 40px;
  }

  .coco-photo {
    width: 100%;
  }

  .coco-photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
  }

  .coco-slider {
    height: auto;
  }

  .coco-slide {
    position: relative;
    display: none;
    min-height: 520px;
    background-size: cover;
    background-position: center;
  }

  .coco-slide.active {
    display: block;
  }

  .coco-slide::after {
    background: rgba(0, 0, 0, 0.08);
  }

  .coco-slide-box {
    position: relative;
    width: 100%;
    left: 0;
    bottom: 0;
    margin-top: -40px;
    flex-direction: column;
  }

  .coco-blue,
  .coco-white {
    width: 100%;
    padding: 35px 25px;
  }

  .coco-blue h2,
  .coco-white h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .coco-blue p,
  .coco-white p {
    font-size: 16px;
    line-height: 1.7;
  }
}

@media (max-width: 600px) {

  .coco-heading h2 {
    font-size: 26px;
  }

  .coco-text p {
    font-size: 15px;
  }

  .coco-photo img {
    height: 300px;
  }

  .coco-blue h2 {
    font-size: 24px;
  }

  .coco-white p {
    font-size: 14px;
  }

  .inner-content {
    margin: 80px auto;
    padding: 0 22px;
  }

  .inner-content p {
    font-size: 17px;
    line-height: 1.75;
  }
}