/* ------------------------------------------- */
/* --- MOBILE RESPONSIVENESS (Media Query) --- */
/* ------------------------------------------- */



@media (max-width: 768px) {

  /* --- TOP BAR --- */
  .top-bar {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 0;
    z-index: 10;
    text-align: center;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
  }
 header.scrolled {
    top: 0;
    padding: 5px 0; 
    transition: all 0.3s ease;
  }
  .contact-info {
    font-size: 14px;
    line-height: 1.4;
  }

  /* --- HEADER BELOW TOP BAR --- */
  header {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }


  body {
    margin-top: calc(60px + 55px); 
  }

 
  .logo img {
    width: 120px;
  }

  nav ul,
  .desktop-icons {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 22px;
    color: #333;
  }
}

@media(max-width:768px) {
  nav ul {
    display: none;
  }

  .desktop-icons {
    display: none;
  }

  .menu-toggle {
    display: block;
  }


}


/* =========================================
   RESPONSIVE HERO SECTION
   ========================================= */

@media (max-width: 480px) {
  .hero-section {
    height: 100vh;
    padding: 0 15px;
  }

  #background-video {
    object-fit: cover;
  }

  .hero-overlay {
    padding: 0 10px;
  }

  .hero-content {
    padding-top: 60px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 13px;
    width: 100%;
    margin: 0 auto 25px auto;
  }

  .btn-explore {
    font-size: 16px;
    padding: 12px 25px;
    width: auto;
    height: auto;
  }
  
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero-section {
    height: 90vh;
    padding: 0 20px;
  }

  .hero-content {
    padding-top: 80px;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 14px;
    width: 90%;
    margin: 0 auto 30px auto;
  }

  .btn-explore {
    font-size: 18px;
    padding: 14px 30px;
  }
  
  
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section {
    height: 90vh;
    padding: 0 30px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-content h1 {
    font-size: 41px;
  }

  .hero-content p {
    font-size: 15px;
    width: 80%;
    margin: 0 auto 35px auto;
  }

  .btn-explore {
    font-size: 19px;
    padding: 15px 35px;
  }
}


@media (max-width: 768px) {
  .choose-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .choose-left, 
  .choose-form-column {
    width: 100%;
    max-width: 100%;
  }

  .choose-image img {
    width: 100%;
    height: auto;
  }

  .choose-form-column {
    padding: 20px;
  }

  .choose-us h2 {
    font-size: 32px;
    text-align: center;
  }

  .choose-us ul {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .choose-form-section {
    padding: 30px 15px;
  }

  .choose-submit-btn {
    width: 100%; 
    padding: 14px;
    font-size: 18px;
  }

  .choose-us h2 {
    font-size: 26px;
    margin-top:5px
  }

  .choose-us li {
    font-size: 15px;
    padding-left: 20px;
  }

  .choose-us li::before {
    font-size: 16px;
    top: 0;
  }

   .choose-image img {
    width: 100%;
    height: auto;
  }

}



@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 30px;
  }

  .footer-column {
    min-width: 100%;
    margin-bottom: 30px;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    padding: 0 10%;
    max-width: 100%;
  }

  .newsletter form {
    max-width: 300px;
    margin: 0 auto;
  }

  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}

/* =========================================
   RESPONSIVE SERVICES SECTION
   ========================================= */


@media (max-width: 480px) {
  .services-section {
    padding: 60px 15px;
  }

  .services-header h5 {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .services-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .services-header p {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 35px;
  }

  .services-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
  }

  .service-card img {
    height: 220px;
  }

  .service-card h3 {
    font-size: 20px;
    margin: 15px 0 8px;
  }

  .service-card p {
    font-size: 14px;
    padding: 0 10px 15px;
  }
}

/* ----------- Small Tablets (481px–768px) ----------- */
@media (min-width: 481px) and (max-width: 768px) {
  .services-section {
    padding: 70px 20px;
  }

  .services-header h2 {
    font-size: 32px;
  }

  .services-header p {
    font-size: 15px;
    max-width: 90%;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr; 
    gap: 25px;
  }

  .service-card img {
    height: 250px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 15px;
  }
}


@media (min-width: 769px) and (max-width: 1024px) {
  .services-section {
    padding: 80px 30px;
  }

  .services-header h2 {
    font-size: 38px;
  }

  .services-header p {
    font-size: 16px;
    max-width: 80%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* two columns */
    gap: 25px;
  }

  .service-card img {
    height: 280px;
  }

  .service-card h3 {
    font-size: 23px;
  }

  .service-card p {
    font-size: 15px;
  }
}







@media (max-width: 768px) {


  .clients-header h2 {
    font-size: 32px;
  }

  .clients-header p {
    font-size: 15px;
    margin-bottom: 30px;
  }


}

@media (max-width: 480px) {
  .clients-section {
    padding: 20px 10px;
  }




  .clients-header h2 {
    font-size: 26px;
  }

  .clients-header p {
    font-size: 14px;
  }

  
}

@media (max-width: 1024px) {
  .footer-bottom p {
    transform: translateX(0);
  }
}





/* =========================================
   RESPONSIVE WHY SAFETRAN SECTION
   ========================================= */


@media (max-width: 480px) {
  .whysafetran {
    height: 300px;
  }

  .whysafetran img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .banner-txt2 {
    padding: 10px 15px;
  }

  .banner-txt2 h1 {
    font-size: 36px;
    line-height: 1.3;
  }
  .banner-txt {
    padding: 20px 30px;
  }

  .banner-txt h1 {
    font-size: 55px;
  }
  
  .banner-txt5 {
    padding: 20px 30px;
  }

  .banner-txt5 h1 {
    font-size: 45px;
  }
  
   .banner-txtteam {
    width:100%; 
  }

  .banner-txtteam h1 {
    font-size: 30px;
    line-height: 1.3; 
  }
}


@media (min-width: 481px) and (max-width: 768px) {
  .whysafetran {
    height: 400px;
  }

  .whysafetran img {
    width: 100%;
    height: 400px;
  }

  .banner-txt2 {
    padding: 15px 25px;
  }

  .banner-txt2 h1 {
    font-size: 48px;
    line-height: 1.3;
  }
  .banner-txt {
    padding: 20px 30px;
  }

  .banner-txt h1 {
    font-size: 55px;
  }
  .banner-txt5 {
    padding: 20px 30px;
  }

  .banner-txt5 h1 {
    font-size: 55px;
  }
  
  .banner-txtteam {
    padding: 20px 30px;
  }

  .banner-txtteam h1 {
    font-size: 55px;
  }
}


@media (min-width: 769px) and (max-width: 1024px) {
  .whysafetran {
    height: 500px;
  }

  .whysafetran img {
    width: 100%;
    height: 500px;
  }

  .banner-txt2 {
    padding: 20px 30px;
  }

  .banner-txt2 h1 {
    font-size: 55px;
  }
  .banner-txt {
    padding: 20px 30px;
  }

  .banner-txt h1 {
    font-size: 55px;
  }
  
   .banner-txt5 {
    padding: 20px 30px;
  }

  .banner-txt5 h1 {
    font-size: 55px;
  }
   .banner-txtteam {
    padding: 20px 30px;
  }

  .banner-txtteam h1 {
    font-size: 55px;
  }
  
}


@media (max-width: 768px) {
  .values-section {
    padding: 40px 15px;

  }

  .intro-block h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .intro-block p,
  .feature-content p {
    font-size: 14px;

    line-height: 1.6;
  }

  .secondary-heading {
    font-size: 18px;
    margin: 40px 0;
  }

  .team-image-container {
    margin-bottom: 40px;
  }

  .feature-block {
    margin-bottom: 30px;
  }

  .feature-header h4 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .versatile-solutions-section {
    padding: 40px 15px;
  }

  .versatile-solutions-section h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .versatile-solutions-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
}


@media (max-width: 767px) {
  .specialized-services-section {
    padding: 40px 10px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .service-block {
    flex-direction: column;
  }

  .service-image img {
    width: 100%;
    height: auto;
  }

  .service-content {
    padding: 15px 5px;
  }

  .service-content h4 {
    font-size: 14px;
  }

  .service-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-left: 0;
  }

  .service-number {
    font-size: 22px;
    margin-bottom: 10px;
  }
}

/* Tablets and Mobile */
@media (max-width: 1024px) {
  nav ul {
    display: none; 
  }

  .menu-toggle {
    display: block;
    color: black;
  }
}

@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .contact-details-column {
    padding-top: 0;
    text-align: center;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .contact-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-item {
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
  }

  .contact-form-column {
    width: 100%;
  }

  .contact-form .submit-btn {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 768px) {
  .our-team-section {
    padding: 40px 15px;
  }

  .our-team-section .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
    .layout-left-image .service-content,
    .layout-right-image .service-content {
        padding-left: 10px;  
        padding-right: 10px; 
        text-align: center;   
    }

    .service-block {
        flex-direction: column; 
        gap: 20px;             
    }

    .service-image img {
        max-width: 100%;
        height: auto;  
    }
}


@media (max-width: 375px) {
    .contact-item .fa-location-dot {
        margin-left: 10px; 
    }
}


@media (min-width: 376px) and (max-width: 480px) {
    .contact-item .fa-location-dot {
        margin-left: 20px; 
    }
}


/* --- Responsive --- */
@media (max-width: 768px) {
  .why-choose-us-section .why-features {
    flex-direction: column;
    align-items: center;
  }

  .why-choose-us-section .why-card {
    max-width: 320px;
  }
  
  
  .why-choose-us-section .why-card p {
    
    margin-left: 1px;
  }
  
}
/* --- Small devices (phones, up to 576px) --- */
@media (max-width: 576px) {
  .why-choose-us-section {
    padding: 60px 15px;
  }

  .why-choose-us-section .why-header h2 {
    font-size: 32px;
  }

  .why-choose-us-section .why-header p {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .why-choose-us-section .why-card {
    max-width: 100%;
  }

  .why-choose-us-section .why-card .icon {
    width: 60px;
    height: 60px;
  }

  .why-choose-us-section .why-card .icon img {
    width: 40px;
    height: 26px;
  }

  .why-choose-us-section .why-card h4 {
    font-size: 16px;
  }

  .why-choose-us-section .why-card p {
    font-size: 14px;
    width: 100%;
    
  }

  .why-choose-us-section .contact-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* --- Extra small devices (very small phones, up to 400px) --- */
@media (max-width: 400px) {
  .why-choose-us-section {
    padding: 50px 10px;
  }

  .why-choose-us-section .why-header h5 {
    font-size: 18px;
  }

  .why-choose-us-section .why-header h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .why-choose-us-section .why-header p {
    font-size: 13px;
  }

  .why-choose-us-section .why-card .icon {
    width: 55px;
    height: 55px;
  }

  .why-choose-us-section .why-card h4 {
    font-size: 15px;
  }

  .why-choose-us-section .why-card p {
    font-size: 13px;
    margin-left: 2px;
  }

  .why-choose-us-section .contact-btn {
    width: 100%;
    display: inline-block;
    padding: 12px 0;
  }
}
/* --- Extra small mobile (max-width: 320px) --- */
@media (max-width: 320px) {
  .why-choose-us-section {
    padding: 40px 10px;
  }

  .why-choose-us-section .why-header h5 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .why-choose-us-section .why-header h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .why-choose-us-section .why-header p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 30px;
  }

  .why-choose-us-section .why-card {
    max-width: 100%;
    margin-bottom: 25px;
  }

  .why-choose-us-section .why-card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .why-choose-us-section .why-card .icon img {
    width: 32px;
    height: 22px;
  }

  .why-choose-us-section .why-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .why-choose-us-section .why-card p {
    font-size: 12px;
    line-height: 1.4;
    width: 100%;
    padding: 0 5px;
  }

  .why-choose-us-section .why-features {
    gap: 30px;
  }

  .why-choose-us-section .contact-btn {
    width: 100%;
    font-size: 13px;
    padding: 10px 0;
    border-radius: 6px;
  }
}

@media (max-width: 320px) {
  .clients-logos {          
    gap: 20px;                    
    padding: 20px 0;
  }

  .clients-logos img {
    max-height: 50px;
    max-width: 100px;
    margin: 10px 0;   
     gap: 20px;               
  }
}

