html {
    overflow-x: hidden;
}
.home-form-container {
    /* background-color: red; */
    color: #000;
    background: #2a7b9b;
    border: 1px solid white;
    background-image: linear-gradient(1deg, #fafafa 0%, #345a97 100%);
    /* background-image: linear-gradient(to right, #00f1fe34 0%, #4facfe 100%); */
    padding: 2rem;
    border-radius: 2rem;
}
.home-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.home-dropdown ul {
    max-height: 250px;
    overflow-y: auto !important;
}

.home-dropdown ul li {
    width: 250px;
    white-space: normal;
    word-break: break-word;
    position: relative;
}
.home-dropdown ul li::after {
    content: "";
    height: 1px;
    background-color: rgb(221, 217, 217);
    position: absolute;
    left: 10px;
    right: 10px;
    top: 0;
    bottom: 0;

    /* bottom: 0; */
}
.home-form-btn {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.home-form-btn svg {
    display: inline-block;
    transform: translate(0, 0) rotate(30deg);
    transition: transform 0.4s ease-in-out;
}

.home-form-btn:hover svg {
    transform: translate(150%, -300%) rotate(30deg);
}
.home-banner-list-container {
    margin-left: 2rem;
}
.home-banner-list-container li {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: transform 0.2s ease-in-out;
}
.home-banner-list-container li:hover {
    transform: translateX(5px);
}
.card-container {
    width: 100%;
    display: flex;

    /* justify-content: flex-end; */
    /* background-color: red; */
    /* margin-top: 2rem; */
    /* align-items: flex-start; */
}
.home-card {
    display: flex;

    min-height: 50vh;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    gap: 1rem;
    margin: 2rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.home-card:hover {
    /* transform: scale(1.01); */
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.home-card-content {
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    margin: 3rem;
}
.home-card-content p {
    font-size: 1.5rem;
    line-height: 3rem;
}
.home-card-img {
    width: 50%;
    max-height: 50vh;
    /* background-color: red; */
}
.home-card-img img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

/* Testimonials Section */
.reviews__testimonials {
    padding: 0rem 5.5rem;

    background-color: #ffffff;
}

.reviews__testimonials__container {
    max-width: 100vw;
    /* overflow-x: hidden; */
    overflow: hidden;
    /* margin: 0 auto; */
    position: relative;
}

.reviews__testimonials__grid {
    padding-top: 5rem;
    display: flex;
    justify-content: flex-start;

    /* gap: 2rem; */

    transition-duration: 300ms;
}
.reviews__testimonial__card__outerlayer {
    padding: 2rem;
    width: 500px;
    /* background-color: red; */
}

.reviews__testimonials__arrow__container {
    position: absolute;
    top: 5rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}
/* #our-service-changeable-content-container {
    min-height: 80vh;
    display: grid;
    place-content: center;
    border: 1px dashed black;
    border-radius: 2rem;
    background: #f6cbf7;
    background: radial-gradient(
        circle,
        rgba(246, 203, 247, 0.78) 7%,
        rgba(246, 252, 254, 1) 69%,
        rgba(255, 255, 255, 1) 69%
    );
    cursor: pointer;
    transition-duration: 200ms;
} */
/* #our-service-changeable-content-container:hover {
    transform: scale(1.02);
} */
#our-service-list-container li {
    cursor: pointer;
    transition-duration: 100ms;

    color: rgb(133, 0, 195);
}
#our-service-list-container li:hover {
    transform: translateX(0.2rem);
}

.reviews__testimonials__left__arrow,
.reviews__testimonials__right__arrow {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.reviews__testimonials__left__arrow:hover,
.reviews__testimonials__right__arrow:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

.reviews__testimonials__left__arrow svg,
.reviews__testimonials__right__arrow svg {
    width: 20px;
    height: 20px;
    fill: #37578a;
}

.reviews__testimonial__card {
    position: relative;
    height: 100%;
    min-width: calc(500px - 2rem);
    background: linear-gradient(135deg, #e3f0ff, #f3e6ff);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.reviews__testimonial__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.reviews__testimonial__card::before {
    content: "“";
    position: absolute;
    top: 25%;
    left: 20px;
    font-size: 8rem;
    color: rgba(55, 87, 138, 0.1); /* soft faded blue */
    z-index: 0;
    font-family: Georgia, serif;
}
.reviews__testimonial__card > * {
    position: relative;
    z-index: 1;
}

/* Enhance text */
.reviews__testimonial__card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.reviews__testimonial__card p {
    font-size: 1rem;
    color: #4b4b4b;
    line-height: 1.7;
}

.reviews__testimonial__rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

#write-my-paper-steps li {
    cursor: pointer;
    transition-duration: 100ms;
}
#write-my-paper-steps li:hover {
    transform: scale(1.03);
}

/* paralex effect ************************************************************************************************* */

.horizontal-card h2,
.horizontal-card p {
    text-align: left;
}

.horizontal-card {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;

    gap: 2rem;
}

.horizontal-content,
.horizontal-image {
    flex: 1;
}
.horizontal-content p {
    text-indent: 2rem;
    font-size: medium;
    margin-top: 1rem;
}
.horizontal-image {
    border-radius: 2rem;
    overflow: hidden;
}
.horizontal-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.horizontal-card ul {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    font-size: medium;
    font-weight: 100;
    margin-left: 2rem;
}

.horizontal-card ul li {
    color: black;
    display: block;
}
.research-content {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    font-size: medium;
    font-weight: 100;
    margin-left: 2rem;
}

.horizontal-scroll-container p {
    text-inden: 2rem;
}
.text-indent {
    text-indent: 2rem;
    margin-top: 1rem;
}

@media only screen and (max-width: 800px) {
    .horizontal-card {
        flex-direction: column;
    }

    .home-card {
        flex-direction: column; /* Redundant with Bootstrap but good fallback */
        width: 100%;
    }

    .home-card-img,
    .home-card-content {
        width: 100%;
    }

    .home-card-img img {
        height: auto;
    }

    .home-card-content {
        text-align: center;
        padding-right: 0;
        padding-top: 0;
    }

    .home-card-content button {
        width: 100%;
    }

    .home-card-content h2 {
        font-size: 1rem !important;
    }
    .home-card-content p {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .home-card-img {
        width: 100%;
        /* background-color: red; */
    }
}

@media only screen and (max-width: 480px) {
    .reviews__testimonial__card {
        min-width: 90vw;
    }
    .reviews__testimonials__left__arrow,
    .reviews__testimonials__right__arrow {
        width: 30px;
        height: 30px;
    }

    .reviews__testimonials__left__arrow svg,
    .reviews__testimonials__right__arrow svg {
        width: 14px;
        height: 14px;
    }

    .reviews__testimonials__arrow__container {
        top: 6rem;
        right: 0.5rem;
    }
    .reviews__testimonial__card__outerlayer {
        width: 90vw;
        /* background-color: red; */
    }

    .reviews__testimonial__card {
        /* width: 100%; */
        min-width: calc(90vw - 2rem);
    }
}
