/********** Template CSS **********/
:root {
    --primary: #2468a6;
    --primary-rgb: 36, 104, 166;
    --secondary: #9B9B9B;
    --light: #F5F5F5;
    --dark: #161616;
    --bs-font-sans-serif: Arial, "Helvetica Neue", Helvetica, sans-serif;
    --bs-body-font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* Global Font Family: Matching Logo Typography (Arial / Sans-Serif) */
html,
body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
p, a, input, button, select, textarea,
.btn, .nav-link, .dropdown-item, .breadcrumb-item,
.navbar-brand, table, th, td, blockquote, label, small, strong, em, b {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

span:not(.fa):not(.fas):not(.far):not(.fab):not(.bi):not([class*="fa-"]):not([class*="bi-"]),
div:not(.fa):not(.fas):not(.far):not(.fab):not(.bi):not([class*="fa-"]):not([class*="bi-"]) {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* Preserve Icon Fonts */
.fa, .fas, .far, .fab, [class*="fa-"], [class^="fa-"], i.fa, i.fas, i.far, i.fab {
    font-family: "Font Awesome 5 Free" !important;
}

.fab, i.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

.bi, [class*="bi-"], [class^="bi-"], i.bi {
    font-family: "bootstrap-icons" !important;
}

/* Enforce the 4 designated colors for all text */
body {
    color: var(--dark);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary,
.text-muted {
    color: var(--secondary) !important;
}

.text-light,
.text-white {
    color: var(--light) !important;
}

.text-dark {
    color: var(--dark) !important;
}

/* Enforce the 4 designated colors for all icons */
.fa, .fas, .far, .fab, .bi {
    color: inherit;
}

.icon-primary,
i.text-primary,
.fa.text-primary,
.fas.text-primary,
.far.text-primary {
    color: var(--primary) !important;
}

.icon-secondary,
i.text-secondary,
.fa.text-secondary,
.fas.text-secondary,
.far.text-secondary {
    color: var(--secondary) !important;
}

.icon-light,
.icon-white,
i.text-light,
i.text-white,
.fa.text-white,
.fas.text-white {
    color: var(--light) !important;
}

.icon-dark,
.icon-black,
i.text-dark,
.fa.text-dark,
.fas.text-dark {
    color: var(--dark) !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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 {
    color: var(--light) !important;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn.btn-primary:hover {
    color: var(--light) !important;
}

.btn.btn-outline-primary {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn.btn-outline-primary i {
    color: var(--primary) !important;
    transition: all .3s ease;
}

.btn.btn-outline-primary:hover {
    color: var(--light) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn.btn-outline-primary:hover i {
    color: var(--light) !important;
}

.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.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: auto;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start;
    padding: 10px 0;
    margin: 0;
}

.navbar .navbar-brand img,
.navbar-logo {
    width: auto;
    height: auto;
    max-width: 410px;
    max-height: 108px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    transition: max-width 0.3s ease, max-height 0.3s ease;
}

.navbar .navbar-brand span {
    display: none !important;
}

.navbar .navbar-nav .nav-link {
    margin-right: 26px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* Medium / Standard Desktop (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar .navbar-brand img,
    .navbar-logo {
        max-width: 360px;
        max-height: 96px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 18px;
    }
}

/* Small Desktop / Laptop (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .navbar-brand img,
    .navbar-logo {
        max-width: 275px;
        max-height: 74px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 12px;
        font-size: 14.5px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .navbar .navbar-brand {
        height: auto;
        display: inline-flex !important;
        align-items: center !important;
        margin-right: auto;
        margin-left: 0;
        margin-bottom: 0;
        padding: 4px 0;
        flex-shrink: 1;
        min-width: 0;
    }

    .navbar .navbar-brand img,
    .navbar-logo {
        width: auto !important;
        height: auto !important;
        max-width: 290px;
        max-height: 78px;
        object-fit: contain;
        flex-shrink: 1;
        display: block;
    }

    .navbar .navbar-brand span {
        display: none !important;
    }

    .navbar .navbar-toggler {
        margin-left: auto;
        order: 2;
        flex-shrink: 0;
        padding: 6px 10px;
    }

    .navbar .navbar-collapse {
        width: 100%;
        order: 3;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

/* Tablets and small screens */
@media (max-width: 767.98px) {
    .navbar .navbar-brand img,
    .navbar-logo {
        max-width: 260px;
        max-height: 70px;
    }
}

@media (max-width: 575.98px) {
    .navbar .navbar-brand img,
    .navbar-logo {
        max-width: min(235px, calc(100vw - 90px));
        max-height: 64px;
    }
}

@media (max-width: 375.98px) {
    .navbar .navbar-brand img,
    .navbar-logo {
        max-width: min(190px, calc(100vw - 80px));
        max-height: 52px;
    }
}

@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;
    }
}

.navbar .btn:hover {
    color: var(--light) !important;
    background: var(--primary) !important;
}


/*** Header ***/
.carousel-shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

.carousel-shell .header-carousel {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(22, 22, 22, .3);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 520px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .carousel-inner {
        padding-bottom: 65px;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: clamp(0.88rem, 2.6vw, 1.15rem) !important;
        font-weight: 400 !important;
        line-height: 1.55;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: clamp(1.5rem, 5vw, 2.4rem) !important;
        font-weight: 700;
        line-height: 1.25;
    }
}

@media (max-width: 575.98px) {
    .header-carousel .owl-carousel-item {
        min-height: 540px;
    }

    .header-carousel .owl-nav,
    .header-carousel .owl-dots {
        bottom: 18px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: transparent;
    border: 1px solid var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(22, 22, 22, .7), rgba(22, 22, 22, .2)), url(../img/american-imgs/about-banner-.webp) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** 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);
    }
}

.about-img-container {
    min-height: 300px;
}

@media (min-width: 576px) {
    .about-img-container {
        min-height: 380px;
    }
}

@media (min-width: 992px) {
    .about-img-container {
        min-height: 100%;
    }
}

.about-badge-exp {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(var(--primary-rgb), 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid var(--light);
    border-radius: 12px;
    padding: 12px 14px;
    max-width: calc(100% - 28px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

@media (min-width: 768px) {
    .about-badge-exp {
        bottom: 24px;
        left: 24px;
        padding: 16px 20px;
        max-width: 320px;
    }
}

.about-badge-cert {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--light);
    color: var(--dark);
    border-radius: 50px;
    padding: 6px 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 2;
    font-size: 0.82rem;
}

@media (min-width: 768px) {
    .about-badge-cert {
        top: 24px;
        right: 24px;
        padding: 8px 18px;
        font-size: 0.88rem;
    }
}

.about-card {
    background: #ffffff;
    border: 1px solid rgba(155, 155, 155, 0.25);
    border-radius: 12px;
    padding: 16px 18px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.18);
    border-color: var(--primary);
}

.about-card .about-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-card:hover .about-card-icon {
    background: var(--primary);
    color: var(--light);
}

.about-card .about-card-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.about-card .about-card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.35;
}

.about-check-item {
    display: flex;
    align-items: center;
    font-size: 0.92rem;
    color: var(--dark);
    font-weight: 600;
}

.about-check-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-right: 10px;
    flex-shrink: 0;
}


/*** Service ***/
.service-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.service-item .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    color: var(--light);
    background: var(--primary);
    border-radius: 38px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** 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-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    cursor: pointer;
}

.portfolio-inner img {
    transition: .5s;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}

/* Product Card Action Buttons - Green Ring Effect on Hover & Focus */
.portfolio-inner .portfolio-text .btn,
.portfolio-inner .btn-square {
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    color: var(--light) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.portfolio-inner .portfolio-text .btn:hover,
.portfolio-inner .portfolio-text .btn:focus,
.portfolio-inner .portfolio-text .btn:active,
.portfolio-inner .btn-square:hover,
.portfolio-inner .btn-square:focus,
.portfolio-inner .btn-square:active {
    color: var(--light) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(86, 154, 41, 0.5) !important;
}

/* Clickable Portfolio Cards */
.product-card-clickable {
    cursor: pointer;
}

.product-card-clickable .portfolio-text {
    cursor: pointer;
}

.product-card-clickable .stretched-link {
    z-index: 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 / Industries ***/
.team-item {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.team-item .overflow-hidden {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

@media (max-width: 575.98px) {
    .team-item .overflow-hidden {
        height: 200px;
    }
}

.team-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-item:hover img {
    transform: scale(1.08);
}

.team-item .text-center {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem !important;
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, .7);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** 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 .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: none;
    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;
}

.icon-circle {
    background-color: var(--light) !important;
}

.icon-black {
    color: var(--dark) !important;
}

.portfolio-container .portfolio-item {
    display: flex;
}

.portfolio-container .portfolio-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.portfolio-container .portfolio-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.portfolio-container .portfolio-inner > img {
    width: 100%;
    height: 235px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

@media (max-width: 575.98px) {
    .portfolio-container .portfolio-inner > img {
        height: 200px !important;
    }
}

.portfolio-container .portfolio-inner > .text-center {
    min-height: 85px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 1rem !important;
    flex-grow: 1;
}

.portfolio-container .portfolio-inner > .text-center p {
    margin-bottom: 6px !important;
}

.portfolio-container .portfolio-inner > .text-center h5 {
    margin-bottom: 0 !important;
}

.team-item .overflow-hidden.position-relative::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-item:hover .overflow-hidden.position-relative::after {
    opacity: 1;
}

.footer {
    background-color: #121418 !important;
    color: #dcdcdc;
}

.footer-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
}

.footer-logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.footer-logo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 68px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

@media (max-width: 575.98px) {
    .footer-logo-box {
        padding: 8px 14px;
        border-radius: 10px;
    }

    .footer-logo {
        max-width: 210px;
        max-height: 56px;
    }
}

.footer p {
    color: #ffffff !important;
}

.footer a {
    color: #dcdcdc;
    transition: all 0.3s ease;
}

.footer h5 {
    color: #ffffff !important;
    font-weight: 600;
}

.footer strong {
    color: #ffffff !important;
}

.footer .footer-heading {
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: var(--primary, #2468a6);
}

.footer .btn.btn-link {
    color: #cbd5e1 !important;
    text-transform: none !important;
}

.footer-nowrap-link,
.footer .btn.btn-link.text-nowrap {
    white-space: nowrap !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer .btn.btn-link {
        font-size: 0.88rem;
    }
}

@media (max-width: 400px) {
    .footer .btn.btn-link {
        font-size: 0.85rem;
    }
}

.footer .btn.btn-link:hover {
    color: #ffffff !important;
    padding-left: 6px;
    letter-spacing: 0.5px;
}

.footer .btn-outline-light {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease;
}

.footer .btn-outline-light:hover,
.footer .btn-outline-light:focus,
.footer .btn-outline-light:active {
    color: #ffffff !important;
    background-color: var(--primary, #2468a6) !important;
    border-color: var(--primary, #2468a6) !important;
    box-shadow: 0 4px 12px rgba(36, 104, 166, 0.35);
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-btn:hover {
    background-color: var(--primary, #2468a6) !important;
    border-color: var(--primary, #2468a6) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #ffffff !important;
}

.footer-contact-item span {
    color: #ffffff !important;
    font-size: 0.93rem;
    line-height: 1.55;
}

.footer-contact-icon {
    width: 20px;
    min-width: 20px;
    color: var(--primary, #2468a6) !important;
    font-size: 1.05rem;
    margin-top: 3px;
    flex-shrink: 0;
    text-align: center;
}

.footer-contact-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.55;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-contact-link:hover {
    color: var(--primary, #2468a6) !important;
    padding-left: 2px;
}

/* Dedicated Responsive Footer Email Styling */
.footer-emails-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    width: 100%;
}

.footer-email-link {
    display: inline-block;
    max-width: 100%;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.90rem;
    line-height: 1.55;
    letter-spacing: -0.1px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.footer-email-link:hover {
    color: var(--primary, #2468a6) !important;
    transform: translateX(3px);
}

/* Breakpoint adjustments for flawless email responsiveness */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer-email-link {
        font-size: 0.84rem;
        letter-spacing: -0.2px;
    }
}

@media (min-width: 380px) and (max-width: 575.98px) {
    .footer-email-link {
        font-size: 0.86rem;
        letter-spacing: -0.15px;
    }
}

@media (min-width: 320px) and (max-width: 379.98px) {
    .footer-email-link {
        font-size: 0.79rem;
        letter-spacing: -0.3px;
    }
}

@media (max-width: 319.98px) {
    .footer-email-link {
        font-size: 0.74rem;
        letter-spacing: -0.35px;
        white-space: normal;
        word-break: break-all;
    }
}

/* Compact Professional Portfolio Cards */
.portfolio-container-sm .portfolio-item {
    display: flex;
    justify-content: center;
}

.portfolio-container-sm .portfolio-inner {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.portfolio-container-sm .portfolio-inner:hover {
    box-shadow: 0 10px 28px rgba(36, 104, 166, 0.18);
    transform: translateY(-4px);
}

.portfolio-container-sm .portfolio-inner > img {
    width: 100%;
    height: 340px !important;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.portfolio-container-sm .portfolio-inner > .text-center {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px !important;
}

.portfolio-container-sm .portfolio-inner > .text-center p {
    margin-bottom: 4px !important;
    font-size: 0.85rem;
}

.portfolio-container-sm .portfolio-inner > .text-center h5 {
    margin-bottom: 0 !important;
    font-size: 1rem;
}

/* style */
.acid-dyes-table {
    border-color: #dee2e6;
    font-size: 0.95rem;
}
.acid-dyes-table th {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: 2px solid #cbd5e1;
    text-align: center;
    vertical-align: middle;
}
.acid-dyes-table td {
    padding: 12px 18px;
    line-height: 1.6;
    vertical-align: middle;
    text-align: center;
}
.acid-dyes-table tbody tr:hover {
    background-color: #f8fafc;
}
/* </style> */

/* Title Divider & Shared Element Styles */
.ae-title-line {
    width: 60px;
    height: 2px;
    background: var(--primary, #2468a6);
}

.img-cover {
    object-fit: cover;
}

.about-badge-exp-num {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.about-badge-exp-title {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.about-tag-pill {
    background-color: rgba(36, 104, 166, 0.1);
    font-size: 0.78rem;
    letter-spacing: 1.2px;
}

.about-accent-line {
    width: 65px;
    height: 3px;
    border-radius: 2px;
}

.about-lead-text {
    line-height: 1.8;
}

.feature-square-box {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.feature-icon-size {
    font-size: 22px;
}

@media (min-width: 576px) {
    .feature-square-box {
        width: 64px;
        height: 64px;
    }
    .feature-icon-size {
        font-size: 28px;
    }
}

.feature-banner-col {
    min-height: 280px;
}

@media (min-width: 576px) {
    .feature-banner-col {
        min-height: 360px;
    }
}

@media (min-width: 992px) {
    .feature-banner-col {
        min-height: 100%;
    }
}

/* Fluid responsive typography across all screen ranges */
@media (max-width: 767.98px) {
    .display-3 {
        font-size: clamp(1.6rem, 5.5vw, 2.5rem) !important;
        line-height: 1.25 !important;
    }
    .display-5 {
        font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
        line-height: 1.3 !important;
    }
    .display-6 {
        font-size: clamp(1.4rem, 4.5vw, 1.9rem) !important;
        line-height: 1.3 !important;
    }
}

/* Responsive Back to Top Button */
@media (max-width: 575.98px) {
    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* About Us Page Header Title - Always single line on all screens */
.about-page-title {
    white-space: nowrap !important;
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(0.82rem, 3.25vw, 3.1rem) !important;
    line-height: 1.25 !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .about-page-title {
        font-size: 2.15rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .about-page-title {
        font-size: 1.65rem !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .about-page-title {
        font-size: 1.35rem !important;
    }
}

@media (max-width: 575.98px) {
    .about-page-title {
        font-size: clamp(0.8rem, 3.6vw, 1.15rem) !important;
    }
}
