:root {
    --primary-blue: #004b8d;
    --secondary-blue: #007acc;
    --accent-red: #d5252f;
    --accent-orange: #f7941d;
    --accent-yellow: #ffc20e;
}
#homeCarousel .carousel-caption {
    background: rgba(0,0,0,0.45);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}
#homeCarousel h3 { font-size: 1.8rem; }
@media (max-width: 768px) {
    #homeCarousel img { height: 260px !important; }
    #homeCarousel .carousel-caption { font-size: 0.9rem; }
}
/* Hero slider for large 4696x3000 images */
.hero-slide {
    width: 100%;
    height: 480px;          /* desktop height you want to see */
    object-fit: cover;      /* crop top/bottom a bit to fit */
}

/* Larger desktops */
@media (min-width: 1200px) {
    .hero-slide {
        height: 520px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .hero-slide {
        height: 360px;
    }
}

/* Mobiles */
@media (max-width: 575.98px) {
    .hero-slide {
        height: 240px;
    }
}


.hero-section { color: white; }
.hero-section h1 { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* Navbar & buttons */
.navbar {
    background-color: var(--primary-blue) !important;
}
/* Round ONLY top-level menu items (not dropdown items) */
.navbar .navbar-nav > .nav-item > .nav-link {
    border-radius: 999px;
    padding: 6px 8px;
    margin: 0 2px;
    color: #ffffff;
}

/* Hover / active */
.navbar .navbar-nav > .nav-item > .nav-link:hover,
.navbar .navbar-nav > .nav-item > .nav-link:focus,
.navbar .navbar-nav > .nav-item > .nav-link.active {
    background-color: #ffffff;
    color: #004b8d !important;
}
/* Dropdown menu items: normal rectangle style */
/* Dropdown menu container */
.navbar .dropdown-menu {
    border-radius: 12px;
    padding: 8px;
}

/* Dropdown items as rounded pills */
.navbar .dropdown-menu .dropdown-item {
    border-radius: 999px;
    padding: 6px 14px;
    margin: 2px 0;
}

/* Dropdown hover */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: #004b8d;
    color: #ffffff;
}

/* Donate button remains special */
.navbar .btn-donate {
    border-radius: 999px;
    padding: 6px 18px;
}


.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,75,141,0.4);
}

/* Accent buttons for Donate */
.btn-donate {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    border: none;
    color: #fff;
}
.btn-donate:hover {
    box-shadow: 0 5px 15px rgba(213,37,47,0.4);
}

/* Background */
body {
    background-color: #f7f7f7;
}
.navbar-brand { font-family: 'Georgia', serif; }

.card { transition: all 0.3s ease; border-radius: 15px; }
.hover-lift:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; }
.btn-success { background: linear-gradient(135deg, var(--primary-green), var(--secondary-green)); border: none; }
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(46,139,87,0.4); }

.progress { border-radius: 10px; background: #e9ecef; }
.badge { font-size: 0.75em; }

/* Mobile First */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2rem; }
    .navbar-brand { font-size: 1.25rem; }
}
.footer-main {
    background: #001629; /* deep base */
    position: relative;
    color: #ffffff;
}

/* top gradient strip using logo colors */
.footer-gradient-top {
    height: 4px;
    background: linear-gradient(90deg,
        #004b8d 0%,
        #007acc 25%,
        #ffc20e 50%,
        #f7941d 75%,
        #d5252f 100%);
}

/* dark area starts only below the strip */
.footer-main {
    background: #001629;
    color: #ffffff;
}
body {
    background-color: #f7f7f7;  /* light */
}

/* links & social icons */
.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer-link:hover {
    color: #ffc20e;
    text-decoration: underline;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007acc, #004b8d);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.footer-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #f7941d, #d5252f);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
}

/* mobile spacing */
@media (max-width: 768px) {
    .footer-main { text-align: center; }
}
/* custom 5-column layout on large screens */
@media (min-width: 992px) {
  .col-lg-2_4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
/* base for nested submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.25rem;
    margin-left: 0;
}

/* show submenu on hover (desktop) */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

