.image-container {
    position: relative;
    width: 100%;
    height: 700px;
    /* Set the height of the image container */
}

.container-fluid {
    padding: 0px;
}

.bgImg {
    display: block;
    width: 100%;
    height: 100%;
    /* Ensures the image takes up the full height and width */
    object-fit: cover;
    /* Keeps the image from stretching */
}

.image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #081447CC;
    /* Overlay color */
}

.backgroundColor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Make sure it covers the full image */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    z-index: 1;
    /* Ensure it appears above the image */
}

.total-container {
    padding-top: 60px !important;
    padding: 35px 20px;
}

.logo-style {
    width: 30%;
}

.logo-col {
    /* padding-left: 65px; */
    display: flex;
    align-items: center;
}

.mainhead-h1 {
    text-align: left;
    font-size: 70px;
    font-weight: bold;
    /* padding: 0% 49% 0% 0%; */
    margin-bottom: 25px;
}

.mainhead-p {
    text-align: left;
    font-size: 24px;
    padding: 0% 60% 0% 0%;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0px;
    /* Hide overflowing slides */
}

.slide-style {
    height: 500px;
    display: flex;
    /* Display slides horizontally */
    transition: transform 0.5s ease;
    /* Smooth transition */
}

.slide {
    min-width: 100%;
    /* Each slide takes up the full width of the container */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0% 25%;
}

.number {
    padding: 0px 55px;
    color: #3649701A;
}

.number-style {
    margin: 0px;
    font-size: 415px;
    font-weight: 900;
}

.first {
    font-size: 55px;
    color: #021D49;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
}

.second {
    color: #1C123E;
    font-size: 24px;
    line-height: 1.2;
}

.third {
    font-size: 15px;
    line-height: 1;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.left-arrow {
    left: 10.5%;
    display: block;
    padding: 1.5%;
    border-radius: 10px;
    box-shadow: 1px 1px 7px -0.5px #999;
}

.right-arrow {
    right: 10.5%;
    display: block;
    padding: 1.5%;
    border-radius: 10px;
    box-shadow: 1px 1px 7px -0.5px #999;
}

hr {
    margin: 0% 10%;
    background: linear-gradient(to right, #000000 0%, #000000 17%, #666666 74%);
    height: 1px;
}

.about-team {
    margin: 3% 13%;
    text-align: center;
}

.main-about-head {
    font-size: 55px;
    color: #021D49;
    font-weight: 600;
}

.sub-about-head {
    font-size: 24px;
    padding: 0% 10%;
    font-weight: 500;
    font-family: 'Inter';
    color: #1C123E;
}

.main-team-head {
    color: #1C123E;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 4%;
}

.grid-container {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: repeat(3, 1fr);
    padding: 0% 10%;
    gap: 50px;
}

.gridItem {
    display: flex;
    justify-content: center;
}

.imageContainer {
    height: 550px;
    position: relative;
    display: inline-block;
}

.overlayText {
    position: absolute;
    bottom: -20px;
    /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    /* Centers the box horizontally */
    background: white;
    padding: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    /* Optional: adds rounded corners */
    /* text-align: center; */
    width: 90%;
    height: 37%;
}

.nameOfTheFounder {
    color: #19191b;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0%;
    line-height: 0;
}

.roleOfThePerson {
    color: #0029ff;
    font-size: 13px;
    font-weight: 400;
}

.hobbies {
    color: #787a82;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0px;
    overflow-y: auto;
    height: 72%;
}

.socialMediaIcons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.grid-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 4px 7px #999;
    padding: 6%;
    display: flex;
    flex-direction: column;
}

.person-img {
    background-color: #cbd3ff;
    border-radius: 50%;
    height: 100px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.person-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.person-name {
    margin: 0px 0px 10px 0px;
    font-size: 19px;
    font-weight: 600;
}

.market {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.grid-flags,
.grid-flags-lang {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.grid-flag-item,
.grid-flag-lang {
    font-size: 13px;
}

.flag-style {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flag-style-1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.person-info {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 6%;
    flex-grow: 1;
}

.languages-head {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.grid-flag-lang {
    background-color: #f3f3f3;
    padding: 8% 10%;
    border-radius: 10px;
}

.social-media {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 5%;
    /* padding: 0% 10%; */
    /* background: linear-gradient(to bottom, #ffffff 19%, #eae9e7 59%, #ffffff 100%); */
}

.social-media-item {
    padding: 3.5%;
    border-radius: 10px;
    box-shadow: 2px 3px 6px #999;
    background-color: #fff;
}

.media-a-style {
    color: #000408;
    font-size: 20px;
    font-weight: 600;
}

.media-a-style:hover {
    text-decoration: none;
    color: #000408;
}

.media-span {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.background-shade {
    background: linear-gradient(to bottom,
            #fffdf9 0%,
            #fffdf9 6%,
            #fffdf9 13%,
            #fffaf2 25%,
            #fffaf2 38%,
            #fffaf2 50%,
            #ffefd6 90%,
            #fffdf9 100%);
    padding-bottom: 10%;
}


@media only screen and (max-width: 768px) {
    .total-container {
        padding-top: 20px !important;
    }

    .logo-col {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 0px;
        margin-bottom: 6px;
    }

    .logo-style {
        /* margin-bottom: 4px; */
        width: 80%;
        padding-left: 12px;
        /* margin-: 4%; */

    }

    .mainhead-h1 {
        /* padding-left: 20px; */
        font-size: 35px;
        margin-top: 33px;
    }

    .mainhead-p {
        font-size: 15px;
        /* padding-left: 20px !important; */
        padding: 0px 45px 0px 0px;
    }

    .teamImgHeight {
        height: auto !important;
    }

    .mainHead {
        display: flex;
        flex-direction: column;
        /* align-items: center; */
        padding-left: 20px !important;
        justify-content: center;
    }

    .backgroundColor {
        justify-content: center;
    }

    .image-container {
        height: 450px;
    }

    .slide-style {
        height: 350px;
    }

    .slide {
        padding: 0px;
    }

    .number {
        padding: 0px 7px 0px 7px;
        position: absolute;
        margin-left: 60%;
    }

    .numer-content {
        padding: 0px 60px;
    }

    .number-style {
        font-size: 176px;
    }

    .first {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .second {
        font-size: 12px;
        padding-right: 70px;
        margin-bottom: 10px;
    }

    .third {
        font-size: 10px;
        padding-right: 70px;
    }

    .bothArrowImg {
        width: 15px;
    }

    .right-arrow {
        padding: 2%;
        right: 3.5%;
    }

    .left-arrow {
        padding: 2%;
        left: 3.5%;
    }

    .main-about-head {
        font-size: 30px;
        line-height: 1.2;
        margin-top: 15%;
    }

    .sub-about-head {
        padding: 0px;
        font-size: 13px;
    }

    .main-team-head {
        font-size: 12px;
        margin: 25px 0px;
    }

    .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-item {
        padding: 10%;
    }

    .person-name {
        text-align: center;
        margin: 10px 0px;
    }

    .teamPhoto {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .media-a-style {
        font-size: 15px;
    }

    .footer-icons {
        margin-bottom: 10px;
    }

    .person-info {
        font-size: 13px;
    }

    .social-media {
        padding: 10%;
    }

    .social-media-item {
        padding: 8%;
    }

    .media-span {
        font-size: 15px;
    }

    .arrowInSocial {
        width: 30px;
    }

    /* footer */

    .footer-icons {
        margin-bottom: 50px;
    }

    .map-headings {
        margin-bottom: 7%;
    }

    .map-sub-head {
        font-size: 15px;
    }

    .map-headings-join {
        margin-bottom: 5%;
        margin-top: 7%;
    }

    .map-p-style-2 {
        font-size: 15px;
    }

    .subscription-style {
        text-align: center;
        font-size: 10px;
    }

    .copyright-p-style {
        font-size: 10px;
        text-align: center;
    }

    .input-in-footer {
        padding: 4% 5%;
    }

    .subscribe-btn-footer {
        padding: 4% 20%;
    }
}

@media (min-width: 600px) and (max-width: 1000px) {

    .right-arrow {
        right: 2.5%;
    }

    .slide {
        padding-right: 10% !important;
        padding-left: 0px;
    }

    .left-arrow{
        left: 2.5%;
    }

    .mainhead-p {
        padding: 0% 30% 0% 0%;
    }

    .first{
        font-size: 50px;
    }

    .second,.sub-about-head{
        font-size: 19px;
    }

    .main-about-head{
        line-height: 1;
        font-size: 50px;
        margin-top: 15%;
    }

    .grid-container{
        grid-template-columns: repeat(1, 1fr);
    }
}