/* Critical CSS Fixes for Icons and Layout */

/* Prevent Horizontal Scroll - More Specific */
* {
    box-sizing: border-box;
}

/* Only apply overflow-x hidden to main content areas, not header */
main, .bg-white, .bg-gray-50, section {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Container overflow prevention - but not header */
.container, .max-w-7xl, .max-w-6xl, .max-w-5xl, .max-w-4xl, .max-w-3xl, .max-w-2xl, .max-w-xl, .max-w-lg, .max-w-md, .max-w-sm {
    max-width: 100% !important;
}

/* Grid and Flex overflow prevention - but not header */
.grid:not(header .grid), .flex:not(header .flex) {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Essential Width/Height Utilities */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-96 { width: 24rem; }
.w-full { width: 100%; }

.h-1 { height: 0.25rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { width: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-96 { height: 24rem; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }

/* Essential Spacing */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.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-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-1 { margin-right: 0.25rem; }

/* Essential Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* Essential Grid */
.grid { display: grid; }
.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)); }

/* Essential Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-10 { top: 2.5rem; }
.top-20 { top: 5rem; }
.top-1\/2 { top: 50%; }
.top-1\/4 { top: 25%; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-20 { bottom: 5rem; }
.left-0 { left: 0; }
.left-4 { left: 1rem; }
.left-10 { left: 2.5rem; }
.left-20 { left: 5rem; }
.left-1\/2 { left: 50%; }
.left-1\/3 { left: 33.333333%; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.right-10 { right: 2.5rem; }
.right-16 { right: 4rem; }
.right-20 { right: 5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-9999 { z-index: 9999; }

/* Essential Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }

/* Essential Transforms */
.transform { transform: var(--tw-transform); }
.translate-x-0 { --tw-translate-x: 0px; transform: var(--tw-transform); }
.translate-x-full { --tw-translate-x: 100%; transform: var(--tw-transform); }
.-translate-x-1\/2 { --tw-translate-x: -50%; transform: var(--tw-transform); }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: var(--tw-transform); }
.-translate-y-2 { --tw-translate-y: -0.5rem; transform: var(--tw-transform); }
.translate-y-1\/2 { --tw-translate-y: 50%; transform: var(--tw-transform); }
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: var(--tw-transform); }
.scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; transform: var(--tw-transform); }

/* Essential Colors */
.text-white { color: rgb(255 255 255); }
.text-gray-200 { color: rgb(229 231 235); }
.text-gray-300 { color: rgb(209 213 219); }
.text-gray-500 { color: rgb(107 114 128); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-800 { color: rgb(31 41 55); }
.text-gray-900 { color: rgb(17 24 39); }
.text-blue-100 { color: rgb(219 234 254); }
.text-blue-200 { color: rgb(191 219 254); }
.text-blue-500 { color: rgb(59 130 246); }
.text-blue-600 { color: rgb(37 99 235); }
.text-red-500 { color: rgb(239 68 68); }
.text-green-500 { color: rgb(34 197 94); }
.text-yellow-400 { color: rgb(250 204 21); }

.bg-white { background-color: rgb(255 255 255); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-100 { background-color: rgb(243 244 246); }
.bg-gray-200 { background-color: rgb(229 231 235); }
.bg-blue-500 { background-color: rgb(59 130 246); }
.bg-green-500 { background-color: rgb(34 197 94); }
.bg-red-500 { background-color: rgb(239 68 68); }

/* Essential Rounded */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Essential Shadows */
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }

/* Essential Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-gray-200 { border-color: rgb(229 231 235); }
.border-white\/20 { border-color: rgb(255 255 255 / 0.2); }

/* Essential Overflow */
.overflow-hidden { overflow: hidden; }

/* Essential Opacity */
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-30 { opacity: 0.3; }

/* Essential Aspect Ratios */
.aspect-video { aspect-ratio: 16 / 9; }

/* Essential Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Essential Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* Essential Hover States */
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: var(--tw-transform); }
.hover\:scale-110:hover { --tw-scale-x: 1.1; --tw-scale-y: 1.1; transform: var(--tw-transform); }
.hover\:bg-white:hover { background-color: rgb(255 255 255); }
.hover\:text-red-500:hover { color: rgb(239 68 68); }
.group-hover\:opacity-100 { opacity: 0; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group-hover\:scale-105 { --tw-scale-x: 1; --tw-scale-y: 1; }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: var(--tw-transform); }
.group-hover\:scale-110 { --tw-scale-x: 1; --tw-scale-y: 1; }
.group:hover .group-hover\:scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; transform: var(--tw-transform); }

/* Essential Focus States */
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-blue-500:focus { --tw-ring-color: rgb(59 130 246); }
.focus\:border-transparent:focus { border-color: transparent; }

/* Essential Background Effects */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-blue-600 { --tw-gradient-from: rgb(37 99 235); --tw-gradient-to: rgb(37 99 235 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-purple-600 { --tw-gradient-to: rgb(147 51 234); }
.from-yellow-400 { --tw-gradient-from: rgb(250 204 21); --tw-gradient-to: rgb(250 204 21 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-orange-500 { --tw-gradient-to: rgb(249 115 22); }
.from-blue-900 { --tw-gradient-from: rgb(30 58 138); --tw-gradient-to: rgb(30 58 138 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-purple-900 { --tw-gradient-to: rgb(88 28 135 / 0); --tw-gradient-stops: var(--tw-gradient-from), rgb(88 28 135), var(--tw-gradient-to); }
.to-indigo-900 { --tw-gradient-to: rgb(49 46 129); }
.from-gray-900 { --tw-gradient-from: rgb(17 24 39); --tw-gradient-to: rgb(17 24 39 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-gray-800 { --tw-gradient-to: rgb(31 41 55 / 0); --tw-gradient-stops: var(--tw-gradient-from), rgb(31 41 55), var(--tw-gradient-to); }
.to-gray-900 { --tw-gradient-to: rgb(17 24 39); }

/* Essential Backdrop Effects */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.bg-white\/20 { background-color: rgb(255 255 255 / 0.2); }
.bg-white\/90 { background-color: rgb(255 255 255 / 0.9); }
.bg-white\/95 { background-color: rgb(255 255 255 / 0.95); }
.bg-black\/20 { background-color: rgb(0 0 0 / 0.2); }
.bg-black\/40 { background-color: rgb(0 0 0 / 0.4); }
.bg-black\/60 { background-color: rgb(0 0 0 / 0.6); }

/* Responsive Utilities */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .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\:flex-row { flex-direction: row; }
    .md\:text-left { text-align: left; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:p-12 { padding: 3rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:block { display: block; }
}

@media (min-width: 1280px) {
    .xl\:block { display: block; }
}

/* Modern Typography & Font System */

/* Font Family Declarations */
.font-primary {
    font-family: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.font-secondary {
    font-family: 'Inter', 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

.font-display {
    font-family: 'Playfair Display', 'Poppins', serif;
}

/* Typography Utilities */
.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* Heading Styles */
.heading-hero {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.heading-section {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.heading-card {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Body Text Styles */
.text-body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.text-body-large {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    font-size: 1.125rem;
}

.text-caption {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    font-size: 0.875rem;
}

/* Button Typography */
.btn-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Display Numbers */
.number-display {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-feature-settings: 'tnum' 1;
}

/* Luxury Touch */
.text-luxury {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Modern Glass Effect Typography */
.text-glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Typography */
@media (max-width: 640px) {
    .heading-hero {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .heading-section {
        font-size: 2rem;
        line-height: 1.3;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .heading-hero {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .heading-section {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

@media (min-width: 1025px) {
    .heading-hero {
        font-size: 4.5rem;
        line-height: 1.05;
    }
    
    .heading-section {
        font-size: 3rem;
        line-height: 1.15;
    }
}

/* Animation for Text */
.text-animate {
    animation: textReveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-white {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Counter animations */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Hover effects for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Back to top button styles - prevent duplicates */
#backToTop {
    display: none !important;
}

/* Reading Experience */
.prose-modern {
    max-width: 65ch;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    font-size: 1.125rem;
}

.prose-modern h1,
.prose-modern h2,
.prose-modern h3,
.prose-modern h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 1em;
}

.prose-modern p {
    margin-bottom: 1.5em;
}

/* Professional Badge Typography */
.badge-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Price Typography */
.price-display {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-feature-settings: 'tnum' 1;
    color: #059669;
}

/* Status Typography */
.status-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Form Typography */
.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
}

.form-input {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

/* Navigation Typography */
.nav-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

/* Footer Typography */
.footer-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
} 

/* Modern Navigation Styles */
.navbar-link-modern {
    @apply flex items-center space-x-2 px-4 py-2 text-sm font-medium text-gray-700 rounded-lg hover:text-primary-600 hover:bg-gray-50/80 transition-all duration-200 backdrop-blur-sm;
}

.btn-modern {
    @apply inline-flex items-center space-x-2 px-4 py-2 rounded-lg font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2;
}

.btn-primary {
    @apply bg-primary-600 text-white hover:bg-primary-700 focus:ring-primary-500 shadow-sm hover:shadow-md;
}

.mobile-nav-link {
    @apply flex items-center space-x-3 px-4 py-3 text-base font-medium text-gray-700 hover:text-primary-600 hover:bg-gray-50 rounded-lg transition-all duration-200;
}

.footer-link {
    @apply text-gray-300 hover:text-primary-400 transition-colors duration-200 text-sm flex items-center;
}

/* Scroll to top button styles - prevent duplicates */
#back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, rgb(37 99 235), rgb(147 51 234));
    color: white;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

#back-to-top:hover {
    background: linear-gradient(to right, rgb(29 78 216), rgb(126 34 206));
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

#back-to-top.opacity-100 {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top.opacity-0 {
    opacity: 0;
    pointer-events: none;
}

/* Ensure only one instance */
#back-to-top:not(:first-of-type) {
    display: none !important;
}

/* Override any conflicting styles */
#backToTop {
    display: none !important;
} 