/* Consolidated Media Queries - Mobile-First Approach (Largest to Smallest) */

/* Extra Large Devices (max-width: 1199.98px) */
@media (max-width: 1199.98px) {
  .navbar .nav-link {
    margin-right: 0px !important;
  }

  .vision-image {
    height: 450px;
  }

  .vission-img-lyer {
    left: -10px;
    bottom: -60px;
  }

  .vision-title {
    font-size: 36px;
  }
}

/* Large Devices (max-width: 991.98px) */
@media (max-width: 991.98px) {
  .mobil {
    display: none;
  }
  .kwow-more-about-text {
    top: -25px;
    right: 0px;
    left: 0;
    padding: 10px 0;
    z-index: 10;
  }
  .kwow-more-about-text .bg-orange {
    padding: 10px 20px;
  }
  .orange-bottom-bar {
    /* display: none; */
    bottom: 0%;
    z-index: 99;
    width: 100%;
    text-align: center;
  }
  .orange-bottom-bar h4 {
    padding: 0 !important;
  }
  .contact-stack .contact-icon {
    font-size: 30px;
    margin-right: 0.3rem;
  }

  .contact-stack .contact-item span:nth-child(1) {
    font-size: 0.8rem;
  }

  .contact-stack .contact-item span:nth-child(2) {
    font-size: 0.6rem;
  }

  .btn-quote {
    height: 50px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero-slide {
    height: 80vh;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center !important;
    padding: 0 1rem;
  }

  .hero-content .hero-pre-head {
    font-size: 28px;
    line-height: 36px;
  }

  .hero-content h1 {
    font-size: 38px !important;
    line-height: 46px;
    letter-spacing: -0.5px;
    white-space: normal;
  }

  .hero-content p {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 2px;
    white-space: normal;
  }

  .hero-content .btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .vision-image {
    height: 400px;
  }

  .vission-img-lyer {
    left: 0;
    bottom: -40px;
  }

  .vision-title {
    font-size: 32px;
  }

  .vision-description {
    font-size: 15px;
  }

  .vision-content {
    padding: 40px 30px;
  }

  /* Footer newsletter adjustments (originally at 768px, close enough to lg) */
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
    margin-top: 10px;
  }
  .section-title {
    font-size: 32px;
  }

  .testimonial-item {
    padding: 0 20px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  .testimonial-nav,
  .testimonial-dots {
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
  }

  .blog-image {
    height: 240px;
  }

  .blog-title {
    font-size: 18px;
    min-height: auto;
  }
  .services-title {
    font-size: 36px;
  }

  .service-image {
    height: 250px;
  }

  .what-title {
    font-size: 36px;
  }
  .supplier-content {
    padding: 60px 40px;
  }

  .supplier-title {
    font-size: 32px;
  }

  .supplier-image {
    min-height: 400px;
  }

  .clients-title {
    font-size: 30px;
  }
  .team-member-image {
    height: 350px;
  }
  .faq-block {
    padding: 40px 30px;
  }

  .faq-main-title {
    font-size: 24px;
  }

  .services-banner-section {
    background: var(--bg-blue);
  }

  .banner-title {
    font-size: 36px;
  }

  .about-content-box {
    padding: 50px 40px;
  }

  .about-title {
    font-size: 30px;
  }

  .counter-number {
    font-size: 50px;
  }
}

/* Medium Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .services-banner-section {
    padding: 60px 0 40px;
  }

  .banner-title {
    font-size: 28px;
  }

  .services-cards-row {
    flex-direction: column;
  }

  .service-mini-card {
    min-width: 100%;
  }

  .video-wrapper {
    height: 300px;
  }

  .video-thumbnails {
    bottom: 15px;
    left: 15px;
    gap: 10px;
  }

  .thumbnail-item {
    width: 80px;
    height: 60px;
  }

  .about-content-box {
    padding: 40px 30px;
  }

  .about-title {
    font-size: 24px;
  }

  .counter-number {
    font-size: 40px;
  }

  .counter-title {
    font-size: 14px;
  }

  .faq-block {
    padding: 30px 20px;
  }

  .faq-main-title {
    font-size: 22px;
  }

  .faq-question {
    padding: 15px 20px;
    font-size: 13px;
  }

  .faq-answer.show {
    padding: 15px 20px;
  }

  .faq-intro-text {
    font-size: 13px;
  }
  .team-member-image {
    height: 300px;
  }

  .team-member-name {
    font-size: 18px;
  }

  .team-member-info {
    padding: 20px 15px;
  }

  .clients-title {
    font-size: 26px;
  }

  .client-logo-box {
    padding: 25px 15px;
    min-height: 100px;
  }

  .client-logo-box img {
    max-height: 50px;
  }
  .supplier-content {
    padding: 50px 30px;
  }

  .supplier-title {
    font-size: 28px;
  }

  .service-item {
    flex-direction: column;
    gap: 10px;
  }

  .service-year {
    padding-left: 20px;
  }

  .supplier-image {
    min-height: 300px;
  }
  .header-bar {
    padding: 0.75rem 0;
  }

  .header-bar .header-logo {
    max-height: 32px;
  }

  .contact-stack {
    display: none;
  }

  .copyright {
    margin-bottom: 40px !important;
  }
  .copyright-right {
    float: inline-start !important;
  }

  /* Mobile menu styling */
  #mobileNavMenu {
    background: #0b1c2d;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-radius: 8px;
  }

  #mobileNavMenu .nav-link {
    color: #fff !important;
    padding: 0.75rem 1rem !important;
    text-align: center;
  }

  #mobileNavMenu .nav-actions {
    justify-content: center !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #mobileNavMenu .btn-quote {
    height: 50px;
    width: 100%;
    max-width: 200px;
  }

  .vision-image {
    height: 300px;
  }

  .vission-img-lyer {
    position: relative;
    left: 0;
    bottom: 0;
    height: 100%;
  }

  .vision-title {
    font-size: 26px;
  }

  .vision-description {
    font-size: 14px;
  }

  .vision-content {
    padding: 30px 20px;
    text-align: center;
  }

  .vision-image img {
    max-height: 400px;
  }

  .section-title {
    font-size: 28px;
  }

  .team-image {
    min-height: 250px;
  }

  .team-info {
    padding: 25px 20px;
  }
  .quote-icon i {
    font-size: 40px;
  }

  .testimonial-text {
    font-size: 15px;
  }
  .blog-content {
    padding: 25px 20px;
  }

  .blog-image {
    height: 220px;
  }
  .cta-section {
    padding: 30px 0;
  }

  .cta-content {
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .cta-title {
    font-size: 22px;
  }

  .col-md-5.text-end {
    text-align: center !important;
  }

  .services-title {
    font-size: 30px;
  }

  .services-description {
    font-size: 14px;
  }

  .service-image {
    height: 220px;
  }

  .service-name {
    font-size: 16px;
  }
  .what-title {
    font-size: 30px;
  }

  .feature-number {
    font-size: 60px;
    left: 40px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-icon i {
    font-size: 28px;
  }

  .fab-container-left,
  .fab-container-right {
    bottom: 100px;
  }
}

/* Small Devices (max-width: 575.98px) */
@media (max-width: 575.98px) {
  .hero-slide {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 32px !important;
    line-height: 40px;
  }

  .hero-content .hero-pre-head {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .vision-image {
    height: 250px;
  }

  .vision-label {
    font-size: 12px;
  }

  .vision-title {
    font-size: 22px;
  }

  .stat-label,
  .stat-value {
    font-size: 13px;
  }

  .progress {
    height: 6px;
  }

  .cta-title {
    font-size: 20px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 14px;
  }

  .cta-icon {
    width: 45px;
    height: 45px;
  }

  .cta-icon i {
    font-size: 20px;
  }
}

/* Desktop and up (min-width: 768px) */
@media (min-width: 767.98px) {
  .cta-btn {
    float: inline-end;
  }
}
@media (max-width: 767.98px) {
  .latest-news-img {
    float: left;
    margin-top: 0 !important;
  }
  .testi-carousel {
    padding-left: 0 !important;
  }
}
@media (min-width: 991.98px) and (max-width: 1199.98px) {
  .big-heading {
    font-size: 26px !important;
  }
}
