@media (max-width: 992px) {

  .about-content,
  .career-content,
  .branch-card {
    flex-direction: column;
  }

  .hero-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {

  .nav {
  display: none;
  flex-direction: column;

  background: #fff;
  position: fixed;
  top: 60px;
  right: 15px;

  width: 180px;
  height: auto;              
  padding: 15px;        

  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 9999;

  align-items: center;       
  justify-content: center;   
  gap: 4px 0;                 
}
.nav.active {
  display: flex;
}

/* nav links */
.nav a {
  font-size: 15px;           
  color: #000;
  text-decoration: none;

  padding: 4px 0;          
  text-align: center;
  width: 100%;
}

/* close button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
}


/* toggle icon */
.menu-toggle {
  display: block;
  font-size: 26px;
  cursor: pointer;
}

  .menu-toggle {
    display: block;
  }

  .hero {
    height: 60vh;
  }

  .hero-slider img {
    height: 60vh;
  }
}

@media (max-width: 480px) {

  .hero-content {
    padding: 20px;
  }

  .hero-content h2 {
    font-size: 22px;
  }
    .home-about-wrapper {
    flex-direction: column;
  }
}
@media (max-width: 992px) {
  .home-about-wrapper {
    flex-direction: column;
  }

  .hero-overlay h1 {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 280px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }
}
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 card per row */
    gap: 15px;
  }

  .why-card {
    padding: 18px;
  }
}


@media (max-width: 576px) {
  .why-card {
    max-width: 180px;
    padding: 12px;
  }

  .why-card h3 {
    font-size: 16px;
  }

  .why-card p {
    font-size: 13px;
  }
}


@media (max-width: 768px) {
  .career-container {
    flex-direction: column;
    text-align: left;
  }

  .career-title {
    font-size: 24px;
  }

  .career-image img {
    max-width: 300px;
    margin-bottom: 30px;
  }
}
@media (max-width: 992px) {
  .paper-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .paper-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .paper-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .paper-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .paper-title {
    font-size: 22px;
  }
}
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-left h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .about-left h2 {
    font-size: 22px;
  }

  .about-left p {
    font-size: 14px;
  }
}
@media (max-width: 992px) {
  .history-container {
    flex-direction: column;
    gap: 30px;
  }

  .history-left h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .history-left p {
    font-size: 14px;
  }
}
@media (max-width: 992px) {
  .vm-container {
    flex-direction: column;
    gap: 35px;
  }

  .vm-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .vm-card p {
    font-size: 14px;
  }

  .vm-icon {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 768px) {
  .director-container {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .team-title {
    font-size: 28px;
  }

  .team-container {
    flex-direction: column;
  }

  .team-card img {
    height: auto;
  }
}
/* Responsive */
@media (max-width: 900px) {
  .stats-container {
    display: flex;                 /* 🔥 grid → flex */
    overflow-x: auto;              /* 🔥 horizontal scroll */
    gap: 16px;
    padding: 10px;
    scroll-snap-type: x mandatory; /* smooth snapping */
  }

  .stat-box {
    min-width: 240px;              /* 👈 card size */
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* optional: scrollbar clean */
  .stats-container::-webkit-scrollbar {
    height: 6px;
  }
  .stats-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
  }
}

@media (max-width: 500px) {
  .stats-container {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
    flex: 0 0 100%;
  }
}@media (min-width: 769px) {
  .testimonial-card {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px;
  }
}

/* Mobile → 1 card */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px;
  }
}
@media (max-width: 992px) {
  .clients-grid {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
  }
}

@media (max-width: 768px) {
  .clients-grid {
grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .clients-grid img {
    max-width: 140px;
  }
}
@media (max-width: 992px) {
  .home-about-wrapper {
    flex-direction: column;
  }
}
  .hero-overlay h1 {
    font-size: 40px;
  }


@media (max-width: 576px) {
  .hero-section {
    height: 280px;
  }
}
/* Responsive for smaller screens */
@media (max-width: 992px) {
  .why-grid {
    display: flex;                 /* grid → flex */
    overflow-x: auto;              /* left-right scroll */
    gap: 16px;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
  }

  .why-card {                      /* card ka class */
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* smooth scrollbar */
  .why-grid::-webkit-scrollbar {
    height: 6px;
  }
  .why-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
}


@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-title {
    font-size: 30px;
  }
}
@media (max-width: 768px) {

  /* hide desktop nav */
  .nav {
    position: fixed;
    top: 0;
    right: -150px;          /* screen ke bahar */
    width: 120px;
    height: 80vh;
    background: #fff;
    flex-direction: column;
    padding: 20px 10px;
    gap: 10px;
    transition: right 0.3s ease;
    z-index: 9999;
  }

  .nav a {
    color: #000;
    font-size: 18px;
  }

  /* show when active */
  .nav.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .close-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
  }
}

@media (max-width: 768px) {

  .career-container {
    flex-direction: column; 
    gap: 30px;
    text-align: center;
  }

  .career-left,
  .career-right {
    width: 100%;
  }

  .career-image img {
    max-width: 280%;
    margin: auto;
    display: block;
  }

  .career-title {
    font-size: 22px;
  }

}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .branch-card {
    flex-direction: column;
  }

  .contact-details,
  .branch-details,
  .contact-map,
  .branch-map {
    width: 100%;
  }

  .contact-map iframe,
  .branch-map iframe {
    min-height: 280px;
  }
}
/* Responsive */
@media (max-width: 900px) {
  .stats-container {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (max-width: 500px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 992px) {
  .paper-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .paper-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .paper-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .paper-grid {
grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  }

  .paper-title {
    font-size: 22px;
  }
}
/* Responsive */
@media (max-width: 600px) {
  .contact-widget {
    right: 15px;
    bottom: 15px;
  }
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-right {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 768px) {

  .services {
    grid-template-columns:1fr;
    padding: 20px;
  }
}

@media (max-width: 480px) {

  .services{
    grid-template-columns: 1fr;
    padding: 15px;
  }
.service-card h3 {
    font-size: 14px;
  }
  .service-card img {
    height: auto;
  }
}
