body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}
/* Dropdowns - Dark Mode */
body[data-theme="dark"] .dropdown-menu {
    background-color: black !important;
    border-color: #6c757d !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: none;
    color: white !important;
}

body[data-theme="dark"] .dropdown-menu .dropdown-item {
    color: white !important;
}

body[data-theme="dark"] .dropdown-menu .dropdown-item:hover,
body[data-theme="dark"] .dropdown-menu .dropdown-item:focus {
    background-color: transparent !important; /* do not change background on hover */
    color: white !important;
    transform: translateY(-1px);
}

body[data-theme="dark"] .dropdown-menu .dropdown-item.text-danger:hover,
body[data-theme="dark"] .dropdown-menu .dropdown-item.text-danger:focus {
    background-color: transparent !important;
    color: #ff7b7b !important; /* lighter red in dark mode for contrast */
    font-weight: 700 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

body[data-theme="dark"] .dropdown-item:not(.btn):not(.text-danger) {
    color: white !important;
}

body[data-theme="dark"] .dropdown-divider {
    border-color: #6c757d !important;
}
 /* Dropdowns - enhanced look (light + dark modes) */
.dropdown-menu {
    min-width: 11rem !important;
    padding: 0.4rem !important;
    border-radius: 0.6rem !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(18, 38, 63, 0.12);
    transition: transform 0.12s ease, opacity 0.12s ease;
    transform-origin: top right;
    backdrop-filter: blur(6px) saturate(120%);
}

.dropdown-menu.show {
    transform: translateY(6px);
    opacity: 1;
}

.dropdown-menu .dropdown-item {
    padding: 0.45rem 0.9rem;
    border-radius: 0.45rem;
    color: inherit;
    transition: background-color 0.12s ease, transform 0.08s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu .dropdown-item .bi {
    font-size: 1.05rem;
    opacity: 0.9;
    width: 1.25rem;
    text-align: center;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: transparent !important; 
    transform: translateY(-1px);
    color: #0d6efd;
}
.dropdown-menu .dropdown-item.text-danger:hover,
.dropdown-menu .dropdown-item.text-danger:focus {
    background-color: transparent !important;
    color: #b02a37 !important; 
    font-weight: 700 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.dropdown-menu .dropdown-item.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
    
.gradient-text {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #667eea);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
    font-weight: 700;
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

@keyframes shine {
    0%, 100% {
        transform: translateX(-100%) skewX(-15deg);
        opacity: 0;
    }
    50% {
        transform: translateX(100%) skewX(-15deg);
        opacity: 1;
    }
}

/* AI glow effect */
.ai-glow {
    position: relative;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    animation: aiPulse 3s ease-in-out infinite;
    background: linear-gradient(45deg, #007bff, #0056b3);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.ai-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #007bff, #0056b3, #17a2b8, #007bff);
    background-size: 400% 400%;
    border-radius: 8px;
    z-index: -1;
    animation: aiGlowBorder 4s ease-in-out infinite;
    opacity: 0.3;
    filter: blur(8px);
}

@keyframes aiPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 123, 255, 0.5),
            0 0 20px rgba(0, 123, 255, 0.3),
            0 0 30px rgba(0, 123, 255, 0.1);
        background-position: 0% 50%;
    }
    50% {
        text-shadow: 
            0 0 20px rgba(0, 123, 255, 0.8),
            0 0 30px rgba(0, 123, 255, 0.6),
            0 0 40px rgba(0, 123, 255, 0.4);
        background-position: 100% 50%;
    }
}

@keyframes aiGlowBorder {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Nature pulse effect */
.nature-pulse {
    animation: naturePulse 4s ease-in-out infinite;
    background: linear-gradient(45deg, #28a745, #20c997, #17a2b8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.nature-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #28a745, #20c997);
    background-size: 200% 200%;
    border-radius: 8px;
    z-index: -1;
    animation: naturePulseBg 4s ease-in-out infinite;
    opacity: 0.1;
    filter: blur(10px);
}

@keyframes naturePulse {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1) contrast(1);
    }
    33% {
        background-position: 50% 0%;
        filter: brightness(1.2) contrast(1.1);
    }
    66% {
        background-position: 100% 50%;
        filter: brightness(1.1) contrast(1.05);
    }
}

@keyframes naturePulseBg {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.1;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.2;
    }
}

/* Content reveal animation */
.content-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: contentReveal 1s ease-out 0.3s forwards;
}

@keyframes contentReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in text animation */
.fade-in-text {
    opacity: 0;
    animation: fadeInText 1s ease-out 0.6s forwards;
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* Enhanced buttons */
.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: perspective(1px) translateZ(0);
    border-radius: 12px;
    padding: 12px 24px;
    min-height: 48px; /* Touch-friendly */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.enhanced-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.enhanced-btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-color: #667eea;
    color: white;
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 50%, #e07de0 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    border-color: #5a6fd8;
    color: white;
}

.secondary-btn {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.2) 100%);
    border: 2px solid #6c757d;
    color: #6c757d;
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border-color: #5a6268;
    transform: translateY(-4px) scale(1.02);
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .enhanced-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
        min-height: 50px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .enhanced-btn:hover {
        transform: scale(1.02); /* Reduced movement for mobile */
    }
    
    .enhanced-btn:active {
        transform: scale(0.96);
        background: rgba(0, 0, 0, 0.1);
    }
}

/* Button ripple effect */
.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.enhanced-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Smart Discovery Container */
.smart-discovery-container {
    opacity: 0;
    transform: scale(0.9) rotateY(10deg);
    animation: cardEntrance 1.2s ease-out 0.8s forwards;
    perspective: 1000px;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: scale(0.9) rotateY(10deg) translateY(50px);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95) rotateY(5deg) translateY(25px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) translateY(0px);
    }
}

/* Floating card animation */
.floating-card {
    animation: float 8s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 6s ease infinite;
    opacity: 0.6;
    filter: blur(8px);
}

.floating-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(102, 126, 234, 0.4),
        0 0 50px rgba(118, 75, 162, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateZ(0deg);
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    }
    25% {
        transform: translateY(-8px) rotateX(1deg) rotateZ(0.5deg);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.35);
    }
    50% {
        transform: translateY(-12px) rotateX(2deg) rotateZ(1deg);
        box-shadow: 0 25px 45px rgba(102, 126, 234, 0.4);
    }
    75% {
        transform: translateY(-8px) rotateX(1deg) rotateZ(0.5deg);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.35);
    }
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.6;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }
}

/* Mobile optimizations for floating cards */
@media (max-width: 768px) {
    .floating-card {
        animation: floatMobile 6s ease-in-out infinite;
    }
    
    .floating-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    @keyframes floatMobile {
        0%, 100% {
            transform: translateY(0px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        }
        50% {
            transform: translateY(-6px);
            box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
        }
    }
}

/* Discovery icon animation */
.discovery-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(255, 193, 7, 0.2),
            rgba(255, 193, 7, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconSpin 8s linear infinite;
}

.discovery-icon i {
    font-size: 1.5rem;
    animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes iconGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
    }

    to {
        filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.9));
    }
}

/* Glow text effect */
.glow-text {
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 255, 255, 0.3);
    }
}

/* Feature items animation */
.feature-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 1.2s;
}

.feature-item:nth-child(2) {
    animation-delay: 1.4s;
}

.feature-item:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.6));
}

/* Enhanced shine effect */
.shine-effect {
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 40%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 60%,
            transparent 70%);
    animation: enhancedShine 4s ease-in-out infinite;
}

@keyframes enhancedShine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    25% {
        transform: translateX(-50%) skewX(-15deg);
    }

    50% {
        transform: translateX(0%) skewX(-15deg);
    }

    75% {
        transform: translateX(50%) skewX(-15deg);
    }

    100% {
        transform: translateX(100%) skewX(-15deg);
    }
}

/* Glowing border */
.glow-border {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #667eea, #764ba2) border-box;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    from {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3),
            inset 0 0 20px rgba(102, 126, 234, 0.1);
    }

    to {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6),
            inset 0 0 30px rgba(102, 126, 234, 0.2);
    }
}

/* Animated particles background */
.particles-bg {
    background-image: radial-gradient(circle at 20% 20%,
            rgba(255, 255, 255, 0.1) 2px,
            transparent 2px),
        radial-gradient(circle at 80% 80%,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px),
        radial-gradient(circle at 40% 60%,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    from {
        background-position: 0 0, 0 0, 0 0;
    }

    to {
        background-position: 50px 50px, -30px -30px, 70px -70px;
    }
}

/* Z-index utility */
.z-index-2 {
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-card {
        animation: mobileFloat 4s ease-in-out infinite;
    }

    @keyframes mobileFloat {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-5px);
        }
    }

    .gradient-text {
        font-size: 1.75rem;
    }

    .discovery-icon {
        width: 40px;
        height: 40px;
    }

    .discovery-icon i {
        font-size: 1.2rem;
    }
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .gradient-text,
    .ai-glow,
    .nature-pulse,
    .floating-card,
    .discovery-icon,
    .discovery-icon i,
    .glow-text,
    .shine-effect,
    .glow-border,
    .particles-bg {
        animation: none !important;
    }

    .content-reveal,
    .smart-discovery-container,
    .feature-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Performance optimization */
.smart-discovery-card {
    will-change: transform;
    backface-visibility: hidden;
}

.enhanced-btn {
    will-change: transform;
}

.educator-flip-wrapper {
    perspective: 1500px;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.educator-flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.educator-flip-wrapper:hover .educator-flip-card {
    transform: rotateY(180deg);
}

.educator-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 420px;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.educator-card-front {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.educator-card-front .icon-wrapper {
    text-align: center;
}

.educator-card-front i {
    font-size: 80px;
    color: #fff;
    display: block;
    margin-bottom: 20px;
}

.educator-card-front h3 {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
}

.educator-card-back {
    background: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
}

.educator-card-back::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 4px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.educator-card-back h3 {
    color: #414141;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.educator-card-back p {
    color: #6c757d;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.educator-hover-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #6366f1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.educator-flip-wrapper:hover .educator-hover-hint {
    opacity: 0;
}

.educator-flip-card:not(:hover)~.educator-hover-hint {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.social-icons li {
    list-style: none;
}

.social-icons li a {
    width: 70px;
    height: 70px;
    background-color: #fff;
    text-align: center;
    line-height: 70px;
    font-size: 28px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons li a .icon {
    position: relative;
    color: #262626;
    transition: 0.5s;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-icons li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.social-icons li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0C2A4B;
    transition: 0.5s;
    z-index: 2;
}

.social-icons li a:hover:before {
    top: 0;
}

/* Facebook */
.social-icons li:nth-child(1) a:before {
    background: #3b5999;
}


/* LinkedIn */
.social-icons li:nth-child(3) a:before {
    background: #7b18c7;
}

/* Git */
.social-icons li:nth-child(4) a:before {
    background: #7b18c7;
}

/* Dark theme support for social icons */
body[data-theme="dark"] .social-icons li {
    background-color: #000000;
    border-radius: 50%;
    padding: 2px;
}

body[data-theme="dark"] .social-icons li a {
    background-color: #000000;
    border-color: #333;
}

body[data-theme="dark"] .social-icons li a .icon {
    color: #ffffff;
}

body[data-theme="dark"] .social-icons li a:hover .icon {
    color: #fff;
}

/* Dark mode body and global styles */
body[data-theme="dark"],
html[data-theme="dark"] body,
[data-theme="dark"] body,
[data-theme="dark"] {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    min-height: 100vh !important;
}

body[data-theme="dark"] {
    background: #000000 !important;
    background-image: none !important;
}

/* Dark mode for main content areas */
body[data-theme="dark"] .container,
body[data-theme="dark"] .main-content,
body[data-theme="dark"] .content-wrapper {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Dark mode for cards and panels */
body[data-theme="dark"] .card,
body[data-theme="dark"] .panel,
body[data-theme="dark"] .glass-card {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

/* Dark mode for text elements */
body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] h4,
body[data-theme="dark"] h5,
body[data-theme="dark"] h6,
body[data-theme="dark"] p,
body[data-theme="dark"] span,
body[data-theme="dark"] div {
    color: #ffffff !important;
}

body[data-theme="dark"] .text-muted {
    color: #adb5bd !important;
}

/* Dark mode button styling - maintain same hover effects as light mode */
body[data-theme="dark"] .btn,
body[data-theme="dark"] .btn-sm {
    background: none;
    /* color: #ffffff !important; */
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: background-color 0.3s ease !important;
    border-style: solid !important;
    border-color: whitesmoke!important;
}

body[data-theme="dark"] .btn:hover,
body[data-theme="dark"] .btn-sm:hover {
    background: #0056b3 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
}

body[data-theme="dark"] .nav-button {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body[data-theme="dark"] .nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: none;
}

body[data-theme="dark"] .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    background: transparent;
}

body[data-theme="dark"] .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: none;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.gradient-animated {
    color: transparent;
    background-image: linear-gradient(90deg, #1a2980, #26d0ce);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientAnimation 8s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.flip-card {
    perspective: 1500px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    outline: none;
}

.flip-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
}

.flip-card:focus-within .flip-card__inner,
.flip-card:hover .flip-card__inner,
.flip-card.is-flipped .flip-card__inner {
    transform: rotateY(180deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.flip-card__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flip-card__face--front {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.flip-card__face--front img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.flip-card:hover .flip-card__face--front img {
    transform: scale(1.05);
}

.flip-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    justify-content: space-between;
}

.nbfc-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6366f1 100%);
    color: #fff;
    padding: 2rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.nbfc-card-back::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px);
    background-size: 20px 20px;
    animation: patternMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

.nbfc-card-back-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: space-between;
}

.nbfc-feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.nbfc-feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    opacity: 0.95;
    line-height: 1.5;
}

.nbfc-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
}

.nbfc-card-back .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nbfc-card-back .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nbfc-flip-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nbfc-flip-card:hover .nbfc-flip-hint {
    opacity: 1;
}

.nbfc-flip-card.is-flipped .nbfc-flip-hint {
    opacity: 0;
}

.nbfc-flip-card-wrapper {
    height: 100%;
    min-height: 420px;
}

.glass3d {
    --filter-glass3d: blur(32px) brightness(0.85) saturate(2.5);
    --color-glass3d: hsl(189 100% 42% / 0.15);
    --noise-glass3d: url("https://www.transparenttextures.com/patterns/black-orchid.png");

    position: relative;
    z-index: 4;
    box-shadow: 0 0 0.75px hsl(205 20% 10% / 0.2),
        0.7px 0.8px 1.2px -0.4px hsl(205 20% 10% / 0.1),
        1.3px 1.5px 2.2px -0.8px hsl(205 20% 10% / 0.1),
        2.3px 2.6px 3.9px -1.2px hsl(205 20% 10% / 0.1),
        3.9px 4.4px 6.6px -1.7px hsl(205 20% 10% / 0.1),
        6.5px 7.2px 10.9px -2.1px hsl(205 20% 10% / 0.1),
        8px 9px 14px -2.5px hsl(205 20% 10% / 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
}

.glass3d::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    z-index: 3;
    -webkit-backdrop-filter: var(--filter-glass3d);
    backdrop-filter: var(--filter-glass3d);
    background-color: var(--color-glass3d);
    background-image: var(--noise-glass3d);
    background-size: 100px;
    background-repeat: repeat;
}

.glass3d::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    z-index: 5;
    box-shadow: inset 2px 2px 1px -3px hsl(205 20% 90% / 0.8),
        inset 4px 4px 2px -6px hsl(205 20% 90% / 0.3),
        inset 1.5px 1.5px 1.5px -0.75px hsl(205 20% 90% / 0.15),
        inset 1.5px 1.5px 0.25px hsl(205 20% 90% / 0.03),
        inset 0 0 0.25px 0.5px hsl(205 20% 90% / 0.03);
}

.glass3d>* {
    position: relative;
    z-index: 6;
}

.educator-flip-wrapper {
    perspective: 1500px;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.educator-flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.educator-flip-wrapper:hover .educator-flip-card {
    transform: rotateY(180deg);
}

.educator-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 420px;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.educator-card-front {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.educator-card-front .icon-wrapper {
    text-align: center;
}

.educator-card-front i {
    font-size: 80px;
    color: #fff;
    display: block;
    margin-bottom: 20px;
}

.educator-card-front h3 {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
}

.educator-card-back {
    background: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
}

.educator-card-back::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 4px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.educator-card-back h3 {
    color: #414141;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.educator-card-back p {
    color: #6c757d;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.educator-hover-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #6366f1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.educator-flip-wrapper:hover .educator-hover-hint {
    opacity: 0;
}

.educator-flip-card:not(:hover)~.educator-hover-hint {
    opacity: 1;
}

.nbfc-small-card {
    width: 100%;
    height: 120px;
    transition: all 0.5s;
    box-shadow: 15px 15px 30px rgba(25, 25, 25, 0.11),
        -15px -15px 30px rgba(60, 60, 60, 0.082);
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    display: block;
    margin-top: 0;
}

.nbfc-small-card:hover {
    height: 260px;
    background: linear-gradient(360deg, #edededc5 60%, hsla(0, 0%, 13%, 1) 70%);
}

.nbfc-small-card .header {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #212121;
    color: #edededc5;
}

.nbfc-small-card .header .img-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nbfc-small-card .header .img-box svg {
    width: 40px;
    height: 40px;
    display: block;
}

.nbfc-small-card .header .title {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 0 10px 0;
    transition: all 0.5s;
    color: #edededc5;
}

.nbfc-small-card:hover .header {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
}

.nbfc-small-card .content {
    display: block;
    text-align: left;
    color: #212121;
    margin: 12px 18px;
}

.nbfc-small-card .content p {
    transition: all 0.5s;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #58606a;
}

.nbfc-small-card .content a {
    color: #1d8122;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.nbfc-small-card .content a:hover {
    border-bottom: 1px solid #1d8122;
    padding-bottom: 2px;
}

h1 {
    font-size: 2.5rem;
    font-family: "Montserrat";
    font-weight: normal;
    color: #444;
    text-align: center;
    margin: 2rem 0;
}

.wrapper {
    width: 90%;
    margin: 0 auto;
    max-width: 80rem;
}

.cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.col {
    width: calc(25% - 2rem);
    margin: 1rem;
    cursor: pointer;
}

.container {
    transform-style: preserve-3d;
    perspective: 100px;
}

.front,
.back {
    background-size: cover;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    min-height: 280px;
    height: auto;
    color: #fff;
    font-size: 1.5rem;
}

.back {
    background: linear-gradient(45deg, #cedce7 0%, #596a72 100%);
}

.front:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    opacity: 0.6;
    /* background-color: #000; */
    backface-visibility: hidden;
    border-radius: 10px;
}

.cols.hover .container .front,
.cols.hover .container .back {
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.back {
    position: absolute;
    background-image: linear-gradient(to bottom,
            #00cec0,
            #00c3c0,
            #00b7bf,
            #00acbb,
            #02a0b6);
    top: 0;
    left: 0;
    width: 100%;
}

.inner {
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    outline: 1px solid transparent;
    perspective: inherit;
    z-index: 2;
}

.container .back {
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}

.container .front {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.cols.hover .container .back {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.cols.hover .container .front {
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}

.front .inner p {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.front .inner p:after {
    content: "";
    width: 4rem;
    height: 2px;
    position: absolute;
    background: #0776cb;
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -0.75rem;
}

.front .inner span {
    color: rgba(255, 255, 255, 0.7);
    font-family: "Montserrat";
    font-weight: 300;
}

@media screen and (max-width: 64rem) {
    .col {
        width: calc(33.333333% - 2rem);
    }
}

@media screen and (max-width: 48rem) {
    .col {
        width: calc(50% - 2rem);
    }
}

@media screen and (max-width: 32rem) {
    .col {
        width: 100%;
        margin: 0 0 2rem 0;
    }
}

header {
    background: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-welcome {
    color: #ecf0f1;
    font-weight: 500;
}

.nav-button {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.logout {
    background-color: #e74c3c;
}

.logout:hover {
    background-color: #c0392b;
}

/* Bootstrap Navbar & Dropdown Overrides */
.navbar {
    background-color: #2c3e50 !important;
}

.navbar .nav-link {
    color: white !important;
}

.navbar .nav-link:hover {
    color: #3498db !important;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown .nav-button {
    width: 200px;
    justify-content: center;
    text-align: center;
}

.dropdown-menu {
    background-color: #0c2a4b !important;
    border-radius: 8px;
    min-width: 200px !important;
    width: 200px;
}

.dropdown-item {
    color: #ecf0f1 !important;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.dropdown-item.text-danger {
    color: #e74c3c !important;
}

.dropdown-item.text-danger:hover {
    background-color: rgba(231, 76, 60, 0.1) !important;
    color: #e74c3c !important;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.25rem 0;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    color: #3498db;
}

/* Banner Styles */
.banner {
    text-align: center;
    padding: 20px;
    background: #f4f4f4;
    height: 400px;
    /* Fixed height for banner */
    overflow: hidden;
    position: relative;
}

.banner img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This will crop the image while maintaining aspect ratio */
    object-position: center;
    /* Centers the image */
}

/* Apps Grid Styles */
.apps {
    padding: 20px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.app-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-content {
    padding: 1.5rem;
}

.app-card h3 {
    margin: 0 0 10px;
}

.app-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}

.app-link:hover {
    background: #0056b3;
}

/* Form Styles */
.form-container {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    background: #fff;
}

.form-container h2 {
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #0056b3;
}

/* Footer Styles */
footer {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 15px 30px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    z-index: 1000;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

.uiverse-card {
    --bg: #e8e8e8;
    --contrast: #e2e0e0;
    --grey: #93a1a1;
    position: relative;
    padding: 9px;
    background-color: var(--bg);
    border-radius: 35px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
        rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.uiverse-card-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-conic-gradient(var(--bg) 0.0000001%,
            var(--grey) 0.000104%) 60% 60%/600% 600%;
    filter: opacity(10%) contrast(105%);
    border-radius: 35px;
}

.uiverse-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
    overflow: hidden;
    width: 100%;
    min-height: 320px;
    background-color: var(--contrast);
    border-radius: 30px;
    padding: 24px;
    color: #0b2b43;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        Arial;
}

.uiverse-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.12);
    font-size: 1.6rem;
}

.uiverse-card h5 {
    text-align: center;
    margin: 8px 0 4px;
    font-weight: 700;
    color: #063554;
}

.uiverse-card p {
    margin: 0;
    color: #274b5e;
    font-size: 0.92rem;
    line-height: 1.35;
}

.uiverse-card .badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.uiverse-pill {
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
    background: rgba(11, 118, 209, 0.12);
    color: #063554;
    border: 1px solid rgba(11, 118, 209, 0.12);
}

.uiverse-cta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.uiverse-cta .status {
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #53aff4, #5fc9ff);
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(79, 151, 223, 0.18);
}

/* ========== MODERN ENHANCEMENTS ========== */

/* Parallax scroll effect */
.parallax-element {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

/* Modern sections styling */
.fullpage-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    overflow: visible;
    padding: 2rem 0;
}

.fullpage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.fullpage-section > .container {
    position: relative;
    z-index: 2;
}

/* Enhanced glow border effect */
.glow-border {
    border: 2px solid transparent;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    animation: glowBorderPulse 4s ease-in-out infinite;
}

@keyframes glowBorderPulse {
    0%, 100% {
        background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3)) border-box;
    }
    50% {
        background: linear-gradient(45deg, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.6)) border-box;
    }
}

/* Enhanced particles background effect */
.particles-bg {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    animation: particlesFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes particlesFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 100% 100%, -100% 100%, 50% -50%;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal-left {
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .scroll-reveal-left.revealed {
        opacity: 1;
        transform: translateX(0);
    }
    
    .scroll-reveal-right {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .scroll-reveal-right.revealed {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Interactive hover effects */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Glassmorphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Gradient animated text */
.gradient-animated {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientAnimation 8s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Mobile responsive improvements */
@media (max-width: 992px) {
    .fullpage-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
    
    .floating-card {
        margin: 0 15px;
    }
}

@media (max-width: 768px) {
    .fullpage-section {
        padding: 40px 0;
    }
    
    .banner-title {
        font-size: 2rem !important;
        text-align: center;
    }
    
    .banner-description {
        font-size: 0.95rem !important;
        text-align: center;
    }
    
    .smart-discovery-card {
        margin: 0 10px;
        padding: 1.5rem !important;
    }
    
    .particles-bg {
        background-size: 40px 40px, 50px 50px, 60px 60px;
    }
    
    .enhanced-btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .glass-card {
        backdrop-filter: blur(5px);
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 1.8rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .banner-description {
        font-size: 0.9rem !important;
    }
    
    .floating-card {
        margin: 0 5px;
    }
    
    .enhanced-btn {
        font-size: 0.85rem;
        padding: 10px 18px;
        min-height: 44px;
    }
    
    .glass-card {
        margin: 0 5px;
        border-radius: 12px;
    }
}

/* Touch interactions for mobile */
@media (pointer: coarse) {
    .enhanced-btn {
        min-height: 48px;
        font-size: 1rem;
    }
    
    .hover-lift:hover {
        transform: none;
    }
    
    .hover-lift:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .glass-card {
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .particles-bg {
        background-image: 
            radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
            radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    }
}

/* Performance optimizations */
.enhanced-btn,
.floating-card,
.hover-lift,
.glass-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Focus states for accessibility */
.enhanced-btn:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

.glass-card:focus-within {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 4px;
}