/* Professional Button Logic */
.btn-primary {
    background-color: var(--primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Subtle border color based on theme */
.border-theme {
    border-color: var(--accent);
    opacity: 0.2;
}

/* Text highlight */
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-input-newsletter {
  --tw-bg-opacity: 1;
  background-color: rgb(231, 232, 234);
}

/* Custom scrollbar for the Privacy Modal */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

#process svg {
    filter: drop-shadow(0 10px 15px rgba(var(--secondary-rgb), 0.2));
}

/* Layout & Component Styles */
.service-track {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cloud-mask {
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,165.3C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    mask-size: cover;
    mask-position: bottom;
    mask-repeat: no-repeat;
}

/* style.css addition */
.group:hover .group-hover\:bg-secondary span {
    transform: scale(1.2);
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float { animation: float 5s ease-in-out infinite; }

.reveal-fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Map the Background Light color to a utility class */
.bg-theme-light { background-color: var(--bg-light); }

  @media (max-width: 480px) {
    .animate-float {
        display: none; /* Hides floating cards on tiny screens to prevent clutter */
    }
}