﻿/* =========================
   HERO / CAROUSEL
========================= */

/* Use ONLY this (remove old .carousel-item img height) */
.slider-img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Caption */
.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 15px 20px;
    border-radius: 6px;
}

.carousel-caption h3 {
    font-weight: 700;
    font-size: 22px;
}

.carousel-caption p {
    font-size: 14px;
}

/* =========================
   AD SECTION (200 x 400)
========================= */
.ad-box {
    background: #f8f9fa;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* EXACT SIZE */
.ad-box img {
    width: 200px;
    height: 400px;
    object-fit: cover;
}

/* =========================
   MATCH HEIGHT (DESKTOP)
========================= */
@media (min-width: 992px) {
    .carousel,
    .carousel-inner,
    .carousel-item {
        height: 100%;
    }
}

/* =========================
   NEWS & EVENTS
========================= */
.card {
    border: none;
    border-radius: 8px;
    transition: 0.3s;
}

.card img {
    height: 200px;
    object-fit: cover;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* =========================
   HIGHLIGHTS
========================= */
.highlight-title {
    color: #1e73be;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-list li i {
    color: #1e73be;
    width: 18px;
}

/* =========================
   SERVICES
========================= */
.service-item {
    padding: 10px 10px 20px;
    border-bottom: 2px solid #e5e5e5;
}

.service-item h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.service-item h5 i {
    color: #1e73be;
    margin-right: 8px;
}

.service-item p {
    font-size: 14px;
    color: #666;
    text-align: justify;
}

.service-item a {
    color: #1e73be;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
}

.service-item a:hover {
    text-decoration: underline;
}

/* =========================
   COUNTERS
========================= */
section.text-center h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1e73be;
}

section.text-center p {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

/* =========================
   VIDEOS
========================= */
iframe {
    border-radius: 6px;
    width: 100%;
    height: 220px;
}

/* BUTTON */
.btn-primary {
    background: #1e73be;
    border: none;
}

.btn-primary:hover {
    background: #155d96;
}

/* =========================
   GENERAL
========================= */
section {
    position: relative;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 991px) {

    .slider-img {
        height: 250px;
    }

    /* AD becomes full width */
    .ad-box img {
        width: 100%;
        height: auto;
    }

    .ad-box {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {

    .carousel-caption {
        font-size: 12px;
        padding: 10px;
    }

    .carousel-caption h3 {
        font-size: 16px;
    }

    .card img {
        height: 160px;
    }

    section.text-center h2 {
        font-size: 24px;
    }

    iframe {
        height: 180px;
    }

    .highlight-list li {
        font-size: 13px;
    }

    .service-item {
        border-bottom: 1px solid #ddd;
    }
}
