/* ====================================================
    Responsive
==================================================== */
/* Desktop 1200 - up */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Normal desktop :992px. (Laptop 14") */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Global */
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }
    h6 {
        font-size: 16px;
    }

}

 
/* Tablet device :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    /* Global */
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 18px;
    }
    h5 {
        font-size: 16px;
    }
    h6 {
        font-size: 15px;
    }
    p {
        font-size: 14px;
    }

}

 
/* small mobile :320px. */
@media (max-width: 767px) {
    /* Global */
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
    h4 {
        font-size: 17px;
    }
    h5 {
        font-size: 16px;
    }
    h6 {
        padding-top: 18px;
        font-size: 14px;
    }
    p {
        font-size: 14px;
    }

}

/* ====================================================
    Bhavyanta fixes - prevent horizontal overflow on
    small screens (header top-bar, call-us number, and
    decorative frame accents used on About/Home)
==================================================== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Testimonial slider shows 2-3 cards side by side, so each slide is
   only ~300-450px wide. The theme's testimonial-item-4 floats the
   photo left with text wrapping around it (fine at full row width,
   but squeezes text into a sliver at slide width). Stack instead. */
.ltn__testimonial-item-4 .ltn__testimoni-img {
    float: none;
    max-width: 90px;
    margin: 0 auto 20px;
}
.ltn__testimonial-item-4 .ltn__testimoni-info {
    text-align: center;
}

/* Footer had excessive top/bottom whitespace (92px + 60px widget
   margin) - tighten it up. */
.footer-top-area {
    padding-top: 50px;
    padding-bottom: 10px;
}

/* Header middle row (logo/nav/buttons) had 22px top+bottom padding -
   tighten it so the header isn't so tall. */
.ltn__header-5 .ltn__header-middle-area {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Hero slider had a fixed 750px height with 100px top+bottom padding,
   leaving a huge empty gap above/below the actual slide content. */
.ltn__slide-item-3 {
    height: 580px;
    padding-top: 40px;
    padding-bottom: 60px;
}
.ltn__slide-item-3.slick-slide-dots-1 .slick-dots,
.ltn__slider-3 .slick-slide-dots-1 .slick-dots {
    bottom: 20px;
}
.footer-widget {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    /* Bootstrap flex columns default to min-width:auto and, below the
       md breakpoint, .col-md-9/.col-md-3 have no width rule at all -
       so they sized to their unwrapped text instead of stacking full
       width. That's what was pushing the top-bar address and phone
       number off-screen. Force them to stack. */
    .ltn__header-top-area .row > div {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
    }
    .ltn__header-middle-area .row > div {
        min-width: 0;
    }
    .ltn__top-bar-menu > ul > li {
        display: block;
        width: 100%;
        white-space: normal;
        word-break: break-word;
        margin: 0 0 5px 0;
        text-align: center;
    }
    .ltn__top-bar-menu > ul > li > a {
        white-space: normal;
        word-break: break-word;
    }
    .get-support {
        min-width: 0;
        flex: 1 1 auto;
    }
    .get-support .get-support-info h4,
    .get-support .get-support-info h4 a {
        white-space: normal;
        word-break: break-word;
        font-size: 15px;
    }
    /* Header-5 mobile layout: just Logo (left) + Hamburger (right).
       Call Us Now / Enquiry Now are desktop-only, hidden below.
       .site-logo-wrap and .ltn__header-options are "lifted" via
       display:contents so their children can be reordered as
       siblings on the same flex row instead of stacking as blocks. */
    .ltn__header-5 .ltn__header-middle-area {
        padding: 18px 0;
    }
    .ltn__header-5 .ltn__header-middle-area .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ltn__header-5 .ltn__header-middle-area .row {
        align-items: center;
        row-gap: 14px;
    }
    .ltn__header-5 .ltn__header-middle-area .row > .col:first-child,
    .ltn__header-5 .site-logo-wrap,
    .ltn__header-5 .ltn__header-options {
        display: contents;
    }
    .ltn__header-5 .site-logo {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 12px 0 20px;
    }
    .ltn__header-5 .ltn__header-options .mobile-menu-toggle {
        order: 2;
        flex: 0 0 auto;
        margin: 0 16px 0 0;
        display: flex;
    }
    .ltn__header-5 .mobile-menu-toggle > a {
        margin-left: auto;
        margin-right: 0;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: var(--ltn__secondary-color);
        box-shadow: none;
    }
    .ltn__header-5 .mobile-menu-toggle svg {
        width: 28px;
        height: 28px;
    }
    .ltn__header-5 .mobile-menu-toggle svg path {
        stroke: #fff;
    }
    .ltn__header-5 .site-logo img {
        max-height: 62px;
        width: auto;
    }
    /* Call Us Now and Enquiry Now are desktop/laptop-only in this
       header — mobile just gets the logo and hamburger menu. */
    .ltn__header-5 .get-support,
    .ltn__header-5 .header-enquiry-btn {
        display: none;
    }
    .bhavyanta-decor-frame {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .bhavyanta-decor-bar {
        display: none !important;
    }
    /* Hero slider stacks image-over-text below md; give it breathing
       room so the text doesn't sit flush against the image. */
    .bhavyanta-slide-img {
        margin-bottom: 25px;
    }
    .ltn__slide-item-3 .slide-item-info {
        text-align: center;
    }
    .ltn__slide-item-3 .slide-title {
        font-size: 22px !important;
    }
    /* FAQ accordion video thumbnail (alignleft float) squeezes the
       answer text into a sliver on narrow screens - stack instead. */
    .card-body .alignleft {
        float: none;
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .card-body .ltn__video-img img {
        width: 100%;
    }
}

/* Narrow phones (iPhone SE and similar ~375px and below): the header-5
   row (logo + phone number + Enquiry button) doesn't fit on one line at
   the sizes used for larger phones, so shrink it further here instead
   of letting it wrap onto extra lines. */
@media (max-width: 390px) {
    .ltn__header-5 .ltn__header-middle-area .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .ltn__header-5 .site-logo img {
        max-height: 65px;
    }
    .ltn__header-5 .get-support-icon {
        font-size: 18px;
        margin-right: 5px;
    }
    .ltn__header-5 .get-support-info h6 {
        font-size: 9px;
    }
    .ltn__header-5 .get-support-info h4 {
        font-size: 13px;
    }
    .ltn__header-5 .header-enquiry-btn .btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}
