:root {
    --lic-blue: #1D4E9E;
    --lic-gold: #FBC707;
}

.bg-lic-blue {
    background-color: var(--lic-blue);
}

.text-lic-blue {
    color: var(--lic-blue);
}

.bg-lic-gold {
    background-color: var(--lic-gold);
}

.text-lic-gold {
    color: var(--lic-gold);
}

.border-lic-blue {
    border-color: var(--lic-blue);
}

.border-lic-gold {
    border-color: var(--lic-gold);
}

body {
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-tap-highlight-color: transparent;
    background-color: #ffe14a;
    /* light gold/yellow */
}

html {
    scroll-behavior: smooth;
}

/* Animation for Popup */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-animate {
    animation: fadeIn 0.1s ease-out;
}

/* Quiz progress bar in popup */
.quiz-progress-wrapper {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.quiz-progress-track {
    width: 80%;
    max-width: 260px;
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background-color: var(--lic-gold);
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(251, 199, 7, 0.7);
    transition: width 0.3s ease;
}

/* Quiz answer feedback styles */
.correct-answer {
    background-color: #d1fae5 !important;
    border-left-color: #10b981 !important;
    border-left-width: 4px !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5) !important;
    animation: correctPulse 0.5s ease-out;
}

.incorrect-answer {
    background-color: #fee2e2 !important;
    border-left-color: #ef4444 !important;
    border-left-width: 4px !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
    animation: incorrectShake 0.5s ease-out;
}

@keyframes correctPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

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

@keyframes incorrectShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Pulse animation for CTA buttons */
.pulse-btn {
    animation: pulse-gold 3s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 204, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

/* Loading Spinner */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--lic-gold);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Accordion Transitions */
.step-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.2s;
    opacity: 0;
    text-align: left;
}

.step-content.active {
    max-height: 2000px;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.rotate-icon {
    transition: transform 0.3s ease;
}

.active .rotate-icon {
    transform: rotate(180deg);
}

/* Section headings underline */
.section-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 0.35rem;
}

.section-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80%;
    max-width: 180px;
    height: 3px;
    border-radius: 9999px;
    background: var(--lic-gold);
}

/* Hero heading styling */
.hero-title {
    font-family: "Antonio", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-cta {
    gap: 0.8rem;
}

/* Primary CTA styling */
.primary-cta {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.primary-cta:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* Secondary CTA subtle hover (no full white) */
.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Benefit tiles */
.benefit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    padding: 24px 20px 20px;
    min-height: 180px;
}

.benefit-head {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--lic-blue);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.benefit-head h3 {
    margin: 0;
    font-size: 0.95rem;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 211, 36, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lic-gold);
}

.benefit-body {
    margin-top: 56px;
    color: #1f2937;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.5;
}

.benefit-card:nth-child(even) .benefit-head {
    left: auto;
    right: 14px;
    background: var(--lic-gold);
    color: var(--lic-blue);
}

.benefit-card:nth-child(even) .benefit-icon {
    background: rgba(29, 78, 158, 0.16);
    color: var(--lic-blue);
}

/* Blog cards */
.blog-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 18px 18px 16px;
    margin-bottom: 18px;
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lic-blue);
}

.blog-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 2px;
}

.blog-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lic-gold);
    color: var(--lic-blue);
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.blog-badge-alt {
    background: var(--lic-blue);
    color: #fff;
}

.blog-card-body {
    border-left: 3px solid var(--lic-gold);
    padding-left: 10px;
    font-size: 0.9rem;
    color: #111827;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Blog strip on home */
.blog-strip {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    overflow-x: scroll;
    padding-bottom: 25px;
    /* Space for hidden scrollbar */
    margin-bottom: -25px;
    /* negative margin to pull back */
    /* Hide scrollbar for Chrome/Safari */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    cursor: grab;
}

.blog-strip::-webkit-scrollbar {
    display: none;
}

.blog-strip:active {
    cursor: grabbing;
}

.blog-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    background: rgba(29, 78, 158, 0.06);
    border: 1px solid rgba(29, 78, 158, 0.18);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lic-blue);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    /* Prevent shrinking */
    user-select: none;
    /* easier dragging */
}

.blog-pill:hover {
    background: rgba(251, 199, 7, 0.18);
    border-color: rgba(251, 199, 7, 0.7);
}

/* FAQ section */
.faq-question {
    transition: background-color 0.25s ease, color 0.25s ease;
}

.faq-question.active {
    background-color: var(--lic-blue);
    color: #fff;
}

/* Home arrow glow effect */
.home-arrow {
    animation: arrow-pulse 1s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.home-arrow:hover {
    transform: translateX(-3px);
}

@keyframes arrow-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(53, 130, 255, 0.8));
    }

    50% {
        filter: drop-shadow(0 0 12px rgb(69, 140, 255));
    }
}

/* Success Checkmark Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    margin-top: 1rem;
}

.check-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.check-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.check-tick {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 50px #10b981;
    }
}