/* Boatik Care - Custom styles */
:root {
    --primary-navy: #0C1E47;
    --primary-cyan: #00D4FF;
    --light-cyan: #E0F7FF;
    --light-gray: #F8FAFC;
    --border-gray: #E5E7EB;
}

* {
    font-family: 'Inter', sans-serif;
    transition-property: background-color, border-color, color, fill, stroke, box-shadow, transform, opacity;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    letter-spacing: 0.2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

button:active {
    transform: scale(0.97);
}

img {
    display: block;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    background: linear-gradient(135deg, #F8FAFC 0%, var(--light-cyan) 100%);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 70%);
}

.service-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 30, 71, 0.12);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-navy));
    color: white;
    font-size: 28px;
}

.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 0;
    height: 0;
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.22);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 320px;
    height: 320px;
}

.tab-button {
    position: relative;
    transition: color 0.3s ease;
}

.tab-button.active {
    color: var(--primary-cyan);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    inset: auto 0 -10px 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-navy) 100%);
}

.form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1.5px solid var(--border-gray);
}

.form-input:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
    outline: none;
}

.floating-label {
    position: relative;
}

.form-input::placeholder {
    color: transparent;
}

.floating-label label {
    position: absolute;
    top: 50%;
    left: 12px;
    padding: 0 4px;
    transform: translateY(-50%);
    background: white;
    color: #9CA3AF;
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-input:focus ~ label,
.form-input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: var(--primary-cyan);
}

.floating-whatsapp {
    box-shadow: 0 20px 50px rgba(22, 163, 74, 0.25);
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
