/* google fonts */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Varialbes */
:root {
    --dark-color: #000000;
    --white-color: #ffffff;
    --color-primary: #06175B;
    --color-secondary: #ce0202;
    --body-color: #EDF3F7;
    --grey-bg: #ECF2FB;
    --primary-font: "Inter", sans-serif;
    --secondary-font: "Poppins", sans-serif;
}

body {
    font-family: "Inter", sans-serif;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-optical-sizing: auto;
    background-color: var(--white-color) !important;
}

a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 46px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 46px;
}

h5 {
    font-size: 26px;
}

h6 {
    font-size: 16px;
}

.sub-heading {
    font-family: var(--primary-font);
    color: var(--color-secondary) !important;
    /* color: #CBA266 !important; */
    font-size: 16px !important;
    /* line-height: 0px; */
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    /* letter-spacing: 0.6px; */
    opacity: 1;
}

.sub-heading1 {
    font-family: var(--primary-font);
    color: var(--dark-color);
    font-size: 18px !important;
    /* line-height: 21px; */
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    /* letter-spacing: 0.6px; */
    opacity: 1;
}

.heading-font {
    font-family: var(--seconadary-font);
    color: var(--dark-color);
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
    /* letter-spacing: -1px; */
    /* line-height: 1.1; */
}

.secondary-heading {
    font-family: var(--seconadary-font);
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 600;
}

.light-color-para {
    font-family: var(--secondary-font);
    color: var(--dark-color) !important;
    font-size: 17px;
}

.regular-text {
    font-family: var(--secondary-font);
    color: var(--dark-color);
    font-size: 16px;
}

.grey-bg {
    background-color: var(--grey-bg);
}

.custom-btn {
    position: relative;
    display: inline-block;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-transform: capitalize;
    color: var(--white-color) !important;
    background: #9a0c0c;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* subtle shine layer */
.custom-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(106, 27, 154, 0.35);
}

.custom-btn:hover::after {
    left: 120%;
}

/* default code ends here */

/* topbar section */

.topbar-section {
    background-color: #a523152b;
}

.top-icon1 {
    color: var(--color-secondary);
    font-size: 18px;
}

.top-icon {
    color: var(--color-secondary);
    font-size: 15px;
    border: 2px solid #9a0c0c;
    height: 30px;
    border-radius: 50%;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.top-icon:hover {
    color: var(--white-color);
    background-color: var(--color-secondary);
    border: var(--color-secondary);
}

/* navbar */

.bg-light {
    background: var(--white-color);
}

.navbar-brand img {
    width: 430px;
    transition: all 0.3s ease;
}

.nav-link {
    font-size: 16px !important;
    font-family: var(--seconadary-font) !important;
    text-transform: capitalize;
    font-weight: 500;
    text-decoration: none;
    /* letter-spacing: 1px !important; */
    color: var(--dark-color);
}

.nav-item .active {
    font-weight: 700 !important;
    color: var(--color-secondary) !important;
    /* text-decoration: underline !important; */
}

@media (min-width: 992px) {
    .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-item:hover {
    color: var(--white-color) !important;
    background-color: var(--color-secondary) !important;
}

.dropdown-menu {
    background-color: #DEDEDE;
}

.dropdown-menu li>a {
    padding: 10px 20px !important;
}

section[id] {
    scroll-margin-top: 120px;
}

.header-wrapper {
    position: relative;
    width: 100%;
    z-index: 1050;
    background: #ffffff00;
    transition: all 0.3s ease;
}

/* FIXED HEADER */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.35s ease;
    background-color: #ebe1ea !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* TOPBAR */
.hide-topbar {
    display: none !important;
}

/* LOGO */
.logo-img {
    width: 220px;
    transition: all 0.3s ease;
}

.header-fixed .logo-img {
    width: 350px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1040;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }
}

/* banner */

.carousel-caption {
    bottom: 20% !important;
}

.carousel-caption {
    position: absolute !important;
    right: 45% !important;
    bottom: 7.5rem !important;
    left: 10% !important;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    /* text-align: center; */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px 20px;
    transition: all 0.3s ease;
}

.banner-text h2 {
    font-family: var(--primary-font);
    font-size: 40px !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    /* color: var(--dark-color); */
}

.banner-text p {
    /* font-size: 18px !important; */
    color: var(--dark-color);
    /* font-weight: 500 !important; */
}

.banner-overlay {
    position: relative;
}

.banner-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.753), rgba(238, 53, 24, 0.501));
    /* background: linear-gradient(45deg, rgba(255, 255, 255, 0.401), rgba(218, 161, 234, 0.845)); */
    z-index: 1;
}

.banner-overlay img {
    position: relative;
    z-index: 0;
}

.carousel-caption {
    z-index: 2;
}

/* service section */

.service-box {
    background: #fff;
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s ease;
}

.service-box:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px 15px 10px 15px;
}

.service-content h3 {
    color: var(--color-secondary);
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-icon {
    top: -18%;
    left: 80%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fcfbac, #ce0202);
    color: #fff !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 8px; */
}

.product-bg .overlay {
    background-color: rgb(0 0 0 / 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* material capabilities section */

.badge {
    background-color: var(--color-secondary);
}

.material-card {
    display: flex;
    gap: 10px;
    background: var(--grey-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
}

.material-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    .material-card {
        flex-direction: column;
    }
}

/* counter */

.counter-bg {
    background: linear-gradient(87deg, #000000, #650000);
}

.counter {
    display: inline-block;
    font-family: var(--primary-font);
}

.stat-box i {
    font-size: 30px;
}

.stat-box h2 {
    font-size: 30px !important;
}

@media (min-width: 992px) {
    .counter-img {
        height: 420px;
    }
}

/* footer section */

.footer-section {
    /* background: linear-gradient(167deg, #59697b, #050f3b); */
    font-size: 14px;
    background-color: #0A4972;
    color: #fff;
    /* text-align: center; */
    /* background-image: url('../img/home/footer-bg.webp') ; */
    /* change to your image path */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.footer-section .overlay {
    /* background-color: #074678; */
    /* Semi-transparent dark overlay */
    /* background: linear-gradient(167deg, #f8e79ea1, #ff0000a6); */
    /* background-image: url('../img/home/footer-bg.webp'); */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* text-align: center; */
    color: white;
    padding: 50px 1px 10px 1px;
}

.footer-title {
    font-weight: 600;
    text-align: start !important;
    /* letter-spacing: 1px; */
}

.footer-list li {
    margin-bottom: 10px;
    font-size: 16px;
    /* color: var(--white-color); */
}

.footer-list a:hover {
    color: var(--color-secondary) !important;
    font-weight: 500;
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 8px;
    color: #ffffff;
}

/* scroll-up button */

#scrollUpBtn {
    position: fixed;
    bottom: 40px;
    right: 20px;
    height: 35px;
    width: 35px;
    padding: 10px;
    border-radius: 50%;
    border: none;
    z-index: 999;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-self: center;

}

#scrollUpBtn i {
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-self: center;
}

/* scrollup-btn ends here */

/* Slide Right Animation */
.slide-right.active {
    animation: slideRight 0.5s ease-out forwards;
}

@keyframes slideRight {
    from {
        transform: translateX(-100px);
    }

    to {
        transform: translateX(0);
    }
}

/* Slide Left Animation */
.slide-left.active {
    animation: slideLeft 0.5s ease-out forwards;
}

@keyframes slideLeft {
    from {
        transform: translateX(100px);
    }

    to {
        transform: translateX(0);
    }
}

/* Slide up Animation */
.slide-up.active {
    animation: slideup 0.5s ease-out forwards;
}

@keyframes slideup {
    from {
        transform: translateY(100px);
    }

    to {
        transform: translateX(0);
    }
}

/* Slide up Animation */
.slide-down.active {
    animation: slidedown 1s ease-out forwards;
}

@keyframes slidedown {
    from {
        transform: translateY(-100px);
    }

    to {
        transform: translateX(0);
    }
}

/* product page */

.about-banner {
    background-image: url('../img/home/about-baner-01.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 30vh;
    /* Adjust the height as needed */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay h1 {
    font-family: var(--primary-font);
    /* padding-top: 130px !important; */
}

.about-banner .overlay {
    background-color: rgba(0, 0, 0, 65%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.year {
    background-color: var(--color-secondary);
}

/* service page  */

.service-banner {
    background-image: url('../img/home/service-baner-01.webp');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    height: 30vh;
    /* Adjust the height as needed */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-banner .overlay {
    background-color: rgba(0, 0, 0, 65%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.service-sec-image {
    height: 200px;
    object-fit: cover;
}

.gallery-item img {
    width: 300px;
    height: auto;
}


/* contact page  */

.contact-banner {
    background-image: url('../img/home/contact-banner.webp');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    height: 30vh;
    /* Adjust the height as needed */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner .overlay {
    background-color: rgba(0, 0, 0, 65%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.contact-box1 {
    /* background: #f3f3f3; */
    /* padding: 40px 20px; */
    border-bottom: 4px solid var(--color-secondary) !important;
}


@media only screen and (max-width: 768px) {

    .sub-heading {
        font-size: 18px;
        /* line-height: 15px; */
        margin-bottom: 2px;
    }

    .container {
        padding: 0px 20px !important;
    }

    .navbar .container {
        padding: 0px 10px !important;
    }

    .heading-font {
        font-size: 20px;
        text-align: center;
        font-weight: 600;
    }

    .secondary-heading {
        text-align: center;
        font-size: 14px;
    }

    .regular-text {
        text-align: justify;
    }

    .navbar-brand img {
        height: auto;
        width: 250px;
    }

    .header-fixed .logo-img {
        width: 210px;
    }

    .carousel-item img {
        height: 275px !important;
        width: max-content !important;
        /* object-fit: cover !important; */
    }

    .carousel-caption {
        position: absolute !important;
        right: 5% !important;
        bottom: 50px !important;
        left: 5% !important;
        padding-top: 0.25rem !important;
    }

    .banner-text h2 {
        /* font-family: var(--primary-font); */
        font-size: 20px !important;
        font-weight: 400 !important;
        letter-spacing: 1px;
    }

    .sub-heading {
        text-align: center;
        font-size: 16px !important;
    }

    .heading-box h1 {
        font-size: 30px;
        line-height: 30px;
    }

    .align-btn {
        text-align: center !important;
    }

    .custom-carousel-control {
        width: 40px;
        height: 40px;
    }

    .service-img img {
        height: 180px;
    }

    .service-icon {
        top: -14%;
        left: 80%;
    }

    .service-sec-image {
        height: 130px !important;
        object-fit: cover !important;
    }

    .gallery-item img {
        width: 300px;
        height: auto;
    }

    .center-sm{
        text-align: center;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
    }

    .carousel-caption {
        position: absolute !important;
        right: 25% !important;
        bottom: 35px !important;
        left: 10% !important;
        padding-top: 0.25rem !important;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .carousel-caption {
        position: absolute !important;
        right: 50% !important;
        bottom: 1.5rem !important;
        left: 10% !important;
    }
}