/* =====================================================================
   MOBILE NAVBAR (three lines / hamburger)
   .header, .nav, .has-dropdown, .dropdown classes ki match avtundi
   ===================================================================== */

/* Desktop lo hamburger dachi untundi */
.header .menu-toggle { display: none !important; }

@media (max-width: 900px) {
  .header { z-index: 9999; }
  .header .header-inner { position: relative; padding: 8px 16px; }
  .header .logo img { height: 44px; width: auto; }
  .header .logo span { font-size: 24px; }

  /* ---- Three lines button ---- */
  .header .menu-toggle {
    display: flex !important;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 !important; margin: 0;
    background: transparent !important; border: 0 !important;
    border-radius: 0 !important; box-shadow: none !important;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .header .menu-toggle span {
    display: block; width: 26px; height: 3px; border-radius: 3px;
    background: #111;
    transition: transform .3s, opacity .3s, background .3s;
  }
  .header .menu-toggle.active span { background: #ef4444; }
  .header .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .header .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* ---- Slide-down menu ---- */
  .header .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.12);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s ease, visibility .35s;
  }
  .header .nav.open { max-height: calc(100vh - 66px); overflow-y: auto; visibility: visible; }
  .header .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 14px; }
  .header .nav ul li { border-bottom: 1px solid #eee; }
  .header .nav ul li:last-child { border-bottom: 0; }
  .header .nav > ul > li > a { display: block; padding: 15px 20px; font-size: 18px; }

  /* ---- Services dropdown: tap tho open ---- */
  .header .dropdown {
    position: static; width: 100%; right: auto;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-radius: 0; background: #fafafa;
    padding: 0 12px; max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s;
  }
  .header .has-dropdown:hover .dropdown { opacity: 1; transform: none; }
  .header .has-dropdown.open .dropdown { max-height: 400px; padding: 8px 12px 12px; }
  .header .dropdown .dd-item { border-bottom: 0; padding: 10px 8px; }
  .header .dd-icon { flex: 0 0 38px; width: 38px; height: 38px; font-size: 16px; }
  .header .dd-title { font-size: 15px; }
}
@media (max-width: 380px) {
  .header .logo img { height: 36px; }
  .header .logo span { font-size: 20px; }
}


/* =====================================================================
   HOME SLIDER (mobile): paina image, kinda content
   Image file lo left side white untundi (desktop lo dark shape tho kappabadutundi),
   anduke right nundi crop chesi photo part matrame chupistunnam.
   ===================================================================== */
@media (max-width: 991px) {
  .banner__one-image {
    background-color: var(--bg-heading-color);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 140% auto;
    padding-top: min(56vw, 400px);
  }
  .banner__one-image::after { display: none !important; }
  .banner__one-content { max-width: 100%; padding: 35px 0 60px; text-align: center; }
  .banner__one-content span { font-size: 18px; margin-bottom: 10px; }
  .banner__one-content h1 { font-size: 56px; line-height: 66px; max-width: 100%; margin-bottom: 25px; }
  .banner__one-content-button { justify-content: center; }
}
@media (max-width: 767px) {
  .banner__one-content { padding: 30px 0 50px; }
  .banner__one-content h1 { font-size: 40px; line-height: 50px; }
}
@media (max-width: 575px) {
  .banner__one-image { background-size: auto 320px; padding-top: 320px; }
}
@media (max-width: 480px) {
  .banner__one-image { background-size: auto 280px; padding-top: 280px; }
  .banner__one-content { padding: 25px 0 45px; }
  .banner__one-content h1 { font-size: 32px; line-height: 42px; margin-bottom: 20px; }
  .banner__one-content span { font-size: 16px; }
  .banner__one-content-button { display: flex; }
  .banner__one-content-button-item { margin: 0; }
  .banner__one-content .btn-one { padding: 14px 30px; font-size: 15px; }
}
@media (max-width: 359px) {
  .banner__one-image { background-size: auto 240px; padding-top: 240px; }
  .banner__one-content h1 { font-size: 28px; line-height: 38px; }
}

/* =====================================================================
   PAGE BANNER (About / Contact ...): mobile lo image + content
   ===================================================================== */
@media (max-width: 767px) {
  .page__banner {
    background-color: var(--bg-heading-color);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 165% auto;
    padding: 39vw 0 45px;
  }
  .page__banner::after { display: none !important; }
  .page__banner-content { padding-top: 30px; }
  .page__banner-content h1 { font-size: 44px; line-height: 54px; }
  .page__banner-content > span { font-size: 60px; line-height: 70px; margin: 0 0 -38px 0; }
}
@media (max-width: 575px) { .page__banner { background-size: auto 220px; padding: 220px 0 45px; } }
@media (max-width: 480px) {
  .page__banner { background-size: auto 180px; padding: 180px 0 40px; }
  .page__banner-content h1 { font-size: 36px; line-height: 46px; }
  .page__banner-content > span { font-size: 48px; line-height: 56px; margin: 0 0 -30px 0; }
}
@media (max-width: 359px) {
  .page__banner { background-size: auto 150px; padding: 150px 0 35px; }
  .page__banner-content h1 { font-size: 30px; line-height: 40px; }
}