/* google fonts */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Varialbes */
:root {
    --dark-color: #000000;
    --white-color: #ffffff;
    --color-primary: #06175B;
    --color-secondary: #ab2205;
    /* --color-tertiary: #F63837; */
    --body-color: #EDF3F7;
    --grey-bg: #ECF2FB;
    --primary-font: "Oswald", sans-serif;
    --secondary-font: "Raleway", sans-serif;
}

body {
    font-family: "Oswald", sans-serif;
    font-family: "Raleway", 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(--color-primary);
    font-size: 18px !important;
    /* line-height: 21px; */
    font-weight: 400;
    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(--dark-color);
    font-size: 18px;
    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 {
    display: inline-block;
    background-color: var(--color-secondary);
    /* Custom orange */
    color: var(--white-color) !important;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    font-family: var(--secondary-font) !important;
    /* letter-spacing: 1px; */
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: var(--dark-color);
    /* Slightly darker orange on hover */
    /* color: #fff !important; */
    text-decoration: none;
}

.custom-btn:hover a {
    color: var(--white-color) !important;
}

.fill-btn1 {
    display: inline-block;
    background-color: var(--white-color);
    /* Custom orange */
    color: var(--color-secondary) !important;
    font-weight: 500;
    text-transform: uppercase;
    padding: 5px 15px;
    border: none;
    border-radius: 0;
    font-family: var(--secondary-font) !important;
    /* letter-spacing: 1px; */
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.fill-btn1:hover {
    /* background-color: var(--dark-color); */
    scale: 1.3;
    /* Slightly darker orange on hover */
    /* color: #fff !important; */
    text-decoration: none;
}

.custom-btn1:hover a {
    color: var(--white-color) !important;
}


.fill-btn {
    position: relative;
    display: inline-block;
    padding: 10px 24px;
    color: var(--color-secondary);
    border: 3px solid var(--color-secondary);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}

.fill-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    color: var(--white-color) !important;
    transition: left 0.3s ease;
    z-index: -1;
}

.fill-btn:hover::before {
    left: 0;
}

.fill-btn:hover {
    color: var(--white-color) !important;
}

/* default code ends here */

/* topbar section */

.top-bar-orange {
    background-color: var(--color-secondary);
}

.top-icon1 {
    color: var(--color-secondary);
    font-size: 18px;
}

.top-icon {
    color: var(--color-secondary);
    font-size: 15px;
    border: 2px solid #fff;
    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: 370px;
    transition: all 0.3s ease;
}

.nav-link {
    font-size: 15px !important;
    font-family: var(--seconadary-font) !important;
    text-transform: uppercase;
    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(--bs-dropdown-link-hover-color);
    background-color: var(--color-secondary) !important;
}

.dropdown-menu li>a {
    padding: 10px 20px !important;
}

.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: var(--white-color);
    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: 320px;
}

@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: 50% !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;
}

.banner-text p {
    font-size: 18px !important;
    /* font-weight: 500 !important; */
}

.banner-overlay {
    position: relative;
}

.banner-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    /* overlay darkness */
    z-index: 1;
}

.banner-overlay img {
    position: relative;
    z-index: 0;
}

.carousel-caption {
    z-index: 2;
}

.iso {
    font-family: var(--primary-font) !important;
    font-size: 30px !important;
    font-weight: 800 I !important;
}

/* about */

.product-bg .overlay {
    background-color: rgb(0 0 0 / 0.5);
    /* Semi-transparent dark overlay */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* service */

.service-icon i {
    color: var(--color-secondary);
    font-size: 30px;
}

.service-box {
    /* padding: 25px; */
    border: 1px solid #e6e6e6;
    background: #fff;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effect */
.service-box:hover {
    border: 3px solid var(--color-secondary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Optional: icon color change on hover */
.service-box:hover h5 i {
    color: #ff4d00;
}

/* counter */

.counter-section {
    background-color: #121212;
    color: #fff;
    text-align: center;
    background-image: url('../img/home/counter-bg.webp');
    /* change to your image path */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-section .overlay {
    background-color: rgba(0, 0, 0, 0.75);
    /* Semi-transparent dark overlay */
    width: 100%;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.counter {
    display: inline-block;
    font-family: var(--primary-font);
}

.counter-img {
    height: auto;
    width: 40px !important;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(17deg) brightness(108%) contrast(102%);
}

.stat-box p {
    font-size: 20px !important;
}

.stat-box h2 {
    font-size: 40px !important;
}

.border-r3 {
    border-right: 3px solid var(--color-secondary);
}

/* industries we serce section */

.product-img {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
}

/* Image */
.product-img img {
    width: 100%;
    display: block;
}

/* Dark overlay (default) */
.product-img::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    transition: background 0.3s ease;
}

/* Darker overlay on hover */
.product-img:hover::after {
    background: rgba(0, 0, 0, 0.65);
}

/* Static bottom text */
.product-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 15px;
    background: rgb(0 0 0 / 77%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    z-index: 2;
    text-align: center;
}

.footer-section {
    /* background: linear-gradient(167deg, #59697b, #050f3b); */
    font-size: 14px;

    background-color: #121212;
    color: #fff;
    /* text-align: center; */
    background-image: url('../img/home/fotter-bg.webp');
    /* change to your image path */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.footer-section .overlay {
    background-color: rgba(16 16 16 / 92%);
    /* Semi-transparent dark overlay */
    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-social {
    opacity: 0.4;
}

.footer-social:hover {
    opacity: 1;
}

.footer-title {
    font-weight: 600;
    text-align: start !important;
    /* letter-spacing: 1px; */
}

.footer-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-list a:hover {
    color: var(--color-secondary) !important;
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 8px;
    color: #ffffff;
}

/* scroll-up button */

#scrollUpBtn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    height: 35px;
    width: 35px;
    padding: 10px;
    border-radius: 3px;
    border: none;
    z-index: 999;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-self: center;

}

/* scrollup-btn */

#scrollUpBtn i {
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-self: center;
}

/* scrollup-btn ends here */

.custom-carousel-control {
    width: 48px;
    height: 48px;
    top: 80%;
    transform: translateY(-50%);
    opacity: 1;
}

.custom-carousel-control span {
    background-size: 60% 60%;
    /* background-color: rgba(0, 0, 0, 0.55); */
    border-radius: 0%;
    width: 100%;
    height: 100%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: inline-block;
    width: 55px !important;
    height: 55px !important;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 61% !important;
}

.carousel-control-prev.custom-carousel-control {
    left: 89%;
}

.carousel-control-next.custom-carousel-control {
    right: 3.5%;
}

.custom-carousel-control:hover span {
    background-color: #000;
}

/* about page */

.infrastructure-box {
    border-left: 4px solid var(--color-secondary);
}


/* product page */

.product-banner {
    background-image: url('../img/home/product-banner-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; */
}

.product-banner .overlay {
    background-color: rgba(0, 0, 0, 60%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* raw material page */

.raw-material-banner {
    background-image: url('../img/home/raw-mateial-banner-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; */
}

.raw-material-banner .overlay {
    background-color: rgba(0, 0, 0, 60%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* raw materials */

.material-banner {
    background-image: url('../img/home/product-banner-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; */
}

.material-banner .overlay {
    background-color: rgba(0, 0, 0, 60%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.raw-list i {
    color: var(--color-secondary);
    padding-top: 3px;
}

.raw-list li {
    display: flex !important;
}

/*  */

.material-btn {
    transition: all 0.3s ease;
}

.material-btn.active {
    background-color: var(--color-secondary);
    color: #fff;
    border-left: 4px solid #000;
}

.animate-card {
    animation: slideFade 0.4s ease;
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth horizontal scroll on mobile */
.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: var(--color-secondary);
    color: var(--white-color);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-body {
    padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
    background: #ab220517;
}

/*  */

/* contact page */

.contact-info-item {
    background-color: #ab220529 !important;
}

#refreshCaptcha {
    background-color: var(--color-secondary);
    color: var(--white-color);
}

#refreshCaptcha:hover {
    background-color: var(--dark-color);
    color: var(--white-color);
    transition: 0.3s ease-in;
}


@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;
    }

    .center-sm {
        text-align: center;
    }

    .navbar-brand img {
        height: auto;
        width: 230px;
    }

    .header-fixed .logo-img {
        width: 210px;
    }

    .overlay h1 {
        /* padding-top: 90px !important; */
    }

    .carousel-item img {
        height: 275px !important;
        width: max-content !important;
        /* object-fit: cover !important; */
    }

    .carousel-caption {
        position: absolute !important;
        right: 8% !important;
        bottom: 50px !important;
        left: 5% !important;
        padding-top: 0.25rem !important;
    }

    .banner-text h2 {
        /* font-family: var(--primary-font); */
        font-size: 22px !important;
        font-weight: 400 !important;
        letter-spacing: 1px;
    }

    .image-overlay img {
        width: auto;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .sub-heading {
        text-align: center;
        font-size: 16px !important;
    }

    .heading-box h1 {
        font-size: 30px;
        line-height: 30px;
    }

    .align-btn {
        text-align: center !important;
    }

    .border-r3 {
        border-right: none;
    }

    .counter-img {
        height: auto;
        width: 30px !important;
    }

    .stat-box .counter {
        font-size: 25px !important;
        font-weight: 700;
    }

    .stat-box p {
        font-size: 20px !important;
    }

    .product-name {
        font-size: 17px;
    }

    .dropdown-menu {
        min-width: 280px;
    }

    .dropdown-item {
        white-space: normal !important;
        word-break: break-word;
        line-height: 1.4;
        padding: 10px 15px;
    }

    .product-bg .counter {
        font-size: 25px;
    }

    .product-bg p {
        font-size: 16px;
    }

    .heading-box {
        text-align: justify;
    }

    .carousel-control-prev.custom-carousel-control {
        left: 70%;
        z-index: 3;
    }

    .carousel-control-next.custom-carousel-control {
        right: 10px;
        z-index: 3;
    }

    .fill-btn {
        padding: 5px 15px !important;
        font-size: 13px;
        align-items: center;
    }

    .iso {
        font-family: var(--primary-font) !important;
        font-size: 20px !important;
        font-weight: 800 I !important;
    }
}

@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;
    }

    .carousel-control-prev.custom-carousel-control {
        left: 87%;
    }

    .carousel-control-next.custom-carousel-control {
        right: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .carousel-control-prev.custom-carousel-control {
        left: 87% !important;
    }

    .carousel-control-next.custom-carousel-control {
        right: 10px !important;
    }

    .carousel-caption {
        position: absolute !important;
        right: 50% !important;
        bottom: 1.5rem !important;
        left: 10% !important;
    }
}