/* Wakilisha Legal - Stylesheet */
/* McKinsey-style Consulting Aesthetic */

:root {
    --color-olive: #4B5320;
    --color-sand: #F5F5DC;
    --color-charcoal: #333333;
    --color-sandDark: #E8E8C8;
    --color-cream: #FAFAF5;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--color-charcoal);
    background-color: var(--color-cream);
}

/* Glassmorphism Navigation */
.glass-nav {
    background: rgba(250, 250, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 232, 200, 0.6);
}

/* Hero Section Layering */
.hero-glass-panel {
    background: rgba(250, 250, 245, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-image-bg {
    background-image: url('./hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Modal and Forms */
.leadform-overlay {
    position: fixed;
    inset: 0;
    background: rgba(51, 51, 51, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.leadform-overlay.active {
    opacity: 1;
    visibility: visible;
}

.leadform-modal {
    background: var(--color-cream);
    border-radius: 1.5rem;
    border: 1px solid var(--color-sandDark);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.leadform-overlay.active .leadform-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.leadform-step {
    display: none;
    opacity: 0;
}

.leadform-step.active {
    display: block;
    animation: lfSlideIn 0.4s ease forwards;
}

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

.pricing-card-option.selected {
    border-color: var(--color-olive);
    background-color: var(--color-sand);
    box-shadow: 0 10px 20px rgba(75, 83, 32, 0.1);
}

.form-radio-custom {
    transition: all 0.2s;
}
.form-option-card:hover .form-radio-custom {
    border-color: var(--color-olive);
}
.form-option-card.selected .form-radio-custom {
    background-color: var(--color-olive);
    border-color: var(--color-olive);
}
.form-option-card.selected .form-radio-custom::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Social Proof Marquee */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
    background-color: var(--color-sand);
    border-top: 1px solid var(--color-sandDark);
    border-bottom: 1px solid var(--color-sandDark);
}
.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* eTIMS Slider */
.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    position: relative;
    cursor: pointer;
}
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #C5A031; /* Brushed Gold */
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 10px rgba(197, 160, 49, 0.3);
    border: 2px solid #FAFAF5;
}
.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(197, 160, 49, 0.5);
}
.custom-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #C5A031; /* Brushed Gold */
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 10px rgba(197, 160, 49, 0.3);
    border: 2px solid #FAFAF5;
}
.custom-range::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(197, 160, 49, 0.5);
}

/* Utilities */
.btn-primary {
    background-color: var(--color-olive);
    color: var(--color-cream);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #3B4219;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(75, 83, 32, 0.2);
}
.btn-outline {
    border: 1px solid var(--color-charcoal);
    color: var(--color-charcoal);
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: rgba(51, 51, 51, 0.05);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Pulse Animation */
@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-pulse {
    animation: waPulse 3s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--color-sandDark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #BEB69B;
}
