@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&family=Onest:wght@100..900&display=swap');

:root {
    --primary-color: #178FEB;
    --secondary-color: #950606;
    --third-color: #005049;
    --red-color: #ff0000;
    --yellow-color: #FCBF2E;
    --dark-color: #200055;
    --white-color: #FFFFFF;
    --text-color: #4D4D4D;
    --text-color-2: #7B7B7B;
    --my-font: "Gabarito", serif;
    --my-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.1)
}

*,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 100%;
    margin: 0;
    padding: 0;
    font-family: "Onest", sans-serif;
    letter-spacing: 0.25px;
    color: #121212;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul {
    margin-bottom: 0;
}

ul {
    list-style: none;
}

.pointer {
    cursor: pointer;
}

.primary-color {
    color: var(--primary-color) !important;
}

.red-color {
    color: var(--red-color) !important;
}

.my-font {
    font-family: var(--my-font);
}


.section-padding {
    padding: 50px 0;
}

.slick-prev {
    left: -40px;
}

.slick-next {
    right: -40px;
}

.grey-text {
    color: var(--text-color) !important;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3.5rem;
    position: relative;
    color: var(--primary-color);
    text-align: center;

    &::after {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background-color: var(--red-color);
    }
}

/* From Uiverse.io by cssbuttons-io */
.button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--white-color);
    background-color: var(--primary-color);
    z-index: 1;
}

.button:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.button:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: var(--red-color);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.button:hover {
    color: #ffffff;
    border: 1px solid var(--red-color);
}

.button:hover:before {
    top: -35%;
    background-color: var(--red-color);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.button:hover:after {
    top: -45%;
    background-color: var(--red-color);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}


/* Navbar */
.navbar {
    border-bottom: 1px solid #e2e2e2;
    padding: 0.75rem 0;
}



.navbar-brand img {
    height: 50px;
}


.navbar.scroll-on {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    transition: all ease-in-out 0.2s;
    box-shadow: 0 -2px 20px 5px #0000000f;
    animation: fadeInDown 0.5s ease-in-out;
}

@keyframes fadeInDown {
    0% {
        top: -30%;
    }

    50% {
        top: -15%;
    }

    100% {
        top: 0;
    }
}


.navbar h5 {
    font-size: 1.075rem;
    font-weight: 500;
    margin-top: 0.125rem;
}



.banner {
    /* height: 90vh; */
    width: 100%;
    padding-top: 3rem;
    background: url('../images/banner/banner-bg.webp') no-repeat center;
    background-size: cover;
}

.banner h1 {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: var(--my-font);
}

/* .story p {
    font-size: 1.05rem;
    line-height: 1.75rem;
} */


.bg-red {
    background-color: rgb(255, 247, 247);
}


/* ================================ 
About us section 
=================================== */
#card-1 {
    --index: 1;
}

#card-2 {
    --index: 2;
}

#card-3 {
    --index: 3;
}

#card-4 {
    --index: 4;
}

.main-about .card {
    position: sticky;
    top: 15%;
    padding-top: calc(var(--index) * var(--card-top-offset));
}

.main-about .card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--red-color);
}

.main-about .card-content {
    /* background: #fff5ef; */
    color: #131212;
    overflow: hidden;
    padding: 40px;
    min-height: 412px;
}


.main-about .card-content>.my-img-contain {
    grid-area: img;
    overflow: hidden;
}

.main-about .card-content>.my-img-contain>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .4em;
}

.main-about li:nth-child(1) .card-content {
    background: linear-gradient(135deg, #d6ddf7, #eaedf9);
}

.main-about li:nth-child(2) .card-content {
    background: linear-gradient(135deg, #feffe2, #ffeee4);
}

.main-about li:nth-child(3) .card-content {
    background: linear-gradient(135deg, #fff0fb, #ffc9f3);
}

.service {
    background-color: #f8f9fa;
}

.service .card {
    padding: 30px;
    border: 1px solid #e2e2e2;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;

    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);

        h5 {
            color: var(--red-color);
        }
    }
}

.service .card-body {
    padding: 0;
}

.service .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease-in-out;
}

.service .card-text {
    color: #4b4b4b;
}


.marquee-wrapper {
    overflow: hidden;
    background: #f8f9fa;
    padding: 1rem 0;
}

.logo-marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 20s linear infinite;
}

.logo-marquee-inner {
    display: flex;
    gap: 3rem;
}

.logo-marquee img {
    height: 5rem;
    object-fit: contain;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}


.contact .inner-contain {
    padding: 30px;
    background-color: #c5dbec;
}

footer {
    background-color: #000000;
    color: var(--white-color);
    padding: 1rem 0;
}

.galleryBox {
    aspect-ratio: 1 / 1;
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0.5rem;
}

.galleryBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body i {
        font-size: 32px;
        margin-bottom: 8px;
        display: inline-block;
        color: var(--red-color); 
    }
/* ====================================== */
/* RESPONSIVE PANEL */
/* ========================================================= */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 40px;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .navbar h5 {
        font-size: 0.9rem;
    }

    .banner {
        height: auto;
    }

    .main-about .card-content {
        padding: 20px;
    }

    .main-about .card h2 {
        font-size: 1.75rem;
    }

    .main-about .card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 991px) {
    body{
        font-size: 80%;
    }
    .navbar h5{
        font-size: 13px;
    }
}