/* =========================================
   📱 TABLET & MOBILE (≤ 768px)
   ========================================= */
@media (max-width: 768px) {
   /* GENERAL PADDING FOR SECTIONS */
.page-content,
.area-section,
.about-section,
.faq-section,
.contact-section,
section {
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box;
}

/* FIXED HEADER */
/* FIXED HEADER */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #333;
    width: 100%;
    z-index: 10000;
  }

  /* MAIN NAV BAR ROW */
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
  }

  /* BRAND SECTION */
  .brand {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 70%;
  }

  .brand-img {
    width: 28px;
    height: 28px;
    margin-top: 3px;
  }

  .brand-title {
    font-size: 11px;
    line-height: 1.2;
    color: #fff;
    white-space: normal;
    max-width: 70vw;
    display: none;
  }

  /* SHOW TOGGLE ONLY ON MOBILE */
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10001;
  }

  /* TOGGLE BARS */
  .nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    display: block;
  }

  /* MENU HIDDEN BY DEFAULT */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #444;
    display: none !important;  /* IMPORTANT */
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    z-index: 9999;
  }

  /* WHEN MENU IS OPEN */
  .nav-links.is-open {
    display: flex !important;
  }

  /* MOBILE LINKS */
  .nav-links a {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* DROP-DOWN INSIDE MOBILE */
  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    display: none;
    background: #555;
    flex-direction: column;
  }

  /* Open dropdown (manual class if needed) */
  .dropdown.open .dropdown-content {
    display: flex;
  }

  /* PUSH PAGE DOWN */
  body {
    padding-top: 75px;
  }

  .hero-section {
    height: auto;
    min-height: 320px;
    margin-top: 80px;
    padding: 60px 16px 32px;
    background-position: center top;
  }

  .hero-content h1,
  .hero-text h1 {
    font-size: 26px;
    line-height: 1.3;
    padding: 0 8px;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* SERVICE CARDS (index) */
  .services-row {
    flex-direction: column;
    gap: 24px;
    padding: 0 0 10px;
  }

  .service-card {
    max-width: 100%;
    border-radius: 12px;
  }

  .service-text {
    font-size: 0.96rem;
    padding: 0 16px 18px;
  }

  /* WHY CHOOSE US BIG BANNER (index) */
  .why-choose-us {
    min-height: auto;
    padding: 70px 20px 40px;
    background-size: cover;
    align-items: center;
    justify-content: center;
  }

  .content-box {
    max-width: 100%;
    text-align: left;
  }

  .content-box h2 {
    font-size: 1.6rem;
  }

  .content-box ul li {
    font-size: 0.95rem;
  }

  /* IMAGE GRIDS (gallery-type sections & brand-grid images) */
  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .image-grid img {
    border-radius: 8px;
  }

  /* BUSINESS HOURS BOX */
  .business-hours {
    width: 100%;
    padding: 24px 18px;
  }

  .business-hours h2 {
    font-size: 1.7rem;
  }

  .hours-table th,
  .hours-table td {
    font-size: 0.9rem;
    padding: 8px;
  }

  /* TESTIMONIALS */
  .testimonial-container {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-box {
    width: 100%;
  }

  /* FAQ */
  .faq-heading {
    font-size: 1.7rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 14px 16px;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  /* CONTACT SECTION */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-subtitle {
    font-size: 1.1rem;
  }

  .contact-text {
    font-size: 0.96rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  /* ABOUT SECTION (index) */
  .about-content {
    flex-direction: column;
    gap: 24px;
  }

  .about-left,
  .about-right {
    flex: 1 1 100%;
  }

  .about-right img {
    max-width: 100%;
  }

  .about-card {
    flex: 1 1 100%;
  }

  /* WHY-BOX GRID (index) */
  .why-container {
    grid-template-columns: 1fr;
  }

  /* BRAND GRID – ALL SERVICE PAGES + service.html */
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .brand-grid img {
    height: 110px;
    padding: 12px;
  }

  /* JAYANAGAR / AREA PAGES: TOP BRAND ROW  */
  .brand-row {
    gap: 16px;
    justify-content: center;
  }

  .brand-row img {
    width: 45%;
    max-width: 180px;
  }

  /* GENERIC SECTION TITLES */
  .section-title,
  .contact-title,
  .faq-heading,
  .area-heading {
    font-size: 1.7rem;
  }

  section p,
  .area-section p {
    font-size: 0.98rem;
  }

  /* HERO IMAGE PAGE (service.html hero image + text) */
  .hero-image {
    min-height: 260px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 24px;
  }

  .footer-section {
    width: 100%;
    min-width: 0;
  }

  .footer {
    padding: 32px 16px 16px;
  }
}

/* =========================================
   📱 SMALL MOBILE (≤ 480px)
   ========================================= */
@media (max-width: 480px) {

  /* HEADER TIGHTER */
  .nav {
    padding: 0 12px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  /* HERO TEXT */
  .hero-content h1,
  .hero-text h1 {
    font-size: 22px;
  }

  /* SERVICE CARDS */
  .service-text {
    font-size: 0.92rem;
  }

  /* BUSINESS HOURS */
  .business-hours h2 {
    font-size: 1.4rem;
  }

  /* FAQ / CONTACT / AREA TITLES */
  .section-title,
  .contact-title,
  .faq-heading,
  .area-heading {
    font-size: 1.5rem;
  }

  /* BRAND GRID – 2 PER ROW */
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .brand-grid img {
    height: 100px;
    padding: 10px;
  }

  .brand-row img {
    width: 80%;
    max-width: 200px;
  }

  /* ABOUT TEXT */
  .about-text,
  .section-text,
  .area-section p {
    font-size: 0.94rem;
  }

  /* CONTACT BUTTON */
  .contact-btn {
    font-size: 0.95rem;
    padding: 10px;
  }
}
