:root {
    --logo-navbar-h: 40px;
    --logo-portal-h: 100px;
    --logo-sidebar-h: 70px;
    --logo-footer-h: 35px;
}
body { font-family: 'Inter', sans-serif; }
.glass { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }

/* Logo Sizing Control */
.logo-navbar { height: var(--logo-navbar-h); width: auto; min-height: var(--logo-navbar-h); }
.logo-footer { height: var(--logo-footer-h); width: auto; }
.logo-portal { height: var(--logo-portal-h); width: auto; min-height: var(--logo-portal-h); }
.logo-sidebar { height: var(--logo-sidebar-h); width: auto; min-height: var(--logo-sidebar-h); }

/* Toast Notifications */
@keyframes slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slide-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}
.animate-slide-in { animation: slide-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.animate-slide-out { animation: slide-out 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

/* Corporate Mesh Gradient */
.bg-corporate {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, hsla(217,100%,97%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(212,100%,96%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(217,100%,97%,1) 0, transparent 50%), 
        radial-gradient(at 50% 100%, hsla(217,100%,98%,1) 0, transparent 50%);
    position: relative;
}

/* Premium Mesh Gradient Animation */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
}

.mesh-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    animation: blob-float 20s infinite alternate;
}

.blob-1 { background: #3b82f6; top: -10%; left: -10%; animation-delay: 0s; }
.blob-2 { background: #60a5fa; bottom: -10%; right: -10%; animation-delay: -5s; }
.blob-3 { background: #93c5fd; top: 40%; right: 10%; animation-delay: -10s; }

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Glassmorphism Refined */
.glass { 
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(12px) saturate(180%); 
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ Bento Style */
.faq-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}
.faq-content {
    transition: all 0.3s ease-out;
}

.tech-grid {
    background-image: radial-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}
.dropdown-content { 
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.dropdown:hover .dropdown-content { 
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
/* Bridge the gap between button and dropdown */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}
.portfolio-overlay { background: linear-gradient(to top, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.2)); }
.modal-enter { animation: modalFadeIn 0.3s ease forwards; }
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.ai-float { animation: float 6s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Testimonials Slider */
.testimonials-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content;
    will-change: transform;
}

#testimonials-grid-container {
    overflow-x: hidden;
}

/* Custom Scrollbar for Explorer */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.4);
}

.tech-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.12);
}
