/* =======================================================
   JINDAL SAXENA FINANCIAL SERVICES
   Luxury Responsive Overrides — responsive.css
   ======================================================= */

/* -------------------------------------------------------
   XL Breakpoint (Desktop Small / Laptops)
------------------------------------------------------- */



@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1280px;

    }

}


@media (max-width: 1199.98px) {
    section {
        padding: 5.5rem 0;
    }

    .hero-section h1 {
        font-size: 3.25rem;
    }
}

/* -------------------------------------------------------
   LG Breakpoint (Tablets Landscape)
------------------------------------------------------- */
@media (max-width: 991.98px) {
    section {
        padding: 4.5rem 0;
    }

    /* Hero adjustments */
    .hero-section {
        padding: 8rem 0 6rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.75rem;
    }

    .hero-glass-box {
        margin-top: 3rem;
        padding: 2rem;
    }

    .capital-calc-card {
        margin-top: 3.5rem;
        padding: 2rem 1.5rem;
    }

    .hero-floating-card {
        display: none !important;
    }

    .d-flex.gap-3.flex-wrap {
        justify-content: center;
    }

    /* Navbar Collapse Overhaul for Mobile */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(11, 31, 58, 0.08);
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(11, 31, 58, 0.15);
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 1rem !important;
    }

    .navbar-collapse .btn-premium {
        width: 100%;
        text-align: center;
    }

    /* Timeline Left alignment conversion on mobile/tablet */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 3.5rem !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item::after {
        left: 8px !important;
        right: auto !important;
    }

    .timeline-item:nth-child(even)::after {
        left: 8px !important;
    }

    /* Footer column spacing */
    .site-footer {
        padding-top: 4.5rem;
    }
}

/* -------------------------------------------------------
   MD Breakpoint (Tablets Portrait)
------------------------------------------------------- */
@media (max-width: 767.98px) {
    section {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    /* Cards spacing */
    .luxury-card {
        padding: 1rem .5rem;
    }

    .h6,
    h6 {
        font-size: .8rem;
    }


    /* Footer text center align */
    .site-footer {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        display: flex;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .footer-links {
        padding: 0;
        margin-bottom: 2rem;
    }

    /* Process Stepper — 2-col grid on tablets */
    .process-stepper {
        flex-wrap: wrap;
        gap: 2rem 0;
    }

    .process-stepper::before {
        display: none;
    }

    .process-step {
        width: 50%;
        flex: 0 0 50%;
    }

    .brand-mark {
        margin-right: 5px !important;
        width: 44px;
        height: 44px;
    }

    .navbar-brand .brand-title {
        font-size: 1rem;
    }

    .navbar-brand small {
        font-size: 0.5rem;
    }

}

/* -------------------------------------------------------
   SM Breakpoint (Mobiles)
------------------------------------------------------- */
@media (max-width: 575.98px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    section {
        padding: 2rem 0 !important;
    }

    .hero-section {
        padding: 7rem 0 5rem;
    }

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

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-glass-box {
        padding: 1.5rem;
    }

    .btn-premium {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .btn-premium:last-child {
        margin-bottom: 0;
        position: static;
        display: block;
        margin-top: 5px;
        padding: 10px 5px;
    }

    .contact-form .form-control {
        padding: .5rem 1rem;

    }

    /* Counter panel */
    .counter-card {
        padding: 1.75rem 1rem;
    }

    /* Newsletter Card Padding */
    .newsletter-card {
        padding: 2.5rem 1.5rem;
    }

    .newsletter-card h3 {
        font-size: 1.5rem;
    }

    /* Accordion buttons styling */
    .accordion-button {
        padding: 1.15rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Toast style centering */
    .form-toast {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        padding: 1rem;
        font-size: 0.88rem;
    }

    /* Process Stepper — vertical stack on mobile */
    .process-stepper {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .process-stepper::before {
        display: none;
    }

    .process-step {
        width: 100%;
        max-width: 360px;
    }

    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }


}

/* -------------------------------------------------------
   Layout Shifts / Overflow Avoidance
------------------------------------------------------- */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* .container,
.container-fluid {
    overflow: hidden;
} */