:root {
    --primary-blue: #002B5B;
    /* Dark Navy Corporate */
    --secondary-blue: #3498db;
    /* Action Blue */
    --accent-green: #27ae60;
    --light-bg: #F0F4F8;
    --text-dark: #2C3E50;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-dark);
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5em;
}

.hidden {
    display: none !important;
}

/* HERO */
.hero-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
    /* Gold for contrast on dark blue */
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.video-placeholder {
    background-color: #000;
    border-radius: 12px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.play-button {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* TRIAGE CARD */
.triage-card {
    flex: 1;
    min-width: 300px;
    background: white;
    color: var(--text-dark);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.triage-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.triage-btn {
    background: white;
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.triage-btn:hover {
    border-color: var(--accent-green);
    background-color: #f0fdf4;
    transform: translateY(-2px);
}

.triage-btn strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.triage-btn span {
    font-size: 0.85rem;
    color: #666;
}

/* WIZARD */
.wizard-section {
    padding: 40px 20px;
    background: white;
    min-height: 80vh;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 40px;
    border-bottom: 2px solid #eee;
}

.step {
    padding: 10px 20px;
    color: #999;
    font-weight: 600;
    position: relative;
    top: 2px;
}

.step.active {
    color: var(--primary-blue);
    border-bottom: 4px solid var(--accent-green);
}

.wizard-card-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 0px;
    /* Included in layout */
}

/* FORMS */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* BUTTONS */
.cta-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.cta-btn:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cta-btn.secondary {
    background-color: #95a5a6;
    color: white;
}

.cta-btn.secondary:hover {
    background-color: #7f8c8d;
}

.cta-btn.small {
    padding: 10px 20px;
    font-size: 0.95rem;
    width: auto;
    min-width: 150px;
}

/* ALERTS */
.alert-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* PAYMENT METHODS */
.payment-methods {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.method {
    flex: 1;
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}

.method:hover {
    border-color: var(--primary-blue);
}

.doc-status {
    font-size: 0.9rem;
    margin-top: 5px;
    color: #F39C12;
    /* Pending Orange */
}

/* TESTIMONIALS */
.testimonials {
    background: #002B5B;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.testi-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-5px);
}

.testi-card img {
    width: 120px;
    /* Increased from 80px */
    height: 120px;
    /* Increased from 80px */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--accent-green);
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.testi-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.testi-card small {
    font-weight: bold;
    color: var(--primary-blue);
    display: block;
    font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        align-items: stretch;
    }

    .triage-options {
        grid-template-columns: 1fr;
        /* Stack buttons */
    }

    .wizard-progress {
        display: none;
        /* Hide complex progress bar on mobile, or simplify */
    }

    .trust-section .container {
        flex-direction: column;
    }

    .payment-methods {
        flex-direction: column;
    }
}

/* SCANNER EFFECT */
.preview-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    /* 15px vertical spacing */
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    display: none;
    /* Hidden by default */
}

.preview-image {
    width: 100%;
    display: block;
    opacity: 0.8;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00ff00;
    /* Bright Green Laser */
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    display: none;
    z-index: 10;
    opacity: 0.8;
}

.scanning .scan-overlay {
    display: block;
    animation: scan-loop 1.5s ease-in-out infinite;
}

.scanning .preview-image {
    opacity: 0.7;
    /* Dim image while scanning */
}

@keyframes scan-loop {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* SUCCESS ANIMATION */
@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float-pulse {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.4));
    }

    50% {
        transform: translateY(-10px);
        filter: drop-shadow(0 15px 25px rgba(255, 215, 0, 0.6));
    }
}

.success-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.success-badge {
    width: 150px;
    height: auto;
    animation: pop-in 0.8s ease-out forwards, float-pulse 3s ease-in-out infinite 0.8s;
}