/* =============================================
   HAMRO NEPALI SAMAJ - WEST MIDLANDS UK
   Main Stylesheet
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
    --primary:       #1a5276;
    --primary-dark:  #154360;
    --primary-light: #2e86c1;
    --accent:        #e67e22;
    --accent-dark:   #ca6f1e;
    --text-dark:     #212529;
    --text-muted:    #6c757d;
    --bg-light:      #f8f9fa;
    --card-shadow:   0 2px 12px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 6px 24px rgba(0,0,0,0.14);
    --border-radius: 10px;
    --transition:    all 0.25s ease;
}

/* ---------- Global ---------- */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.7;
}

a {
    color: var(--primary-light);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
}

.page-heading {
    color: var(--primary);
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.page-heading-2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-title-bar {
    width: 50px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 0.6rem;
}

/* ---------- Head Banner ---------- */
#head-banner {
    background: linear-gradient(135deg, #1a5276 0%, #154360 50%, #0b2d45 100%);
    padding: 0;
}


.banner-logo {
    border: 3px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.banner-logo:hover {
    transform: scale(1.05);
}

.ks-light {
    color: #fff;
}

.ks-site-title {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.2rem;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.4);
    color: #fff;
}

.ks-site-subtitle {
    font-family: 'Roboto Slab', serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
}

.ks-site-other {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85) !important;
    transition: var(--transition);
}

.ks-site-other:hover {
    color: #fff !important;
}

/* ---------- Navbar ---------- */
#main-navbar {
    background: linear-gradient(90deg, #0b2d45 0%, #1a5276 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    padding: 0.5rem 0;
}

#main-navbar .navbar-brand .brand-text {
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

#main-navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.5rem 0.75rem !important;
    border-radius: 5px;
    transition: var(--transition);
}

#main-navbar .nav-link:hover,
#main-navbar .nav-link:focus {
    color: #fff !important;
    background: rgba(255,255,255,0.12);
}

#main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
}

#main-navbar .dropdown-item {
    font-size: 0.88rem;
    padding: 0.55rem 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

#main-navbar .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--accent);
    padding-left: 1.5rem;
}

.btn-donate {
    background: var(--accent) !important;
    color: #fff !important;
    border: none;
    font-weight: 500 !important;
    padding: 0.4rem 1rem !important;
    border-radius: 20px !important;
}

.btn-donate:hover {
    background: var(--accent-dark) !important;
    color: #fff !important;
}

/* ---------- Carousel ---------- */
#carousel {
    margin-top: 0;
}

.carousel-img {
    max-height: 480px;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(10,30,60,0.85) 0%, rgba(10,30,60,0.4) 100%);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    text-align: left;
    border-radius: 0;
}

.carousel-caption h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ---------- Info Cards ---------- */
.info-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

.info-card-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.info-card-title {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* ---------- Charity Cards ---------- */
.charity-card {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    height: 100%;
    transition: var(--transition);
}

.charity-card:hover {
    background: #fff;
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

.charity-card-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.charity-card h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.charity-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Contact List ---------- */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ---------- Tables ---------- */
table {
    border-spacing: 0;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

th {
    cursor: pointer;
    background: var(--primary);
    color: #fff;
    font-weight: 500;
}

th, td {
    text-align: left;
    padding: 0.75rem 1rem;
}

tr:nth-child(even) {
    background-color: var(--bg-light);
}

tr:hover {
    background-color: #e8f4fd !important;
}

/* ---------- Highlighted / Notices ---------- */
.highlighted {
    margin-top: 20px;
    padding: 0.75rem 1rem;
    color: #842029;
    font-weight: 600;
    background: rgba(248, 215, 218, 0.7);
    border-left: 4px solid #dc3545;
    border-radius: 5px;
}

.highlighted a {
    color: #842029;
}

.highlighted-less {
    color: #664d03;
    font-weight: 600;
    background: rgba(255, 243, 205, 0.5);
    border-left: 4px solid #ffc107;
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(135deg, #0b2d45 0%, #1a5276 100%);
    color: rgba(255,255,255,0.8);
    margin-top: 3rem;
}

.footer-top {
    padding: 3rem 0 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 1.25rem 0;
    background: rgba(0,0,0,0.15);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.footer-heading {
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-link {
    color: rgba(255,255,255,0.85) !important;
}

.footer-link:hover {
    color: var(--accent) !important;
}

/* ---------- Buttons ---------- */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .ks-site-title {
        font-size: 1.5rem;
    }
    .ks-site-subtitle {
        font-size: 0.95rem;
    }
    .page-heading {
        font-size: 1.5rem;
    }
    .carousel-img {
        max-height: 260px;
    }
    .carousel-caption h3 {
        font-size: 1rem;
    }
}
