/* modern-ui.css */

/* =========================================================================
   Technology Grid Section
   ========================================================================= */

/* Floating Glass Track */
.tech-container-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.glass-track {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: 6px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02), 0 8px 32px rgba(0, 0, 0, 0.04);
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.glass-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.active-highlight {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 0;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.tech-filter-btn {
    position: relative;
    z-index: 2;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #64748b;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.tech-filter-btn:hover {
    color: #0f172a;
    transform: none;
}
.tech-filter-btn.active {
    color: #0f172a;
    transform: none;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 4px solid transparent;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 0;
}
.glass-card > * {
    position: relative;
    z-index: 1;
}
.glass-card:hover::before {
    left: 200%;
}
.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
    background: #ffffff;
    border-bottom: 4px solid #3b82f6;
}

.tech-item {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.tech-item.hide {
    display: none !important;
}

/* =========================================================================
   Request A Quote Section
   ========================================================================= */

.quote-container-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
    margin-bottom: 80px;
}
.quote-mesh-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; pointer-events: none;
}
.quote-content-container {
    z-index: 3;
}
.quote-floating-card-bg {
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px); 
    border: 1px solid rgba(255,255,255,1); 
    border-radius: 30px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float-blob infinite alternate ease-in-out;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #e0f2fe; animation-duration: 12s; opacity: 0.7; }
.blob-2 { bottom: -20%; right: -10%; width: 600px; height: 600px; background: #f5f3ff; animation-duration: 18s; animation-delay: -5s; opacity: 0.7; }
.blob-3 { top: 40%; left: 40%; width: 400px; height: 400px; background: #e0e7ff; animation-duration: 15s; animation-delay: -2s; opacity: 0.5; }

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

.floating-quote-card {
    animation: card-breathe 6s infinite ease-in-out;
}
@keyframes card-breathe {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.glass-particle {
    position: absolute;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    animation: particle-rise infinite linear;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
@keyframes particle-rise {
    0% { transform: translateY(120vh) rotate(0deg) scale(0.5); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-20vh) rotate(360deg) scale(1.5); opacity: 0; }
}

.hollow-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    animation: ring-spin infinite linear;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.02);
}
@keyframes ring-spin {
    0% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.7; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.3; }
}

.floating-shape {
    position: absolute;
    color: rgba(148, 163, 184, 0.4);
    font-size: 2rem;
    font-family: sans-serif;
    font-weight: bold;
    animation: particle-rise infinite linear;
}

/* Base components */
.badge-modern {
    background: rgba(255, 255, 255, 0.8);
    color: #3b82f6;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.badge-modern:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 15px rgba(59,130,246,0.1);
}

.call-btn-modern {
    background: #0f172a;
    padding: 10px 10px 10px 40px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    position: relative;
    border: 1px solid transparent;
}
.call-btn-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.call-btn-modern .icon-circle {
    width: 56px;
    height: 56px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}
.call-btn-modern:hover .icon-circle {
    transform: scale(1.1);
    background: #ffffff;
    color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59,130,246,0.5);
}
.call-btn-modern .fa-phone-alt {
    transition: transform 0.4s ease;
}
.call-btn-modern:hover .fa-phone-alt {
    transform: rotate(15deg);
}
.btn-text-content {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}
.call-btn-modern:hover .btn-text-content {
    transform: translateY(-50px);
}

/* Layout Utilities (Hollow Rings) */
.ring-1 { top: -10%; left: -5%; width: 400px; height: 400px; animation-duration: 25s; border-width: 4px; }
.ring-2 { bottom: -15%; right: -10%; width: 600px; height: 600px; animation-duration: 35s; animation-direction: reverse; border-width: 3px; border-style: dashed; }
.ring-3 { top: -20%; right: 15%; width: 300px; height: 300px; animation-duration: 20s; border-width: 5px; }
.ring-4 { bottom: 10%; left: 10%; width: 250px; height: 250px; animation-duration: 18s; border: 3px solid rgba(255,255,255,0.8); }
.ring-5 { top: 40%; left: 40%; width: 700px; height: 700px; animation-duration: 50s; border: 1px solid rgba(255,255,255,0.2); }

/* Layout Utilities (Glass Particles) */
.particle-1 { left: 5%; width: 40px; height: 40px; animation-duration: 12s; animation-delay: 0s; }
.particle-2 { left: 12%; width: 25px; height: 25px; animation-duration: 17s; animation-delay: -5s; }
.particle-3 { left: 18%; width: 60px; height: 60px; animation-duration: 22s; animation-delay: -2s; }
.particle-4 { left: 25%; width: 30px; height: 30px; animation-duration: 14s; animation-delay: -8s; }
.particle-5 { left: 32%; width: 45px; height: 45px; animation-duration: 19s; animation-delay: -1s; }
.particle-6 { left: 38%; width: 20px; height: 20px; animation-duration: 11s; animation-delay: -6s; }
.particle-7 { left: 45%; width: 70px; height: 70px; animation-duration: 25s; animation-delay: -12s; }
.particle-8 { left: 52%; width: 35px; height: 35px; animation-duration: 16s; animation-delay: -3s; }
.particle-9 { left: 58%; width: 50px; height: 50px; animation-duration: 21s; animation-delay: -9s; }
.particle-10 { left: 65%; width: 25px; height: 25px; animation-duration: 13s; animation-delay: -4s; }
.particle-11 { left: 72%; width: 80px; height: 80px; animation-duration: 28s; animation-delay: -11s; }
.particle-12 { left: 78%; width: 30px; height: 30px; animation-duration: 15s; animation-delay: -7s; }
.particle-13 { left: 85%; width: 65px; height: 65px; animation-duration: 23s; animation-delay: -2s; }
.particle-14 { left: 92%; width: 40px; height: 40px; animation-duration: 18s; animation-delay: -10s; }
.particle-15 { left: 96%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: -5s; }

/* Layout Utilities (Floating Shapes) */
.shape-1 { left: 10%; animation-duration: 16s; animation-delay: -2s; }
.shape-2 { left: 30%; animation-duration: 20s; animation-delay: -8s; }
.shape-3 { left: 70%; animation-duration: 14s; animation-delay: -4s; }
.shape-4 { left: 90%; animation-duration: 24s; animation-delay: -11s; }
.shape-5 { left: 50%; animation-duration: 18s; animation-delay: -6s; }
