/* =========================
   ROOT THEME (COLORS)
========================= */
:root {
    --bs-primary: #2d6cdf;
    --bs-secondary: #ff8c42;
    --bs-dark: #1f1f1f;
    --bs-light: #f8f9fa;
    --bs-white: #ffffff;
}

/* =========================
   BASE / COMMON
========================= */
body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* =========================
   SPINNER
========================= */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    z-index: 9999;
}

#spinner.show {
    opacity: 1;
    visibility: visible;
}

/* =========================
   BACK TO TOP
========================= */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

/* =========================
   BUTTONS
========================= */
.btn {
    font-weight: 600;
    transition: 0.3s ease-in-out;
    border-radius: 10px;
}

.btn.btn-primary {
    background-color: var(--bs-primary) !important;
    border: none !important;
}

.btn.btn-primary:hover {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.navbar-brand h1 {
    margin: 0;
    line-height: 1.1;
}

.navbar .nav-link {
    font-weight: 500;
    color: #333 !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--bs-primary) !important;
}

/* dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: #fff !important;
}

/* =========================
   HERO
========================= */
.hero-header {
    min-height: 500px;
    background-color: #2d6cdf;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.2)),
                      url("../img/hero-img.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* =========================
   SECTIONS
========================= */
.about {
    background: #f9fbff;
}

.service {
    background: #f5f9ff;
}

.program {
    background: #ffffff;
}

/* =========================
   CARDS
========================= */
.service-item,
.program-item,
.team-item,
.events-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: none !important;
}

.service-item:hover,
.program-item:hover,
.team-item:hover {
    transform: translateY(-5px);
}

/* =========================
   EVENTS IMAGE OVERLAY
========================= */
.events-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(45, 108, 223, 0.6);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #f8f9fa;
}

.footer a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--bs-primary);
}

/* =========================
   UTILITIES
========================= */
.text-primary {
    color: var(--bs-primary) !important;
}

.text-secondary {
    color: var(--bs-secondary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}