/* ============================================
   HOME PAGE - index.css
   ============================================ */

/* Hero Section */
.hero-section {
    background-color: #be1b2c;
    background: linear-gradient(135deg, #c41920 0%, #8b1520 60%);
    color: #ffffff;
    padding: 60px 0;
    margin-top: 110px;
}

.hero-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.hero-image {
    flex: 0 0 45%;
    min-width: 280px;
}

.hero-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Rounded images for content sections */
.rounded-img {
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Four Steps Timeline Section */
.four-steps-section {
    padding: 80px 0;
    background: #ffffff;
}

.four-steps-section .text-center {
    margin-bottom: 50px;
}

.four-steps-section .text-center h3 {
    margin-bottom: 10px;
    position: relative;
}

.four-steps-section .text-center h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #ed1c24;
    margin: 15px auto 0;
}

.four-steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Vertical line */
.four-steps-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #ddd;
    transform: translateX(-50%);
}

.step-card {
    position: relative;
    width: 50%;
    padding: 20px;
    margin-bottom: 30px;
}

.step-card.step-right {
    margin-left: 50%;
    padding-left: 40px;
}

.step-card.step-left {
    margin-right: 50%;
    padding-right: 40px;
    text-align: right;
}

.step-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ed1c24;
    border: 3px solid #ffffff;
    border-radius: 50%;
    top: 30px;
    z-index: 1;
    box-shadow: 0 0 0 3px #ed1c24;
}

.step-right .step-dot {
    left: -8px;
}

.step-left .step-dot {
    right: -8px;
}

.step-content {
    background-color: #be1b2c;
    color: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-content h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.step-content p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.step-content .btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.step-content .btn-outline {
    color: #ffffff;
    border-color: #ffffff;
}

.step-content .btn-outline:hover {
    background-color: #ffffff;
    color: #be1b2c;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 80px;
    }

    .hero-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-image {
        flex: 1;
    }

    .four-steps-timeline::before {
        left: 20px;
    }

    .step-card {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        text-align: left;
    }

    .step-card.step-right {
        margin-left: 0;
        padding-left: 50px;
    }

    .step-card.step-left {
        margin-right: 0;
        padding-right: 10px;
        text-align: left;
    }

    .step-right .step-dot,
    .step-left .step-dot {
        left: 12px;
        right: auto;
    }
}
