* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

:root {
    color-scheme: light dark;
    background-color: #fff !important;
    color: #000 !important;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
    :root {
        color: #000 !important;
        background-color: #ffffff !important;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        color: #000 !important;
        background-color: #ffffff !important;
    }
}

.slant-card {
    border-radius: 25px;
    border-top-right-radius: 25px;
    position: relative;
    clip-path: polygon(0 65%, 85% 0, 100% 0, 100% 100%, 0 100%);
}

.card-content {
    padding: 20px;
}

#hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.crsl {
    max-width: 1240px;
    width: 1240px;
    height: 320px;
    margin-left: auto;
    margin-right: auto;
    max-height: 300px;
    position: relative;
}

.sld {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 500ms opacity ease-in-out;
    transition-delay: 10ms;
}

.sld[data-active] {
    opacity: 1;
    z-index: 1;
    transition-delay: 0ms;
}

.crsl > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    background-color: #fff;
    color: #000;
    min-height: 100vh;
}

/* Carousel Style initially hidden */
.hide-carousel {
    display: none;
}

.slick-initialized .slick-slide {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.slick-initialized .slick-slide div button {
    color: #fff;
    border: none;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.slick-initialized .slick-slide div dialog div {
    background-color: #fff;
}

@media (width < 480px) {
    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    #hamburgerMenu::-webkit-scrollbar {
        display: none;
    }

    .carousel-item {
        flex-direction: column !important;
    }

    #hero {
        background-image: none !important;
        padding-top: 0px;
        background: linear-gradient(
            180deg,
            rgba(255, 103, 31, 0.2) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(4, 106, 56, 0.45) 100%
        ) !important;
    }

    .crsl {
        max-width: 310px;
        width: 310px;
        height: 507px;
        margin-left: auto;
        margin-right: auto;
        max-height: 100vh;
        position: relative;
    }
}

@media (width >= 1895px) {
    #hero {
        margin-top: 30px;
    }
}

@media (480px <= width < 650px) {
    #HamMenu {
        display: flex;
    }

    .headerr {
        display: none !important;
    }

    #bottomNavbar {
        display: none;
    }

    #blank {
        height: 64.22px;
    }

    #hero {
        height: 680px;
        background-image: none !important;
        background: linear-gradient(
            180deg,
            rgba(255, 103, 31, 0.2) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(4, 106, 56, 0.45) 100%
        ) !important;
        justify-content: start;
    }

    .crsl {
        max-width: 480px;
        width: 480px;
        height: 680px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    #crslBtns {
        margin-top: 630px;
    }

    .crslContent {
        width: 440px !important;
    }

    .sld {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: 500ms opacity ease-in-out;
        transition-delay: 10ms;
    }

    #achievementCard4 {
        margin-top: -30px;
    }

    #achievementCard3 {
        margin-top: -30px;
    }

    .achievement-card-section {
        height: 85px !important;
    }
}

@media (650px <= width < 800px) {
    #HamMenu {
        display: flex;
    }

    .headerr {
        display: none !important;
    }

    #bottomNavbar {
        display: none;
    }

    #blank {
        height: 64.22px;
    }

    #hero {
        height: 590px;
        background-image: none !important;
        background: linear-gradient(
            180deg,
            rgba(255, 103, 31, 0.2) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(4, 106, 56, 0.45) 100%
        ) !important;
        justify-content: start;
    }

    .crsl {
        max-width: 730px;
        width: 730px;
        height: 590px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    #crslBtns {
        margin-top: 550px;
    }

    .crslContent {
        width: 520px !important;
    }

    .sld {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: 500ms opacity ease-in-out;
        transition-delay: 10ms;
    }

    #achievementCard4 {
        margin-top: -30px;
    }

    .achievement-card-section {
        height: 85px !important;
    }
}

@media (800px <= width < 945px) {
    #blank {
        height: 99.8px;
    }

    #hero {
        height: 590px;
        background-image: none !important;
        background: linear-gradient(
            180deg,
            rgba(255, 103, 31, 0.2) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(4, 106, 56, 0.45) 100%
        ) !important;
        justify-content: start;
    }

    .crsl {
        max-width: 730px;
        width: 730px;
        height: 590px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    #crslBtns {
        margin-top: 550px;
    }

    .crslContent {
        width: 520px !important;
    }

    .sld {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: 500ms opacity ease-in-out;
        transition-delay: 10ms;
    }
}

@media (945px <= width < 1000px) {
    #blank {
        height: 99.8px;
    }

    #hero {
        height: 590px;
        background-image: none !important;
        background: linear-gradient(
            180deg,
            rgba(255, 103, 31, 0.2) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(4, 106, 56, 0.45) 100%
        ) !important;
        justify-content: start;
    }

    .crsl {
        max-width: 730px;
        width: 730px;
        height: 590px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    #crslBtns {
        margin-top: 550px;
    }

    .crslContent {
        width: 520px !important;
    }

    .sld {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: 500ms opacity ease-in-out;
        transition-delay: 10ms;
    }
}

.adv-cardd {
    position: relative;
    background-color: #fff !important;
}

.adv-cardd::before,
.adv-cardd::after {
    content: "";
    position: absolute;
    top: 0;
    height: 92.5px;
    width: 100px;
    background-color: rgb(191 219 254);
    z-index: -1;
}

.adv-cardd::before {
    left: 14px;
    margin-top: 2px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.adv-cardd::after {
    right: 14px;
    margin-top: 2px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.blog-button:hover {
    box-shadow: -1px -5px 12px 1px #004485;
}

/* Scroll Bar Customization */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 140px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a0;
}

.testimonial-carousel {
    overflow: hidden;
    width: 100%;
}

.testimonials-container {
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(+70%);
    }
    100% {
        transform: translateX(-70%);
    }
}

/* Basic card styles */
.card-container {
    perspective: 1000px;
}

.flipCard {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.front,
.back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.back {
    position: absolute;
    transform: rotateY(180deg);
}

.card-container:hover .flipCard {
    transform: rotateY(180deg);
}
