/* ==== HEADER ==== */
.hero-slider {
    position: relative;
    top: -24px;
    height: 60vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.hero-text {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 60px;
    border-radius: 12px;
    text-align: center;
    max-width: 90%;
}
.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
@media (max-width: 992px) {
    .hero-slider {
        height: 50vh;
    }

    .hero-text {
        padding: 20px 40px;
    }

    .hero-text h1 {
        font-size: 36px;
    }
}
@media (max-width: 768px) {
    .hero-slider {
        height: 45vh;
    }

    .hero-text {
        padding: 16px 30px;
    }

    .hero-text h1 {
        font-size: 28px;
    }
}
@media (max-width: 576px) {
    .hero-slider {
        height: 40vh;
    }

    .hero-text {
        padding: 12px 20px;
        border-radius: 8px;
    }

    .hero-text h1 {
        font-size: 22px;
    }
}

/* ==== ARABIC ==== */
.arabic-title {
    font-size: 38px;
    font-weight: 600;
    color: #25b663;
    text-align: center;
    margin: 3PX 0px 5PX 0PX;
    line-height: 1.6;
    font-family: 'Amiri', 'Scheherazade', 'Traditional Arabic', serif;
    direction: rtl;
    word-spacing: 4px;
}
@media (max-width: 992px) {
    .arabic-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .arabic-title {
        font-size: 18px;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .arabic-title {
        font-size: 16px;
        padding: 0 5px;
    }
}

/* ==== INFO-BOX ==== */
.bg-1 { background-color: #5ad466; }
.bg-2 { background-color: #30b95d; }
.bg-3 { background-color: #1da94e; }
.bg-4 { background-color: #28c76f; }

.info-box {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    height: 110px;
    transition: all 0.3s ease-in-out;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}
.info-icon {
    margin-left: 5px;
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}
.info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-number {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}
.info-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 4px;
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
    .info-box {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: auto;
        padding: 20px 12px;
    }
    .info-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .info-grid .col-6 {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .info-grid .col-6:last-child {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .info-icon {
        margin-bottom: 8px;
    }

    .info-text {
        align-items: center;
    }

    .info-number {
        font-size: 18px;
    }

    .info-label {
        font-size: 12px;
    }
}


/* ==== PROMO ==== */
.promo-section {
    background: linear-gradient(to right, #209e4b, #f4c100);
}

.promo-quote {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    max-width: 500px;
    line-height: 1.6;
}

.promo-images img {
    max-width: 90%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
}

.promo-img-top {
    position: relative;
    z-index: 2;
}

.promo-img-bottom {
    position: relative;
    z-index: 1;
}

.promo-decor {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    z-index: 0;
}

.decor-circle {
    width: 60px;
    height: 60px;
    top: 30px;
    right: 0px;
    border: 8px solid #1e9e51;
    background: transparent;
}

.decor-dot {
    width: 20px;
    height: 20px;
    background: #ffc107;
    bottom: -10px;
    left: -10px;
}

@media (max-width: 768px) {
    .promo-quote {
        font-size: 1rem;
        text-align: center;
    }

    .promo-section .btn {
        display: block;
        margin: 0 auto;
    }
}

/* ==== PARALLAX-IMAGES ==== */
#box1, #box2, #box3 {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    display: table;
}

#box1 {
    background-image: url('/images/header1.jpg');
}

#box2 {
    background-image: url('/images/header2.jpg');
}

#box3 {
    background-image: url('/images/header3.jpg');
}

.parallax h1 {
    font-family: 'Arial Black', sans-serif;
    font-size: 3vw;
    color: white;
    margin: 0;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    line-height: 1.2;
    padding: 0 15px;
}
@media (max-width: 992px) {
    .parallax h1 {
        font-size: 5vw;
    }
}
@media (max-width: 576px) {
    .parallax h1 {
        font-size: 7vw;
    }
}


/* ==== BERITA ==== */
.news-section .card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
}

.news-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-section .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-section .card:hover .card-img-top {
    transform: scale(1.05);
}

.news-section .card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-section .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.4;
}

.news-section .card-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #15803d;
    border-radius: 3px;
}

.news-section small {
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 8px;
    display: block;
}

.news-section .card-text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-section .read-more {
    margin-top: auto;
    align-self: flex-start;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: #15803d;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.news-section .read-more:hover {
    background-color: #116530;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .news-section .card-img-top {
        height: 200px;
    }

    .news-section .card-title {
        font-size: 1.15rem;
    }

    .news-section .card-text {
        font-size: 0.9rem;
    }
}
