/* ===== Laptop (1199px se chhoti screen) ===== */
@media (max-width: 1199px) {
    .header-inner {
        height: 88px;
    }

    .brand-logo {
        height: 64px;
    }

    .site-nav {
        gap: 20px;
    }

    .site-nav > a,
    .nav-dropdown summary {
        font-size: 16px;
    }
}

/* ===== Tablet + Mobile (991px se chhoti screen) ===== */
@media (max-width: 991px) {
    .header-inner {
        height: 80px;
    }

    .brand-logo {
        height: 56px;
    }

    /* Hamburger button dikhao */
    .menu-toggle {
        display: flex;
    }

    /* Menu ko header ke neeche chhupa do */
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 24px;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    /* Hamburger click karne par menu dikhega */
    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a,
    .nav-dropdown summary {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-dropdown summary {
        justify-content: space-between;
    }

    /* Mobile par dropdown neeche khulega */
    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        border: none;
        box-shadow: none;
        padding: 5px 0 5px 15px;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .site-nav .nav-cta {
        justify-content: center;
        margin-top: 20px;
        padding: 14px;
        border-bottom: none;
    }
}

/* ===== Mobile (575px se chhoti screen) ===== */
@media (max-width: 575px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        height: 70px;
    }

    .brand-logo {
        height: 48px;
    }

    .site-nav {
        padding: 10px 16px 20px;
        max-height: calc(100vh - 70px);
    }
}

/* ===== Mobile Landscape (screen ki height kam ho) ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .header-inner {
        height: 64px;
    }

    .brand-logo {
        height: 44px;
    }

    .site-nav {
        max-height: calc(100vh - 64px);
    }

    .site-nav > a,
    .nav-dropdown summary {
        padding: 10px 0;
    }
}


/* =========================================================
   FOOTER - Responsive
   ========================================================= */

/* Tablet */
@media (max-width: 991px) {
    .site-footer {
        margin-top: 60px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 30px;
        padding: 50px 0 40px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    /* Logo wala column poori width le */
    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-logo {
        height: 58px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* =========================================================
   HOME PAGE - Responsive
   ========================================================= */

/* ===== Laptop (1199px se chhoti screen) ===== */
@media (max-width: 1199px) {
    .section {
        padding: 90px 0;
    }

    .section-title {
        font-size: 40px;
    }

    .hero-slide {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .about-grid {
        gap: 50px;
    }

    .about-badge {
        left: 16px;
        top: 16px;
    }

    .network-box {
        gap: 40px;
        padding: 56px;
    }

    .network-box .section-title {
        font-size: 40px;
    }

    .network-phone {
        font-size: 22px;
    }

    .product-card {
        padding: 36px 26px;
    }
}

/* ===== Tablet (991px se chhoti screen) ===== */
@media (max-width: 991px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 36px;
    }

    /* Hero */
    .hero-slide {
        min-height: 560px;
        padding: 70px 0 120px;
    }

    .hero-slide::before {
        background: linear-gradient(90deg, rgba(11, 42, 69, 0.92) 0%, rgba(11, 42, 69, 0.75) 60%, rgba(11, 42, 69, 0.4) 100%);
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }

    /* About: image upar, text neeche */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-images {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        margin-top: 60px;
    }

    /* 3rd card akela na lage, isliye poori width */
    .feature-card:last-child,
    .product-card:last-child {
        grid-column: 1 / -1;
    }

    /* Network: text upar, card neeche */
    .network-section {
        padding-top: 80px;
    }

    .network-box {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 50px 40px;
    }

    .network-box .section-title {
        font-size: 36px;
    }

    .network-card {
        max-width: 480px;
    }

    /* Products */
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Testimonials */
    .testimonial-box {
        padding: 56px 40px 36px;
    }

    .testimonial-controls {
        right: 40px;
        bottom: 39px;
    }

    .testimonial p {
        font-size: 17px;
    }
}

/* ===== Mobile (767px se chhoti screen) ===== */
@media (max-width: 767px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .section-head {
        margin-bottom: 36px;
    }

    /* Hero */
    .hero-slide {
        min-height: 540px;
        padding: 60px 0 110px;
    }

    .hero-slide::before {
        background: rgba(11, 42, 69, 0.8);
    }

    .hero-tag {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-controls {
        bottom: 30px;
        padding: 0 18px;
    }

    .hero-prev,
    .hero-next {
        width: 42px;
        height: 42px;
    }

    /* Features + Products: 1 column */
    .features,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .features {
        margin-top: 50px;
    }

    .network-section {
        padding-top: 70px;
    }

    .network-box {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .network-box .section-title {
        font-size: 30px;
    }

    .network-text p {
        font-size: 16px;
    }

    .network-card {
        max-width: none;
        padding: 30px 22px;
    }

    .network-phone {
        font-size: 20px;
    }

    .video-box {
        border-radius: 16px;
    }

    /* Testimonials: buttons neeche aa jayenge */
    .testimonial-box {
        padding: 50px 24px 28px;
    }

    .quote-mark {
        left: 24px;
        width: 56px;
        height: 56px;
        font-size: 62px;
        top: -28px;
    }

    .testimonial p {
        font-size: 16px;
    }

    .testimonial-author {
        padding-right: 0;
    }

    .testimonial-controls {
        position: static;
        justify-content: center;
        margin-top: 24px;
    }
}

/* ===== Small Mobile (575px se chhoti screen) ===== */
@media (max-width: 575px) {
    .section-title {
        font-size: 27px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .about-images {
        padding: 0 30px 30px 0;
    }

    .about-img-small {
        border-width: 5px;
    }

    .about-badge {
        padding: 10px 14px;
        border-radius: 12px;
    }

    .about-badge strong {
        font-size: 22px;
    }

    .feature-card,
    .product-card {
        padding: 28px 22px;
    }

    .network-box .section-title {
        font-size: 27px;
    }

    .network-phone {
        font-size: 18px;
    }

    .network-card-icon {
        width: 60px;
        height: 60px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}

/* ===== Mobile Landscape (screen ki height kam) ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slide {
        min-height: 0;
        padding: 40px 0 100px;
    }

    .hero h1 {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .hero-tag {
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-controls {
        bottom: 24px;
    }

    .video-box video {
        max-height: 80vh;
    }
}

/* =========================================================
   PAGE BANNER + ABOUT PAGE - Responsive
   ========================================================= */

/* ===== Laptop (1199px se chhoti screen) ===== */
@media (max-width: 1199px) {
    .page-banner h1 {
        font-size: 56px;
    }

    .intro-grid,
    .founder-grid {
        gap: 50px;
    }

    .exp-card {
        right: 0;
    }

    .stat-item strong {
        font-size: 44px;
    }
}

/* ===== Tablet (991px se chhoti screen) ===== */
@media (max-width: 991px) {
    .page-banner {
        min-height: 360px;
        padding: 70px 0 50px;
    }

    .page-banner h1 {
        font-size: 46px;
    }

    .page-banner p {
        font-size: 17px;
    }

    /* Intro: image upar, text neeche */
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-image {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    /* Founders: photo upar, text neeche */
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .founder-image {
        position: static;
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }

    .founder-image img {
        height: 480px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-section {
        padding-top: 80px;
    }

    .stats-box {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
        padding: 50px 40px;
    }
}

/* ===== Mobile (767px se chhoti screen) ===== */
@media (max-width: 767px) {
    .page-banner {
        min-height: 320px;
        padding: 60px 0 40px;
    }

    .page-banner h1 {
        font-size: 38px;
    }

    .page-banner p {
        font-size: 16px;
    }

    .intro-image img {
        height: 340px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .mv-card img {
        height: 260px;
    }

    .mv-body {
        padding: 28px 24px 30px;
    }

    .why-card {
        padding: 36px 22px 30px;
    }

    .stats-section {
        padding-top: 70px;
    }

    .stats-box {
        padding: 40px 24px;
        border-radius: 24px;
    }
}

/* ===== Small Mobile (575px se chhoti screen) ===== */
@media (max-width: 575px) {
    .page-banner h1 {
        font-size: 32px;
    }

    .breadcrumb {
        font-size: 14px;
        padding: 6px 14px;
    }

    .intro-image {
        padding-bottom: 40px;
    }

    .intro-image img {
        height: 260px;
    }

    .exp-card {
        right: 12px;
        left: 12px;
        max-width: none;
        padding: 16px 20px;
    }

    .exp-card strong {
        font-size: 38px;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .founder-image img {
        height: 380px;
    }

    .founder-person {
        padding: 20px;
    }

    .founder-person h3 {
        font-size: 20px;
    }

    .why-grid {
        gap: 16px;
    }

    .why-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .why-icon img {
        width: 28px;
        height: 28px;
    }

    .why-number {
        top: 12px;
        right: 14px;
        font-size: 28px;
    }

    .why-card {
        padding: 30px 14px 24px;
    }

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

    .stat-item strong {
        font-size: 36px;
    }

    .stat-item p {
        font-size: 14px;
    }
}

/* ===== Mobile Landscape (screen ki height kam) ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .page-banner {
        min-height: 0;
        padding: 50px 0 36px;
    }

    .founder-image {
        position: static;
    }
}

/* =========================================================
   PRODUCT PAGES - Responsive
   ========================================================= */
@media (max-width: 1199px) {
    .col-img {
        width: 200px;
    }

    .table-img {
        width: 160px;
        height: 110px;
    }
}

@media (max-width: 991px) {
    .product-table th,
    .product-table td {
        padding: 16px;
    }

    .col-no {
        width: 70px;
    }

    .col-img {
        width: 170px;
    }

    .table-img {
        width: 140px;
        height: 100px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-comp {
        font-size: 14px;
    }
}

/* Mobile: table ki har row ek card ban jati hai */
@media (max-width: 767px) {
    .banner-call strong {
        font-size: 16px;
    }

    .product-filters {
        margin-bottom: 36px;
    }

    .table-wrap {
        overflow: visible;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .product-table thead {
        display: none;
    }

    .product-table,
    .product-table tbody {
        display: block;
    }

    .product-table tbody tr {
        position: relative;
        display: block;
        margin-bottom: 16px;
        padding: 16px;
        background: var(--white) !important;
        border: 1px solid var(--border);
        border-radius: 18px;
    }

    .product-table td {
        display: block;
        padding: 0;
        border: none;
    }

    /* Sr No card ke upar left kone me */
    .product-table .col-no {
        position: absolute;
        top: 24px;
        left: 24px;
        z-index: 1;
        width: auto;
    }

    .sr-no {
        width: 34px;
        height: 34px;
        font-size: 14px;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(11, 42, 69, 0.1);
    }

    .product-table .col-img {
        width: auto;
        margin-bottom: 14px;
    }

    .table-img {
        width: 100%;
        height: 200px;
        background: var(--light);
        border: none;
    }

    .table-img-empty {
        height: 120px;
    }

    .table-img-empty img {
        width: 40%;
    }

    .product-name {
        margin-bottom: 4px;
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    /* Filter buttons ek line me, side me scroll */
    .product-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0 -16px 30px;
        padding: 0 16px 6px;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 9px 18px;
        font-size: 14px;
    }

    .banner-call {
        padding-right: 16px;
    }

    .banner-call-icon {
        width: 42px;
        height: 42px;
    }

    .banner-call strong {
        font-size: 14px;
    }
}

/* =========================================================
   GALLERY PAGE - Responsive
   ========================================================= */
@media (max-width: 991px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 20px;
    }

    .gallery-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        column-gap: 12px;
    }

    .gallery-item {
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .gallery-view {
        left: 10px;
        right: 10px;
        bottom: 10px;
        font-size: 13px;
    }

    .gallery-view span {
        width: 32px;
        height: 32px;
    }

    .gallery-view span img {
        width: 16px;
        height: 16px;
    }
}

/* =========================================================
   CONTACT PAGE - Responsive
   ========================================================= */
@media (max-width: 1199px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-left,
    .contact-form {
        padding: 50px 40px;
    }
}

@media (max-width: 991px) {
    /* Navy box upar, form neeche */
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-follow {
        padding-top: 30px;
    }

    .map-section {
        padding-bottom: 80px;
    }

    .map-box iframe {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-box,
    .map-box {
        border-radius: 22px;
    }

    .map-section {
        padding-bottom: 70px;
    }
}

@media (max-width: 575px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card {
        padding: 28px 20px;
    }

    .contact-left,
    .contact-form {
        padding: 36px 22px;
    }

    .contact-form .btn {
        align-self: stretch;
        justify-content: center;
    }

    .map-box iframe {
        height: 300px;
    }
}
