/*
Theme Name: Oria Insure Theme
Author: Sire Ephraim
Version: 1.0
*/

body {
    font-family: Arial, sans-serif;
    background: #f9fafb;
    margin: 0;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    color: #666;
}

button {
    background: black;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    margin-top: 20px;
    cursor: pointer;
}

.quiz {
    display: none;
    margin-top: 40px;
}

.quiz button {
    margin: 10px;
}

.popup {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.blog {
    margin-top: 60px;
}

.blog-list {
    display: grid;
    gap: 15px;
}

.post-item {
    padding: 15px;
    background: #fff;
    border-radius: 10px;
}

/* HERO */
.hero h1 {
    font-size: 34px;
    font-weight: 700;
}

.hero button {
    background: black;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.hero button:hover {
    transform: scale(1.05);
}

/* QUIZ */
.quiz {
    display: none;
    margin-top: 50px;
}

.step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step.active {
    display: block;
}

.step button {
    margin: 10px;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

.step button:hover {
    background: black;
    color: white;
}

/* PROGRESS BAR */
.progress {
    width: 100%;
    height: 6px;
    background: #eee;
    margin-bottom: 20px;
    border-radius: 10px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: black;
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* POPUP */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.popup-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 350px;
    width: 90%;
    animation: fadeIn 0.4s ease;
}

/* TIMER */
#timer {
    font-size: 28px;
    margin: 15px 0;
    font-weight: bold;
}

/* CALL BUTTON */
.call-btn {
    background: black;
    color: white;
    padding: 14px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

/* BLOG */
.blog-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.post-item img {
    width: 100%;
    border-radius: 10px;
}

.post-item {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    transition: 0.3s;
}

.post-item:hover {
    transform: translateY(-5px);
}

/* ANIMATION */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}