.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

/* Modern Millennials Tech Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.96);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active, .reveal-blur.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Stagger utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Animated Flip Text */
.flip-container {
    height: 1.15em;
    overflow: hidden;
    display: inline-flex;
    vertical-align: bottom;
    align-items: flex-start;
}

.flip-inner {
    display: flex;
    flex-direction: column;
    animation: text-flip 6s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.flip-inner > span {
    height: 1.15em;
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 0 0.05em;
    border-radius: 0.1em;
}

/* Millennial Colors mapping */
.flip-inner > span:nth-child(1) { color: #DC143C; /* Red */ }
.flip-inner > span:nth-child(2) { color: #4ec7f3; /* Cyan */ }
.flip-inner > span:nth-child(3) { color: #42c58a; /* Green */ }
.flip-inner > span:nth-child(4) { color: #DC143C; /* Red Loop */ }

@keyframes text-flip {
  0%, 20% { transform: translateY(0); }
  33%, 53% { transform: translateY(-1.15em); }
  66%, 86% { transform: translateY(-2.3em); }
  100% { transform: translateY(-3.45em); }
}

/* Animated Hover Cards for Features */
.why-card {
    position: relative;
    width: 100%;
    min-height: 340px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0, 0.08);
    overflow: hidden;
}

.why-card .face {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-card .face.face1 {
    box-sizing: border-box;
    padding: 30px;
    padding-bottom: 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.why-card .face.face2 {
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: #111;
    z-index: 10;
    border-radius: 15px;
}

.why-card:nth-child(1) .face.face2 { background: linear-gradient(45deg, #1B4E9B, #0F153F); }
.why-card:nth-child(2) .face.face2 { background: linear-gradient(45deg, #ccff00, #09afff); }
.why-card:nth-child(3) .face.face2 { background: linear-gradient(45deg, #e91e63, #ffeb3b); }
.why-card:nth-child(4) .face.face2 { background: linear-gradient(135deg, #3503ad, #f7308c); }

.why-card:hover .face.face2 {
    height: 60px;
    border-radius: 0 0 15px 15px;
}

.why-card .face.face2::before {
    content:'';
    position: absolute;
    top:0;
    left:0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255, 0.1);
    border-radius: 15px 0 0 15px;
    z-index: 0;
    pointer-events: none;
}

.why-card:hover .face.face2::before {
    border-radius: 0 0 0 15px;
}

.why-card .face.face2 .card-title-front {
    margin: 0;
    padding: 0 1.5rem;
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Epilogue', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0, 0.2);
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.why-card:hover .face.face2 .card-title-front {
    font-size: 1rem;
    transform: translateY(0);
}

/* Touch devices don't have hover: keep the footer label collapsed by default */
@media (hover: none) {
    .why-card .face.face2 {
        height: 60px;
        border-radius: 0 0 15px 15px;
    }

    .why-card .face.face2::before {
        border-radius: 0 0 0 15px;
    }

    .why-card .face.face2 .card-title-front {
        font-size: 1rem;
        transform: translateY(0);
    }
}
/* Background Animated Blobs */
@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
  animation: blob 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* Marquee Scrolling Watermark */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-track {
    display: inline-flex;
    width: max-content;
    animation: marqueeScroll 20s linear infinite;
}
