/**
 * SLiMS Modern Dark Green Theme (Aligned)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Poppins:wght@500;600&display=swap');
@import url('../../../../css/core.css');

html, body {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: #f9fafb;
    color: #1f2937;
}

/* ==============================
   Navbar
   ============================== */
.navbar {
    background: linear-gradient(135deg, #0d3320, #14532d) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.navbar .nav-link {
    color: #e5fce9 !important;
    font-weight: 500;
}
.navbar .nav-link:hover {
    color: #a7f3d0 !important;
}

/* ==============================
   Carousel
   ============================== */
.carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 0;
}
.carousel-caption {
    background: rgba(13, 51, 32, 0.6);
    border-radius: 8px;
    padding: 10px 16px;
}
.carousel-caption h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}
.carousel-caption p {
    font-size: 1rem;
    color: #e5fce9;
}

/* ==============================
   Search Box
   ============================== */
.search .card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.search input {
    height: 50px;
    border-radius: 10px;
    font-size: 1rem;
}

/* ==============================
   Topic Section
   ============================== */
#slims-home h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: center;
    margin: 40px 0 20px;
}
.topic-card {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.topic-card img {
    max-width: 60px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.topic-card p {
    font-weight: 500;
    margin: 0;
    color: #14532d;
}
.topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.topic-card:hover img {
    transform: scale(1.1);
}

/* ==============================
   Footer
   ============================== */
footer {
    background: linear-gradient(135deg, #0d3320, #14532d);
    color: #fff;
    padding: 24px 0;
    text-align: center;
    border-radius: 20px 20px 0 0;
}
footer a {
    color: #bbf7d0;
}
footer a:hover {
    color: #fff;
}
