/* WCSF NGO Professional Theme */
/* Clean, Government/NGO Official Style */

/* ========================================
   MOBILE-FIRST BASE STYLES
   ======================================== */

/* Ensure full width on all devices */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Full width containers on mobile */
.container, .container-fluid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Images responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* Tables responsive */
table {
    width: 100%;
}

/* Prevent horizontal scroll */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col, [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

:root {
    /* Primary Colors - Deep Teal & Green */
    --ngo-primary: #0a3d4e;
    --ngo-primary-light: #1a5f7a;
    --ngo-secondary: #228B22;
    --ngo-accent: #7CFC00;
    
    /* Neon Colors for Icons */
    --neon-lime: #7CFC00;
    --neon-coral: #FF6B6B;
    --neon-orange: #FFA500;
    --neon-cyan: #00CED1;
    --neon-pink: #FF69B4;
    
    /* Neutrals */
    --ngo-dark: #1a1a2e;
    --ngo-light: #f8f9fa;
    --ngo-white: #ffffff;
    --ngo-gray: #6c757d;
    
    /* Gradients */
    --ngo-gradient: linear-gradient(135deg, #0a3d4e 0%, #1a5f7a 100%);
    --ngo-gradient-green: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    --ngo-gradient-accent: linear-gradient(90deg, #228B22, #7CFC00, #228B22);
}

/* Base Styles */
body.ngo-theme {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: #333;
}

/* Top Info Bar */
.top-info-bar {
    background: var(--ngo-primary);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-info-left span {
    margin-right: 25px;
    opacity: 0.9;
}

.top-info-left i {
    color: var(--neon-lime);
    margin-right: 6px;
}

.top-social-icons a {
    color: #fff;
    margin-left: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.top-social-icons a:hover {
    color: var(--neon-lime);
    opacity: 1;
}

/* Header Notification Ticker - Professional Sliding */
.header-notification-ticker {
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.3) 100%);
    border-radius: 25px;
    padding: 6px 20px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.header-notification-ticker::before,
.header-notification-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
}

.header-notification-ticker::before {
    left: 0;
    background: linear-gradient(90deg, rgba(10,61,78,0.9) 0%, transparent 100%);
}

.header-notification-ticker::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(10,61,78,0.9) 100%);
}

.notification-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.notification-bell {
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255,193,7,0.4);
}

.notification-bell i {
    color: #fff;
    font-size: 11px;
    animation: bellSwing 2s ease-in-out infinite;
}

@keyframes bellSwing {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-12deg); }
    45% { transform: rotate(8deg); }
    60% { transform: rotate(-5deg); }
    75% { transform: rotate(2deg); }
}

.marquee-wrapper {
    overflow: hidden;
    flex: 1;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: scrollLeft 25s linear infinite;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% { 
        transform: translateX(100%); 
    }
    100% { 
        transform: translateX(-100%); 
    }
}

.notification-item {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    display: inline-flex;
    align-items: center;
}

.notification-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--neon-lime);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 6px var(--neon-lime);
    flex-shrink: 0;
}

.notification-separator {
    color: rgba(255,255,255,0.3);
    margin: 0 20px;
    font-size: 10px;
}

.notification-static {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.notification-static .notification-bell {
    margin-right: 10px;
}

.notification-static span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
    letter-spacing: 0.3px;
}

/* Mobile Responsive for Notifications */
@media (max-width: 991px) {
    .top-info-bar {
        padding: 6px 0;
    }
    
    .header-notification-ticker {
        padding: 5px 15px;
        border-radius: 20px;
        margin: 0 10px;
    }
    
    .notification-bell {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    .notification-bell i {
        font-size: 10px;
    }
    
    .notification-item {
        font-size: 11px;
    }
    
    .notification-static span {
        font-size: 11px;
        max-width: 250px;
    }
    
    .marquee-content {
        animation: scrollLeft 20s linear infinite;
    }
}

@media (max-width: 576px) {
    .header-notification-ticker {
        padding: 4px 10px;
        margin: 0 5px;
    }
    
    .notification-item {
        font-size: 10px;
    }
    
    .notification-static span {
        font-size: 10px;
        max-width: 200px;
    }
}

/* Mobile Notification Bar in Navigation */
.mobile-notification-bar {
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.3) 100%);
    border-radius: 20px;
    padding: 4px 10px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
}

.mobile-notification-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.mobile-notification-bell {
    color: #ffc107;
    font-size: 14px;
    margin-right: 8px;
    animation: bellRing 2s ease-in-out infinite;
    flex-shrink: 0;
}

.mobile-marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.mobile-marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLeftMobile 15s linear infinite;
    padding-left: 100%;
}

.mobile-notification-item {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    padding: 0 5px;
}

.mobile-notification-separator {
    color: #ffc107;
    margin: 0 8px;
    font-weight: bold;
}

.mobile-notification-static {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.mobile-notification-static .mobile-notification-bell {
    margin-right: 6px;
}

.mobile-notification-text {
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scrollLeftMobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes bellRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* Adjust navbar spacing for mobile notification */
@media (max-width: 991.98px) {
    .navbar-toggler {
        flex-shrink: 0;
    }
    
    .mobile-notification-bar {
        min-width: 0;
        flex: 1;
    }
}

/* Header */
.ngo-header {
    background: #1a1a2e;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ngo-header .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
}

.header-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-title-section {
    flex: 1;
    padding: 0 30px;
}

.site-title-ngo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.site-tagline-ngo {
    font-size: 1rem;
    color: #7CFC00;
    font-style: italic;
    margin: 5px 0 0;
}

.tagline-underline {
    width: 200px;
    height: 2px;
    background: var(--ngo-gradient-accent);
    margin: 8px auto 0;
}

.btn-header-donate {
    background: var(--neon-coral);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-header-donate:hover {
    background: #ee5a5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: #fff;
}

/* Navigation */
.ngo-nav {
    background: var(--ngo-primary);
    padding: 0;
    border-radius: 0;
}

.ngo-nav .container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.ngo-nav .navbar-nav .nav-link {
    color: #fff !important;
    padding: 14px 5px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ngo-nav .navbar-nav .nav-link i {
    font-size: 12px;
    margin-right: 4px;
    flex-shrink: 0;
}

/* Ensure navbar stays expanded on desktop */
@media (min-width: 992px) {
    .ngo-nav .navbar-nav {
        flex-wrap: nowrap;
        width: 100%;
        justify-content: center;
        gap: 2px;
    }
    
    .ngo-nav .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    
    .ngo-nav .navbar-toggler {
        display: none !important;
    }
}

/* Very small desktop screens (992px - 1099px) */
@media (min-width: 992px) and (max-width: 1099px) {
    .ngo-nav .navbar-nav .nav-link {
        padding: 14px 3px;
        font-size: 10.5px;
    }
    
    .ngo-nav .navbar-nav .nav-link i {
        display: none !important;
    }
    
    .ngo-nav .container-fluid {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .ngo-nav .navbar-nav {
        gap: 0;
    }
}

/* Small desktop screens (1100px - 1199px) */
@media (min-width: 1100px) and (max-width: 1199px) {
    .ngo-nav .navbar-nav .nav-link {
        padding: 14px 4px;
        font-size: 11px;
    }
    
    .ngo-nav .navbar-nav .nav-link i {
        font-size: 10px;
        margin-right: 3px;
    }
    
    .ngo-nav .navbar-nav {
        gap: 1px;
    }
}

/* Medium desktop screens (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .ngo-nav .navbar-nav .nav-link {
        padding: 14px 6px;
        font-size: 11.5px;
    }
    
    .ngo-nav .navbar-nav .nav-link i {
        font-size: 11px;
        margin-right: 4px;
    }
    
    .ngo-nav .navbar-nav {
        gap: 1px;
    }
}

/* Large desktop screens (1400px - 1599px) */
@media (min-width: 1400px) and (max-width: 1599px) {
    .ngo-nav .navbar-nav .nav-link {
        padding: 14px 8px;
        font-size: 12px;
    }
    
    .ngo-nav .navbar-nav .nav-link i {
        font-size: 11px;
        margin-right: 4px;
    }
    
    .ngo-nav .navbar-nav {
        gap: 2px;
    }
}

/* Extra large desktop screens (1600px - 1799px) */
@media (min-width: 1600px) and (max-width: 1799px) {
    .ngo-nav .navbar-nav .nav-link {
        padding: 14px 10px;
        font-size: 12.5px;
    }
    
    .ngo-nav .navbar-nav .nav-link i {
        font-size: 12px;
        margin-right: 5px;
    }
    
    .ngo-nav .navbar-nav {
        gap: 3px;
    }
}

/* Ultra large desktop screens (1800px+) */
@media (min-width: 1800px) {
    .ngo-nav .navbar-nav .nav-link {
        padding: 14px 14px;
        font-size: 13px;
    }
    
    .ngo-nav .navbar-nav .nav-link i {
        font-size: 12px;
        margin-right: 6px;
    }
    
    .ngo-nav .container-fluid {
        max-width: 1920px;
        margin: 0 auto;
    }
    
    .ngo-nav .navbar-nav {
        gap: 4px;
    }
}

.ngo-nav .navbar-nav .nav-link:hover,
.ngo-nav .navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--neon-lime);
}

/* Desktop Dropdown Styles */
@media (min-width: 992px) {
    .ngo-nav .dropdown-menu {
        background: var(--ngo-primary);
        border: none;
        border-radius: 0 0 8px 8px;
        margin-top: 0;
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        position: absolute !important;
        display: none;
        min-width: 200px;
        z-index: 1000;
    }
    
    .ngo-nav .dropdown-menu.show {
        display: block;
    }
    
    .ngo-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .ngo-nav .dropdown-item {
        color: #fff;
        padding: 10px 20px;
        font-size: 13px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .ngo-nav .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: var(--neon-lime);
        padding-left: 25px;
    }
    
    .ngo-nav .dropdown-item i {
        width: 20px;
        color: var(--neon-lime);
        margin-right: 8px;
    }
}

/* Smaller desktop dropdown adjustments */
@media (min-width: 992px) and (max-width: 1199px) {
    .ngo-nav .dropdown-item {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .ngo-nav .dropdown-item:hover {
        padding-left: 20px;
    }
}

/* Footer */
.ngo-footer {
    background: var(--ngo-dark);
    color: #fff;
}

.footer-reg-strip {
    background: var(--ngo-primary);
    padding: 12px 0;
    border-bottom: 3px solid var(--neon-lime);
}

.footer-reg-strip span {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    padding: 0 15px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-reg-strip .col-auto:last-child span {
    border-right: none;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-about {
    padding-right: 30px;
}

.footer-logo-container {
    display: inline-block;
    background: rgba(13, 80, 102, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-logo-container:hover {
    background: rgba(13, 80, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-logo {
    width: 300px;
    height: 82px;
    object-fit: contain;
    max-width: 100%;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo-container:hover .footer-logo {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-logo-container {
        padding: 10px 15px;
    }
    
    .footer-logo {
        width: 250px;
        height: 68px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        width: 200px;
        height: 55px;
    }
}

.footer-about h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--neon-lime);
}

.footer-about p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--neon-lime);
    color: var(--ngo-dark);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--neon-lime);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a i {
    font-size: 10px;
    margin-right: 8px;
    color: var(--neon-lime);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-lime);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer-contact li i {
    color: var(--neon-lime);
    margin-right: 10px;
    margin-top: 3px;
    width: 15px;
}

/* Footer Login Section */
.footer-login-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-login-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(13, 80, 102, 0.4) 0%, rgba(10, 61, 78, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 252, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-login-btn:hover::before {
    left: 100%;
}

.footer-login-btn:hover {
    background: linear-gradient(135deg, rgba(13, 80, 102, 0.6) 0%, rgba(10, 61, 78, 0.8) 100%);
    border-color: var(--neon-lime);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(124, 252, 0, 0.2);
}

.footer-login-btn .login-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--ngo-primary) 0%, #0a3d4e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-login-btn .login-icon i {
    font-size: 18px;
    color: var(--neon-lime);
}

.footer-login-btn:hover .login-icon {
    background: linear-gradient(135deg, #0a3d4e 0%, var(--ngo-primary) 100%);
    transform: scale(1.1) rotate(5deg);
}

.footer-login-btn .login-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.footer-login-btn .login-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-login-btn .login-action {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    margin-top: 2px;
}

.footer-login-btn .login-arrow {
    font-size: 14px;
    color: var(--neon-lime);
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.footer-login-btn:hover .login-arrow {
    transform: translateX(5px);
}

/* User Login specific styling */
.footer-login-btn.user-login:hover {
    border-color: #4CAF50;
}

.footer-login-btn.user-login:hover .login-icon {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

/* Admin Login specific styling */
.footer-login-btn.admin-login:hover {
    border-color: #FF9800;
}

.footer-login-btn.admin-login:hover .login-icon {
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.4);
}

.footer-login-btn.admin-login .login-icon i {
    color: #FF9800;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-login-section {
        flex-direction: row;
        gap: 10px;
    }
    
    .footer-login-btn {
        flex: 1;
        padding: 10px 12px;
    }
    
    .footer-login-btn .login-icon {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .footer-login-btn .login-icon i {
        font-size: 16px;
    }
    
    .footer-login-btn .login-action {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .footer-login-section {
        flex-direction: column;
    }
    
    .footer-login-btn {
        width: 100%;
    }
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* Page Headers */
.page-header-ngo {
    background: var(--ngo-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header-ngo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-ngo h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.page-header-ngo .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.page-header-ngo .breadcrumb-item,
.page-header-ngo .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.page-header-ngo .breadcrumb-item.active {
    color: var(--neon-lime);
}

/* Cards */
.card-ngo {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: none;
    transition: all 0.3s ease;
}

.card-ngo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Buttons */
.btn-ngo-primary {
    background: var(--ngo-gradient);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ngo-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(10, 61, 78, 0.3);
    color: #fff;
}

.btn-ngo-secondary {
    background: var(--ngo-gradient-green);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ngo-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.3);
    color: #fff;
}

.btn-ngo-outline {
    background: transparent;
    color: var(--ngo-primary);
    border: 2px solid var(--ngo-primary);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ngo-outline:hover {
    background: var(--ngo-primary);
    color: #fff;
}

/* Section Titles */
.section-title-ngo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ngo-primary);
    margin-bottom: 10px;
}

.section-subtitle-ngo {
    color: var(--ngo-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--ngo-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(10, 61, 78, 0.3);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--ngo-secondary);
    transform: translateY(-3px);
}

/* User Dashboard Theme */
.user-dashboard .sidebar {
    background: var(--ngo-gradient) !important;
}

.user-dashboard .stat-card.primary {
    background: var(--ngo-gradient) !important;
}

.user-dashboard .stat-card.success {
    background: var(--ngo-gradient-green) !important;
}

.user-dashboard .btn-primary-gradient {
    background: var(--ngo-gradient) !important;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--ngo-primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 61, 78, 0.15);
}

.form-check-input:checked {
    background-color: var(--ngo-primary);
    border-color: var(--ngo-primary);
}

/* Tables */
.table-ngo thead {
    background: var(--ngo-primary);
    color: #fff;
}

.table-ngo tbody tr:hover {
    background: rgba(10, 61, 78, 0.05);
}

/* Alerts */
.alert-ngo-success {
    background: rgba(34, 139, 34, 0.1);
    border-left: 4px solid var(--ngo-secondary);
    color: var(--ngo-secondary);
}

.alert-ngo-info {
    background: rgba(10, 61, 78, 0.1);
    border-left: 4px solid var(--ngo-primary);
    color: var(--ngo-primary);
}

/* Focus Cards - NGO Theme */
.ngo-theme .focus-icon {
    background: linear-gradient(135deg, #0a3d4e 0%, #1a5f7a 100%);
}

.ngo-theme .focus-card:hover .focus-icon {
    background: #7CFC00;
    color: #0a3d4e;
}

.ngo-theme .focus-card:hover {
    border-top: 3px solid #7CFC00;
}

/* Section Titles - NGO Theme */
.section-subtitle-ngo {
    color: #228B22;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title-ngo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a3d4e;
    margin-bottom: 15px;
}

/* Video Cards - NGO Theme */
.ngo-theme .video-card h5 {
    color: #0a3d4e;
}

/* ========================================
   MOBILE HEADER SECTION
   ======================================== */

.mobile-header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, var(--ngo-primary) 0%, #1a5a6e 100%);
    text-align: center;
}

.mobile-logo-link {
    display: block;
    margin-bottom: 8px;
}

.mobile-header-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mobile-org-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.mobile-org-tagline {
    font-size: 10px;
    color: rgba(255,255,255,0.9);
    margin: 4px 0 0 0;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Extra small phones */
@media (max-width: 375px) {
    .mobile-header-section {
        padding: 12px 8px;
    }
    
    .mobile-header-logo {
        width: 60px;
        height: 60px;
    }
    
    .mobile-org-name {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .mobile-org-tagline {
        font-size: 9px;
    }
}

/* ========================================
   RESPONSIVE STYLES - Mobile First Approach
   ======================================== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .section-title-ngo {
        font-size: 2.8rem;
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199.98px) {
    .header-logo {
        width: 70px;
        height: 70px;
    }
    
    .site-title-ngo {
        font-size: 1.4rem;
    }
    
    .section-title-ngo {
        font-size: 2rem;
    }
}

/* Medium Devices - Tablets (768px to 991px) */
@media (max-width: 991.98px) {
    .top-info-bar {
        display: none;
    }
    
    .site-title-ngo {
        font-size: 1.2rem;
    }
    
    .site-tagline-ngo {
        font-size: 0.8rem;
    }
    
    .header-logo {
        width: 60px;
        height: 60px;
    }
    
    .ngo-header .header-top {
        padding: 10px 15px;
        flex-wrap: wrap;
    }
    
    .header-title-section {
        padding: 0 10px;
        order: 2;
        width: 100%;
        margin-top: 10px;
    }
    
    .tagline-underline {
        width: 120px;
    }
    
    /* Navigation Mobile */
    .ngo-nav .navbar-collapse {
        background: var(--ngo-primary);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    /* Mobile-specific nav styles */
    .ngo-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Mobile dropdown menu styles */
    .ngo-nav .dropdown-menu {
        background: rgba(255,255,255,0.15);
        border: none;
        padding: 5px 0;
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        border-radius: 8px;
        display: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .ngo-nav .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        max-height: 500px !important;
        overflow: visible !important;
    }
    
    .ngo-nav .dropdown-item {
        color: rgba(255,255,255,0.95);
        padding: 12px 25px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .ngo-nav .dropdown-item:hover,
    .ngo-nav .dropdown-item:focus {
        background: rgba(255,255,255,0.2);
        color: #fff;
    }
    
    .ngo-nav .dropdown-item i {
        width: 20px;
        text-align: center;
    }
    
    /* Fix dropdown toggle on mobile */
    .ngo-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    
    /* Ensure dropdowns work on mobile */
    .ngo-nav .nav-item.dropdown {
        position: relative;
    }
    
    .ngo-nav .dropdown-menu a {
        display: block;
        width: 100%;
        text-decoration: none;
    }
    
    /* Mobile Login Links - Highlight */
    .ngo-nav .nav-link[href*="login"] {
        background: rgba(255,193,7,0.15);
        border-left: 3px solid #ffc107;
        margin-top: 5px;
        display: flex !important;
        align-items: center;
    }
    
    .ngo-nav .nav-link[href*="login"]:hover {
        background: rgba(255,193,7,0.3);
    }
    
    /* Ensure mobile login items are visible */
    .navbar-nav .nav-item.d-lg-none {
        display: block !important;
    }
    
    @media (min-width: 992px) {
        .navbar-nav .nav-item.d-lg-none {
            display: none !important;
        }
    }
    
    /* Footer Responsive */
    .footer-main .row > div {
        margin-bottom: 30px;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo-container {
        text-align: center;
    }
    
    /* Section Spacing */
    .section-title-ngo {
        font-size: 1.8rem;
    }
    
    /* Cards Grid */
    .card {
        margin-bottom: 20px;
    }
    
    /* WhatsApp & Back to Top */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        right: 15px;
        bottom: 90px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 25px;
    }
}

/* Small Devices - Mobile Landscape (576px to 767px) */
@media (max-width: 767.98px) {
    .site-title-ngo {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .site-tagline-ngo {
        font-size: 0.7rem;
    }
    
    .header-logo {
        width: 50px;
        height: 50px;
    }
    
    .ngo-header .header-top {
        padding: 8px 10px;
    }
    
    .header-title-section {
        display: none;
    }
    
    /* Show simplified mobile header */
    .ngo-header .logo {
        flex: 1;
    }
    
    /* Mobile Brand Text Styling */
    .mobile-brand-text {
        max-width: 180px;
    }
    
    .mobile-site-name {
        font-size: 10px;
        letter-spacing: 0.5px;
        line-height: 1.3;
        text-transform: uppercase;
    }
    
    .mobile-site-tagline {
        font-size: 7px !important;
        opacity: 0.8;
        margin-top: 2px;
    }
    
    /* Footer */
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    /* Section Titles */
    .section-title-ngo {
        font-size: 1.5rem;
    }
    
    .section-subtitle-ngo {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    /* Cards */
    .card-body {
        padding: 15px;
    }
    
    /* Tables Responsive */
    .table-responsive {
        font-size: 14px;
    }
    
    /* Forms */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Extra Small Devices - Mobile Portrait (below 576px) */
@media (max-width: 575.98px) {
    .site-title-ngo {
        font-size: 0.85rem;
    }
    
    .site-tagline-ngo {
        display: none;
    }
    
    .header-logo {
        width: 45px;
        height: 45px;
    }
    
    .footer-reg-strip {
        display: none;
    }
    
    /* Mobile Brand Text - Extra Small */
    .mobile-brand-text {
        max-width: 160px;
    }
    
    .mobile-site-name {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
    
    .mobile-site-tagline {
        font-size: 6px !important;
    }
    
    /* Container Padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Navigation */
    .ngo-nav .navbar-toggler {
        padding: 8px 12px;
        font-size: 18px;
    }
    
    .ngo-nav .nav-link {
        font-size: 14px;
        padding: 10px 12px !important;
    }
    
    .ngo-nav .nav-link i {
        display: none;
    }
    
    /* Footer */
    .footer-main .col-lg-4,
    .footer-main .col-lg-2,
    .footer-main .col-md-4 {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-links li {
        margin-bottom: 5px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Section Spacing */
    section {
        padding: 40px 0;
    }
    
    .section-title-ngo {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    /* Cards */
    .card {
        border-radius: 10px;
    }
    
    .card-img-top {
        height: 180px;
        object-fit: cover;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    /* WhatsApp & Back to Top */
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
        right: 10px;
        bottom: 80px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        right: 10px;
        bottom: 20px;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item img {
        height: 150px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover::after,
    .card:hover,
    .btn:hover {
        transform: none;
    }
    
    .whatsapp-btn:hover,
    .back-to-top:hover {
        transform: none;
    }
    
    /* Better touch targets */
    .nav-link,
    .dropdown-item,
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Touch feedback */
    .touch-active {
        opacity: 0.7;
        transform: scale(0.98);
    }
    
    /* Dropdown items on touch */
    .dropdown-item {
        padding: 14px 20px;
    }
    
    /* Mobile nav improvements */
    .ngo-nav .nav-link {
        padding: 14px 15px !important;
        font-size: 15px;
    }
    
    .ngo-nav .dropdown-menu {
        margin-bottom: 10px;
    }
}

/* Print Styles */
@media print {
    .top-info-bar,
    .ngo-nav,
    .whatsapp-btn,
    .back-to-top,
    .footer-social {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Landscape Orientation Fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-modern {
        min-height: auto;
        padding: 30px 0;
    }
    
    .cover-slide {
        height: 300px;
    }
}

/* ========================================
   COMPREHENSIVE MOBILE STYLES (below 768px)
   ======================================== */
@media (max-width: 767.98px) {
    /* Full width everything */
    body, html {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .container {
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Header adjustments */
    .top-info-bar {
        padding: 5px 0;
        font-size: 11px;
    }
    
    .top-info-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .top-info-left, .top-info-right {
        justify-content: center !important;
    }
    
    .top-info-left span {
        margin-right: 10px;
        font-size: 10px;
    }
    
    /* Mobile Header Section */
    .mobile-header-section {
        width: 100%;
        padding: 12px 10px;
    }
    
    .mobile-header-logo {
        width: 60px;
        height: 60px;
    }
    
    .mobile-org-name {
        font-size: 13px;
        letter-spacing: 0.5px;
        padding: 0 10px;
    }
    
    .mobile-org-tagline {
        font-size: 9px;
        padding: 0 15px;
    }
    
    /* Navigation */
    .ngo-nav {
        padding: 0 !important;
        position: relative;
    }
    
    .ngo-nav .container-fluid {
        padding: 8px 10px !important;
        position: relative;
    }
    
    .navbar-toggler {
        padding: 8px 12px;
        font-size: 18px;
        z-index: 1001;
    }
    
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ngo-primary);
        z-index: 1000;
        transition: none;
    }
    
    .navbar-collapse.show {
        display: block;
    }
    
    .navbar-collapse:not(.show) {
        display: none;
    }
    
    /* Prevent body scroll when menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .ngo-nav .nav-link {
        padding: 12px 15px !important;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: block !important;
        color: #fff !important;
    }
    
    /* Mobile login links - extra visible */
    .ngo-nav .mobile-login-item {
        display: block !important;
        margin: 5px 0;
    }
    
    .ngo-nav .mobile-login-link {
        display: flex !important;
        align-items: center;
        background: linear-gradient(90deg, rgba(255,193,7,0.25), rgba(255,193,7,0.1));
        border-left: 5px solid #ffc107;
        font-weight: 700;
        padding: 16px 20px !important;
        font-size: 15px !important;
        color: #fff !important;
        border-radius: 0 8px 8px 0;
        transition: all 0.3s ease;
    }
    
    .ngo-nav .mobile-login-link:hover,
    .ngo-nav .mobile-login-link:active {
        background: linear-gradient(90deg, rgba(255,193,7,0.4), rgba(255,193,7,0.2));
        border-left-width: 8px;
        padding-left: 25px !important;
    }
    
    .ngo-nav .mobile-login-link i {
        color: #ffc107;
        font-size: 18px;
        margin-right: 10px;
    }
    
    .ngo-nav .dropdown-menu {
        width: 100%;
        margin: 0;
        padding: 5px 0;
        border-radius: 0;
        background: rgba(10, 61, 78, 0.95);
        display: none !important;
    }
    
    .ngo-nav .dropdown-menu.show {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }
    
    .ngo-nav .dropdown-item {
        padding: 12px 25px;
        font-size: 13px;
        color: rgba(255,255,255,0.9);
        display: block;
        width: 100%;
    }
    
    .ngo-nav .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: #fff;
    }
    
    /* Hero Section */
    .hero-modern {
        padding: 30px 15px;
        min-height: auto;
    }
    
    .hero-content-modern {
        padding: 0 10px;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 5px auto;
        display: block;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 25px;
        font-size: 15px;
    }
    
    .hero-buttons-modern {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons-modern .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Cards */
    .card {
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-text {
        font-size: 13px;
    }
    
    /* Sections */
    section {
        padding: 30px 0;
    }
    
    .section-title-ngo {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle-ngo {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    /* Forms */
    .form-control, .form-select {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 12px 15px;
        height: auto;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    /* Tables */
    .table {
        font-size: 12px;
    }
    
    .table th, .table td {
        padding: 8px 10px;
    }
    
    .table-responsive {
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Footer */
    .footer-main {
        padding: 30px 0 15px;
    }
    
    .footer-main .row > div {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-links {
        padding-left: 0;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 12px 0;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
    
    /* WhatsApp & Back to Top */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        right: 15px;
        bottom: 80px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        right: 15px;
        bottom: 20px;
    }
    
    /* Modals */
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header, .modal-footer {
        padding: 12px 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    /* Alerts */
    .alert {
        padding: 12px 15px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    /* Badges */
    .badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        padding: 10px 0;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .gallery-item img {
        height: 120px;
        object-fit: cover;
    }
    
    /* Team/Member Cards */
    .member-photo {
        height: 180px;
    }
    
    .member-name {
        font-size: 15px;
    }
    
    .member-role {
        font-size: 12px;
    }
    
    /* Impact/Stats Grid */
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .impact-card {
        padding: 15px;
    }
    
    .impact-number {
        font-size: 24px;
    }
    
    .impact-label {
        font-size: 11px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    /* Hide elements on mobile */
    .d-mobile-none {
        display: none !important;
    }
    
    /* Show elements only on mobile */
    .d-mobile-block {
        display: block !important;
    }
    
    /* Text adjustments */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Spacing utilities for mobile */
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .my-5 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
    .my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
}

/* ========================================
   EXTRA SMALL MOBILE (below 400px)
   ======================================== */
@media (max-width: 399.98px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .mobile-header-logo {
        width: 50px;
        height: 50px;
    }
    
    .mobile-org-name {
        font-size: 11px;
    }
    
    .mobile-org-tagline {
        font-size: 8px;
    }
    
    .btn {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .card-body {
        padding: 12px;
    }
    
    .section-title-ngo {
        font-size: 1.2rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
}
