/*
 * ═══════════════════════════════════════════════════════════════
 *  BOUNCE IN PARADISE — local site polish
 *  Aesthetic: tropical-paradise-meets-editorial
 *  Display: Titan One (matches the bouncy logo lettering)
 *  Accent:  Fraunces (italic serif) for poetic flourishes
 * ═══════════════════════════════════════════════════════════════
 */

:root {
    --bip-sand:      #FFF8EA;
    --bip-sunset:    #FF6F61;
    --bip-coral:     #FF8A5B;
    --bip-lagoon:    #0FBFB2;
    --bip-deep:      #0B3C5D;
    --bip-sun:       #FFC93C;
    --bip-ink:       #08223A;
    --bip-grain:     rgba(11, 60, 93, 0.06);
}

/* ── Typography flourishes ─────────────────────────────── */
.homepage h1,
.bip-popular-title,
.bip-whywrap h2 {
    font-family: "Titan One", "Lilita One", cursive;
    letter-spacing: -0.015em;
    line-height: 1.02;
}
.bip-whywrap h2 em {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--bip-sunset);
}

/* ── Hero eyebrow pill ─────────────────────────────────── */
.bip-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-family: "Rubik", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.bip-eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bip-sun);
    box-shadow: 0 0 0 4px rgba(255, 201, 60, 0.25);
    animation: bipPulse 2.4s ease-in-out infinite;
}
@keyframes bipPulse {
    0%, 100% { transform: scale(1);   box-shadow: 0 0 0 4px rgba(255, 201, 60, 0.25); }
    50%      { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(255, 201, 60, 0.08); }
}

.bip-hero-sub {
    margin: 18px auto 26px;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 400;
}
.bip-hero-ctas {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}
.bip-ghostbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.bip-ghostbtn:hover {
    background: #fff;
    color: var(--bip-deep);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Kicker / eyebrow-style section labels ─────────────── */
.bip-kicker {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bip-lagoon), var(--bip-sun));
    color: var(--bip-ink);
    font-family: "Rubik", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.bip-kicker--light {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ── Popular Inflatables band ──────────────────────────── */
.bip-popularwrap {
    position: relative;
    padding: 72px 0 32px;
}
.bip-popular-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}
.bip-popular-title {
    font-size: clamp(30px, 4vw, 48px);
    color: var(--bip-deep);
    margin: 0 0 14px;
}
.bip-popular-sub {
    color: rgba(11, 60, 93, 0.75);
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
}
.bip-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.bip-popular-card {
    position: relative;
    padding: 32px 26px 28px;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(11, 60, 93, 0.05),
        0 18px 40px -20px rgba(11, 60, 93, 0.22);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s ease;
    isolation: isolate;
}
.bip-popular-card::before {
    content: "";
    position: absolute;
    inset: -50% -20% auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--ring, var(--bip-lagoon)) 0%, transparent 65%);
    opacity: 0.22;
    z-index: -1;
    transition: transform 0.6s ease;
}
.bip-popular-card:hover {
    transform: translateY(-8px) rotate(-0.4deg);
    box-shadow:
        0 1px 0 rgba(11, 60, 93, 0.05),
        0 30px 60px -24px rgba(11, 60, 93, 0.35);
}
.bip-popular-card:hover::before {
    transform: scale(1.15) rotate(12deg);
}
.bip-popular-card--water  { --ring: var(--bip-lagoon); }
.bip-popular-card--rex    { --ring: var(--bip-sunset); }
.bip-popular-card--course { --ring: var(--bip-sun); }

.bip-popular-card__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bip-sand);
    color: var(--bip-deep);
    font-family: "Rubik", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.bip-popular-card__emoji {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 14px;
    display: inline-block;
    transform-origin: bottom center;
    transition: transform 0.5s cubic-bezier(0.5, -0.5, 0.3, 1.6);
}
.bip-popular-card:hover .bip-popular-card__emoji {
    transform: translateY(-4px) rotate(-8deg) scale(1.06);
}
.bip-popular-card h3 {
    font-family: "Titan One", "Lilita One", cursive;
    font-size: 24px;
    line-height: 1.15;
    color: var(--bip-deep);
    margin: 0 0 10px;
}
.bip-popular-card p {
    color: rgba(11, 60, 93, 0.75);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 22px;
}
.bip-popular-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ring);
    font-family: "Rubik", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}
.bip-popular-card:hover .bip-popular-card__cta { gap: 12px; }

/* ── Why Paradise band ─────────────────────────────────── */

/* Override the preceding mint section's exit-wave so it flows into
   the dark band instead of spilling out as a white ridge. */
.letushelpyouwrap::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath fill='%230B3C5D' d='M0,22 C240,44 480,0 720,22 C960,44 1200,0 1440,22 L1440,44 L0,44 Z'/%3E%3C/svg%3E") no-repeat center bottom !important;
    background-size: 100% 100% !important;
}

.bip-whywrap {
    position: relative;
    padding: 120px 0 130px;
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(255, 201, 60, 0.22), transparent 60%),
        radial-gradient(60% 50% at 0% 100%, rgba(255, 111, 97, 0.28), transparent 65%),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 6px 6px,
        linear-gradient(135deg, var(--bip-deep), #082B44);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

/* Suppress the Featured Products top-wave when it follows the dark band —
   our own bottom wave already handles the dark-to-white transition. */
.bip-whywrap + .featuredproductswrap::before {
    display: none;
}

/* Bottom wave — dark band rises up into the white Featured Products section */
.bip-whywrap::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,35 C240,70 480,0 720,35 C960,70 1200,0 1440,35 L1440,70 L0,70 Z'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: 100% 100%;
    z-index: 3;
    pointer-events: none;
}
.bip-why-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.bip-why-copy h2 {
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.02;
    color: #fff;
    margin: 0 0 18px;
}
.bip-why-copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 56ch;
}
.bip-why-copy strong { color: var(--bip-sun); font-weight: 600; }
.bip-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
}
.bip-why-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-family: "Rubik", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
}
.bip-why-list li span {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 500;
    color: var(--bip-sun);
    font-size: 18px;
    min-width: 28px;
}

/* Quick Quote card */
.bip-why-card {
    position: relative;
    padding: 4px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--bip-sunset), var(--bip-sun));
    box-shadow: 0 30px 70px -30px rgba(255, 111, 97, 0.6);
}
.bip-why-card__ring {
    position: absolute;
    inset: -20px;
    border-radius: inherit;
    background: conic-gradient(from 120deg, transparent 0deg, rgba(255, 255, 255, 0.35) 40deg, transparent 80deg);
    filter: blur(18px);
    opacity: 0.6;
    pointer-events: none;
    animation: bipSpin 12s linear infinite;
}
@keyframes bipSpin { to { transform: rotate(1turn); } }
.bip-why-card__inner {
    position: relative;
    padding: 34px 30px 30px;
    border-radius: 24px;
    background: var(--bip-sand);
    color: var(--bip-deep);
    text-align: left;
}
.bip-why-card__label {
    margin: 0 0 12px;
    font-family: "Rubik", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bip-sunset);
}
.bip-why-card__headline {
    margin: 0 0 22px;
    font-family: "Titan One", "Lilita One", cursive;
    font-size: 28px;
    line-height: 1.1;
    color: var(--bip-deep);
}
.bip-why-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--bip-deep);
    color: #fff;
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bip-why-card__btn:hover {
    transform: translateY(-2px);
    color: #fff;
    background: var(--bip-sunset);
    text-decoration: none;
    box-shadow: 0 14px 30px -12px rgba(11, 60, 93, 0.5);
}
.bip-why-card__fine {
    margin: 16px 0 0;
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 13px;
    color: rgba(11, 60, 93, 0.7);
    line-height: 1.5;
}

/* ── Header refinements ────────────────────────────────── */

/* Overlay topbar: richer gradient scrim for legibility */
.site-header--overlay .site-topbar {
    background: linear-gradient(180deg,
        rgba(8, 34, 58, 0.78) 0%,
        rgba(8, 34, 58, 0.55) 55%,
        rgba(8, 34, 58, 0) 100%);
    padding-bottom: 8px;
}

/* Tighten topbar vertical rhythm */
.site-header--overlay .site-topbar .tw-py-4 {
    padding-top: 18px;
    padding-bottom: 14px;
}

/* Logo sizing — give the brand mark room to breathe */
.site-header .navbar-brand img {
    max-width: 72px;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-header .navbar-brand:hover img { transform: rotate(-3deg) scale(1.04); }

@media (min-width: 768px) {
    .site-header .navbar-brand img { max-width: 92px; }
}
@media (min-width: 1200px) {
    .site-header .navbar-brand img { max-width: 104px; }
}

/* Contact links — cleaner pill-hover affordance */
.site-header--overlay .contactinfo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.3s ease;
}
.site-header--overlay .contactinfo a:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Login button refinement */
.site-header--overlay .btnstyleone {
    border-color: rgba(255, 255, 255, 0.8);
    padding: 9px 22px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.site-header--overlay .btnstyleone:hover {
    background: var(--bip-sun);
    color: var(--bip-deep);
    border-color: var(--bip-sun);
}

/* Floating nav pill — cleaner surface + cart badge */
.site-header--overlay .floatnav-pill-inner {
    background: rgba(8, 34, 58, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 40px rgba(0, 0, 0, 0.28);
    padding: 6px 18px;
}
.site-header--overlay .navbar-wrapper a,
.site-header--overlay .nav-item a {
    letter-spacing: 0.08em;
    font-weight: 500;
    padding: 10px 18px;
}
.cart-countwrap .cart-count {
    background: var(--bip-sunset);
    color: #fff;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ── Hero refinements ──────────────────────────────────── */

/* Replace the default flat 35% black with a directional gradient scrim
   so the headline pops without killing the background entirely. */
.welcomewrap::before {
    background:
        radial-gradient(120% 80% at 50% 30%, rgba(8, 34, 58, 0.35) 0%, rgba(8, 34, 58, 0.75) 80%),
        linear-gradient(180deg, rgba(8, 34, 58, 0.55) 0%, rgba(8, 34, 58, 0.25) 35%, rgba(8, 34, 58, 0.65) 100%);
}

/* Subtle bottom vignette fade toward the white wave */
.welcomewrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero sizing — tall enough to breathe, capped to viewport on big screens */
.welcomewrap,
.welcomehero-inner,
.hero-slide {
    min-height: 860px;
    min-height: clamp(680px, 92vh, 960px);
}
.welcomehero-inner {
    align-items: flex-start;
    padding: clamp(240px, 28vh, 320px) 0 140px;
}

/* Headline polish */
.welcometext h1 {
    font-family: "Titan One", "Lilita One", cursive;
    font-size: clamp(44px, 6.2vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.15),
        0 14px 40px rgba(0, 0, 0, 0.45);
    margin-bottom: 18px;
}

/* Primary CTA — bounce-ready button */
.welcometext .btnstyletwo {
    background: var(--bip-sun);
    color: var(--bip-deep);
    font-family: "Rubik", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 16px 32px;
    box-shadow:
        0 0 0 4px rgba(255, 201, 60, 0.22),
        0 18px 40px -14px rgba(255, 201, 60, 0.55);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s ease, background 0.3s ease;
}
.welcometext .btnstyletwo:hover {
    background: #fff;
    color: var(--bip-deep);
    transform: translateY(-3px);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.25),
        0 22px 50px -14px rgba(0, 0, 0, 0.45);
}

/* Carousel indicators — raise slightly, recolor to brand sun */
.hero-carousel-indicators { bottom: 130px; }
.hero-carousel-indicators button.active::after { background: var(--bip-sun); }

/* ── Testimonials — "Happy Paradisers" ─────────────────── */

:root {
    --bip-logo-blue:   #2BA9DE;
    --bip-logo-red:    #E63225;
    --bip-logo-yellow: #FFC524;
    --bip-logo-orange: #F58220;
    --bip-cream:       #FFF7E8;
}

.bip-testi {
    position: relative;
    padding: 110px 0 140px;
    background:
        radial-gradient(1200px 600px at 50% -200px, #EAF7FF 0%, transparent 60%),
        radial-gradient(800px 500px at 50% 110%, var(--bip-cream) 0%, transparent 55%),
        linear-gradient(180deg, #F4FBFF 0%, #FFFFFF 55%, #FFF8E8 100%);
    overflow: hidden;
    text-align: center;
}

/* Soft cloud band */
.bip-testi::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 180px;
    background:
        radial-gradient(50px 24px at 12% 60px,  rgba(255,255,255,0.9) 0%, transparent 70%),
        radial-gradient(80px 30px at 32% 30px,  rgba(255,255,255,0.85) 0%, transparent 72%),
        radial-gradient(60px 26px at 72% 70px,  rgba(255,255,255,0.9) 0%, transparent 70%),
        radial-gradient(90px 34px at 92% 24px,  rgba(255,255,255,0.8) 0%, transparent 72%);
    pointer-events: none;
}

/* Sun glow behind the card */
.bip-testi::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 720px;
    max-width: 95vw;
    max-height: 95vw;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 197, 36, 0.22), rgba(255, 197, 36, 0.08) 55%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

/* Palm silhouettes (logo-inspired) */
.bip-testi__palm {
    position: absolute;
    bottom: 40px;
    width: 180px;
    height: 300px;
    color: var(--bip-logo-blue);
    opacity: 0.28;
    pointer-events: none;
    z-index: 1;
}
.bip-testi__palm--left  { left: 2vw;  transform: rotate(-6deg); }
.bip-testi__palm--right { right: 2vw; transform: rotate(6deg) scaleX(-1); }

.bip-testi .container { position: relative; z-index: 2; }

/* Section head */
.bip-testi__head {
    max-width: 640px;
    margin: 0 auto 56px;
}
.bip-testi__title {
    font-family: "Titan One", "Lilita One", cursive;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    color: var(--bip-deep);
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}
.bip-testi__title em {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--bip-logo-red);
}
.bip-testi__sub {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(11, 60, 93, 0.72);
    margin: 0;
}

/* Carousel */
.bip-testi__carousel {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Polaroid-style card */
.bip-testi-card {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 56px 48px 44px;
    background: #ffffff;
    border-radius: 26px;
    box-shadow:
        0 1px 0 rgba(11, 60, 93, 0.04),
        0 30px 60px -28px rgba(11, 60, 93, 0.28),
        0 10px 24px -12px rgba(43, 169, 222, 0.22);
    text-align: center;
    transform: rotate(-0.6deg);
    isolation: isolate;
}
.bip-testi-card::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 140px;
    height: 26px;
    background: linear-gradient(90deg, rgba(255, 197, 36, 0.95), rgba(255, 197, 36, 0.7));
    border-radius: 3px;
    box-shadow: 0 6px 14px -6px rgba(255, 197, 36, 0.8);
    z-index: -1;
}

/* Pennant flags across the top */
.bip-testi-card__pennants {
    position: absolute;
    top: 18px;
    left: 26px;
    right: 26px;
    display: flex;
    justify-content: space-between;
    z-index: 0;
}
.bip-testi-card__pennants span {
    width: 14px;
    height: 18px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    display: block;
}
.bip-testi-card__pennants span:nth-child(1) { background: var(--bip-logo-red); }
.bip-testi-card__pennants span:nth-child(2) { background: var(--bip-logo-yellow); }
.bip-testi-card__pennants span:nth-child(3) { background: var(--bip-logo-blue); }
.bip-testi-card__pennants span:nth-child(4) { background: var(--bip-logo-orange); }
.bip-testi-card__pennants span:nth-child(5) { background: var(--bip-logo-red); }

/* Large decorative open-quote */
.bip-testi-card__mark {
    position: absolute;
    top: 20px;
    left: 28px;
    font-family: "Fraunces", serif;
    font-size: 140px;
    line-height: 0.8;
    color: var(--bip-logo-blue);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.bip-testi-card__stars {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 22px;
    color: var(--bip-logo-yellow);
    filter: drop-shadow(0 2px 4px rgba(255, 197, 36, 0.45));
}
.bip-testi-card__stars svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.4, -0.3, 0.4, 1.4);
}
.bip-testi-card__stars svg:nth-child(1) { transform: rotate(-8deg); }
.bip-testi-card__stars svg:nth-child(2) { transform: rotate(-4deg); }
.bip-testi-card__stars svg:nth-child(4) { transform: rotate(4deg);  }
.bip-testi-card__stars svg:nth-child(5) { transform: rotate(8deg);  }

.bip-testi-card__quote {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    color: var(--bip-deep);
    margin: 0 auto 24px;
    max-width: 48ch;
    position: relative;
    z-index: 1;
}

.bip-testi-card__divider {
    width: 56px;
    height: 3px;
    margin: 0 auto 14px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--bip-logo-red), var(--bip-logo-yellow), var(--bip-logo-blue));
}

.bip-testi-card__author {
    font-family: "Titan One", "Lilita One", cursive;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: var(--bip-logo-blue);
    font-style: normal;
    text-transform: uppercase;
}

/* Alternating tilt for visual rhythm across slides */
.carousel-item:nth-child(even) .bip-testi-card { transform: rotate(0.6deg); }

/* Carousel arrows — bouncy round buttons */
.bip-testi__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--bip-logo-red);
    box-shadow:
        0 1px 0 rgba(11, 60, 93, 0.05),
        0 14px 30px -10px rgba(230, 50, 37, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.3s ease, color 0.3s ease,
                box-shadow 0.3s ease;
}
.bip-testi__arrow svg { width: 22px; height: 22px; }
.bip-testi__arrow--prev { left: -12px; }
.bip-testi__arrow--next { right: -12px; }
.bip-testi__arrow:hover {
    background: var(--bip-logo-red);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 1px 0 rgba(11, 60, 93, 0.05),
        0 18px 40px -10px rgba(230, 50, 37, 0.55);
}
.bip-testi__arrow--prev:hover { transform: translateY(-50%) translateX(-4px) scale(1.08); }
.bip-testi__arrow--next:hover { transform: translateY(-50%) translateX(4px) scale(1.08); }

/* Responsive tweaks */
@media (max-width: 768px) {
    .bip-testi { padding: 80px 0 100px; }
    .bip-testi-card { padding: 48px 26px 34px; border-radius: 20px; }
    .bip-testi-card__mark { font-size: 100px; top: 10px; left: 18px; }
    .bip-testi__palm { width: 120px; height: 200px; opacity: 0.2; }
    .bip-testi__arrow { width: 44px; height: 44px; }
    .bip-testi__arrow--prev { left: 4px; }
    .bip-testi__arrow--next { right: 4px; }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
    .bip-popular-grid { grid-template-columns: 1fr; }
    .bip-why-grid { grid-template-columns: 1fr; gap: 36px; }
    .bip-why-list { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .bip-popularwrap { padding: 48px 0 16px; }
    .bip-whywrap { padding: 56px 0; }
    .bip-hero-sub { font-size: 17px; }
    .bip-why-card__inner { padding: 28px 22px; }

    .welcomewrap, .welcomehero-inner, .hero-slide { min-height: 620px; }
    .welcomehero-inner { padding: 150px 0 100px; }
    .welcometext h1 { letter-spacing: -0.005em; }
    .hero-carousel-indicators { bottom: 90px; }
    .site-header .navbar-brand img { max-width: 56px; }
}
