
/*** Spinner Start ***/
/*** 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;
}

* {
    scroll-behavior: auto;
}

html {
    scroll-behavior: auto;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

/* primary and secondary  */
.text-secondary {
    color: #E81C2E !important;
}
.unique{
    color: black;
    /* background: red; */
}
.fa-phone-alt:before {
    content: "\f879";
    color: #000;
}
.text-muted {
    color: #f3f8fc !important;
}


/* end primary secondaaty */
.btn.btn-primary {
    background: #b32b2b !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f48 0%, #1a1a5e 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn.btn-primary:hover::before {
    left: 0;
}

.btn.btn-primary:hover {
    color: #fff !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Let me know if you’d like any adjustments! */

/* Let me know if you’d like any adjustments! */

.custom-btn-2{
    background: #b32b2b;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    min-width: 150px;
    height: 48px;
    line-height: 1;
    gap: 8px;
}

.custom-btn-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f48 0%, #1a1a5e 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.custom-btn-2:hover::before {
    left: 0;
}

.custom-btn-2:hover{
    color: #fff !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}
.bg-secondary {
    background-color: #0f0f48 !important;
}


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid #E81C2E !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}
/* ===== Topbar ===== */

.topbar {
    width: 100%;
    font-size: 14px;
}

/* Left Red Section */
.topbar-left {
    background: #E81C2E;
    color: #fff;
    padding: 10px 20px;
}

/* Right Dark Section */
/* ===== Perfect Topbar ===== */

.topbar-wrapper {
    display: flex;
    width: 100%;
    font-size: 14px;
    line-height: 45px;
}

/* Left Orange */
.topbar-left {
    background:#b32b2b;
    color: #fff;
    padding: 0 25px;
    min-width: 26%;
}

/* Right Dark */
.topbar-right {
    background: #0f0f48;
    color: #fff;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Inner Content */
.topbar-content {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 25px;
}

/* Icons */
.topbar-wrapper i {
    color: #fff;
}

/* Social Icons */
.social-icons a {
    color: #fff;
    margin-left: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #E81C2E;
}

/* Mobile Hide */
@media (max-width: 991px) {
    .topbar-wrapper {
        display: none;
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-primary) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color:#E81C2E !important;
    font-weight: 600;
}

.navbar-light .navbar-brand img {
    max-height: 70px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary) !important;
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
    }

    /*** Premium centered underline ***/
    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #E81C2E 0%, #0f0f48 100%);
        border-radius: 2px;
        transition: all 0.4s ease;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 70%;
    }
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}


/* Main Black Theme */
.about-section h1,
.about-section h5,
.about-section h6 {
    color: #000000 !important;
}

/* Paragraph Text - Soft Dark */
.about-section p {
    color: #444 !important;
}

/* Accent Color (Optional – small red highlight only) */
.about-section .text-warning {
    color: #b32b2b !important; 
}

/* Icons in Black */
.about-section i {
    color: #000 !important;
}
/* about end  */
/*** Navbar End ***/

.three-image-section{
    padding:60px 0;
}

.image-box{
    overflow:hidden;
    border-radius:6px;
}

.image-box img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:0.4s;
}

.image-box img:hover{
    transform:scale(1.05);
}
/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/subheader.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/
@keyframes image-zoom {
    0%  {width: 100%; height: 100%;}
    25% {width: 115%; height: 115%;}
    50% {width: 130%; height: 130%;}
    75% {width: 120%; height: 120%;}
    100% {width: 100%; height: 100%;}
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: image-zoom 10s ease-in-out infinite;
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-primary);
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    border: 8px solid #E81C2E;
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.4));
    background-size: cover;
}

@media (max-width: 768px) {
    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 500px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}
/*** Carousel Hero Header End ***/


/*** Volunteer Start ***/
.volunteer {
    background: rgba(243, 243, 243, 0.1);
}
.volunteer .volunteer-img {
    position: relative;
    overflow: hidden;
}

.volunteer .volunteer-img .volunteer-title {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 10px;
    background: rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: end;
    transition: 0.5s;
}

.volunteer .volunteer-img:hover .volunteer-title {
    background: rgba(0, 0, 0, .5);
}

.volunteer .volunteer-img img {
    transition: 0.5s;
}

.volunteer .volunteer-img:hover img {
    transform: scale(1.2);
}
/*** Volunteer End ***


/* Service Card Styling */
.service-item {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(232, 28, 46, 0.15);
    border-color: #E81C2E;
}

.service-item img {
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
    will-change: transform;
    transform: translateZ(0);
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-text {
    background: #ffffff;
    padding: 20px;
}

.service-text h5 {
    color: #000;
    font-weight: 700;
    font-size: 20px;
}

.service-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Product Card Buttons */
.service-item .btn {
    font-size: 13px;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-item .btn-primary {
    background: #E81C2E !important;
    border: 2px solid #E81C2E !important;
    color: #fff !important;
}

.service-item .btn-primary:hover {
    background: #0f0f48 !important;
    border-color: #0f0f48 !important;
    transform: translateY(0);
}

.service-item .btn-outline-primary {
    border: 2px solid #E81C2E !important;
    color: #E81C2E !important;
    background: transparent !important;
}

.service-item .btn-outline-primary:hover {
    background: #E81C2E !important;
    color: #fff !important;
    transform: translateY(0);
}


.sub-style {
    text-align: center;
    margin-bottom: 20px;
}


/* Let me know if you'd like any tweaks! */

/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px; 
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--bs-secondary) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/


/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}
/*** Country End ***/


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex; 
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}  
/*** training End ***/


/*** Contact Start ***/
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/

.footer {
    /* background: black; */
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('../img/about-banner.webp');
    background-size: cover;
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: #f68a0a;
}

/*** Footer End ***/


/*** Modern Footer Start ***/
.modern-footer {
    background: linear-gradient(135deg, #0a0a2e 0%, #16213e 50%, #0f0f48 100%);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(232, 28, 46, 0.05) 0%, transparent 70%);
    animation: footerGlow 15s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(25%); }
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-widget {
    position: relative;
}

.footer-logo h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #E81C2E 0%, #ff4757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.footer-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E81C2E 0%, #0f0f48 100%);
    border-radius: 2px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #b8c1d9;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E81C2E 0%, #b32b2b 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-icon:hover::before {
    left: 0;
}

.social-icon:hover {
    transform: translateY(-3px);
    border-color: #E81C2E;
    color: #fff;
}

.widget-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #E81C2E 0%, transparent 100%);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #b8c1d9;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    position: absolute;
    left: 0;
    color: #E81C2E;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #E81C2E;
    padding-left: 25px;
}

.footer-links li a:hover::before {
    left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: #b8c1d9;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.footer-contact li i {
    color: #E81C2E;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #b8c1d9;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.footer-bottom .company-name {
    color: #E81C2E;
    font-weight: 600;
}

.footer-bottom .text-danger {
    color: #E81C2E !important;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-bottom .col-md-6 {
        margin-bottom: 10px;
    }
}
/*** Modern Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #070401 !important;
}
/*** copyright end ***/

.bg-primary {
    background-color: #090915 !important;
}




.bg-primary {
    background-color: #E31B23 !important;
}





.blog .blog-item {
    height: 100%;
    background: var(--bs-light);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    background: rgba(232, 28, 46, .3);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    width: 100%;
    height: 100%;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-heading {
    position: relative;
    background: var(--bs-white);
}

.blog .blog-item .blog-heading a.h4 {
    position: relative;
    width: 100%;
    display: inline-flex;
    transition: 0.5s;
    z-index: 2;
}

.blog .blog-item .blog-heading::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    right: 0;
    bottom: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-heading::after {
    width: 100%;
    background: var(--bs-primary);
}

.blog .blog-item:hover .blog-heading a.h4 {
    color: var(--bs-white);
}

.blog .blog-item:hover .blog-heading a.h4:hover {
    color: var(--bs-dark);
}

/* parallel X  */

.contact-form {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px 30px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    border-radius: 0px;
    margin: 0 auto;
}

.contact-form .form-control {
    width: 100%;
    height: 40px;
    background-color: rgba(250, 250, 250, 0.1);
    border-radius: 0px;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.contact-form .form-control:focus {
    outline: none;
    border: none;
    box-shadow: none;
    color: #fff;
    background-color: rgba(250, 250, 250, 0.1);
}

.contact-form .form-control::placeholder {
    color: #fff;
}

.contact-form button {
    margin-top: 10px;
    background-color: #E81C2E;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 12px 20px;
    display: inline-block;
    outline: none;
    box-shadow: none;
    border: none;
    border-radius: 0px;
}

.contact-form button:hover {
    background-color: #b81525;
}

@media (max-width: 767px) {
    .contact-form {
        width: 100%;
        padding: 30px 20px;
    }

    .contact-form .form-control {
        font-size: 12px;
    }

    .contact-form button {
        font-size: 12px;
        padding: 10px 15px;
    }
}

 .banner {
        position: relative;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-size: cover;
    }

    @keyframes attraction-image-zoom {
        0%  { background-size: 100%; }
        25% { background-size: 115%; }
        50% { background-size: 130%; }
        75% { background-size: 120%; }
        100% { background-size: 100%; }
    }

/* End Parallel  */

/* brand logo */
.logo-slider {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .logo-slider img {
    width: 150px; 
    height: auto;
    margin: 0 auto; 
  }
  @media screen and (max-width: 768px) {
    .logo-slider img {
      width: 120px;
      padding: 20px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .logo-slider img {
      width: 168px;
      padding: 15px;

    }
  }
  /* end brand logo */

  /* table data  */
.table-data {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.table-data th {
    background-color: #f5f5f5 ;
    color: black;
    text-align: left;
    padding: 12px 15px;
    font-weight: bold;
    border: 1px solid #ddd;
}

.table-data td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
    color: #000;
}

.unique {
    background-color: #f2f2f2;
    font-weight: bold;
}

.unique-2 {
    /* font-style: italic; */
}

.table-data tr:hover {
    background-color: #f1f1f1;
}

.product-description{
    background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)), url(../img/fastners-back.jpg);
    color: white;
}
/* end table data  */
.header-4{
    color:  #E81C2E;
     font-size: 1.5rem;
    
 }
 .adjust{
    line-height: 27px;
    letter-spacing: 1px;
}
.image-wrapper {
    position: relative;
    border: 4px solid #1a1a1a;
    border-left: 6px solid #E81C2E;
    background: linear-gradient(135deg, #0f0f48 0%, #1a1a2e 100%);
    padding: 15px;
    width: 250px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(232, 28, 46, 0.1);
    transition: all 0.3s ease;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(232, 28, 46, 0.3);
    pointer-events: none;
}

.image-wrapper:hover {
    border-left-width: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(232, 28, 46, 0.2);
    transform: translateX(-3px);
}

.image-wrapper img {
    filter: contrast(1.1) brightness(0.95);
    transition: filter 0.3s ease;
}

.image-wrapper:hover img {
    filter: contrast(1.2) brightness(1);
}


@media (max-width: 768px) {
    .content-section {
        padding: 10px;
    }
    .image-wrapper{
        margin-top: 1px;
    }
}


.custom-btn {
    background: linear-gradient(135deg, #0f0f48 0%, #1a1a5e 100%);
    border: none;
    border-left: 4px solid #E81C2E;
    padding: 15px 20px;
    font-size: 15px;
    color: white !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    z-index: 1;
}

.custom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E81C2E 0%, #b32b2b 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.custom-btn:hover::before {
    left: 0;
}

.custom-btn i {
    transition: transform 0.3s ease;
    margin-right: 15px;
    font-size: 12px;
}

.custom-btn:hover {
    border-left-width: 6px;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(232, 28, 46, 0.3);
}

.custom-btn:hover i {
    transform: translateX(5px);
}

.custom-btn.active {
    background: linear-gradient(135deg, #E81C2E 0%, #b32b2b 100%);
    border-left-width: 6px;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(232, 28, 46, 0.3);
}

.custom-btn.active::before {
    left: 0;
}

.calc-btn{
    border: 1px solid #E81C2E;
    margin: 10px ;
    color: #E81C2E;
    background-color: #0f0f48;
    margin-left: 100px;
}
/* GALLATY  */
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(2, 2, 2, 0.3);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}
/* END GALLARY */
@media screen and (max-width: 600px) {
    .hide-on-mobile {
      display: none;
    }
  }



  /* subscribe  */
  
/*** Subscribe Start ***/
.parallel-window {
    background: linear-gradient(rgb(0,0,0,0.3), rgb(0 0 0 / 60%)), url(../img/bg-3.webp);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallel-window .subscribe-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-white);
}

.parallel-window .subscribe-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}

.parallel-window .subscribe-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

/*** Subscribe End ***/

  /* end subscribe  */
/* Transparent Outline Button */
.btn-outline-custom {
    background: transparent !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    vertical-align: middle;
    min-width: 150px;
    height: 48px;
    line-height: 1;
}

.btn-outline-custom:hover {
    background: #E81C2E !important;
    color: #fff !important;
    border: 2px solid #E81C2E !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}


/* Premium Antique Text Animation */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(-90deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}

.carousel-header h1 {
    animation: textReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.carousel-header .carousel-item:nth-child(2) h1 {
    animation-delay: 0.2s;
}


/* Product Card Button Styles */
.btn-outline-primary {
    border: 2px solid #E81C2E !important;
    color: #E81C2E !important;
    background: transparent !important;
    transition: 0.3s ease;
}

.btn-outline-primary:hover {
    background: #E81C2E !important;
    color: #fff !important;
    transform: translateY(-2px);
}


/* Why Choose Us Section */
.why-choose-card {
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(232, 28, 46, 0.2) !important;
}

.why-choose-card .bg-light {
    transition: all 0.3s ease;
}

.why-choose-card:hover .bg-light {
    background: linear-gradient(135deg, #E81C2E 0%, #0f0f48 100%) !important;
}

.why-choose-card:hover .text-primary {
    color: #fff !important;
}


/* Modern Contact Page Styles */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border: 4px solid #1a1a1a;
    border-left: 6px solid #E81C2E;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group-modern {
    position: relative;
    margin-bottom: 20px;
}

.form-control-modern {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e0e0e0;
    border-left: 4px solid #E81C2E;
    background: #f8f9fa;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-modern:focus {
    border-color: #E81C2E;
    border-left-width: 6px;
    background: #fff;
    box-shadow: 0 0 15px rgba(232, 28, 46, 0.1);
}

.form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #E81C2E;
    font-size: 16px;
    pointer-events: none;
}

textarea.form-control-modern {
    resize: vertical;
    padding-top: 15px;
}

textarea.form-control-modern + .form-icon {
    top: 20px;
    transform: none;
}

.btn-submit-modern {
    background: linear-gradient(135deg, #E81C2E 0%, #b32b2b 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #b32b2b;
}

.btn-submit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f48 0%, #1a1a5e 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-submit-modern:hover::before {
    left: 0;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 28, 46, 0.4);
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: linear-gradient(135deg, #0f0f48 0%, #1a1a2e 100%);
    border: 4px solid #1a1a1a;
    border-left: 6px solid #E81C2E;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-card:hover {
    transform: translateX(-5px);
    border-left-width: 8px;
    box-shadow: 0 8px 25px rgba(232, 28, 46, 0.3);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(232, 28, 46, 0.1);
    border: 2px solid #E81C2E;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: #E81C2E;
    transform: scale(1.1);
}

.info-icon i {
    font-size: 24px;
    color: #E81C2E;
    transition: color 0.3s ease;
}

.info-card:hover .info-icon i {
    color: #fff;
}

.info-content h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    color: #b8c1d9;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

.info-content a {
    color: #b8c1d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #E81C2E;
}

/* Map Wrapper */
.map-wrapper-modern {
    border: 4px solid #1a1a1a;
    border-left: 6px solid #E81C2E;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-wrapper-modern iframe {
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-wrapper-modern:hover iframe {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
}
