/* Custom styles complementing Tailwind CSS */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Body font */
body {
    font-family: 'Open Sans', sans-serif;
}

/* Heading font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #0d9488 100%);
}

/* Card shadow utility */
.card-shadow {
    box-shadow: 0 4px 24px rgba(15, 126, 110, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-shadow-hover {
    box-shadow: 0 8px 32px rgba(15, 126, 110, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Floating animation for hero cards */
.float-card {
    animation: float 6s ease-in-out infinite;
}

.float-card-delay {
    animation: float 6s ease-in-out 2s infinite;
}

.float-card-delay2 {
    animation: float 6s ease-in-out 4s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Dot pattern for hero */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Service icon background */
.service-icon-bg {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

/* Outline button */
.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Stat card glass effect */
.stat-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is visible without JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Navbar scrolled state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #334155 !important;
}

.nav-scrolled .nav-logo {
    color: #0f766e !important;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
