/* ============================================
   INDUSTROPOLIS BATANG - RESPONSIVE CSS
   All Media Queries from style.css
   Organized by breakpoint
   ============================================ */


/* ===== TABLET & MOBILE: max-width 1024px ===== */
@media (max-width: 1024px) {}

/* ===== TABLET: max-width 1024px and min-width 768px ===== */
@media (max-width: 1024px) and (min-width: 768px) {}

/* ===== TABLET & MOBILE: max-width 991px ===== */
@media (max-width: 991px) {}


/* ===== MOBILE: max-width 767px ===== */
@media (max-width: 767px) {

    h2 {
        font-size: 30px;
    }

    .custom-navbar .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .logo-wrapper {
        flex-direction: row;
        width: 60%;
        padding: 10px 0;
    }

    .logo-wrapper img {
        width: 100% !important;
    }

    .navbar-brand {
        padding: 0;
        flex: 1;
    }

    .navbar-phone {
        width: 40%;
        padding: 0;
        flex: 1;
    }

    .hero-content {
        width: 100%;
        padding-top: 0;
    }


    .hero-content h2 {
        font-family: 'Poppins', Sans-serif;
        color: var(--e-global-color-primary);
        font-size: 20px;
        font-weight: 600;
        line-height: 26px;
    }

    .hero-content h1 {
        font-size: 27px;
        font-weight: 700;
        line-height: 1.3em;
        margin-bottom: 20px;
    }

    .stats-container {
        margin: auto;
        display: grid;
        grid-template-columns: 2fr 2fr;
        gap: 0;
        text-align: center;
    }

    .stat-item:last-child {
        border-right: none;
        position: relative;
        right: 0;
        width: 100%;
        grid-column: 1 / -1;
        border-top: 1px solid #FFFFFF33;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .stat-item:nth-child(2) {
        border: 0;
    }

    .stat-item:nth-child(4) {
        border: 0;
    }

    .stat-item:nth-child(3) {
        border-top: 1px solid #FFFFFF33;
    }

    .stat-item:nth-child(4) {
        border-top: 1px solid #FFFFFF33;
    }

    .stat-item h2 {
        font-size: 22px;
        line-height: 1.3em;
    }

    #about .row {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        gap: 40px;
        margin: 0;
    }

    .certificate .d-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .card-status-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    /* Mobile Accordion style for why tabs */
    .why-mobile-accordion {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .why-mobile-accordion>.nav-pills,
    .why-mobile-accordion>.tab-content {
        display: contents;
    }

    .why-mobile-accordion .nav-item {
        width: 100%;
        margin-bottom: 0;
    }

    .why-mobile-accordion .nav-link {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    /* Assign Order to interleave tabs and panes */
    .why-mobile-accordion .nav-item:nth-child(1) {
        order: 1;
    }

    .why-mobile-accordion .tab-content>.tab-pane:nth-child(1) {
        order: 2;
        width: 100%;
    }

    .why-mobile-accordion .nav-item:nth-child(2) {
        order: 3;
    }

    .why-mobile-accordion .tab-content>.tab-pane:nth-child(2) {
        order: 4;
        width: 100%;
    }

    .why-mobile-accordion .nav-item:nth-child(3) {
        order: 5;
    }

    .why-mobile-accordion .tab-content>.tab-pane:nth-child(3) {
        order: 6;
        width: 100%;
    }

    /* Disable animation so it doesn't break flex layout on mobile */
    .why-mobile-accordion .tab-content,
    .why-mobile-accordion .tab-pane,
    .why-mobile-accordion .nav-pills {
        animation: none !important;
        transform: none !important;
    }

    .products-section {
        padding-top: 60px;
        padding-bottom: 0;
        overflow: hidden;
    }

    .products-row {
        display: flex;
        flex-wrap: wrap;
    }

    .products-header {
        padding: 0 30px;
        font-size: 30px;
    }

    .products-section h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 30px;
        font-weight: 600;
        line-height: 1.3em;
        color: var(--e-global-color-text);
        margin-bottom: 20px;
    }


    .col-product {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .tenants-section {
        background-color: var(--e-global-color-9cceaf9);
        padding: 60px 30px;
    }

    .tenants-header {
        padding: 0;

    }

    .tenants-header h2 {
        font-size: 30px;
        width: 100%;
    }

    .tenants-next {
        right: -20px;
    }

    .tenants-prev {
        left: -20px;
    }

    .contact-section {

        padding: 60px 30px;

    }

    .contact-section h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 30px;
        font-weight: 600;
        line-height: 1.3em;
        color: var(--e-global-color-9cceaf9);
        margin-bottom: 20px;
    }

    .contact-header {
        margin-bottom: 0;
    }

    .location-container {
        grid-template-columns: 1fr;
    }

    .utility-items-row {
        flex-direction: column;
    }

    .utility-content p {
        width: 100%;
        margin: 0 auto;
    }

    .btn-phone {
        padding: 10px !important;
    }

}

/* ===== SMALL MOBILE: max-width 575px ===== */
@media (max-width: 575px) {}