/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}

/* SAFEX PRO Image Logo */
.safex-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 0;
}

.safex-logo-img {
    width: 280px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .safex-logo-img {
        width: 220px;
        max-height: 65px;
    }
}

@media (max-width: 480px) {
    .safex-logo-img {
        width: 180px;
        max-height: 55px;
    }
}



/*** 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 {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/

.sticky-top {
    top: 0;
    transition: .5s;
    z-index: 9999;
}


/*NAVBAR BACKGROUND*/
.navbar {
    min-height: 70px;
    background: transparent !important;
}

/*NAVBAR MAIN CONTAINER*/
.container-fluid.sticky-top {
    background: linear-gradient(90deg,
            #ee8f7d 0%,
            #e99b7d 50%,
            #e8b77c 100%);
}

/*LOGO - LEFT SIDE*/
.navbar .navbar-brand {
    margin-right: auto;
    padding: 0;
    color: #ffffff;
    text-decoration: none;
}

.navbar .navbar-brand h1 {
    color: #ffffff;
    font-size: 40px;
    margin: 0;
    font-weight: 700;
}

/*NAVBAR MENU - RIGHT SIDE*/
.navbar .navbar-nav {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

/* NAV LINKS */
.navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 15px 12px;
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}

/*SEPARATOR*/
.navbar .navbar-nav>.nav-item:not(:last-child)::after {
    content: "|";
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/*PRODUCTS*/
.navbar .navbar-nav .nav-item.dropdown {
    display: flex;
    align-items: center;
    position: static;
}

/* Products Arrow */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 7px;
}

/*PRODUCTS MEGA MENU*/
@media (min-width: 992px) {
    .navbar .nav-item.dropdown .dropdown-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        top: 100%;
        margin-top: 0;
        padding: 45px 30px 50px;
        background: #100c0a;
        border: none;
        border-radius: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: .3s;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    }

    /* Products Hover */
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Mega Menu Column */
    .dropdown-column {
        padding: 0 20px;
    }

    /* Heading */
    .dropdown-column h4 {
        color: #f5a019;
        font-size: 21px;
        font-weight: 400;
        margin: 0 0 18px;
        padding-bottom: 12px;
        border-bottom: 1px solid #dddddd;
    }

    /* Product Links */
    .dropdown-column a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        padding: 7px 0;
        transition: .3s;
    }

    .dropdown-column a:hover {
        color: #f5a019;
        padding-left: 5px;
    }
}

/*MOBILE*/
@media (max-width: 991.98px) {
    .navbar {
        min-height: 70px;
    }

    .navbar .navbar-nav {
        display: block;
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .2);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
    }

    /* Mobile mein | hide */
    .navbar .navbar-nav>.nav-item:not(:last-child)::after {
        display: none;
    }

    /* Products */
    .navbar .nav-item.dropdown {
        display: block;
        position: relative;
    }

    /* Mobile Mega Menu */
    .navbar .nav-item.dropdown .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        background: #100c0a;
        border: none;
        border-radius: 0;
        padding: 20px;
        margin: 0;
    }

    .dropdown-column {
        margin-bottom: 25px;
    }

    .dropdown-column h4 {
        color: #f5a019;
        font-size: 18px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }

    .dropdown-column a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        padding: 7px 0;
    }
}

/* Hover */
.navbar .navbar-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Active */
.navbar .navbar-nav .nav-link.active {
    color: #ffffff;
    background: transparent;
}

/*PRODUCTS*/
.navbar .nav-item.dropdown {
    position: static;
}

/* Products Arrow */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 7px;
}

/*PRODUCTS MEGA MENU*/
@media (min-width: 992px) {
    .navbar .nav-item.dropdown .dropdown-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        top: 100%;
        margin-top: 0;
        padding: 45px 30px 50px;
        background: #100c0a;
        border: none;
        border-radius: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: .3s;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    }

    /* Products Hover */
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /*MEGA MENU COLUMN */
    .dropdown-column {

        padding: 0 20px;
    }

    /* Heading */
    .dropdown-column h4 {
        color: #f5a019;
        font-size: 21px;
        font-weight: 400;
        margin: 0 0 18px;
        padding-bottom: 12px;
        border-bottom: 1px solid #dddddd;
    }

    /* Links */
    .dropdown-column a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        padding: 7px 0;
        transition: .3s;
    }

    .dropdown-column a:hover {
        color: #f5a019;
        padding-left: 5px;
    }
}

/*MOBILE*/
@media (max-width: 991.98px) {
    .navbar {
        min-height: 80px;
    }

    /* Logo */
    .navbar .navbar-brand h1 {
        font-size: 30px;
    }

    /* Mobile Button */
    .navbar .navbar-toggler {
        border-color: rgba(255, 255, 255, .5);
    }

    .navbar .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    /* Mobile Menu */
    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .2);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        color: #ffffff;
    }

    /* Mobile Products */
    .navbar .nav-item.dropdown {
        position: relative;
    }

    .navbar .nav-item.dropdown .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        background: #100c0a;
        border: none;
        border-radius: 0;
        padding: 20px;
        margin: 0;
    }

    .dropdown-column {
        margin-bottom: 25px;
    }

    .dropdown-column h4 {
        color: #f5a019;
        font-size: 18px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }

    .dropdown-column a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        padding: 7px 0;
    }
}

/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }

    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/1.jpg) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown {
    0% {
        top: -25px;
    }

    50% {
        top: -45px;
    }

    100% {
        top: -25px;
    }
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
.contact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Newsletter ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    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;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

/* =========================================================
   SAFEX PRO - HOME PAGE DESIGN
   ========================================================= */

:root {
    --safex-red: #d71920;
    --safex-red-dark: #a80f15;
    --safex-blue: #082b5c;
    --safex-blue-2: #0d4d91;
    --safex-dark: #07182f;
    --safex-light: #f5f8fc;
    --safex-text: #46566d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--safex-text);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
}

.safex-topbar {
    background: var(--safex-blue);
    color: #fff;
    padding: 9px 0;
}

.safex-topbar a {
    color: #fff;
    text-decoration: none;
}

.safex-topbar i {
    color: #f4b400;
}

.safex-navbar-wrap {
    background: #fff !important;
    box-shadow: 0 3px 18px rgba(7, 24, 47, .10);
}

.safex-navbar-wrap .navbar {
    min-height: 82px;
}

.safex-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--safex-blue) !important;
    text-decoration: none;
}

.safex-logo strong {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 29px;
    line-height: 1;
    letter-spacing: -.5px;
}

.safex-logo strong b {
    color: var(--safex-red);
}

.safex-logo small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 4px;
}

.logo-shield {
    width: 45px;
    height: 52px;
    border: 3px solid var(--safex-red);
    color: var(--safex-red);
    display: grid;
    place-items: center;
    clip-path: polygon(50% 0, 95% 17%, 89% 67%, 50% 100%, 11% 67%, 5% 17%);
    background: #fff;
    font-size: 20px;
}

.safex-navbar-wrap .nav-link {
    color: var(--safex-blue) !important;
    font-weight: 600 !important;
    padding: 30px 13px !important;
}

.safex-navbar-wrap .nav-link:hover,
.safex-navbar-wrap .nav-link.active {
    color: var(--safex-red) !important;
}

.safex-navbar-wrap .nav-link.active::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 18px;
    height: 3px;
    background: var(--safex-red);
}

.safex-btn {
    background: var(--safex-red);
    color: #fff !important;
    border: 2px solid var(--safex-red);
    border-radius: 3px;
    padding: 11px 22px;
    font-weight: 700;
}

.safex-btn:hover {
    background: var(--safex-red-dark);
    border-color: var(--safex-red-dark);
    transform: translateY(-2px);
}

.safex-btn-lg {
    padding: 14px 26px;
}

.safex-outline-btn {
    border: 2px solid #fff;
    color: #fff !important;
    border-radius: 3px;
    padding: 11px 22px;
    font-weight: 700;
}

.safex-outline-btn:hover {
    background: #fff;
    color: var(--safex-blue) !important;
}

.safex-mega-menu {
    background: var(--safex-dark) !important;
}

.safex-mega-menu .dropdown-column h4 {
    color: #f4b400;
}

.safex-mega-menu .dropdown-column a:hover {
    color: #f4b400;
}

.safex-hero {
    position: relative;
}

.safex-hero .carousel-item {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.safex-hero .carousel-item > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: none;
    transform: none;
}

.safex-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 15, 32, .88) 0%, rgba(3, 15, 32, .66) 48%, rgba(3, 15, 32, .20) 100%);
}

.safex-hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 760px;
    color: #fff;
    z-index: 2;
}

.safex-eyebrow,
.safex-section-tag {
    display: inline-block;
    color: var(--safex-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.safex-eyebrow {
    color: #f4b400;
}

.safex-hero-content h1 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.02;
    margin-bottom: 22px;
}

.safex-hero-content h1 span {
    color: #f4b400;
}

.safex-hero-content p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .88);
}

.safex-hero .carousel-control-prev,
.safex-hero .carousel-control-next {
    width: 55px;
    z-index: 4;
}

.safex-hero .carousel-indicators {
    left: auto;
    right: 30px;
    bottom: 95px;
    width: auto;
    margin: 0;
    z-index: 5;
}

.safex-hero .carousel-indicators button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    margin: 0 5px;
}

.safex-hero .carousel-indicators button.active {
    background: var(--safex-red);
    border-color: var(--safex-red);
}

.safex-hero-trust {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
}

.trust-item {
    background: rgba(7, 24, 47, .93);
    color: #fff;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    font-weight: 600;
}

.trust-item i {
    color: #f4b400;
    font-size: 20px;
}

.safex-section {
    padding: 95px 0;
}

.safex-light-section {
    background: var(--safex-light);
}

.safex-dark-section {
    background: var(--safex-dark);
}

.safex-heading {
    max-width: 720px;
}

.safex-title {
    color: var(--safex-blue);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.safex-title span {
    color: var(--safex-red);
}

.safex-heading>p {
    line-height: 1.8;
}

.safex-section-tag::after {
    content: "";
    display: inline-block;
    width: 38px;
    height: 2px;
    background: var(--safex-red);
    margin-left: 12px;
    vertical-align: middle;
}

.safex-section-tag.light {
    color: #f4b400;
}

.safex-about-image {
    position: relative;
    padding: 0 30px 30px 0;
}

.safex-about-image::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 65%;
    height: 70%;
    border-right: 7px solid var(--safex-red);
    border-bottom: 7px solid var(--safex-red);
    z-index: -1;
}

.safex-about-image img {
    width: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-badge {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background: var(--safex-blue);
    color: #fff;
    padding: 18px 24px;
    border-left: 5px solid var(--safex-red);
}

.about-badge strong,
.about-badge span {
    display: block;
}

.about-badge span {
    font-size: 12px;
    color: #c8d5e8;
    margin-top: 4px;
}

.safex-lead {
    font-size: 18px;
    line-height: 1.8;
}

.safex-feature-mini {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e5ebf3;
    height: 100%;
}

.safex-feature-mini>i {
    color: var(--safex-red);
    font-size: 25px;
}

.safex-feature-mini strong,
.safex-feature-mini small {
    display: block;
}

.safex-feature-mini small {
    color: #75849a;
    margin-top: 3px;
}

.safex-service-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    padding: 35px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: .35s;
}

.safex-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--safex-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: .35s;
}

.safex-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(8, 43, 92, .12);
}

.safex-service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    background: #edf4fc;
    color: var(--safex-blue);
    font-size: 26px;
    margin-bottom: 23px;
}

.safex-service-card:hover .service-icon {
    background: var(--safex-red);
    color: #fff;
}

.safex-service-card h4 {
    color: var(--safex-blue);
    margin-bottom: 13px;
}

.safex-service-card p {
    line-height: 1.75;
    margin-bottom: 18px;
}

.safex-service-card a {
    color: var(--safex-red);
    font-weight: 700;
    text-decoration: none;
}

.safex-service-card a i {
    margin-left: 7px;
}

.safex-service-strip {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--safex-blue);
    color: #fff;
    padding: 20px;
    height: 100%;
}

.safex-service-strip>i {
    color: #f4b400;
    font-size: 27px;
}

.safex-service-strip strong,
.safex-service-strip span {
    display: block;
}

.safex-service-strip span {
    color: #b9c8db;
    font-size: 13px;
    margin-top: 3px;
}

.process-card {
    height: 100%;
    text-align: center;
    padding: 28px 12px;
    border: 1px solid #e2e9f1;
    background: #fff;
    position: relative;
}

.process-card>span {
    position: absolute;
    top: 9px;
    right: 12px;
    color: #c9d5e4;
    font-weight: 800;
}

.process-card i {
    color: var(--safex-red);
    font-size: 28px;
    margin-bottom: 15px;
}

.process-card h5 {
    color: var(--safex-blue);
    text-transform: uppercase;
}

.process-card p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

.why-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 28px;
    height: 100%;
    transition: .3s;
}

.why-card:hover {
    background: rgba(215, 25, 32, .14);
    transform: translateY(-4px);
}

.why-card i {
    color: #f4b400;
    font-size: 27px;
    margin-bottom: 15px;
}

.why-card h5 {
    color: #fff;
}

.why-card p {
    color: #aebed2;
    margin: 0;
    line-height: 1.7;
}

.industry-card {
    background: #fff;
    border: 1px solid #e4ebf3;
    padding: 32px 20px;
    text-align: center;
    transition: .3s;
}

.industry-card:hover {
    border-color: var(--safex-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(8, 43, 92, .10);
}

.industry-card i {
    font-size: 35px;
    color: var(--safex-red);
    margin-bottom: 15px;
}

.industry-card h5 {
    color: var(--safex-blue);
    margin-bottom: 6px;
}

.industry-card span {
    font-size: 12px;
    color: #7b899d;
}

.gallery-card {
    height: 260px;
    overflow: hidden;
    background: #eee;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.safex-quote-section {
    background: linear-gradient(90deg, var(--safex-red-dark), var(--safex-red));
    color: #fff;
    padding: 65px 0;
}

.safex-quote-section h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.safex-quote-section h2 span {
    color: #f4b400;
}

.safex-quote-section p {
    color: rgba(255, 255, 255, .88);
    margin: 0;
}

.safex-white-btn {
    background: #fff;
    color: var(--safex-blue) !important;
    border: 2px solid #fff;
    padding: 13px 23px;
    font-weight: 700;
}

.safex-call-btn {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    padding: 13px 23px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 24px;
}

.contact-item>i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #eaf1f9;
    color: var(--safex-red);
}

.contact-item small,
.contact-item a,
.contact-item span {
    display: block;
}

.contact-item small {
    color: #8794a6;
    margin-bottom: 3px;
}

.contact-item a {
    color: var(--safex-blue);
    font-weight: 600;
    text-decoration: none;
}

.safex-contact-form {
    background: #fff;
    padding: 35px;
    box-shadow: 0 12px 40px rgba(8, 43, 92, .08);
}

.safex-contact-form h4 {
    color: var(--safex-blue);
    margin-bottom: 25px;
}

.safex-contact-form .form-control,
.safex-contact-form .form-select {
    border: 1px solid #dfe7f0;
    border-radius: 2px;
    padding: 13px 15px;
}

.safex-footer {
    background: var(--safex-dark);
    color: #aebed2;
}

.safex-footer-logo {
    color: #fff;
    text-decoration: none;
}

.safex-footer-logo strong {
    display: block;
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
}

.safex-footer-logo b {
    color: var(--safex-red);
}

.safex-footer-logo span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: #d3deeb;
}

.safex-footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.safex-footer a:not(.safex-footer-logo) {
    display: block;
    color: #aebed2;
    text-decoration: none;
    margin-bottom: 9px;
}

.safex-footer a:not(.safex-footer-logo):hover {
    color: #fff;
}

.social-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid !important;
    place-items: center;
    margin: 0 !important;
}

.safex-copyright {
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding: 18px 0;
    font-size: 12px;
}

.safex-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 88px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 27px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .20);
}

.safex-whatsapp:hover {
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 991.98px) {
    .safex-topbar {
        display: none;
    }

    .safex-navbar-wrap .navbar {
        min-height: 72px;
    }

    .safex-navbar-wrap .nav-link {
        padding: 11px 0 !important;
    }

    .safex-navbar-wrap .nav-link.active::after {
        display: none;
    }

    .safex-navbar-wrap .navbar-collapse {
        background: var(--safex-dark);
        padding: 15px 20px 20px;
        margin: 0 -12px;
    }

    .safex-navbar-wrap .navbar-collapse .nav-link {
        color: #fff !important;
    }

    .safex-navbar-wrap .navbar-toggler {
        border-color: #dce5f0;
    }

    .safex-navbar-wrap .navbar-toggler-icon {
        filter: none;
    }

    .safex-hero .carousel-item {
        min-height: 650px;
        height: 650px;
    }

    .safex-hero-content {
        left: 12px;
        right: 12px;
    }

    .safex-hero-content h1 {
        font-size: 52px;
    }

    .safex-hero-trust {
        position: relative;
    }

    .trust-item {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
}

@media (max-width: 575.98px) {
    .safex-logo strong {
        font-size: 23px;
    }

    .safex-logo small {
        font-size: 7px;
    }

    .logo-shield {
        width: 38px;
        height: 45px;
    }

    .safex-hero .carousel-item {
        min-height: 610px;
        height: 610px;
    }

    .safex-hero-content h1 {
        font-size: 40px;
    }

    .safex-hero-content p {
        font-size: 14px;
    }

    .safex-hero .carousel-control-prev,
    .safex-hero .carousel-control-next {
        display: none;
    }

    .safex-section {
        padding: 65px 0;
    }

    .safex-contact-form {
        padding: 22px;
    }

    .safex-call-btn {
        margin-left: 0 !important;
        margin-top: 10px;
    }
}

/* ==========================================
   SAFEX PRO RESPONSIVE NAVBAR
========================================== */

.safex-navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #ffffff !important;
    box-shadow: 0 3px 18px rgba(7, 24, 47, 0.10);
}

.safex-navbar-wrap .navbar {
    min-height: 82px;
    background: #ffffff !important;
    display: flex;
    flex-wrap: wrap;
}

.safex-navbar-wrap .safex-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 0;
    flex-shrink: 0;
    text-decoration: none;
}

.safex-navbar-wrap .safex-logo-text strong {
    display: block;
    color: #082b5c;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;
}

.safex-navbar-wrap .safex-logo-text strong b {
    color: #d71920;
}

.safex-navbar-wrap .safex-logo-text small {
    display: block;
    color: #082b5c;
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-top: 4px;
}

.safex-navbar-wrap .logo-shield {
    width: 43px;
    height: 49px;
    flex-shrink: 0;
}

/* Desktop links */

.safex-navbar-wrap .navbar-nav {
    gap: 2px;
}

.safex-navbar-wrap .navbar-nav .nav-link {
    position: relative;
    display: block;
    padding: 29px 11px !important;
    color: #082b5c !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.safex-navbar-wrap .navbar-nav .nav-link:hover,
.safex-navbar-wrap .navbar-nav .nav-link.active {
    color: #d71920 !important;
}

.safex-navbar-wrap .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 11px;
    right: 11px;
    height: 3px;
    background: #d71920;
}

/* Services link and arrow */

.safex-services-link {
    display: flex;
    align-items: center;
}

.safex-services-link>.nav-link {
    padding-right: 5px !important;
}

.safex-submenu-toggle {
    width: 30px;
    height: 35px;
    border: 0;
    background: transparent;
    color: #082b5c;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.safex-submenu-toggle i {
    font-size: 12px;
    transition: transform .2s ease;
}

.safex-services-item.is-open>.safex-services-link .safex-submenu-toggle i {
    transform: rotate(180deg);
}

/* Desktop mega menu */

@media (min-width: 992px) {

    .safex-navbar-wrap .safex-services-item {
        position: static;
    }

    .safex-navbar-wrap .safex-mega-menu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;

        margin: 0;
        padding: 30px max(24px, calc((100% - 1140px) / 2));

        background: #07182f !important;
        border: 0;
        border-radius: 0;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .18);

        visibility: hidden;
        opacity: 0;
        display: none;
    }

    .safex-navbar-wrap .safex-services-item:hover>.safex-mega-menu,
    .safex-navbar-wrap .safex-services-item:focus-within>.safex-mega-menu,
    .safex-navbar-wrap .safex-services-item.is-open>.safex-mega-menu {
        display: grid;
        visibility: visible;
        opacity: 1;
    }

    .safex-navbar-wrap .dropdown-column {
        min-width: 0;
        padding: 0;
    }

    .safex-navbar-wrap .dropdown-column h4 {
        color: #f4b400;
        font-size: 16px;
        font-weight: 700;
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .safex-navbar-wrap .dropdown-column a {
        display: block;
        padding: 9px 0;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.5;
    }

    .safex-navbar-wrap .dropdown-column a:hover {
        color: #f4b400;
        padding-left: 4px;
    }

    .safex-submenu-toggle {
        width: 20px;
    }
}

/* Quote button */

.safex-navbar-wrap .nav-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 12px 16px;
    margin-left: 8px;
    font-size: 12px;
    text-decoration: none;
}

/* Custom hamburger icon */

.safex-navbar-wrap .navbar-toggler {
    width: 46px;
    height: 42px;
    padding: 9px;
    border: 1px solid #d9e2ef;
    border-radius: 4px;
    box-shadow: none;
}

.safex-navbar-wrap .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(8, 43, 92, .12);
}

.safex-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
}

.safex-toggler-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #082b5c;
    border-radius: 2px;
}

/* Tablet and mobile */

@media (max-width: 991.98px) {

    .safex-navbar-wrap .navbar {
        min-height: 72px;
        padding: 10px 0 !important;
    }

    .safex-navbar-wrap .navbar-brand {
        max-width: calc(100% - 60px);
    }

    .safex-navbar-wrap .safex-logo-text strong {
        font-size: 24px;
    }

    .safex-navbar-wrap .safex-logo-text small {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .safex-navbar-wrap .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        margin-top: 12px;
        padding: 10px 16px 16px;
        background: #07182f;
        border-radius: 4px;

        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .safex-navbar-wrap .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0;
        width: 100%;
    }

    .safex-navbar-wrap .navbar-nav .nav-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .safex-navbar-wrap .navbar-nav .nav-link {
        width: 100%;
        padding: 13px 0 !important;
        color: #ffffff !important;
        font-size: 15px;
        white-space: normal;
    }

    .safex-navbar-wrap .navbar-nav .nav-link:hover,
    .safex-navbar-wrap .navbar-nav .nav-link.active {
        color: #f4b400 !important;
    }

    .safex-navbar-wrap .navbar-nav .nav-link.active::after {
        display: none;
    }

    /* Services row */
    .safex-navbar-wrap .safex-services-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .safex-navbar-wrap .safex-services-link>.nav-link {
        flex: 1;
        min-width: 0;
    }

    .safex-navbar-wrap .safex-submenu-toggle {
        flex: 0 0 44px;
        height: 44px;
        color: #ffffff;
        border-radius: 4px;
    }

    .safex-navbar-wrap .safex-submenu-toggle:hover {
        background: rgba(255, 255, 255, .1);
    }

    /* Submenu hidden until arrow is tapped */
    .safex-navbar-wrap .safex-mega-menu,
    .safex-navbar-wrap .safex-services-item:hover>.safex-mega-menu,
    .safex-navbar-wrap .safex-services-item:focus-within>.safex-mega-menu {
        display: none;
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
        padding: 12px 14px;
        margin: 0 0 12px;
        background: #102644 !important;
        border: 0;
        border-radius: 4px;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .safex-navbar-wrap .safex-services-item.is-open>.safex-mega-menu {
        display: block;
    }

    .safex-navbar-wrap .dropdown-column {
        width: 100%;
        margin-bottom: 18px;
        padding: 0;
    }

    .safex-navbar-wrap .dropdown-column:last-child {
        margin-bottom: 0;
    }

    .safex-navbar-wrap .dropdown-column h4 {
        color: #f4b400;
        font-size: 13px;
        font-weight: 700;
        margin: 0 0 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .safex-navbar-wrap .dropdown-column a {
        display: block;
        padding: 10px 0;
        color: #ffffff;
        font-size: 14px;
        line-height: 1.5;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .safex-navbar-wrap .dropdown-column a:hover {
        color: #f4b400;
    }

    .safex-navbar-wrap .safex-quote-item {
        padding-top: 14px;
        border-bottom: 0;
    }

    .safex-navbar-wrap .nav-quote-btn {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 13px 16px;
    }
}

/* Small phones */

@media (max-width: 575.98px) {

    .safex-navbar-wrap .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .safex-navbar-wrap .navbar {
        min-height: 68px;
    }

    .safex-navbar-wrap .safex-logo {
        gap: 8px;
    }

    .safex-navbar-wrap .logo-shield {
        width: 36px;
        height: 42px;
        font-size: 17px;
    }

    .safex-navbar-wrap .safex-logo-text strong {
        font-size: 21px;
    }

    .safex-navbar-wrap .safex-logo-text small {
        font-size: 7px;
        letter-spacing: .9px;
    }

    .safex-navbar-wrap .navbar-toggler {
        width: 42px;
        height: 40px;
    }

    .safex-navbar-wrap .navbar-collapse {
        max-height: calc(100dvh - 82px);
        padding-left: 13px;
        padding-right: 13px;
    }
}

/* =========================================================
   SAFEX PRO - STABILITY / FLICKER FIX
   Keep this block at the very end of css/style.css
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Prevent sticky navbar repaint/transition flicker */
.safex-navbar-wrap,
.safex-navbar-wrap .navbar,
.safex-navbar-wrap .navbar-collapse,
.safex-navbar-wrap .navbar-nav,
.safex-navbar-wrap .nav-link,
.safex-navbar-wrap .safex-mega-menu {
    animation: none !important;
}

.safex-navbar-wrap,
.safex-navbar-wrap .navbar,
.safex-navbar-wrap .navbar-collapse {
    transition: none !important;
}

.safex-navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 1050;
    width: 100%;
    background: #ffffff !important;
    transform: none !important;
    backface-visibility: hidden;
}

.safex-navbar-wrap .navbar {
    background: #ffffff !important;
}

.safex-navbar-wrap .navbar-collapse.collapsing {
    overflow: hidden;
}

/* Desktop mega menu */
@media (min-width: 992px) {
    .safex-navbar-wrap .navbar-collapse {
        display: flex !important;
        height: auto !important;
        overflow: visible !important;
    }

    .safex-navbar-wrap .safex-services-item {
        position: relative;
    }

    .safex-navbar-wrap .safex-mega-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: min(760px, 90vw);
        margin: 0;
        padding: 24px;
        border: 0;
        border-top: 3px solid #d71920;
        border-radius: 0 0 8px 8px;
        background: #ffffff;
        box-shadow: 0 16px 35px rgba(7, 24, 47, .18);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        z-index: 1100;
    }

    .safex-navbar-wrap .safex-services-item:hover>.safex-mega-menu,
    .safex-navbar-wrap .safex-services-item:focus-within>.safex-mega-menu {
        display: grid;
    }

    .safex-navbar-wrap .safex-submenu-toggle {
        display: none;
    }
}

/* Tablet and mobile navigation */
@media (max-width: 991.98px) {
    .safex-navbar-wrap .navbar {
        flex-wrap: wrap;
    }

    .safex-navbar-wrap .navbar-toggler {
        margin-left: auto;
        border: 1px solid #dce5f0;
        box-shadow: none !important;
    }

    .safex-navbar-wrap .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        background: #07182f;
        padding: 12px 18px 18px;
        margin: 0 -12px;
    }

    .safex-navbar-wrap .navbar-nav {
        align-items: stretch !important;
        gap: 0;
    }

    .safex-navbar-wrap .navbar-nav .nav-link,
    .safex-navbar-wrap .navbar-collapse .nav-link {
        display: block;
        padding: 12px 0 !important;
        color: #ffffff !important;
    }

    .safex-navbar-wrap .navbar-nav .nav-link:hover,
    .safex-navbar-wrap .navbar-nav .nav-link.active {
        color: #f4b400 !important;
    }

    .safex-navbar-wrap .navbar-nav .nav-link::after {
        display: none !important;
    }

    .safex-navbar-wrap .safex-services-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .safex-navbar-wrap .safex-services-link>.nav-link {
        flex: 1;
    }

    .safex-navbar-wrap .safex-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, .25);
        border-radius: 5px;
        background: transparent;
        color: #ffffff;
    }

    .safex-navbar-wrap .safex-submenu-toggle:focus-visible {
        outline: 2px solid #f4b400;
        outline-offset: 2px;
    }

    .safex-navbar-wrap .safex-mega-menu {
        display: none;
        position: static;
        width: 100%;
        margin: 0;
        padding: 10px 14px 14px;
        transform: none;
        border: 0;
        border-left: 2px solid #d71920;
        border-radius: 0;
        background: rgba(255, 255, 255, .06);
        box-shadow: none;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .safex-navbar-wrap .safex-services-item.is-open>.safex-mega-menu {
        display: grid;
    }

    .safex-navbar-wrap .dropdown-column h4 {
        margin: 8px 0;
        color: #f4b400;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .7px;
    }

    .safex-navbar-wrap .dropdown-column a {
        display: block;
        padding: 8px 0;
        color: #ffffff;
        font-size: 14px;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .safex-navbar-wrap .dropdown-column a:hover {
        color: #f4b400;
    }
}

@media (max-width: 575.98px) {
    .safex-navbar-wrap .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .safex-navbar-wrap .navbar {
        min-height: 68px;
    }

    .safex-navbar-wrap .safex-logo {
        gap: 8px;
        max-width: calc(100% - 58px);
    }

    .safex-navbar-wrap .safex-logo-text strong {
        font-size: 21px;
    }

    .safex-navbar-wrap .safex-logo-text small {
        font-size: 7px;
        letter-spacing: .9px;
    }

    .safex-navbar-wrap .logo-shield {
        width: 36px;
        height: 42px;
        font-size: 17px;
    }

    .safex-navbar-wrap .navbar-toggler {
        width: 42px;
        height: 40px;
        padding: 6px;
    }

    .safex-navbar-wrap .navbar-collapse {
        max-height: calc(100vh - 68px);
        padding-right: 13px;
        padding-left: 13px;
    }
}

/* SAFEX PRO - Mobile Services Menu Fix */
@media (max-width: 991.98px) {

    .safex-navbar-wrap .safex-services-item {
        position: relative;
    }

    /* Hide submenu by default */
    .safex-navbar-wrap .safex-services-item > .safex-mega-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px 15px !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: #0d2544 !important;
        box-shadow: none !important;
        border: 0 !important;
        grid-template-columns: 1fr !important;
    }

    /* Show only when Services arrow is clicked */
    .safex-navbar-wrap
    .safex-services-item.is-open > .safex-mega-menu {
        display: block !important;
    }

    .safex-navbar-wrap .safex-mega-menu .dropdown-column {
        margin-bottom: 15px;
        padding: 0;
    }

    .safex-navbar-wrap .safex-mega-menu .dropdown-column:last-child {
        margin-bottom: 0;
    }

    .safex-navbar-wrap .safex-mega-menu .dropdown-column h4 {
        color: #f4b400;
        font-size: 14px;
    }

    .safex-navbar-wrap .safex-mega-menu .dropdown-column a {
        display: block;
        padding: 8px 0;
        color: #fff;
    }
}


body {
    font-family: Arial, sans-serif;
    color: #263448;
    margin: 0
}

:root {
    --navy: #082b5c;
    --dark: #07182f;
    --red: #d71920;
    --gold: #f4b400
}

.safex-header {
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
    box-shadow: 0 3px 12px #07182f0c
}

.safex-nav {
    max-width: 1180px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.safex-brand {
    font-weight: 900;
    font-size: 25px;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.1
}

    .safex-brand b {
        color: var(--red)
    }

    .safex-brand small {
        display: block;
        color: #626d7d;
        font-size: 10px;
        letter-spacing: 2px;
        margin-top: 5px
    }

.safex-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

    .safex-links a {
        font-weight: 700;
        color: var(--dark);
        text-decoration: none
    }

        .safex-links a:hover {
            color: var(--red)
        }

.product-hero {
    padding: 52px 0;
    background: linear-gradient(115deg, var(--dark), var(--navy));
    color: #fff
}

    .product-hero .eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
        color: var(--gold);
        font-weight: bold;
        text-transform: uppercase
    }

    .product-hero h1 {
        font-size: clamp(30px, 4vw, 44px);
        margin: 8px 0
    }

    .product-hero p {
        margin: 0;
        color: #e7edf6
    }

.product-container {
    max-width: 1180px;
    margin: auto;
    padding: 42px 20px 55px
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.product-card {
    border: 1px solid #e4e9f0;
    border-radius: 9px;
    overflow: hidden;
    background: white;
    box-shadow: 0 7px 22px #07182f0d
}

    .product-card img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        display: block;
        background: #edf1f6
    }

.product-card-body {
    padding: 18px
}

.product-card h2 {
    font-size: 21px;
    color: var(--navy);
    margin: 0 0 8px
}

.product-card p {
    color: #5c687a;
    margin: 0 0 16px
}

.safex-btn {
    display: inline-block;
    background: var(--red);
    border: 0;
    border-radius: 5px;
    padding: 10px 16px;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer
}

    .safex-btn:hover {
        background: #b91219
    }

.safex-btn-blue {
    background: var(--navy)
}

.safex-note {
    margin-top: 28px;
    padding: 16px 18px;
    background: #fff8e3;
    border-left: 4px solid var(--gold);
    border-radius: 4px
}

.safex-footer {
    background: var(--dark);
    color: #e1e8f2;
    padding: 22px 0
}

.admin-wrap {
    max-width: 1000px;
    margin: 32px auto;
    padding: 0 18px
}

.admin-panel {
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    box-shadow: 0 8px 25px #07182f0d;
    padding: 24px;
    margin-bottom: 24px
}

    .admin-panel h1,
    .admin-panel h2 {
        color: var(--navy);
        margin-top: 0
    }

.form-field {
    margin-bottom: 15px
}

    .form-field label {
        display: block;
        font-weight: bold;
        margin-bottom: 6px
    }

.form-control-custom {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd4e1;
    border-radius: 5px;
    font: inherit;
    box-sizing: border-box
}

textarea.form-control-custom {
    min-height: 100px;
    resize: vertical
}

.status-msg {
    display: block;
    margin: 12px 0;
    font-weight: bold
}

.error {
    color: #b4232a
}

.success {
    color: #167044
}

.admin-table {
    width: 100%;
    border-collapse: collapse
}

    .admin-table th,
    .admin-table td {
        text-align: left;
        padding: 10px;
        border-bottom: 1px solid #e5eaf1
    }

    .admin-table th {
        color: var(--navy);
        background: #f5f7fb
    }

.login-bg {
    min-height: 65vh;
    background: #f5f7fb;
    display: grid;
    place-items: center;
    padding: 28px 16px
}

.login-card {
    background: #fff;
    width: min(420px, 100%);
    padding: 28px;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    box-shadow: 0 12px 32px #07182f12
}

    .login-card h1 {
        margin-top: 0;
        color: var(--navy)
    }

@media(max-width:850px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .safex-nav {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:580px) {
    .product-grid {
        grid-template-columns: 1fr
    }

    .product-card img {
        height: 220px
    }

    .admin-panel {
        padding: 17px
    }
}


/* Topbar */
.safex-topbar {
    background: #102a43;
    color: #ffffff;
    padding: 10px 0;
    font-size: 13px;
}

    .safex-topbar a {
        color: #ffffff;
        text-decoration: none;
    }

        .safex-topbar a:hover {
            color: #ffb703;
        }

/* Main Header */
.safex-header {
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

.safex-nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.safex-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.safex-logo-img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Navigation */
.safex-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Buttons */
.safex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.safex-btn-primary {
    background: #e63946;
    color: #ffffff;
    border: 1px solid #e63946;
}

    .safex-btn-primary:hover {
        background: #c92532;
        border-color: #c92532;
        color: #ffffff;
    }

.safex-btn-danger {
    background: #102a43;
    color: #ffffff;
    border: 1px solid #102a43;
}

    .safex-btn-danger:hover {
        background: #243f57;
        border-color: #243f57;
        color: #ffffff;
    }

/* Responsive */
@media (max-width: 767px) {
    .safex-nav {
        padding: 15px 0;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .safex-logo-img {
        width: 160px;
    }

    .safex-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .safex-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .safex-topbar .container > .d-flex {
        align-items: flex-start !important;
    }

    .safex-topbar .d-flex.gap-4 {
        gap: 10px !important;
        flex-direction: column;
    }
}