@media (max-width: 768px) {

    /* Hide social icons */
    .header-social {
        display: none;
    }

        /* Ensure each carousel item takes full width */
    #testimonialCarousel .carousel-item {
        width: 100%;
    }

    /* If cards are inside Bootstrap columns */
    #testimonialCarousel .carousel-item .col-md-4,
    #testimonialCarousel .carousel-item .col-md-6,
    #testimonialCarousel .carousel-item .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Hide extra cards if using flex row */
    #testimonialCarousel .carousel-item > .row > div:not(:first-child) {
        display: none;
    }

      .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-newsletter {
    flex-direction: column;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .founder-content{
        padding-left: 0;
        margin-top: 30px;
    }

    .founder-content h2{
        font-size: 28px;
    }

    /* ---------- HEADER TOP ---------- */
    .header-top .container{
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    /* ---------- HEADER MAIN ---------- */
    .header-main .container{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide desktop menu */
    .desktop-nav{
        display: none;
    }

    /* Show hamburger */
    .mobile-menu-toggle{
        display: flex;
    }

    /* ---------- HERO ---------- */
    .hero-slide {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 15px;
    }

    .hero-section h1{
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-section h2{
        font-size: 18px;
        margin-bottom: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 15px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    /* ---------- ABOUT ---------- */
    .about-section{
        padding: 60px 0;
    }

    .about-section img{
        margin-bottom: 20px;
    }

    /* ---------- COUNTERS ---------- */
    .counter-section{
        padding: 50px 0;
    }

    .counter-section h3{
        font-size: 22px;
    }

    .services-section {
        padding: 70px 0;
    }
    
    .loan-features {
        padding: 60px 0;
    }
    
    .service-heading {
        font-size: 32px;
    }
    
    .service-subheading {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content h3 {
        font-size: 18px;
    }
    
    .card-content p {
        font-size: 14px;
        min-height: 110px;
    }
    
    .loan-type-card {
        padding: 15px;
    }

    .page-hero-inner{
        flex-direction: column;
    }

    .page-hero-content{
        padding: 40px 25px;
        text-align: center;
    }

    .page-hero-image{
        height: 220px;
    }

    .contact-info-box,
    .contact-form-box{
        padding: 30px 25px;
    }

    .vm-header h2{
        font-size: 28px;
    }

    .vm-card{
        margin-bottom: 20px;
    }

    .blog-filters{
        flex-wrap: wrap;
    }

    .blog-header h2{
        font-size: 30px;
    }




      .dd-tab-grid{
    grid-template-columns:1fr;
    gap:35px;
    text-align:center;
  }

  .dd-tab-text h2{
    font-size:28px;
  }


  .partners-section {
    padding: 60px 0;
  }

  .partners-section h2 {
    font-size: 32px;
  }

  .partners-track {
    gap: 50px;
  }

  .partners-track img {
    height: 46px;
  }


  .loan-cta-section {
    padding: 40px 16px;
  }

  .loan-cta-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }

  .loan-cta-content {
    max-width: 100%;
  }

  .loan-cta-badge {
    font-size: 13px;
    padding: 5px 12px;
  }

  .loan-cta-content h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .loan-cta-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .loan-cta-action {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }

  .loan-cta-btn {
    padding: 12px 26px;
    font-size: 14px;
    border-radius: 12px;
  }

  .loan-cta-shape {
    width: 280px;
    height: 280px;
    right: -160px;
    opacity: 0.25;
  }

  .single-service-hero {
    padding: 50px 0;
  }

  .service-hero-content {
    max-width: 100%;
    padding: 0 16px;
  }

  .service-hero-content h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .service-hero-content p {
    font-size: 15px;
  }

  .single-service-details {
    padding: 50px 0;
  }

  .service-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .service-content {
    padding: 30px 24px;
  }

  .service-sidebar {
    width: 100%;
  }

  .service-box {
    padding: 26px;
  }

  .service-box h3,
  .service-box h4 {
    font-size: 18px;
  }

  .service-box p {
    font-size: 14px;
  }

  .service-image img {
    height: 220px;
  }

  .blog-hero {
    padding: 55px 0;
  }

  .blog-hero-content {
    max-width: 100%;
    padding: 0 16px;
  }

  .blog-hero-content h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .blog-category {
    font-size: 13px;
    padding: 5px 12px;
  }

  .blog-meta {
    font-size: 14px;
  }

  .single-blog-section {
    padding: 55px 0;
  }

  .blog-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .blog-content {
    padding: 32px 26px;
  }

  .blog-image img {
    height: 260px;
  }

  .blog-sidebar {
    width: 100%;
  }

  .blog-widget {
    padding: 24px;
  }

  .blog-widget p {
    font-size: 14px;
  }

}



@media (max-width: 992px) {
    .service-heading {
        font-size: 36px;
    }
    
    .service-subheading {
        font-size: 16px;
    }
    
    .card-content {
        padding: 20px;
        padding-top: 40px;
    }
    
    .loan-features h2 {
        font-size: 32px;
    }
}


@media (max-width: 1000px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}




@media (max-width: 576px) {
    .service-heading {
        font-size: 28px;
    }
    
    .services-section .btn-outline-primary.btn-lg {
        padding: 10px 30px;
        font-size: 15px;
    }
    
    .loan-features h2 {
        font-size: 28px;
    }
}


