/********** Updated Template CSS (Official Government Style - Production Refactor) **********/

/* Import Government Standard Font: Public Sans */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Core Palette */
    --primary: #0003b1;
    --primary-rgb: 0, 3, 177;      /* For alpha channel usage */
    
    --secondary: #1a05a2;
    --secondary-rgb: 26, 5, 162;   /* For alpha channel usage */
    
    --light: #dbdadc;
    --dark: #111111;
    
    /* WCAG AA Compliant Accent Orange */
    --accent-orange: #d9382a; 
    --accent-orange-dark: #b82b1f;

    /* Functional Hierarchy */
    --background-color: var(--light);
    --surface-color: #ffffff;
    --text-default: var(--primary);
    --text-heading: var(--secondary);
    --text-contrast: #ffffff;
    --border-light: #eeeeee;
    
    /* Typography */
    --font-sans: 'Public Sans', system-ui, -apple-system, sans-serif;
}

/********** Global Typography & Resets **********/
body {
    background-color: var(--background-color);
    color: var(--text-default);
    font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-weight: 700;
}

.fw-medium {
    font-weight: 600;
}

/********** Top Bar **********/
header .top-bar, 
header .container-fluid.bg-light.p-0:first-of-type {
    background-color: var(--accent-orange);
}

header .top-bar a,
header .top-bar i,
header .top-bar small,
header .top-bar .text-primary,
header .container-fluid.bg-light.p-0:first-of-type a,
header .container-fluid.bg-light.p-0:first-of-type i,
header .container-fluid.bg-light.p-0:first-of-type small {
    color: var(--text-contrast);
}

/* Social media button outlines */
header .top-bar a.btn.bg-white,
header .container-fluid.bg-light.p-0:first-of-type a.btn.bg-white {
    background-color: transparent;
    border: 1px solid var(--text-contrast); 
    transition: all 0.3s ease;
}

header .top-bar a.btn.bg-white:hover,
header .container-fluid.bg-light.p-0:first-of-type a.btn.bg-white:hover {
    background-color: var(--text-contrast);
    color: var(--accent-orange);
}

/********** Navbar **********/
.navbar.navbar-light {
    background-color: var(--surface-color);
}

.navbar .navbar-brand h1,
.navbar .navbar-brand span,
.navbar-brand .text-primary {
    color: var(--text-heading);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    transition: color 0.3s ease;
}

.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar.navbar-light .navbar-nav .nav-link.active {
    color: var(--accent-orange);
}

.navbar.navbar-light .navbar-brand,
.navbar.navbar-light a.btn {
    height: 75px;
}

/* Sticky Header */
.navbar.navbar-light.sticky-top {
    top: -100px;
    transition: top 0.5s ease;
    background-color: var(--surface-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
    .navbar.navbar-light .navbar-nav {
        background-color: var(--surface-color);
        padding: 10px 15px;
        border-top: 1px solid var(--border-light);
    }
    .navbar.navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
        background-color: var(--surface-color);
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

.dropdown-item {
    color: var(--primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:hover {
    background-color: var(--accent-orange);
    color: var(--text-contrast);
}

/********** UI Components **********/
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--accent-orange);
    color: var(--text-contrast);
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Buttons ***/
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: var(--text-contrast);
}

.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus-visible {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible {
    background-color: var(--accent-orange-dark);
    border-color: var(--accent-orange-dark);
}

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: normal; 
    border-radius: 2px;
}

/*** Forms ***/
.form-control:focus, 
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

/********** Core Sections & Imagery **********/

/*** Header & Hero Carousel ***/
.carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(var(--secondary-rgb), 0.75);
    z-index: 1;
}

.carousel-control-prev, .carousel-control-next { width: 10%; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 3rem; height: 3rem; }

#header-carousel .carousel-item { height: 750px; min-height: 750px; }
#header-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

@media (max-width: 991.98px) {
    #header-carousel .carousel-item { height: 500px; min-height: 500px; }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item { position: relative; height: 450px; min-height: 450px; }
    #header-carousel .carousel-item img { position: absolute; top: 0; left: 0; }
}

.page-header { 
    background-position: center center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}

.page-header-inner { 
    background: rgba(var(--secondary-rgb), 0.85); 
}

.breadcrumb-item a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb-item a:hover { color: var(--accent-orange); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.6); }

/*** Specialty Layouts ***/
.fact {
    background: linear-gradient(rgba(var(--secondary-rgb), 0.88), rgba(var(--primary-rgb), 0.88)), url(../img/carousel-bg-1.jpg);
    background-position: center center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.service .nav .nav-link {
    background: var(--surface-color); 
    color: var(--text-heading); 
    transition: all 0.5s ease;
}

.service .nav .nav-link.active {
    background: var(--primary); 
    color: var(--text-contrast);
}

.service .nav .nav-link.active h4 { 
    color: var(--text-contrast); 
}

.booking {
    background: linear-gradient(rgba(var(--secondary-rgb), 0.88), rgba(var(--primary-rgb), 0.88)), url(../img/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.booking .bg-primary, 
.booking .booking-form {
    background-color: var(--primary);
}

.booking .btn.btn-primary, 
.booking button[type="submit"] {
    background-color: var(--accent-orange); 
    border-color: var(--accent-orange); 
    color: var(--text-contrast);
}

.booking .btn.btn-primary:hover, 
.booking button[type="submit"]:hover {
    background-color: var(--accent-orange-dark); 
    border-color: var(--accent-orange-dark);
}

.team-item .team-overlay {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--primary); 
    transform: scale(0); 
    transition: transform 0.5s ease;
}

.team-item:hover .team-overlay { 
    transform: scale(1); 
}

.team-item .team-overlay .btn { 
    color: var(--primary); 
    background: var(--surface-color); 
}

.team-item .team-overlay .btn:hover { 
    color: var(--text-contrast); 
    background: var(--secondary); 
}

/* Testimonials */
.testimonial-carousel .owl-item .testimonial-text, 
.testimonial-carousel .owl-item.center .testimonial-text * { 
    transition: all 0.5s ease; 
}

.testimonial-carousel .owl-item.center .testimonial-text { 
    background: var(--primary); 
}

.testimonial-carousel .owl-item.center .testimonial-text * { 
    color: var(--text-contrast); 
}

.testimonial-carousel .owl-dots { 
    margin-top: 24px; 
    display: flex; 
    align-items: flex-end; 
    justify-content: center; 
}

.testimonial-carousel .owl-dot {
    position: relative; 
    display: inline-block; 
    margin: 0 5px; 
    width: 15px; 
    height: 15px; 
    border: 1px solid var(--accent-orange); 
    transition: all 0.5s ease;
}

.testimonial-carousel .owl-dot.active { 
    background: var(--primary); 
    border-color: var(--primary); 
}

/********** Flip Cards (A11y Compliant) **********/
.flip-card {
    background-color: transparent; 
    height: 320px; 
    perspective: 1000px; 
    cursor: pointer;
}

.flip-card-inner {
    position: relative; 
    width: 100%; 
    height: 100%; 
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    border-radius: 12px;
}

.flip-card:hover .flip-card-inner, 
.flip-card:focus-within .flip-card-inner { 
    transform: rotateY(180deg); 
}

/* Accessibility Override: Disable motion if user requests it */
@media (prefers-reduced-motion: reduce) {
    .flip-card-inner {
        transition: none;
    }
}

.flip-card-front, .flip-card-back {
    position: absolute; 
    width: 100%; 
    height: 100%; 
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    border-radius: 12px; 
    overflow: hidden;
}

.flip-card-front { 
    background-color: var(--surface-color); 
}

.flip-card-front img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.flip-card-front .card-title-overlay {
    position: absolute; 
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(var(--secondary-rgb), 0.9), transparent); 
    color: var(--text-contrast); 
    padding: 20px 15px 10px;
}

.flip-card-back {
    background-color: var(--secondary); 
    color: var(--text-contrast); 
    transform: rotateY(180deg);
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 25px; 
    border: 2px solid var(--primary);
}

/********** Footer **********/
.footer {
    background: linear-gradient(rgba(var(--secondary-rgb), 0.95), rgba(var(--primary-rgb), 0.95)), url(../img/carousel-bg-1.jpg) center center no-repeat;
    background-size: cover;
    color: var(--text-contrast);
}

.footer .btn.btn-social {
    margin-right: 5px; 
    width: 35px; 
    height: 35px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--text-contrast); 
    border: 1px solid var(--text-contrast); 
    border-radius: 35px; 
    transition: all 0.3s ease;
}

.footer .btn.btn-social:hover {
    color: var(--text-contrast); 
    background-color: var(--accent-orange); 
    border-color: var(--accent-orange);
}

.footer .btn.btn-link {
    display: block; 
    margin-bottom: 5px; 
    padding: 0; 
    text-align: left; 
    color: var(--text-contrast); 
    font-size: 15px; 
    font-weight: normal; 
    text-transform: capitalize; 
    transition: all 0.3s ease;
}

.footer .btn.btn-link::before {
    position: relative; 
    content: "\f105"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    margin-right: 10px; 
    color: var(--accent-orange);
}

.footer .btn.btn-link:hover { 
    color: var(--accent-orange); 
    letter-spacing: 1px; 
    box-shadow: none; 
}

.footer .copyright { 
    padding: 25px 0; 
    font-size: 15px; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
}

.footer .copyright a { 
    color: var(--accent-orange); 
}

.footer .footer-menu a { 
    margin-right: 15px; 
    padding-right: 15px; 
    border-right: 1px solid rgba(255, 255, 255, 0.3); 
    color: var(--text-contrast);
}

.footer .footer-menu a:last-child { 
    margin-right: 0; 
    padding-right: 0; 
    border-right: none; 
}

/********** Global Utility Overrides **********/
.text-primary, 
a.text-primary:hover, 
a.text-primary:focus { 
    color: var(--primary); 
}

.bg-primary { 
    background-color: var(--primary); 
}

.border-primary { 
    border-color: var(--primary); 
}

/* Feature Icons & Typography Utilities */
.service-item .service-icon, 
.feature-item i, 
.flex-shrink-0 i, 
i.fa-2x, 
i.fa-3x { 
    color: var(--primary); 
}

.section-title, 
h6.text-primary, 
.text-uppercase.text-primary,
h1 span.text-primary, 
h2 span.text-primary, 
h3 span.text-primary, 
.display-5 span.text-primary { 
    color: var(--accent-orange); 
}

@media (max-width: 400px) {
    .navbar-brand h2 { font-size: 1.15rem; line-height: 1.2; }
    .navbar-brand i { font-size: 1.5rem; }
}







/* LDRRMO Resilience Hub Scoped Styles */

#ldrr-res-bin-about-section {
    background-color: var(--background-color);
    margin: 50px 0;
    padding: 60px 20px;
    overflow: hidden;
}

#ldrr-res-bin-about-section h1, 
#ldrr-res-bin-about-section h2, 
#ldrr-res-bin-about-section h3,
#ldrr-res-bin-about-section h4 {
    color: var(--text-heading);
}

.ldrr-res-bin-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.ldrr-res-bin-hero {
    text-align: center;
    margin-bottom: 80px;
}

.ldrr-res-bin-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Fluid typography */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ldrr-res-bin-subtitle {
    color: var(--accent-orange);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.ldrr-res-bin-hero p:not(.ldrr-res-bin-subtitle) {
    font-size: 1.15rem;
    color: var(--text-default);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Four Pillars Grid */
.ldrr-res-bin-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.ldrr-res-bin-pillar-card {
    background: var(--surface-color);
    padding: 40px 30px;
    text-align: center;
    border-bottom: 4px solid var(--accent-orange);
    box-shadow: 0 4px 6px rgba(var(--primary-rgb), 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ldrr-res-bin-pillar-card:hover,
.ldrr-res-bin-pillar-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(var(--primary-rgb), 0.1);
}

.ldrr-res-bin-pillar-card svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.ldrr-res-bin-pillar-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Six-Node Mandate Dashboard */
.ldrr-res-bin-mandate-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.ldrr-res-bin-mandate-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ldrr-res-bin-mandate-card:hover {
    box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.08);
}

.ldrr-res-bin-icon-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.ldrr-res-bin-icon-wrapper i,
.ldrr-res-bin-icon-wrapper svg {
    color: var(--accent-orange);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.ldrr-res-bin-mandate-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.ldrr-res-bin-mandate-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* EOC Pulse Animation - A11y Compliant */
.ldrr-res-bin-eoc-card {
    position: relative;
    z-index: 1;
}

.ldrr-res-bin-eoc-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--accent-orange-rgb, 217, 56, 42), 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: ldrr-res-bin-pulse 4s infinite linear;
}

@keyframes ldrr-res-bin-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ldrr-res-bin-eoc-card::before {
        animation: none;
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Vision & Mission panels */
.ldrr-res-bin-vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.ldrr-res-bin-command-panel {
    background: var(--surface-color);
    padding: 40px;
    border-left: 6px solid var(--accent-orange);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.05);
}

.ldrr-res-bin-command-panel h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.ldrr-res-bin-command-panel h3 .ldrr-res-bin-icon-wrapper {
    margin-bottom: 0; /* Override for this context */
}

.ldrr-res-bin-command-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-default);
    opacity: 0.9;
}

/* Core Values Detailed Section */
.ldrr-res-bin-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.ldrr-res-bin-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ldrr-res-bin-header-line {
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    margin: 0 auto;
}

.ldrr-res-bin-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.ldrr-res-bin-value-card {
    background: var(--surface-color);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ldrr-res-bin-value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.3);
}

.ldrr-res-bin-value-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-orange);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ldrr-res-bin-value-card:hover .ldrr-res-bin-value-icon-box {
    background: var(--primary);
    color: var(--text-contrast);
    transform: rotateY(360deg);
}

.ldrr-res-bin-value-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.ldrr-res-bin-value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-default);
    opacity: 0.8;
    margin: 0;
}

/* Core Values Status Bar */
.ldrr-res-bin-values-status-bar {
    background: var(--primary);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ldrr-res-bin-value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-contrast);
}

.ldrr-res-bin-value-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ldrr-res-bin-value-badge svg {
    color: var(--accent-orange);
}

.ldrr-res-bin-status-tag {
    color: var(--accent-orange);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .ldrr-res-bin-mandate-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ldrr-res-bin-mandate-dashboard,
    .ldrr-res-bin-vision-mission {
        grid-template-columns: 1fr;
    }
    
    .ldrr-res-bin-values-status-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mobile Priority: EOC and Early Warning Cards */
    .ldrr-res-bin-mandate-dashboard .ldrr-res-bin-mandate-card:nth-child(2),
    .ldrr-res-bin-mandate-dashboard .ldrr-res-bin-mandate-card:nth-child(5) {
        order: -1;
        border: 2px solid var(--accent-orange);
    }
}







/* Scoped CSS Architecture: DRRM Strategic Initiatives */

#ldrr-strat-bin-initiatives-section {
    margin: 25px 0;
    background-color: var(--background-color);
    padding: 60px 20px;
    position: relative;
}

.ldrr-strat-bin-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ldrr-strat-bin-main-heading {
    color: var(--text-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;
}

.ldrr-strat-bin-sub-heading {
    color: var(--accent-orange);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 40px;
}

.ldrr-strat-bin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .ldrr-strat-bin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ldrr-strat-bin-research-card {
        grid-column: span 2;
    }
}

.ldrr-strat-bin-initiative-card {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ldrr-strat-bin-initiative-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.ldrr-strat-bin-research-card:hover {
    transform: none; /* Prevent large card from shifting layout */
}

.ldrr-strat-bin-card-icon {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.ldrr-strat-bin-card-icon svg {
    color: var(--accent-orange);
    width: 40px;
    height: 40px;
}

.ldrr-strat-bin-card-title {
    font-size: 1.4rem;
    color: var(--text-heading);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.ldrr-strat-bin-card-description {
    color: var(--text-default);
    line-height: 1.6;
    margin-bottom: 15px;
}

.ldrr-strat-bin-tech-pills {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.ldrr-strat-bin-tech-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.ldrr-strat-bin-status-msg {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-orange);
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--accent-orange);
    margin-bottom: 15px;
    display: inline-block;
}

/* Research/Modeling Card Specifics */
.ldrr-strat-bin-research-card {
    border: 2px dashed var(--accent-orange);
    background-image: radial-gradient(circle at 2px 2px, rgba(var(--primary-rgb), 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

.ldrr-strat-bin-engineering-note {
    font-size: 0.9rem;
    background: rgba(var(--primary-rgb), 0.03);
    border-left: 3px solid var(--primary);
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-default);
    border-radius: 0 8px 8px 0;
}

.ldrr-strat-bin-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.ldrr-strat-bin-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.ldrr-strat-bin-feature-list li svg {
    color: var(--accent-orange);
    flex-shrink: 0;
}

.ldrr-strat-bin-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .ldrr-strat-bin-split-grid {
        grid-template-columns: 1fr 1fr;
    }
}










/* Scoped CSS Architecture: LDRRMO EOC Nerve Center */

#ldrr-eoc-core-nerve-center {
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    padding: 100px 5%;
    background-color: var(--background-color);
}

/* Concentric Signal Waves Watermark */
#ldrr-eoc-core-nerve-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, transparent 20%, rgba(var(--accent-orange-rgb, 217, 56, 42), 0.02) 21%, transparent 22%, transparent 40%, rgba(var(--accent-orange-rgb, 217, 56, 42), 0.02) 41%, transparent 42%, transparent 60%, rgba(var(--accent-orange-rgb, 217, 56, 42), 0.02) 61%, transparent 62%);
    background-size: 800px 800px;
    pointer-events: none;
    z-index: 0;
}

.ldrr-eoc-core-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ldrr-eoc-core-mono {
    /* Native system mono stack for performance - no extra font downloads */
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Hero Section Styles */
.ldrr-eoc-core-hero {
    text-align: center;
    margin-bottom: 80px;
}

.ldrr-eoc-core-pulse-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.ldrr-eoc-core-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    animation: ldrr-eoc-core-pulse 2s infinite;
}

@keyframes ldrr-eoc-core-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ldrr-eoc-core-pulse-ring {
        animation: none;
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.ldrr-eoc-core-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 10px;
    color: var(--text-heading);
}

.ldrr-eoc-core-status-line {
    color: var(--accent-orange);
    margin-bottom: 30px;
    font-weight: 700;
}

.ldrr-eoc-core-description {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
    border-top: 4px solid var(--primary);
}

.ldrr-eoc-core-subheading {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-heading);
}

/* Technical Matrix Styles */
.ldrr-eoc-core-tech-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.ldrr-eoc-core-tech-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.05);
    border: 1px solid var(--border-light, #eee);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ldrr-eoc-core-tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--accent-orange-rgb, 217, 56, 42), 0.15);
    border-color: var(--accent-orange);
}

.ldrr-eoc-core-tech-icon {
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ldrr-eoc-core-tech-card:hover .ldrr-eoc-core-tech-icon {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.ldrr-eoc-core-tech-icon svg {
    width: 40px;
    height: 40px;
}

.ldrr-eoc-core-tech-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-heading);
}

.ldrr-eoc-core-tech-desc {
    font-size: 1rem;
    color: var(--text-default);
    opacity: 0.8;
}

.ldrr-eoc-core-badge {
    margin-top: 20px;
    font-size: 0.85rem;
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.1);
    color: var(--accent-orange);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--accent-orange);
    font-weight: 700;
}

/* Inter-Agency Sync-Layer Styles */
.ldrr-eoc-core-section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: clamp(1.8rem, 4vw, 2rem);
    color: var(--text-heading);
    position: relative;
}

.ldrr-eoc-core-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    margin: 15px auto 0;
}

.ldrr-eoc-core-agency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ldrr-eoc-core-agency-card {
    background: var(--surface-color);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.05);
    border-left: 4px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.ldrr-eoc-core-agency-card:hover {
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
    transform: translateX(5px);
}

.ldrr-eoc-core-agency-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.ldrr-eoc-core-agency-status {
    font-size: 0.75rem;
    color: var(--accent-orange);
    margin-bottom: 15px;
    display: block;
    font-weight: 700;
}

.ldrr-eoc-core-agency-desc {
    font-size: 0.95rem;
    color: var(--text-default);
    line-height: 1.5;
    margin: 0;
}

.ldrr-eoc-core-agency-card.ldrr-eoc-core-alert {
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.04);
}

/* NOC-Grade Polish: System Glow */
.ldrr-eoc-core-tech-card:hover::after {
    content: 'SYSTEM ONLINE';
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-family: ui-monospace, monospace;
    font-size: 0.65rem;
    color: var(--accent-orange);
    letter-spacing: 1px;
    opacity: 0.8;
}










/* Scoped CSS Architecture: Disaster Preparedness Guide */

.ldrr-prep-section {
    padding: 80px 20px;
    background-color: var(--background-color);
    
    /* Local Component Variables for Triage Timeline */
    --prep-yellow: #d6ab00; 
    --prep-red: var(--accent-orange); /* Tied to brand accent */
    --prep-blue: var(--primary);      /* Tied to brand primary */
}

.ldrr-prep-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ldrr-prep-header {
    text-align: center;
    margin-bottom: 60px;
}

.ldrr-prep-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-heading);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.ldrr-prep-title::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.ldrr-prep-subtitle {
    color: var(--text-default);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Native CSS Grid - Framework Independent */
.ldrr-prep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.ldrr-prep-card {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.08);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 5px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Background Fill Animation Element */
.ldrr-prep-card::after {
    content: "";
    position: absolute;
    inset: 100% 0 0 0; /* Starts hidden at the bottom */
    transition: inset 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.ldrr-prep-card:hover,
.ldrr-prep-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.15);
}

.ldrr-prep-card:hover::after,
.ldrr-prep-card:focus-within::after {
    inset: 0; /* Expands to fill on hover */
}

/* Base Card Themes */
.ldrr-prep-card.phase-before { border-top-color: var(--prep-yellow); }
.ldrr-prep-card.phase-during { border-top-color: var(--prep-red); }
.ldrr-prep-card.phase-after  { border-top-color: var(--prep-blue); }

.ldrr-prep-card.phase-before::after { background: var(--prep-yellow); }
.ldrr-prep-card.phase-during::after { background: var(--prep-red); }
.ldrr-prep-card.phase-after::after  { background: var(--prep-blue); }

/* Typography & Icon Transitions (Ready for Hover) */
.ldrr-prep-card h3,
.ldrr-prep-card .ldrr-prep-intro,
.ldrr-prep-card .ldrr-prep-reminder,
.ldrr-prep-card li,
.ldrr-prep-icon svg,
.ldrr-prep-list-icon svg {
    transition: color 0.3s ease, border-color 0.3s ease;
}

.ldrr-prep-card h3 { 
    color: var(--text-heading); 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
}

.ldrr-prep-card .ldrr-prep-intro { 
    color: var(--text-default); 
    font-weight: 600; 
    margin-bottom: 25px; 
}

.ldrr-prep-card ul { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 25px 0; 
    flex-grow: 1; 
}

.ldrr-prep-card li { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    margin-bottom: 15px; 
    color: var(--text-default); 
    line-height: 1.5; 
}

.ldrr-prep-icon { margin-bottom: 20px; }
.ldrr-prep-icon svg { width: 48px; height: 48px; }
.ldrr-prep-list-icon { margin-top: 3px; }
.ldrr-prep-list-icon svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Thematic Colors for Icons */
.ldrr-prep-card.phase-before .ldrr-prep-icon svg, .ldrr-prep-card.phase-before .ldrr-prep-list-icon svg { color: var(--prep-yellow); }
.ldrr-prep-card.phase-during .ldrr-prep-icon svg, .ldrr-prep-card.phase-during .ldrr-prep-list-icon svg { color: var(--prep-red); }
.ldrr-prep-card.phase-after .ldrr-prep-icon svg,  .ldrr-prep-card.phase-after .ldrr-prep-list-icon svg  { color: var(--prep-blue); }

.ldrr-prep-reminder {
    font-style: italic;
    font-size: 0.9rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-top: 15px;
    margin: 0;
    color: rgba(var(--primary-rgb), 0.7);
}

/* 
  Hover State Overrides 
  By scoping to .ldrr-prep-card:hover, we achieve higher specificity 
  than the base declarations without needing !important.
*/
.ldrr-prep-card:hover h3,
.ldrr-prep-card:hover .ldrr-prep-intro,
.ldrr-prep-card:hover li,
.ldrr-prep-card:hover .ldrr-prep-reminder,
.ldrr-prep-card:hover .ldrr-prep-icon svg,
.ldrr-prep-card:hover .ldrr-prep-list-icon svg {
    color: var(--text-contrast);
}

.ldrr-prep-card:hover .ldrr-prep-reminder {
    border-top-color: rgba(255, 255, 255, 0.3);
}

/* Call to Action Banner */
.ldrr-prep-cta {
    background: var(--text-heading);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.1);
}

.ldrr-prep-cta h4 {
    margin: 0;
    color: var(--text-contrast);
    font-size: 1.25rem;
    letter-spacing: 1px;
}










/* Scoped CSS Architecture: Thematic DRRM Lifecycle (Enhanced) */

#ldrr-lifecycle-bin-thematic-section {
    margin: 50px 0;
    background-color: var(--background-color);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.ldrr-lifecycle-bin-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Styling */
.ldrr-lifecycle-bin-header {
    text-align: center;
    margin-bottom: 60px;
}

.ldrr-lifecycle-bin-header h2 {
    color: var(--text-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ldrr-lifecycle-bin-header p {
    font-size: 1.2rem;
    color: var(--text-default);
    font-weight: 600;
    opacity: 0.8;
}

/* Grid Layout */
.ldrr-lifecycle-bin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

/* Enhanced Pillar Cards */
.ldrr-lifecycle-bin-pillar-card {
    background-color: var(--surface-color);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-top: 4px solid rgba(var(--primary-rgb), 0.1); /* Subtle top border */
    border-radius: 8px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.03);
}

.ldrr-lifecycle-bin-pillar-card:hover,
.ldrr-lifecycle-bin-pillar-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.15);
    border-top-color: var(--accent-orange); /* Top border lights up on hover */
}

/* Modernized Icon Wrapper */
.ldrr-lifecycle-bin-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-orange);
    transition: transform 0.3s ease, background 0.3s ease;
}

.ldrr-lifecycle-bin-pillar-card:hover .ldrr-lifecycle-bin-icon-wrapper {
    transform: scale(1.05);
    background: var(--accent-orange);
    color: var(--text-contrast);
}

.ldrr-lifecycle-bin-icon-wrapper svg {
    width: 36px;
    height: 36px;
}

/* Typography */
.ldrr-lifecycle-bin-pillar-card h3 {
    color: var(--text-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.ldrr-lifecycle-bin-tagline {
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.ldrr-lifecycle-bin-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ldrr-lifecycle-bin-card-content > p {
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-default);
}

.ldrr-lifecycle-bin-card-content strong {
    color: var(--text-heading);
}

/* 
  UNIFIED SUB-MODULE SYSTEM
  This replaces the disjointed bottoms of the cards with a standardized layout
*/
.ldrr-lifecycle-bin-sub-module {
    background: rgba(var(--primary-rgb), 0.02);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 8px;
    padding: 20px;
    margin-top: auto; /* Pushes it to the bottom of the card */
}

.ldrr-lifecycle-bin-sub-module h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--text-heading);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lists inside Sub-Modules */
.ldrr-lifecycle-bin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ldrr-lifecycle-bin-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-default);
}

.ldrr-lifecycle-bin-list li:last-child { margin-bottom: 0; }

.ldrr-lifecycle-bin-check {
    color: var(--accent-orange);
    font-weight: bold;
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.1);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Tactical Flow inside Sub-Module */
.ldrr-lifecycle-bin-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    padding: 15px;
    border-radius: 6px;
    color: var(--text-contrast);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.ldrr-lifecycle-bin-flow-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    text-align: center;
}

.ldrr-lifecycle-bin-flow-arrow {
    color: var(--accent-orange);
}

/* PDNA Highlight inside Sub-Module */
.ldrr-lifecycle-bin-recovery-highlight {
    border: 2px dashed var(--accent-orange);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    color: var(--text-heading);
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.05);
}

.ldrr-lifecycle-bin-recovery-highlight span {
    display: block;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ldrr-lifecycle-bin-recovery-highlight small {
    color: var(--text-default);
    font-weight: 500;
    font-size: 0.85rem;
    display: block;
    line-height: 1.4;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .ldrr-lifecycle-bin-grid {
        grid-template-columns: 1fr;
    }
}










/* Scoped CSS Architecture: LDRRMO Awards & Recognitions */

.ldrr-awards-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.ldrr-award-card {
    background-color: var(--surface-color);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ldrr-award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.3);
}

.ldrr-award-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ldrr-award-icon img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.ldrr-award-card:hover .ldrr-award-icon img {
    transform: scale(1.08);
}

.ldrr-award-title {
    color: var(--text-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ldrr-award-highlight {
    color: var(--accent-orange);
    display: block;
    margin-top: 5px;
}

.ldrr-award-subtitle {
    font-size: 0.95rem;
    color: var(--text-default);
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Native HTML5 Accordion Styling */
.ldrr-award-accordion {
    width: 100%;
    margin-top: auto; /* Pushes accordion to the bottom of the card */
}

.ldrr-award-accordion summary {
    cursor: pointer;
    list-style: none; /* Removes default triangle in most browsers */
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    user-select: none;
}

/* Remove default WebKit triangle */
.ldrr-award-accordion summary::-webkit-details-marker {
    display: none;
}

.ldrr-award-accordion summary:hover {
    background: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.1);
}

/* Custom Chevron Animation */
.ldrr-award-chevron {
    transition: transform 0.3s ease;
}

.ldrr-award-accordion[open] summary .ldrr-award-chevron {
    transform: rotate(180deg);
}

.ldrr-award-accordion[open] summary {
    margin-bottom: 15px;
    background: transparent;
}

/* Expanded Content Area */
.ldrr-award-details-content {
    font-size: 0.9rem;
    color: var(--text-default);
    text-align: left;
    padding: 15px;
    background: rgba(var(--primary-rgb), 0.02);
    border-left: 3px solid var(--primary);
    border-radius: 0 4px 4px 0;
    line-height: 1.6;
    animation: ldrr-award-fade-in 0.3s ease-in-out;
}

.ldrr-award-details-content strong {
    color: var(--text-heading);
    display: block;
    margin-bottom: 5px;
}

@keyframes ldrr-award-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}










/* ==========================================================================
   LDRRMO Fleet & Asset Inventory (Elevated & Interactive)
   ========================================================================== */

.ldrr-fleet-section {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.ldrr-fleet-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Controls */
.ldrr-fleet-header {
    text-align: center;
    margin-bottom: 50px;
}

.ldrr-fleet-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-heading);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ldrr-fleet-subtitle {
    font-size: 1.15rem;
    color: var(--accent-orange);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Elevated Interactive Dashboard Controls (Horizontal Row) */
.ldrr-fleet-controls {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.06);
    margin-bottom: 60px;
}

.ldrr-fleet-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.ldrr-fleet-search-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.6;
}

.ldrr-fleet-search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: var(--surface-color);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-heading);
    outline: none;
    transition: all 0.3s ease;
}

.ldrr-fleet-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.ldrr-fleet-filters {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.ldrr-fleet-filter-btn {
    background: var(--surface-color);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ldrr-fleet-filter-btn:hover {
    border-color: var(--primary);
}

.ldrr-fleet-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-contrast);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
}

/* Tier Headings */
.ldrr-fleet-tier {
    margin-bottom: 70px;
    transition: opacity 0.3s ease;
}

.ldrr-fleet-tier-title {
    color: var(--text-heading);
    font-size: 1.6rem;
    border-left: 4px solid var(--accent-orange);
    padding-left: 18px;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grids & Elevated Cards */
.ldrr-fleet-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ldrr-fleet-card {
    background-color: var(--surface-color);
    padding: 35px 25px;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Heavy Ops Unique Background Gradient */
.ldrr-fleet-card[data-category="heavy"] {
    background-image: radial-gradient(circle at bottom right, rgba(var(--accent-orange-rgb, 217, 56, 42), 0.03) 0%, transparent 70%);
}

/* Animated Top Accent Line */
.ldrr-fleet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary));
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ldrr-fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.ldrr-fleet-card:hover::before {
    width: 100%;
}

/* Gradient Icon Wrappers */
.ldrr-fleet-icon {
    color: var(--accent-orange);
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(var(--accent-orange-rgb, 217, 56, 42), 0.05), rgba(var(--accent-orange-rgb, 217, 56, 42), 0.15));
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid rgba(var(--accent-orange-rgb, 217, 56, 42), 0.1);
}

.ldrr-fleet-card:hover .ldrr-fleet-icon {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--text-contrast);
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(var(--accent-orange-rgb, 217, 56, 42), 0.2);
}

.ldrr-fleet-icon svg { width: 32px; height: 32px; }

.ldrr-fleet-name {
    color: var(--text-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.ldrr-fleet-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-default);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Feature Specs */
.ldrr-fleet-meta {
    background: rgba(var(--primary-rgb), 0.02);
    border-top: 1px solid rgba(var(--primary-rgb), 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-default);
}

.ldrr-fleet-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.ldrr-fleet-meta-row:last-child { margin-bottom: 0; }
.ldrr-fleet-meta-row strong { color: var(--text-heading); text-align: right; }

/* Capability Tags */
.ldrr-fleet-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    padding: 8px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    background: var(--primary);
    color: var(--text-contrast);
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.2);
    transition: background 0.3s ease;
}

.ldrr-fleet-card:hover .ldrr-fleet-tag {
    background: var(--text-heading);
}

/* Empty State / No Results */
.ldrr-fleet-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-default);
    font-size: 1.1rem;
    background: rgba(var(--primary-rgb), 0.02);
    border: 1px dashed rgba(var(--primary-rgb), 0.2);
    border-radius: 8px;
    display: none;
    grid-column: 1 / -1;
    margin-bottom: 40px;
}

/* Javascript hiding class */
.ldrr-hidden { display: none !important; }

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .ldrr-fleet-controls { flex-wrap: wrap; }
    .ldrr-fleet-search-wrapper { max-width: 100%; }
    .ldrr-fleet-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }
}










/* Scoped CSS Architecture: LDRRMO Team Directory */

.ldrr-team-section {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.ldrr-team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ldrr-team-header {
    text-align: center;
    margin-bottom: 60px;
}

.ldrr-team-header h2 {
    color: var(--text-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ldrr-team-header p {
    color: var(--text-default);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hierarchical Groupings */
.ldrr-team-tier {
    margin-bottom: 50px;
}

.ldrr-team-command-exec {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ldrr-team-command-ops {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ldrr-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Team Cards */
.ldrr-team-card {
    background-color: var(--surface-color);
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Command distinct borders */
.ldrr-team-command-exec .ldrr-team-card {
    width: 100%;
    max-width: 350px;
    border-top: 4px solid var(--accent-orange);
}

.ldrr-team-command-ops .ldrr-team-card {
    width: 100%;
    max-width: 300px;
    border-top: 4px solid var(--primary);
}

.ldrr-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--accent-orange-rgb, 217, 56, 42), 0.3);
}

/* Image & Social Overlay */
.ldrr-team-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5; /* Ensures uniform image sizes */
    background: rgba(var(--primary-rgb), 0.05);
}

.ldrr-team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ldrr-team-card:hover .ldrr-team-img-wrapper img {
    transform: scale(1.05);
}

.ldrr-team-social {
    position: absolute;
    left: 0;
    bottom: -50px; /* Hidden initially */
    right: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    z-index: 2;
    padding-bottom: 20px;
    background: linear-gradient(to top, rgba(var(--primary-rgb), 0.8), transparent);
}

.ldrr-team-card:hover .ldrr-team-social {
    opacity: 1;
    bottom: 0;
}

.ldrr-team-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: var(--surface-color);
    color: var(--primary);
    margin: 0 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ldrr-team-social a:hover {
    background: var(--accent-orange);
    color: var(--text-contrast);
    transform: translateY(-3px);
}

/* Member Information */
.ldrr-team-info {
    padding: 25px 20px;
    text-align: center;
    background: var(--surface-color);
    flex-grow: 1;
}

.ldrr-team-name {
    margin: 0 0 5px 0;
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--text-heading);
    font-size: 1.15rem;
    line-height: 1.3;
}

.ldrr-team-role {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Custom separator for hierarchy */
.ldrr-team-divider {
    height: 1px;
    background: rgba(var(--primary-rgb), 0.1);
    width: 100px;
    margin: 0 auto 50px auto;
}










/* Scoped CSS Architecture: LDRRMO FAQ Section (Expanded Spacing) */

.ldrr-faq-section {
    padding: 100px 20px;
    background-color: var(--background-color); /* Matches the light gray background */
}

.ldrr-faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ldrr-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.ldrr-faq-header h2 {
    color: var(--primary); /* Deep blue to match image */
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ldrr-faq-header p {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 500;
}

/* Two-Column Grid Layout */
.ldrr-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px; /* Horizontal gap between the two columns */
}

@media (min-width: 992px) {
    .ldrr-faq-grid {
        grid-template-columns: repeat(2, 1fr); /* Forces perfectly equal side-by-side columns */
        align-items: start;
    }
}

/* Column Flex Container (This fixes the vertical cramping) */
.ldrr-faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Exact vertical spacing between distinct white boxes */
}

/* Independent White Box Card */
.ldrr-faq-item {
    background-color: var(--surface-color); /* Clean white */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.05); /* Soft shadow */
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.ldrr-faq-item:hover {
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

/* Active Open State */
.ldrr-faq-item[open] {
    border-color: rgba(var(--primary-rgb), 0.2);
}

/* Summary / Question Header */
.ldrr-faq-item summary {
    padding: 30px; /* Generous padding to match image */
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary); /* Deep blue text */
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Hides default marker */
    user-select: none;
    transition: background 0.3s ease;
}

/* Hide WebKit Marker */
.ldrr-faq-item summary::-webkit-details-marker {
    display: none;
}

.ldrr-faq-item summary:hover {
    background-color: rgba(var(--primary-rgb), 0.02);
}

/* The Plus/Minus Icon */
.ldrr-faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}

.ldrr-faq-icon::before,
.ldrr-faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary); /* Blue cross */
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Horizontal Line */
.ldrr-faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

/* Vertical Line */
.ldrr-faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

/* Morph to Minus when Open */
.ldrr-faq-item[open] .ldrr-faq-icon::after {
    transform: rotate(90deg) scale(0);
}

/* Expanded Content Area */
.ldrr-faq-content {
    padding: 0 30px 30px 30px; /* Generous padding */
    color: var(--text-default);
    line-height: 1.7;
    font-size: 0.95rem;
    animation: ldrr-faq-fade-down 0.4s ease-out;
}

.ldrr-faq-content p {
    margin: 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-top: 20px;
}

.ldrr-faq-content a {
    color: var(--accent-orange);
    font-weight: 700;
    text-decoration: none;
}

.ldrr-faq-content a:hover {
    text-decoration: underline;
}

@keyframes ldrr-faq-fade-down {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}










/* ==========================================================================
   LDRRMO Binalbagan Contact & Incident Reporting Registry
   ========================================================================== */

#ldrrmo-emergency-incident-reporting-registry {
    padding: 80px 20px;
    background-color: var(--background-color, #F8F7F2);
    max-width: 1200px;
    margin: 0 auto;
}

/* Tier A: Hero Header */
.ldrrmo-contact-centered-hero {
    background: var(--surface-color, #ffffff);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb, 0, 3, 177), 0.04);
    border: 1px solid rgba(var(--primary-rgb, 0, 3, 177), 0.08);
}

.ldrrmo-contact-centered-hero h1 {
    color: var(--text-heading, #1A05A2);
    margin: 0 auto 10px auto;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
}

.ldrrmo-contact-centered-hero .ldrrmo-contact-subtitle {
    color: var(--accent-orange, #d9382a);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 20px;
}

.ldrrmo-contact-centered-hero p {
    text-align: center;
    line-height: 1.7;
    color: var(--text-default, #0003b1);
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.85;
}

/* Tier B: 2-Column Split Grid */
.ldrrmo-contact-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* Panel Styles (Shared) */
.ldrrmo-contact-panel {
    background: var(--surface-color, #ffffff);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb, 0, 3, 177), 0.08);
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb, 0, 3, 177), 0.04);
}

.ldrrmo-contact-intake-console {
    border-top: 5px solid var(--text-heading, #1A05A2);
}

.ldrrmo-contact-admin-context {
    border-top: 5px solid var(--accent-orange, #d9382a);
}

/* Form Controls */
.ldrrmo-contact-orientation-label {
    font-size: 0.9rem;
    color: var(--text-default, #0003b1);
    margin-bottom: 25px;
    font-style: italic;
    opacity: 0.8;
}

.ldrrmo-contact-field-group {
    margin-bottom: 20px;
}

.ldrrmo-contact-field-group label {
    color: var(--text-heading, #1A05A2);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ldrrmo-contact-required {
    color: var(--accent-orange, #d9382a);
}

.ldrrmo-contact-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ldrrmo-contact-input-wrapper i,
.ldrrmo-contact-input-wrapper svg {
    position: absolute;
    left: 15px;
    color: var(--primary, #0003b1);
    width: 18px;
    height: 18px;
    opacity: 0.7;
    pointer-events: none;
}

.ldrrmo-contact-input-wrapper input,
.ldrrmo-contact-input-wrapper select,
.ldrrmo-contact-input-wrapper textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid rgba(var(--primary-rgb, 0, 3, 177), 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-sans, sans-serif);
    color: var(--text-default, #0003b1);
    transition: all 0.3s ease;
    background: #fff;
    outline: none;
}

.ldrrmo-contact-input-wrapper textarea {
    min-height: 130px;
    resize: vertical;
    padding-top: 15px;
}

.ldrrmo-contact-input-wrapper input:focus,
.ldrrmo-contact-input-wrapper select:focus,
.ldrrmo-contact-input-wrapper textarea:focus {
    border-color: var(--accent-orange, #d9382a);
    box-shadow: 0 0 0 3px rgba(var(--accent-orange-rgb, 217, 56, 42), 0.15);
}

/* Conditional Specification Field Box */
#specification-group {
    display: none;
    animation: ldrr-fade-in 0.3s ease-in-out;
}

@keyframes ldrr-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Submit Button */
.ldrrmo-contact-submit-btn {
    background: var(--text-heading, #1A05A2);
    color: var(--text-contrast, #ffffff);
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.ldrrmo-contact-submit-btn:hover {
    background: var(--accent-orange, #d9382a);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--accent-orange-rgb, 217, 56, 42), 0.25);
}

/* Admin Panel Styles */
.ldrrmo-contact-subcard {
    margin-bottom: 30px;
}
.ldrrmo-contact-subcard:last-child {
    margin-bottom: 0;
}

.ldrrmo-contact-notice-header {
    color: var(--text-heading, #1A05A2);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ldrrmo-contact-mandate-desc {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-default, #0003b1);
    opacity: 0.85;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(var(--primary-rgb, 0, 3, 177), 0.15);
}

.ldrrmo-contact-factors-header {
    color: var(--text-heading, #1A05A2);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ldrrmo-contact-factors-desc {
    font-size: 0.9rem;
    color: var(--text-default, #0003b1);
    margin-bottom: 15px;
    opacity: 0.8;
}

.ldrrmo-contact-factor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(var(--primary-rgb, 0, 3, 177), 0.05);
    font-size: 0.92rem;
    font-weight: 500;
}

.ldrrmo-contact-factor-item:last-child {
    border-bottom: none;
}

.ldrrmo-contact-factor-item svg,
.ldrrmo-contact-factor-item i {
    color: var(--accent-orange, #d9382a);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .ldrrmo-contact-split-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}









/* ==========================================================================
   LDRRMO Pledge & Commitment Statement (Mobile-Optimized Edition)
   ========================================================================== */

:root {
    --hrmo-bg: #F8F7F2;
    --hrmo-heading: #1A05A2;
    --hrmo-accent: #D53E0F;
    --hrmo-text: #333333;
}

#hrmo-pledge-bin-statement-section {
    margin-bottom: 0px;
    background-image: linear-gradient(rgba(248, 247, 242, 0.92), rgba(248, 247, 242, 0.85)), url('https://digicastnegros.com/wp-content/uploads/2021/05/binalbagan-municipal-hall.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Desktop parallax */
    padding: 90px 20px;
    font-family: 'Roboto', sans-serif;
    color: var(--hrmo-text);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.hrmo-pledge-bin-header {
    font-family: 'Raleway', sans-serif;
    color: var(--hrmo-heading);
    font-size: clamp(1.8rem, 4vw, 3rem); /* Fluid sizing prevents mobile text wrapping issues */
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hrmo-pledge-bin-accent-line {
    width: 70px;
    height: 4px;
    background-color: var(--hrmo-accent);
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* Commitment Statement Block */
.hrmo-pledge-bin-commitment-container {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.hrmo-pledge-bin-commitment-statement {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.8rem); /* Responsive scaling */
    font-weight: 700;
    color: var(--hrmo-heading);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    animation: hrmoFadeUp 0.8s forwards;
    animation-delay: 0.2s;
}

/* LDRRMO Message Box */
.hrmo-pledge-bin-message-container {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 30px 25px;
    border-left: 4px solid var(--hrmo-accent);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: left;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateX(-20px);
    animation: hrmoFadeRight 0.8s forwards;
    animation-delay: 0.4s;
}

.hrmo-pledge-bin-message-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hrmo-accent);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.hrmo-pledge-bin-message-text {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    color: var(--hrmo-heading);
    line-height: 1.6;
}

/* Official Signatures Container */
.hrmo-pledge-bin-sig-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: 12px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

/* Municipal Seal Watermark */
.hrmo-pledge-bin-sig-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Seal_of_Binalbagan.png/600px-Seal_of_Binalbagan.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.hrmo-pledge-bin-sig-box {
    text-align: center;
    flex: 1;
    min-width: 240px;
    z-index: 1; /* Ensures text stays above watermark */
}

.hrmo-pledge-bin-sig-placeholder {
    height: 65px;
    border-bottom: 2px solid var(--hrmo-heading);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: 'Brush Script MT', cursive, serif;
    font-size: 2.1rem;
    color: var(--hrmo-heading);
    opacity: 0.85;
}

.hrmo-pledge-bin-name {
    font-family: 'Raleway', sans-serif;
    font-variant: small-caps;
    font-weight: 700;
    color: var(--hrmo-heading);
    margin-bottom: 4px;
    letter-spacing: 1px;
    font-size: 1.05rem;
}

.hrmo-pledge-bin-title {
    font-family: 'Roboto', sans-serif;
    font-variant: small-caps;
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Keyframe Animations */
@keyframes hrmoFadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hrmoFadeRight {
    from { opacity: 0; transform: translateX(-25px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Mobile Responsiveness Overrides (< 768px) */
@media (max-width: 768px) {
    #hrmo-pledge-bin-statement-section {
        background-attachment: scroll; /* Fixes mobile iOS jitter bugs */
        padding: 60px 15px;
    }

    .hrmo-pledge-bin-accent-line {
        margin-bottom: 30px;
    }

    .hrmo-pledge-bin-commitment-container {
        margin-bottom: 40px;
    }

    .hrmo-pledge-bin-message-container {
        margin-bottom: 40px;
        padding: 25px 20px;
        border-left-width: 3px;
    }

    .hrmo-pledge-bin-sig-container {
        flex-direction: column;
        gap: 40px;
        padding: 30px 15px;
    }

    .hrmo-pledge-bin-sig-box {
        min-width: 100%;
    }
}










/* ==========================================================================
   LDRRMO Binalbagan Dual-Section Contact & Dispatch Portal Stylesheet
   Prefix: ldrr-
   ========================================================================== */

:root {
    --ldrr-primary: #1A05A2;
    --ldrr-accent: #D53E0F;
    --ldrr-bg: #F8F7F2;
    --ldrr-surface: #ffffff;
    --ldrr-text: #2D3748;
    --ldrr-muted: #64748b;
    --ldrr-border: #cbd5e1;
    --ldrr-success: #15803d; /* Added for the photo attachment success state */
}

.ldrr-contact-wrapper {
    background-color: var(--ldrr-bg);
    color: var(--ldrr-text);
    font-family: 'Roboto', sans-serif;
    padding: 60px 0 100px 0;
}

/* Master Section Titles */
.ldrr-section-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px auto;
}

.ldrr-section-heading .badge-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ldrr-accent);
    background-color: rgba(213, 62, 15, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.ldrr-section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--ldrr-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ldrr-section-heading p {
    font-size: 1.05rem;
    color: var(--ldrr-muted);
    line-height: 1.6;
}

/* Dual-Section Containers */
.ldrr-contact-container-box {
    background: var(--ldrr-surface);
    border-radius: 16px;
    border: 1px solid rgba(26, 5, 162, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* SECTION 1 ACCENT: Emergency Dispatch (High Urgency) */
.ldrr-contact-container-box.emergency-console {
    border-top: 6px solid var(--ldrr-accent);
    background: linear-gradient(to bottom, #fffdfa 0%, #ffffff 100%);
}

/* SECTION 2 ACCENT: Standard Inquiries & Registry (Administrative) */
.ldrr-contact-container-box.admin-registry {
    border-top: 6px solid var(--ldrr-primary);
}

/* Live Operational Status Banner */
.ldrr-status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    background: rgba(213, 62, 15, 0.05);
    border: 1px dashed rgba(213, 62, 15, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.ldrr-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ldrr-accent);
}

.pulsing-dot {
    width: 12px;
    height: 12px;
    background-color: var(--ldrr-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(213, 62, 15, 0.4);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 62, 15, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(213, 62, 15, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 62, 15, 0); }
}

.ldrr-hotline-pill {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 800;
    background: var(--ldrr-primary);
    color: #fff;
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.ldrr-hotline-pill:hover {
    background: var(--ldrr-accent);
    color: #fff;
}

/* Form Controls & Styling */
.ldrr-form-label {
    font-weight: 700;
    color: var(--ldrr-primary);
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.ldrr-form-label .required-star {
    color: var(--ldrr-accent);
}

/* Force strict, consistent sizing across all inputs and dropdowns */
.ldrr-form-control, .ldrr-form-select {
    height: 50px; 
    border: 1px solid var(--ldrr-border);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: var(--ldrr-text);
    background-color: #fff;
    transition: all 0.25s ease;
    box-shadow: none;
    width: 100%; /* Ensure full width inside grid columns */
}

/* Allow textareas to expand naturally */
textarea.ldrr-form-control {
    height: auto;
    min-height: 120px;
}

.ldrr-form-control:focus, .ldrr-form-select:focus {
    border-color: var(--ldrr-primary);
    box-shadow: 0 0 0 3px rgba(26, 5, 162, 0.12);
    outline: none;
}

/* Custom Live Camera Capture Dropzone */
.ldrr-file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 50px; /* Matches the consistent input size */
}

.ldrr-file-input {
    opacity: 0;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    cursor: pointer;
    z-index: 2;
}

.ldrr-file-label {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #f8fafc;
    border: 2px dashed var(--ldrr-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ldrr-primary);
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.ldrr-file-input:hover + .ldrr-file-label {
    background-color: rgba(26, 5, 162, 0.05);
}

.ldrr-file-label.file-attached {
    border-color: var(--ldrr-success);
    color: var(--ldrr-success);
    background-color: rgba(21, 128, 61, 0.05);
}

/* Feedback & SLA Expectations Box */
.ldrr-sla-notice-box {
    background-color: #f1f5f9;
    border-left: 4px solid var(--ldrr-primary);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin-top: 25px;
}

.ldrr-sla-notice-box h6 {
    font-weight: 800;
    color: var(--ldrr-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.ldrr-sla-notice-box p {
    font-size: 0.88rem;
    color: var(--ldrr-muted);
    margin: 0;
    line-height: 1.5;
}

/* Submission Buttons */
.ldrr-submit-btn {
    background-color: var(--ldrr-primary);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 25px;
    border-radius: 8px;
    border: none;
    width: 100%;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ldrr-submit-btn.emergency {
    background-color: var(--ldrr-accent);
}

.ldrr-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    background-color: #0f036b;
}

.ldrr-submit-btn.emergency:hover {
    background-color: #b0300c;
}

/* Info Cards Sidebar */
.ldrr-info-card {
    background: #f8fafc;
    border: 1px solid var(--ldrr-border);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}

.ldrr-info-card h5 {
    font-weight: 800;
    color: var(--ldrr-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ldrr-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ldrr-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--ldrr-text);
}

.ldrr-info-list li i {
    color: var(--ldrr-accent);
    margin-top: 4px;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .ldrr-contact-container-box {
        padding: 25px;
    }
}