@font-face {
    font-family: "Helvetica";
    src: url("../fonts/Helvetica.woff2") format("woff2"),
        url("../fonts/Helvetica.woff") format("woff"),
        url("../fonts/Helvetica.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Caveat";
    src: url("../fonts/Caveat/Caveat.woff2") format("woff2"),
        url("../fonts/Caveat/Caveat.woff") format("woff"),
        url("../fonts/Caveat/Caveat-Regular.ttf") format("truetype"),
        url("../fonts/Caveat/Caveat-Bold.ttf") format("truetype"),
        url("../fonts/Caveat/Caveat-Medium.ttf") format("truetype"),
        url("../fonts/Caveat/Caveat-SemiBold.ttf") format("truetype"),
        url("../fonts/Caveat/Caveat-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Helvetica", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Helvetica", Arial, sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

button {
    font-family: "Helvetica", Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.handwritten {
    font-family: "Caveat", cursive;
}

h6 {
    font-family: "Caveat", cursive;
    font-weight: 400;
    color: #317b83 !important;
    font-size: 2.5em !important;
    line-height: 52px;
}

.fs-40 {
    font-size: 2.5em !important;
}

.header {
    background-color: #fff;
    box-shadow: 0 4px 10px #eff3f3;
}

.footer {
    background-color: #fff;
    border-top: 1px solid #a1a1a1;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0.25em 0em;
}

.nav-link {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-left: 0.5em;
}

.nav-link:hover {
    color: #317b83;
}

.navbar-toggler {
    padding: 3px;
    font-size: 12px;
    border-radius: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 10px #eff3f3;
    border-radius: 0em;
    border: none;
    padding: 0em 0em;
}

.dropdown-item {
    color: #9b9b9b;
    font-size: 12px;
    font-weight: 400;
    padding: 0.5em 1em;
    transition: background-color 0.3s ease;
    letter-spacing: 0.1em;
    padding: 10px 15px;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus {
    color: #212529 !important;
    text-decoration: none;
    background-color: #f8f9fa !important;
}

.footer-links a,
span {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
}

.footer-links a,
span.text-white {
    font-size: 12px;
}

.copyright-text {
    color: #000;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.hero-section {
    /* background-image: url("../images/hero-img.png");  */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh; /* adjust as needed */
    display: flex;
    align-items: center;
}

.carousel-inner {
    bottom: 120px;
}

.carousel-control-next,
.carousel-control-prev {
    position: absolute !important;
    top: auto !important;
    bottom: -125px !important;
    z-index: 99 !important;
}

.carousel-indicators {
    position: absolute;
    left: -34.8%;
    bottom: auto;
    right: auto;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
    transform: rotate(90deg);
    width: 50%;
    height: 50%;
    padding-left: 60px;
}

.carousel-indicators [data-bs-target] {
    border-radius: 50% !important;
    box-sizing: content-box !important;
    flex: 0 1 auto !important;
    width: 10px !important;
    height: 10px !important;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    cursor: pointer;
    background-color: #e9e9e9 !important;
    border: 0.2px solid #e9e9e9 !important;
    opacity: 1 !important;
    transition: opacity 0.6s ease !important;
}

.carousel-indicators .active {
    background-color: #317b8340 !important;
    border: 0.2px solid #317b83 !important;
}

.carousel-item h2 {
    color: #317b83;
    font-size: 1.438em;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 44px;
    text-transform: uppercase;
}

.carousel-item h1 {
    color: #000;
    font-size: 1.875em;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 44px;
    text-transform: uppercase;
}

.carousel-item p {
    color: #696969;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 24px;
    width: 75%;
    text-align: center;
}

.btn-theme {
    background-color: #003d7a;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400;
    padding: 0.75em 2em;
    border-radius: 0em;
    letter-spacing: 0.33em;
    line-height: auto;
    transition: background-color 0.3s ease;
}

.btn-theme {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-theme:hover {
    background-color: #0050a3;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 61, 122, 0.4);
}

.btn-theme:active {
    background-color: #003d7a !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 0.75em 2em !important;
    border-radius: 0em !important;
    letter-spacing: 0.33em !important;
    line-height: auto !important;
    transition: background-color 0.3s ease !important;
}

.btn-theme:focus-visible {
    background-color: #003d7a !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 0.75em 2em !important;
    border-radius: 0em !important;
    letter-spacing: 0.33em !important;
    line-height: auto !important;
    transition: background-color 0.3s ease !important;
}

.list-page,
.service-page {
    padding-top: 80px;
}

/* .list-page .card {
    padding: 30px;
    background-color: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    margin: 12px 0;
}

.list-page .card:hover {
    border: 1px solid #34a5b2;
    border-left: 7px solid #34a5b2;
    padding: 30px 30px 30px 24px;
    transition: ease-out 0.3s;
} */

.list-page .card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #fff;
    border: 0px solid #f1f1f1;
    border-radius: 10px;
    margin: 12px 0;
}

.list-page .card:hover {
    border: 0px solid #34a5b2;
    /* padding: 30px 30px 30px 24px; */
    transition: ease-out 0.3s;
}

.list-page h3 {
    color: #000;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: normal;
    text-align: center;
}

.list-page h4 {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.list-page h5 {
    color: #696969;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 25px;
    letter-spacing: 0.03em;
    text-transform: capitalize;
}

.list-page a {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    letter-spacing: 0.09em;
}

.service-page .card {
    border: 1px solid #a5d2d8;
    border-left: 6px solid #a5d2d8;
    padding: 15px 15px 15px 15px;
    transition: ease-out 0.3s;
    border-radius: 10px;
    margin: 25px 0px;
}

.service-page h3 {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    /* margin-bottom: 25px; */
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.service-page h4 {
    color: #317b83;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.service-page p {
    color: #696969;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0px;
    line-height: 22px;
}

.drop-cap {
    color: #696969;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0px;
    line-height: 22px;
}

.content-box {
    padding: 10px 10px 10px 0px;
    margin-top: 50px;
}

.content-box h4 {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0px;
    line-height: 16px;
}

.content-box p {
    color: #696969;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0px;
    line-height: 18px;
}

.content-box.card {
    margin-top: 30px;
    border: 0px solid #34a5b2;
    border-left: 0px solid #34a5b2;
    padding: 0px;
    text-align: left;
    transition: ease-out 0.3s;
}

.cta-bg {
    border: 1px solid #34a5b2;
    border-left: 7px solid #34a5b2;
    padding: 35px 10px 35px;
    transition: ease-out 0.3s;
    border-radius: 10px;
}

/* .content-box.card:hover {
    border: 1px solid #003d7a;
    border-left: 7px solid #003d7a;
} */

.contact-form input {
    width: 100%;
    padding: 0.5em 0em;
    border: 0px solid #ccc;
    border-bottom: 0.5px solid #838383;
    border-radius: 0px;
    font-size: 16px;
    margin-bottom: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form textarea {
    width: 100%;
    padding: 0.5em 0em;
    border: 0px solid #ccc;
    border-bottom: 0.5px solid #838383;
    border-radius: 0px;
    font-size: 16px;
    margin-bottom: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder {
    color: #838383 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.contact-form textarea::placeholder {
    color: #838383 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.contact-details ul li {
    padding: 5px;
}

.h-100vh {
    height: 100vh;
}

.footer-pages h5 {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.11em;
    margin-bottom: 20px;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 20px;
}

.img-width {
    width: 75%;
    height: auto;
    /* box-shadow: 0 0 70px 0px rgba(0, 0, 0, 0.1); */
}

/* .h-blue {
    color: #317b83 !important;
} */

.content-box.course img {
    width: 100px;
    height: auto;
    object-fit: cover;
}

.other-pages h3 {
    color: #000;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: normal;
    margin-bottom: 50px;
    margin-top: 80px;
}

.other-pages h4 {
    color: #000;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: normal;
}

.other-pages p {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.09em;
    line-height: 20px;
}

.other-pages ul li {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.09em;
    line-height: 20px;
}

.other-pages ol li {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.09em;
    line-height: 20px;
}

.floating-sec {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 99999 !important;
}

.float-btn:hover {
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    background-color: #003d7a;
    border: 1px solid #003d7a;
    padding: 6px 11px 8px;
    margin: 5px;
}

.float-btn:hover img {
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.float-btn {
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    background-color: #fff;
    border: 1px solid #003d7a00;
    padding: 6px 11px 8px;
    margin: 5px;
    transform: translateY(-2px);
}

.float-btn img {
    width: auto;
    height: auto;
    filter: invert(14%) sepia(84%) saturate(2803%) hue-rotate(195deg)
        brightness(92%) contrast(102%);
    /* transform: rotate(10deg); */
    /* transform: translateY(-2px);  */
}

/* particle js start */
canvas {
    display: block;
    vertical-align: bottom;
} /* ---- particles.js container ---- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #b6192400;
    background-image: url("../images/hero-img-c.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0%;
} /* ---- stats.js ---- */
.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13e8e9;
    font-size: 0.8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}
.js-count-particles {
    font-size: 1.1em;
}
#stats,
.count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}
#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}
.count-particles {
    border-radius: 0 0 3px 3px;
}
/* ---- particles.js ---- */

/* testimonial css */
.card-testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #34a5b2;
    border-bottom: 7px solid #34a5b2;
    border-radius: 10px;
    padding: 30px 20px;
    height: max-content;
}

.card-testimonial h4 {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: normal;
}

.card-testimonial p {
    color: #696969;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.card-testimonial img {
    position: absolute;
    top: -12px;
    right: 15px;
    width: 24px;
    height: 24px;
}

/* Make each slide equal height */
.swiper-slide {
    display: flex;
    height: auto; /* Let it adapt to the tallest slide in the row */
}

/* Force the testimonial card to take full height */
.card-testimonial {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 10px;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    display: none !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    display: none !important;
}

/* Ensure slides don't touch arrows */
.mySwiper {
    padding: 0 30px; /* Space for arrows */
}

/* end */

/* media queries */
@media only screen and (max-width: 575.98px) {
    .img-h {
        height: 50px;
    }

    .btn-theme:active {
        letter-spacing: normal !important;
    }

    .btn-theme:focus-visible {
        letter-spacing: normal !important;
    }

    .floating-sec {
        position: fixed;
        top: auto;
        bottom: -3%;
        right: 0px;
        transform: translateY(-50%);
        z-index: 99999 !important;
    }

    .img-width {
        width: 100%;
        height: auto;
    }

    .content-box {
        padding: 10px 10px 10px 0px;
        margin-top: 20px;
    }

    .carousel-inner {
        bottom: 220px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        bottom: -100px !important;
    }

    .carousel-indicators {
        left: -38%;
        bottom: auto;
        right: auto;
        margin-right: 15%;
        margin-bottom: 1rem;
        margin-left: 15%;
        width: 50%;
        height: 50%;

        /* position: absolute;
        top: 50%; 
        left: -30.5%;
        transform: rotate(90deg) translateY(-50%);
        transform-origin: center; 
        z-index: 2;
        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0;
        width: 50%;
        height: 50%; */
    }

    .carousel-item h2 {
        font-size: 16px;
        line-height: normal;
    }

    .carousel-item h1 {
        font-size: 18px;
        line-height: normal;
    }

    .carousel-item p {
        font-size: 12px;
        line-height: normal;
        height: 55px;
    }

    .btn-theme {
        font-size: 14px;
        padding: 0.75em 2em;
        letter-spacing: normal;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    .img-h {
        height: 50px;
    }

    .btn-theme:active {
        letter-spacing: normal !important;
    }

    .btn-theme:focus-visible {
        letter-spacing: normal !important;
    }

    .floating-sec {
        position: fixed;
        top: auto;
        bottom: -3%;
        right: 0px;
        transform: translateY(-50%);
        z-index: 99999 !important;
    }

    .img-width {
        width: 100%;
        height: auto;
    }

    .content-box {
        padding: 10px 10px 10px 0px;
        margin-top: 20px;
    }

    .carousel-inner {
        bottom: 200px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        bottom: -100px !important;
    }

    .carousel-indicators {
        left: -38%;
        bottom: auto;
        right: auto;
        margin-right: 15%;
        margin-bottom: 1rem;
        margin-left: 15%;
        width: 50%;
        height: 50%;
    }

    .carousel-item h2 {
        font-size: 20px;
        line-height: 25px;
    }

    .carousel-item h1 {
        font-size: 26px;
        line-height: 30px;
    }

    .carousel-item p {
        font-size: 18px;
        line-height: normal;
        height: 55px;
    }

    .btn-theme {
        font-size: 14px;
        padding: 0.75em 2em;
        letter-spacing: normal;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    .header .navbar-collapse ul li {
        margin-left: 0px !important;
    }

    .carousel-inner {
        bottom: 90px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        bottom: -100px !important;
    }

    .carousel-indicators {
        left: -35%;
        bottom: auto;
        right: auto;
        margin-right: 15%;
        margin-bottom: 1rem;
        margin-left: 15%;
        width: 50%;
        height: 50%;
    }

    .carousel-item h2 {
        font-size: 18px;
        line-height: normal;
    }

    .carousel-item h1 {
        font-size: 22px;
        line-height: normal;
    }

    .carousel-item p {
        font-size: 14px;
        line-height: normal;
    }

    .btn-theme {
        font-size: 14px;
        padding: 0.75em 2em;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1023.98px) {
    .carousel-inner {
        bottom: 120px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        bottom: -100px !important;
    }

    .carousel-indicators {
        left: -35%;
        bottom: auto;
        right: auto;
        margin-right: 15%;
        margin-bottom: 1rem;
        margin-left: 15%;
        width: 50%;
        height: 50%;
    }

    .carousel-item h2 {
        font-size: 18px;
        line-height: 25px;
    }

    .carousel-item h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .carousel-item p {
        font-size: 14px;
        line-height: normal;
    }

    .btn-theme {
        font-size: 14px;
        padding: 0.75em 2em;
    }
}
