/*
 Theme Name:   BSR Theme
 Theme URI:    https://www.allenoverseas.com
 Description:  A child theme of Twenty Twenty-One WordPress theme.
 Author:       BSR
 Author URI:   https://www.bsr.com
 Template:     twentytwentyone
 Version:      1.0.0
 License:      BSR
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: "Nouvel R";
    src: url("/wp-content/themes/BSR/assets/fonts/files/Nouvel-R.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nouvel R";
    src: url("/wp-content/themes/BSR/assets/fonts/files/Nouvel-R-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nouvel R";
    src: url("/wp-content/themes/BSR/assets/fonts/files/Nouvel-R-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nouvel R";
    src: url("/wp-content/themes/BSR/assets/fonts/files/Nouvel-R-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nouvel R";
    src: url("/wp-content/themes/BSR/assets/fonts/files/Nouvel-R-Extrabold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Font family */
    --font-nouvel: "Nouvel R", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --bsr-blue: #036ab4;
    --bsr-light-blue: #0073CE;
    --bsr-navy: #003366;
}


.scroll-indicator {
    width: 35px;
    height: 55px;
    border: 2px solid #747474;
    border-radius: 25px;
    position: absolute;
    bottom: 20px;
}

/* .scroll-indicator::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #747474;
    border-radius: 50%;
    transform: translateX(-50%);
} */
.scroll-indicator {
    transition: opacity 0.4s ease;
}

.wheel {
    width: 2px;
    height: 12px;
    background: #747474;
    position: absolute;
    top: 12px;
    left: 50%;
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scroll 1.8s infinite;
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: 1;
        transform: translate(-50%, 10px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}


html,
body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Nouvel R', sans-serif;
}

body {
    font-family: var(--font-nouvel);
    font-weight: var(--fw-regular);
    overflow-y: scroll;
}

/* ===== PAGE LOADER ===== */
#pageLoader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    /* change if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#pageLoader.hidden {
    opacity: 0;
    visibility: hidden;
}



.loader-img {
    width: 200px;
    height: auto;
    animation: loaderPulse 1.4s ease-in-out infinite;
}

/* Subtle pulse animation */
@keyframes loaderPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}


h1 {
    font-family: var(--font-nouvel);
    font-weight: var(--fw-extrabold);
}

h2 {
    font-weight: var(--fw-bold);
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ===== HEADER (GMR style, top-left) ===== */

.bsr-logo-img {
    width: 80px;
    height: auto;
}

.bsr-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border-bottom-right-radius: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    width: 265px;
}

.header-block {
    display: flex;
    align-items: center;
    gap: 38px;
}

.header-divider {
    width: 1px;
    height: 75px;
    background: #dcdcdc;
}

h2.other.text-start {
    color: #fff !important;
    background: transparent !important;
    font-weight: 400;
    text-align: center !important;
}

/* ===== HAMBURGER ICON + LABEL (updated to match screenshots) ===== */
.gmr-menu-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--bsr-navy);
    user-select: none;
    background: transparent;
    border: none;
    padding: 0;
}

.gmr-menu-lines {
    width: 35px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.gmr-menu-lines span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: var(--bsr-navy);
    transition: transform .25s ease, opacity .25s ease, background .25s ease;
    transform-origin: center;
    color: #016bb4;
}

/* LABEL: hidden by default, appears only when open */
.gmr-menu-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

.gmr-menu-toggle span.line3 {
    width: 27px;
}



/* Lines -> X animation */
.gmr-menu-toggle.open .line1 {
    transform: translateY(13px) rotate(45deg);
}

.gmr-menu-toggle.open .line2 {
    opacity: 0;
}

.gmr-menu-toggle.open .line3 {
    transform: translateY(-6px) rotate(-45deg);
    width: 35px;

}


/* ===== LEFT SLIDE NAV (offcanvas) ===== */
.offcanvas-body {
    margin-top: 100px;
}

.offcanvas-backdrop {
    background-color: #036ab4b8 !important;
}

div#sidebarMenu {
    width: 320px !important;
}

.bsr-offcanvas {
    background: var(--bsr-blue);
    color: #fff;
    width: 280px;
}

.bsr-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.bsr-offcanvas .offcanvas-title {
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bsr-menu-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.bsr-menu-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bsr-menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.bsr-menu-list a:hover {
    text-decoration: underline;
}

/* ===== FIXED HERO (single visible section) ===== */
.hero-shell {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image .7s ease, transform .7s ease;
    transform: scale(1.05);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.65));
    z-index: -1;
}

.hero-inner {
    width: 100%;
    max-width: 1100px;
    color: #fff;
    text-align: center;
}

/* Top icons row */
.services-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px;
    margin-top: -20%;
}



.service-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 175px;
    font-size: .75rem;
    cursor: pointer;
}

.service-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #0052A5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 4px;
    transition: background .25s ease, transform .25s ease;
    padding: 1rem;
}

.service-icon-item.active .service-icon-circle {
    background: #26a69a;
    transform: translateY(-3px) scale(1.05);
    border: 3px solid #fff;
    height: 80px;
    width: 80px;
}


.icon-text {
    font-weight: 600 !important;
    line-height: 12px;
    letter-spacing: 1px;
    font-size: .78rem;
}


.modal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.main h1,
.main p,
.main button {
    color: #000 !important;
    border-color: #000;
}

.main p.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: .5rem;
}

.main>h1 {
    font-weight: 700;
    font-size: 2.2rem;
    color: #1974ba !important;
}



.logo-icon {
    width: 129px;
}

.icon {
    width: 90px !important;
}

/* Center text panels */
.hero-content-panel {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translate(-50%, 30px);
    transition: opacity .6s ease, transform .6s ease;
    position: absolute;
    left: 50%;
    top: 45%;
    transform-origin: center;
    pointer-events: none;
}

.hero-content-panel.active {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.hero-title {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 18px;
}

.hero-chip {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 6px;
    opacity: .9;
}

.hero-btn {
    margin-top: 19px ! IMPORTANT;
    border: 1px solid #fff;
    padding: 7px 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    text-decoration: none;
    color: #fff;
    display: inline-block;
}

.main .hero-btn {
    margin-top: 19px ! IMPORTANT;
    border: 1px solid #000;
    padding: 7px 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    text-decoration: none;
    color: #000;
    display: inline-block;
}

.hero-btn:hover {
    background: #fff;
    color: var(--bsr-navy);
    transition: background .3s ease, color .3s ease;
}

/* Scroll space (drives the scroll) */
.scroll-space {
    height: 500vh;
}

/* Scroll progress bar */
.scroll-progress-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 999;
    border-radius: 10px;
}

.scroll-progress-bar {
    width: 0;
    height: 100%;
    background: navy;
    transition: width .1s linear;
    border-radius: 10px;

}

/* Home Page End */


/* Inner Page Starts */

ol.breadcrumb * {
    font-size: .9rem;
}

.page-header {
    height: 57vh;
    background: #f5f5f5;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.h1-lg-inner {
    color: #6bb553;
}

.h1-inner {
    color: #006cb5;
}

.h2-inner {
    color: #24b5db;
}

.h3-inner {
    color: #6bb553;
}

/* Breadcrumb */

h2.text-center.text-white {
    font-weight: 400;
}

h2.text-center.text-white.service {
    background: #ffffff8c;
    display: inline;
    margin: 0 auto;
    text-align: center;
    padding: .2rem 1.5rem;
    color: #000 ! IMPORTANT;
}

/* Overview Page */
section.pt-3.bg-light {
    background: #fff !IMPORTANT;
}

section.pt-3.bg-light * {
    text-decoration: none;
}

section.pt-3.bg-light a {
    color: #000;
}

.overview h4.h1-inner {
    font-size: 2rem !important;
    margin: 0;
    font-weight: 600;
}

.overview-why-choose h4.h3-inner {
    font-size: 2rem !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
}

section.overview-why-choose span {
    font-size: 1.2rem;
}

section p {
    color: #676767;
}

.overview-why-choose {
    background: #f5f5f5;
    padding: 3.5rem 0;
}

.overview-why-choose ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 2rem;
}

.overview-why-choose ul h5 {
    font-size: 1.5rem;
    font-weight: 600;
}

.overview-why-choose ul li+li {
    margin-top: 1.6rem;
}

b {
    font-weight: 600;
}


.overview-icon {
    width: 95px;
    display: block;
    margin-bottom: .8rem;
}

h4.h1-inner.mb-4 {
    font-size: 1rem;
}

/* Overview End */


/* Director Page */

p.text-green {
    font-size: 1.2rem;
    color: #64b553;
}

.director-image {
    width: 350px !important;
    display: block;
    margin: 0 auto;
}

.director-info {
    display: block;
    color: #7a7a7a;
    font-size: .9rem;
}

/* Director Page End*/

/* Website Counters */

.website-counters {
    background: #00285c;
    padding: 1.5rem;
}

.website-counters h2 {
    margin: 0;
    font-weight: 600 !important;
    text-align: center;
}

.website-counters p {
    margin: 0;
    color: #fff;
    text-align: center;
}

/* End Counters */



/* Services template */

.services {}

.page-header h2.services {
    color: #000 !important;
    background: #ffffff87 !important;
    display: inline-block !important;
    padding: 0.2rem 1.5rem;
    font-weight: 500 !important;
}

.service h3.text-primary.fw-bold {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service .service-list {
    list-style: square;
    padding: 0 1rem;
    margin: 0;
}


ul.serivce-list.mb-5 {
    list-style: square;
    margin: 0;
    padding: 0 1rem;
    color: #676767;
}

ul.serivce-list.mb-5 li+li {
    margin-top: .5rem;
}


h4.case-study-heading {
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 600;
}

.row .col-lg-6:nth-child(4n+1) .casebox,
.row .col-lg-6:nth-child(4n+4) .casebox {
    background-color: #e8f7ff;
}

.row .col-lg-6:nth-child(4n+2) .casebox,
.row .col-lg-6:nth-child(4n+3) .casebox {
    background-color: #eaffd9;
}

.casebox {
    display: flex;
    padding: 1.2rem;
}

.casebox img {
    width: 245px;
}

h3.h1-inner.mb-4 {
    font-weight: 600;
}

.casebox h6.fw-bold {
    color: #006cb5;
    font-weight: 600 !important;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    height: 94px;
    padding-right: 1rem;
}

.casebox p.small {
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 1rem;
}


.casebox a.small {
    border: 1px solid;
    text-decoration: none;
    padding: .2rem .8rem;
    color: gray;
    transition: all .5s;
}

a.small:hover {
    background: navy;
    color: #fff;
    border-color: navy;
    transition: all .5s;
}


.other-service-box {
    background: #64b553;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    margin: 1rem 0;
    transform: scale(.9);
    transition: all 0.4s ease;

}

.other-service-box h6 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400 !IMPORTANT;
    margin-top: 1.5rem;
    height: 60px;
}

#service-carousel a {
    text-decoration: none;
}

.other-service-box img {
    display: block;
    width: 60px !important;
    margin: 0 auto;
}

.service-carousel .item {
    background: #e8f7ff;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.4s ease;
    opacity: 0.7;
}

.case-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.case-modal {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.case-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
}

.case-modal-content {
    margin-top: 15px;
    line-height: 1.6;
}


/* Center item */
.service-carousel .owl-item.center .item {
    transform: scale(1.150);
    opacity: 1;
    z-index: 2;
    transition: all 0.4s ease;
}

.other-available-services {
    background: #f5f5f5;
    padding: 3.5rem 0;
}

.other-available-services h4 {
    text-align: center;
    font-size: 2rem;
    color: #4e4d4d;
    font-weight: 600;
}



/* Navigation arrows */
.owl-nav {
    position: absolute;
    top: 38%;
    width: 100%;
    transform: translateY(-50%);
}

.owl-item.active.center .other-service-box {
    transform: scale(1.08);
    transition: all 0.4s ease;

    background: #08a9d6 !important;
}

.owl-nav button {
    position: absolute;
    width: 42px;
    height: 42px;
    background: #0b5ed7 !important;
    color: #fff !important;
    border-radius: 42px !important;
}

.owl-prev {
    left: -50px;
}

.owl-next {
    right: -50px;
}


/* Default item style */
.service-carousel .item {
    transition: all 0.4s ease;
    transform: scale(0.85);
    /* Smaller side items */
    opacity: 0.6;
    transition: all 0.4s ease;

}

/* Center item */
.service-carousel .owl-item.center .item {
    transform: scale(1.15);
    transition: all 0.4s ease;

    /* Bigger center */
    opacity: 1;
    z-index: 3;
}

/* Optional: smooth depth effect */
.service-carousel .owl-item {
    display: flex;
    justify-content: center;
}

/* Footer CSS */

footer {
    background: #4d4d4d;
    padding: 2.5rem 0;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

footer h4 {
    color: #e6e6e3;
    margin-bottom: 1.1rem;
    font-size: 1rem;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    color: #e6e6e3 !important;
    font-size: .8rem;
}

footer ul li a {
    text-decoration: none;
    color: #e6e6e3;
    font-size: .9rem;
}

footer p {
    color: #e6e6e3;
    font-size: .9rem;
    margin: 0;
}

.copyright {
    font-size: .8rem;
    text-align: center;
}

ul.list-unstyled li {
    font-size: .9rem !IMPORTANT;
    margin-bottom: .3rem;
}

ul.list-unstyled li * {
    font-size: .9rem;
}

/* Machinary */
ul.machinery-specs.text-start.mt-3 {
    padding: 0 1rem;
    list-style: square;
}


/* Our Client */
h2.our-client-heading {
    font-weight: var(--fw-bold);
    text-align: left;
    font-weight: 600;
    color: #006cb5;
}

.client-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: filter .3s ease;
}


.service-icon-circle.icon_1 {
    background: #036ab4 !important;
}

.service-icon-circle.icon_2 {
    background: #64b553 !important;
}

.service-icon-circle.icon_3 {
    background: #08a9d6 !important;
}

.service-icon-circle.icon_4 {
    background: #009552 !important;
}

/* Machinary Page */
.machinery-box h5 {
    color: #004eb2 ! IMPORTANT;
}

ul.machinery-specs.text-start.mt-3 li {
    color: #5e5d5d;
}

#scrollToTop {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 52px;
    height: 52px;
    background: #0b1c2d;
    /* dark navy */
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTop:hover {
    transform: translateY(-4px);
}

/* Arrow icon */
#scrollToTop .arrow {
    position: absolute;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    z-index: 2;
}

/* Progress Ring */
.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    stroke: #ffffff6e;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}


/* Contact Page */

.address-box {
    text-align: center;
}

.address-box img {
    width: 50px;
    display: block;
    margin: 0 auto;
    margin-bottom: .8em;
}

.address-box h4 {
    font-weight: 600;
    color: #026cb5;
}

.piling-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.piling-box {
    display: flex;
    gap: 1.5rem;
}

.piling-unit {
    display: flex;
    gap: .2rem;
}

.piling-unit strong {
    font-weight: 600;
}

.piling-unit {
    text-align: left;
    color: #5d5d5d;
}

.piling-box img {
    width: 135px;
    height: auto;
}

h5.piling-ring-title {
    font-weight: 700;
    color: #64b553;
    text-align: left;
}

.piling-unit {
    text-align: left;
}

@media (max-width:840px) {
    .services-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
        margin-top: -24%;
    }
}

@media (max-width:767.98px) {
    .bsr-header {
        padding: 8px 16px;
        border-bottom-right-radius: 16px;
    }

    .hero-inner {
        padding: 110px 16px 60px;
    }

    .hero-title {
        font-size: 26px;
    }

    .services-icons {
        gap: 30px;
    }

    .hero-content-panel {
        max-width: 100% !important;
        width: 100%;
    }

    .hero-inner {
        padding: 0;
    }

    .hero-inner .services-icons {
        background: #ffffff59;
        padding: .5rem 0;
        border-radius: 8px;
    }

    .icon-text {
        display: none;
    }

    .services-icons {
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
    }



}

.heading {
    width: 261px;
    margin: 0 auto;
    background: #2184d2;
    text-align: center !IMPORTANT;
    transform: skew(-21deg, 0deg);
}

.heading h2 {
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 0;
    padding: .5rem 1.5rem;
    transform: skew(21deg, 0deg);
}

/* Large screens (≥ 1200px) */
@media screen and (max-width: 1024px) {
    .page-header {
        height: 20vh;
    }

    .services-icons {
        margin-top: -50%;
    }

    div#officeAccordion {
        position: relative;
        width: 100%;
    }
}


@media screen and (max-width:480px) {
    .owl-nav button {
        display: none ! important;
    }

    .piling-box img {
        width: 76px;
        height: auto;
    }

    .bsr-header {
        width: 215px;
    }

    .header-block {
        gap: 24px;
    }

    .page-header {
        height: 35vh;
        background-size: cover;
        background-position: 8%;
    }

    .main>h1 {
        font-weight: 700;
        font-size: 1.8rem;
        color: #1974ba !important;
    }

    .hero-content-panel {
        top: 33%;
    }

    .service-icon-circle {
        width: 60px;
        height: 60px;
    }

    .service-icon-item.active .service-icon-circle {
        height: 65px;
        width: 65px;
    }

    .scroll-indicator {
        display: none;
    }

    .casebox {
        display: flex;
        padding: 1.2rem;
        flex-direction: column;
    }

    .casebox img {
        width: 100%;
        border-radius: 1rem;
        margin-bottom: 1rem;
    }

    .box-thumb {
        order: 1;
    }

    .boxinfo {
        order: 2;
    }

    .casebox h6.fw-bold {
        margin-bottom: .5rem;
        height: auto;
    }


    .director-image {
        width: 238px !important;
    }

    .machinery-box {
        text-align: center;
    }

    .owl-nav {
        display: none;
    }

    div#caseStudyModal {
        max-height: 480px;
        margin-top: 180px;
    }

    .piling-box {
        display: flex;
        gap: 1.5rem;
        flex-direction: column;
    }

    .piling-box img {
        width: 200px;
        height: auto;
    }

    .contentss {
        width: 100%;
    }
}




.hero-content-panel.active.main a:hover {
    background: navy;
    color: #fff;
}

/* Extra large screens (≥ 1600px) */
@media screen and (min-width: 1600px) {

    .services-icons {
        margin-top: -36%;
    }

    .hero-content-panel {
        top: 40%;
    }

    .logo-icon {
        width: 220px;
    }

    .main p.hero-subtitle {
        margin-top: 1rem;
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: .5rem;
    }

}

h5#caseStudyModalTitle {
    font-weight: 600;
}

div#caseStudyModalContent {
    line-height: 1.8rem;
}

.modal-content div#caseStudyModalContent ul {
    padding: 0 1rem;
    margin-top: 1rem;
}

.modal-content h2 {
    color: navy;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

.modal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem ! IMPORTANT;
    color: #71940d;
}

.modal-header h5 {
    color: #026ab4;
}

.modal-content p {
    margin-top: 0;
    margin-bottom: 0rem;
}

.modal-content ul ul {
    margin: 0 !IMPORTANT;
    padding: .3rem 1rem ! IMPORTANT;
}

.custom-accordion .accordion-button {
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    font-size: 1.05rem;
}

.custom-accordion .accordion-button::after {
    background-image: none;
    content: "+";
    font-size: 22px;
    font-weight: 600;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    content: "−";
}

.custom-accordion .accordion-body {
    padding-left: 1.9rem;
    color: #333;
}

/* BULLETS */
.bullet {
    display: inline-block;
    margin-right: 10px;
}

/* Red & Blue CIRCLES */
.bullet-red,
.bullet-blue {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.bullet-red {
    background: #ff0000;
}

.bullet-blue {
    background: #0d6efd;
}

/* Green SQUARE */
.bullet-square {
    width: 12px;
    height: 12px;
    background: #7cc242;
}

div#officeAccordion {
    position: absolute;
    width: 45%;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
}

.social {
    display: flex;
    list-style: none;
    gap: .8rem;
    padding: 0;
}

.social li i.fab {
    font-size: 1.5rem ! IMPORTANT;
}

.social li a i {
    width: 24px;
    height: 24px;
    border-radius: 24px;
    color: #a8a8a8;
}