/*====================
*
*HERO SECTION 
*
===================*/
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;

    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* DESKTOP & TABLET */
    background-attachment: fixed;
    overflow: hidden;
}

/* OVERLAY MERAH */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(160, 0, 0, 0.85);
    z-index: 1;
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    font-size: 20px;
    letter-spacing: 1px;
    opacity: .9;
}

.hero p {
    font-size: 18px;
    font-weight: 400;
    opacity: .95;
    margin-bottom: 32px;
    background-color: #6d0000;
    padding: 5px;
    border-radius: 20px;
    margin-top: -10px;
}

h1.stroke-1 {
   font-size: 90px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

h1.stroke-2 {
    font-size: 35px;
    font-weight: 600;
    line-height: 1.3;
    margin: 8px 0 20px;
}


.btn-hero {
    display: inline-block;
    background: #a00000;
    color: #fff;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}


.btn-hero:hover{
    background : #fff;
    color: #a00000;


}


/*====================
*
* SECTION ABOUT
*
====================*/
.about {
    padding: 100px 0;
    background: #fff;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE */
.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    display: block;
}

/* CONTENT */
.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #a00000;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
}

/* BUTTON */
.btn-about {
    display: inline-block;
    margin-top: 16px;
    background: #a00000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.btn-about:hover {
    background: #7a0000;
}



/*====================
*
* SECTION PERSYARATAN
*
====================*/
.requirements {
    padding: 100px 0;
    background: #f5f5f5;
}

.requirements-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.requirements-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #a00000;
    margin-bottom: 10px;
}

.requirements-header p {
    color: #666;
}

/* CAROUSEL */
.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: auto;
    padding: 0 60px;
}

.carousel-track-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform .4s ease;
}

/* CARD */
.req-card {
    flex: 0 0 calc((100% - 60px) / 3); /* default desktop 3 */
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.req-number {
    font-size: 32px;
    font-weight: 700;
    color: #a00000;
    display: block;
    margin-bottom: 10px;
}

.req-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.req-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ARROW */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #a00000;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
}

.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}

/* DOTS */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
}

.carousel-dots button.active {
    background: #a00000;
}

/*====================
*
* CTA SECTION
*
====================*/
.cta {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(160,0,0,.95),
            rgba(120,0,0,.95)
        ),
        url('../img/background.jpg');
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    animation: bgMove 20s linear infinite;
    z-index: 1;
}

@keyframes bgMove {
    0%   { background-position: center top; }
    50%  { background-position: center bottom; }
    100% { background-position: center top; }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    line-height: 1.7;
    opacity: .95;
    margin-bottom: 30px;
}

.btn-cta {
    background: #fff;
    color: #a00000;
    border: none;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.btn-cta:hover {
    background: #f1f1f1;
}





/* ==============================
   NEWS & UPDATE SECTION
   (Local Container - No Global .container)
============================== */

.news-section {
    padding: 80px 20px;
    background: #fff;
}

/* Local container */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Header */
.news-header {
    margin-bottom: 40px;
}

.news-header .section-title {
    color: var(--red);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.news-header .section-subtitle {
    color: #666;
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto;
}

/* Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

/* Card */
.news-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    overflow: hidden;
    text-align: left;
}

/* Image wrapper */
.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f2f2f2;
}

/* Image */
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

/* Hover zoom */
.news-card:hover .news-image img {
    transform: scale(1.12);
}

/* Content */
.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 6px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Action */
.news-action {
    margin-top: 40px;
}

.btn-news {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background .3s ease;
}

.btn-news:hover {
    background: #7a0000;
}





/* ========================= */
/* TABLET */
/* ========================= */


@media (max-width: 992px) {

    /* SECTION HERO */
    .hero {
        min-height: 85vh;
    }

    h1.stroke-1 {
        font-size: 60px;
    }

    h1.stroke-2 {
        font-size: 22px;
    }


    /* SECTION ABOUT */
    .about {
        padding: 80px 0;
    }

    .about-container {
        gap: 40px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    /* SECTION PERSYARATAN */
    .req-card {
        flex: 0 0 calc((100% - 30px) / 2); /* 2 card */
    }

    .carousel-arrow {
        top: auto;
        bottom: -22px;
        transform: none;
    }

    .carousel-arrow.left {
        left: 55%;
    }

    .carousel-arrow.right {
        right: 55%;
    }

     .carousel-dots {
        display: none;
    }


    /* SECTION NEWS */
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}





/* ========================= */
/* MOBILE FIX (IMPORTANT) */
/* ========================= */
@media (max-width: 768px) {

    /* SECTION HERO */
    .hero {
        background-attachment: scroll; /* fallback mobile */
        min-height: 80vh;
    }  

    .hero-tag {
        font-size: 15px;
    }

    h1.stroke-1 {
        font-size: 45px;
        line-height: 1.15;
    }

    h1.stroke-2 {
        font-size: 18px;
        line-height: 1;
    }

    .hero p {
        font-size: 10px;
        padding: 6px 14px;
    }

    .btn-hero {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }


    /* SECTION ABOUT */
    .about {
        padding: 60px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-content p {
        font-size: 15px;
    }

    .btn-about {
        width: 100%;
        text-align: center;
    }


    /* SECTION PERSYARATAN */
    .carousel-wrapper {
        padding: 0 20px;
    }

    .req-card {
        flex: 0 0 100%; /* 1 card */
    }

    .carousel-arrow {
        top: auto;
        bottom: -22px;
        transform: none;
    }

    .carousel-arrow.left {
        left: 35%;
    }

    .carousel-arrow.right {
        right: 35%;
    }

    .carousel-dots {
        display: none;
    }

    /* CTA */
    .cta {
        padding: 80px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .btn-cta {
        width: 100%;
    }

     /* SECTION NEWS */
    .news-grid {
        grid-template-columns: 1fr !important;
    }

    .news-header .section-title {
        font-size: 26px;
    }

    

    
}
