/* =========================
   COLORS & VARIABLES
========================= */
:root {
    --doh-green: #0f5132;
    --doh-green-dark: #0b3a26;
    --doh-yellow: #f4c430;
    --doh-light-green: #e8f5ef;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --bg-gray: #f8f9fa;
}

/* =========================
   CORE RESET
========================= */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-gray);
    color: var(--slate-900);
}

.row { margin: 0; }

/* =========================
   NAVBAR SYSTEM
========================= */
.top-navbar {
    background-color: var(--doh-green);
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    text-align: center;
}

.nav-divider { 
    height: 4px; 
    background-color: var(--doh-yellow); 
}

.main-navbar {
    background-color: var(--doh-green);
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-text { line-height: 1.2; }

.brand-title { 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: var(--white); 
    display: block;
    text-transform: uppercase;
}

.brand-sub { 
    font-size: 0.65rem; 
    color: rgba(255,255,255,0.8); 
    display: block;
    max-width: 250px;
}

/* =========================
   HERO & PAGE HEADERS
========================= */
.hero-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, rgba(5,67,36,0.85), rgba(16,107,7,0.75)),
                url('/npgwp/public/images/bg1.jpg') center/cover no-repeat;
    padding: 2rem 1rem;
}

.hero-banner h1 { 
    font-size: 1.5rem; 
    font-weight: 800; 
    margin-bottom: 0.75rem; 
    line-height: 1.1;
}

.hero-banner p { 
    font-size: 0.9rem; 
    max-width: 600px; 
    margin: 0 auto 1.5rem; 
}

/* =========================
   COMPONENTS
========================= */
.btn-doh-action {
    background-color: var(--doh-green-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-doh-action:hover {
    background-color: #054226;
    color: white;
    transform: translateY(-1px);
}

.guideline-card {
    background: var(--white);
    border-radius: 12px;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.guideline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bg-success-subtle {
    background-color: var(--doh-light-green) !important;
    color: #208e5a !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

/* =========================
   UTILITIES (Fixes High Space)
========================= */
.flush-top { margin-top: 0 !important; padding-top: 0 !important; }
.pt-navbar { padding-top: 20px; } /* Use on containers below navbar */

/* =========================
   MOBILE OPTIMIZATION (375x667)
========================= */
@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .brand-sub { font-size: 0.6rem; max-width: 180px; }
    
    .hero-banner { min-height: 220px; }
    .hero-banner h1 { font-size: 1.25rem; }

    .nav-search { padding: 0.75rem 0; }
    
    /* Input fix for iOS zoom */
    .search-group input { font-size: 16px; }

    .contact-card .card-body { padding: 1.25rem; }

    /* Hide heavy decorations on mobile */
    .shape, .hero-decoration { display: none; }

    .table-responsive {
        border: 0;
        font-size: 0.8rem;
    }
}