/* ==========================================================================
   TRISDHA — RESPONSIVE STYLES
   Breakpoints follow Bootstrap 5: xl(1200) lg(992) md(768) sm(576)
   ========================================================================== */

/* ---------- Large desktop refinements ---------- */
@media (min-width: 1400px) {
    .container {
        max-width: 1260px;
    }
}

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1199.98px) {
    :root {
        --section-padding: 90px;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    }

    .about-stat-card {
        right: 0;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 70px;
    }

    .hero {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .hero-blade {
        width: 55%;
        opacity: 0.6;
    }

    .about-media {
        margin-bottom: 90px;
    }

    .about-stat-card {
        bottom: -30px;
        right: 10px;
    }

    .leadership-panel {
        padding: 40px;
    }

    .corporate-cta-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-about p {
        max-width: 100%;
    }
}

/* ---------- Mobile / small tablet ---------- */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 56px;
    }

    body {
        font-size: 15px;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .hero {
        padding-top: 120px;
        text-align: left;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn-trisdha-primary,
    .hero-cta-group .btn-trisdha-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-scroll-cue {
        display: none;
    }

    .about-media-frame {
        display: none;
    }

    .about-stat-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -60px;
        margin-left: 20px;
        max-width: 200px;
    }

    .vision-content {
        text-align: left;
    }

    .industry-card {
        height: 340px;
    }

    .leadership-panel {
        padding: 30px 22px;
    }

    .leadership-quote {
        font-size: 1.15rem;
    }

    .why-block {
        flex-direction: column;
        gap: 10px;
    }

    .why-block .why-number {
        width: auto;
    }

    .corporate-cta {
        padding: 60px 0;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }
}

/* ---------- Small mobile ---------- */
@media (max-width: 575.98px) {
    .site-header .navbar-brand img {
        height: 38px;
    }

    .site-header .brand-text .brand-name {
        font-size: 1.05rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .industries-hero-content h1,
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .industry-editorial .editorial-media,
    .industry-editorial .editorial-content {
        padding: 0 !important;
    }
}

/* Prevent horizontal scroll on all breakpoints */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
