/* =====================================================
   StructuraPro Builders — Main Stylesheet
   Premium Dark Theme + Glassmorphism
   ===================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100%;
}

/* ═══ Tailwind Utility Fallbacks (when CDN is unreachable) ═══ */
.hidden { display: none !important; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-16 { column-gap: 4rem; }
.gap-y-8 { row-gap: 2rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.\!z-\[9999\], .z-\[9999\] { z-index: 9999; }
.z-\[999\] { z-index: 999; }
.z-\[998\] { z-index: 998; }
.z-\[1\] { z-index: 1; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-20 { width: 5rem; }
.h-2 { height: 0.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }
.min-h-screen { min-height: 100vh; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-heading { font-family: 'Outfit', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.625; }
.whitespace-nowrap { white-space: nowrap; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-lg { border-radius: 0.5rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pt-32 { padding-top: 8rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mr-3 { margin-right: 0.75rem; }
.space-y-3 > :not(:first-child) { margin-top: 0.75rem; }
.space-y-4 > :not(:first-child) { margin-top: 1rem; }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-shadow { transition: box-shadow 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.pointer-events-none { pointer-events: none; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.opacity-0 { opacity: 0; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.-translate-y-1:hover { transform: translateY(-0.25rem); }
.left-1\/2 { left: 50%; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
.bottom-8 { bottom: 2rem; }
.right-full { right: 100%; }
.aspect-\[4\/3\] { aspect-ratio: 4/3; }

/* Colors */
.text-dark-300 { color: #cbd5e1; }
.text-dark-400 { color: #94a3b8; }
.text-dark-500 { color: #64748b; }
.text-dark-600 { color: #475569; }
.text-primary-400 { color: #fbbf24; }
.text-primary-500 { color: #f59e0b; }
.text-primary-500\/50 { color: rgba(245, 158, 11, 0.5); }
.text-primary-500\/60 { color: rgba(245, 158, 11, 0.6); }
.text-primary-500\/30 { color: rgba(245, 158, 11, 0.3); }
.text-dark-950 { color: #020617; }
.text-green-400 { color: #4ade80; }
.text-\[10px\] { font-size: 10px; }

.bg-dark-950 { background-color: #020617; }
.bg-dark-900\/30 { background-color: rgba(15, 23, 42, 0.3); }
.bg-dark-800 { background-color: #1e293b; }
.bg-green-500 { background-color: #22c55e; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-primary-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-primary-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
.bg-green-500\/10 { background-color: rgba(34, 197, 94, 0.1); }

.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-green-500\/20 { border-color: rgba(34, 197, 94, 0.2); }
.border-primary-400\/30 { border-color: rgba(251, 191, 36, 0.3); }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-primary-500\/25 { --tw-shadow-color: rgba(245, 158, 11, 0.25); box-shadow: 0 10px 15px -3px var(--tw-shadow-color); }
.shadow-primary-500\/30 { --tw-shadow-color: rgba(245, 158, 11, 0.3); box-shadow: 0 10px 15px -3px var(--tw-shadow-color); }
.shadow-green-500\/30 { --tw-shadow-color: rgba(34, 197, 94, 0.3); box-shadow: 0 10px 15px -3px var(--tw-shadow-color); }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-primary-400 { --tw-gradient-from: #fbbf24; --tw-gradient-stops: #fbbf24, var(--tw-gradient-to, rgba(251, 191, 36, 0)); }
.from-primary-500 { --tw-gradient-from: #f59e0b; --tw-gradient-stops: #f59e0b, var(--tw-gradient-to, rgba(245, 158, 11, 0)); }
.to-primary-600 { --tw-gradient-to: #d97706; }
.to-transparent { --tw-gradient-to: transparent; }
.from-primary-400\/20 { --tw-gradient-from: rgba(251, 191, 36, 0.2); --tw-gradient-stops: rgba(251, 191, 36, 0.2), var(--tw-gradient-to, rgba(251,191,36,0)); }
.to-primary-600\/10 { --tw-gradient-to: rgba(217, 119, 6, 0.1); }
.from-dark-950\/95 { --tw-gradient-from: rgba(2, 6, 23, 0.95); --tw-gradient-stops: rgba(2, 6, 23, 0.95), var(--tw-gradient-to, rgba(2,6,23,0)); }
.from-dark-950 { --tw-gradient-from: #020617; --tw-gradient-stops: #020617, var(--tw-gradient-to, rgba(2,6,23,0)); }
.from-primary-500\/5 { --tw-gradient-from: rgba(245, 158, 11, 0.05); --tw-gradient-stops: rgba(245, 158, 11, 0.05), var(--tw-gradient-to, rgba(245,158,11,0)); }
.via-dark-950\/70 { --tw-gradient-stops: var(--tw-gradient-from), rgba(2, 6, 23, 0.7), var(--tw-gradient-to, rgba(2,6,23,0)); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.to-dark-950\/50 { --tw-gradient-to: rgba(2, 6, 23, 0.5); }
.to-dark-950 { --tw-gradient-to: #020617; }

/* Backdrop */
.backdrop-blur-2xl { backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }

/* Navbar glass */
.navbar-glass {
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
}

/* Hover states */
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:bg-white\/20:hover { background-color: rgba(255, 255, 255, 0.2); }
.hover\:text-primary-400:hover { color: #fbbf24; }
.hover\:text-primary-300:hover { color: #fcd34d; }
.hover\:border-white\/20:hover { border-color: rgba(255, 255, 255, 0.2); }
.hover\:border-primary-400\/30:hover { border-color: rgba(251, 191, 36, 0.3); }
.hover\:bg-primary-400\/5:hover { background-color: rgba(251, 191, 36, 0.05); }
.hover\:bg-green-500\/20:hover { background-color: rgba(34, 197, 94, 0.2); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:shadow-primary-500\/30:hover { box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.3); }
.hover\:shadow-green-500\/50:hover { box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.5); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }

/* Grid columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }

/* Bounce/Pulse keyframes */
@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ── Responsive Breakpoints (Tailwind fallback) ── */
@media (min-width: 640px) {
    .sm\:block { display: block !important; }
    .sm\:flex { display: flex !important; }
    .sm\:hidden { display: none !important; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
    .md\:flex-row { flex-direction: row; }
    .md\:inline-flex { display: inline-flex !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:items-end { align-items: flex-end; }
    .md\:justify-between { justify-content: space-between; }
    .md\:mt-0 { margin-top: 0; }
    .md\:p-16 { padding: 4rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:hidden { display: none !important; }
    .lg\:inline-flex { display: inline-flex !important; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* ═══ End Tailwind Fallbacks ═══ */


/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #f59e0b, #d97706); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #fbbf24, #f59e0b); }

/* ── Selection ── */
::selection { background: rgba(245, 158, 11, 0.3); color: #fff; }

/* ── Preloader ── */
#preloader {
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.house-builder-loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}
.house-builder-loader .roof {
    position: absolute;
    top: 10px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 30px solid #f59e0b;
    transform-origin: bottom;
    animation: popRoof 2.5s infinite ease-in-out;
}
.house-builder-loader .walls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 60px;
    height: 35px;
    background: #fbbf24;
    transform-origin: bottom;
    animation: growWalls 2.5s infinite ease-in-out;
}
.house-builder-loader .window {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 14px;
    height: 14px;
    background: #0f172a;
    border-radius: 2px;
    animation: showWindow 2.5s infinite ease-in-out;
}
.house-builder-loader .door {
    position: absolute;
    bottom: 0;
    right: 12px;
    width: 14px;
    height: 22px;
    background: #0f172a;
    border-radius: 2px 2px 0 0;
    animation: showDoor 2.5s infinite ease-in-out;
}

@keyframes growWalls {
    0%, 10% { transform: scaleY(0); opacity: 0; }
    25%, 80% { transform: scaleY(1); opacity: 1; }
    90%, 100% { transform: scaleY(0); opacity: 0; }
}
@keyframes popRoof {
    0%, 25% { transform: scale(0); opacity: 0; }
    40%, 80% { transform: scale(1); opacity: 1; }
    90%, 100% { transform: scale(0); opacity: 0; }
}
@keyframes showWindow {
    0%, 40% { transform: scale(0); opacity: 0; }
    55%, 80% { transform: scale(1); opacity: 1; }
    90%, 100% { transform: scale(0); opacity: 0; }
}
@keyframes showDoor {
    0%, 55% { transform: scale(0); opacity: 0; }
    70%, 80% { transform: scale(1); opacity: 1; }
    90%, 100% { transform: scale(0); opacity: 0; }
}

/* ── Notification Scroll Bar ── */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.notification-track {
    animation: scroll 30s linear infinite;
}
.notification-track:hover {
    animation-play-state: paused;
}

/* ── Top Bar ── */
.topbar {
    transition: transform 0.3s ease;
}
.topbar-inner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.95));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.topbar-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #94a3b8;
    transition: color 0.25s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}
.topbar-contact-link:hover {
    color: #fbbf24;
}
.topbar-contact-link i {
    font-size: 0.6rem;
    color: #f59e0b;
    opacity: 0.7;
}
.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-block;
}
.topbar-quicklinks {
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-quicklinks-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}
.topbar-quicklinks-label i {
    font-size: 0.55rem;
    animation: topbarPulse 2s ease-in-out infinite;
}
@keyframes topbarPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}
.topbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    position: relative;
}
.topbar-link i {
    font-size: 0.55rem;
    opacity: 0.6;
    transition: opacity 0.25s ease;
}
.topbar-link:hover {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.08);
}
.topbar-link:hover i {
    opacity: 1;
}
.topbar-link-active {
    color: #fbbf24 !important;
    background: rgba(245, 158, 11, 0.1);
    font-weight: 600;
}
.topbar-link-active i {
    opacity: 1 !important;
}
.topbar-link-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 30%;
    right: 30%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    border-radius: 1px;
}
.topbar-social {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}
.topbar-social:hover {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateY(-1px);
}
.topbar-social-whatsapp:hover {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.2);
}

/* Topbar responsive */
@media (max-width: 768px) {
    .topbar-quicklinks-label {
        font-size: 0.6rem;
    }
    .topbar-link {
        font-size: 0.62rem;
        padding: 3px 6px;
    }
    .topbar-link i {
        display: none;
    }
    .topbar-nav {
        gap: 0;
    }
}
@media (max-width: 480px) {
    .topbar-quicklinks-label {
        display: none;
    }
    .topbar-link {
        font-size: 0.6rem;
        padding: 3px 5px;
    }
}

/* ── Navigation ── */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.nav-link:hover, .nav-active {
    color: #fbbf24;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-active::after {
    width: 60%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    transition: all 0.3s ease;
}
.mobile-nav-link:hover, .mobile-nav-active {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

/* Navbar scroll effect */
#navbar.scrolled .navbar-glass {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
}


.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: left;
}

/* ── Glassmorphism Cards ── */
.glass-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(245, 158, 11, 0.05);
}

/* ── Service Cards ── */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before {
    opacity: 1;
}
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fbbf24;
    transition: all 0.4s ease;
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* ── Project Cards ── */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}
.project-card .project-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-image {
    transform: scale(1.08);
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.4) 50%, transparent 100%);
    transition: background 0.4s ease;
}
.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.6) 50%, rgba(2, 6, 23, 0.2) 100%);
}

/* ── Status Badges ── */
.badge-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.badge-ongoing {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.badge-upcoming {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.badge-on_hold {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── Stats Counter ── */
.stat-card {
    text-align: center;
    padding: 2rem;
}
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* ── Timeline ── */
.timeline-item {
    position: relative;
    padding-left: 3rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 2.5rem;
    bottom: -1.5rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.3), transparent);
}
.timeline-item:last-child::before {
    display: none;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* ── Section Headers ── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
}
.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── CTA Section ── */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.03));
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 1.5rem;
}

/* ── Form Styling ── */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: rgba(30, 41, 59, 0.8);
}
.form-input::placeholder {
    color: #475569;
}
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

/* ── Lightbox ── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ── Star Rating ── */
.star-rating {
    display: inline-flex;
    gap: 2px;
}
.star-rating .fa-star {
    color: #fbbf24;
}
.star-rating .fa-star.empty {
    color: #334155;
}

/* ── Testimonial Cards ── */
.testimonial-card {
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(245, 158, 11, 0.1);
    line-height: 1;
}

/* ── Filter Buttons ── */
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .stat-number { font-size: 2.25rem; }
    .section-title { font-size: 1.875rem !important; }
}
@media (max-width: 480px) {
    .stat-number { font-size: 1.875rem; }
}

/* ── Page Transition ── */
.page-transition {
    animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Floating Animation ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ── Glow Effects ── */
.glow-primary {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.15);
}

/* ── Team Cards ── */
.team-card {
    position: relative;
    overflow: hidden;
}
.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #d97706);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.team-card:hover::after {
    transform: scaleX(1);
}

/* ── Swiper Custom Styles ── */
.swiper-pagination-bullet {
    background: #475569 !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active {
    background: #f59e0b !important;
    width: 24px !important;
    border-radius: 4px !important;
}
.swiper-button-next, .swiper-button-prev {
    color: #f59e0b !important;
    background: rgba(15, 23, 42, 0.8);
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold;
}

/* ── Floating Social Buttons (Jumping) ── */
.floating-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

/* WhatsApp button */
.floating-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3);
    animation: floatingJump 2s ease-in-out infinite;
}

/* Instagram button */
.floating-btn-instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.4), 0 0 0 0 rgba(225, 48, 108, 0.3);
    animation: floatingJump 2s ease-in-out infinite 1s;
}

/* Jumping keyframes */
@keyframes floatingJump {
    0%, 100% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-14px);
    }
    30% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(0);
    }
}

/* Hover — pause animation & scale up */
.floating-btn:hover {
    animation-play-state: paused;
    transform: scale(1.15) !important;
}
.floating-btn-whatsapp:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
.floating-btn-instagram:hover {
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.6);
}

/* Pulsing ring */
.floating-btn-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: floatingRing 3s ease-out infinite;
    pointer-events: none;
}
.floating-btn-whatsapp .floating-btn-ring {
    border-color: #25d366;
    animation-delay: 0s;
}
.floating-btn-instagram .floating-btn-ring {
    border-color: #e6683c;
    animation-delay: 1.5s;
}

@keyframes floatingRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Tooltip */
.floating-btn-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}
.floating-btn-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(15, 23, 42, 0.95);
}
.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive — slightly smaller on mobile */
@media (max-width: 480px) {
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    .floating-socials {
        bottom: 1rem !important;
        right: 1rem !important;
        gap: 0.75rem !important;
    }
}

/* ══════════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ══════════════════════════════════════════════════ */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.theme-toggle-track {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    transition: background 0.4s ease, border-color 0.4s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
.theme-icon-dark, .theme-icon-light {
    font-size: 0.65rem;
    z-index: 1;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.theme-icon-dark { color: #fbbf24; opacity: 1; }
.theme-icon-light { color: #94a3b8; opacity: 0.5; }
.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    transition: transform 0.4s cubic-bezier(0.68, -0.15, 0.27, 1.15), background 0.4s ease, box-shadow 0.4s ease;
}
.theme-toggle-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.theme-toggle-btn:hover .theme-toggle-track {
    border-color: rgba(245, 158, 11, 0.3);
}
.theme-toggle-btn:hover .theme-toggle-thumb {
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.6);
}

/* Light mode toggle state */
body.light-mode .theme-toggle-track {
    background: linear-gradient(135deg, #e0e7ff, #dbeafe);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
body.light-mode .theme-toggle-thumb {
    transform: translateX(24px);
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}
body.light-mode .theme-icon-dark { color: #94a3b8; opacity: 0.4; }
body.light-mode .theme-icon-light { color: #f59e0b; opacity: 1; }
body.light-mode .theme-toggle-label { color: #475569; }

/* ══════════════════════════════════════════════════
   LIGHT MODE THEME OVERRIDES
   ══════════════════════════════════════════════════ */
body.light-mode {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

/* Navbar */
body.light-mode .navbar-glass {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
body.light-mode #navbar.scrolled .navbar-glass {
    background: rgba(255, 255, 255, 0.95) !important;
}
body.light-mode .nav-link { color: #475569; }
body.light-mode .nav-link:hover, body.light-mode .nav-active { color: #d97706; }
body.light-mode .nav-link::after { background: linear-gradient(90deg, #f59e0b, #d97706); }

/* Mobile menu */
body.light-mode #mobile-menu {
    background: rgba(255, 255, 255, 0.97) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-mode .mobile-nav-link { color: #475569; }
body.light-mode .mobile-nav-link:hover, body.light-mode .mobile-nav-active {
    background: rgba(245, 158, 11, 0.08);
    color: #d97706;
}
body.light-mode #mobile-toggle {
    background: rgba(0,0,0,0.04) !important;
    border-color: rgba(0,0,0,0.08) !important;
    color: #334155 !important;
}

/* Logo text */
body.light-mode .font-heading.font-bold.text-white,
body.light-mode a .text-white {
    color: #0f172a !important;
}

/* Sections */
body.light-mode .bg-dark-950 { background-color: #f8fafc !important; }
body.light-mode .bg-dark-900\/30 { background-color: rgba(241, 245, 249, 0.6) !important; }

/* Glass cards */
body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
body.light-mode .glass-card:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08), 0 0 20px rgba(245, 158, 11, 0.05);
}

/* Text colors */
body.light-mode .text-white { color: #0f172a !important; }
body.light-mode .text-dark-300 { color: #475569 !important; }
body.light-mode .text-dark-400 { color: #64748b !important; }
body.light-mode .text-dark-500 { color: #94a3b8 !important; }
body.light-mode .text-dark-600 { color: #94a3b8 !important; }
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4 {
    color: #0f172a;
}
body.light-mode .section-title { color: #0f172a; }

/* Hero section — Light Mode */
body.light-mode #hero { background-color: #f8fafc; }
body.light-mode .hero-gradient-1 {
    background: transparent !important;
}
body.light-mode .hero-gradient-2 {
    background: transparent !important;
}
body.light-mode #hero .hero-content {
    text-shadow: none;
}
body.light-mode #hero .gradient-text,
body.light-mode #hero .stat-number {
    background: linear-gradient(135deg, #ea580c, #c2410c, #9a3412);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Video Fullscreen (Hide encoded black bars) */
.hero-video {
    transform: scale(1.35);
}

/* Footer */
body.light-mode footer {
    background-color: #0f172a !important;
}
body.light-mode footer .text-white { color: #fff !important; }
body.light-mode footer .text-dark-400 { color: #94a3b8 !important; }
body.light-mode footer .text-dark-500 { color: #64748b !important; }

/* Form inputs */
body.light-mode .form-input {
    background: rgba(241, 245, 249, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #1e293b !important;
}
body.light-mode .form-input:focus {
    border-color: rgba(245, 158, 11, 0.5) !important;
    background: #fff !important;
}
body.light-mode .form-label { color: #334155 !important; }

/* CTA section */
body.light-mode .cta-section::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(217, 119, 6, 0.02)) !important;
    border-color: rgba(245, 158, 11, 0.12) !important;
}

/* Filter buttons */
body.light-mode .filter-btn {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
    color: #475569;
}
body.light-mode .filter-btn:hover, body.light-mode .filter-btn.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

/* Badges */
body.light-mode .section-badge {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.15);
}

/* Scrollbar */
body.light-mode::-webkit-scrollbar-track { background: #f1f5f9; }

/* Preloader */
body.light-mode #preloader { background: #f8fafc !important; }
body.light-mode #preloader .text-primary-400 { color: #d97706 !important; }

/* Selection */
body.light-mode ::selection { background: rgba(245, 158, 11, 0.2); color: #0f172a; }

/* Transition for all theme changes */
body, body * {
    transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ═══ Back to Top Button ═══ */
.back-to-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #020617;
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 6px 18px -4px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 25px -4px rgba(245, 158, 11, 0.6);
    color: #020617;
}

@media (max-width: 640px) {
    .back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
}
/* Exclude animations from the global transition */
body .animate-bounce, body .animate-pulse, body .float-btn, body canvas {
    transition: none !important;
}
