@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #00875A;
    --primary-hover: #006F47;
    --primary-dark: #004D40;
    --secondary: #FF9933;
    --secondary-hover: #E07A1B;
    --text: #2B2D42;
    --text-muted: #6C757D;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --border: #E9ECEF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

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

.text-center {
    text-align: center;
}

/* --- Buttons & Badges --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 12px;
    background-color: rgba(0, 135, 90, 0.1);
    color: var(--primary);
}

/* --- Header System --- */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact a:hover {
    color: var(--secondary);
}

.top-bar-socials {
    display: flex;
    gap: 16px;
}

.top-bar-socials a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-socials a:hover {
    color: var(--secondary);
    transform: scale(1.15);
}

.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.sticky {
    padding: 6px 0;
    box-shadow: var(--shadow);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo-wrapper img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 10px 0;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 10px;
}

/* Dropdown Menu */
.has-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (min-width: 992px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        background-color: var(--bg-white);
        box-shadow: var(--shadow);
        border-radius: var(--radius);
        padding: 12px 0;
        min-width: 250px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border: 1px solid var(--border);
        z-index: 999;
    }

    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.dropdown-item a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 24px;
}

/* Upcoming Badge */
.hospital-badge {
    background-color: var(--secondary);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50px;
    margin-left: 4px;
    vertical-align: middle;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- Hero Banner Slider --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #111;
}

.slide-track {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.hero-slide {
    width: 50%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 77, 64, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 650px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 52px;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

/* Floating Donate Banner Button */
.floating-donate {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.4);
    border-radius: 50px;
}

/* --- Stats Counters --- */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 36px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Section Heading --- */
.section-title-wrapper {
    margin-bottom: 50px;
}

.section-title {
    font-size: 38px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Grid Systems & Cards --- */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dept-card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.dept-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.dept-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dept-card:hover .dept-img-wrapper img {
    transform: scale(1.08);
}

.dept-info {
    padding: 24px;
}

.dept-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.dept-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.dept-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dept-link i {
    transition: var(--transition);
}

.dept-card:hover .dept-link i {
    transform: translateX(4px);
}

/* --- Welfare Projects --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.proj-card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.proj-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.proj-img-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid rgba(0, 135, 90, 0.1);
}

.proj-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proj-title {
    font-size: 17px;
    margin-bottom: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-desc {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* --- CTA Ribbon Banner --- */
.cta-ribbon {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
}

.cta-ribbon .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-text h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Journey Timeline --- */
.timeline-section {
    overflow-x: hidden;
}

.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--border);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-slider {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0 40px 0;
    scrollbar-width: none; /* Firefox */
}

.timeline-slider::-webkit-scrollbar {
    display: none; /* Safari / Chrome */
}

.timeline-item {
    flex: 0 0 280px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.timeline-node {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 4px solid var(--primary);
    margin: 0 auto;
    position: relative;
    z-index: 3;
    transition: var(--transition);
}

.timeline-item:hover .timeline-node {
    background-color: var(--secondary);
    border-color: var(--secondary-hover);
    transform: scale(1.2);
}

.timeline-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 24px;
    transition: var(--transition);
}

.timeline-item:hover .timeline-card {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.timeline-year {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* --- Footer System --- */
.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 10px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.footer-socials a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-exemption {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--secondary);
    padding: 16px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.footer-exemption h5 {
    color: white;
    margin-bottom: 6px;
}

.footer-exemption p {
    font-size: 12.5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Internal Page Standard Layout --- */
.page-banner {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 77, 64, 0.85);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: white;
    font-size: 40px;
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

.detail-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
}

.detail-main {
    background-color: var(--bg-white);
}

.detail-gallery {
    margin: 30px 0;
}

.detail-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
}

.sidebar-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.sidebar-box h3 {
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

/* --- Contact & Forms --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-list i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 3px;
}

.contact-info-list h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info-list p {
    font-size: 14px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 135, 90, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Map frame */
.map-container {
    height: 350px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 30px;
}

/* Table Style */
.table-responsive {
    overflow-x: auto;
    margin: 25px 0;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.table-custom th, .table-custom td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.table-custom th {
    background-color: var(--primary-dark);
    color: white;
    font-family: 'Outfit', sans-serif;
}

.table-custom tr:nth-child(even) td {
    background-color: var(--bg-light);
}

/* --- Mobile Styling --- */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        gap: 24px;
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .has-dropdown .dropdown-menu {
        display: none;
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        min-width: 0;
        width: 100%;
        padding: 0 0 0 16px;
        background-color: transparent;
    }
    
    .has-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .has-dropdown .dropdown-item a {
        padding: 8px 0;
        font-size: 15px;
        font-weight: 500;
        color: var(--primary-dark);
    }
    
    .has-dropdown .dropdown-item a:hover {
        background-color: transparent;
        color: var(--primary);
        padding-left: 4px;
    }
    
    .main-navigation .btn {
        display: none; /* Hide top right button, show inside menu list */
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .detail-layout, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-ribbon .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .top-bar-socials {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .stats-grid, .departments-grid, .projects-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- New Carousel & Slider Styles --- */
.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 5px;
    scrollbar-width: none;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 calc(25% - 18px);
    min-width: 270px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: none;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
    left: -22px;
}

.carousel-btn.next {
    right: -22px;
}

.honor-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.honor-card .image {
    height: 260px;
    overflow: hidden;
}

.honor-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.honor-card h3 {
    font-size: 15px;
    padding: 16px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
}

.press-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 8px;
    height: 100%;
}

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.press-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* --- Crisis Grid Styles --- */
.crisis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.crisis-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.crisis-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.crisis-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.crisis-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.crisis-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.crisis-meta {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.crisis-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.crisis-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.crisis-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.crisis-link i {
    transition: var(--transition);
}

.crisis-card:hover .crisis-link i {
    transform: translateX(4px);
}

/* --- Responsive overrides for new components --- */
@media (max-width: 991px) {
    .crisis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .carousel-btn {
        display: none;
    }
    .carousel-item {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .crisis-grid {
        grid-template-columns: 1fr;
    }
    .carousel-item {
        flex: 0 0 100%;
    }
}
