@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Mulish', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BANNER */
.banner-img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* MASONRY */
.col-md-3 img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 2px;
}

.owl-dots {
    position: absolute;
    width: 100%;
    bottom: 10px;
}

.owl-dots span {
    width: 30px !important;
    height: 7px !important;
    background-color: aqua;
    display: block;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    transition: opacity 200ms ease !important;
    border-radius: 30px !important;
}


/* ABOUT-US */
.about-us p {
    width: 50%;
}


/* SOLUTIONS */
.solution-container {
    max-width: 1050px;
}

.solutions-card {
    width: 204px;
    height: 198px;
    border-radius: 20px;
    box-shadow: 0px 10px 20px 0px #0000001A !important;
    background: #FFFFFF;
    border: 1px solid #531d1d;
}

.solution-banner-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.appointment-btn {
    background-color: #952426;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
}

/* CONSULTANCY */
.consultancy-name {
    font-size: 18px;
    font-weight: 500;
    color: #1EA59A;
}


/* SERVICES */
.services-section {
    background-color: #1EA59AF2;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two equal columns */
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background-color: #E9E9E9;
    width: 350px;
    height: 250px;
    box-shadow: 12px 30px 10px 0px #0000001A;
    padding: 10px;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 40px;
}

.service-card:nth-child(1) {
    transform: rotate(-9deg);
}

.service-card:nth-child(2) {
    transform: rotate(4deg);
}

.service-card:nth-child(3) {
    transform: rotate(-2deg);
}

.service-card:nth-child(4) {
    transform: rotate(-3deg);
}

.service-card:nth-child(5) {
    transform: rotate(-7deg);
}

.service-card:nth-child(6) {
    transform: rotate(5deg);
}

.service-card img.icon {
    position: absolute;
    top: 20px;
    right: 50px;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.service-card h5 {
    font-weight: 500;
    margin: 0;
    font-size: 1.8rem;
    position: absolute;
    bottom: 20px;
    left: 50px;
}

.service-card .clip {
    position: absolute;
    top: -25px;
    left: -20px;
    width: 120px;
    height: 120px;
}

.service-card.red h5 {
    color: #b30000;
}


/* WE-SOLVED */
.we-solved-count {
    width: 75%;
}

.we-solved-count p {
    width: 75%;
}

.we-solved-count h1 {
    font-size: 50px;
    color: #1EA59A;
}

.we-solve-icon-container {
    background-color: #ebf8f8
}

.we-solve-icon {
    padding: 13px 14px;
    background-color: #82d7d7;
    color: rgb(16, 72, 72);
}

.icon-text {
    width: 50%;
}


/* consultancy */
.consultancy-card-container {
    width: 85%;
}

/* RESPONSIVE */
@media (max-width:480px) {

    h1 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
    }

    /* BANNER */
    .banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-size: cover;
        background-position: center;
    }

    /* ABOUT */
    .about-us p {
        width: 100%;
        text-align: justify;
    }

    /* SOLUTION */
    .solutions-card {
        width: 150px;
        height: 150px;
        border-radius: 20px;
        box-shadow: 0px 10px 20px 0px #0000001A !important;
        background: #FFFFFF;
        border: 1px solid #531d1d;
    }

    .solutions-card img {
        width: 60px;
        height: 60px;
    }

    /* SOLVED */
    .we-solved-count {
        width: 100%;
    }

    /* SERVICES */
    .service-card-grid {
        display: grid;
        grid-template-columns: 1fr;
        /* Default: 1 column */
        gap: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .service-card {
        background-color: #E9E9E9;
        width: 85%;
        height: 250px;
        border-radius: 6px;
        box-shadow: 12px 30px 10px 0px #0000001A;
        padding: 10px;
        position: relative;
        transform: none !important;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 0px auto;
    }

    /* .service-card .clip {
        left: 50%;
        transform: translateX(-50%);
    } */


    .icon-text {
        width: 100%;
    }

    .consultancy-card-container {
        width: 100%;
    }
}


/* MODAL */
.modal-content {
    /* background: transparent !important; */
    /* border: none !important; */
    overflow: hidden;
}