﻿.main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    align-content: stretch;
    position: relative;
}

.leftside {
    flex: 70%;
    width: 100%;
    height: 80vh;
    display: grid;
    justify-content: center;
    align-items: center;
    background: #fff url('../images/landing/updated_landing.jpg') no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.leftside h1 {
    background: rgb(5 87 150 / 70%);
    font-size: 40px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: #fff;
}

.rightside {
    flex: 30%;
    width: 100%;
    height: 80vh;
    display: grid;
    justify-content: center;
    align-items: center;
}

.rightside .rightbox {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 40px;
    max-width: 500px;
}

.form_wraper h2 {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}

.form-group {

}

.form_input {
    width: 100%;
    padding: 5px 10px;
    margin: 5px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #000;
}
.form_input::placeholder {
    color: #aaa;
    font-family: sans-serif;
}
.form_input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
}

.enquire_submitBtn {
    text-transform: uppercase;
    width: 100%;
    cursor: pointer;
    color: #fff;
    background-color: #F83E1F;
    border-color: #F83E1F;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 1.5rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.enquire_submitBtn:hover {
    background-color: #e03c1c; /* Slightly darker shade of the original color */
    border-color: #e03c1c;
    color: #fff; /* Ensure text color remains white */
}

.enquire_submitBtn:focus, .enquire_submitBtn:hover {
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .main {
        height: auto;
    }

    .leftside {
        height: auto !important;
        background-attachment: scroll;
    }

    .rightside {
        height: auto;
    }

    .rightbox {
        padding: 20px;
    }

    .leftside h1 {
        font-size: 32px;
    }
}

@media (max-width: 1200px) {
    .main {
        height: auto;
    }
    .leftside, .rightside {
        flex: 100%;
    }

    .leftside {
        height: 80vh !important;
        background-attachment: scroll;
    }

    .rightside {
        height: auto;
    }

    .rightbox {
        padding: 20px;
        width: 500px !important;
        margin: 0 auto !important;
    }

    .leftside h1 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .main {
        height: auto;
    }
    .leftside, .rightside {
        flex: 100%;
    }

    .leftside {
        height: 50vh !important;
        background-attachment: scroll;
    }

    .rightside {
        height: auto;
    }

    .rightbox {
        padding: 20px;
        width: 500px !important;
        margin: 0 auto !important;
    }

    .leftside h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .main {
        height: auto;
    }
    .leftside, .rightside {
        flex: 100%;
    }

    .leftside {
        height: auto;
        background-attachment: scroll;
    }

    .rightside {
        height: auto;
    }

    .rightbox {
        padding: 15px;
    }

    .leftside h1 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .main{
        height: auto;
    }
    .leftside, .rightside {
        flex: 100%;
    }

    .leftside {
        height: 50vh !important;
        background-attachment: scroll;
    }

    .rightside {
        height: auto;
    }

    .rightbox {
        padding: 10px !important;
        width: 100% !important;
    }

    .leftside h1 {
        font-size: 20px !important;
    }
}

.parallax {
    background-image: url("../images/about-banner.jpg");
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: left;
    align-items: center;
    padding: 0px 10px;
    display: flex;
}

.about-content {
    background: #fff;
    padding: 25px;
    width: 45%;
    height: 50vh;
}

/* Responsive styles */
@media (max-width: 1400px) {
    .about-content {
        width: 60%;
        height: auto;
        padding: 20px;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .about-content {
        width: 60%;
        height: auto;
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    .parallax {
        background-attachment: scroll;
        min-height: 400px;
    }

    .about-content {
        width: 70%;
        height: auto;
        padding: 20px;
    }
}

@media (max-width: 912px) {
    .parallax {
        background-attachment: scroll;
        min-height: 400px;
    }

    .about-content {
        width: 80%;
        height: auto;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
        min-height: 350px;
        padding: 0px 5px;
        flex-direction: column;
        justify-content: center;
    }

    .about-content {
        width: 90%;
        height: auto;
        padding: 15px;
        margin-top: 10px;
    }

}

@media (max-width: 576px) {
    .parallax {
        background-attachment: scroll;
        min-height: 300px;
        padding: 0px 5px;
        flex-direction: column;
        justify-content: center;
    }

    .about-content {
        width: 95%;
        height: auto;
        padding: 15px;
        margin-top: 10px;
    }
}

/*-----------------------------------------------------------------------------------------------------*/

#whyChooseUs {
    padding: 20px 40px;
    background-color: #f9f9f9;
}

.whyChooseUs-title {
    color: #000;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.whyChooseUs-container {
    width: 100%;
    padding: 20px;
    height: auto;
}

.whyChooseUs-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.whyChooseUs-flex-item {
    flex: 0 1 calc(33.333% - 20px); /* 3 columns with spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.whyChooseUs-icon-card {
    background-color: #3798d3;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    text-align: left;
}

.whyChooseUs-icon-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.whyChooseUs-icon-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

/* Center the last item in the row on large devices */
.whyChooseUs-flex-item:nth-last-child(1) {
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .whyChooseUs-flex-item {
        flex: 0 1 calc(50% - 20px); /* 2 columns with spacing */
    }

        .whyChooseUs-flex-item:nth-last-child(1) {
            margin-left: initial;
            margin-right: initial;
        }
}

@media (max-width: 768px) {
    .whyChooseUs-flex-item {
        flex: 0 1 calc(100% - 20px); /* 1 column with spacing */
    }

        .whyChooseUs-flex-item:nth-last-child(1) {
            margin-left: initial;
            margin-right: initial;
        }

    .whyChooseUs-icon-card {
        padding: 10px 15px;
    }

    .whyChooseUs-icon-title {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .whyChooseUs-icon-card {
        padding: 10px 10px;
    }

    .whyChooseUs-icon-title {
        font-size: 0.875rem;
    }
}

/*-----------------------------------------------------------------------------------------------------*/

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}

.flex-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.flex-item-half {
    flex: 1 1 50%;
}

.globalStar, #OfferSect {
    width: 100%;
    height: 100%; /* Ensuring both sections stretch equally */
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-image {
    flex: 0 0 auto;
    margin-right: 15px;
}

.flex-content {
    flex: 1 1 auto;
}

.global_slider img, .promiseSlider1 img {
    width: 100%;
    height: auto;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .flex-content h2 {
        font-size: 1.5rem;
    }

    .flex-content p {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .flex-container {
        flex-direction: column;
        height: auto; /* Ensuring main container can expand */
    }

    .flex-item-half {
        flex: 1 1 100%;
        height: 50vh; /* Ensuring equal height for both sections */
    }

    .globalStar, #OfferSect {
        height: 100%; /* Ensure child sections fill the parent */
    }

    .flex-content h2 {
        font-size: 1.5rem;
    }

    .flex-content p {
        font-size: 1rem;
    }
}

@media (max-width: 912px) {
    .flex-container {
        flex-direction: column;
        height: auto; /* Ensuring main container can expand */
    }

    .flex-item-half {
        flex: 1 1 100%;
        height: auto; /* Allowing the content to determine the height */
    }

    .globalStar, #OfferSect {
        height: 100%; /* Ensure child sections fill the parent */
    }

    .flex-content h2 {
        font-size: 1.5rem;
    }

    .flex-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        height: auto; /* Ensuring main container can expand */
    }

    .flex-item-half {
        flex: 1 1 100%;
        height: auto; /* Allowing the content to determine the height */
    }

    .globalStar, #OfferSect {
        height: 100%; /* Ensure child sections fill the parent */
    }

    .flex-content h2 {
        font-size: 1.5rem;
    }

    .flex-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .flex-container {
        flex-direction: column;
        height: auto; /* Ensuring main container can expand */
    }

    .flex-item-half {
        flex: 1 1 100%;
        height: auto; /* Allowing the content to determine the height */
    }

    .globalStar, #OfferSect {
        height: 100%; /* Ensure child sections fill the parent */
    }

    .flex-content h2 {
        font-size: 1.5rem;
    }

    .flex-content p {
        font-size: 1rem;
    }
}

/*-----------------------------------------------------------------------------------------------------*/

#successStories {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}
.successStories-container {
    max-width: 800px;
    margin: 0 auto;
}
.successStories-title {
    color: #000;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.successStories-subtitle {
    color: #d9534f;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.successStories-description {
    color: #333;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.successStories-author {
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 30px;
}
.successStories-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.successStories-logos img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsive styles */
@media (max-width: 768px) {
    .successStories-title {
        font-size: 2rem;
    }
    .successStories-subtitle {
        font-size: 1.25rem;
    }
    .successStories-description {
        font-size: 0.875rem;
    }
    .successStories-author {
        font-size: 0.875rem;
    }
    .successStories-logos img {
        width: 80px;
        height: 80px;
    }
}
@media (max-width: 576px) {
    .successStories-title {
        font-size: 1.75rem;
    }
    .successStories-subtitle {
        font-size: 1rem;
    }
    .successStories-description {
        font-size: 0.75rem;
    }
    .successStories-author {
        font-size: 0.75rem;
    }
    .successStories-logos img {
        width: 60px;
        height: 60px;
    }
}

/*-----------------------------------------------------------------------------------------------------*/

#timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    position: relative;
}

.timeline-item {
    text-align: center;
    flex: 1;
    margin: 0 10px;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background-color: #000;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    top: -20px;
}

.timeline-content {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .timeline-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #333;
    }

    .timeline-content p {
        font-size: 0.9rem;
        color: #666;
    }

.timeline-icon {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 8px;
    margin: 0 auto 10px auto;
    padding: 10px;
}

    .timeline-icon img {
        max-width: 100%;
        height: auto;
    }

.red {
    border-color: red;
}

.green {
    border-color: green;
}

.blue {
    border-color: blue;
}

.grey {
    border-color: grey;
}

@media (max-width: 768px) {
    #timeline {
        flex-direction: column;
        align-items: center;
    }

    .timeline-item {
        margin-bottom: 20px;
    }
}

/*-----------------------------------------------------------------------------------------------------*/