* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    margin: 0;
}
/* Flash News */
.flash-news {
    background-color: #000;
    color: #fff;
    padding: 4px 0;
    font-size: 16px;
    font-weight: bold;
}

/* Image Section */
.image-section {
    display: flex;
    width: 100vw;
    padding: 0px 66px; 
}

/* Each Image Box */
.image-box {
    position: relative;
    width: 33.3333%;
    height: 327px;
    overflow: hidden;
}

/* Images */
.image-box img {
    width: 98%;
    height: 77%;
    object-fit: cover;
    display: block;
}

/* Overlay Text */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* ========== GLOBAL ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #ffffff;
}

/* ========== OUR LATEST UPDATES ========== */
.latest-updates {
  position: relative;
  padding: 1px 4px;

  background-image: url("<?= base_url('assets/new_pages/img/bg1home.jpg');?>");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  background-attachment: fixed; /* ✅ BG stays fixed */
}


/* Background Shade Overlay */
.latest-updates::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #f5f7fa;
  opacity: 0.94;
  z-index: 1;
}

/* Keep content above overlay */
.latest-updates .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;


 
}

/* Title */
.section-title {
 
  text-align: center;
  color: #D82828;
  font-size: 36px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  margin-left: 50px;
  margin-top: 9px;
  
}

/* Grid */
/* ================= OUR LATEST UPDATES ================= */

.updates{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

/* Card */
.update-card{
  text-align:center;
}

/* Image box */
.update-thumb{
  width:100%;
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  border:1px solid #eee;
}

/* Image */
.update-thumb img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;     /* ✅ FULL IMAGE ALWAYS VISIBLE */
  display:block;
}

/* Title */
.update-title{
  margin-top:12px;
  font-size: 18px;
  font-weight:bold;
  color:#000;
  line-height:1.4;
}

/* Subtitle */
.update-sub{
  margin-top:6px;
  font-size: 18px;
  font-weight:bold;
  color:#000;

}

/* ===== GALLERY SECTION ===== */
/* ===== GALLERY SECTION ===== */
.gallery {
  position: relative;
  background-image: url("<?= base_url('assets/new_pages/img/08/slide01-265x292.jpg');?>");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* BG stays fixed */

  padding: 70px 20px;
}

/* Overlay */
.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(78, 78, 78, 0.9); /* dark shade */
  z-index: 1;
}

/* Keep content above overlay */
.gallery .container {
  position: relative;
  z-index: 2;
}



.container {
  max-width: 1200px;
  margin: auto;
}

/* Title */
.section-titleGA {
width:100%;
  text-align: center;
  color: #D82828;
  font-size: 36px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  margin-bottom: 21px;
  margin-right: 649px;
  margin-top: 13px;
  

}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Gallery Item */
.gallery-item {
  
  padding: 10px;
  text-align: center;
  border-radius: 6px;
}

/* Image */
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit:contain;

  display: block;
  border-radius: 4px;
}

/* ===== TEXT STYLE (SAME AS UPDATE SECTION) ===== */
.update-titleAT {
  margin-top: 12px;
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.4;
}

.update-subAT {
  margin-top: 6px;
  font-size: 12px;
  color: #ffffff;
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonial {
  text-align: left;
  margin-top: 29px;

}

.testimonial h2 {
  font-size: 28px;
  font-weight: 800;
   color: #2525BD;
  font-family: 'Source Sans Pro', sans-serif;
  margin-bottom: 84px;
}

/* Video wrapper */
.video-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Responsive video */
.video-wrap video {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* ===== PROMO SECTION ===== */
.promo {
  
  padding: 1px 23px;
}

.promo-box {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.promo-box img {
  width: 90%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ===== INFO SECTION ===== */
.info {
  max-width: 1100px;
  margin: auto;
  padding: -20px 20px 60px;
}

.info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #d10000;
  margin-bottom: 12px;
  margin-top: 30px;
}

.info ul {
  padding-left: 20px;
}

.info ul li {
  font-size: 15px;
  color: #222;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ===== RESPONSIVE (TABLET) ===== */
@media (max-width: 992px) {
  .testimonial h2 {
    font-size: 24px;
  }

  .info h4 {
    font-size: 18px;
  }
}

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 600px) {
  .container {
    padding: 30px 15px;
  }

  .testimonial h2 {
    font-size: 22px;
  }

  .video-wrap video {
    max-width: 100%;
  }

  .info ul li {
    font-size: 14px;
  }
}



/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: auto;
    object-fit: contain; /* full image on mobile */
  }
}


/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .update-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .update-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .latest-updates,
    .tournament-gallery {
        padding: 40px 20px;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .updates {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .updates {
    grid-template-columns: 1fr;
  }

  .update-thumb img {
    height: 200px;
  }
}










































/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */
@media (max-width: 767px) {
    .image-section {
        flex-direction: column;
    }

    .image-box {
        width: 100%;
        height: 250px;
    }

    .overlay-text {
        font-size: 18px;
    }

    .flash-news {
        font-size: 14px;
    }
}

/* ========================= */
/* 📱 Tablet Responsive */
/* ========================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .image-box {
        width: 33.33%;
        height: 300px;
    }

    .overlay-text {
        font-size: 20px;
    }
}
