/* ======================== CUSTOM STYLES FOR STABILITYCARE ======================== */

/* Brand Colors */
:root {
    --primary-color: #2e3192;
    --primary-dark: #252774;
    --primary-light: #6973c3;
    --secondary-color: #00a652;
    --secondary-dark: #008542;
    --secondary-light: #33bf7f;
}

/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero gradient background with animated elements */
.hero-gradient {
    background: linear-gradient(135deg, #252774 0%, #2e3192 50%, #6973c3 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before,
.hero-gradient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 166, 82, 0.1);
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

.hero-gradient::before {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-gradient::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.hero-gradient > * {
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-50px) scale(1.1);
    }
}

/* Card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Modal animations */
#thank-you-modal {
    transition: opacity 0.3s ease;
}

#thank-you-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#thank-you-modal.flex {
    opacity: 1;
    pointer-events: auto;
}

#thank-you-modal > div {
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: modalSlideIn 0.3s ease forwards;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.95) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Modal backdrop blur effect */
#thank-you-modal {
    backdrop-filter: blur(5px);
}

/* Override Tailwind blue colors with brand colors */
.text-blue-600 { color: #2e3192 !important; }
.text-blue-400 { color: #6973c3 !important; }
.bg-blue-600 { background-color: #2e3192 !important; }
.bg-blue-700 { background-color: #252774 !important; }
.bg-blue-100 { background-color: #e1e3f3 !important; }
.bg-blue-50 { background-color: #f0f1f9 !important; }
.border-blue-600 { border-color: #2e3192 !important; }
.from-blue-600 { --tw-gradient-from: #2e3192 !important; }
.to-blue-400 { --tw-gradient-to: #6973c3 !important; }
.hover\:bg-blue-700:hover { background-color: #252774 !important; }
.hover\:bg-blue-100:hover { background-color: #e1e3f3 !important; }
.hover\:text-blue-600:hover { color: #2e3192 !important; }
.hover\:text-blue-800:hover { color: #1c1d56 !important; }
.hover\:text-blue-400:hover { color: #6973c3 !important; }
.focus\:ring-blue-600:focus { --tw-ring-color: #2e3192 !important; }
.ring-blue-600 { --tw-ring-color: #2e3192 !important; }

/* Secondary color classes */
.bg-secondary { background-color: #00a652 !important; }
.text-secondary { color: #00a652 !important; }
.hover\:bg-secondary:hover { background-color: #008542 !important; }
.bg-green-100 { background-color: #ccefdf !important; }
.text-green-600 { color: #00a652 !important; }

