

/* Carousel Section */
.product-carousel {
    position: relative;
    width: 100%;
    overflow: hidden; /* prevents body scroll */
    margin: 0 auto;
}

/*bottom SVG */
.carousel-bottom-svg {
    position: absolute;
    bottom: -56px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 5;         /* below buttons, above background */
    pointer-events: none;
}

/* Track container hides overflow */
.carousel-track-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Track holds slides horizontally */
.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

/* Each slide fills the container */
.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
}

.carousel-slide.static-slide .content-inner {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Buttons */
/*.carousel-btn {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    background: rgba(36,62,134,0.8);*/
/*    color: white;*/
/*    border: none;*/
/*    font-size: 2rem;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    border-radius: 50%;*/
/*    cursor: pointer;*/
/*    z-index: 10;*/
/*    transition: 0.3s;*/
/*}*/

/*.carousel-btn:hover { background: rgba(36,62,134,1); }*/
/*.prev { left: 20px; }*/
/*.next { right: 20px; }*/
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #243e86;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
    z-index: 10;
}

.carousel-btn:hover {
    color: var(--clr-coral-accent);
    transform: translateY(-50%) scale(1.4);
}

.prev { left: 30px; }
.next { right: 30px; }

.carousel-btn svg {
    width: 30px;
    height: 30px;
}


/* Dot navigation */

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    z-index: 10;
    position: relative;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    background: white;
    border: 2px solid var(--clr-coral-accent);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
}

.carousel-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--clr-coral-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.carousel-indicator.active {
    background:var(--clr-coral-accent);
}

.carousel-indicator.active::after {
    width: 10px;
    height: 10px;
}


/* ================= CIRCLE HOVER ================= */
.circle {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*circle bg*/
.circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #9ad8db;
    opacity: 0.4;
    z-index: 0;                 /* behind the image */
    transition: transform 0.7s ease, box-shadow 0.7s ease;
}



.circle img {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 0;
    transition: transform 0.7s ease;
}

span.animated-number {
    color: #0a6c83;
    display: inline-block;      /* required so transform works */
    font-size: 1.2rem;
    font-weight: 700;
}

.icon-row .item:hover .circle::before {
    transform: scale(1.3);
    box-shadow: 0 6px 12px rgba(36, 62, 134, 0.2);
}
.item:hover p {
    transform: translateY(-20px) scale(1.2);
}

/*button carousel*/
.col.txt a {
    text-decoration: none;
    color: #0a6c83;
    background: var(--clr-bg--primary);
    backdrop-filter: blur(15px);
    border: 2px solid #0a6c83;
    width: fit-content;
    align-self: center;
    font-size: 1rem;
    letter-spacing: 0.03rem;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.col.txt a:hover {
    color: #F4F0EA;
    background: #0a6c83;
    backdrop-filter: blur(15px);
}


/* Logo row */
.testimonial-logos {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin: 10px 0;
}

.logo-btn {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity .3s, transform .3s;
}

.logo-btn img {
    height: 95px;            /* ⬅ bigger logos */
    width: auto;
    filter: grayscale(30%);
    transition: transform .3s, filter .3s;
}

.logo-btn:hover img {
    filter: grayscale(0%);
}

.logo-btn.active {
    opacity: 1;
}

.logo-btn.active img {
    transform: scale(1.15);  /* bigger pop */
    filter: grayscale(0%);
}



/* --- QUOTES AREA WITH BIG DECORATIVE QUOTE --- */

.carousel-slide .content-inner {
    gap: 4rem;
}
.decorative-circle {
    position: relative;
    padding: 90px 0 40px 0;
    z-index: 0; /* base layer */
}

.decorative-circle::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;

    width: 350px;
    height: 350px;

    background: #9ad8db !important;
    border-radius: 50%;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.icon-row .item {
    opacity: 0;
    transform: translateY(30px);
    transition:
            opacity 0.8s ease,
            transform 0.8s ease;
}

/* when revealed */
.icon-row .item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.icon-row .item .circle::before {
    transform: scale(0.8);
    opacity: 0;
    transition:
            opacity 0.8s ease,
            transform 0.8s ease;
}

/* when item becomes visible */
.icon-row .item.is-visible .circle::before {
    opacity: 1;
    transform: scale(1);
}


/* Quote text styles */
.testimonial-quotes .quote {
    color: #1b2b66;
    display: none;
    text-align: center;
    font-size: 1.2rem;
    line-height: 2;
    max-width: 770px;
    top: -25px;
    margin: 0 auto;
    font-weight: 500;
    opacity: 0;
    transition: opacity 1s;
    position: relative;
    z-index: 2;

    span {
        color: #0a6c83;
        display: inline-block;
        font-size: 1.3rem;
        font-weight: 600;
    }
}

.testimonial-quotes .quote.active {
    display: block;
    opacity: 1;
}

.testimonial-quotes .quote {
    position: relative; /* needed for author positioning */
    padding-bottom: 2.5rem; /* space for the author */
}

.testimonial-quotes .quote .author {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.85rem;
    font-weight: 400;
    color: #555; /* subtle contrast */
    opacity: 0.8;
    transform: translateY(4px); /* matches playful offset */
}

.logo-btn.pulsate img {
    animation: pulse 1.2s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

