/* Full page modern design */
body {
    overflow-x: hidden;
}

/* Remove ALL ABP container constraints */
.lpx-wrapper,
.lpx-content-container,
.lpx-content,
.lpx-inner-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide ABP sidebar and header for this page */
.lpx-sidebar,
.lpx-header {
    display: none !important;
}

/* Ultra Modern Futuristic Toolbar */
.lpx-toolbar {
    background: linear-gradient(135deg, #6B46C1 0%, #06B6D4 30%, #FB923C 60%, #f5576c 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: toolbarGlow 3s ease-in-out infinite alternate;
}

@keyframes toolbarGlow {
     0% {
         box-shadow:
                 0 8px 32px rgba(0, 0, 0, 0.12),
                 inset 0 1px 0 rgba(255, 255, 255, 0.2);
     }
     100% {
         box-shadow:
                 0 12px 40px rgba(102, 126, 234, 0.25),
                 inset 0 1px 0 rgba(255, 255, 255, 0.3);
     }
 }

.lpx-toolbar:hover {
    transform: translateY(-1px);
    box-shadow:
            0 16px 48px rgba(102, 126, 234, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Futuristic Logo */
.lpx-toolbar .navbar-brand {
    color: white !important;
    font-weight: 800;
    font-size: 1.75rem;
    text-shadow:
            0 0 10px rgba(255, 255, 255, 0.5),
            0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.5px;
}

.lpx-toolbar .navbar-brand::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -4px;
    right: -4px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lpx-toolbar .navbar-brand:hover {
    transform: scale(1.08) rotateY(5deg);
    text-shadow:
            0 0 20px rgba(255, 255, 255, 0.8),
            0 4px 8px rgba(0, 0, 0, 0.4);
}

.lpx-toolbar .navbar-brand:hover::before {
    opacity: 1;
}

/* Next-Gen Navigation Links */
.lpx-toolbar .navbar-nav {
    gap: 8px;
}

.lpx-toolbar .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    padding: 12px 20px !important;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.lpx-toolbar .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
    );
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lpx-toolbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff, #FB923C);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.lpx-toolbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lpx-toolbar .nav-link:hover::before {
    left: 100%;
}

.lpx-toolbar .nav-link:hover::after {
    width: 80%;
}

/* Futuristic Buttons */
.lpx-toolbar .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 16px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.lpx-toolbar .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.lpx-toolbar .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.25),
            0 0 20px rgba(255, 255, 255, 0.2);
}

.lpx-toolbar .btn:hover::before {
    width: 120px;
    height: 120px;
}

.lpx-toolbar .btn-primary {
    background: linear-gradient(135deg, #6B46C1, #06B6D4, #FB923C);
    border: none;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    position: relative;
}

.lpx-toolbar .btn-primary::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.lpx-toolbar .btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190, #e8447f);
    box-shadow:
            0 15px 35px rgba(102, 126, 234, 0.6),
            0 0 30px rgba(245, 87, 108, 0.3);
    transform: translateY(-5px) scale(1.08);
}

/* Mobile Menu Button */
.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .lpx-toolbar {
        padding: 12px 20px;
    }

    .lpx-toolbar .navbar-brand {
        font-size: 1.5rem;
    }

    .lpx-toolbar .nav-link {
        padding: 10px 16px !important;
        font-size: 0.9rem;
    }

    .lpx-toolbar .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Full viewport sections with toolbar adjustment */
.sincap-page {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;

}

.sincap-page section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Smooth animations */
.animate-fadeInUp {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fadeInUp.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern gradients */
.gradient-mesh {
    background-image:
            radial-gradient(at 40% 20%, hsla(280, 100%, 74%, 0.3) 0px, transparent 50%),
            radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.3) 0px, transparent 50%),
            radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.3) 0px, transparent 50%),
            radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.3) 0px, transparent 50%),
            radial-gradient(at 0% 100%, hsla(224, 100%, 75%, 0.3) 0px, transparent 50%),
            radial-gradient(at 80% 100%, hsla(242, 100%, 70%, 0.3) 0px, transparent 50%);
}

/* Glassmorphism effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass-card {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating elements animation */
@keyframes float {
     0%, 100% { transform: translateY(0px); }
     50% { transform: translateY(-20px); }
 }

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Gradient text animation */
@keyframes gradient {
     0% { background-position: 0% 50%; }
     50% { background-position: 100% 50%; }
     100% { background-position: 0% 50%; }
 }

.animated-gradient-text {
    background: linear-gradient(-45deg, #ffffff, #a5f3fc, #f9a8d4, #ffffff);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

/* Increase overall font sizes for this page (desktop and mobile) */
html {
    font-size: 18px;
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 17px;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 14px;
    }
}