/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0d2b5b;
    /* Deep Navy - Trust */
    --secondary-color: #00b4d8;
    /* Cyan/Teal - Freshness/Medical */
    --accent-color: #ff6b35;
    /* Vibrant Orange - CTA */
    --light-bg: #f8f9fa;
    --dark-text: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Components */
.btn-cta {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-cta:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-cta.pulse-animation {
    animation: pulse 2s infinite;
}

/* Premium Hover Effects */
.hover-card-premium {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
}

.hover-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 180, 216, 0.3);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Header */
.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #fff 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(60px);
}

/* Layout Grid */
.main-content-wrapper {
    position: relative;
    z-index: 1;
}

.sidebar-wrapper {
    position: relative;
    z-index: 10;
}

/* Desktop Fixed Sidebar */
@media (min-width: 992px) {
    .sidebar-wrapper {
        position: fixed;
        right: 0;
        top: 80px;
        /* Below Navbar */
        height: calc(100vh - 80px);
        width: 25%;
        /* Matches col-lg-3 */
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .main-content-wrapper {
        width: 75%;
        /* Matches col-lg-9 */
    }
}

/* Sidebar Form Styling */
.lead-form-container {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: auto;
    max-height: 90vh;
    /* Safety cap */
}

/* Compact Form Tweaks */
.form-compact .mb-3 {
    margin-bottom: 0.75rem !important;
}

.form-compact .form-control,
.form-compact .form-select {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.form-compact label {
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.form-compact .form-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.form-compact p.small {
    font-size: 0.75rem;
    margin-bottom: 1rem !important;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar-wrapper {
    animation: slideInRight 0.8s ease-out;
}

/* Mobile: distinct styling */
@media (max-width: 991px) {
    .lead-form-container {
        position: relative;
        margin-top: 40px;
        backdrop-filter: none;
        background: white;
    }
}

.form-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.form-control,
.form-select {
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

/* Feature Cards (Who This Is For) */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Included Section */
.audit-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.audit-list-item i {
    color: #10b981;
    /* Success Green */
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Steps Section */
.step-card {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 8px 16px rgba(13, 43, 91, 0.2);
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: white;
}