/* =========================================================
   GLOBAL STYLES
   ========================================================= */

body {
    background: #05060a;
    color: #e9eef6;
}

h1, h2, h3 {
    color: #f8fbff;
}

.text-soft {
    color: #b3c0cc !important;
}

.navbar-brand {
    font-size: 1.4rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 32px;
    }
}

.btn-info {
    background: #00c4ff;
    border: none;
    color: #041018;
}

/* =========================================================
   HERO SLIDER BASE
   ========================================================= */

.hero-slider {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 0.8s ease;
    z-index: 0;
}

    .hero-slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
        z-index: 1;
    }

    .hero-slide.active {
        opacity: 1;
    }

/* =========================================================
   HERO TEXT SLIDE-IN ANIMATIONS (CENTERED + BRIGHT)
   ========================================================= */

/* Center the entire hero content block */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

    /* Children start slightly lowered */
    .hero-content > * {
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

/* Badge */
.hero-slide.active .hero-content span {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* Title */
.hero-slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Subtitle */
.hero-slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

/* Buttons */
.hero-slide.active .hero-content a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Stronger text glow */
.hero-content,
.hero-content h1,
.hero-content p,
.hero-content span {
    text-shadow: 0 0 22px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.8), 0 2px 6px rgba(0,0,0,0.95) !important;
}

/* Slightly lighter gradient overlay */
.hero-slide::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55) );
}

/* =========================================================
   HERO PROGRESS BARS
   ========================================================= */

.hero-progress {
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 3;
}

.progress-bar {
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    margin: 0 6px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

    .progress-bar::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0%;
        background: #00c4ff;
        transition: width 5s linear;
    }

    .progress-bar.active::after {
        width: 100%;
    }

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {
    .hero-slider {
        height: 360px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
/*.hero-slider {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

    .hero-slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
        z-index: 1;
    }

    .hero-slide.active {
        opacity: 1;
    }

.hero-content,
.hero-content h1,
.hero-content p,
.hero-content span {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    color: #f2f6fa !important;
    text-shadow: 0 0 18px rgba(0,0,0,0.85), 0 0 8px rgba(0,0,0,0.75), 0 2px 4px rgba(0,0,0,0.9) !important;
}

.hero-progress {
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 3;
}

.progress-bar {
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    margin: 0 6px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

    .progress-bar::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0%;
        background: #00c4ff;
        transition: width 5s linear;
    }

    .progress-bar.active::after {
        width: 100%;
    }

@media (max-width: 576px) {
    .hero-slider {
        height: 360px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}*/
/* =========================================================
   WHY CHOOSE US — INTERACTIVE CARDS
   ========================================================= */
.card {
    background: #0f1720 !important;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.35s ease;
    overflow: hidden;
    position: relative;
}

    /* Lift animation */
    .card:hover,
    .card.active {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.45);
    }

    /* Gradient overlay */
    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
        opacity: 0;
        transition: opacity 0.35s ease;
        pointer-events: none;
    }

    .card:hover::before,
    .card.active::before {
        opacity: 1;
    }

/* Title + icon + arrow */
.card-title {
    color: #f2f6fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Bootstrap Icons */
.wc-icon {
    font-size: 1.3rem;
    margin-right: 10px;
    opacity: 0.9;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
    flex-shrink: 0;
}

/* Animated arrow */
.wc-arrow {
    width: 14px;
    height: 14px;
    border-right: 2px solid #f2f6fa;
    border-bottom: 2px solid #f2f6fa;
    transform: rotate(45deg);
    transition: transform 0.35s ease;
    opacity: 0.8;
}

.card:hover .wc-arrow,
.card.active .wc-arrow {
    transform: rotate(225deg);
}

/* Collapsed text */
.card-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    color: #cfd6df;
}

/* Reveal text */
.card:hover .card-text,
.card.active .card-text {
    max-height: 300px;
    opacity: 1;
}

/* =========================================================
   STAGGERED FADE-IN ANIMATION
   ========================================================= */

@keyframes wcFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wc-animate {
    opacity: 0;
    animation: wcFadeIn 0.8s ease forwards;
}

    .wc-animate:nth-child(1) {
        animation-delay: 0.1s;
    }

    .wc-animate:nth-child(2) {
        animation-delay: 0.2s;
    }

    .wc-animate:nth-child(3) {
        animation-delay: 0.3s;
    }

    .wc-animate:nth-child(4) {
        animation-delay: 0.4s;
    }

    .wc-animate:nth-child(5) {
        animation-delay: 0.5s;
    }

    .wc-animate:nth-child(6) {
        animation-delay: 0.6s;
    }

    .wc-animate:nth-child(7) {
        animation-delay: 0.7s;
    }

    .wc-animate:nth-child(8) {
        animation-delay: 0.8s;
    }

    .wc-animate:nth-child(9) {
        animation-delay: 0.9s;
    }

/* =========================================================
   FOOTER
   ========================================================= */

.tfo-footer {
    background: #0b0e13;
    color: #e9eef6;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #f8fbff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: #b3c0cc;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: #00c4ff;
        }

.footer-support-btn {
    display: inline-block;
    background: #00c4ff;
    color: #041018;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease;
}

    .footer-support-btn:hover {
        background: #00a3d6;
    }

.tfo-footer .row {
    margin-bottom: 2rem;
}

.footer-bottom {
    font-size: 0.9rem;
    color: #b3c0cc;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #f8fbff;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

    .footer-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 2px;
        background: #00c4ff;
        border-radius: 2px;
    }
