/********** Template CSS **********/
:root {
    --primary: #AB7442;
    --light: #F5F5F5;
    --dark: #353535;
}

html {
    scroll-behavior: smooth;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove content-visibility: auto from images as it causes dynamic layout shifts (CLS) */
img {
    max-width: 100%;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    display: none !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 95px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.navbar-brand img {
    height: 78px !important;
    max-height: 78px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-right: 16px !important;
    filter: drop-shadow(0 2px 6px rgba(15, 43, 92, 0.12));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.03);
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F2B5C;
    line-height: 1.15;
    letter-spacing: -0.2px;
    font-family: 'Roboto', 'Open Sans', sans-serif;
}

.brand-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #AB7442;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    margin-top: 4px;
}

@media (max-width: 576px) {
    .brand-title {
        font-size: 1.1rem;
    }
    .brand-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}

.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

body {
    padding-top: 95px !important;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 75px !important;
    }
}

.sticky-top,
.navbar-light.sticky-top {
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    right: 0px !important;
    width: 100% !important;
    z-index: 1050 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


html, body {
    overflow-x: hidden;
}

/*** Header ***/
/* Fix Cumulative Layout Shift (CLS) for Owl Carousel before JS hydration */
.owl-carousel:not(.owl-loaded) {
    display: flex;
    overflow: hidden;
}

.owl-carousel:not(.owl-loaded) > *:not(:first-child) {
    display: none !important;
}

.owl-carousel:not(.owl-loaded) > *:first-child {
    width: 100%;
}

.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage {
    position: relative;
    overflow: hidden !important;
}

.header-carousel .owl-carousel-item {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden !important;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.0);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Dynamic Ken Burns Zoom effect on Active Carousel Slide Background */
.header-carousel .owl-item.active .owl-carousel-item img {
    transform: scale(1.12);
}

/* Ambient Moving Gradient Overlay for Hero Banner */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 25, 44, 0.65) 0%, rgba(15, 43, 92, 0.55) 50%, rgba(9, 23, 43, 0.7) 100%);
    z-index: 1;
    overflow: hidden;
}

@keyframes heroShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0%, rgba(171, 116, 66, 0.12) 50%, rgba(255, 255, 255, 0.04) 100%);
    background-size: 200% 200%;
    animation: heroShimmer 12s ease infinite;
    pointer-events: none;
}

.header-carousel .owl-carousel-item h1 {
    font-size: 2.5rem !important;
    font-weight: 700;
    line-height: 1.25;
}

.header-carousel .owl-carousel-item p {
    font-size: 1.05rem !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .header-carousel .owl-carousel-item {
        height: 440px;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 2rem !important;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: 380px;
    }

    .header-carousel .owl-carousel-item h5 {
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 1.4rem !important;
        font-weight: 600;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 0.85rem !important;
        font-weight: 400 !important;
        margin-bottom: 1rem !important;
    }

    .header-carousel .owl-carousel-item .btn {
        padding: 8px 18px !important;
        font-size: 13px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 0;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    pointer-events: none;
    z-index: 10;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 20px;
    pointer-events: auto;
    transition: all .3s ease;
    backdrop-filter: blur(4px);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.header-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        padding: 0 10px;
    }
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(15, 43, 92, .75), rgba(15, 43, 92, .75)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 3rem !important;
}

.page-header h1 {
    font-size: 2.25rem !important;
    font-weight: 700;
    margin-bottom: 0.5rem !important;
}

.page-header .breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service / Product Cards Uniform Height & Alignment ***/
.service-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-item .overflow-hidden {
    height: 240px !important;
    max-height: 240px !important;
    width: 100% !important;
    position: relative;
    background-color: #f8f9fa;
    flex-shrink: 0 !important;
}

.service-item .overflow-hidden img {
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.4s ease !important;
}

.service-item:hover .overflow-hidden img {
    transform: scale(1.06) !important;
}

.service-item > div:last-child {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 1.5rem !important;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-img {
    background-color: #ffffff;
    padding: 4px;
    border-radius: 10px;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    object-fit: contain;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    margin-right: 16px;
    transition: transform 0.3s ease;
}

.footer-brand-img:hover {
    transform: scale(1.05);
}

.footer-brand-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.15;
    margin-bottom: 3px;
    letter-spacing: -0.2px;
    font-family: 'Roboto', 'Open Sans', sans-serif;
}

.footer-brand-subtitle {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.footer h4.text-light {
    position: relative;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer .text-primary {
    color: #F59E0B !important; /* Bright Gold for high contrast readability */
}

.footer .btn.btn-social {
    margin-right: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer .btn.btn-social:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(171, 116, 66, 0.4);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/*** Custom Banners & Counter Strip ***/
.facts-banner {
    background: linear-gradient(135deg, #09172B 0%, #0F2B5C 50%, #153B7C 100%) !important;
    border-top: 3px solid #AB7442;
    border-bottom: 3px solid #AB7442;
    position: relative;
    overflow: hidden;
}

.facts-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.watermark-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    font-size: 5.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    user-select: none;
}

.facts-banner .counter-box {
    transition: transform 0.25s ease;
    z-index: 2;
}

.facts-banner .counter-box:hover {
    transform: translateY(-4px);
}

.facts-banner .counter-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.facts-banner .counter-box:hover .counter-icon {
    transform: scale(1.1);
    background: rgba(171, 116, 66, 0.35);
    border-color: #AB7442;
}

.cta-banner {
    background: linear-gradient(135deg, #0F2B5C 0%, #153B7C 50%, #1A428A 100%);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

/*** Floating Call & WhatsApp Buttons ***/
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.float-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.float-btn.call-btn {
    background: linear-gradient(135deg, #0F2B5C 0%, #1E40AF 100%);
}

.float-btn:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-btn.whatsapp-btn {
    animation: pulse-whatsapp 2s infinite;
}

@media (max-width: 576px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

/*** Dedicated Mobile Responsive Engine ***/
@media (max-width: 991.98px) {
    body {
        padding-top: 70px !important;
    }
    
    .navbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 6px 14px !important;
        height: 70px !important;
    }

    .navbar-brand {
        padding: 0 !important;
        margin-right: 8px !important;
        display: flex !important;
        align-items: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .navbar-brand img {
        height: 50px !important;
        width: auto !important;
        min-width: 50px !important;
        margin-right: 10px !important;
        object-fit: contain !important;
    }

    .navbar-brand-text {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        line-height: 1.15 !important;
        min-width: 0 !important;
    }

    .navbar-brand-text .brand-title {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 2px !important;
    }

    .navbar-brand-text .brand-subtitle {
        font-size: 0.65rem !important;
        letter-spacing: 1.5px !important;
    }

    .navbar-toggler {
        margin-right: 0 !important;
        padding: 6px 10px !important;
        font-size: 1.2rem !important;
        border-color: rgba(15, 43, 92, 0.25) !important;
        background-color: #f8f9fa !important;
        flex-shrink: 0 !important;
    }

    .navbar-collapse {
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
        padding: 15px 20px !important;
        border-bottom: 3px solid var(--primary) !important;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item,
    .hero-header .owl-carousel-item,
    .hero-carousel-item {
        min-height: 520px !important;
        height: 520px !important;
    }

    .header-carousel h1,
    .hero-overlay h1 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.6rem !important;
    }

    .header-carousel p,
    .hero-overlay p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.2rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-btn-wrap {
        margin-bottom: 30px !important;
    }

    .hero-btn-wrap .btn,
    .hero-overlay .btn {
        padding: 9px 16px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        margin-right: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    }

    .header-carousel .owl-nav,
    .hero-header .owl-nav,
    .hero-carousel .owl-nav {
        display: none !important; /* Hide arrows on mobile so text & buttons are 100% readable */
    }

    .header-carousel .owl-dots,
    .hero-header .owl-dots,
    .hero-carousel .owl-dots {
        bottom: 10px !important;
        z-index: 10 !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand-text .brand-title {
        font-size: 1.08rem !important;
        letter-spacing: -0.2px !important;
    }
    .navbar-brand-text .brand-subtitle {
        font-size: 0.62rem !important;
        letter-spacing: 1.4px !important;
    }
    .navbar-brand img {
        height: 48px !important;
        max-height: 48px !important;
        min-width: 48px !important;
        margin-right: 8px !important;
        object-fit: contain !important;
        filter: drop-shadow(0 2px 4px rgba(15, 43, 92, 0.15)) !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
    }
}