@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #291874;
    --secondary-color: #a12925;
    --dark-color: #06070b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: white;
    border-radius: 20px;
    margin: 10px 0;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
    border: 3px solid white;
}

ul {
    list-style: none;
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

.bg-red {
    background-color: #a12925;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-main {
    color: var(--dark-color);
}

.text-green {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    outline: none;
}

.btn-light {
    padding: 15px 30px;
    border: none;
    outline: none;
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.heading-3 {
    font-size: 18px;
    font-weight: 700;
}

.heading-1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
}

.paragraph {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
}

.upper-container span {
    font-size: 14px;
}

.nav-tabs {
    background-color: #fbf7ed !important;
}

.nav-lists a:hover {
    border-bottom: 2px solid var(--primary-color);
}

.nav-link a.active {
    border-bottom: 2px solid var(--primary-color);
}

.carousel img {
    height: 700px;
    object-fit: cover;
    filter: brightness(50%);
}

.carousel-caption {
    right: 5%;
    left: 7%;
    bottom: 18%;
    text-align: left;
    width: 800px;
}

.carousel-caption h5 {
    font-size: 100px;
}

.carousel-caption p {
    font-size: 30px;
}

.hero-container {
    position: relative;
}

.hero-container h1 {
    font-weight: 800;
    height: 100vh;
}

/* Feature Styling */
.features-container {
    padding: 52px 30px 0px;
    position: absolute;
    bottom: 0.5%;
}

.features-container .card {
    width: 100%;
}

.feature {
    margin-bottom: 25px;
}

.feature h6,
.feature p {
    margin-bottom: 0;
}

.feature img {
    width: 40px;
    height: 40px;
}

.feature h6 {
    font-size: 18px;
    color: var(--main-color);
}

.feature p {
    font-size: 16px;
    color: var(--text-color);
    margin-top: 10px;
}

.feature-text {
    margin-left: 30px;
}

.about-us {
    margin-top: 200px;
    margin-bottom: 100px;
}

.about-us .list p {
    margin-bottom: 0;
    margin-left: 5px;
    font-size: 16px;
}

.about-us .list .list-item {
    margin-bottom: 10px;
}

.about-us h3 {
    font-size: 18px;
    font-weight: 700;
}

.about-us h1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-us .paragraph {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
}

.about-us .pictures img {
    object-fit: cover;
    filter: brightness(70%);
}

.latest-service-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../imgs/037.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 100px;
}

.latest-service-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #291874c4;
    z-index: 1;
}

.latest-service-container .content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 70px 0;
}

.latest-service-container .content img {
    object-fit: cover;
}

.latest-service-container .content h3 {
    font-size: 18px;
    font-weight: 700;
}

.latest-service-container .content h1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
}

.latest-service-container .content .paragraph {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
}

.latest-service-container .card-container {
    margin-top: 100px;
}

.latest-service-container .card {
    background-color: transparent;
    border: 1px solid #917cec;
    padding: 30px 20px;
}

.latest-service-container .card img {
    background-color: var(--primary-color);
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.tabs-container {
    margin-bottom: 100px;
}

.tabs-container img {
    object-fit: cover;
    border-radius: 20px;
}

.tabs-container .nav {
    background-color: white;
    padding: 30px 20px;
    border-radius: 20px;
}

.tabs-container .nav-link {
    background-color: #fbf7ed;
    margin: 0 10px;
    color: var(--dark-color);
}

.tabs-container .nav-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

.extra-activities-container {
    padding: 80px 0;
    /* margin-bottom: 100px; */
}

.extra-activities-container h3 {
    font-size: 18px;
    font-weight: 700;
}

.extra-activities-container h1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
}

.extra-activities-container .paragraph {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
}

.extra-activities-container img {
    object-fit: cover;
    /* filter: brightness(70%); */
}

.newsletter img {
    object-fit: cover;
}

.newsletter .form-control {
    background-color: #38393c;
    border: none;
    box-shadow: none;
    color: white
}

.newsletter input::placeholder {
    color: white;
}

.newsletter textarea::placeholder {
    color: white;
}

.footer {
    margin-top: 50px;
}

.footer .hr {
    height: 1px;
    width: 100%;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: var(--secondary-color);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 100px;
}

.sidenav a {
    padding: 18px 0;
    text-decoration: none;
    font-size: 20px;
    color: #cecccc;
    display: block;
    transition: 0.3s;
}

.sidenav ul {
    padding-left: 0;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav a.active {
    color: white;
}

.sidenav .closebtn {
    position: absolute;
    top: 70px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#open {
    display: none;
}

.services {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@keyframes scale-a-lil {
    from {
        scale: .5;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .extra-activities-container img {
        animation: scale-a-lil linear both;
        animation-timeline: view();
        animation-range: 25vh 75vh;
    }
}

@media only screen and (max-width: 1443px) {
    .features-container {
        position: initial;
    }

    .carousel-caption {
        bottom: 5%;
    }
}

@media only screen and (max-width: 1051px) {
    .upper-container {
        display: none;
    }
}

@media only screen and (max-width: 1009px) {
    .col-md-11.nav-lists {
        display: none;
    }

    #open {
        display: block;
    }

    .sm-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .lower-container .row {
        display: flex !important;
    }

    .carousel-caption h5 {
        font-size: 60px;
    }

    .carousel-caption p {
        font-size: 20px;
        width: 370px;
        padding-right: 20px;
    }

    .carousel-caption {
        width: 100%;
        left: 0;
        text-align: start;
        right: 0;
    }

    .carousel img {
        height: 500px;
    }
}

@media only screen and (max-width: 415px) {
    .about-us .pictures img {
        width: 100%;
    }

    .extra-activities-container img {
        width: 100%;
    }

    .footer .d-flex {
        display: block !important;
    }

    .footer-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .services {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .carousel-caption h5 {
        font-size: 45px;
    }
}