.hero-section {
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 49.85%, rgba(69, 63, 133, 0.12) 91.75%);
    position: relative;
    display: flex;
    align-items: end;
}

.hero-section .hero-bg {
    position: absolute;
    top: 50%;
    left: 60%;
    width: 40%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.1;
}

.hero-section-side-img-card {
    width: 100%;
    height: auto;
    text-align: center;
}

.hero-section-side-img {
    width: 100%;
    height: auto;
    display: inline-block;
}

.hero-content .hero-heading {
    color: var(--secondary-bg);
}


.why-choose-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 49.85%, rgba(69, 63, 133, 0.12) 91.75%);
    position: relative;
}


.why-choose-section .section-title {
    color: var(--primary-bg);
    font-weight: 800;
    text-align: left;
}

.why-choose-section .section-tagline,
.success-stories-section .section-tagline {
    color: var(--secondary-bg);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 0px;
}

.why-choose-section .hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 1;
}

.why-choose-section .side-image {
    width: 85%;
}

.why-choose-section .counter-item {
    transition: transform 0.3s;
}

.why-choose-section .counter-item:hover {
    transform: translateY(-10px);
}


.why-choose-section .counter-number {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-bg);
}

.why-choose-section .counter-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.success-stories-section h2 {
    color: #2c2c2c;
}

.success-stories-section .text-primary {
    color: var(--secondary-bg) !important;
}

.success-stories-section .story-card {
    background-color: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    padding: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.success-stories-section .story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border: none;
}

.success-stories-section .story-card .story-title {
    order: 1;
}

.success-stories-section .story-card img {
    width: 75%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    order: 2;
}

.success-stories-section .story-card p {
    line-height: 29px;
    height: calc(29px * 3);
    /* 4 lines x line height */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    display: flex;
    order: 3;
}

.success-stories-section .story-card .explore-button {
    font-size: 14px;
    order: 4;
}



.appointment-section {
    background:
        linear-gradient(267.65deg, rgba(255, 255, 255, 0) -59.32%, #453F85 61.28%),
        url(../images/background-image-1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.appointment-info h2 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.appointment-info p {
    color: #fff;
    font-size: 18px
}

.appointment-section .appointment-form {
    background: #ffffff94;
    padding: 10px;
    border-radius: 18px;
    margin: 0;
    box-shadow: 0 0 35px #d0d0d04d
}

.appointment-section .appointment-form .appointment-form-title {
    color: var(--secondary-bg);
    padding-left: 20px;
    font-size: 24px;
    text-align: left;
}

.appointment-section .appointment-form .form-control {
    border-color: transparent;
    border-radius: 8px !important;
    font-size: 16px;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    color: rgba(0, 0, 0, .9);
    border-color: #b5b5b5;
    height: 35px;
}

.appointment-section .appointment-form .form-control:focus {
    border-color: var(--secondary-bg)
}

.appointment-section .appointment-form .icon-input {
    position: relative
}

.appointment-section .appointment-form .icon-input i {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 15px;
    line-height: 1;
    color: var(--secondary-bg)
}

.appointment-section .appointment-form textarea.form-control {
    height: 80px;
    resize: none
}


.testimonial {
    background: #fff;
    position: relative;
    z-index: 1
}

.testimonial-bx {
    width: 70%;
    margin: auto;
    background: #f8f7ff;
    padding: 20px;
    border-radius: 25px;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; */
    text-align: center;
    position: relative;
    margin-bottom: 140px;
    border: 1px solid #d2d0e9;
    padding-bottom: 40px;
}

.testimonial-bx .rating span {
    color: #ffbe00;
    font-size: 20px;
    -webkit-text-stroke: 1px #ff9d00;
}

.designation {
    position: absolute;
    bottom: -140px;
    /* adjust as needed */
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
}


.testimonial-bx .designation figure {
    width: 70px;
    height: 70px;
    border-radius: 45px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #b5b4c9;

}

.testimonial-bx .designation h3 {
    font-size: 18px
}

.testimonial-bx .designation h3 span {
    font-size: 15px;
    font-weight: 500;
    display: block;
    margin-top: 5px;
    color: var(--theme-color);

}

.testimonial-bx .testimonial-review-para {
    color: var(--theme-color);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    min-height: calc(1.4em * 3);
    max-height: calc(1.4em * 3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.home-accordion-links {
    background: linear-gradient(180deg, rgba(233, 232, 241, 1) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    z-index: 1
}

.home-accordion-links .side-image {
    width: 80%;
    height: auto;
}

.home-accordion-links .cstm-accordion {
    max-width: 650px;
}

.cstm-accordion .accordion-button {
    color: var(--secondary-bg) !important;
    border-radius: 0px !important;
    background: transparent !important;
    padding: 14px 18px;
    font-size: 16px;
    border-bottom: 1px solid var(--secondary-bg);
    font-family: var(--font-family);
}

.cstm-accordion .accordion-button.collapsed {
    background: transparent !important;
    color: var(--secondary-bg)
}

.cstm-accordion>div {
    margin-bottom: 20px;
    border: none;
    background: #fff0
}

.appointment_new_form .custom-checkbox input:checked~.checkmark,
.ftr_info span {
    background: #fff
}

.cstm-accordion .accordion-button:after {
    font-family: "bootstrap-icons";
    content: "\F64D";
    font-size: 1rem;
    position: relative;
    transition: transform 0.2s ease;
    background-image: none !important;
}

.cstm-accordion .accordion-button:not(.collapsed):after {
    transform: rotate(135deg);
}

.cstm-accordion .accordion-button:active,
.cstm-accordion .accordion-button:focus {
    background: none !important;
    box-shadow: none;
    outline: none;
    border-bottom: 1px solid var(--secondary-bg);
    color: var(--secondary-bg);

}

@media screen and (max-width:999px) {
    .hero-section .hero-bg {
        left: 50%;
        width: 100%;
    }

    .why-choose-section .counter-label {
        font-size: 16px;

    }

}

@media (min-width: 756px) and (max-width: 999px) {
    .hero-content .hero-heading {
        font-size: 30px;
    }
}



@media screen and (max-width:765px) {

    .hero-section-side-img {
        width: 70%;
        margin: auto;
    }

    .home-page-services .para {
        width: 100%;
    }

    .why-choose-section .section-title {
       text-align: center;
    }

    .why-choose-section .section-tagline,
    .success-stories-section .section-tagline {
       
        text-align: center;
    }

    .why-choose-section .counter-label {
        font-size: 14px;
    }

    .why-choose-section .counter-item {
        text-align: center;
    }

    .success-stories-section .story-card {
        background-color: rgb(236 235 255);
    }

    .success-stories-section .story-card .story-title {
        order: 2;
    }

    .success-stories-section .story-card img {
        width: 100%;
        border-radius: 10px;
        order: 1;
    }

    .success-stories-section .story-card p {
        display: none;
    }

    .appointment-section .appointment-form .appointment-form-title {
        text-align: center;
    }

    .testimonial-bx {
        padding: 20px;
        padding-bottom: 40px;
        width: 100%;
    }

    .testimonial-bx .testimonial-review-para {
        min-height: calc(1.4em * 5);
        max-height: calc(1.4em * 5);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
    }

}

@media screen and (max-width:576px) {
    .hero-section-side-img {
        width: 100%;
        margin: auto;
    }
}