@import url("../fonts/Onest-Black.ttf");
@import url("../fonts/Onest-Bold.ttf");
@import url("../fonts/Onest-Light.ttf");
@import url("../fonts/Onest-Medium.ttf");
@import url("../fonts/Onest-Regular.ttf");
@import url("../fonts/Onest-Thin.ttf");
@import url("../fonts/Onest-ExtraBold.ttf");
@import url("../fonts/Onest-ExtraLight.ttf");
@import url("../fonts/Onest-SemiBold.ttf");
@font-face {
    font-family: "Onest-Black";
    src: url("../fonts/Onest-Black.ttf");
}
@font-face {
    font-family: "Onest-Bold";
    src: url("../fonts/Onest-Bold.ttf");
}
@font-face {
    font-family: "Onest-Light";
    src: url("../fonts/Onest-Light.ttf");
}
@font-face {
    font-family: "Onest-Medium";
    src: url("../fonts/Onest-Medium.ttf");
}
@font-face {
    font-family: "Onest-Regular";
    src: url("../fonts/Onest-Regular.ttf");
}
@font-face {
    font-family: "Onest-Thin";
    src: url("../fonts/Onest-Thin.ttf");
}
@font-face {
    font-family: "Onest-ExtraBold";
    src: url("../fonts/Onest-ExtraBold.ttf");
}
@font-face {
    font-family: "Onest-ExtraLight";
    src: url("../fonts/Onest-ExtraLight.ttf");
}
@font-face {
    font-family: "Onest-SemiBold";
    src: url("../fonts/Onest-SemiBold.ttf");
}
/* Style for the entire scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background-color: black;
    /* or any color */
}
/* Style for the scrollbar handle */
::-webkit-scrollbar-thumb {
    background-color: #515DE2;
}
/* Style for the scrollbar track */
::-webkit-scrollbar-track {
    background-color: #e0e0e0;
}
/* Style for the scrollbar on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
/* Style for the scrollbar on active state */
::-webkit-scrollbar-thumb:active {
    background-color: #333;
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    background-color: #515DE2;
    color: #fff;
    border-radius: 50%;
    line-height: 40px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    z-index: 2;
}
.scroll-to-top i {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    width: 100vw;
    /* Set the width to the viewport width */
}
h1,h2,h3,h4,h5,h6,p {
    color: #000;
}
p {
    font-size: 24px;
    font-family: "Onest-Regular";
}
/* CSS for elements initially hidden on the left */
.hidden-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}
/* CSS for elements initially hidden on the right */
.hidden-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}
/* CSS for visible elements */
.visible {
    opacity: 1;
    transform: translateX(0);
}
.navbar-light .navbar-nav .nav-link {
    color: black !important;
}
.nav-link {
    color: #01132b;
    font-family: "Onest-Regular";
    font-size: 18px;
}
.our-story {
    background-image: url("../img/our-story.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    height: 650px;
    margin-bottom: 200px;
}

.our-story .container {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.our-story .card {
    position: absolute;
    bottom: -150px;
    right: 0;
    background-color: #F9FAFF;
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 650px;
    height: 400px;
    z-index: 2;
    overflow: hidden;
}

/* Container for the SVG images */
.our-story .svg-container {
    position: absolute;
    top: -15px;
    right: 60px;
}

.our-story .svg-container img {
    margin-left: 10px;
}

/* Story Card Title */
.story .card-title {
    font-size: 50px;
    font-family: "Onest-ExtraBold";
    line-height: 68px;
}

.story .card p {
    font-size: 24px;
    font-family: "Onest-Regular";
    line-height: 42px;
}

.get-in-touch {
    background-color: #515DE2;
    min-height: 30vh;
}

.get-in-touch h3 {
    font-size: 48px;
    font-family: "Onest-ExtraBold";
}

.get-in-touch .content p {
    font-size: 20px;
    font-family: "Onest-Regular";
}

.get-in-touch .btn {
    border-radius: 30px;
}

.get-in-touch .divider {
    width: 100%;
    height: 1px;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 20px;
}

.get-in-touch .btn-register {
    background-color: white;
    color: black !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bolder;
    padding: 10px 20px;
}

/* Story Parts */
.story .parts .card {
    border: none;
    background-color: transparent;
}

.story .parts .card h5 {
    font-size: 40px;
    font-family: "Onest-ExtraBold";
    line-height: 65px;
}

.story .parts .card p {
    font-size: 20px;
    font-family: "Onest-Regular";
    line-height: 36px;
}

.story .card-divider {
    height: 4px;
    background-color: #000;
    width: 50px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .our-story {
        height: 550px;
    }

    .our-story .card {
        width: 550px;
        height: 350px;
        bottom: -100px;
    }

    .story .card-title {
        font-size: 40px;
        line-height: 58px;
    }

    .story .card p {
        font-size: 22px;
        line-height: 38px;
    }
}

@media (max-width: 992px) {
    .our-story {
        height: 500px;
    }

    .our-story .card {
        width: 500px;
        height: 320px;
        bottom: -80px;
    }

    .our-story .svg-container {
        right: 30px;
    }

    .story .card-title {
        font-size: 36px;
        line-height: 50px;
    }

    .story .card p {
        font-size: 20px;
        line-height: 34px;
    }

    .get-in-touch h3 {
        font-size: 36px;
    }

    .get-in-touch .content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .our-story {
        height: 400px;
    }

    .our-story .card {
        width: 100%;
        height: auto;
        right: 0;
        bottom: -100px;
        padding: 15px;
    }

    .story .card-title {
        font-size: 30px;
        line-height: 40px;
    }

    .story .card p {
        font-size: 18px;
        line-height: 30px;
    }

    .get-in-touch h3 {
        font-size: 32px;
    }

    .get-in-touch .content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .our-story {
        height: 300px;
    }

    .our-story .card {
        padding: 10px;
        bottom: -100px;
        height: auto;
    }

    .story .card-title {
        font-size: 26px;
        line-height: 35px;
    }

    .story .card p {
        font-size: 16px;
        line-height: 28px;
    }

    .get-in-touch h3 {
        font-size: 28px;
    }

    .get-in-touch .content p {
        font-size: 14px;
    }

    .get-in-touch .btn-register {
        padding: 8px 15px;
        font-size: 16px;
    }

    .story .parts .card h5 {
        font-size: 28px;
        line-height: 45px;
    }

    .story .parts .card p {
        font-size: 16px;
        line-height: 28px;
    }
}

.mission-img {
    border: 2px solid #515DE2;
}
.mission button {
    margin-top: 20px;
    width: 260px;
    height: 60px;
    font-size: 22px;
    font-family: "Onest-ExtraBold";
}
.mission h1 {
    font-size: 48px;
    font-family: "Onest-ExtraBold";
}
.mission p {
    font-size: 20px;
    font-family: "Onest-Regular";
    line-height: 40px;
    width: 90%;
}
.feature-box {
    background-color: #254c26;
    /* Green background for each box */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.feature-box h4 {
    font-weight: bold;
}
.feature-box p {
    color: #dcdcdc;
}
.btn-login {
    color: black;
    border: 2px solid #515DE2;
    border-radius: 10px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    font-weight: bolder;
}
.btn-login:hover {
    background-color: #515DE2;
}
.btn-register {
    background-color: #515DE2;
    color: #fff !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bolder;
    border: none;
    padding: 10px 20px 10px 20px;
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Truncate text if needed */

}
.hero {
    background-image: url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    align-items: center;
    display: flex;
}
.hero h3 {
    font-size: 30px;
    font-weight: bolder;
}
.hero h1 {
    font-size: 50px;
    font-family: "Onest-ExtraBold";
    line-height: 68px;
}
.hero p{
    line-height: 40px;
}
.hero button {
    width: 260px;
    height: 60px;
    font-size: 22px;
    font-family: "Onest-ExtraBold";
}
.underline {
    position: relative;
    background-image: url('../img/Marker 1.svg'); /* Replace with your actual SVG path */
    background-repeat: no-repeat;
    background-position: left bottom; /* Adjust position */
    padding-bottom: 5px; /* Adjust padding to fit the underline properly */
    background-size: 100% 13px; /* Adjust the size of the SVG */
}
#about-us button {
    margin-top: 20px;
    width: 280px;
    height: 60px;
    font-size: 22px;
    font-weight: bold;
}
#our-services h1 {
    font-size: 36px;
    font-family: "Onest-ExtraBold";
    line-height: 40px;
    margin-bottom: 15px;
}
.titles {
    font-family: "Onest-ExtraBold";
    font-size: 55px;
}

.mt-100 {
    margin-top: 100px;
}
.icon {
    border-radius: 50%;
    width: 115px;
    height: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    /* Ensures the image covers the available space while keeping its aspect ratio */
}
.icon-logo {
    border-radius: 50%;
    padding: 10px;
    width: 200px;
    height: 200px;
}
.icons {
    border-radius: 50%;
}
.card-divider {
    width: 100px !important;
    height: 2px; /* Set an appropriate height */
    background-image: url('../img/Rectangle 112.png');
    background-repeat: no-repeat;
    background-size: cover; /* Ensure the image fits the element */
    margin-top: 10px;
    margin-bottom: 20px;
}
#our-services .card {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
#our-services .card-title {
    color: #000;
    font-family: "Futura PT BOLD";
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    /* 100% */
    text-transform: uppercase;
}
#our-services .card p {
    font-family: "Onest-Regular";
    font-size: 18px;
    line-height: 34px;
}
.why-choose-container {
    background-color: #F9FAFF;
}
.why-choose-container .card {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 330px;
}
.why-choose-container .card-title {
    font-size: 26px;
    font-family: "Onest-ExtraBold";
}
.why-choose-container .card p {
    font-size: 18px;
    font-family: "Onest-Regular";
    line-height: 30px;
}
footer {
    background-color: black ;
    min-height: 50vh;
}
.footer-divider {
    border-top: 3px solid #515DE2;
}
.footer-copy {
    border-top: 1px solid #515DE2;
    margin-top: 20px;
    margin-bottom: 20px;
}
footer a {
    text-decoration: none;
    list-style: none;
    color: #fff;
}
footer h5{
    font-size: 24px;
    font-weight: bolder;
    color: #fff;
}
footer p{
    font-size: 16px;
}
footer ul,
li {
    list-style: none;
    margin-top: 20px;
    text-align: left;
    padding: 0;
}
.line-why{
    border-right: 4px solid #515DE2;
    height: 150px;
    position: absolute;
    left: 84.7%;
    margin-top: -55px;
}
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.social-icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #515DE2;
    /* Green background */
    /* White icon */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s;
}
.social-icons .icon:hover {
    background-color: #6f8e56;
    /* Darker green on hover */
}
.copyright {
    text-align: center;
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color:  white
}
.email-container {
    display: flex;
    align-items: center;
    border-radius: 30px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 240px;
    /* Adjusted width */
}
.email-container input {
    border: none;
    outline: none;
    padding: 0 20px;
    border-radius: 30px;
    width: 180px;
    /* Adjusted width to fit inside container */
    height: 52px;
    /* Set height */
    font-size: 14px;
    color: #848484;
}
.email-container input::placeholder {
    color: #848484;
}
.email-container button {
    background-color: #515DE2;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
    /* To overlap the input slightly */
}
.email-container button img {
    width: 20px;
    height: 20px;
}
.email-container button:focus {
    outline: none;
}
.left-divider, .right-divider {
    position: absolute;
    border: 1px solid white;
    width: 200px;
}
.left-divider {
    margin-top: 25px;
}
.right-divider {
    right: 0;
    top: 15px;
}
.icon-container {
    width: 40px;
    height: 40px;
}
@media (min-width: 768px) and (max-width: 1440px) {
    .left-divider, .right-divider {
        width: 55px; /* Make the divs full width on mobile */
        margin: 10px auto; /* Center them with some margin */
    }
    .left-divider {
        margin-top: 15px; /* Adjust margin-top for mobile */
    }
    .right-divider {
        top: 10px; /* Adjust top for mobile */
    }
    .line-why{
        border-right: 4px solid #515DE2;
        height: 150px;
        position: absolute;
        left: 96%;
        margin-top: -55px;
    }
}
@media (max-width: 425px){
    .left-divider, .right-divider {
        width: 55px; /* Make the divs full width on mobile */
        margin: 10px auto; /* Center them with some margin */
    }
    .left-divider {
        margin-top: 15px; /* Adjust margin-top for mobile */
    }
    .right-divider {
        top: 430px; /* Adjust top for mobile */
    }
}
@media (max-width: 768px) {
    #our-services h1{
        font-size: 25px;
    }
    p {
        font-size: 16px;
    }
    .hero h1 {
        text-align: center;
        font-family: "Onest-ExtraBold";
        font-size: 25px;
        line-height: 35px;
    }
    .hero h3{
        font-size: 20px;
    }
    .hero button {
        font-size: 12px;
        width: 150px;
        height: 40px;
        text-overflow: ellipsis;
        white-space: nowrap; /* Prevent text wrapping */

    }
    .hero p {
        font-size: 15px;
        line-height: 30px;
        text-align: center; 
    }
    .titles {
        font-size: 30px;
        text-align: center;
    }
    #about-us button {
        width: 200px;
        height: 40px;
        font-size: 16px;
    }
    #our-services .card {
        width: 100%;    
    
    }
    #our-services .card-title {
        font-size: 20px;
    }
    #our-services h1 {
        margin-bottom: 0;
    }
    #our-services .card p {
        font-size: 15px;
        line-height: 25px;
    }
    .line-why{
        display: none;
    }
    .mission h1 {
        font-size: 30px;
        text-align: center;
    }
    .mission p{
        font-size: 16px;
        text-align: center;
        width: 100%;
    }
    .our-story{
        height: 500px;

    }
    .mission button {
        width: 200px;
        height: 50px;
        font-size: 16px;
        margin-bottom: 20px;
    }
    .why-choose-container button{
        width: 200px;
        height: 50px;
        font-size: 16px;
    }
    .icon {
        width: 100px;
        height: 100px;
    }
    .icon img {
        max-width: 80%;
        max-height: 80%;
    }
    .icons {
        padding: 10px;
    }
    .why-choose-container .card {
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .why-choose-container .card-title {
        font-size: 20px;
    }
    .why-choose-container .card p {
        font-size: 14px;
    }       
    .navbar-brand img {
        width: 120px;
        /* Adjust logo size */
    }
    .nav-item.m-3 {
        margin: 0.2rem 0;
        /* Reduce margin */
    }
    .dropdown-toggle img {
        width: 15px;
        height: 10px;
        /* Adjust language flag size */
    }
    .btn-login,
    .btn-register {
            font-size: 0.8rem;
            /* Adjust font size */
            padding: 0.4rem 0.8rem;
            /* Adjust padding */
            margin-top: 0.5rem;
            /* Add margin-top for spacing */
    }
    .navbar-collapse {
        text-align: center;
        /* Center align items */
    }
    footer {
        min-height: 100vh;
    }
    footer h5 {
        font-size: 20px;
        text-align: center;
        margin-top: 20px;
    }
    footer p {
        font-size: 14px;
    }
    footer a {
        font-size: 14px;
    }
    footer ul,
    li {
        text-align: center;
    }
    .social-icons {
        margin-bottom: 15px;
    }
    .social-icons .icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .footer .row > div {
        margin-bottom: 20px;
    }
    
}