@media (max-width: 992px) {
    .overlay {
        padding-left: 40px;
    }

    .overlay h1 {
        font-size: 40px;
    }
    .about-wrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .img-float {
    left: 0;
  }
    .testimonial-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .user {
    justify-content: center;
  }
  .coach-box {
    flex-direction: column;
    text-align: center;
  }

  .coach-img img {
    width: 100%;
    height: auto;
  }

  .highlight {
    padding-left: 0;
  }

  .highlight::before {
    display: none;
  }
  .details-grid{
    grid-template-columns: 1fr;
  }
      .coach-hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .details-grid {
        grid-template-columns: 1fr; /* stack cards vertically */
        margin: 30px 20px;
    }
     .mission-top-images img {
        width: 48%;
    }

    .mission-content-row {
        flex-direction: column;
    }

    .mission-images, .mission-text {
        flex: 1 1 100%;
    }

    .mission-images {
        flex-direction: row;
    }

    .mission-images img {
        width: 32%;
    }
       .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .video-item iframe {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .overlay {
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .overlay h1 {
        font-size: 32px;
    }

    .overlay p {
        font-size: 16px;
    }
    .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-email {
    flex: unset;
    min-width: 100%;
    margin-bottom: 20px;
  }

  .footer-links ul {
    display: inline-block;
    padding-left: 0;
  }

  .footer-links ul li {
    display: inline-block;
    margin: 0 10px 10px 0;
  }
  .mission-top-images {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 40px;
    flex-direction: column;
}
  .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 480px) {
    .overlay h1 {
        font-size: 26px;
    }

    .overlay p {
        font-size: 14px;
    }
      .coach-hero {
        height: 220px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content .breadcrumb {
        font-size: 14px;
    }

    .detail-box {
        padding: 20px;
    }
        .mission-top-images img, .mission-images img {
        width: 100%;
    }

    .mission-text h2 {
        font-size: 26px;
    }

    .mission-text p {
        font-size: 14px;
    }
      .videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .video-item iframe {
        height: 180px;
    }

    .section-title {
        font-size: 28px;
    }

    .video-title {
        font-size: 15px;
    }

    .video-desc {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
  .about-content h1 {
    font-size: 30px;
  }

  .badge {
    display: none;
  }
   .why-cards {
    grid-template-columns: 1fr;
  }

  .why-title {
    font-size: 26px;
  }
  .footer-links ul li {
    display: block;
    margin: 5px 0;
  }

  .footer-logo {
    width: 100px;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form input[type="email"],
  .email-form button {
    width: 100%;
  }
    .coaches-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 30px;
    }

    .coach-card img {
        width: 110px;
        height: 110px;
    }
  
}

/* footer responsive */
@media (min-width: 1200px) {
    /*navbar */
     .navbar-logo {
    height: 70px;
  }

  .navbar-nav .nav-link {
    font-size: 15px;
    margin: 0 8px;
  }

  .drop-result {
    width: 180px;
  }
  .footer-container {
    grid-template-columns: 20% 25% 40%;
    gap: 5%;
  }
  .faq-row {
    gap: 40px;
  }

  .faq-image {
    flex: 0 0 300px;
  }

  .faq-content {
    flex: 1;
  }
  .testimonial-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
  .testimonial-text .content.short {
    -webkit-line-clamp: 8;
  }

  .toggle-btn2 {
    font-size: 14px;
  }
  .gallery-grid-dark {
    gap: 30px;
  }

  .section-title1 {
    font-size: 36px;
  }

  .overlay-dark {
    font-size: 18px;
    padding: 15px;
  }
   .why-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .why-title {
    font-size: 36px;
  }

  .card-img img {
    height: 210px;
  }
  
  .about-content h1 {
    font-size: 30px;
  }

  .img-float {
    width: 45%;
    bottom: -40px;
    left: -30px;
  }

  .badge {
    top: -20px;
    right: -20px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
    /* navbar */
     .navbar-logo {
    height: 60px;
  }
  .navbar-expand-lg .navbar-nav .nav-link{
      padding-left:0px;
      padding-right:0px;
  }

  .navbar-nav .nav-link {
    font-size: 12px;
    margin: 0 6px;
  }

  .drop-result {
    width: 160px;
  }
  .footer-container {
    grid-template-columns: 25% 30% 35%;
    gap: 5%;
  }

  .footer-links ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-row {
    gap: 30px;
  }

  .faq-image {
    flex: 0 0 250px;
  }

  .faq-image img {
    height: 260px;
  }

  .faq-question {
    font-size: 13px;
    padding: 16px 20px;
  }
  .testimonial-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .testimonial-box .right-content1 {
    padding: 20px;
  }

  .testimonial-box .authorBox h4 {
    font-size: 20px;
  }
  .testimonial-text .content.short {
    -webkit-line-clamp: 7;
  }

  .toggle-btn2 {
    font-size: 13px;
    margin-top: 8px;
  }
  
  .gallery-grid-dark {
    gap: 25px;
  }

  .section-title1 {
    font-size: 32px;
  }

  .overlay-dark {
    font-size: 16px;
    padding: 12px;
  }
  
  .why-cards {
    grid-template-columns: repeat(3, 1fr); /* 3 cards */
    gap: 24px;
  }

  .why-title {
    font-size: 32px;
  }

  .card-img img {
    height: 200px;
  }

  .card-content p {
    font-size: 14px;
  }
  
  .about-content h1 {
    font-size: 26px;
  }

  .img-float {
    width: 40%;
    bottom: -30px;
    left: -20px;
  }

  .badge {
    top: -15px;
    right: -15px;
    font-size: 12px;
    padding: 10px 14px;
  }

  .pill {
    font-size: 16px;
  }
  .about-content h4{
    font-size:20px;
}
}

@media (min-width: 768px) and (max-width: 991px) {
    /*navbar */
     .custom-navbar {
    padding: 10px;
  }

  .navbar-logo {
    height: 55px;
  }

  .navbar-nav {
    margin-top: 15px;
    text-align: left;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
  }
    .navbar-toggler{
        padding:0px;
    }
  /* Dropdown fix for stacked menu */
  .dropdown-result:hover .drop-result {
    display: none; /* disable hover */
  }

  .drop-result {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    display: none;
  }

  .dropdown-result.active .drop-result {
    display: block;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
   .cricket-footer {
    padding: 50px 20px;
  }
  
  .footer-about {
    grid-column: span 2; 
  }
   .footer-about{
      display: flex;
      justify-content: space-around;
      align-items: center;
  }
  .counter-section{
      padding:0;
  }
    .counter-number{
    margin-top: 10px;
    text-align: center;
    margin-bottom:0px;
    }

  .footer-links ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact {
    margin-top: 10px;
  }
   .faq-row {
    flex-direction: column;
    gap: 25px;
  }

  .faq-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .faq-image img {
    height: auto;
  }

  .faq-content {
    width: 100%;
  }

  .faq-heading {
    font-size: 22px;
  }

  .faq-subheading {
    font-size: 13px;
  }
  .testimonial-box {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .testimonial-wrap {
    min-height: auto;
    padding: 30px 20px;
  }

  .testimonial-box .item {
    padding-top: 80px;
  }

  .testimonial-box .item img {
    width: 90px;
    height: 90px;
    top: -50px;
  }

  .testimonial-box .right-content1 {
    padding: 20px;
  }

  .testimonial-box .authorBox h4 {
    font-size: 20px;
  }
  .testimonial-text .content.short {
    -webkit-line-clamp: 6;
  }

  .toggle-btn2 {
    font-size: 13px;
    margin-top: 8px;
  }
  .gallery-section-dark {
    padding: 60px 15px;
  }

  .gallery-grid-dark {
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title1 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .overlay-dark {
    font-size: 15px;
    padding: 10px;
  }

  .gallery-card-dark:hover img {
    transform: scale(1.05);
  }
  
  /* why-choose section */
  .why-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 cards */
    gap: 20px;
  }

  .why-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .why-main {
    font-size: 18px;
  }

  .animated-heading {
    font-size: 18px;
  }

  .card-img img {
    height: 180px;
  }

  .card-content {
    padding: 12px;
  }
  
  .about-dark {
    padding: 40px 20px;
  }

  /* stack layout */
  .about-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .about-content h1 {
    font-size: 24px;
  }

  .pill {
    font-size: 15px;
  }

  /* FIX floating image */
  .img-float {
    position: static;
    width: 60%;
    margin: 20px auto 0;
  }

  .badge {
    position: static;
    display: inline-block;
    margin-top: 10px;
  }
  .about-content h4{
    font-size:24px;
}
  
}



@media (min-width: 320px) and (max-width: 767px) {
    
    /* navbar*/
    .custom-navbar {
    padding: 8px 10px;
  }

  .navbar-logo {
    height: 50px;
  }

  .navbar-nav {
    margin-top: 10px;
    text-align: left;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    margin: 0;
  }

  /* Remove underline animation (clean look on mobile) */
  .navbar-nav .nav-link::after {
    display: none;
  }
  .navbar-toggler{
        padding:0px;
    }

  /* Dropdown for mobile */
  .dropdown-result:hover .drop-result {
    display: none;
  }

  .drop-result {
    position: static;
    transform: none;
    width: 100%;
    border: none;
    box-shadow: none;
    display: none;
  }

  .dropdown-result.active .drop-result {
    display: block;
  }

  .drop-result li a {
    font-size: 14px;
    padding: 10px;
  }
    
  .cricket-footer {
    padding: 30px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-email {
    text-align: left;
  }
  .footer-about{
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .counter-section{
      padding:0;
  }
    .counter-number{
    margin-top: 10px;
    text-align: center;
    margin-bottom:0px;
    }
  .footer-links ul {
    grid-template-columns: 1fr; 
  }

  .email-form {
    flex-direction: column;
    gap: 10px;
  }

  .email-form input[type="email"],
  .email-form button {
    width: 100%;
  }

  .footer-logo {
    width: 100px;
  }

  .footer-about h3 {
    font-size: 18px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 18px;
  }

  .footer-contact p {
    font-size: 14px;
  }
   .faq-section {
    padding: 30px 10px;
  }
  .faq-question span{
      margin-right:10px;
  }

  .faq-row {
    flex-direction: column;
    gap: 20px;
  }
.faq-content{
    flex:1 1 auto;
}
  .faq-image {
    width: 100%;
  }

  .faq-image img {
    height: auto;
    border-radius: 8px;
  }

  .faq-heading {
    font-size: 20px;
  }

  .faq-subheading {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .faq-question {
    font-size: 12px;
    padding: 10px;
  }

  .faq-question::after {
    right: 18px;
    font-size: 20px;
  }

  .faq-answer {
    font-size: 13px;
    line-height: 1.5;
  }

  .faq-answer.show {
    padding: 12px 18px 15px;
  }
  
  
  /* testimonial*/
  .testimonial-section {
    padding: 20px 10px;
  }

  .testimonial-wrap {
    min-height: auto;
    padding: 20px 10px;
  }

  .testimonial-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-box .item {
    padding-top: 70px;
  }

  .testimonial-box .item img {
    width: 80px;
    height: 80px;
    top: -45px;
  }

  .testimonial-box .right-content1 {
    padding: 18px;
    margin: 10px 0;
  }

  .testimonial-box .right-content1 p {
    font-size: 14px;
  }

  .testimonial-box .authorBox h4 {
    font-size: 18px;
    margin: 15px 0;
  }

  .testimonial-box .authorBox span {
    font-size: 12px;
  }
  .testimonial-text .content.short {
    -webkit-line-clamp: 4; 
  }

  .toggle-btn2 {
    font-size: 12px;
    margin-top: 6px;
  }
  
  /* gallary section */
  .gallery-section-dark {
    padding: 40px 10px;
  }

  .gallery-grid-dark {
    gap: 15px;
  }

  .section-title1 {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .overlay-dark {
    font-size: 14px;
    padding: 8px;
  }

  .gallery-card-dark:hover img {
    transform: none;
  }

  .gallery-card-dark:hover .overlay-dark {
    transform: translateY(0); 
  }

  .overlay-dark {
    transform: translateY(0);
  }
  
  /* why-choose section*/
   .why-choose-creative {
    padding: 20px 10px;
  }

  .why-cards {
    grid-template-columns: 1fr; /* 1 card */
    gap: 18px;
  }

  .why-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .why-title::after {
    width: 60px;
    height: 3px;
  }

  .why-main {
    font-size: 16px;
  }

  .animated-heading {
    font-size: 16px;
  }

  .card-img img {
    height: 160px;
  }

  .card-content {
    padding: 10px;
  }

  .card-content p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* reduce hover effects for mobile */
  .why-card:hover {
    transform: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }
  
  /* about page */
   .about-dark {
    padding: 30px 10px;
  }

  .container {
    width: 92%;
  }

  /* stack everything */
  .about-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .about-content h1 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .about-content p {
    font-size: 14px;
  }

  .about-content ul li {
    font-size: 14px;
  }

  .pill {
    font-size: 14px;
    padding: 4px 12px;
  }

  /* images fix */
  .img-float {
    position: static;
    width: 70%;
    margin: 15px auto 0;
  }

  .img-main {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  /* badge fix */
  .badge {
    position: static;
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    padding: 8px 12px;
  }

  /* button */
  .btn {
    padding: 8px 20px;
    font-size: 14px;
  }
  .about-content h4{
    font-size:18px;
    line-height:20px;
    
}
}

