.main-container-sections {
    max-width: 95%;
    width: 95%;
}

.fidelity-col {
    background-image: url(../images/banner-fidelity.png);
    height: calc(100vh - 225px);
    background-size: cover;
    border-radius: 30px;
    position: relative;
    background-position: center;
}

section.section-1-fidelity {
    margin: 25px 0;
}

.text-fidelity {
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
    color: #fff;
}

.text-fidelity h2 {
    font-family: "Roboto-reg";
    font-size: 1rem;
    text-transform: uppercase;
    color: rgba(241, 250, 255, 1);
}

.text-fidelity h1 {
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(241, 250, 255, 1);
}

.text-fidelity p {
    font-family: "Roboto-reg";
    font-size: 1rem;
    font-weight: 400;
    width: 70%;
    color: rgba(241, 250, 255, 1);
    margin: auto;
}

.text-container {
    display: inline-block;
    position: relative;
    height: 5rem;
    vertical-align: top;
    text-align: left;
    overflow: hidden;
}
/* Wrapper with dynamic height based on text */
.words-wrapper {
    /* display: inline-block; */
    height: 0.9em;
    overflow: hidden;
    position: relative;
    line-height: 1;
  }
  
  /* Animated words container */
  .words {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
  }
  
  /* Each word */
  .words span {
    display: block;
    height: 1em;
    line-height: 1;
    white-space: nowrap;
  }
  
  
/* .banner-title {
    display: block;
    animation: slideUp 7s infinite;
}

@keyframes slideUp {
    0% {
        transform: translateY(0%);
        opacity: 1;
    }

    25% {
        transform: translateY(-100%);
        opacity: 1;
    }

    33.33% {}

    34% {
        transform: translateY(-100%);
    }

    35% {
        transform: translateY(-100%);
        opacity: 1;
    }

    60% {
        transform: translateY(-200%);
        opacity: 1;
    }

    66.66% {}

    67% {
        transform: translateY(-200%);
    }

    68% {
        transform: translateY(-200%);
        opacity: 1;
    }

    90% {
        transform: translateY(0%);
        opacity: 1;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}
 */


  
.arr-cir {
    position: absolute;
    bottom: 35px;
    left: 35px;
}


/* first sections ends  */


/* second section strats  */

section.section-2-fidelity {
    padding: 35px 0;
}

.fidelity-exp h2 {
    font-size: 4rem;
    line-height: 4.8rem;
    color: #000;

}

.fidelity-exp p {
    font-size: 1rem;
    line-height: 1.4rem;
    color: #000;
    font-family: "Roboto-reg";
    width: 85%;
}

.card-fid {
    background: rgb(44, 144, 249);
    background: -moz-linear-gradient(180deg, rgba(44, 144, 249, 0) 0%, rgba(44, 144, 249, 0.33657212885154064) 80%);
    background: -webkit-linear-gradient(180deg, rgba(44, 144, 249, 0) 0%, rgba(44, 144, 249, 0.33657212885154064) 80%);
    background: linear-gradient(180deg, rgba(44, 144, 249, 0) 0%, rgba(44, 144, 249, 0.33657212885154064) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2c90f9", endColorstr="#2c90f9", GradientType=1);
    padding: 25px;
    border-radius: 20px;
}

.g-2 {
    column-gap: 20px;
}

.card-fid p {
    margin-bottom: 0;
    padding-top: 50px;
    font-family: "Roboto-reg";
    font-size: 1.2rem;
}

.contact-us {
    margin-top: 25px;
}

.contact-us a {
    background: #003163;
    color: rgba(241, 250, 255, 1);
    border: 0;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: unset;
    padding: 15px 40px;
    position: relative;
    color: white;
    background: #003163;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: background 0.3s ease;
    font-family: "Roboto-reg";

}

.contact-us a:focus {
    outline: 0;
}


.contact-us a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.2) 100%);
    transform: skewX(30deg);
    z-index: 2;
    transition: left 0.5s ease;
}

.contact-us a:hover::before {
    left: 130%;
}



/* logo section starts */


.logo-bg-section {
    height: auto;
    background: url(../images/fid-Partners.png) no-repeat center center/cover;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 85px;
    padding: 30px 0;
}

.logo-row {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
}

.logo-row:nth-child(2) .logo-track {
    animation-delay: -20s;
    /* start halfway for offset loop effect */
}

.logo {
    height: 80px;
    margin: 0 150px;
    opacity: 0.9;
    animation: float 4s ease-in-out infinite alternate;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.1);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0px);
    }
}

.logo-section h2 {
    text-align: center;
    font-size: 4rem;
    line-height: 4.8rem;
    color: rgba(241, 250, 255, 1);
    padding: 30px 0;
}

/* counter section  */

.section-1-fidelity-counter {
    background-image: url(../images/Partners.png);
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 65px 0 0;
    background-position: top;
}

.section-1-fidelity-counter h2 {
    text-align: center;
    font-size: 4rem;
    line-height: 4.8rem;
    color: rgba(241, 250, 255, 1);
    padding: 50px 0 15px;
}


.counter-section {
    padding: 0px 20px 30px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.counter-box {
    flex: 1 1 200px;
    margin: 20px;
}

.counter-box h3 {
    color: rgba(241, 250, 255, 1);
    font-size: 5rem;
    font-family: 'Bebas';
}

.counter-box p {
    color: rgba(241, 250, 255, 1);
    font-size: 1.2rem;
    font-family: "Roboto-reg";
}




/* contact */

section.section-1-fidelity-contact h2 {
    font-size: 4rem;
    line-height: 5.5rem;
    color: rgba(241, 250, 255, 1);
    text-align: left;
}

section.section-1-fidelity-contact h2 span {
    font-size: 7rem;
}

.form-container {
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-family: "Roboto-reg";
}

.form-label {
    color: rgba(241, 250, 255, 1);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: "Roboto-reg";
}

.form-control {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(241, 250, 255, 1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.fid-c {
    align-content: center;
    padding-left: 8%;
}

.form-control:focus {
    background-color: transparent;
    border-color: #fff;
    box-shadow: none;
    color: rgba(241, 250, 255, 1);
}

.btn-submit {
    width: 100%;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: unset;
    padding: 15px 40px;
    position: relative;
    color: rgba(241, 250, 255, 1);
    background: #003163;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: background 0.6s ease;
    font-family: "Roboto-reg";
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-submit:focus {
    outline: 0;
}


.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.2) 100%);
    transform: skewX(30deg);
    z-index: 2;
    transition: left 0.9s ease;
}

.btn-submit:hover::before {
    left: 130%;
}

.btn-submit:hover {
    background: #003163;
    color: rgba(241, 250, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}


.error {
    color: #ffaaaa;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.section-1-fidelity-contact input.form-control,
.section-1-fidelity-contact textarea.form-control {
    background-color: #21578f;
}

.section-1-fidelity-contact input.form-control {
    height: 45px;
}

/* media  */

@media (min-width:768px) and (max-width:1024px) {
    .arr-cir {
        width: 85px;
    }

    .text-fidelity {
        width: 100%;
    }

    section.section-1-fidelity {
        margin: 5px 0;
    }

    .fidelity-exp h2 {
        font-size: 3rem;
        line-height: 3.8rem;
    }

    .fidelity-exp h2 br {
        display: none;
    }

    section.section-1-fidelity-contact h2 span {
        font-size: 5rem;
    }

    .section-1-fidelity-counter h2 {
        padding: 20px 0 15px;
    }

    .fidelity-col {
        height: calc(80vh - 120px);
    }

    .text-fidelity h1 {
        font-size: 3.5rem;
    }
}

@media (max-width:767px) {
    .logo {
        margin: 0 50px;
    }

    section.section-1-fidelity {
        margin: 0;
    }

    .text-fidelity h1 {
        font-size: 3rem;
    }

    .text-fidelity {
        width: 95%;
    }

    .text-fidelity p {
        font-size: 0.9rem;
        width: 90%;
    }

    .arr-cir {
        width: 45px;
    }

    .text-fidelity h2 {
        line-height: 1.5rem;
    }

    .fidelity-2-row {
        display: block;
    }

    .fidelity-exp {
        width: 100%;
    }

    .fidelity-exp h2 br {
        display: none;
    }

    .fidelity-for {
        margin-top: 45px;
        width: 100%;
    }

    .fidelity-exp p {
        width: 95%;
    }

    .logo-bg-section {
        padding: 40px 0;
    }

    .fidelity-exp h2,
    .logo-section h2,
    .section-1-fidelity-counter h2 {
        font-size: 3rem;
        line-height: 3.8rem;
    }

    .section-1-fidelity-counter h2 {
        padding: 25px 0 15px;
    }

    section.section-1-fidelity-contact h2 span {
        font-size: 6rem;
    }

    .form-container {

        padding: 20px;
    }


}



/*  */


.section-1-fidelity-contact {
    background-image: url(../images/cont-fid.png);
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 350px 0 30px;
    margin-top: -340px;
}




img.topright {
    position: absolute;
    right: 5%;
    width: 300px;
    z-index: 0;
    top: 0;
}

img.bottomleft {
    position: absolute;
    left: 15%;
    width: 300px;
    bottom: 6%;
    z-index: 0;
}

.trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(255, 255, 255);
    position: relative;
    height: 100h;
    border-radius: 25px;
}

.pin-panel {
    padding: 5rem 2rem;
    padding-top: 0 !important;
}

.cards .card {
    width: 450px;
    height: 400px;
    border: unset;
    border-radius: 16px;
    background-color: transparent;
}



.cards .card:not(:last-child) {
    margin-bottom: 10rem;
}

figure {
    padding: 0;
    margin: 0;
}

.image img {
    display: block;
    margin: auto;
}


.pin-panel .image,
.pin-panel .cards {
    flex-basis: calc(50% - 2rem + 1rem);
}

p.testimonial-text {
    font-size: 0.9rem;
}

p.name {
    margin-bottom: 5px;
}

.pin-panel {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh !important;
}

.devfg {
    display: flex;
    justify-content: center;
    text-align: -webkit-center;
    gap: 25%;
    background-color: transparent;
    background-image: url(../images/fff.PNG);
    background-size: contain;
    border-radius: 25px;
    height: 100vh;
}

.pin-spacer {
    padding-bottom: 0 !important;
}

.section-1-fidelity-counter .main-container-sections {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.section-1-fidelity-contact .container.main-container-sections {
    max-width: 95%;
    width: 95%;
}

.cards.cards-e {
    margin-top: 22%;
}

.pin-panel h2 {
    color: rgba(0, 49, 99, 1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
    font-size: 6rem;
    line-height: 7.5rem;
    font-weight: 600;
    z-index: 99;
}

.testimonial-card {
    color: rgba(241, 250, 255, 1);
    border-radius: 15px;
    padding: 25px 30px;
    max-width: 450px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 99;
    position: relative;
    font-family: 'Roboto-reg';
    text-align: left;
    border: 2px solid rgba(109, 138, 163, 1);
    background: #005EBD;
    background: -webkit-linear-gradient(180deg, rgba(0, 94, 189, 1) 0%, rgba(0, 43, 87, 1) 50%);
    background: -moz-linear-gradient(180deg, rgba(0, 94, 189, 1) 0%, rgba(0, 43, 87, 1) 50%);
    background: linear-gradient(180deg, rgba(0, 94, 189, 1) 0%, rgba(0, 43, 87, 1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#005EBD", endColorstr="#002B57", GradientType=0);
}

.cards.cards-f {
    margin-top: 20px;
}

@media (max-width:1025px) {
    .logo {
        margin: 0 35px;
    }

    .row.fidelity-1-counter {
        width: 95%;
        margin: auto;
    }

    .testimonial-carousel {
        max-width: 100%;
        margin: 40px auto;
    }

    .testimonial-card {
        background: linear-gradient(to bottom, #1c416d, #002b5e);
        border-radius: 20px;
        color: #fff;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .testimonial-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonial-card h4 {
        margin-top: 20px;
        font-size: 1.1rem;
    }

    .testimonial-card small {
        display: block;
        margin-top: 5px;
        font-size: 0.9rem;
        color: #cde3ff;
    }

    .testimonial-section {
        padding: 60px 20px 30px;
        max-width: 800px;
        margin: auto;
        text-align: center;
        background-color: #fff;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .testimonial-section h2 {
        color: rgba(0, 49, 99, 1);
        font-weight: 700;
        padding: 0;
    }

    .testimonial-title {
        font-size: 2rem;
        margin-bottom: 40px;
        color: #002b5e;
    }

    .section-1-fidelity-contact {
        padding: unset;
        margin-top: unset;
    }

    .klopdd .pin-spacer {
        display: none !important;
    }

    .testimonial-carousel .owl-item {
        justify-items: center;
    }

    .section-1-fidelity-counter {
        padding: 25px 0 0;
    }

}


p.designation {
    margin-bottom: 0;
}

/* media  */

@media (max-width:425px) {
    span.text-container {
        text-align: center;
    }
    .words-wrapper {
    display: inline-block;
    }
}

@media (min-width:1026px) {
    section.testimonial-section {
        display: none;
    }
}

@media (min-width:1150px) and (max-width:1400px) {
    .pin-panel h2 {
        font-size: 4rem;
        line-height: 4.5rem;
    }

    p.testimonial-text {
        font-size: 1rem;
    }

    .devfg {
        gap: 15%
    }
}




@media (min-width:768px) {
    .gftrd {
        justify-content: end;
    }

    .stickop {
        position: sticky;
        top: 45px;
        padding-bottom: 40px;
    }

    .fidelity-1-counter {
        width: 100%;
    }
}

.fidelity-exp h2,.text-fidelity h1,.logo-section h2,
.section-1-fidelity-counter h2 {
    font-weight: 600;
}

@media (min-width:1600px) {

    .text-fidelity h1,
    .fidelity-exp h2,
    .logo-section h2,
    .section-1-fidelity-counter h2 {
        font-size: 5.2rem;
        line-height: 6rem;
    }

    .counter-box h3 {
        font-size: 7rem;
    }

    .counter-box p {
        font-size: 1.4rem;
    }

    .pin-panel h2 {
        font-size: 7rem;
        line-height: 8.5rem;
    }

    .form-label {
        font-size: 1rem;
    }

    p.testimonial-text,
    .text-fidelity p,
    .text-fidelity h2 {
        font-size: 1.2rem;
    }
}

.logo-track .logo:nth-child(even) {
    margin-top: 80px;
}


.testimonial-text-wrapper {
    overflow: hidden;
  }

  .read-more-toggle {
    margin-bottom: 25px;
    display: block;
    text-decoration: underline;
    cursor: pointer;
}

/* styles by me */
.pointer-events {
    pointer-events: none;
}

.pointer-events{
    pointer-events: none;
}
.display-none {
    display: none
}

.visbility-animation {
    visibility: visible;
    animation-duration: 0.2s;
    animation-name: fadeInUp;
}

.visbility-animation-5s {
    visibility: visible;
    animation-duration: 0.5s;
    animation-name: fadeInUp;
}

.visbility-animation-4s {
    visibility: visible;
    animation-duration: 0.4s;
    animation-name: fadeInUp;
}