@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Figtree:ital,wght@0,300..900;1,300..900&family=Outfit:wght@100..900&family=Quicksand:wght@300..700&display=swap");

body {
    font-family: "Figtree" !important;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    background-color: #f9f9f9;
    color: #333333 !important;
}

/* banner section */
.banner {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    color: white;
    z-index: -1;
}

.banner h1 {
    font-size: 2.5em;
    margin: 0;
    z-index: 1;
    font-weight: 600;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* contents */
.content {
    padding: 30px 20px;
    text-align: center;
    /* border: 2px solid red; */
}

.content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    /* border: 2px solid red; */
}

.content h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 20px;
    /* border: 2px solid red; */
}

.content p {
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.content .section-title {
    /* border: 2px solid red; */
    font-weight: 600;
    margin-bottom: 20px;
}

/* team section */
.team-section {
    padding: 20px 40px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    /* border: 2px solid red; */
    font-weight: 600;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.team-member img {
    width: 100%;
    max-width: 353px;
    max-height: 350px;
    display: block;
    border-radius: 10px;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 10px;
    text-align: left;
    border-radius: 10px;
    width: 353px;
}

.team-overlay h3,
.team-overlay p {
    margin-left: 15px;
    margin-bottom: 0;
    margin-top: 0;
}

.team-overlay h3 {
    margin-top: 0;
    font-weight: 600;
    font-size: 1.25em;
}

/* testimonial section */
.testimonial-section {
    padding: 60px 40px;
    text-align: center;
    /* border: 2px solid red; */
}

.testimonial-section h2 {
    font-size: 2em;
    margin-bottom: 40px;
    /* border: 2px solid red; */
    font-weight: 600;
}

.testimonial-container {
    display: flex;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    /* border: 5px solid red !important; */
}

.testimonial-slider {
    display: flex;
    transition: transform 2s ease-in-out;
    /* border: 5px solid blue !important; */
    width: max-content;
}

.testimonial {
    min-width: 30%;
    max-width: 30% !important;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    gap: 10px;
    align-items: start;
    text-align: center;
    /* width: 350px; */
    max-width: 200px !important;
    height: auto;
    /* border: 3px solid greenyellow; */
}

.testimonial div {
    padding-top: 0;
    text-align: left !important;
    flex-direction: column;
    align-items: flex-start !important;
}

.testimonial img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.testimonial p {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.testimonial h3 {
    font-size: 1em;
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial small {
    font-size: 0.8em;
    color: #777;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.testimonial-nav button {
    background: none;
    border: none;
    font-size: 1em;
    cursor: pointer;
    color: #333;
}

.testimonial-nav button img {
    width: 70px;
}

/* author section */
.author-story {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    gap: 40px;
    flex-wrap: wrap;
}

.author-story img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.author-story-text {
    max-width: 600px;
}

.author-story-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.author-story-text p {
    font-size: 1em;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 2em;
    }

    .content h2 {
        font-size: 1.5em;
    }

    .content p {
        font-size: 0.9em;
        margin: 0 auto 30px auto;
    }

    .team-member {
        width: calc(50% - 20px);
    }

    .author-story {
        flex-direction: column;
        text-align: center;
    }

    .author-story-text {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .banner h1 {
        font-size: 1.5em;
    }

    .content h2 {
        font-size: 1.2em;
    }

    .content p {
        font-size: 0.8em;
        margin: 0 auto 20px auto;
    }

    .team-member {
        min-width: 300px;
        max-width: 400px;
        margin: auto;
        display: grid;
        grid-template-columns: 1fr;
    }

    .author-story,
    .team-section,
    .content {
        padding: 20px;
    }

    .author-story h2,
    .team-section h2 {
        margin-top: 0;
    }

    .testimonial {
        min-width: 100%;
    }

    .testimonial-nav button {
        font-size: 1.5em;
    }

    .testimonial {
        min-width: 17%;
        box-sizing: border-box;
        padding: 20px;
        width: 320px;
        height: auto;
    }

    .testimonial-section {
        /* border: 3px solid red; */
        padding: 30px 10px;
    }
}

/* callback section with rwd */
body {
    font-family: "Figtree";
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    background-color: #f9f9f9;
}

.call-back-section-container {
    /* border: 3px solid red; */
    margin: 40px 20px;
    /* width: 100%; */
    display: grid;
    place-items: center;
}

.call-back-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    /* margin: 60px; */
    background: linear-gradient(
        90deg,
        rgb(193, 197, 223) 0%,
        rgb(160, 188, 233) 50%,
        rgb(115, 174, 252) 100%
    );
    color: white;
    border-radius: 10px;
    flex-wrap: wrap;
    max-width: 1100px;
    width: 100%;
}

.call-back-section img {
    /* width: 50px; */
    margin-right: 20px;
    margin-bottom: 25px;
}

.call-back-text {
    max-width: 400px !important;
    /* border: 3px solid red; */
}
.call-back-text h2,
.call-back-text p {
    color: black;
}

.call-back-text h2 {
    font-size: 2.2em !important;
    font-weight: 700;
    margin-bottom: 20px;
}

.call-back-text p {
    font-size: 1em !important;
    /* font-weight: 700; */
}

.call-back-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    /* border: 3px solid red; */
    margin-top: auto;
}

.call-back-form .form-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-group input {
    background-color: #ffffff !important;
}

.form-group-1 input {
    width: 100%;
    max-width: 240px;
    border-radius: 5px;
}

.form-group-2 {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #ffffff;
    /* border: 2px solid red; */
}

.call-back-form .form-group input,
.call-back-form .form-group select {
    padding: 10px;
    border: none;
    font-size: 1em !important;
    outline: none; /* Ensure no outlines on focus */
    background-color: transparent;
}

.call-back-form select {
    width: 70px;
}

.call-back-form input[type="tel"] {
    flex: 1;
}

.call-back-form input[type="submit"] {
    background-color: #4b38f2;
    color: white !important;
    cursor: pointer;
    border-radius: 50px;
    border: none;
    max-width: 200px;
}

.form-submit-btn {
    width: 150px;
    padding: 10px;
    font-size: 1.25em !important;
}

.call-back-form .form-group-2 select {
    /* border: 3px solid red !important; */
    color: black !important;
    font-size: .9em !important;
}
.call-back-form input {
    color: #333333 !important;
}

@media (max-width: 1200px) {
    .call-back-section {
        /* border: 3px solid red; */
        padding: 40px;
        flex-direction: column;
        text-align: center;
    }

    .call-back-form input[type="submit"] {
        margin: 0 auto;
    }

    .call-back-section img {
        /* border: 3px solid red; */
        margin: auto;
    }
    .call-back-text p {
        font-size: 1em !important;
        margin-bottom: 20px;
    }
    .call-back-section img {
        margin-bottom: 25px !important;
    }
}

@media (max-width: 700px) {
    .form-group-1 input {
        width: 100%;
        max-width: 100%;
        border-radius: 5px;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .call-back-section {
        padding: 40px 20px;
        /* border: 3px solid red; */
        margin: 20px;
    }
    .form-group-2 input {
        width: 100px !important;
    }
}