 /* ---------- Carousel shell ---------- */
.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: 700px;
    height: 100vh;
    overflow: hidden;
    background-color: #0c5192;
}

/* ---------- Slides ---------- */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity .8s ease, transform 1.2s ease;
    background-color: rgba(0,0,0,0.5);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 70px 80px;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    pointer-events: auto;
}

.slide-inner { max-width: 800px; }

h1.slide-title {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    line-height: 1.15;
}
.subtitle {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 27px;
    margin-bottom: 20px;
}
.slide p, .slide li { color: #fff; text-align: justify; font-size: 22px; line-height: 1.65; }

/* ---------- Learn More button ---------- */
.learn-more {
    display: inline-block;
    margin-top: 24px;
    background: #4fb4e8;
    color: #fff;
    padding: 12px 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.learn-more:hover {
    background: #3aa2d6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.learn-more:after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transition: left .5s ease;
}
.learn-more:hover:after { left: 100%; }

.underline {
    margin-top: 22px;
    height: 2px;
    background: rgba(255,255,255,.75);
    width: 60%;
}

/* ---------- Design 3: cards ---------- */
.slide-inner .cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.slide-inner .cards .card {
    flex: 1 1 200px;
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 10px;
    padding: 30px 20px 20px;
    background: transparent;
    position: relative;
    min-width: 200px;
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.slide-inner .cards .card:hover {
    transform: translateY(-8px);
    border-color: #4fb4e8;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.slide-inner .cards .card .card-icon {
    position: absolute;
    top: -28px; left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #0c5192;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.slide-inner .cards .card h3 {
    color: #fff;
    text-align: left;
    font-size: 15px;
    margin-bottom: 14px;
    font-weight: 700;
}
.slide-inner .cards .card ul {padding-left: 10px;}
.slide-inner .cards .card li { margin-bottom: 6px; color: #fff; font-size: 17px; text-align: left;}

/* ---------- Design 4: why-invest ---------- */
.why-title {
    padding-top: 20px;
    color: #ffffff;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
    font-size: 22px; font-weight: 800;
    text-transform: uppercase;
}
.why-title .fa-lightbulb { color: #fff; font-size: 26px; }

.why-box {
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px 100px 100px 10px;
    padding: 24px 30px;
    max-width: 800px;
}
.why-box ul { list-style: none; }
.why-box ul ul { list-style: disc; margin: 6px 0 0 22px; }
.why-box ul ul li { display: list-item; font-size: 17px; margin-bottom: 2px; }
.why-box ul ul li:before { content: none; }

/* ---------- Dots ---------- */
.dots {
    position: absolute;
    bottom: 20px; left: 0; right: 0;
    text-align: center;
    z-index: 5;
}
.dot {
    display: inline-block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #072e56;
    margin: 0 5px;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}
.dot.active { background: #fff; transform: scale(1.2); }
.dot:hover { background: #4fb4e8; }

/* ---------- Arrows ---------- */
.arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: none;
    width: 42px; height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background .3s ease, transform .3s ease;
}
.arrow:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.15); }
.arrow.prev { left: 15px; }
.arrow.next { right: 15px; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes lineGrow {
    from { width: 0; }
    to   { width: 60%; }
}
@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50%      { transform: translateX(-50%) scale(1.08); }
}

/* Reset animated children when inactive so they replay */
.slide:not(.active) .slide-title,
.slide:not(.active) .subtitle,
.slide:not(.active) p,
.slide:not(.active) .learn-more,
.slide:not(.active) .underline,
.slide:not(.active) .card,
.slide:not(.active) .why-title,
.slide:not(.active) .why-box,
.slide:not(.active) .why-box li {
    opacity: 0;
    animation: none;
}

/* Active slide: staggered entrance */
.slide.active .slide-title { animation: fadeRight .8s ease .2s both; }
.slide.active .subtitle    { animation: fadeRight .8s ease .45s both; }
.slide.active p            { animation: fadeUp    .8s ease .65s both; }
.slide.active .learn-more  { animation: fadeUp    .7s ease .9s  both; }
.slide.active .underline   { animation: lineGrow  1s   ease 1.1s both; }

/* Design 3 cards - staggered zoom + pulsing icon */
.slide.active .card:nth-child(1) { animation: zoomIn .7s ease .3s both; }
.slide.active .card:nth-child(2) { animation: zoomIn .7s ease .5s both; }
.slide.active .card:nth-child(3) { animation: zoomIn .7s ease .7s both; }
.slide.active .card .card-icon   { animation: pulse 2.5s ease-in-out 1.2s infinite; }

/* Design 4 - checklist cascade */
.slide.active .why-title { animation: fadeRight .8s ease .2s both; }
.slide.active .why-box   { animation: fadeUp    .8s ease .4s both; }
.slide.active .why-box > ul > li:nth-child(1) { animation: fadeRight .6s ease .7s  both; }
.slide.active .why-box > ul > li:nth-child(2) { animation: fadeRight .6s ease .9s  both; }
.slide.active .why-box > ul > li:nth-child(3) { animation: fadeRight .6s ease 1.1s both; }
.slide.active .why-box > ul > li:nth-child(4) { animation: fadeRight .6s ease 1.3s both; }
.slide.active .why-box > ul > li:nth-child(5) { animation: fadeRight .6s ease 1.5s both; }