﻿/* =========================================================
   HOME PAGE
   ========================================================= */

body {
    background: #f4f6fb;
}

/* =========================================================
   SECTION CARD
   ========================================================= */

.home-card {
    background: #ffffff;
    border: none;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 35px;
    overflow: hidden;
}

/* =========================================================
   HEADER
   ========================================================= */

.home-card-header {
    padding: 30px 35px;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .home-card-header h2 {
        margin: 0;
        font-size: 30px;
        font-weight: 700;
        color: #202124;
    }

    .home-card-header p {
        margin: 10px 0 0;
        color: #6c757d;
        font-size: 15px;
    }

.home-card-body {
    padding: 35px;
}

/* =========================================================
   VIEW BUTTON
   ========================================================= */

.home-btn {
    background: #c1121f;
    color: #fff;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

    .home-btn:hover {
        background: #98111a;
        color: #fff;
    }

/* =========================================================
   WINNER CARD
   ========================================================= */

.winner-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    text-align: center;
    padding: 25px;
    height: 100%;
    transition: .3s;
}

    .winner-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,.12);
    }

    /* =========================================================
   WINNER PHOTO
   ========================================================= */

    .winner-item img {
        width: 170px;
        height: 170px;
        object-fit: cover;
        border-radius: 16px;
        display: block;
        margin: auto;
    }

/* =========================================================
   PRIZE BADGE
   ========================================================= */

.prize-label {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.gold {
    background: linear-gradient(135deg,#f7b500,#ffcc33);
    color: #000;
}

.silver {
    background: linear-gradient(135deg,#9ea7b8,#d7dce5);
}

.bronze {
    background: linear-gradient(135deg,#b87333,#d49863);
}

/* =========================================================
   NAME
   ========================================================= */

.winner-name {
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 22px;
}

/* =========================================================
   ADDRESS
   ========================================================= */

.winner-address {
    color: #6c757d;
    min-height: 45px;
    margin-bottom: 20px;
}

/* =========================================================
   AMOUNT
   ========================================================= */

.winner-amount {
    font-size: 28px;
    font-weight: 700;
    color: #c1121f;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px) {

    .home-card-header {
        text-align: center;
        justify-content: center;
    }

    .home-btn {
        margin-top: 20px;
    }

    .home-card-body {
        padding: 20px;
    }

    .winner-item {
        margin-bottom: 20px;
    }

        .winner-item img {
            width: 140px;
            height: 140px;
        }
}


/* ==========================================
   FEATURE BOX
========================================== */

.feature-box {
    background: #fafafa;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    border: 1px solid #ececec;
    transition: .3s;
    height: 100%;
}

    .feature-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,.10);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 20px;
}

    .feature-icon.success {
        background: #eaf8ef;
        color: #198754;
    }

.feature-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-box p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.7;
}

.preview-table {
    margin-bottom: 0;
}

    .preview-table thead {
        background: #c1121f;
        color: #fff;
    }

    .preview-table th {
        padding: 15px;
        border: none;
    }

    .preview-table td {
        padding: 15px;
        border-bottom: 1px solid #ececec;
    }

    .preview-table tbody tr:hover {
        background: #fff7f7;
    }

.story-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fc);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    margin-bottom: 40px;
}

.story-image img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.story-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.story-subtitle {
    color: #c1121f;
    font-weight: 600;
    margin-bottom: 25px;
}

.story-text {
    color: #555;
    line-height: 1.9;
    text-align: justify;
}

.story-stats {
    margin-top: 35px;
}

.story-stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    border: 1px solid #ececec;
    box-shadow: 0 5px 18px rgba(0,0,0,.05);
    height: 100%;
}

    .story-stat-card h2 {
        color: #c1121f;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .story-stat-card p {
        margin: 0;
        color: #666;
    }

.quote-box {
    background: #fff7f7;
    border-left: 5px solid #c1121f;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    font-style: italic;
    color: #444;
}

/*==================================================
 AAMA STORY
==================================================*/

.story-section {
    background: #fff;
    border-radius: 22px;
    padding: 45px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.story-badge {
    display: inline-block;
    background: #ffe7c2;
    color: #c1121f;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
}

.story-title {
    font-size: 2.2rem;
    font-weight: 700;
}

.story-subtitle {
    color: #777;
}

.story-image {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.story-text {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    text-align: justify;
}

.story-stat-card {
    background: #fafafa;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    transition: .3s;
    border: 1px solid #ececec;
}

    .story-stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,.10);
    }

    .story-stat-card h2 {
        color: #c1121f;
        font-size: 40px;
        font-weight: 700;
    }

    .story-stat-card p {
        margin: 0;
        color: #666;
    }

.quote-card {
    background: #f8f9fc;
    border-left: 6px solid #c1121f;
    border-radius: 18px;
    padding: 30px;
}

.quote-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}


/*=====================================
ABOUT HOME
======================================*/

.about-home-section {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 45px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.section-tag {
    display: inline-block;
    background: #FEE2E2;
    color: #C1121F;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

.about-home-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-home-section p {
    color: #555;
    line-height: 1.9;
    text-align: justify;
}

.about-home-image {
    max-height: 350px;
    object-fit: cover;
}
\

.announcement-box {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border: 1px solid #eee;
}

.announcement-title {
    background: #b71c1c;
    color: #fff;
    margin: 0;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: 700;
}

.announcement-marquee {
    height: 540px;
    overflow: hidden;
    position: relative;
}

.announcement-track {
    animation: scrollAnnouncements 30s linear infinite;
}

.announcement-marquee:hover .announcement-track {
    animation-play-state: paused;
}

.announcement-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    border-bottom: 1px solid #ececec;
    background: #fff;
}

.announcement-date {
    flex: 0 0 62px;
    width: 62px;
    min-width: 62px;
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 8px;
}

.announcement-content h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #8b0000;
}

.announcement-content p {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.announcement-content a {
    color: #b71c1c;
    font-weight: 600;
    text-decoration: none;
}

    .announcement-content a:hover {
        text-decoration: underline;
    }

@keyframes scrollAnnouncements {

    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}
.announcement-content h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}