/* =====================================================
   RESPONSIVE.CSS  (style.css + animations.css ke baad load hota hai)
   Breakpoints: 1399 / 1199 / 991 / 767 / 575 / 400
   ===================================================== */

/* ===== BASE FIXES (all screens) ===== */
html {
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto; /* width/height attributes se layout shift nahi hota */
}

.giant .giant-text {
  margin-bottom: 0; /* bootstrap p margin reset */
}

/* CTA phone circle ke upar dikhe (pehle circle phone ko dhak raha tha) */
.cta-right .ph-phone-sm {
  position: relative;
  z-index: 2;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10000;
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* in-page anchors ke liye fixed header ki height chhodo */
section[id] {
  scroll-margin-top: 80px;
}

/* ===== MOBILE MENU (hamburger) ===== */
.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.menu-toggle span:nth-child(2) {
  width: 17px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* desktop: collapse wrapper ghayab, andar ke col-lg-7 / col-lg-3 seedha row ke columns ban jaate hain */
@media (min-width: 992px) {
  .menu-collapse {
    display: contents !important;
  }
}

/* ===== ≥1400 : large screens ===== */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}

/* ===== ≤1399 ===== */
@media (max-width: 1399px) {
  .giant .giant-text {
    font-size: 160px;
  }

  .giant.giant-footer .giant-text {
    font-size: 220px;
  }
}

/* ===== ≤1199 ===== */
@media (max-width: 1199px) {
  section {
    padding: 90px 0;
  }

  .sec-title,
  .work-heading h2,
  .testi-content h2,
  .faq-heading .sec-title,
  .package-heading h2 {
    font-size: 42px;
  }

  .cta .sec-title {
    font-size: 50px;
  }

  .header-menu ul {
    gap: 22px;
    margin-right: 10px;
  }

  .header-menu ul li a {
    font-size: 14px;
  }

  .btn-sm-main {
    font-size: 14px;
    padding-left: 20px;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-content .lead-text {
    font-size: 16px;
  }

  .insta-post img {
    width: 210px;
    height: auto;
  }

  .float-card {
    width: 170px;
    padding: 20px 20px 14px;
  }

  .fc-bottom {
    width: 190px;
    left: -20px;
  }

  .float-card strong {
    font-size: 30px;
  }

  .giant .giant-text {
    font-size: 130px;
  }

  .giant.giant-footer .giant-text {
    font-size: 180px;
  }

  .about-content {
    padding-right: 20px;
  }

  .stat h3 {
    font-size: 38px;
  }

  .faq-heading .sec-title {
    padding: 0 20px;
  }

  .plan h3 {
    font-size: 26px;
  }

  .price {
    font-size: 34px;
  }

  .quote-box {
    height: auto;
    min-height: 460px;
    padding: 40px 30px;
  }

  .cta-box {
    padding: 70px 40px;
  }
}

/* ===== ≤991 : tablet ===== */
@media (max-width: 991px) {
  section {
    padding: 70px 0;
  }

  .site-header {
    padding: 12px 0;
  }

  /* header → hamburger layout */
  .header-main.nav-pill {
    border-radius: 28px !important;
    padding: 8px 14px;
  }

  .menu-collapse {
    padding-top: 6px;
  }

  .header-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 8px 0 0;
  }

  .header-menu ul.nav {
    justify-content: flex-start !important;
  }

  .header-menu ul li a {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid #eeeeee;
  }

  .header-btn {
    text-align: left !important;
    padding: 18px 0 8px;
  }

  /* titles */
  .sec-title,
  .work-heading h2,
  .testi-content h2,
  .faq-heading .sec-title,
  .package-heading h2 {
    font-size: 36px;
    padding: 0;
  }

  .cta .sec-title {
    font-size: 42px;
    line-height: 1.1;
  }

  .lead-text.sm {
    font-size: 14px;
  }

  /* hero */
  .hero {
    padding: 130px 0 80px;
  }

  .hero::before {
    width: 140%;
    height: 520px;
    bottom: -25%;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-img.hero-right {
    right: 0;
    justify-content: center !important;
    margin-top: 50px;
    padding-bottom: 30px;
  }

  .ph-phone {
    width: 230px;
    flex: 0 0 auto;
  }

  .insta-post {
    margin-top: 60px;
  }

  .insta-post img {
    width: 200px;
  }

  .fc-top {
    right: 8%;
  }

  .fc-bottom {
    left: 4%;
    bottom: -10px;
  }

  /* about */
  .about-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .stats {
    margin-top: 0;
  }

  .ph-wide {
    margin-top: 40px;
  }

  .ph-wide img {
    height: 340px;
  }

  .giant .giant-text {
    font-size: 110px;
    margin-top: 20px;
  }

  .giant.giant-footer .giant-text {
    font-size: 130px;
  }

  /* works heading + text */
  .work-heading {
    margin-bottom: 10px;
  }

  /* testimonial */
  .testimonial .row {
    row-gap: 30px;
  }

  .quote-box {
    min-height: 0;
    padding: 40px 30px;
  }

  .quote-box p {
    margin-right: 0;
  }

  .ph-testi img {
    height: 240px;
  }

  /* pricing */
  .plan {
    padding: 26px 22px;
  }

  .plan-icon {
    margin-bottom: 36px;
  }

  .plan ul {
    margin-bottom: 36px;
  }

  /* cta */
  .cta-box {
    padding: 50px 30px 0;
  }

  .cta .cta-right {
    min-height: 0;
    margin-top: 30px;
  }

  .cta .ph-phone-sm {
    width: 220px;
    height: auto;
    margin-bottom: 0;
  }

  /* footer */
  .site-footer {
    padding: 60px 0 20px;
  }

  .f-text {
    max-width: 100%;
  }

  /* inner pages */
  .inner-banner {
    padding: 150px 0 80px;
  }

  .inner-banner-content h1 {
    font-size: 56px;
  }
}

/* ===== ≤767 : large mobile ===== */
@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }

  .sec-title,
  .work-heading h2,
  .testi-content h2,
  .faq-heading .sec-title,
  .package-heading h2 {
    font-size: 32px;
  }

  .row-gap {
    margin-top: 20px;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero-title {
    font-size: 42px;
  }

  .ph-wide img {
    height: 260px;
  }

  .ph-card img {
    height: 210px;
  }

  .giant .giant-text {
    font-size: 84px;
  }

  .giant.giant-footer .giant-text {
    font-size: 15.5vw; /* poora SCREENLINK screen me fit */
    margin-top: 0;
  }

  .giant-footer {
    margin-top: 30px;
  }

  .faq .accordion-button {
    font-size: 18px;
    padding: 16px 20px;
  }

  .faq .accordion-body {
    padding: 0 20px 18px;
  }

  .faq .accordion {
    margin-top: 30px;
  }

  .note {
    margin-top: 30px;
    font-size: 14px;
  }

  .cta .sec-title {
    font-size: 36px;
  }

  .inner-banner-content h1 {
    font-size: 46px;
  }
}

/* ===== ≤575 : mobile ===== */
@media (max-width: 575px) {
  section {
    padding: 50px 0;
  }

  .sec-title,
  .work-heading h2,
  .testi-content h2,
  .faq-heading .sec-title,
  .package-heading h2 {
    font-size: 28px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .lead-text,
  .hero-content .lead-text {
    font-size: 15px;
    margin-bottom: 22px;
  }

  /* hero */
  .hero {
    padding: 105px 0 60px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.15;
  }

  .tag {
    font-size: 10px;
    padding: 9px 18px;
  }

  .btn-row {
    gap: 12px;
  }

  .btn-row .btn-main,
  .btn-row .btn-outline-main {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-img.hero-right {
    margin-top: 40px;
    padding-bottom: 50px;
    gap: 10px;
  }

  .ph-phone {
    width: 48%;
  }

  .insta-post {
    width: 44%;
    margin-top: 50px;
  }

  .insta-post img {
    width: 100%;
  }

  .float-card {
    width: 130px;
    padding: 14px 14px 10px;
    border-radius: 14px;
  }

  .float-card strong {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .float-card small {
    font-size: 11px;
  }

  .fc-top {
    top: -10px;
    right: 0;
  }

  .fc-bottom {
    width: 150px;
    left: 0;
    bottom: 0;
  }

  /* about */
  .stat {
    padding-right: 4px;
  }

  .stat .pin {
    height: 50px;
  }

  .stat h3 {
    font-size: 28px;
  }

  .stat h6 {
    font-size: 9px;
    letter-spacing: 0;
    margin: 10px 0 8px;
  }

  .stat p {
    font-size: 11px;
    line-height: 1.5;
  }

  .ph-wide img {
    height: 200px;
  }

  .giant .giant-text {
    font-size: 64px;
  }

  /* cards */
  .card-box {
    padding: 12px;
  }

  .ph-card img {
    height: 190px;
  }

  .card-box h3 {
    font-size: 19px;
  }

  /* testimonial */
  .quote-box {
    padding: 34px 20px 28px;
  }

  .quote-box p {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .author {
    flex-wrap: wrap;
    padding-top: 22px;
  }

  .stars {
    margin-left: 58px;
    font-size: 18px;
  }

  .ph-testi img {
    height: 200px;
  }

  /* faq */
  .faq .accordion-button {
    font-size: 16px;
  }

  /* pricing */
  .price {
    font-size: 30px;
  }

  .btn-block {
    font-size: 14px;
  }

  .badge-pop {
    padding: 4px 16px;
  }

  /* cta */
  .cta-box {
    padding: 40px 20px 0;
    border-radius: 16px;
  }

  .cta .sec-title {
    font-size: 30px;
  }

  .cta .ph-phone-sm {
    width: 190px;
  }

  /* footer */
  .newsletter {
    padding: 20px 14px;
  }

  .newsletter h5 {
    font-size: 21px;
  }

  .footer-logo img {
    width: 150px;
  }

  /* inner pages */
  .inner-banner {
    padding: 125px 0 55px;
  }

  .inner-banner-content h1 {
    font-size: 38px;
  }
}

/* ===== ≤400 : small phones ===== */
@media (max-width: 400px) {
  .hero-title {
    font-size: 32px;
  }

  .sec-title,
  .work-heading h2,
  .testi-content h2,
  .faq-heading .sec-title,
  .package-heading h2 {
    font-size: 26px;
  }

  .stat h3 {
    font-size: 24px;
  }

  .float-card {
    width: 118px;
  }

  .fc-bottom {
    width: 135px;
  }

  .cta .sec-title {
    font-size: 27px;
  }
}

/* ===== Touch devices: sticky hover mat chhodo ===== */
@media (hover: none) {
  .text-link:hover {
    letter-spacing: 0;
  }

  .ph-wide img:hover,
  .ph-card img:hover,
  .ph-testi img:hover {
    transform: none;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== CONTACT FORM responsive ===== */
@media (max-width: 1199px) {
  .cf-content { padding-right: 30px; }
  .cf-content .sec-title { font-size: 42px; }
  .cf-consult { left: -20px; }
}
@media (max-width: 991px) {
  .cf-content { padding-right: 0; }
  .cf-media { margin-top: 60px; padding: 0; }
  .cf-img { height: 480px; }
  .cf-rating { right: 14px; top: 14px; }
  .cf-consult { left: 14px; bottom: 14px; }
}
@media (max-width: 575px) {
  .cf-content .sec-title { font-size: 32px; }
  .cf-img { height: 380px; border-radius: 18px; }
  .cf-consult { padding: 12px 20px 12px 12px; gap: 12px; }
  .cf-icon { width: 42px; height: 42px; font-size: 16px; }
  .cf-consult strong { font-size: 14px; }
  .cf-consult small, .cf-rating small { font-size: 11px; }
  .cf-rating { padding: 10px 16px; }
  .cf-rating strong { font-size: 16px; }
  .form-submit { gap: 14px; }
}