/* =========================================================
   RESPONSIVE — Mobile First Breakpoints (FIXED)
   ========================================================= */

/* Global Fix for Horizontal Scroll */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ---------- Large tablets / small desktops ---------- */
@media (max-width: 1024px) {
    .nav-list {
        gap: 2px;
    }

    .nav-link {
        padding: 10px 11px;
        font-size: 14.5px;
    }

    .header-cta {
        padding: 11px 20px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 46px;
    }

    .hero-video-section {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .metric-box {
        padding: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-section .section-title {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider .slick-prev {
        left: 0px;
    }

    .testimonial-slider .slick-next {
        right: 0px;
    }
}

/* ---------- Tablets / Mobile Menu ---------- */
@media (max-width: 900px) {
    :root {
        --header-h: 70px;
    }

    .hamburger {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    /* Mobile nav panel */
    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        width: min(320px, 85vw);
        height: calc(100vh - var(--header-h));
        /* 100vh fixed */
        background: #ffffff;
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 40px rgba(11, 27, 59, 0.12);
        padding: 24px 20px;
        overflow-y: auto;
        transform: translateX(105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        margin-left: 0;
        display: flex;
        flex-direction: column;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 16px;
        color: var(--text);
        box-sizing: border-box;
    }

    .nav-link.active {
        color: var(--primary);
    }

    /* Dropdown mobile */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border);
        border-radius: 0;
        padding: 4px 0 4px 14px;
        margin: 2px 0 6px;
        min-width: 100%;
        display: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .has-dropdown.open .chevron {
        transform: rotate(180deg);
    }

    .dropdown a {
        padding: 10px 12px;
        font-size: 15px;
    }

    /* Mobile CTA Button */
    .nav-cta-mobile {
        display: flex;
        width: 100%;
        margin-top: 24px;
        padding: 16px;
        font-size: 16px;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Body scroll lock */
    body.menu-open {
        overflow: hidden;
    }
    /* Mobile pe overlay ko halka karo taake video dikhe */
    .hero-overlay {
        background: linear-gradient(180deg, rgba(10, 26, 51, 0.85) 0%, rgba(10, 26, 51, 0.65) 100%);
    }
    
    /* Video ko mobile ki screen ke hisaab se fit karo */
    .hero-bg-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Kuch mobile browsers mein video center nahi hoti, yeh usko fix karega */
        object-position: center;
    }

    .hero-text {
        margin: 0 auto 50px;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-metrics-strip {
        flex-direction: column;
        margin: 0 auto;
        width: 100%;
    }

    .metric-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;
        padding: 20px;
    }

    .metric-box:last-child {
        border-bottom: none;
    }
}

/* ---------- Small Tablets / Large Phones ---------- */
@media (max-width: 768px) {

    /* Sections Padding */
    .why-choose-section,
    .services-section,
    .testimonials-section {
        padding: 70px 0;
    }

    /* Typography */
    .why-choose-section .section-title,
    .services-section .section-title,
    .testimonials-section .section-title {
        font-size: 30px;
    }

    .why-choose-section .section-desc,
    .services-section .section-desc,
    .testimonials-section .section-desc {
        font-size: 16px;
        padding: 0 10px;
    }

    /* Grids to 1 Column */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonial Cards */
    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-slider .slick-prev,
    .testimonial-slider .slick-next {
        display: none !important;
    }
}

/* ---------- Small Phones ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 17px;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    /* Full width menu on very small screens (Fixed) */
    .main-nav {
        width: 100%;
        /* 100vw se 100% kiya taake horizontal scroll na aaye */
        border-left: none;
    }

    /* Hero Adjustments */
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ---------- Large Screens ---------- */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}

/* =========================================================
   CTA SECTION RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 50px 40px;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-actions {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .cta-actions .btn {
        flex: 1;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 0 0 70px 0;
    }

    .cta-box {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   PROCESS SECTION RESPONSIVE
   ========================================================= */

/* Tablets aur chhoti screens (Grid ko 2 column mein karne ke liye) */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Tablet pe dotted line hide kardo kyunki wo 4 columns ke hisaab se bani thi */
    .process-grid::before {
        display: none;
    }
}

/* Mobile Screens (Grid ko 1 column mein karne ke liye) */
@media (max-width: 768px) {
    .process-section {
        padding: 70px 0;
    }

    /* Heading Text ko chhota karna */
    .process-section .section-title {
        font-size: 30px;
    }

    .process-section .section-desc {
        font-size: 16px;
        padding: 0 10px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Card ki padding thodi kam karna taake mobile pe fit ho */
    .process-card {
        padding: 30px 20px;
    }
}



/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* Mobile pe ek ke neeche ek */
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .payment-methods {
        flex-wrap: wrap;
    }
}

/* =========================================================
   TOP BAR RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {

    /* Mobile pe Top Bar hide karna best hota hai kyunki jagah kam hoti hai */
    .top-bar {
        display: none;
    }

    /* Agar hide nahi karna chahte toh yeh use karein: */
    /*
  .top-bar-inner {
    flex-direction: column;
    gap: 8px;
  }
  .top-bar-socials {
    display: none;
  }
  */
}