:root {
    --accent: #d24;
    --muted: #666;
    --card: #fff;
    --bg: #f6f6f8;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: #111;
  }
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
/*---------------------------------------------------------------------------------------------------------------- HEADER ----------------------------------------------------------------------------------------*/

header {
  background: linear-gradient(90deg, #111 0%, #222 60%);
  color: #fff;
  padding: 18px 16px;
  font-family: 'Poppins', sans-serif;
  display: flex;              /* make header flex */
  align-items: center;        /* vertical center */
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.6px;
}

.school-logo {
  max-width: 100px;
  border-radius: 50%;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.8;
}

.menu-wrapper {
  position: relative; /* reference for absolute nav */
  display: inline-block; /* shrink to menu icon size */
}

.nav-links {
  display: flex;
  gap: 20px;
  font-family: Arial, sans-serif;
}

/* Menu icon hidden by default */
.menu-icon {
  display: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
}

.language-selector {
  position: absolute;
  right: 10px;
  display: flex;
  gap: 10px;
}


.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.lang-btn img {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.lang-btn img:hover {
  transform: scale(1.1);
}

  
/* ----------------------------------------------------------------------------------------------------------------- MAIN CONT ------------------------------------------------------------------------------------*/
  
.hero {
  height: 50vh;
  position: relative;
  background: url("backSign.png") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* adjust darkness */
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.btn-primary {
  background: linear-gradient(
    to right,
    rgba(220, 20, 60, 0.9) 0%,   /* strong red on the left */
    rgba(220, 20, 60, 0.0) 100%  /* fully transparent on the right */
  );
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(
    to right,
    rgba(220, 20, 60, 1) 0%,     /* fully solid red left */
    rgba(220, 20, 60, 0.0) 100%  /* fully transparent right */
  );
  box-shadow: 0 6px 12px rgba(220, 20, 60, 0.6);
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 60px 20px;
}

.feature {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.feature img {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease, transform 6s ease;
}

.feature img.active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 10;
}

.slide {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease, transform 6s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 10;
}


.feature-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: white;
  z-index: 20;  /* Make sure text is on top */
}


.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
}


.why {
  padding: 70px;
  text-align: center;
  background: #111;
  color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.why-grid div {
  padding: 20px;
  background: #1a1a1a;
  border-left: 4px solid crimson;
  font-weight: 600;
}

.schedule-img {
  width: auto !important;      /* Let width adjust automatically */
  height: 100% !important;         /* Set height to 80% of container height */
  object-fit: contain !important; /* Keep aspect ratio, no cropping */
  left: 50% !important;          /* Center horizontally */
  top: 50% !important;           /* Center vertically */
  transform: translate(-50%, -50%) scale(1) !important; /* Perfect centering */
  position: absolute !important;
  opacity: 0 !important;
  transition: opacity 0.7s ease !important;
  z-index: 1 !important;
}

.schedule-img.active {
  opacity: 1 !important;
  z-index: 10 !important;
}

.contact-img {
  width: auto !important;      /* Let width adjust automatically */
  height: 70% !important;         /* Set height to 80% of container height */
  object-fit: contain !important; /* Keep aspect ratio, no cropping */
  left: 50% !important;          /* Center horizontally */
  top: 50% !important;           /* Center vertically */
  transform: translate(-50%, -50%) scale(1) !important; /* Perfect centering */
  position: absolute !important;
  opacity: 0 !important;
  transition: opacity 0.7s ease !important;
  z-index: 1 !important;
}

.contact-img.active {
  opacity: 1 !important;
  z-index: 10 !important;
}

  /*------------------------------------------------------------------------------------------------------------------  Reviews --------------------------------------------------------------------------------*/

  .reviews {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    font-family: "Roboto", Arial, sans-serif;
    flex-direction: column; /* so .reviews-info is above carousel */
  }
  
  /* Info section above the carousel */
  .reviews-info {
    text-align: center;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
  }
  
  .reviews-info p {
    margin: 5px 0;
    font-size: 1rem;
  }
  
  .reviews-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative; /* make buttons relative to this */
  }
  
  /* Container for the review cards */
  .reviews-container {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
  }
  
  /* Individual review card */
  .review-card {
    flex: 0 0 300px; /* card width */
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  /* Limit review text to 2 lines */
  .review-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    line-height: 1.4em;
    margin-bottom: 12px;
    color: #202124;
  }
  
  /* Review author */
  .review-author {
    font-size: 0.85rem;
    font-weight: 500;
    color: #5f6368;
    margin-bottom: 5px;
  }
  
  /* Review rating stars */
  .review-rating {
    color: #ffb400; /* gold stars */
    font-size: 1rem;
  }
  
  button.prev,
  button.next {
    position: absolute;
    top: 50%; /* vertical center */
    transform: translateY(35%);
    background: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 1px 6px rgba(60,64,67,0.3);
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.2s;
  }
  
  button.prev {
    left: 0; /* aligns with left edge of carousel */
  }
  
  button.next {
    right: 0; /* aligns with right edge of carousel */
  }
  
  button.prev:hover,
  button.next:hover {
    background: #f1f3f4;
  }
  
  
  /*-------------------------------------------------------------------------------------------------------------------MAIN COACH ------------------------------------------------------------------------------*/

  .image-slider {
    position: relative;
    width: 100%;
    height: 300px; /* fixed height for consistent sizing */
    overflow: hidden;
    border-radius: 12px;
  }
  
  .image-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none; /* avoid interaction with hidden slides */
  }
  
  .image-slider .slide.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .slider-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    max-width: 60%;
    color: white;
    text-align: left;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.582); /* semi-transparent black */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
  }
  
  
  /* ------------------------------------------------------------------------------------------------------------------- FOOTER --------------------------------------------------------------------------------*/

  footer {
    padding: 28px 0;
    color: var(--muted);
    text-align: center;
  }
  
  h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .contact-footer {
    background: #222;
    color: #ddd;
    padding: 40px 20px 20px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    margin-top: auto;
  }
  /*------------------------------------------------------------------------------------------------------------------- CLASSES ---------------------------------------------------------------------------------*/

  .classMain {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  
  /* Classes section grid */
  .classesM {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  /* Multiple images inside class-item: arrange horizontally with gaps */
  .class-item img.responsive + img.responsive {
    margin-left: 10px;
  }
  
  /* Competition gallery grid */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
  }
  
  .gallery img.responsive {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }

  .class-images img.responsive {
    min-width: 0;
  } 
  
  .class-images {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  
  .class-images img.responsive {
    flex: 1 1 0;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }
  
  /* For single image container (Adults), let image be full width */
  .class-item:nth-child(3) .class-images {
    flex-wrap: nowrap;
  }
  
  .class-item:nth-child(3) .class-images img.responsive {
    flex: 1 1 100%;
    height: 530px;
  }
  
  /* Reset margin/padding on body/html for clean layout */
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--bg);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  
  /*------------------------------------------------------------------------------------------------------------------- FIGHTS ---------------------------------------------------------------------------------*/

  /* Match .classMain exactly */
.fightMain {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Match .classesM spacing behavior */
.latest-fight {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Fight header styling */
.fight-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fight-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

/* Base image style */
.fight-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* First 4 images → normal 4 columns (default behavior) */


/* 5th image → full width row */
.fight-gallery img:nth-child(5) {
  grid-column: 1 / -1;
  height: 500px; /* optional for emphasis */
}

/* 6th & 7th images → 2 images in last row */
.fight-gallery img:nth-child(6) {
  grid-column: 1 / 3;
}

.fight-gallery img:nth-child(7) {
  grid-column: 3 / 5;
}

/* Hide 8th image if not needed */
.fight-gallery img:nth-child(8) {
  display: none;
}


  /*------------------------------------------------------------------------------------------------------------------- CONTACT ---------------------------------------------------------------------------------*/
  
  .contactMain{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;   /* 👈 stack vertically */
    gap: 40px;
    max-width: 1000px;
    flex-wrap: wrap;
    color: #eee;
    justify-content: center;
    align-items: center;
}

  .contact-contact-form p {
    color: #6b6b6b; /* your social color */
  }
  
  .contact-contact-form {
    text-align: center;   /* center the lines */
}

.contact-contact-form p {
    max-width: 500px;     /* control line length */
    margin: 0 auto;       /* center the paragraph block */
    line-height: 1.6;
}

  
  /* Left and right columns */
  .contact-social-media, 
  .contact-contact-form {
    flex: 1 1 200px;
  }
  
  /* Headings */
  .contact-social-media h3,
  .contact-contact-form h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--accent);
    text-align: center;
  }
  
  /* Social media list */
  .contact-social-media ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }
  
  .contact-social-media ul li {
    margin-bottom: 12px;
  }
  
  .contact-social-media ul li a {
    color: #6b6b6b;  /* lighter color */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  
  .contact-social-media ul li a:hover {
    color: var(--accent);
  }
  
  /* Contact info below form */
  .contact-info {
    max-width: 1000px;
    margin: 0 auto 20px;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
  }
  
  .contact-info p {
    margin: 6px 0;
    color: #6b6b6b;
  }

  /* ----------------------------------------------------------------------------------------------------------------- COACH ----------------------------------------------------------------------------------*/
  
  .coach {
    max-width: 1100px;
    margin: auto;
    padding: 3rem 1.5rem;
    font-family: sans-serif;
  }
  
  /* Hero */
  .coach-hero {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 2rem;
    align-items: center;
  }
  
  .coach-photo img {
    width: 70%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  
  .coach h1 {
    font-size: 2.5rem;
  }
  
  .coach h2 {
    color: #b30000;
    margin-bottom: 1rem;
  }
  
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #b30000;
    padding-left: 1rem;
  }
  
  /* Diplomas */
  .diploma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
  }
  
  .diploma-card {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
  }
  
  .diploma-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  
  /* Gallery */
  .career-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: center;
  }
  
  .career-gallery img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }

  /*----------------------------------------------------------------------------------------------------------------- SCHEDULE ----------------------------------------------------------------------------------------*/

.scheduleMain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* FILTER BUTTONS */
.schedule-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  background: var(--card);
  font-weight: 600;
  cursor: pointer;
  color: #111;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background: rgba(210, 36, 68, 0.08);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* TABLE WRAPPER */
.schedule-table {
  display: none;
  gap: 6px;
  background: var(--card);
  padding: 16px;
  padding-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.schedule-table.active {
  display: grid;
}

/* HEADER */
.schedule-header,
.schedule-row {
  display: grid;
  grid-template-columns: 130px repeat(5, 1fr);
  align-items: center;
}

.schedule-header {
  font-weight: 700;
  text-align: center;
  color: var(--accent);
}

.schedule-header div {
  padding: 10px 0;
}

/* ROWS */
.schedule-row {
  min-height: 50px;
}

/* TIME COLUMN */
.time-col {
  font-weight: 600;
  color: #333;
  background: #f1f1f4;
}

/* CELLS */
.schedule-row div {
  border: 1px solid #e3e3e8;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fafafa;
}

/* zebra striping */
.schedule-row:nth-child(even) div:not(.time-col) {
  background: #f6f6fa;
}

/* CLASS BLOCK */
.class-box {
  background: linear-gradient(135deg, var(--accent), #a02020);
  color: #4d4c4c;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(210, 36, 68, 0.35);
}

/* subtle hover */
.class-box:hover {
  filter: brightness(1.1);
  cursor: pointer;
}

/*---------------------------------------------------class media ---------------------------------------*/

  @media(max-width: 1550px){
    .classMain {
      max-width: 1100px;
    }
  
    .gallery img.responsive {
      height: 320px;
    }
  
    .class-images img.responsive {
      height: 300px;
    }
  
    .class-item:nth-child(3) .class-images img.responsive {
      height: 400px;
    }
  }

  @media (max-width: 1200px) {

    .classMain {
      max-width: 950px;
    }
  
    .gallery img.responsive {
      height: 260px;
    }
  
    .class-images img.responsive {
      height: 240px;
    }
  
    .class-item:nth-child(3) .class-images img.responsive {
      height: 320px;
    }
  
  }

  @media (max-width: 950px) {

    .classMain {
      max-width: 800px;
    }
  
    /* Gallery images */
    .gallery img.responsive {
      height: 220px;
    }
  
    /* Allow class images to wrap into 2 columns */
    .class-images {
      flex-wrap: wrap;
    }
  
    .class-images img.responsive {
      flex: 1 1 calc(50% - 6px);
      height: 200px;
    }
  
    /* Adults class full width */
    .class-item:nth-child(3) .class-images img.responsive {
      flex: 1 1 100%;
      height: 260px;
    }
  
  }

/*-----------------------------------------------------------------------------general media -----------------------------------------*/

  @media (max-width: 1400px) {
    .nav-links {
      display: none; /* hide initially */
      flex-direction: column;
      position: absolute;
      top: 100%;          /* directly below icon */
      left: 50%;          /* start from center of icon */
      transform: translateX(-50%); /* center the menu horizontally */
      background: #111;
      padding: 10px 15px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      z-index: 1000;
      width: max-content; /* only as wide as content */
    }
  
    .menu-icon {
      display: block;
    }
  
    /* When toggled */
    .nav-links.show {
      display: flex !important;
    }

    .feature-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .career-gallery {
      grid-template-columns: repeat(2, 1fr); /* 2 per row under 1400px */
    }

    .schedule-header, .schedule-row {
      display: grid;
      grid-template-columns: 70px repeat(5, 1fr);
      align-items: center;
    }

    
  }

  @media(max-width: 1250px){
    .language-selector{
      position: relative;
      padding-left: 20px;
    }
  }

  @media(max-width: 1050px){
  
    .contact-content iframe {
      width: 100%;
      height: 250px;
    }
  }

  @media (max-width: 700px) {

    header {
      padding: 12px 20px;       /* 20px left/right */
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: nowrap;
    }
  
    /* Container should be full width */
    .container {
      display: flex;
      justify-content: space-between; /* logo left, menu right */
      align-items: center;
      width: 100%;
      padding: 0;
      gap: 0;
    }
  
    /* Logo stays left */
    .logo {
      margin: 0;
    }
  
    /* Menu wrapper: icon + dropdown */
    .menu-wrapper {
      position: relative;       /* dropdown positions relative to this */
      display: flex;
      align-items: center;
    }
  
    /* Show hamburger menu */
    .menu-icon {
      display: block;
      width: 35px;
      height: 35px;
      cursor: pointer;
    }
  
    /* Language selector next to menu icon */
    .language-selector {
      display: flex;
      gap: 10px;
      margin-left: 20px;       /* gap from menu icon */
    }
  
    /* Mobile dropdown menu */
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;                /* immediately below icon */
      right: 0;                 /* aligned to icon */
      background: #222;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      z-index: 1000;
      transform: translateX(-90%);
      min-width: 150px;
      max-width: calc(100vw - 40px); /* never exceed viewport minus padding */
      word-wrap: break-word;
    }
  
    /* Show dropdown when toggled */
    .nav-links.show {
      display: flex !important;
    }

    .class-images {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }
  
    /* Links styling */
    .nav-links a {
      margin: 8px 0;
      font-size: 1rem;
      white-space: normal;  /* allow wrapping */
    }

    .hero h1 {
      font-size: 1.5rem;
      font-weight: 800;
      line-height: 1.1;
    }

    .fight-header h3{
      padding-left: 0px;
    }

    .fight-gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* 5th image full width */
    .fight-gallery img:nth-child(5) {
      grid-column: 1 / -1;
      height: 450px;
    }
  
    /* reset 6 & 7 so they sit side by side */
    .fight-gallery img:nth-child(6),
    .fight-gallery img:nth-child(7) {
      grid-column: auto;
    }

    .fight-gallery img {
      width: 100%;
      height: 190px;
      object-fit:fill;
      border-radius: 10px;
      display: block;
    }
    
    /* 5th image stays full and dramatic */
    .fight-gallery img:nth-child(5) {
      grid-column: 1 / -1;
      height: 500px;
      object-fit: cover;
    }

    h3 {
      font-size: 24px;
      margin-bottom: 10px;
    }

    .gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }

    .feature-grid {
        grid-template-columns: 1fr; /* single column for small devices */
        padding: 30px;
      }

    .language-selector {
      position: absolute;
      top: 0px;
      right: 11px;
      display: flex;
      gap: 10px;
    }

    .contact-info iframe {
      width: 100%;
      height: 250px;
    }
    
  }

  @media (max-width: 500px) {

    .scheduleMain {
      padding: 15px;
    }
  
    .schedule-table {
      font-size: 12px;
    }
  
    .schedule-table th,
    .schedule-table td {
      padding: 6px 4px;
    }
  
    .schedule-table td {
      word-break: break-word;
    }

    .schedule-header, .schedule-row {
      display: grid;
      grid-template-columns: 50px repeat(5, 1fr);
      align-items: center;
    }

    .coach-hero {
      height: 300px;   /* keep hero visible */
    }
  
    .coach-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .coach-bio{
      padding-top: 120px;
    }
  
  }

  @media (max-width: 400px) {

    .scheduleMain {
      padding: 10px;
    }
  
    .schedule-table {
      font-size: 9px;
      table-layout: fixed;
      width: 100%;
    }
  
    .schedule-table th,
    .schedule-table td {
      padding: 3px 2px;
    }
  
    .schedule-table td {
      word-break: break-word;
    }

    .schedule-header, .schedule-row {
      display: grid;
      grid-template-columns: 35px repeat(5, 1fr);
      align-items: center;
    }
  
  }
  



  
  