/**
 * Srijonshil Gaibandha NGO - Unified Inner Pages Stylesheet
 * File: assets/css/inner.css
 * Phase: Phase 4 (Inner Pages Redesign)
 *
 * Reuses tokens defined in assets/css/tokens.css:
 * - Brand Green: var(--brand-green) [#2FA84F]
 * - Brand Red: var(--brand-red) [#E11D48]
 * - Brand Dark Green: var(--brand-dark-green) [#148F41]
 * - Brand White: var(--brand-white) [#FFFFFF]
 * - Brand Forest: var(--brand-forest) [#0d6e2a]
 * - Brand Forest Dark: var(--brand-forest-dark) [#0a3d1f]
 */


/* ==========================================================================
   PAGE COMPONENT ALIASES & UTILITY ACCENTS
   ========================================================================== */
:root {
  --bkash-color: #e2136e;
  --nagad-color: #f15a29;
  --rocket-color: #5d9cec;
  --bank-color: #2c3e50;
  --youtube-red: #ff0000;
  --video-blue: #2196f3;
  --event-blue: #17a2b8;
  --project-orange: #ff9800;
  --star-gold: #ffd700;
  --star-silver: #c0c0c0;
  --warning: #f59e0b;
  --completed: #8b4513;
  --upcoming: #17a2b8;
  --closed: #6c757d;

  /* Legacy brand aliases mapped to official design tokens */
  --brand-accent: var(--brand-red, #e11d48);
  --brand-primary: var(--brand-dark-green, #148f41);
  --primary-green: var(--brand-dark-green);
  --secondary-green: var(--brand-green);
  --accent-red: var(--brand-red);
  --dark-bg: var(--brand-forest-dark);
  --light-green: var(--brand-surface-tint);
  --light-bg: #f8fdf9;
  --text-dark: var(--text-primary);
  --text-muted: var(--text-muted);
}

/* ==========================================================================
   1. UNIFIED PAGE BANNER / HERO SECTION
   ========================================================================== */
.inner-page-banner,
.contact-hero,
.projects-hero,
.page-banner,
.notice-hero,
.volunteer-hero,
.donation-hero,
.gallery-hero,
.ambassadors-hero,
.member-details-hero,
.rising-stars-hero,
.details-hero,
.videos-hero {
  background: linear-gradient(135deg, var(--brand-forest) 0%, var(--brand-forest-dark) 100%) !important;
  color: var(--brand-white) !important;
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem 2.5rem 2.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 2.5rem !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 61, 31, 0.12);
  border: 1px solid rgba(47, 168, 79, 0.25);
  text-align: center;
}

.inner-page-banner::before,
.contact-hero::before,
.projects-hero::before,
.page-banner::before,
.notice-hero::before,
.volunteer-hero::before,
.donation-hero::before,
.gallery-hero::before,
.ambassadors-hero::before,
.member-details-hero::before,
.rising-stars-hero::before,
.details-hero::before,
.videos-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

/* Breadcrumb Navigation */
.inner-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.inner-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.inner-breadcrumb a:hover {
  color: var(--brand-white);
  text-decoration: underline;
}

.inner-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.inner-breadcrumb .current {
  color: #a7f3d0;
  font-weight: var(--fw-semibold);
}

/* Banner Title & Subtitle */
.hero-title,
.banner-title {
  color: var(--brand-white) !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem) !important;
  font-weight: var(--fw-extrabold) !important;
  line-height: 1.25 !important;
  margin-bottom: 0.85rem !important;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle,
.banner-subtitle {
  color: #e2e8f0 !important;
  font-family: var(--font-body) !important;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem) !important;
  line-height: 1.65 !important;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem !important;
}

/* Quick Stat Counters within Hero */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  min-width: 130px;
  text-align: center;
  transition: all var(--transition-fast);
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  border-color: rgba(47, 168, 79, 0.4);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: var(--fw-extrabold);
  color: var(--brand-white);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   2. ARTICLE & LONG-FORM CONTENT LAYOUTS
   ========================================================================== */
.article-wrapper,
.content-wrapper {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 767.98px) {
  .article-wrapper,
  .content-wrapper {
    padding: 1.5rem 1.25rem;
  }
}

.article-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.article-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.section-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-circle);
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin: 0;
  line-height: 1.3;
}

.article-content {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content .lead {
  font-size: 1.12rem;
  font-weight: var(--fw-medium);
  color: var(--brand-dark-green);
  line-height: 1.8;
}

/* ==========================================================================
   3. SEARCH, FILTERS & PAGINATION
   ========================================================================== */
.search-filter-section,
.filter-bar {
  background: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--brand-white);
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(47, 168, 79, 0.08);
  border-color: var(--brand-green);
  color: var(--brand-dark-green);
}

.filter-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--brand-white);
  box-shadow: 0 4px 12px rgba(47, 168, 79, 0.3);
}

/* Standardized Pagination */
.pagination-custom,
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.pagination .page-item .page-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-dark-green);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.95rem;
  transition: all var(--transition-fast);
}

.pagination .page-item .page-link:hover {
  background: rgba(47, 168, 79, 0.08);
  border-color: var(--brand-green);
  color: var(--brand-dark-green);
}

.pagination .page-item.active .page-link {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--brand-white);
  box-shadow: 0 4px 12px rgba(47, 168, 79, 0.3);
}

.pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f1f5f9;
}

/* ==========================================================================
   4. PROJECTS & CAMPAIGN CARDS
   ========================================================================== */
.project-card,
.campaign-card {
  background: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.project-card:hover,
.campaign-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
  border-color: rgba(47, 168, 79, 0.35);
}

.project-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.status-ongoing {
  background: var(--brand-green);
  color: var(--brand-white);
}

.status-completed {
  background: #0284c7;
  color: var(--brand-white);
}

.status-upcoming {
  background: #f59e0b;
  color: var(--brand-white);
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: var(--fw-bold);
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.project-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-meta-item i {
  color: var(--brand-green);
  width: 16px;
}

.project-summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.project-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-details {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.view-details:hover {
  color: var(--brand-green);
  gap: 0.55rem;
}

/* ==========================================================================
   5. DETAIL PAGES (Single Project, Event, Career)
   ========================================================================== */
.detail-main-wrapper {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

@media (max-width: 767.98px) {
  .detail-main-wrapper {
    padding: 1.5rem 1.25rem;
  }
}

.detail-sidebar-card {
  background: var(--brand-surface-tint);
  border: 1px solid rgba(47, 168, 79, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.detail-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-green);
}

.detail-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.detail-meta-list li i {
  color: var(--brand-green);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. FORMS & INPUTS (Volunteer, Contact, Donations)
   ========================================================================== */
.form-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 767.98px) {
  .form-card {
    padding: 1.5rem 1.25rem;
  }
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-dark-green);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--brand-red);
}

.form-control,
.form-select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background-color: var(--brand-white);
  transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-green);
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-form-submit {
  background: linear-gradient(135deg, var(--brand-dark-green) 0%, var(--brand-green) 100%);
  color: var(--brand-white) !important;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(20, 143, 65, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 143, 65, 0.5);
  color: var(--brand-white) !important;
}

.btn-form-submit:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ==========================================================================
   7. TEAM & AMBASSADOR CARDS
   ========================================================================== */
.team-member-card,
.ambassador-card-item {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.team-member-card:hover,
.ambassador-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 168, 79, 0.3);
}

.team-member-photo-wrap {
  position: relative;
  height: 240px;
  background: #f1f5f9;
  overflow: hidden;
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.team-member-card:hover .team-member-photo {
  transform: scale(1.05);
}

.team-member-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.team-member-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-dark-green);
  margin-bottom: 1rem;
}

/* ==========================================================================
   8. MEDIA & GALLERY GRID
   ========================================================================== */
.inner-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.inner-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: #f1f5f9;
}

.inner-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.inner-gallery-item:hover .inner-gallery-img {
  transform: scale(1.08);
}

.inner-gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 61, 31, 0.92) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   9. TABLES & NOTICES
   ========================================================================== */
.table-custom-wrap {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.table-custom {
  width: 100%;
  margin-bottom: 0;
}

.table-custom th {
  background: var(--brand-surface-tint);
  color: var(--brand-dark-green);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: var(--fw-bold);
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--brand-green);
}

.table-custom td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-color);
}

.table-custom tr:hover td {
  background-color: rgba(47, 168, 79, 0.04);
}

/* ==========================================================================
   10. ARTICLE ELEMENTS, QUOTES & BADGES
   ========================================================================== */
.article-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--brand-surface-tint);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-green);
  transition: all var(--transition-fast);
}

.article-item:hover {
  background: var(--brand-white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.item-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: var(--radius-sm);
  background: var(--brand-green);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.item-content h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  color: var(--brand-dark-green);
  margin-bottom: 0.35rem;
}

.item-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-quote {
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(20, 143, 65, 0.06), rgba(47, 168, 79, 0.06));
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-green);
  position: relative;
}

.article-quote i {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--brand-green);
  font-size: 1.5rem;
  opacity: 0.3;
}

.article-quote p {
  margin: 0;
  padding-left: 1.75rem;
  color: var(--brand-dark-green);
  font-style: italic;
  font-weight: var(--fw-semibold);
  font-size: 1.08rem;
  line-height: 1.7;
}

.final-message {
  background: linear-gradient(135deg, var(--brand-forest) 0%, var(--brand-forest-dark) 100%);
  color: var(--brand-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
  border: 1px solid rgba(47, 168, 79, 0.3);
}

.final-message h3 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 1.35rem;
  color: var(--brand-white);
  margin-bottom: 0.75rem;
}

.final-message p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}




/* ==========================================================================
   PAGE COMPONENT: DONATIONS.PHP
   ========================================================================== */
/* ===== DONATION CONTAINER ===== */
.donation-container {
    padding: 60px 0;
    background: #f8fdf9;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-dark-green), var(--brand-green));
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== DONATION CARDS ===== */
.donation-methods {
    margin-bottom: 60px;
}

.donation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.bank-card {
    border-top: 4px solid var(--bank-color);
}

.bkash-card {
    border-top: 4px solid var(--bkash-color);
}

.nagad-card {
    border-top: 4px solid var(--nagad-color);
}

.rocket-card {
    border-top: 4px solid var(--rocket-color);
}

.card-header {
    background: linear-gradient(135deg, rgba(20, 143, 65, 0.05), rgba(47, 168, 79, 0.02));
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-surface-tint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logo {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.bkash-card .payment-icon {
    background: rgba(226, 19, 110, 0.1);
}

.nagad-card .payment-icon {
    background: rgba(241, 90, 41, 0.1);
}

.rocket-card .payment-icon {
    background: rgba(93, 156, 236, 0.1);
}

.card-header h3 {
    color: var(--brand-forest-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    flex-grow: 1;
}

.badge {
    background: var(--brand-surface-tint);
    color: var(--brand-dark-green);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.payment-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e8f5e9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.info-value {
    color: var(--brand-forest-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.copy-btn {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.3);
}

.secondary-btn {
    background: white;
    color: var(--brand-dark-green);
    border: 2px solid var(--brand-dark-green);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-btn:hover {
    background: var(--brand-dark-green);
    color: white;
    transform: translateY(-3px);
}

.call-btn {
    background: white;
    color: var(--brand-dark-green);
    border: 2px solid var(--brand-dark-green);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-btn:hover {
    background: var(--brand-dark-green);
    color: white;
    transform: translateY(-3px);
}

/* ===== DONATION CTA ===== */
.donation-cta {
    text-align: center;
    padding: 60px 0 30px;
}

.cta-content h3 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--brand-red), #c81e3d);
    color: white;
    border: none;
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, #c81e3d, var(--brand-red));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
    color: white;
}

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 350px;
    border-left: 5px solid var(--brand-dark-green);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-content {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.toast-icon {
    color: var(--brand-dark-green);
    font-size: 1.5rem;
    margin-top: 2px;
}

.toast-text {
    flex-grow: 1;
}

#toastTitle {
    color: var(--brand-forest-dark);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

#toastMessage {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.toast-close:hover {
    color: var(--brand-red);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .donation-hero {
        padding: 60px 0 30px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .donation-hero {
        padding: 50px 0 25px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .payment-icon {
        margin: 0 auto;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .toast-notification {
        right: 15px;
        left: 15px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .info-item {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .info-value {
        text-align: left;
    }

    .action-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   PAGE COMPONENT: VOLUNTEER.PHP
   ========================================================================== */
/* ===== SUCCESS MODAL ===== */
.success-modal {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.success-modal .modal-header {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 30px;
    text-align: center;
    border: none;
    position: relative;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 1s ease-in-out;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.success-modal .modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.success-modal .modal-body {
    padding: 30px;
    text-align: center;
}

.success-modal .modal-body p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 25px;
}

.success-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(20, 143, 65, 0.1);
    border-radius: 10px;
    color: var(--brand-dark-green);
}

.detail-item i {
    font-size: 1.2rem;
    width: 20px;
}

.success-modal .modal-footer {
    border: none;
    padding: 20px 30px 30px;
    justify-content: center;
}

.success-modal .btn {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.success-modal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 143, 65, 0.4);
}

/* ===== VOLUNTEER FORM SECTION ===== */
.volunteer-form-section {
    background: #f8fdf9;
}

.volunteer-form-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.volunteer-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-forest-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.form-section-title i {
    color: var(--brand-dark-green);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--brand-forest-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-dark-green);
    box-shadow: 0 0 0 0.2rem rgba(20, 143, 65, 0.25);
}

/* Skills Section */
.skills-checkbox {
    background: rgba(248, 249, 250, 0.7);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.skills-counter {
    padding: 8px 12px;
    background: rgba(20, 143, 65, 0.1);
    border-radius: 8px;
    display: inline-block;
}

.skills-counter .text-muted {
    color: var(--brand-dark-green) !important;
    font-weight: 600;
}

.form-check-inline {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--brand-dark-green);
    border-color: var(--brand-dark-green);
}

/* Acknowledgement */
.acknowledgement-check {
    padding: 20px;
    background: rgba(248, 249, 250, 0.7);
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(20, 143, 65, 0.3);
    color: white;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(20, 143, 65, 0.5);
}

.submit-btn:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: 0 4px 15px rgba(20, 143, 65, 0.2);
}

/* Contact Information Card */
.contact-info-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 5px solid var(--brand-dark-green);
    margin-top: 30px;
}

.contact-info-card h5 {
    color: var(--brand-dark-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info-card i {
    color: var(--brand-dark-green);
    width: 20px;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .volunteer-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .volunteer-form-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .volunteer-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .volunteer-form-card {
        padding: 30px 20px;
    }

    .form-section-title {
        font-size: 1.3rem;
    }

    .success-modal .modal-header {
        padding: 20px;
    }

    .success-icon {
        font-size: 3rem;
    }

    .success-modal .modal-title {
        font-size: 1.5rem;
    }

    .contact-info-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .skills-checkbox {
        padding: 15px;
    }

    .form-check-inline {
        margin-right: 1rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .acknowledgement-check {
        padding: 15px;
    }

    .success-details {
        gap: 10px;
    }

    .detail-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .volunteer-form-card {
        padding: 20px 15px;
    }

    .contact-info-card .row {
        flex-direction: column;
    }

    .contact-info-card .col-md-6 {
        margin-bottom: 20px;
    }

    .contact-info-card .col-md-6:last-child {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   PAGE COMPONENT: CONTACT.PHP
   ========================================================================== */
/* ===== CONTACT CONTAINER ===== */
.contact-container {
    padding: 60px 0;
    background: #f8fdf9;
}

/* ===== CONTACT FORM CARD ===== */
.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--brand-forest-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== FORM STYLES ===== */
.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--brand-forest-dark);
    margin-bottom: 8px;
    display: block;
}

.contact-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.contact-form .input-group:focus-within {
    border-color: var(--brand-dark-green);
    box-shadow: 0 0 0 0.2rem rgba(20, 143, 65, 0.25);
}

.contact-form .input-group-text {
    background: var(--brand-surface-tint);
    border: none;
    color: var(--brand-dark-green);
    padding: 12px 15px;
}

.contact-form .form-control {
    border: none;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: none;
}

.contact-form .form-control:focus {
    box-shadow: none;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .invalid-feedback {
    font-size: 0.85rem;
    margin-top: 5px;
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(20, 143, 65, 0.3);
    color: white;
}

/* ===== INFO CARDS ===== */
.info-card, .map-card, .quick-contact-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    overflow: hidden;
}

.info-header, .map-header {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 20px;
}

.info-header h3, .map-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-content {
    padding: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--brand-surface-tint);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--brand-dark-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h5 {
    color: var(--brand-forest-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ===== MAP ===== */
.map-container {
    padding: 25px;
}

.map-container .ratio {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== QUICK CONTACT ===== */
.quick-contact-card {
    padding: 25px;
}

.quick-contact-card h4 {
    color: var(--brand-forest-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.quick-contact-card .text-muted {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.quick-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.email-btn {
    background: linear-gradient(135deg, #007bff, #17a2b8);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

/* ===== ALERTS ===== */
.alert {
    border-radius: 10px;
    border: none;
    padding: 20px;
    margin-bottom: 25px;
}

.alert-success {
    background: linear-gradient(135deg, rgba(20, 143, 65, 0.1), rgba(47, 168, 79, 0.05));
    border-left: 4px solid var(--brand-dark-green);
    color: var(--brand-forest-dark);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(200, 30, 61, 0.05));
    border-left: 4px solid var(--brand-red);
    color: #721c24;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .contact-form-card {
        padding: 25px;
    }

    .info-content, .map-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .contact-form-card {
        padding: 20px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

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

    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .info-header, .map-header {
        padding: 15px;
    }

    .info-header h3, .map-header h3 {
        font-size: 1.1rem;
    }

    .quick-buttons {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .contact-form-card {
        padding: 15px;
    }

    .hero-title {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   PAGE COMPONENT: GALLERY.PHP
   ========================================================================== */
/* ===== GALLERY CONTAINER ===== */
.gallery-container {
    padding: 60px 0;
    background: #f8fdf9;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e8f5e9;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--brand-forest-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn[data-filter="all"] {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
}

.filter-btn[data-filter="gallery"] {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
}

.filter-btn[data-filter="event"] {
    background: linear-gradient(135deg, var(--event-blue), #0d6efd);
}

.filter-btn[data-filter="project"] {
    background: linear-gradient(135deg, var(--project-orange), #FF5722);
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e8f5e9;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.source-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.badge-gallery {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
}

.badge-event {
    background: linear-gradient(135deg, var(--event-blue), #0d6efd);
}

.badge-project {
    background: linear-gradient(135deg, var(--project-orange), #FF5722);
}

.view-actions {
    align-self: flex-end;
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--brand-dark-green);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: white;
    color: var(--brand-red);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-info {
    padding: 20px;
}

.gallery-title {
    font-weight: 600;
    color: var(--brand-forest-dark);
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-date {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
}

/* ===== PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #e8f5e9;
    background: white;
    color: var(--brand-forest-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.3);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    background: white;
    color: var(--brand-forest-dark);
    transform: none;
    box-shadow: none;
}

.pagination-info {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    border: 2px dashed #e8f5e9;
    margin: 40px 0;
    grid-column: 1 / -1;
}

.empty-state i {
    color: #e8f5e9;
}

/* ===== LIGHTBOX ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 31, 0.98);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-image-container {
    max-width: 85%;
    max-height: 85vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 8px solid white;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand-red);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: #c81e3d;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10001;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(20, 143, 65, 0.9);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--brand-dark-green);
    transform: scale(1.1);
    opacity: 1;
}

.lightbox-prev.hidden,
.lightbox-next.hidden {
    visibility: hidden;
    opacity: 0;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin: 0 20px;
    font-size: 0.95rem;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .gallery-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .gallery-image-wrapper {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-image-wrapper {
        height: 150px;
    }

    .gallery-info {
        padding: 15px;
    }

    .gallery-title {
        font-size: 0.9rem;
    }

    .pagination-container {
        flex-wrap: wrap;
    }

    .lightbox-image {
        border-width: 5px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-image-wrapper {
        height: 200px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: AMBASSADOR.PHP
   ========================================================================== */
/* ===== AMBASSADORS CONTAINER ===== */
.ambassadors-container {
    padding: 60px 0;
    background: #f8fdf9;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e8f5e9;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--brand-forest-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn[data-filter="all"] {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
}

.filter-btn[data-filter="youth"] {
    background: linear-gradient(135deg, var(--youth-blue), #0dcaf0);
}

.filter-btn[data-filter="brand"] {
    background: linear-gradient(135deg, var(--brand-orange), #FF5722);
}

.filter-btn[data-filter="global"] {
    background: linear-gradient(135deg, var(--global-purple), #673AB7);
}

.filter-btn[data-filter="featured"] {
    background: linear-gradient(135deg, #FFD700, #FF9800);
}

/* ===== AMBASSADORS GRID ===== */
.ambassadors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.ambassador-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e8f5e9;
    position: relative;
}

.ambassador-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FFD700, #FF9800);
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.featured-badge i {
    margin-right: 5px;
}

.ambassador-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.ambassador-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ambassador-card:hover .ambassador-image {
    transform: scale(1.05);
}

.ambassador-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.ambassador-card:hover .ambassador-overlay {
    opacity: 1;
}

.role-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.badge-youth {
    background: linear-gradient(135deg, var(--youth-blue), #0dcaf0);
}

.badge-brand {
    background: linear-gradient(135deg, var(--brand-orange), #FF5722);
}

.badge-global {
    background: linear-gradient(135deg, var(--global-purple), #673AB7);
}

.ambassador-actions {
    align-self: flex-end;
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.action-btn.linkedin {
    background: rgba(10, 102, 194, 0.9);
    color: white;
}

.action-btn.linkedin:hover {
    background: #0A66C2;
}

.action-btn.twitter {
    background: rgba(29, 161, 242, 0.9);
    color: white;
}

.action-btn.twitter:hover {
    background: #1DA1F2;
}

.action-btn.email {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.action-btn.email:hover {
    background: #DC3545;
}

.ambassador-info {
    padding: 25px;
}

.ambassador-name {
    font-weight: 700;
    color: var(--brand-forest-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.ambassador-organization,
.ambassador-country {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.ambassador-organization i,
.ambassador-country i {
    width: 16px;
}

.ambassador-bio {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    margin: 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ambassador-date {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* ===== PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #e8f5e9;
    background: white;
    color: var(--brand-forest-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.3);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    background: white;
    color: var(--brand-forest-dark);
    transform: none;
    box-shadow: none;
}

.pagination-info {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    border: 2px dashed #e8f5e9;
    margin: 40px 0;
    grid-column: 1 / -1;
}

.empty-state i {
    color: #e8f5e9;
}

/* ===== AMBASSADOR MODAL ===== */
.ambassador-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 31, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.ambassador-modal.active {
    display: flex;
    opacity: 1;
}

.ambassador-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.ambassador-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--brand-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ambassador-modal-close:hover {
    transform: scale(1.1);
    background: #c81e3d;
}

.ambassador-modal-body {
    padding: 40px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .ambassadors-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .ambassadors-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .ambassadors-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }

    .ambassador-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .ambassadors-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .ambassadors-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .ambassador-image-wrapper {
        height: 220px;
    }

    .ambassador-info {
        padding: 20px;
    }

    .ambassador-modal-body {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .ambassadors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ambassador-image-wrapper {
        height: 250px;
    }

    .ambassador-info {
        padding: 15px;
    }

    .ambassador-name {
        font-size: 1.1rem;
    }

    .pagination-container {
        flex-wrap: wrap;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }

    .ambassador-modal-body {
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .ambassador-image-wrapper {
        height: 200px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .ambassador-modal-content {
        margin: 10px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: OUR_TEAMS.PHP
   ========================================================================== */
/* ===== TEAM CONTAINER ===== */
.team-container {
    padding: 60px 0;
    background: #f8fdf9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--brand-dark-green), var(--brand-green));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* Alert styling */
.alert {
    margin-bottom: 30px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    background: linear-gradient(135deg, #fee 0%, #fff5f5 100%);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* ===== MEMBER TYPE SECTION ===== */
.member-type-section {
    margin-bottom: 30px;
}

.member-type-header {
    text-align: center;
    margin-bottom: 30px;
}

.member-type-title {
    color: var(--brand-forest-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.member-type-description {
    color: #666;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.member-type-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--brand-dark-green), var(--brand-green));
    margin: 0 auto;
    border-radius: 2px;
}

.section-spacer {
    height: 40px;
    width: 100%;
}

/* ===== TEAM MEMBER CARD ===== */
.team-member-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #e8f5e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

.team-photo-container {
    width: 220px;
    height: 220px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fdf9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.team-member-card:hover .team-photo {
    transform: scale(1.05);
}

/* Team Member Info */
.team-member-info {
    text-align: center;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

.team-member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-forest-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.team-member-card:hover .team-member-name {
    color: var(--brand-dark-green);
}

.team-member-designation {
    color: var(--brand-green);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-member-organization {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 5px;
    font-style: italic;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-member-designation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--brand-green);
    transition: width 0.3s ease;
}

.team-member-card:hover .team-member-designation::after {
    width: 60px;
}

/* Social Icons - ALWAYS VISIBLE */
.team-member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    opacity: 1;
    visibility: visible;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon.linkedin {
    background: #f0f8ff;
    color: #0077b5;
    border: 1px solid #d1e7ff;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.social-icon.email {
    background: #f8f9fa;
    color: var(--brand-dark-green);
    border: 1px solid #e0f0e5;
}

.social-icon.email:hover {
    background: var(--brand-dark-green);
    color: white;
    border-color: var(--brand-dark-green);
}

.social-icon.phone {
    background: #f0f8ff;
    color: #28a745;
    border: 1px solid #d4edda;
}

.social-icon.phone:hover {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Tooltip for social icons */
.social-icon::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    margin-bottom: 5px;
}

.social-icon:hover::after {
    opacity: 1;
}

/* View Profile Button */
.view-profile-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
}

.btn-view-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}

.btn-view-profile:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.3);
    text-decoration: none;
}

.btn-view-profile i {
    font-size: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.empty-state h3 {
    color: #666;
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.empty-state p {
    color: #888;
    font-size: 0.95rem;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.member-type-section {
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 0;
}

/* Stagger animation for cards */
.team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-member-card:nth-child(3) { animation-delay: 0.3s; }
.team-member-card:nth-child(4) { animation-delay: 0.4s; }
.team-member-card:nth-child(5) { animation-delay: 0.5s; }
.team-member-card:nth-child(6) { animation-delay: 0.6s; }
.team-member-card:nth-child(7) { animation-delay: 0.7s; }
.team-member-card:nth-child(8) { animation-delay: 0.8s; }

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .team-photo-container {
        width: 200px;
        height: 200px;
    }

    /* For standard grid - 3 items per row on medium-large screens */
    .team-grid .col-lg-3,
    .members-grid .col-lg-3,
    .team-member-card-wrap .col-lg-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .team-photo-container {
        width: 180px;
        height: 180px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .member-type-title {
        font-size: 1.6rem;
    }

    .team-member-card {
        padding: 15px;
    }

    /* For standard grid - 2 items per row on tablet */
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .team-photo-container {
        width: 160px;
        height: 160px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .member-type-title {
        font-size: 1.4rem;
    }

    .section-spacer {
        height: 30px;
    }

    .team-member-card {
        padding: 12px;
    }

    .team-member-organization {
        font-size: 0.8rem;
    }

    .btn-view-profile {
        padding: 7px 16px;
        font-size: 0.85rem;
        max-width: 160px;
    }

    /* For standard grid - 2 items per row */
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .team-photo-container {
        width: 140px;
        height: 140px;
    }

    .team-member-name {
        font-size: 1.1rem;
    }

    .team-member-designation {
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .member-type-title {
        font-size: 1.2rem;
    }

    .section-spacer {
        height: 25px;
    }

    .team-member-organization {
        font-size: 0.75rem;
    }

    /* Make 2 cards per row on small screens */
    .col-sm-6 {
        width: 50%;
    }

    .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .col-sm-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .team-photo-container {
        width: 120px;
        height: 120px;
    }

    /* Make 1 card per row on extra small screens */
    .col-sm-6 {
        width: 100%;
    }
}

/* ==========================================================================
   PAGE COMPONENT: TEAMS_DETAILS.PHP
   ========================================================================== */
/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
    transform: translateX(3px);
}

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.hero-title {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 5px;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== MEMBER DETAILS CONTAINER ===== */
.member-details-container {
    padding: 60px 0;
    background: var(--brand-surface-tint);
}

/* ===== MEMBER PROFILE CARD ===== */
.member-profile-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    overflow: hidden;
    transition: all 0.3s ease;
}

.member-profile-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ===== PROFILE SIDEBAR ===== */
.profile-sidebar {
    padding: 40px;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    height: 100%;
    text-align: center;
}

.profile-photo-container {
    margin-bottom: 30px;
}

.profile-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.member-profile-card:hover .profile-photo {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.profile-name {
    color: var(--brand-forest-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.profile-designation {
    color: var(--brand-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-organization {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    font-style: italic;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-designation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-green);
    border-radius: 2px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(20, 143, 65, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark-green);
    font-size: 1.2rem;
}

.contact-text h5 {
    color: var(--brand-forest-dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-text a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--brand-dark-green);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-btn.email {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
}

.social-btn.phone {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

/* ===== PROFILE CONTENT ===== */
.profile-content {
    padding: 40px;
    height: 100%;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header .text-muted {
    color: #666;
    font-size: 1.1rem;
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
    text-align: justify;
}

.about-content p {
    margin-bottom: 20px;
}

.empty-bio {
    text-align: center;
    padding: 40px 20px;
}

.empty-bio i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

/* ===== PROFILE NAVIGATION ===== */
.profile-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8f5e9;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e8f5e9;
}

.nav-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-dark-green);
}

.nav-btn-icon {
    width: 50px;
    height: 50px;
    background: rgba(20, 143, 65, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark-green);
    font-size: 1.3rem;
}

.nav-btn-text {
    flex: 1;
}

.nav-btn-text small {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.nav-btn-text span {
    color: var(--brand-forest-dark);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

.prev-btn:hover .nav-btn-icon {
    background: var(--brand-dark-green);
    color: white;
}

.back-btn:hover .nav-btn-icon {
    background: var(--brand-green);
    color: white;
}

.disabled-btn {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== MOBILE SUBMENU FIX ===== */
@media (max-width: 992px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 5px 0 !important;
        background: rgba(248, 249, 250, 0.9);
        border: none !important;
        box-shadow: none !important;
    }

    .navbar-nav .dropdown-item {
        padding-left: 30px !important;
    }

    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
}

/* Ensure navbar toggle works */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .profile-photo {
        width: 220px;
        height: 220px;
    }

    .profile-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .member-details-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .profile-sidebar {
        border-bottom: 1px solid #e8f5e9;
        border-right: none;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .member-details-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .profile-sidebar,
    .profile-content {
        padding: 30px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .profile-photo {
        width: 180px;
        height: 180px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-designation {
        font-size: 1.1rem;
    }

    .profile-organization {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .about-content {
        font-size: 1rem;
    }

    .nav-btn {
        padding: 15px;
    }

    .nav-btn-text span {
        font-size: 1rem;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .profile-photo {
        width: 130px;
        height: 130px;
        border-width: 5px;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .social-links {
        gap: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-profile-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   PAGE COMPONENT: RISING_STARS.PHP
   ========================================================================== */
/* ===== RISING STARS CONTAINER ===== */
.rising-stars-container {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fdf9 0%, #f0f9f3 100%);
    min-height: 70vh;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--star-gold), var(--star-silver));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* Alert styling */
.alert {
    margin-bottom: 30px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    background: linear-gradient(135deg, #fee 0%, #fff5f5 100%);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* ===== CUSTOM COLUMN FOR 5 PER ROW ===== */
.col-xl-5th {
    flex: 0 0 auto;
    width: 20%; /* 100% / 5 = 20% */
}

/* ===== RISING STAR CARD ===== */
.rising-star-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid #e8f5e9;
    text-align: center;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.rising-star-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--star-gold);
}

.star-photo-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    margin-bottom: 15px;
}

.star-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.rising-star-card:hover .star-photo {
    transform: scale(1.1);
}

/* Month Badge */
.month-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--star-gold), #ffed4e);
    color: var(--brand-forest-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Star Info */
.star-info {
    padding: 0 10px;
    flex-grow: 1;
}

.star-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-forest-dark);
    margin-bottom: 5px;
    line-height: 1.3;
    transition: color 0.3s ease;
    min-height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rising-star-card:hover .star-name {
    color: var(--brand-dark-green);
}

/* New: Designation Field */
.star-designation {
    color: var(--designation-blue);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.star-designation i {
    color: var(--designation-blue);
    font-size: 0.75rem;
}

.star-date {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.star-date i {
    color: var(--brand-green);
    font-size: 0.75rem;
}

/* New: Short Description Field */
.star-description {
    color: var(--description-gray);
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 10px;
    padding: 8px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 6px;
    border-left: 3px solid var(--star-gold);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-height: 60px;
    overflow: hidden;
}

.star-description i {
    color: var(--star-gold);
    font-size: 0.7rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.star-description span {
    flex-grow: 1;
}

.star-achievement {
    color: var(--star-gold);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    padding: 4px 8px;
    border-radius: 20px;
    margin: 0 auto;
    width: fit-content;
}

/* New: View Details Button */
.star-actions {
    padding: 0 10px;
}

.btn-view-details {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(20, 143, 65, 0.3);
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-body {
    padding: 2rem;
}

/* Star Details Modal Content */
.star-details-content {
    text-align: center;
}

.star-details-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--star-gold);
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.star-details-name {
    color: var(--brand-forest-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.star-details-designation {
    color: var(--designation-blue);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.star-details-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
}

.star-details-description {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 20px;
    padding: 15px;
    background: #f8fdf9;
    border-radius: 10px;
    border-left: 4px solid var(--star-gold);
    text-align: left;
}

.star-details-achievement {
    color: var(--star-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    padding: 10px 20px;
    border-radius: 25px;
}

/* ===== PAGINATION ===== */
.pagination {
    margin-top: 40px;
}

.page-link {
    color: var(--brand-dark-green);
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    margin: 0 3px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-link:hover {
    background-color: var(--brand-surface-tint);
    border-color: var(--brand-dark-green);
    color: var(--brand-forest-dark);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border-color: var(--brand-dark-green);
    color: white;
    box-shadow: 0 4px 10px rgba(20, 143, 65, 0.3);
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    transform: none;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.empty-state p {
    color: #888;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.3);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1400px) {
    .col-xl-5th {
        width: 25%; /* 4 per row on extra large screens */
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .col-xl-5th {
        width: 33.333%; /* 3 per row on large screens */
    }

    .col-lg-4 {
        width: 33.333%;
    }
}

@media (max-width: 992px) {
    .rising-stars-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .col-xl-5th,
    .col-lg-4 {
        width: 50%; /* 2 per row on medium screens */
    }

    .col-md-6 {
        width: 50%;
    }

    .star-name {
        font-size: 0.9rem;
    }

    .star-description {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .rising-stars-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .col-xl-5th,
    .col-lg-4,
    .col-md-6 {
        width: 50%; /* 2 per row on small screens */
    }

    .col-sm-6 {
        width: 50%;
    }

    .star-name {
        font-size: 0.85rem;
        min-height: 2.2em;
    }

    .star-designation {
        font-size: 0.75rem;
    }

    .star-date, .star-achievement {
        font-size: 0.75rem;
    }

    .star-description {
        font-size: 0.7rem;
        padding: 6px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .col-xl-5th,
    .col-lg-4,
    .col-md-6,
    .col-sm-6 {
        width: 100%; /* 1 per row on extra small screens */
    }

    .col-12 {
        width: 100%;
    }

    .star-name {
        font-size: 1rem;
        min-height: auto;
    }

    .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .page-item {
        margin-bottom: 5px;
    }

    /* Modal adjustments */
    .modal-dialog {
        margin: 10px;
    }

    .star-details-photo {
        width: 120px;
        height: 120px;
    }

    .star-details-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .rising-stars-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .page-link {
        padding: 5px 8px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   PAGE COMPONENT: AWARDS.PHP
   ========================================================================== */
/* ===== AWARDS CONTAINER ===== */
.awards-container {
    padding: 60px 0;
    background: #f8fdf9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--brand-dark-green), var(--brand-green));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* ===== AWARDS GRID ===== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* ===== AWARD CARD ===== */
.award-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

/* Award Image Container */
.award-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.award-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.award-card:hover .award-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 143, 65, 0.8), rgba(47, 168, 79, 0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
}

.award-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.image-overlay span {
    font-weight: 600;
    font-size: 1rem;
}

/* Award Content */
.award-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;



}

.award-title {
    color: var(--brand-forest-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.award-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.award-date {
    color: var(--brand-dark-green);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.empty-state p {
    color: #888;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== LIGHTBOX ===== */
.award-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    margin: 5vh auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    z-index: 10001;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--brand-red);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #dc3545;
    transform: rotate(90deg);
}

.lightbox-body {
    display: flex;
    height: 70vh;
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f8fdf9;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.lightbox-info {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.lightbox-info h2 {
    color: var(--brand-forest-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.lightbox-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.lightbox-description p {
    margin-bottom: 15px;
}

.lightbox-description p:last-child {
    margin-bottom: 0;
}

.lightbox-meta {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e8f5e9;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--brand-dark-green);
    margin-right: 8px;
    font-size: 1rem;
}

.lightbox-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: #f8fdf9;
    border-top: 1px solid #e8f5e9;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--brand-dark-green);
    color: var(--brand-dark-green);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--brand-dark-green);
    color: white;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nav-btn:disabled:hover {
    background: white;
    color: var(--brand-dark-green);
}

.lightbox-counter {
    color: var(--brand-forest-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .awards-grid {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .lightbox-body {
        flex-direction: column;
        height: auto;
        max-height: 80vh;
    }

    .lightbox-image-container {
        height: 40vh;
        padding: 20px;
    }

    .lightbox-info {
        padding: 30px;
        max-height: 40vh;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .award-image-container {
        height: 220px;
    }

    .award-content {
        padding: 20px;


    }

    .lightbox-content {
        margin: 2vh auto;
        max-width: 95%;
    }

    .lightbox-info h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .award-image-container {
        height: 200px;
    }

    .award-title {
        font-size: 1.2rem;
    }

    .lightbox-body {
        max-height: 85vh;
    }

    .lightbox-image-container {
        height: 35vh;
        padding: 15px;
    }

    .lightbox-info {
        padding: 20px;
        max-height: 35vh;
    }

    .lightbox-info h2 {
        font-size: 1.3rem;
    }

    .lightbox-navigation {
        padding: 15px 20px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .award-image-container {
        height: 180px;
    }

    .lightbox-info h2 {
        font-size: 1.2rem;
    }

    .lightbox-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: PARTNERS.PHP
   ========================================================================== */
/* ===== PARTNERS CONTAINER ===== */
.partners-container {
    padding: 60px 0;
    background: #f8fdf9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--brand-dark-green), var(--brand-green));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* ===== PARTNER CARD ===== */
.partner-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

/* Partner Logo */
.partner-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.partner-logo {
    width: 100%;
    max-width: 300px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e8f5e9;
    overflow: hidden;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    border-color: var(--brand-dark-green);
    box-shadow: 0 10px 25px rgba(20, 143, 65, 0.15);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

/* Partner Content */
.partner-content {
    padding: 10px 0;
}

.partner-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-forest-dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--brand-dark-green);
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Partner Description */
.partner-description {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Partner Actions */
.partner-actions {
    margin-top: 25px;
}

.partner-website-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
}

.partner-website-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 143, 65, 0.2);
    color: white;
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination-info {
    margin-bottom: 20px;
}

.pagination-info p {
    color: #666;
    font-size: 0.95rem;
}

.pagination-nav .pagination {
    justify-content: center;
    gap: 5px;
}

.page-item .page-link {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 16px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border-color: var(--brand-dark-green);
    color: white;
}

.page-item .page-link:hover {
    background: var(--brand-surface-tint);
    border-color: var(--brand-dark-green);
    color: var(--brand-forest-dark);
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.empty-state p {
    color: #888;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== BECOME PARTNER SECTION ===== */
.become-partner {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fdf9, #e8f5e9);
}

.become-partner-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
}

.become-partner-card h2 {
    color: var(--brand-forest-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.become-partner-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.partner-cta-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 25px rgba(20, 143, 65, 0.2);
}

.partner-cta-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(20, 143, 65, 0.3);
    color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .partner-logo {
        max-width: 250px;
        height: 220px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .partner-logo {
        max-width: 200px;
        height: 180px;
        padding: 20px;
    }

    .partner-name {
        font-size: 1.6rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .become-partner-card {
        padding: 30px;
    }

    .become-partner-card h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .partner-card {
        padding: 25px;
        text-align: center;
    }

    .partner-logo {
        max-width: 200px;
        height: 160px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .partner-name {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .become-partner-card {
        padding: 25px;
        text-align: center;
    }

    .become-partner-card .row > div {
        margin-bottom: 20px;
    }

    .partner-cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .partner-card {
        padding: 20px;
    }

    .partner-logo {
        max-width: 180px;
        height: 150px;
        padding: 15px;
    }

    .partner-name {
        font-size: 1.4rem;
    }

    .partner-description {
        font-size: 0.95rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .become-partner-card h2 {
        font-size: 1.4rem;
    }

    .pagination-nav .pagination {
        flex-wrap: wrap;
    }

    .page-item .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .partner-logo {
        max-width: 150px;
        height: 130px;
        padding: 10px;
    }

    .partner-card {
        padding: 15px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: PUBLICATIONS.PHP
   ========================================================================== */
/* ===== MAIN CONTAINER ===== */
.publications-container {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fdf9 0%, #f0f9f4 100%);
    min-height: 70vh;
}

/* ===== PUBLICATION TYPE SECTIONS ===== */
.publication-type-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(20, 143, 65, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.publication-type-section:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.type-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.type-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #148F41, #2FA84F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.type-title {
    color: #0a3d1f;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.type-meta {
    font-size: 0.9rem;
    color: #666;
}

.type-count i {
    color: #148F41;
}

.type-latest i {
    color: #E11D48;
}

/* ===== PUBLICATION CARDS ===== */
.publication-card {
    border: 1px solid rgba(20, 143, 65, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.file-type-banner {
    border-bottom: none;
}

.publication-title {
    color: #0a3d1f;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.publication-date {
    font-size: 0.85rem;
}

.publication-description p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* ===== SUMMARY ITEMS ===== */
.summary-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(20, 143, 65, 0.1);
}

.summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #148F41, #2FA84F);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.summary-title h5 {
    color: #0a3d1f;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.summary-count {
    font-size: 0.8rem;
}

/* ===== STATISTICS ===== */
.publications-stats {
    border: none;
}

.stat-item {
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

/* ===== EMPTY STATE ===== */
.empty-state-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #148F41;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== BUTTONS ===== */
.btn-scroll-top, .btn-back-to-top, .btn-view-category, .btn-view-details, .btn-download-file {
    transition: all 0.3s ease;
}

.btn-scroll-top:hover, .btn-back-to-top:hover {
    transform: translateY(-2px);
}

.btn-view-category:hover {
    background: linear-gradient(135deg, #148F41, #2FA84F);
    color: white;
    transform: translateY(-2px);
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.3);
}

.btn-download-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

/* Share button styles */
.btn-share-file {
    background: linear-gradient(135deg, #148F41, #2FA84F);
    border: none;
    color: white;
}

.btn-share-file:hover {
    background: linear-gradient(135deg, #148F41, #2FA84F);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
    color: white;
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.btn-close-white {
    filter: invert(1) brightness(100%);
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

/* ===== SHARE MODAL STYLES ===== */
.share-modal .modal-dialog {
    max-width: 500px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.share-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: white;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-option-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
}

.share-option-btn i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.share-option-btn.facebook { border-color: #1877f2; color: #1877f2; }
.share-option-btn.twitter { border-color: #1da1f2; color: #1da1f2; }
.share-option-btn.linkedin { border-color: #0077b5; color: #0077b5; }
.share-option-btn.whatsapp { border-color: #25d366; color: #25d366; }
.share-option-btn.email { border-color: #ea4335; color: #ea4335; }
.share-option-btn.copy { border-color: #6c757d; color: #6c757d; }

.share-option-btn.facebook:hover { background: #1877f2; color: white; }
.share-option-btn.twitter:hover { background: #1da1f2; color: white; }
.share-option-btn.linkedin:hover { background: #0077b5; color: white; }
.share-option-btn.whatsapp:hover { background: #25d366; color: white; }
.share-option-btn.email:hover { background: #ea4335; color: white; }
.share-option-btn.copy:hover { background: #6c757d; color: white; }

.copy-link-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.copy-link-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .publications-container {
        padding: 40px 0;
    }

    .type-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .type-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .hero-stat {
        width: 200px;
    }

    .publications-container {
        padding: 30px 0;
    }

    .type-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .type-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .type-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .type-title {
        font-size: 1.2rem;
    }

    .publication-title {
        font-size: 1rem;
    }

    .modal-dialog {
        margin: 10px;
    }

    .share-options {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PAGE COMPONENT: POST_NOTICE.PHP
   ========================================================================== */
/* ========================================
   ALL NOTICES PAGE – GREEN THEME (FIXED)
   ======================================== */


/* Search & Filter Section */
.search-filter-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--brand-surface-tint);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--text-muted);
}

.search-input {
    padding-left: 40px;
    height: 45px;
    border: 1px solid var(--brand-surface-tint);
    border-radius: 12px 0 0 12px;
    font-size: 0.9rem;
}

.search-input:focus {
    border-color: var(--brand-dark-green);
    box-shadow: none;
    z-index: 0;
}

.btn-search {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 12px 12px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-search:hover {
    background: linear-gradient(135deg, var(--brand-dark-green), #1e7e34);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--light-bg);
    padding: 0.25rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--brand-surface-tint);
    height: 45px;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.filter-select {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    flex: 1;
}

.filter-select:focus {
    box-shadow: none;
    outline: none;
}

/* Active Filters */
.active-filters {
    padding-top: 1rem;
    border-top: 1px solid var(--brand-surface-tint);
}

.filter-badge-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-badge-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e9;
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.remove-filter {
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.remove-filter:hover {
    color: var(--brand-red);
}

.clear-all-btn {
    background: #fee2e2;
    color: var(--brand-red);
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.clear-all-btn:hover {
    background: #fecaca;
    color: #b91c1c;
}

/* Results Summary */
.results-summary {
    margin-bottom: 1.5rem;
}

.summary-card {
    background: linear-gradient(135deg, var(--light-bg), #f1f8f4);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid var(--brand-surface-tint);
}

.summary-left, .summary-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.summary-left i, .summary-right i {
    color: var(--brand-dark-green);
    font-size: 0.9rem;
}

/* Notices List Container */
.notices-list-container {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--brand-surface-tint);
}

/* Table Header */
.notices-table-header {
    display: grid;
    grid-template-columns: 100px 1fr 120px 120px 100px;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--brand-dark-green);
}

.header-serial { text-align: center; }
.header-title { padding-left: 0.5rem; }
.header-type { text-align: center; }
.header-date { text-align: center; }
.header-actions { text-align: center; }

/* Notice List Items */
.notices-list {
    display: flex;
    flex-direction: column;
}

.notice-list-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 120px 100px;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--brand-surface-tint);
    transition: all 0.2s ease;
    background: #ffffff;
}

.notice-list-item:hover {
    background: #f8fdf9;
}

.notice-serial {
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 1rem;
}

.notice-title {
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.notice-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.notice-link:hover {
    color: var(--brand-dark-green);
    text-decoration: underline;
}

.attachment-indicator {
    display: inline-flex;
    align-items: center;
    color: var(--brand-green);
    font-size: 0.7rem;
}

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

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.type-general { background: #e0e7ff; color: #1e3a8a; }
.type-urgent { background: #fee2e2; color: var(--brand-red); }
.type-exam { background: #fef3c7; color: #d97706; }
.type-result { background: #d1fae5; color: var(--brand-dark-green); }
.type-announcement { background: #ede9fe; color: #7c3aed; }

.notice-date {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.notice-date i { font-size: 0.7rem; }

/* Action Buttons */
.notice-actions {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-view:hover {
    background: linear-gradient(135deg, var(--brand-dark-green), #1e7e34);
    transform: translateY(-1px);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--brand-surface-tint);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.empty-icon i {
    font-size: 2.5rem;
    color: var(--text-muted);
}

.empty-state h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
}

.reset-link {
    color: var(--brand-dark-green);
    text-decoration: none;
    font-weight: 500;
}

.reset-link:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--brand-surface-tint);
}

.pagination {
    margin: 0;
    gap: 0.3rem;
}

.page-item .page-link {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--brand-dark-green);
    border: 1px solid var(--brand-surface-tint);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border-color: var(--brand-dark-green);
    color: white;
}

.page-item:not(.active) .page-link:hover {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.page-jumper .jumper-form {
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jumper-form label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

.page-input {
    width: 60px;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--brand-surface-tint);
    border-radius: 6px;
    text-align: center;
    font-size: 0.85rem;
}

.total-pages {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-go {
    padding: 0.35rem 1rem;
    background: var(--brand-dark-green);
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-go:hover {
    background: var(--brand-green);
}

/* Alert */
.alert {
    border-radius: 10px;
    border: none;
    padding: 20px;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(200, 30, 61, 0.05));
    border-left: 4px solid var(--brand-red);
    color: #721c24;
}

/* Responsive */
@media (max-width: 992px) {
    .notices-table-header {
        display: none;
    }

    .notice-list-item {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--brand-surface-tint);
        position: relative;
    }

    .notice-serial {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.7rem;
        color: #cbd5e1;
    }

    .notice-title {
        margin-bottom: 0.5rem;
        padding-left: 0;
        padding-right: 40px;
    }

    .notice-link {
        font-size: 1rem;
        font-weight: 600;
        display: block;
    }

    .notice-type {
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .notice-date {
        justify-content: flex-start;
        margin-bottom: 0.75rem;
    }

    .notice-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .search-filter-section .row {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .pagination-wrapper {
        flex-direction: column;
        justify-content: center;
    }

    .page-jumper {
        width: 100%;
    }

    .jumper-form {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Print */
@media print {
    .contact-hero, .search-filter-section, .results-summary,
    .pagination-wrapper, .notice-actions {
        display: none !important;
    }

    .notices-list-container {
        border: none;
    }

    .notice-list-item {
        border: 1px solid #ddd;
        margin-bottom: 5px;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   PAGE COMPONENT: NOTICE_DETAILS.PHP
   ========================================================================== */
/* Hero – Green gradient */
.details-hero {
    background: linear-gradient(135deg, rgba(10,61,31,0.95) 0%, rgba(20,143,65,0.9) 100%);
    padding: 70px 0 50px;
    color: white;
    margin-top: -1px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.hero-meta .meta-item i {
    margin-right: 5px;
}

/* Notice Card */
.notice-details-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--brand-surface-tint);
    margin-bottom: 2rem;
}

.card-body-content {
    padding: 2rem;
}

.notice-full-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Attachment */
.attachment-section-details {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--brand-surface-tint);
    margin-top: 1rem;
}

.attachment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand-surface-tint);
}

.attachment-header i {
    color: var(--brand-dark-green);
    font-size: 1.25rem;
}

.attachment-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.attachment-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--brand-surface-tint);
}

.file-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon i {
    font-size: 1.5rem;
    color: var(--brand-red);
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.file-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-download-file {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.2s;
}

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

.no-attachment-section {
    background: #fef2f2;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
    color: #991b1b;
}

/* Action Buttons */
.card-action-buttons {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-top: 1px solid var(--brand-surface-tint);
}

.action-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.print-btn {
    background: #e2e8f0;
    color: #475569;
}

.print-btn:hover {
    background: #cbd5e1;
}

.share-btn {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
}

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

/* Navigation */
.notice-navigation {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--brand-surface-tint);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-dark);
    transition: 0.2s;
}

.nav-link:hover {
    background: var(--brand-surface-tint);
    transform: translateX(3px);
}

.nav-link.prev:hover {
    transform: translateX(-3px);
}

.nav-text {
    flex: 1;
}

.nav-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.nav-title {
    font-size: 0.85rem;
    font-weight: 600;
}

.nav-link i {
    color: var(--brand-dark-green);
}

/* Sidebar */
.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--brand-surface-tint);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand-surface-tint);
}

.widget-header i {
    color: var(--brand-dark-green);
    font-size: 1.1rem;
}

.widget-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brand-surface-tint);
}

.info-row:last-child { border-bottom: none; }

.info-label { font-size: 0.8rem; color: var(--text-muted); }
.info-value { font-size: 0.85rem; font-weight: 500; }

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.type-general { background: #e0e7ff; color: #1e3a8a; }
.type-urgent { background: #fee2e2; color: var(--brand-red); }
.type-exam { background: #fef3c7; color: #d97706; }
.type-result { background: #d1fae5; color: var(--brand-dark-green); }
.type-announcement { background: #ede9fe; color: #7c3aed; }

.back-widget { padding: 0; overflow: hidden; }

.back-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    text-decoration: none;
    background: var(--light-bg);
    transition: 0.2s;
}

.back-link:hover {
    background: var(--brand-surface-tint);
    transform: translateX(5px);
}

.back-link div { flex: 1; }
.back-link strong { display: block; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.back-link span { font-size: 0.7rem; color: var(--text-muted); }
.back-link i:first-child { color: var(--brand-dark-green); font-size: 1.25rem; }
.back-link i:last-child { color: var(--text-muted); }

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

.tips-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--brand-surface-tint);
    font-size: 0.85rem;
    color: #475569;
}

.tips-list li:last-child { border-bottom: none; }
.tips-list i { color: var(--brand-dark-green); }

/* Responsive */
@media (max-width: 768px) {
    .card-body-content { padding: 1.25rem; }
    .attachment-file { flex-direction: column; text-align: center; }
    .btn-download-file { width: 100%; justify-content: center; }
    .card-action-buttons { flex-direction: column; }
    .hero-meta { gap: 0.75rem; font-size: 0.8rem; }
}

@media print {
    .details-hero { background: #f0f0f0 !important; color: black !important; }
    .card-action-buttons, .sidebar-widget, .notice-navigation { display: none !important; }
}

/* ==========================================================================
   PAGE COMPONENT: CAMPAIGN.PHP
   ========================================================================== */
/* ===== CAMPAIGNS CONTAINER ===== */
.campaigns-container {
    padding: 60px 0;
    background: #f8fdf9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--brand-dark-green), var(--brand-green));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* ===== STATUS FILTER ===== */
.status-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.status-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 30px;
    border: 2px solid #e8f5e9;
    background: white;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.status-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.status-btn.active {
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.status-btn.btn-all.active {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
}

.status-btn.btn-active.active {
    background: linear-gradient(135deg, var(--brand-green), #28a745);
}

.status-btn.btn-upcoming.active {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

.status-btn.btn-completed.active {
    background: linear-gradient(135deg, var(--completed), #e3b18c);
}

.status-btn.btn-closed.active {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

/* ===== CAMPAIGN CARD ===== */
.campaigns-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.campaign-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.campaign-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

/* Campaign Header */
.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.campaign-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-forest-dark);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.campaign-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 15px;
    color: white;
    flex-shrink: 0;
}

.campaign-status-badge.status-active {
    background: linear-gradient(135deg, var(--brand-green), #28a745);
}

.campaign-status-badge.status-upcoming {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

.campaign-status-badge.status-completed {
    background: linear-gradient(135deg, var(--completed), #e3b18c);
}

.campaign-status-badge.status-closed {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

/* Campaign Meta */
.campaign-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.campaign-location,
.campaign-category {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.campaign-location i,
.campaign-category i {
    color: var(--brand-dark-green);
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Campaign Description */
.campaign-description {
    flex-grow: 1;
    margin-bottom: 25px;
}

.campaign-description p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Campaign Footer */
.campaign-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e8f5e9;
}

.campaign-dates {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-item i {
    color: var(--brand-dark-green);
    font-size: 1.1rem;
}

.date-item small {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.date-item span {
    color: var(--brand-forest-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.campaign-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.view-details-btn,
.donate-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-details-btn {
    background: #f8fdf9;
    color: var(--brand-dark-green);
    border: 1px solid #e8f5e9;
}

.view-details-btn:hover {
    background: var(--brand-surface-tint);
    color: var(--brand-forest-dark);
    transform: translateY(-3px);
}

.donate-btn {
    background: linear-gradient(135deg, var(--brand-red), #ff4757);
    color: white;
    border: none;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #ff4757, var(--brand-red));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.2);
    color: white;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.empty-state p {
    color: #888;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination-info {
    margin-bottom: 20px;
}

.pagination-info p {
    color: #666;
    font-size: 0.95rem;
}

.pagination-nav .pagination {
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.page-item .page-link {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 16px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border-color: var(--brand-dark-green);
    color: white;
}

.page-item .page-link:hover {
    background: var(--brand-surface-tint);
    border-color: var(--brand-dark-green);
    color: var(--brand-forest-dark);
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
    opacity: 0.7;
}

.page-info {
    color: #666;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .campaigns-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .campaigns-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .campaign-card {
        padding: 25px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .campaigns-list {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .campaign-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .campaign-status-badge {
        margin-left: 0;
    }

    .status-filter {
        gap: 10px;
    }

    .status-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .campaign-actions {
        flex-direction: column;
    }

    .view-details-btn,
    .donate-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .campaign-card {
        padding: 20px;
    }

    .campaign-title {
        font-size: 1.2rem;
    }

    .campaign-meta {
        flex-direction: column;
        gap: 10px;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .pagination-nav .pagination {
        flex-wrap: wrap;
    }

    .page-item .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .status-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .campaign-dates {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: CAMPAIGN_DETAILS.PHP
   ========================================================================== */
/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.breadcrumb-item a:hover {
    color: white;
    transform: translateX(3px);
}

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "›";
    font-size: 1.2rem;
}

/* ===== CAMPAIGN DETAILS CONTAINER ===== */
.campaign-details-container {
    padding: 60px 0;
    background: #f8fdf9;
}

/* Back Navigation */
.back-navigation {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 2px solid var(--brand-dark-green);
    color: var(--brand-dark-green);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.1);
}

.back-btn:hover {
    background: var(--brand-dark-green);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(20, 143, 65, 0.2);
}

/* ===== CAMPAIGN CARD ===== */
.campaign-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    margin-bottom: 30px;
}

/* Campaign Header */
.campaign-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8f5e9;
}

.campaign-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.campaign-meta-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
}

.campaign-meta-item i {
    color: var(--brand-dark-green);
    margin-right: 8px;
    font-size: 1rem;
}

.campaign-timeline {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-item i {
    color: var(--brand-dark-green);
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    background: var(--brand-surface-tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item small {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.timeline-item span {
    color: var(--brand-forest-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Campaign Content */
.campaign-content h3 {
    color: var(--brand-forest-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.campaign-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.campaign-description p {
    margin-bottom: 15px;
}

/* Campaign CTA */
.campaign-cta {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8fdf9, #e8f5e9);
    border-radius: 10px;
    margin-top: 30px;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-red), #ff4757);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 10px;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #ff4757, var(--brand-red));
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(225, 29, 72, 0.3);
    color: white;
}

.campaign-cta small {
    color: #666;
    font-size: 0.9rem;
}

/* ===== INFO SIDEBAR ===== */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
}

.info-header {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 20px;
}

.info-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.info-content {
    padding: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-surface-tint);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--brand-dark-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-text h5 {
    color: var(--brand-forest-dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-text span {
    color: #666;
    font-size: 0.9rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.status-badge.status-active {
    background: linear-gradient(135deg, var(--brand-green), #28a745);
}

.status-badge.status-upcoming {
    background: linear-gradient(135deg, var(--upcoming), #20c997);
}

.status-badge.status-completed {
    background: linear-gradient(135deg, var(--completed), #e3b18c);
}

.status-badge.status-closed {
    background: linear-gradient(135deg, var(--closed), #adb5bd);
}

/* Quick Contact Card */
.quick-contact-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    text-align: center;
}

.quick-contact-card h5 {
    color: var(--brand-forest-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-contact-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 143, 65, 0.2);
    color: white;
}

/* ===== PHOTO GALLERY ===== */
.photo-gallery-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e8f5e9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--brand-forest-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 3px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-dark-green);
}

.gallery-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-thumbnail {
    transform: scale(1.1);
}

.photo-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(20, 143, 65, 0.9);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 1;
}

/* ===== RELATED ACTIONS ===== */
.related-actions {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e8f5e9;
}

.action-card {
    display: block;
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    transition: all 0.3s ease;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

.action-card i {
    font-size: 2.5rem;
    color: var(--brand-dark-green);
    margin-bottom: 20px;
}

.action-card h5 {
    color: var(--brand-forest-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.action-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    border: 2px dashed #e8f5e9;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.empty-state p {
    color: #888;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 8px solid white;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10001;
}

.lightbox-prev,
.lightbox-next {
    width: 60px;
    height: 100px;
    background: rgba(20, 143, 65, 0.8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(20, 143, 65, 1);
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 20px;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    max-width: 80%;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10001;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .campaign-meta {
        flex-direction: column;
        gap: 10px;
    }

    .campaign-timeline {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

    .campaign-card {
        padding: 25px;
    }

    .info-sidebar {
        margin-top: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-thumbnail {
        height: 220px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .related-actions .row {
        flex-direction: column;
        gap: 20px;
    }

    .action-card {
        padding: 25px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 70px;
        font-size: 20px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .back-btn {
        width: 100%;
        justify-content: center;
    }

    .campaign-card {
        padding: 20px;
    }

    .campaign-content h3 {
        font-size: 1.3rem;
    }

    .campaign-description {
        font-size: 1rem;
    }

    .donate-btn {
        width: 100%;
        justify-content: center;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 60px;
        font-size: 18px;
        padding: 0;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .lightbox-image {
        border-width: 4px;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .gallery-thumbnail {
        height: 200px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: CAREER.PHP
   ========================================================================== */
/* ===== CAREER CONTAINER ===== */
.career-container {
    padding: 60px 0;
    background: #f8fdf9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--brand-forest-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--brand-dark-green), var(--brand-green));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8f5e9;
}

.filter-header {
    margin-bottom: 20px;
}

.filter-header h4 {
    color: var(--brand-forest-dark);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    background: #f8fdf9;
    border: 2px solid #e8f5e9;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: var(--brand-surface-tint);
    color: var(--brand-forest-dark);
    border-color: var(--brand-dark-green);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border-color: transparent;
}

/* ===== JOBS GRID ===== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* ===== JOB CARD ===== */
.job-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-dark-green);
}

/* Vacancy Badge */
.vacancy-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--brand-red), #ff4757);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Job Card Header */
.job-card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #e8f5e9;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-forest-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.job-company {
    color: var(--brand-dark-green);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.job-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Job Card Body */
.job-card-body {
    padding: 20px 25px;
    flex-grow: 1;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-icon {
    width: 35px;
    height: 35px;
    background: var(--brand-surface-tint);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark-green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.meta-text small {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.meta-text span {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

.salary-highlight {
    color: var(--brand-green);
    font-weight: 600;
}

.job-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.job-description p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Job Card Footer */
.job-card-footer {
    padding: 20px 25px;
    border-top: 1px solid #e8f5e9;
    background: #f8fdf9;
}

.deadline-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.deadline {
    display: flex;
    align-items: center;
    background: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: #555;
    font-size: 0.85rem;
    border: 1px solid #e8f5e9;
}

.deadline.urgent {
    background: #fff9e6;
    color: var(--warning);
    border-color: #ffeaa7;
}

.urgent-badge {
    background: linear-gradient(135deg, var(--warning), #FFD700);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.job-actions {
    display: flex;
    gap: 10px;
}

.view-details-btn,
.apply-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-details-btn {
    background: #f8fdf9;
    color: var(--brand-dark-green);
    border: 1px solid #e8f5e9;
}

.view-details-btn:hover {
    background: var(--brand-surface-tint);
    color: var(--brand-forest-dark);
    transform: translateY(-3px);
}

.apply-btn {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border: none;
}

.apply-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 143, 65, 0.2);
    color: white;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.empty-state p {
    color: #888;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination-info {
    margin-bottom: 20px;
}

.pagination-info p {
    color: #666;
    font-size: 0.95rem;
}

.pagination-nav .pagination {
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.page-item .page-link {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 16px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    border-color: var(--brand-dark-green);
    color: white;
}

.page-item .page-link:hover {
    background: var(--brand-surface-tint);
    border-color: var(--brand-dark-green);
    color: var(--brand-forest-dark);
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
    opacity: 0.7;
}

.page-info {
    color: #666;
    font-size: 0.9rem;
}

/* ===== GENERAL APPLICATION ===== */
.general-application {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e8f5e9;
}

.general-application-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
}

.general-application-card h3 {
    color: var(--brand-forest-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.general-application-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.general-apply-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.general-apply-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(20, 143, 65, 0.2);
    color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .job-card-header,
    .job-card-body,
    .job-card-footer {
        padding: 20px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .general-application-card {
        padding: 25px;
    }

    .general-application-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .filter-buttons {
        justify-content: center;
    }

    .job-actions {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .general-application-card .row {
        flex-direction: column;
        text-align: center;
    }

    .general-application-card .col-lg-4 {
        margin-top: 20px;
    }

    .general-apply-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .job-card-header,
    .job-card-body,
    .job-card-footer {
        padding: 15px;
    }

    .job-title {
        font-size: 1.2rem;
    }

    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .meta-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .pagination-nav .pagination {
        flex-wrap: wrap;
    }

    .page-item .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .vacancy-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: CAREER_DETAILS.PHP
   ========================================================================== */
/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.breadcrumb-item a:hover {
    color: white;
    transform: translateX(3px);
}

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "›";
    font-size: 1.2rem;
}

/* ===== JOB DETAILS CONTAINER ===== */
.job-details-container {
    padding: 60px 0;
    background: #f8fdf9;
}

/* Back Navigation */
.back-navigation {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 2px solid var(--brand-dark-green);
    color: var(--brand-dark-green);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.1);
}

.back-btn:hover {
    background: var(--brand-dark-green);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(20, 143, 65, 0.2);
}

/* ===== JOB DETAILS CARD ===== */
.job-details-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    margin-bottom: 30px;
}

/* Deadline Alert */
.deadline-alert {
    background: linear-gradient(135deg, #fff9e6, #ffeaa7);
    border: 1px solid #ffd166;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    color: #e17055;
    font-weight: 500;
}

/* Job Header */
.job-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8f5e9;
}

.job-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.job-title-row h2 {
    color: var(--brand-forest-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.job-type {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.job-company {
    color: var(--brand-dark-green);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.job-category {
    display: inline-block;
    background: #f8fdf9;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e8f5e9;
}

/* Job Meta Grid */
.job-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.meta-card {
    background: #f8fdf9;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e8f5e9;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.meta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-dark-green);
}

.meta-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark-green);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.1);
}

.meta-content h5 {
    color: var(--brand-forest-dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.meta-content p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

.salary-highlight {
    color: var(--brand-green);
    font-weight: 600;
}

.urgent-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--warning), #FFD700);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 5px;
}

/* Job Content */
.content-section {
    margin-bottom: 35px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.section-header h3 {
    color: var(--brand-forest-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.section-content {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* ===== APPLICATION CARD ===== */
.application-card,
.contact-card,
.quick-actions-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    margin-bottom: 25px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    padding: 20px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.card-body {
    padding: 25px;
}

/* Alerts */
.success-alert,
.error-alert {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.success-alert {
    background: linear-gradient(135deg, rgba(20, 143, 65, 0.1), rgba(47, 168, 79, 0.05));
    border-left: 4px solid var(--brand-dark-green);
    color: var(--brand-forest-dark);
}

.error-alert {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(200, 30, 61, 0.05));
    border-left: 4px solid var(--brand-red);
    color: #721c24;
}

.success-alert i,
.error-alert i {
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.success-alert i {
    color: var(--brand-dark-green);
}

.error-alert i {
    color: var(--brand-red);
}

.success-alert h5,
.error-alert h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.success-alert p,
.error-alert p {
    font-size: 0.9rem;
    margin: 0;
}

/* Application Form */
.application-form .form-group {
    margin-bottom: 20px;
}

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

.application-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.application-form .form-control:focus {
    border-color: var(--brand-dark-green);
    box-shadow: 0 0 0 0.2rem rgba(20, 143, 65, 0.25);
}

.file-upload-wrapper {
    position: relative;
}

.file-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(20, 143, 65, 0.3);
}

/* Deadline Message */
.deadline-message {
    text-align: center;
    padding: 30px 20px;
}

.deadline-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.deadline-message h5 {
    color: #666;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.deadline-message p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.view-other-btn {
    display: inline-flex;
    align-items: center;
    background: var(--brand-surface-tint);
    color: var(--brand-dark-green);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.view-other-btn:hover {
    background: var(--brand-dark-green);
    color: white;
    transform: translateY(-3px);
}

/* Contact Card */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-surface-tint);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark-green);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-content h5 {
    color: var(--brand-forest-dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-content a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-content a:hover {
    color: var(--brand-dark-green);
}

/* Quick Actions Card */
.quick-actions-card {
    padding: 25px;
}

.quick-actions-card h5 {
    color: var(--brand-forest-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.quick-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-btn {
    display: flex;
    align-items: center;
    background: #f8fdf9;
    color: #555;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e8f5e9;
}

.quick-btn:hover {
    background: var(--brand-surface-tint);
    color: var(--brand-dark-green);
    transform: translateX(5px);
    border-color: var(--brand-dark-green);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .job-meta-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .job-details-card,
    .application-card,
    .contact-card {
        padding: 25px;
    }

    .job-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .job-title-row h2 {
        font-size: 1.6rem;
    }

    .job-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

    .job-details-card,
    .application-card,
    .contact-card {
        padding: 20px;
    }

    .section-header h3 {
        font-size: 1.2rem;
    }

    .card-header h3 {
        font-size: 1.1rem;
    }

    .meta-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .back-btn {
        width: 100%;
        justify-content: center;
    }

    .job-details-card,
    .application-card,
    .contact-card {
        padding: 15px;
    }

    .job-title-row h2 {
        font-size: 1.4rem;
    }

    .section-content {
        font-size: 0.95rem;
    }

    .card-body {
        padding: 20px;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 0 20px 0;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .meta-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* ==========================================================================
   PAGE COMPONENT: VIDEOS.PHP
   ========================================================================== */
/* ===== VIDEOS CONTAINER ===== */
.videos-container {
    padding: 60px 0;
    background: #f8fdf9;
}

/* ===== CONTROLS ===== */
.videos-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-dark-green);
    box-shadow: 0 0 0 3px rgba(20, 143, 65, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand-dark-green);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--brand-green);
    transform: translateY(-50%) scale(1.1);
}

.sort-dropdown {
    min-width: 200px;
}

.sort-select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--brand-dark-green);
    box-shadow: 0 0 0 3px rgba(20, 143, 65, 0.1);
}

/* ===== VIDEOS GRID ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e8f5e9;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-dark-green);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.duration-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--youtube-red), #CC0000);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.video-actions {
    align-self: flex-end;
    display: flex;
    gap: 10px;
}

.play-btn,
.external-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--youtube-red);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.external-btn {
    color: var(--brand-dark-green);
}

.play-btn:hover {
    background: white;
    color: var(--youtube-red);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.external-btn:hover {
    background: white;
    color: var(--brand-green);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-item:hover .video-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-weight: 600;
    color: var(--brand-forest-dark);
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.video-date,
.video-type {
    display: flex;
    align-items: center;
}

.video-type {
    color: var(--brand-dark-green);
    font-weight: 500;
}

/* ===== PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #e8f5e9;
    background: white;
    color: var(--brand-forest-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 143, 65, 0.3);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    background: white;
    color: var(--brand-forest-dark);
    transform: none;
    box-shadow: none;
}

.pagination-info {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    border: 2px dashed #e8f5e9;
    margin: 40px 0;
    grid-column: 1 / -1;
}

.empty-state i {
    color: #e0e0e0;
}

.empty-state h3 {
    color: var(--brand-forest-dark);
    font-weight: 600;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-container {
    width: 90%;
    max-width: 900px;
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: var(--brand-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    transform: scale(1.1);
    background: #c81e3d;
}

.video-modal-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.video-modal-info h4 {
    color: white;
    margin-bottom: 8px;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop */
@media (max-width: 1400px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .videos-hero {
        padding: 60px 0 30px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }

    .videos-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
        min-width: 100%;
    }

    .sort-dropdown {
        width: 100%;
    }

    .video-thumbnail-wrapper {
        height: 180px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .videos-hero {
        padding: 50px 0 25px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .hero-stats {
        gap: 25px;
        padding: 0 15px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .video-thumbnail-wrapper {
        height: 160px;
    }

    .video-play-icon {
        font-size: 3rem;
    }

    .videos-container {
        padding: 40px 0;
    }

    .video-modal-container {
        width: 95%;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .video-thumbnail-wrapper {
        height: 150px;
    }

    .video-info {
        padding: 15px;
    }

    .video-title {
        font-size: 0.9rem;
        height: 2.6em;
    }

    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-stat {
        width: 100%;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .video-thumbnail-wrapper {
        height: 200px;
    }

    .video-title {
        font-size: 1rem;
    }

    .search-input,
    .sort-select {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .search-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .pagination-container {
        flex-wrap: wrap;
    }

    .page-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .video-modal-close {
        top: -40px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .video-modal-info {
        padding: 15px;
    }

    .video-modal-info h4 {
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .video-thumbnail-wrapper {
        height: 180px;
    }

    .videos-grid {
        gap: 12px;
    }

    .video-info {
        padding: 12px;
    }

    .video-title {
        font-size: 0.9rem;
    }

    .video-meta {
        font-size: 0.8rem;
    }

    .search-input,
    .sort-select {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-thumbnail-wrapper {
        height: 170px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   PHASE 4.1: DEDICATED COMPONENT STYLES FOR THE 6 CORE INNER PAGES
   ========================================================================== */

/* 1. MAPPING ALL HERO SELECTORS TO UNIFIED BANNER */
.projects-hero,
.news-hero,
.event-hero,
.project-detail-header {
  background: linear-gradient(135deg, var(--brand-forest) 0%, var(--brand-forest-dark) 100%) !important;
  color: var(--brand-white) !important;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem 2.25rem 2rem !important;
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 61, 31, 0.12);
  border: 1px solid rgba(47, 168, 79, 0.25);
  text-align: center;
}

.projects-hero::before,
.news-hero::before,
.event-hero::before,
.project-detail-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

/* Back button in hero */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--brand-white) !important;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-bottom: 1rem;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--brand-white) !important;
  transform: translateX(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}

/* 2. PROJECTS LISTING (.projects-container & .project-grid) */
.projects-container,
.content-container {
  margin-bottom: 2rem;
}

/* Status Filter & Type Filter Toolbar */
.status-filter,
.type-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.status-filter .filter-btn,
.type-filter .filter-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  user-select: none;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.status-filter .filter-btn .filter-count,
.type-filter .filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  background: #f1f5f9;
  color: #64748b;
  min-width: 20px;
  transition: all 0.2s ease;
}

.status-filter .filter-btn:hover,
.type-filter .filter-btn:hover {
  border-color: #2fa84f;
  color: #148f41;
  background: #f0fdf4;
  transform: translateY(-1px);
}

.status-filter .filter-btn:hover .filter-count {
  background: rgba(47, 168, 79, 0.15);
  color: #148f41;
}

.status-filter .filter-btn.active,
.type-filter .filter-btn.active {
  background: #2fa84f;
  border-color: #2fa84f;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(47, 168, 79, 0.32);
}

.status-filter .filter-btn.active .filter-count,
.type-filter .filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Specific filter button accents */
.status-filter .filter-btn.ongoing.active {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.status-filter .filter-btn.upcoming.active {
  background: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.status-filter .filter-btn.completed.active {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.type-filter .filter-btn.events.active {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}
.type-filter .filter-btn.events.active i {
  color: #ffffff !important;
}

.type-filter .filter-btn.news.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.type-filter .filter-btn.news.active i {
  color: #ffffff !important;
}

.type-filter .filter-btn.all.active {
  color: #ffffff !important;
}
.type-filter .filter-btn.all.active i {
  color: #ffffff !important;
}

/* Modern News Empty Card & Button Icon Protection */
.news-empty-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 3.5rem 2rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  text-align: center;
  max-width: 680px;
  margin: 1.5rem auto 2.5rem auto;
  width: 100%;
}

.news-empty-card .btn i,
.empty-state .btn i,
.empty-state a.btn i {
  font-size: 0.9rem !important;
  color: inherit !important;
  margin: 0 !important;
  animation: none !important;
  transform: none !important;
}

/* Projects & News Search Bar */
.projects-search-wrapper,
.news-search-wrapper {
  max-width: 520px;
  width: 100%;
  margin: 0 auto 1.5rem auto;
}

.projects-search-input,
.news-search-input {
  border-radius: 50px !important;
  padding: 0.65rem 1.25rem 0.65rem 2.85rem !important;
  font-size: 0.92rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.projects-search-input:focus,
.news-search-input:focus {
  border-color: #2fa84f;
  box-shadow: 0 0 0 4px rgba(47, 168, 79, 0.15) !important;
  outline: none;
}

.projects-search-icon,
.news-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  z-index: 5;
  pointer-events: none;
}

.projects-search-clear,
.news-search-clear {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 5;
  padding: 0.25rem 0.5rem;
  display: none;
}

.projects-search-clear:hover,
.news-search-clear:hover {
  color: #475569;
}

/* Result count info bar */
.pagination-info {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Project Grid System */
.project-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.75rem !important;
  margin-bottom: 2.5rem;
}

/* Project Card */
.project-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #e2e8f0;
  transition: background 0.3s ease;
  z-index: 2;
}

.project-card[data-status="ongoing"]::before {
  background: #10b981;
}

.project-card[data-status="upcoming"]::before {
  background: #f59e0b;
}

.project-card[data-status="completed"]::before {
  background: #0284c7;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  border-color: rgba(47, 168, 79, 0.45);
}

/* Card Header Top Row (Tag & Status Pill) */
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.project-tag-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #148f41;
  background: rgba(47, 168, 79, 0.08);
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(47, 168, 79, 0.2);
}

/* Project Status Pill */
.project-status-pill {
  position: static !important;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  padding: 0.32rem 0.8rem;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
}

.project-status-pill.status-ongoing,
.status-ongoing {
  background: #10b981 !important;
  color: #ffffff !important;
}

.project-status-pill.status-completed,
.status-completed {
  background: #0284c7 !important;
  color: #ffffff !important;
}

.project-status-pill.status-upcoming,
.status-upcoming {
  background: #f59e0b !important;
  color: #ffffff !important;
}

/* Pulsing dot for ongoing initiatives */
.project-status-pill.status-ongoing::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Project Card Body */
.project-card .project-body {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card .project-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
  line-height: 1.4;
  padding-right: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2rem;
  transition: color 0.2s ease;
}

.project-card .project-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-card:hover .project-title a,
.project-card:hover .project-title {
  color: #148f41;
}

.project-card .project-subtitle-text {
  font-size: 0.84rem;
  color: #64748b;
  font-style: italic;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* Strict justified text alignment for card summary */
.project-card .project-summary {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.15rem;
  flex-grow: 1;
  text-align: justify !important;
  text-justify: inter-word !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modern Project Meta Cardlet */
.project-meta-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.meta-box-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
}

.meta-box-row + .meta-box-row {
  padding-top: 0.65rem;
  border-top: 1px dashed #e2e8f0;
}

.meta-box-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.meta-box-icon.partner-icon {
  background: rgba(47, 168, 79, 0.12);
  color: #148f41;
}

.meta-box-icon.timeline-icon {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

.meta-box-icon.location-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.meta-box-content {
  flex-grow: 1;
  min-width: 0;
}

.meta-box-label {
  font-weight: 700;
  color: #64748b;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.meta-box-value {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Project Card Footer */
.project-card .project-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  font-size: 0.84rem;
  gap: 0.75rem;
}

.project-card .project-date {
  color: #64748b;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
}

.btn-view-project,
.project-card .view-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.84rem;
  color: #ffffff !important;
  background: #2fa84f;
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(47, 168, 79, 0.22);
}

.btn-view-project:hover,
.project-card .view-btn:hover {
  background: #148f41;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(47, 168, 79, 0.35);
}

.btn-view-project i,
.project-card .view-btn i {
  transition: transform 0.2s ease;
}

.btn-view-project:hover i,
.project-card .view-btn:hover i {
  transform: translateX(3px);
}

/* Pagination container */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.page-btn:hover:not(.disabled) {
  border-color: #2fa84f;
  background: #f0fdf4;
  color: #148f41;
  transform: translateY(-1px);
}

.page-btn.active {
  background: #2fa84f;
  border-color: #2fa84f;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(47, 168, 79, 0.3);
}

.page-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* Responsive Breakpoints for Projects */
@media (max-width: 991.98px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .project-card .project-title {
    font-size: 1.1rem;
    min-height: 2.9rem;
  }
}

@media (max-width: 767.98px) {
  .project-grid {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
  }
  .project-card .project-body {
    padding: 1.35rem;
  }
  .status-filter {
    gap: 0.4rem;
  }
  .status-filter .filter-btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .project-card .project-body {
    padding: 1.2rem;
  }
  .project-card .project-title {
    font-size: 1.05rem;
    min-height: auto;
  }
  .project-card .project-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
  }
  .btn-view-project,
  .project-card .view-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }
  .project-card .project-date {
    justify-content: center;
  }
  .meta-box-value {
    white-space: normal;
    word-break: break-word;
  }
}

/* 3. PROJECT DETAILS & EVENT DETAILS STYLES */
.project-status-indicator,
.event-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-pill);
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a7f3d0;
  box-shadow: 0 0 8px #a7f3d0;
}

.project-title-main,
.event-title-main {
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.project-subtitle,
.event-subtitle {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 1.5rem auto;
}

.project-meta-grid,
.event-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-meta-grid .meta-item,
.event-meta-grid .event-meta-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
}

.meta-icon,
.event-meta-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  color: var(--brand-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.project-meta-grid .meta-label,
.event-meta-grid .event-meta-label {
  color: #cbd5e1;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.2rem;
}

.project-meta-grid .meta-value,
.event-meta-grid .event-meta-value {
  color: var(--brand-white);
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
}

/* Project Details Hero Nav & Meta Cards */
.project-hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1.25rem auto;
}

.project-details-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  max-width: 960px;
  margin: 1.75rem auto 0 auto;
}

.meta-glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.meta-glass-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.meta-glass-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.meta-glass-icon.partner-icon {
  background: rgba(74, 222, 128, 0.25);
  color: #86efac;
}

.meta-glass-icon.timeline-icon {
  background: rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
}

.meta-glass-icon.location-icon {
  background: rgba(251, 191, 36, 0.25);
  color: #fde047;
}

.meta-glass-icon.budget-icon {
  background: rgba(167, 139, 250, 0.25);
  color: #c4b5fd;
}

.meta-glass-body {
  flex-grow: 1;
  min-width: 0;
}

.meta-glass-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.meta-glass-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  word-break: break-word;
}

/* Share Buttons Bar & Floating Cardlet */
.share-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0 2rem 0;
}

.share-bar-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  flex-wrap: wrap;
  justify-content: center;
}

.share-bar-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
}

.share-buttons-group,
.share-buttons-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.share-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.share-btn.share-facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.share-twitter:hover { background: #0f1419; border-color: #0f1419; }
.share-btn.share-whatsapp:hover { background: #25d366; border-color: #25d366; }
.share-btn.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.share-btn.share-copy:hover { background: #148f41; border-color: #148f41; }

/* Detail Content Container */
.project-details-container,
.main-content-container {
  margin-bottom: 2rem;
}

.content-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.section-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 168, 79, 0.12);
  color: #148f41;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.gallery-icon-box {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.project-description,
.event-description {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* Gallery Section inside Detail View */
.gallery-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 2rem;
  margin-bottom: 2rem;
}

.thumbnail-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.thumbnail-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 170px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  background: #f1f5f9;
}

.thumbnail-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  border-color: #2fa84f;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.thumbnail-item:hover .thumbnail-image {
  transform: scale(1.05);
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 61, 31, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.thumbnail-item:hover .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-number {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 3;
}

/* Sidebar Snapshot & Cards */
.project-sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 1.65rem;
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
}

.sidebar-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sidebar-info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #e2e8f0;
}

.sidebar-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-label {
  color: #64748b;
  font-weight: 500;
  font-size: 0.82rem;
}

.sidebar-value {
  text-align: right;
  font-weight: 600;
  color: #0f172a;
}

/* CTA Card */
.project-sidebar-card.cta-card {
  background: linear-gradient(135deg, #0a3d1f 0%, #062312 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(10, 61, 31, 0.18);
}

.cta-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
}

/* Responsive adjustments for project-details */
@media (max-width: 991.98px) {
  .project-sidebar-card {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .content-section {
    padding: 1.5rem;
  }
  .thumbnail-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .share-bar-card {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .project-details-hero {
    padding: 1.75rem 1rem 1.75rem 1rem !important;
    border-radius: 16px !important;
    margin-bottom: 1.25rem !important;
  }
  .project-details-hero .hero-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
  }
  .project-details-hero .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }
  .project-hero-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  .project-hero-nav .back-btn {
    font-size: 0.8rem !important;
    padding: 0.35rem 0.85rem !important;
  }
  .project-hero-nav .project-status-pill {
    font-size: 0.72rem !important;
    padding: 0.32rem 0.75rem !important;
  }
  .project-details-meta {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    margin-top: 1.15rem !important;
  }
  .meta-glass-card {
    padding: 0.75rem 0.95rem !important;
    border-radius: 12px !important;
    gap: 0.75rem !important;
  }
  .meta-glass-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 0.88rem !important;
  }
  .meta-glass-label {
    font-size: 0.68rem !important;
  }
  .meta-glass-value {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
  }
  .content-section,
  .gallery-section,
  .project-sidebar-card {
    padding: 1.25rem;
    border-radius: 14px;
  }
  .thumbnail-container {
    grid-template-columns: 1fr;
  }
  .thumbnail-item {
    height: 190px;
  }
  .share-bar-container {
    margin: 1rem 0 1.25rem 0;
  }
  .share-bar-card {
    width: auto;
    max-width: 100%;
    border-radius: 50px;
    flex-direction: row;
    padding: 0.45rem 0.95rem;
    gap: 0.45rem;
  }
  .share-bar-label {
    font-size: 0.78rem;
  }
  .share-btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .sidebar-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .sidebar-value {
    text-align: left;
  }
}

/* 4. NEWS & EVENTS LISTING (.content-grid, .content-card) */
.content-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.75rem !important;
  margin-bottom: 2.5rem;
}

@media (max-width: 991.98px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .content-grid {
    grid-template-columns: 1fr !important;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .content-grid {
    max-width: 100%;
  }
}

.content-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
  border-color: rgba(47, 168, 79, 0.4);
}

.content-image {
  width: 100%;
  height: 215px;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.content-image-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content-image.has-default-logo {
  background: #ffffff !important;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-image img.default-logo-img {
  object-fit: contain !important;
  padding: 1.5rem !important;
  background: #ffffff !important;
}

.content-card:hover .content-image img {
  transform: scale(1.05);
}

.content-type,
.content-badge-wrap {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  pointer-events: none;
}

.type-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.32rem 0.75rem;
  border-radius: 50px;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: auto;
}

.type-news {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.type-event {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.category-badge {
  display: none !important;
}

.content-body {
  padding: 1.4rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.content-meta,
.content-card .content-meta {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  font-size: 0.82rem !important;
  color: #64748b !important;
  margin-bottom: 0.75rem !important;
  flex-wrap: wrap !important;
}

.content-meta .meta-item,
.content-card .content-meta .meta-item {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.35rem !important;
  white-space: nowrap !important;
}

.content-meta .meta-item i,
.content-card .content-meta .meta-item i {
  color: #2fa84f !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
  display: inline-block !important;
}

.content-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500 !important;
  color: #0f172a;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.content-title a {
  color: #0f172a;
  font-weight: 500 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.content-title a:hover {
  color: #2fa84f;
}

/* Strict justified excerpt requirement */
.content-excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  text-align: justify !important;
  text-justify: inter-word !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.2em;
}

.content-footer {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.read-more-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: #148f41;
  background: #f0fdf4;
  border: 1px solid rgba(47, 168, 79, 0.22);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.read-more-btn:hover {
  background: #2fa84f;
  color: #ffffff;
  border-color: #2fa84f;
  gap: 0.65rem;
  box-shadow: 0 4px 12px rgba(47, 168, 79, 0.25);
  transform: translateY(-1px);
}

.read-more-btn i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.read-more-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .content-meta,
  .content-card .content-meta {
    flex-direction: row !important;
    align-items: center !important;
  }
  .content-meta .meta-item,
  .content-card .content-meta .meta-item {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
}

@media (max-width: 575.98px) {
  .news-search-wrapper {
    margin-bottom: 1.15rem !important;
  }
  .news-search-input {
    padding: 0.6rem 2.2rem 0.6rem 2.5rem !important;
    font-size: 0.86rem !important;
  }
  .news-search-icon {
    left: 0.95rem !important;
    font-size: 0.85rem !important;
  }
  .type-filter {
    gap: 0.4rem !important;
    margin-bottom: 1.25rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .type-filter .filter-btn {
    padding: 0.42rem 0.75rem !important;
    font-size: 0.8rem !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
  .type-filter .filter-btn .filter-count {
    padding: 0.1rem 0.45rem !important;
    font-size: 0.68rem !important;
    min-width: 18px !important;
  }
  .content-card {
    border-radius: 14px;
    max-width: 100% !important;
  }
  .content-body {
    padding: 1.15rem 1rem 1rem !important;
  }
  .content-image {
    height: 195px !important;
  }
  .content-meta,
  .content-card .content-meta {
    gap: 0.75rem !important;
    font-size: 0.8rem !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  .content-meta .meta-item,
  .content-card .content-meta .meta-item {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
  .content-title {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    min-height: auto !important;
    line-height: 1.4 !important;
  }
  .content-title a {
    font-weight: 500 !important;
  }
  .content-excerpt {
    font-size: 0.86rem !important;
    min-height: auto !important;
    margin-bottom: 1rem !important;
  }
  .read-more-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.5rem !important;
  }
  .content-footer {
    justify-content: stretch !important;
  }
}

/* 5. EVENT DETAILS SIDEBAR & ARTICLE LAYOUT */
.event-hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1.25rem auto;
}

@media (min-width: 992px) {
  .event-details-sidebar {
    position: sticky;
    top: 90px;
    z-index: 10;
  }
}

.article-featured-image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.article-featured-image-wrap.has-default-logo {
  background: #ffffff !important;
}

.article-featured-image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-featured-image.default-logo-img {
  max-height: 280px;
  object-fit: contain !important;
  padding: 2.25rem !important;
  background: #ffffff !important;
}

.thumbnail-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.thumbnail-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f8fafc;
}

.thumbnail-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #2fa84f;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.thumbnail-item:hover .thumbnail-image {
  transform: scale(1.06);
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
  font-size: 1.25rem;
}

.thumbnail-item:hover .thumbnail-overlay {
  opacity: 1;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
}

.latest-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 640px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.latest-events-list::-webkit-scrollbar {
  width: 4px;
}

.latest-events-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.latest-event-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  background: #ffffff;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.latest-event-item:hover {
  background: #f0fdf4;
  border-color: rgba(47, 168, 79, 0.25);
  transform: translateX(3px);
  color: #0f172a;
}

.latest-event-img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 10px;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease;
}

.latest-event-img.default-logo-img {
  object-fit: contain !important;
  padding: 0.35rem !important;
  background: #ffffff !important;
}

.latest-event-item:hover .latest-event-img {
  transform: scale(1.05);
}

.latest-event-content {
  flex-grow: 1;
  min-width: 0;
}

.latest-event-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500 !important;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.latest-event-item:hover .latest-event-title {
  color: #148f41;
}

.latest-event-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.latest-event-date {
  font-size: 0.74rem;
  color: #64748b;
}

.badge-subtle-type {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

.badge-subtle-type.type-event {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.badge-subtle-type.type-news {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

.event-cta-card {
  background: linear-gradient(135deg, rgba(20, 143, 65, 0.05), rgba(47, 168, 79, 0.08));
  border: 1px solid rgba(47, 168, 79, 0.2);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .article-featured-image {
    max-height: 240px;
  }
  .article-featured-image.default-logo-img {
    max-height: 200px;
    padding: 1.5rem !important;
  }
  .thumbnail-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .latest-event-img {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }
  .latest-event-title {
    font-size: 0.84rem;
  }
}

.article-share-strip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.lightbox-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.08);
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .article-share-strip {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
  }
  .article-share-strip .share-buttons-container {
    width: 100%;
    justify-content: flex-start;
  }
}

/* 6. VOLUNTEER FORM & PORTAL STYLES */
.volunteer-form-section {
  background: linear-gradient(180deg, #f8fdf9 0%, #ffffff 100%);
  padding: 2.5rem 0 4rem;
  position: relative;
}

.volunteer-section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.volunteer-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(47, 168, 79, 0.12);
  color: var(--brand-dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.volunteer-section-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-forest-dark);
  margin-bottom: 0.5rem;
}

.volunteer-section-desc {
  color: #526759;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.volunteer-feature-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(47, 168, 79, 0.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  padding: 1.65rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.volunteer-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-dark-green), var(--brand-green));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.volunteer-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 143, 65, 0.12);
  border-color: rgba(47, 168, 79, 0.45);
}

.volunteer-feature-card:hover::before {
  opacity: 1;
}

.volunteer-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 168, 79, 0.12), rgba(20, 143, 65, 0.22));
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.volunteer-feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-forest-dark);
  margin-bottom: 0.5rem;
}

.volunteer-feature-text {
  color: #55695b;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.volunteer-form-card {
  background: var(--brand-white);
  border-radius: 20px;
  border: 1px solid rgba(47, 168, 79, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 2.75rem 2.25rem;
  position: relative;
}

.volunteer-form-card-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #edf4ee;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.volunteer-form-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-forest-dark);
  margin-bottom: 0.25rem;
}

.volunteer-form-card-subtitle {
  color: #617767;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.volunteer-time-estimate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f0f7f2;
  color: var(--brand-dark-green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  border: 1px solid #d5e9d9;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #edf4ee;
}

.form-section-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(20, 143, 65, 0.25);
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--brand-forest-dark);
  margin: 0;
  border: none;
  padding: 0;
  display: block;
}

.form-section-subtitle {
  font-size: 0.82rem;
  color: #718476;
  margin: 0.15rem 0 0 0;
}

.volunteer-form-card .form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #243b2a;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.volunteer-form-card .form-control,
.volunteer-form-card .form-select {
  font-size: 0.92rem;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  border: 1.5px solid #d9e5db;
  background-color: #fafcfb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.volunteer-form-card .form-control:focus,
.volunteer-form-card .form-select:focus {
  background-color: #ffffff;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.15);
  outline: none;
}

.volunteer-form-card textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

.skills-grid-wrapper {
  background: #f7faf8;
  border: 1px solid #d9e8dc;
  border-radius: 14px;
  padding: 1.25rem;
}

.skills-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid #cbe0d0;
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #2b3e32;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  margin: 0;
}

.skill-chip:hover {
  border-color: var(--brand-green);
  background: #f0f9f2;
  color: var(--brand-dark-green);
}

.skill-chip.active {
  background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green));
  border-color: var(--brand-dark-green);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(20, 143, 65, 0.28);
}

.skill-chip-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #a4c7ab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  color: transparent;
  transition: all 0.2s ease;
}

.skill-chip.active .skill-chip-check {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--brand-dark-green);
}

.volunteer-upload-box {
  background: #f9fcf9;
  border: 1.5px dashed #b9d8bf;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.volunteer-upload-box:hover {
  border-color: var(--brand-green);
  background: #f2faf4;
}

.upload-box-icon {
  font-size: 1.6rem;
  color: var(--brand-dark-green);
  margin-bottom: 0.4rem;
}

.upload-box-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-forest-dark);
  margin-bottom: 0.2rem;
}

.upload-box-desc {
  font-size: 0.78rem;
  color: #657a6b;
  margin-bottom: 0.85rem;
}

.volunteer-upload-box .form-control {
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  background: #ffffff;
}

.volunteer-declaration-card {
  background: #f4faf5;
  border: 1.5px solid #cce5d2;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
}

.volunteer-declaration-card .form-check-label {
  font-size: 0.88rem;
  color: #2b3e32;
  line-height: 1.55;
}

.btn-volunteer-submit {
  background: linear-gradient(135deg, var(--brand-dark-green) 0%, var(--brand-green) 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2.85rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 20px rgba(20, 143, 65, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
}

.btn-volunteer-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20, 143, 65, 0.5);
  color: #ffffff !important;
}

.btn-volunteer-submit:disabled {
  opacity: 0.75;
  transform: none;
}

.volunteer-sidebar {
  position: sticky;
  top: 100px;
}

.volunteer-sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(47, 168, 79, 0.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-forest-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #edf4ee;
}

.sidebar-card-title i {
  color: var(--brand-dark-green);
}

.volunteer-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.volunteer-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  background: #d6e8da;
}

.timeline-item {
  position: relative;
  padding-left: 36px;
  margin-bottom: 1.15rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 6px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--brand-green);
  box-shadow: 0 0 0 2px rgba(47, 168, 79, 0.15);
}

.timeline-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-forest-dark);
  margin-bottom: 0.15rem;
}

.timeline-desc {
  font-size: 0.8rem;
  color: #617767;
  line-height: 1.4;
  margin: 0;
}

.code-conduct-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.code-conduct-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #425848;
  line-height: 1.45;
}

.code-conduct-item i {
  color: var(--brand-green);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.skill-chip {
  max-width: 100%;
}

.skill-chip-text {
  white-space: normal;
  word-break: break-word;
}

.declaration-check .form-check-input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .volunteer-sidebar {
    position: static;
    margin-top: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  /* Form & Submit Button Mobile Optimization */
  .volunteer-form-card {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
  }
  .volunteer-form-card-header {
    margin-bottom: 1.25rem;
  }
  .volunteer-form-card-title {
    font-size: 1.25rem;
  }
  .volunteer-feature-card {
    padding: 1.25rem 1.1rem;
  }
  .volunteer-feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  .form-section-header {
    gap: 0.75rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
  }
  .form-section-title {
    font-size: 1.05rem;
  }
  .form-section-badge {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .btn-volunteer-submit {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.88rem 1.25rem !important;
    font-size: 0.94rem !important;
    white-space: nowrap !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 575.98px) {
  .volunteer-form-section {
    padding: 1.25rem 0 2.5rem;
  }
  .volunteer-section-intro {
    margin-bottom: 1.75rem;
  }
  .volunteer-section-heading {
    font-size: 1.35rem;
  }
  .volunteer-section-desc {
    font-size: 0.88rem;
  }
  .volunteer-form-card {
    padding: 1.25rem 0.85rem;
    border-radius: 14px;
  }
  .volunteer-form-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .volunteer-time-estimate {
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }
  .skills-grid-wrapper {
    padding: 0.75rem 0.65rem;
  }
  .skill-chip {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
  .volunteer-upload-box {
    padding: 1rem 0.75rem;
  }
  .upload-box-icon {
    font-size: 1.4rem;
  }
  .upload-box-title {
    font-size: 0.86rem;
  }
  .upload-box-desc {
    font-size: 0.74rem;
    margin-bottom: 0.65rem;
  }
  .volunteer-declaration-card {
    padding: 1rem 0.85rem;
  }
  .volunteer-declaration-card .form-check-label {
    font-size: 0.82rem;
  }
  .volunteer-sidebar-card {
    padding: 1.15rem 1rem;
    border-radius: 14px;
  }
  .sidebar-card-title {
    font-size: 0.98rem;
  }
}

@media (max-width: 390px) {
  .btn-volunteer-submit {
    font-size: 0.86rem !important;
    padding: 0.82rem 0.65rem !important;
    gap: 0.45rem !important;
  }
}

@media (max-width: 330px) {
  .btn-volunteer-submit {
    font-size: 0.8rem !important;
    padding: 0.75rem 0.4rem !important;
  }
}

/* 7. CONTACT PAGE STYLES */
.contact-container {
  margin-bottom: 3rem;
}

.contact-form-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  height: auto;
}

.contact-form-card .form-header h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 0.35rem;
}

.contact-form-card .form-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.info-card,
.map-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.info-header,
.map-header {
  background: linear-gradient(135deg, var(--brand-dark-green) 0%, var(--brand-green) 100%);
  color: var(--brand-white);
  padding: 1rem 1.5rem;
}

.info-header h3,
.map-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  margin: 0;
  color: var(--brand-white);
}

.info-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-surface-tint);
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(47, 168, 79, 0.2);
}

.info-text h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 0.25rem;
}

.info-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.map-container {
  padding: 0;
}

.map-container iframe {
  display: block;
  border: none;
}

/* ==========================================================================
   PHASE 5.1: ORGANIZATIONAL PROFILE & GOVERNANCE COMPONENT STYLES
   ========================================================================== */

/* --- Batch 1 Unified Hero Banners --- */
.profile-hero,
.teams-hero,
.awards-hero,
.partners-hero,
.member-details-hero {
  background: linear-gradient(135deg, var(--brand-forest) 0%, var(--brand-forest-dark) 100%) !important;
  color: var(--brand-white) !important;
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem 2.5rem 2.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 2.5rem !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 61, 31, 0.12);
  border: 1px solid rgba(47, 168, 79, 0.25);
  text-align: center;
}

.profile-hero::before,
.teams-hero::before,
.awards-hero::before,
.partners-hero::before,
.member-details-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Profile Page (profile.php) - Premium Editorial Redesign --- */
.profile-page-main {
  background: #f8fafc;
  min-height: calc(100vh - 400px);
}

.profile-toc-nav {
  background: var(--brand-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.profile-toc-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.profile-toc-link:hover,
.profile-toc-link:focus {
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green);
  transform: translateY(-1px);
}

.profile-article-wrapper {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 3rem 3rem;
  margin-bottom: 2rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991.98px) {
  .profile-article-wrapper {
    padding: 2.25rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .profile-article-wrapper {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }
}

.profile-section {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #edf2f7;
  scroll-margin-top: 110px;
}

.profile-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.profile-section-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.profile-section-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(20, 143, 65, 0.12) 0%, rgba(47, 168, 79, 0.18) 100%);
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(47, 168, 79, 0.25);
  box-shadow: 0 4px 12px rgba(47, 168, 79, 0.1);
}

.profile-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin: 0;
  line-height: 1.3;
}

.profile-lead-card {
  background: linear-gradient(135deg, rgba(47, 168, 79, 0.05) 0%, rgba(20, 143, 65, 0.02) 100%);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.35rem 1.6rem;
  margin-bottom: 1.75rem;
}

.profile-lead-card p {
  font-size: 1.12rem;
  font-weight: var(--fw-medium);
  color: #1e293b;
  line-height: 1.9;
  margin: 0;
}

.profile-body-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.9;
  color: #334155;
  margin-bottom: 1.35rem;
}

.profile-body-text p {
  margin-bottom: 1.25rem;
}

.profile-body-text p:last-child {
  margin-bottom: 0;
}

/* River Badges */
.river-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem 0;
}

.river-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f0fdf4;
  color: var(--brand-dark-green);
  border: 1px solid rgba(47, 168, 79, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  font-size: 0.92rem;
  font-weight: var(--fw-semibold);
  transition: all var(--transition-fast);
}

.river-pill:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

/* Brand Items & Products (Matching Reference Design) */
.article-items {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 0.95rem 1.25rem;
  background: #f8fdf9;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-primary);
  border-top: 1px solid #e8f5e9;
  border-right: 1px solid #e8f5e9;
  border-bottom: 1px solid #e8f5e9;
  transition: all var(--transition-fast);
}

.article-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(47, 168, 79, 0.08);
  background: #ffffff;
}

.item-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.item-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.25rem;
}

.item-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* Article Quote Card */
.article-quote {
  padding: 1.15rem 1.35rem;
  margin: 1.25rem 0;
  background: #f8fdf9;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-primary);
  border-top: 1px solid #e8f5e9;
  border-right: 1px solid #e8f5e9;
  border-bottom: 1px solid #e8f5e9;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-quote i {
  color: var(--brand-primary);
  font-size: 1.6rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.article-quote p {
  margin: 0;
  color: var(--brand-dark-green);
  font-style: italic;
  font-weight: var(--fw-bold);
  font-size: 1.12rem;
  line-height: 1.65;
}

/* Article Images Showcase (Right Column) */
.article-images {
  text-align: center;
}

.article-image {
  margin-bottom: 1.25rem;
  background: #ffffff;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.article-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-image img {
  max-width: 200px;
  max-height: 270px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  display: block;
  transition: transform var(--transition-fast);
}

.article-image:hover img {
  transform: scale(1.02);
}

.image-caption {
  text-align: center;
  padding-top: 0.5rem;
}

.image-caption small {
  color: #64748b;
  font-size: 0.88rem;
  font-style: italic;
}

.profile-book-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--brand-green);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-top: 0.65rem;
  box-shadow: 0 4px 12px rgba(47, 168, 79, 0.25);
}

.profile-book-download-btn:hover {
  background: var(--brand-dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 143, 65, 0.35);
}

/* Questions / Dream Section */
.vision-questions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.vision-question-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.vision-question-card:hover {
  border-color: var(--brand-primary);
  background: #fafffb;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(47, 168, 79, 0.1);
}

.vision-question-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: var(--radius-circle);
  background: rgba(225, 29, 72, 0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 2px;
}

.vision-question-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  color: #1e293b;
  line-height: 1.7;
  margin: 0;
}

/* Founder Portrait Card */
.founder-profile-card {
  background: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.founder-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 168, 79, 0.35);
}

.founder-profile-img-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 1.25rem auto;
}

.founder-profile-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 4px solid var(--brand-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.founder-verified-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-circle);
  background: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 0.25rem;
}

.founder-title {
  color: var(--brand-accent);
  font-size: 0.92rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.85rem;
}

.founder-quote-tag {
  font-size: 0.88rem;
  color: #64748b;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

/* Founding & Objectives */
.objectives-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.objectives-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.objective-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #edf2f7;
  transition: all var(--transition-fast);
}

.objective-item:hover {
  background: #f0fdf4;
  border-color: rgba(47, 168, 79, 0.3);
  transform: translateY(-2px);
}

.objective-item i {
  color: var(--brand-primary);
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.objective-item span {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
  font-weight: var(--fw-medium);
}

/* Early Initiatives Cards */
.initiative-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.initiative-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  border-color: rgba(47, 168, 79, 0.4);
}

.initiative-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.15rem auto;
  border-radius: var(--radius-circle);
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: all var(--transition-fast);
}

.initiative-card:hover .initiative-icon {
  background: var(--brand-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.initiative-card h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 0.5rem;
}

.initiative-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Current Activities - 6 Core Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.35rem;
  margin: 1.75rem 0;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-dark-green));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 168, 79, 0.35);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.pillar-num {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #e11d48;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hind Siliguri', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.32);
  flex-shrink: 0;
  border: 2px solid #ffffff;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin: 0;
  line-height: 1.35;
}

.pillar-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pillar-points li {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #475569;
  position: relative;
  padding-left: 1.35rem;
}

.pillar-points li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.78rem;
  color: var(--brand-primary);
  position: absolute;
  left: 0;
  top: 3px;
}

.pillar-summary-box {
  background: linear-gradient(135deg, rgba(20, 143, 65, 0.07) 0%, rgba(47, 168, 79, 0.03) 100%);
  border-left: 4px solid var(--brand-dark-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.pillar-summary-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-summary-box p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1e293b;
  margin: 0;
}

/* Future Vision Section */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.vision-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.vision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
  border-color: rgba(47, 168, 79, 0.35);
}

.vision-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.vision-text-box h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 0.35rem;
}

.vision-text-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Conclusion Triad */
.conclusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.conclusion-col {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-primary);
  padding: 1.6rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.conclusion-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.conclusion-col:nth-child(2) {
  border-top-color: var(--brand-accent);
}

.conclusion-col:nth-child(3) {
  border-top-color: #0284c7;
}

.conclusion-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.conclusion-header i {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.conclusion-col:nth-child(2) .conclusion-header i {
  background: rgba(225, 29, 72, 0.1);
  color: var(--brand-accent);
}

.conclusion-col:nth-child(3) .conclusion-header i {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

.conclusion-header h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin: 0;
}

.conclusion-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
  margin: 0;
  text-align: justify;
}

/* Final Call To Action Banner */
.final-message-banner {
  background: linear-gradient(135deg, #0e5c2b 0%, #148F41 50%, #166534 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(20, 143, 65, 0.25);
  margin-top: 2.5rem;
}

.final-message-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.final-message-banner::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-circle);
  background: rgba(47, 168, 79, 0.2);
  pointer-events: none;
}

.final-message-banner h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: var(--fw-extrabold);
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.final-message-banner p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 780px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.75;
  color: #e2e8f0;
  position: relative;
  z-index: 1;
}

.final-cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.btn-profile-cta-primary {
  background: #ffffff;
  color: var(--brand-dark-green) !important;
  font-weight: var(--fw-bold);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-profile-cta-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-profile-cta-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-weight: var(--fw-semibold);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-profile-cta-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile & Tablet Optimizations */
@media (max-width: 991.98px) {
  .profile-section-header {
    gap: 0.85rem;
  }

  .profile-section-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .final-message-banner {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .profile-section {
    padding-bottom: 2.25rem;
    margin-bottom: 2.25rem;
  }

  .profile-lead-card {
    padding: 1rem 1.15rem;
  }

  .profile-lead-card p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .profile-body-text {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .branding-quote-box {
    padding: 1.15rem 1.25rem;
    gap: 0.85rem;
  }

  .branding-quote-icon {
    font-size: 1.6rem;
  }

  .branding-quote-text {
    font-size: 1.05rem;
  }

  .founder-profile-card {
    margin-top: 1.5rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .conclusion-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-profile-cta-primary,
  .btn-profile-cta-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .profile-section-header {
    flex-direction: row;
    align-items: center;
  }

  .brand-products-grid {
    grid-template-columns: 1fr;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .objectives-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Teams & Leadership (our_teams.php) --- */
/* Team Page Header (Scoped to prevent inline-block collision) */
.team-page-header {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 2.75rem;
}

.team-main-heading {
  display: block;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: var(--fw-bold, 700);
  color: var(--brand-dark-green, #148F41);
  margin: 0.5rem auto;
  line-height: 1.3;
}

.team-main-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary, #475569);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

.team-type-section {
  margin-bottom: 3.5rem;
}

.team-type-header {
  text-align: center;
  margin-bottom: 2.25rem;
  position: relative;
}

.team-type-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: var(--fw-extrabold);
  color: var(--brand-dark-green);
  margin-bottom: 0.5rem;
}

.team-type-description {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 1rem auto;
  font-size: 0.95rem;
}

.team-type-divider {
  width: 50px;
  height: 3px;
  background: var(--brand-primary);
  margin: 0.75rem auto 0 auto;
  border-radius: var(--radius-pill);
}

.team-card-modern {
  background: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.team-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(10, 61, 31, 0.12);
  border-color: rgba(47, 168, 79, 0.35);
}

/* Founder Spotlight Card (Single Row) */
.team-card-founder {
  background: var(--brand-white, #ffffff);
  border: 1px solid rgba(47, 168, 79, 0.3);
  box-shadow: 0 10px 30px rgba(20, 143, 65, 0.08);
  border-radius: var(--radius-lg, 16px);
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.team-card-founder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary, #2FA84F), var(--brand-dark-green, #148F41));
}

/* 7-in-a-row multi-column grid layout for all other member types */
.teams-grid-7 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
  width: 100%;
}

.teams-grid-7 > .team-card-compact {
  flex: 0 0 calc((100% - (6 * 1.15rem)) / 7);
  max-width: calc((100% - (6 * 1.15rem)) / 7);
  min-width: 135px;
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .teams-grid-7 {
    gap: 0.85rem;
  }
  .teams-grid-7 > .team-card-compact {
    flex: 0 0 calc((100% - (6 * 0.85rem)) / 7);
    max-width: calc((100% - (6 * 0.85rem)) / 7);
    padding: 1.1rem 0.5rem 0.85rem 0.5rem;
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .teams-grid-7 {
    gap: 1rem;
  }
  .teams-grid-7 > .team-card-compact {
    flex: 0 0 calc((100% - (4 * 1rem)) / 5);
    max-width: calc((100% - (4 * 1rem)) / 5);
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .teams-grid-7 {
    gap: 1rem;
  }
  .teams-grid-7 > .team-card-compact {
    flex: 0 0 calc((100% - (3 * 1rem)) / 4);
    max-width: calc((100% - (3 * 1rem)) / 4);
  }
}

@media (max-width: 767.98px) and (min-width: 576px) {
  .teams-grid-7 {
    gap: 0.85rem;
  }
  .teams-grid-7 > .team-card-compact {
    flex: 0 0 calc((100% - (2 * 0.85rem)) / 3);
    max-width: calc((100% - (2 * 0.85rem)) / 3);
  }
}

@media (max-width: 575.98px) {
  .teams-grid-7 {
    gap: 0.75rem;
  }
  .teams-grid-7 > .team-card-compact {
    flex: 0 0 calc((100% - 0.75rem) / 2);
    max-width: calc((100% - 0.75rem) / 2);
  }
}

/* Compact Team Card for High-Density 7-in-a-Row */
.team-card-compact {
  background: var(--brand-white, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 14px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.25rem 0.65rem 1rem 0.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast, 0.25s ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.team-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(20, 143, 65, 0.12);
  border-color: rgba(47, 168, 79, 0.4);
}

.team-compact-avatar-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(47, 168, 79, 0.35), rgba(20, 143, 65, 0.1));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform var(--transition-fast, 0.25s ease);
}

.team-card-compact:hover .team-compact-avatar-wrap {
  transform: scale(1.05);
}

.team-compact-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #f1f5f9;
}

.team-compact-info {
  width: 100%;
  margin-bottom: 0.5rem;
}

.team-compact-name {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.92rem;
  font-weight: var(--fw-bold, 700);
  color: var(--brand-dark-green, #148F41);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  transition: color var(--transition-fast, 0.2s ease);
}

.team-card-compact:hover .team-compact-name {
  color: var(--brand-green, #2FA84F);
}

.team-compact-designation {
  font-size: 0.78rem;
  font-weight: var(--fw-medium, 500);
  color: #475569;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.team-compact-org {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.25;
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-compact-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color, #f1f5f9);
}

.team-compact-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.team-compact-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: #f1f5f9;
  color: #64748b;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
}

.team-compact-social-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  transform: translateY(-2px);
}

.team-compact-profile-btn {
  font-size: 0.76rem;
  font-weight: var(--fw-semibold, 600);
  padding: 0.28rem 0.65rem;
  transition: all var(--transition-fast, 0.2s ease);
  color: var(--brand-dark-green, #148F41);
  border-color: rgba(47, 168, 79, 0.35);
}

.team-compact-profile-btn:hover {
  background: var(--brand-dark-green, #148F41);
  border-color: var(--brand-dark-green, #148F41);
  color: #ffffff !important;
}

.team-nav-pill {
  transition: all var(--transition-fast, 0.2s ease);
  font-size: 0.85rem;
}

.team-nav-pill:hover,
.team-nav-pill.active {
  background: var(--brand-dark-green, #148F41) !important;
  border-color: var(--brand-dark-green, #148F41) !important;
  color: #ffffff !important;
}

.team-avatar-box {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem auto;
  border-radius: var(--radius-circle);
  padding: 4px;
  background: linear-gradient(135deg, rgba(47, 168, 79, 0.3), rgba(20, 143, 65, 0.1));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-circle);
  object-fit: cover;
  display: block;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.team-member-designation {
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  min-height: 2.6em;
}

.team-member-org {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.team-social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.team-social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-circle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: #f1f5f9;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.team-social-btn:hover {
  background: var(--brand-dark-green);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.team-view-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark-green) 100%);
  color: var(--brand-white) !important;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
  box-shadow: 0 4px 10px rgba(20, 143, 65, 0.2);
  margin-top: auto;
}

.team-view-profile-btn:hover {
  background: linear-gradient(135deg, var(--brand-dark-green) 0%, #0a3d1f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(20, 143, 65, 0.3);
}

/* --- Team Details (teams_details.php) --- */
.member-profile-card-modern {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 767.98px) {
  .member-profile-card-modern {
    padding: 1.5rem 1.25rem;
  }
}

.member-sidebar-card {
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.member-detail-avatar {
  width: 170px;
  height: 170px;
  border-radius: var(--radius-circle);
  margin: 0 auto 1.25rem auto;
  border: 4px solid var(--brand-white);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  display: block;
}

.member-contact-list {
  text-align: left;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.member-contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.member-contact-row:last-child {
  margin-bottom: 0;
}

.member-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.member-contact-text h6 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0;
}

.member-contact-text a {
  font-size: 0.92rem;
  font-weight: var(--fw-medium);
  color: var(--brand-dark-green);
  text-decoration: none;
  word-break: break-all;
}

.member-contact-text a:hover {
  text-decoration: underline;
}

/* Member Navigation Cards (teams_details.php) */
.member-main-content {
  height: auto !important;
  min-height: unset !important;
  position: relative;
  overflow: visible;
}

.member-pagination-box {
  width: 100%;
  position: relative;
  clear: both;
}

.member-nav-btn {
  transition: all var(--transition-fast, 0.2s ease);
  min-height: 64px;
}

.member-nav-btn:hover:not(.pe-none) {
  border-color: rgba(47, 168, 79, 0.45) !important;
  box-shadow: 0 4px 14px rgba(20, 143, 65, 0.1) !important;
  transform: translateY(-2px);
  background: #ffffff !important;
}

.member-nav-btn .member-nav-info {
  min-width: 0;
  flex: 1 1 auto;
}

@media (max-width: 767.98px) {
  .member-nav-btn {
    min-height: 48px;
    padding: 0.5rem 0.75rem !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   AWARDS & RECOGNITION (awards.php) - EXECUTIVE UPGRADE
   ========================================================================== */

/* Section Titles & Heading Underline */
.awards-container {
  background: var(--bg-page, #f8fafc);
  position: relative;
}

.section-title-wrap {
  position: relative;
}

.section-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--brand-dark-green);
  font-weight: var(--fw-bold);
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-dark-green));
  border-radius: var(--radius-pill);
  margin-top: 1rem;
}

/* Governance Highlights Cards */
.governance-feature-card {
  background: var(--brand-white);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
  height: 100%;
}

.governance-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 143, 65, 0.08);
  border-color: rgba(47, 168, 79, 0.35);
}

.gov-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* Modern Award Cards */
.awards-grid-modern {
  margin-bottom: 3.5rem;
}

.award-card-modern {
  background: var(--brand-white);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
}

.award-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 61, 31, 0.12);
  border-color: rgba(47, 168, 79, 0.4);
}

/* Award Image Header Box */
.award-img-box {
  position: relative;
  height: 240px;
  width: 100%;
  overflow: hidden;
  background: #f1f5f9;
}

.award-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
  display: block;
}

.award-card-modern:hover .award-img-box img {
  transform: scale(1.06);
}

.award-verified-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--brand-dark-green);
  border: 1px solid rgba(47, 168, 79, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

.award-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 61, 31, 0.7);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 3;
}

.award-card-modern:hover .award-img-overlay {
  opacity: 1;
}

.award-preview-btn {
  background: var(--brand-white);
  color: var(--brand-dark-green);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: var(--fw-bold);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.award-card-modern:hover .award-preview-btn {
  transform: translateY(-2px);
}

/* Card Body */
.award-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.award-title-text {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: var(--fw-bold);
  color: var(--brand-dark-green);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.award-card-modern:hover .award-title-text {
  color: var(--brand-green);
}

.award-desc-text {
  font-size: 0.92rem;
  color: var(--text-secondary, #475569);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.award-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-dark-green);
  background: rgba(47, 168, 79, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.award-card-footer {
  border-top: 1px solid var(--border-color, #f1f5f9);
}

.btn-open-award {
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  transition: all var(--transition-fast);
}

.btn-open-award:hover {
  background: var(--brand-dark-green);
  border-color: var(--brand-dark-green);
  color: #ffffff;
}

/* Lightbox Modernization */
.award-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  max-width: 1050px;
  max-height: 90vh;
  margin: 5vh auto;
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 10001;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-circle);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10003;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--brand-red, #e11d48);
  border-color: var(--brand-red, #e11d48);
  color: #ffffff;
  transform: rotate(90deg);
}

.lightbox-body {
  display: flex;
  flex-grow: 1;
  height: 68vh;
  overflow: hidden;
}

.lightbox-image-container {
  flex: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f8fafc;
  border-right: 1px solid var(--border-color, #e2e8f0);
}

.lightbox-image {
  max-width: 100%;
  max-height: 52vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.lightbox-info {
  flex: 1;
  padding: 2.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.lightbox-title {
  color: var(--brand-dark-green);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: var(--fw-bold);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.lightbox-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #475569;
}

.lightbox-description {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 1rem;
}

.lightbox-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.nav-btn {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1.5px solid var(--brand-dark-green);
  color: var(--brand-dark-green);
  border-radius: var(--radius-circle);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.nav-btn:hover:not(:disabled) {
  background: var(--brand-dark-green);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 143, 65, 0.25);
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #cbd5e1;
  color: #94a3b8;
}

/* Lightbox Mobile Adjustments */
@media (max-width: 991.98px) {
  .lightbox-body {
    flex-direction: column;
    height: auto;
    max-height: 75vh;
    overflow-y: auto;
  }
  .lightbox-image-container {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 1.5rem;
  }
  .lightbox-image {
    max-height: 38vh;
  }
  .lightbox-info {
    padding: 1.5rem;
  }
}

/* --- Institutional Partners (partners.php) --- */
.partner-filter-bar {
  margin-bottom: 2rem;
}

.partner-filter-pills-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.partner-filter-pills {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--brand-white, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.35rem 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.partner-filter-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  transition: all var(--transition-fast, 0.2s ease);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.partner-filter-btn:hover {
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.08);
}

.partner-filter-btn.active {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(20, 143, 65, 0.25);
}

.partner-filter-btn.active .badge {
  background: #ffffff !important;
  color: var(--brand-dark-green, #148F41) !important;
}

.partners-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.partner-card-modern {
  background: var(--brand-white, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 1.75rem;
  transition: all var(--transition-normal, 0.3s ease);
  position: relative;
  overflow: hidden;
}

.partner-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 61, 31, 0.1);
  border-color: rgba(47, 168, 79, 0.35);
}

.partner-logo-box,
.partner-logo-box-lg {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 14px);
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast, 0.25s ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-card-modern:hover .partner-logo-box,
.partner-card-modern:hover .partner-logo-box-lg {
  transform: scale(1.02);
  border-color: rgba(47, 168, 79, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.partner-logo-box img,
.partner-logo-img-lg {
  max-height: 150px;
  max-width: 90%;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast, 0.25s ease);
}

.partner-card-modern:hover .partner-logo-box img,
.partner-card-modern:hover .partner-logo-img-lg {
  transform: scale(1.04);
}

.partner-name-text {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.partner-desc-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* Category Badge Variants */
.badge-ngo {
  background: rgba(47, 168, 79, 0.12) !important;
  color: var(--brand-dark-green, #148F41) !important;
  border: 1px solid rgba(47, 168, 79, 0.25) !important;
}

.badge-academic {
  background: rgba(14, 116, 144, 0.12) !important;
  color: #0e7490 !important;
  border: 1px solid rgba(14, 116, 144, 0.25) !important;
}

.badge-community {
  background: rgba(217, 119, 6, 0.12) !important;
  color: #b45309 !important;
  border: 1px solid rgba(217, 119, 6, 0.25) !important;
}

.badge-others {
  background: rgba(100, 116, 139, 0.12) !important;
  color: #475569 !important;
  border: 1px solid rgba(100, 116, 139, 0.25) !important;
}

.partner-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark-green, #148F41) !important;
  background: var(--brand-white, #ffffff);
  border: 1.5px solid var(--brand-primary, #2FA84F);
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
}

.partner-link-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 143, 65, 0.2);
}

.become-partner-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.become-partner-card:hover {
  box-shadow: 0 20px 45px rgba(20, 143, 65, 0.25) !important;
}

.become-partner-card h2 {
  color: #ffffff !important;
}

.become-partner-card small {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
}

.become-partner-card p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.05rem !important;
}

.become-partner-card .partner-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  background: #ffffff !important;
  color: #148F41 !important;
  border: 2px solid #ffffff !important;
  padding: 0.85rem 2rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.become-partner-card .partner-cta-btn:hover {
  background: #f0fdf4 !important;
  color: #0a3d1f !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 991.98px) {
  .partner-logo-box,
  .partner-logo-box-lg {
    height: 180px;
  }
  .partner-logo-box img,
  .partner-logo-img-lg {
    max-height: 135px;
  }
  .partner-card-modern {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .partners-container {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .partner-card-modern {
    padding: 1.25rem;
    border-radius: var(--radius-lg, 16px);
  }
  .partner-logo-box,
  .partner-logo-box-lg {
    height: 160px;
    padding: 1rem;
    margin-bottom: 1.25rem !important;
  }
  .partner-logo-box img,
  .partner-logo-img-lg {
    max-height: 120px;
    max-width: 92%;
  }
  .partner-name-text {
    font-size: 1.18rem;
    line-height: 1.35;
  }
  .partner-desc-text {
    font-size: 0.92rem;
    line-height: 1.75;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
    overflow-wrap: break-word !important;
  }
  .partner-footer-bar {
    flex-direction: row;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }
  .become-partner-card {
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .partner-card-modern {
    padding: 1rem;
  }
  .partner-logo-box,
  .partner-logo-box-lg {
    height: 145px;
    padding: 0.75rem;
  }
  .partner-logo-box img,
  .partner-logo-img-lg {
    max-height: 110px;
  }
  .partner-name-text {
    font-size: 1.1rem;
  }
  .partner-desc-text {
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
    overflow-wrap: break-word !important;
  }
  .partner-footer-bar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .partner-footer-bar > div {
    display: flex;
    justify-content: center;
  }
  .partner-link-btn {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 1rem;
  }
  .become-partner-card {
    padding: 1.75rem 1.25rem !important;
    text-align: center !important;
  }
  .become-partner-card h2 {
    font-size: 1.45rem !important;
    text-align: center !important;
  }
  .become-partner-card small {
    text-align: center !important;
    font-size: 0.8rem !important;
  }
  .become-partner-card p {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    text-align: center !important;
  }
  .become-partner-card .partner-cta-btn {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    margin: 0.5rem auto 0 !important;
    font-size: 0.98rem !important;
    padding: 0.75rem 1.5rem !important;
  }
  .pagination-nav .pagination {
    gap: 3px;
    flex-wrap: wrap;
  }
  .pagination-nav .page-link {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   PHASE 5.2 BATCH 2 COMPONENT STYLES
   Pages: post_notice.php, notice_details.php, publications.php
   ========================================================================== */

/* --- Notice Board & Publications Hero Banners --- */
.notices-hero,
.notice-details-hero,
.publications-hero {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%) !important;
  color: var(--brand-white, #FFFFFF) !important;
  border-radius: var(--radius-lg, 16px);
  padding: 3rem 2.25rem 2.5rem 2.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 2.5rem !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 61, 31, 0.12);
  border: 1px solid rgba(47, 168, 79, 0.25);
  text-align: center;
}

.notices-hero::before,
.notice-details-hero::before,
.publications-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Notice Board (post_notice.php) --- */
.search-filter-section {
  display: block !important;
  width: 100% !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 2rem !important;
}

.notice-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill, 9999px);
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.notice-search-box:focus-within {
  border-color: #148f41;
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.15);
}

.notice-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.notice-search-input {
  width: 100%;
  height: 48px;
  padding: 0.5rem 110px 0.5rem 48px !important;
  border: none !important;
  background: transparent !important;
  border-radius: var(--radius-pill, 9999px) !important;
  font-size: 0.92rem;
  color: #0f172a;
  outline: none !important;
  box-shadow: none !important;
}

.notice-search-input::placeholder {
  color: #94a3b8;
}

.notice-search-clear {
  position: absolute;
  right: 105px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  text-decoration: none;
  z-index: 3;
}

.notice-search-clear:hover {
  color: #ef4444;
}

.notice-search-submit {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  height: 40px;
  padding: 0 1.35rem !important;
  border-radius: var(--radius-pill, 9999px) !important;
  background: linear-gradient(135deg, #148f41 0%, #0a3d1f 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(20, 143, 65, 0.2);
  z-index: 3;
}

.notice-search-submit:hover {
  background: linear-gradient(135deg, #0a3d1f 0%, #041f10 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(20, 143, 65, 0.3);
  color: #ffffff !important;
}

.notice-filter-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill, 9999px);
  height: 48px;
  padding: 0 0.75rem 0 1.25rem;
  transition: all 0.2s ease;
}

.notice-filter-box:focus-within {
  border-color: #148f41;
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.15);
}

.notice-filter-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  margin-bottom: 0;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.notice-filter-select {
  border: none !important;
  background-color: transparent !important;
  font-size: 0.88rem;
  font-weight: 500;
  color: #0f172a;
  padding: 0.5rem 1.75rem 0.5rem 0.25rem !important;
  cursor: pointer;
  flex: 1;
  outline: none !important;
  box-shadow: none !important;
}

.notices-table-container-modern {
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.notices-header-modern {
  display: grid;
  grid-template-columns: 80px 1fr 140px 140px 110px;
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f), var(--brand-dark-green, #148F41));
  color: #ffffff;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

.notice-card-row {
  display: grid;
  grid-template-columns: 80px 1fr 140px 140px 110px;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  transition: background-color var(--transition-fast, 0.2s ease);
}

.notice-card-row:last-child {
  border-bottom: none;
}

.notice-card-row:hover {
  background-color: #f8fafc;
}

.notice-row-serial {
  font-weight: 700;
  color: var(--brand-dark-green, #148F41);
  font-family: monospace;
  font-size: 0.95rem;
  text-align: center;
}

.notice-row-title-wrap {
  padding-right: 1rem;
}

.notice-row-title-link {
  color: #1e293b;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  line-height: 1.45;
  transition: color var(--transition-fast, 0.2s ease);
}

.notice-row-title-link:hover {
  color: var(--brand-dark-green, #148F41);
  text-decoration: underline;
}

.notice-attachment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill, 9999px);
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Universal Category Badges with High Contrast and Distinct Hues */
.type-badge,
.notices-list-modern .type-badge,
.notice-card-row .type-badge,
.notice-sidebar-card-modern .type-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  min-width: 92px;
}

/* Urgent */
.type-urgent,
.notices-list-modern .type-urgent,
.notice-card-row .type-urgent,
.notice-sidebar-card-modern .type-urgent {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fca5a5 !important;
}

/* Important */
.type-important,
.notices-list-modern .type-important,
.notice-card-row .type-important,
.notice-sidebar-card-modern .type-important {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fcd34d !important;
}

/* General / Notice */
.type-general,
.type-notice,
.notices-list-modern .type-general,
.notices-list-modern .type-notice,
.notice-card-row .type-general,
.notice-card-row .type-notice,
.notice-sidebar-card-modern .type-general,
.notice-sidebar-card-modern .type-notice {
  background: #f0f9ff !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

/* Exam */
.type-exam,
.notices-list-modern .type-exam,
.notice-card-row .type-exam,
.notice-sidebar-card-modern .type-exam {
  background: #faf5ff !important;
  color: #7e22ce !important;
  border: 1px solid #d8b4fe !important;
}

/* Result */
.type-result,
.notices-list-modern .type-result,
.notice-card-row .type-result,
.notice-sidebar-card-modern .type-result {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border: 1px solid #86efac !important;
}

/* Notice Details Hero Meta Styling */
.notice-details-hero .hero-meta,
.notice-details-hero .notice-hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.notice-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.notice-meta-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.notice-meta-pill i {
  color: #4ade80 !important;
  font-size: 0.95rem;
}

.notice-meta-pill strong {
  color: #ffffff !important;
  font-weight: 700;
}

.notice-meta-pill-category i {
  color: #fbbf24 !important;
}

/* Previous & Next Notice Navigation Tiles */
.notice-nav-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.notice-nav-card:hover {
  border-color: #2fa84f;
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 168, 79, 0.12);
}

.notice-nav-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(47, 168, 79, 0.1);
  color: #148f41;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.notice-nav-card:hover .notice-nav-icon {
  background: #148f41;
  color: #ffffff;
}

.notice-nav-content {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
}

.notice-nav-subtitle {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.notice-nav-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  transition: color 0.2s ease;
}

.notice-nav-card:hover .notice-nav-title {
  color: #148f41;
}

.notice-row-date {
  font-size: 0.88rem;
  color: var(--text-muted, #64748b);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.notice-btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--brand-primary, #2FA84F), var(--brand-dark-green, #148F41));
  color: #ffffff !important;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: 0 2px 6px rgba(20, 143, 65, 0.15);
}

.notice-btn-view:hover {
  background: linear-gradient(135deg, var(--brand-dark-green, #148F41), var(--brand-forest-dark, #0a3d1f));
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(20, 143, 65, 0.25);
  color: #ffffff !important;
}

@media (max-width: 860px) {
  .notices-header-modern {
    display: none !important;
  }
  .notice-card-row {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas: 
      "serial category action"
      "title title title"
      "date date date" !important;
    row-gap: 0.65rem !important;
    column-gap: 0.75rem !important;
    align-items: center !important;
    padding: 1.15rem 1rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .notice-row-serial {
    grid-area: serial;
    text-align: left !important;
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    width: fit-content;
  }
  .notice-type {
    grid-area: category;
    text-align: left !important;
  }
  .notice-row-action {
    grid-area: action;
    text-align: right !important;
  }
  .notice-row-title-wrap {
    grid-area: title;
    padding-right: 0 !important;
    width: 100%;
  }
  .notice-row-date {
    grid-area: date;
    font-size: 0.8rem !important;
    color: #64748b;
  }
  .notice-btn-view {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.78rem !important;
  }
}

/* --- Notice Details (notice_details.php) --- */
.notice-details-card-modern {
  background: var(--brand-white, #FFFFFF);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.notice-content-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1e293b;
  margin-bottom: 2rem;
  word-wrap: break-word;
  text-align: justify !important;
  text-justify: inter-word !important;
}

.notice-attachment-box-modern {
  background: #f8fafc;
  border: 1.5px dashed rgba(47, 168, 79, 0.35);
  border-radius: var(--radius-md, 12px);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.notice-attachment-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.notice-attachment-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: rgba(47, 168, 79, 0.12);
  color: var(--brand-dark-green, #148F41);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notice-download-btn {
  font-weight: 600;
  white-space: nowrap;
}

.notice-sidebar-card-modern {
  background: var(--brand-white, #FFFFFF);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.notice-action-bar {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.notice-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-pill, 9999px);
  padding: 0.5rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.notice-print-btn:hover {
  background: #e2e8f0;
  color: #0f172a !important;
  transform: translateY(-1px);
}

.notice-share-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid #e2e8f0;
}

.share-buttons-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Tablet Media Queries (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .notice-details-hero {
    padding: 2.25rem 1.5rem !important;
  }
  .notice-details-hero .hero-title {
    font-size: 1.65rem !important;
  }
  .notice-breadcrumb-title {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom;
  }
  .notice-meta-pill {
    padding: 0.38rem 0.85rem !important;
    font-size: 0.82rem !important;
  }
}

/* Mobile Media Queries (< 576px) */
@media (max-width: 575.98px) {
  .notice-details-hero {
    padding: 1.75rem 1rem 1.85rem !important;
    border-radius: 12px !important;
    margin-bottom: 1.5rem !important;
  }
  .notice-details-hero .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.65rem !important;
  }
  .notice-details-hero .breadcrumb {
    font-size: 0.78rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
  }
  .notice-details-hero .breadcrumb::-webkit-scrollbar {
    display: none;
  }
  .notice-breadcrumb-title {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom;
  }
  .notice-hero-meta {
    gap: 0.45rem 0.55rem !important;
    margin-top: 0.75rem !important;
    justify-content: center !important;
  }
  .notice-meta-pill {
    padding: 0.3rem 0.7rem !important;
    font-size: 0.76rem !important;
    gap: 0.35rem !important;
  }
  .notice-meta-pill i {
    font-size: 0.82rem !important;
  }
  .notice-details-card-modern {
    padding: 1.25rem 1rem !important;
    border-radius: 12px !important;
  }
  .notice-attachment-box-modern {
    flex-direction: column;
    align-items: stretch !important;
    padding: 1.1rem 0.95rem !important;
    gap: 0.85rem !important;
  }
  .notice-attachment-info {
    width: 100%;
  }
  .notice-download-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.6rem 1.25rem !important;
  }
  .notice-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
  .notice-print-btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1.2rem;
  }
  .notice-share-group {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.85rem;
    border-radius: 14px !important;
    gap: 0.55rem;
  }
  .notice-share-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .share-buttons-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    flex-wrap: nowrap !important;
  }
  .notice-share-group .share-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  .notice-nav-card {
    padding: 0.85rem 0.95rem;
    gap: 0.75rem;
  }
  .notice-nav-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.88rem;
  }
  .notice-nav-title {
    font-size: 0.88rem;
  }
}

/* --- Publications (publications.php) --- */
.publications-category-pills {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.publications-filter-bar {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pub-filter-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  transition: all var(--transition-fast, 0.2s ease);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.pub-filter-btn:hover {
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.08);
}

.pub-filter-btn.active {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(20, 143, 65, 0.25);
}

.pub-filter-btn.active .badge {
  background: #ffffff !important;
  color: var(--brand-dark-green, #148F41) !important;
}

.pub-filter-btn.active i {
  color: #ffffff !important;
}

.publications-type-section-modern {
  background: var(--brand-white, #FFFFFF);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.75rem;
  transition: all var(--transition-normal, 0.3s ease);
}

.pub-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 14px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal, 0.3s ease);
  overflow: hidden;
}

.pub-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 61, 31, 0.09);
  border-color: rgba(47, 168, 79, 0.35);
}

.pub-card-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  transition: color var(--transition-fast, 0.2s ease);
}

.pub-card-modern:hover .pub-card-title {
  color: var(--brand-dark-green, #148F41);
}

.pub-desc-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* Publications Search Box */
.pub-search-box {
  border: 1px solid var(--border-color, #e2e8f0);
  transition: all var(--transition-fast, 0.2s ease);
}

.pub-search-box:focus-within {
  border-color: var(--brand-dark-green, #148F41);
  box-shadow: 0 4px 16px rgba(20, 143, 65, 0.15) !important;
}

.pub-search-box input::placeholder {
  color: #94a3b8;
  font-size: 0.92rem;
}

.pub-doc-icon-box {
  flex-shrink: 0;
  transition: transform var(--transition-fast, 0.2s ease);
}

.pub-card-modern:hover .pub-doc-icon-box {
  transform: scale(1.08);
}

/* File Badge Styles */
.pub-file-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill, 9999px);
  white-space: nowrap;
}

.pub-file-badge i {
  font-size: 0.88rem;
}

.badge-file-pdf {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
}

.badge-file-word {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
}

.badge-file-image {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
}

.badge-file-generic {
  background: #f8fafc !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

.publications-filter-bar {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-pill, 9999px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  max-width: 100%;
}

.pub-card-cat-badge {
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.4 !important;
  max-width: 100%;
  display: inline-block;
}

/* Publications Responsive Breakpoints */
@media (max-width: 991.98px) {
  .publications-type-section-modern {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .publications-container {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
  .publications-filter-bar {
    border-radius: var(--radius-lg, 16px) !important;
    width: 100%;
    padding: 0.6rem !important;
    gap: 0.5rem !important;
  }
  .pub-filter-btn {
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
  }
  .type-header {
    padding: 1.25rem !important;
  }
  .type-title {
    font-size: 1.2rem !important;
  }
  .pub-card-modern .p-4 {
    padding: 1.25rem !important;
  }
  .pub-card-title {
    font-size: 1.05rem;
  }
  .pub-desc-text {
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .publications-stats {
    padding: 2rem 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .publications-filter-bar {
    border-radius: var(--radius-lg, 16px) !important;
    padding: 0.5rem !important;
    gap: 0.45rem !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .pub-filter-btn {
    width: 100% !important;
    justify-content: space-between !important;
    font-size: 0.82rem !important;
    padding: 0.5rem 0.9rem !important;
    border: 1px solid #f1f5f9;
  }
  .pub-filter-btn.active {
    border-color: var(--brand-dark-green, #148F41);
  }
  .pub-card-date {
    font-size: 0.75rem !important;
  }
  .type-header {
    padding: 1rem !important;
  }
  .type-header-row {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
  .type-header-info {
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
  .type-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
  }
  .type-title {
    font-size: 1.08rem !important;
    line-height: 1.35 !important;
  }
  .type-meta {
    font-size: 0.78rem !important;
    gap: 0.35rem 0.65rem !important;
  }
  .type-header .btn-scroll-top {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.65rem !important;
    align-self: flex-start !important;
  }
  .pub-card-actions {
    flex-direction: column;
  }
  .pub-card-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   Phase 5.3: Community Recognition & Youth Leadership Components
   Pages: rising_stars.php, ambassador.php
   ========================================================================== */

/* --- Rising Stars Hero & Container --- */
.rising-stars-hero.inner-page-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  padding: 3.5rem 0 2.75rem 0;
  color: var(--brand-white, #ffffff);
  position: relative;
  text-align: center;
}

.rising-stars-hero .hero-title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--brand-white, #ffffff);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.rising-stars-hero .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.rising-stars-hero .hero-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill, 9999px);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.25rem;
}

/* --- Rising Stars 7-in-a-Row High-Density Grid & Compact Cards --- */
.stars-grid-container {
  padding: 0.5rem 0 1.5rem 0;
}

.stars-grid-7 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .stars-grid-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

/* Responsive View: Exactly 4 members in a row */
@media (max-width: 1199.98px) and (min-width: 768px) {
  .stars-grid-7 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* Small tablets / landscape phones: 3 members in a row */
@media (max-width: 767.98px) and (min-width: 576px) {
  .stars-grid-7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

/* Mobile: 2 members in a row */
@media (max-width: 575.98px) {
  .stars-grid-7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* Compact Rising Star Card */
.star-card-compact {
  background: var(--brand-white, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 14px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0.95rem 0.65rem 0.85rem 0.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast, 0.25s ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.star-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(20, 143, 65, 0.12);
  border-color: rgba(47, 168, 79, 0.4);
}

.star-compact-badge-wrap {
  width: 100%;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

.star-compact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.1);
  border: 1px solid rgba(47, 168, 79, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.star-compact-avatar-wrap {
  width: 86px;
  height: 86px;
  margin: 0 auto 0.65rem auto;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), rgba(47, 168, 79, 0.35));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform var(--transition-fast, 0.25s ease);
}

.star-card-compact:hover .star-compact-avatar-wrap {
  transform: scale(1.05);
}

.star-compact-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #f1f5f9;
}

.star-compact-info {
  width: 100%;
  margin-bottom: 0.35rem;
}

.star-compact-name {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.9rem;
  font-weight: var(--fw-bold, 700);
  color: var(--brand-dark-green, #148F41);
  margin-bottom: 0.2rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  transition: color var(--transition-fast, 0.2s ease);
}

.star-card-compact:hover .star-compact-name {
  color: var(--brand-green, #2FA84F);
}

.star-compact-designation {
  font-size: 0.76rem;
  font-weight: var(--fw-medium, 500);
  color: #64748b;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.star-compact-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  transition: all var(--transition-fast, 0.2s ease);
}

.star-compact-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff !important;
}

@media (max-width: 575.98px) {
  .star-compact-avatar-wrap {
    width: 78px;
    height: 78px;
  }
  .star-compact-name {
    font-size: 0.84rem;
  }
  .star-compact-designation {
    font-size: 0.72rem;
  }
  .star-card-compact {
    padding: 0.75rem 0.5rem;
  }
}

.star-card-modern {
  background: var(--brand-white, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  position: relative;
}

.star-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(10, 61, 31, 0.1);
  border-color: rgba(47, 168, 79, 0.35);
}

.star-card-banner {
  background: linear-gradient(135deg, rgba(20, 143, 65, 0.08) 0%, rgba(47, 168, 79, 0.15) 100%);
  padding: 1.75rem 1.25rem 1rem 1.25rem;
  text-align: center;
  position: relative;
}

.star-avatar-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--brand-primary, #2FA84F), var(--brand-dark-green, #148F41));
  box-shadow: 0 6px 14px rgba(20, 143, 65, 0.2);
}

.star-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  display: block;
}

.star-month-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill, 9999px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.star-card-body {
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.star-name {
  font-family: var(--font-heading, inherit);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.star-designation {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-dark-green, #148F41);
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.star-date-meta {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.85rem;
}

.star-quote-box {
  background: #f8fafc;
  border-left: 3px solid var(--brand-primary, #2FA84F);
  border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 1rem;
  flex-grow: 1;
  font-style: italic;
}

.star-achievement-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d97706;
  background: #fef3c7;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill, 9999px);
  margin-bottom: 1rem;
}

.star-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark-green, #148F41);
  background: #ffffff;
  border: 1.5px solid var(--brand-dark-green, #148F41);
  transition: all var(--transition-fast, 0.2s ease);
  margin-top: auto;
  cursor: pointer;
  text-decoration: none;
}

.star-view-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(20, 143, 65, 0.25);
}

/* Modal for Star Details */
.star-modal-content {
  border-radius: var(--radius-lg, 16px);
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.star-modal-header {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border: none;
}

.star-modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.star-modal-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 0 auto 1.25rem auto;
}

/* --- Ambassadors Hero & Components --- */
.ambassadors-hero.inner-page-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  padding: 3.5rem 0 2.75rem 0;
  color: var(--brand-white, #ffffff);
  position: relative;
  text-align: center;
}

.ambassadors-hero .hero-title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--brand-white, #ffffff);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.ambassadors-hero .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.ambassadors-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ambassador-filter-pill {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid var(--border-color, #e2e8f0);
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
}

.ambassador-filter-pill:hover,
.ambassador-filter-pill.active {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  border-color: var(--brand-dark-green, #148F41);
  box-shadow: 0 4px 10px rgba(20, 143, 65, 0.2);
}

.ambassador-card-modern {
  background: var(--brand-white, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}

.ambassador-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(10, 61, 31, 0.1);
  border-color: rgba(47, 168, 79, 0.35);
}

.ambassador-photo-wrap {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.ambassador-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ambassador-card-modern:hover .ambassador-photo-img {
  transform: scale(1.03);
}

.ambassador-role-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 61, 31, 0.88);
  color: #ffffff;
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ambassador-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f59e0b;
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.ambassador-card-body {
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ambassador-name {
  font-family: var(--font-heading, inherit);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.ambassador-meta-row {
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.ambassador-bio-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin: 0.75rem 0 1rem 0;
  flex-grow: 1;
}

.ambassador-social-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.ambassador-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: #f1f5f9;
  color: var(--text-muted, #64748b);
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
}

.ambassador-social-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Empty State Styling (Both pages) */
.batch3-empty-state-modern {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 3.5rem 1.5rem;
  text-align: center;
  max-width: 640px;
  margin: 2rem auto;
}

.batch3-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green, #148F41);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.batch3-empty-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.batch3-empty-desc {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.batch3-empty-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   PHASE 5.4 (BATCH 4): MEDIA & VISUAL GALLERIES
   Standardized components for gallery.php and videos.php
   ========================================================================== */

/* 1. Hero Banners */
.gallery-hero.inner-page-banner,
.videos-hero.inner-page-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.gallery-hero.inner-page-banner::before,
.videos-hero.inner-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.media-hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.media-stat-pill i {
  color: #4ade80;
  font-size: 1rem;
}

.media-stat-pill strong {
  font-weight: 700;
  font-size: 1.05rem;
}

/* 2. Gallery Filter Pills */
.gallery-filter-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.gallery-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-filter-pill {
  border: 1px solid var(--border-color, #e2e8f0);
  background: #ffffff;
  color: var(--text-secondary, #475569);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gallery-filter-pill:hover {
  border-color: var(--brand-primary, #2FA84F);
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.05);
}

.gallery-filter-pill.active {
  background: var(--brand-dark-green, #148F41);
  border-color: var(--brand-dark-green, #148F41);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 143, 65, 0.25);
}

.gallery-pill-count {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(0, 0, 0, 0.08);
}

.gallery-filter-pill.active .gallery-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.gallery-result-info {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  font-weight: 500;
}

/* 3. Modern Gallery Card (7 images per row desktop) */
.gallery-grid-modern {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.gallery-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.gallery-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 168, 79, 0.35);
}

.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

.gallery-thumb-wrap.has-default-logo {
  background: #ffffff !important;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-thumb-img.default-logo-img {
  object-fit: contain !important;
  padding: 0.75rem !important;
  background: #ffffff !important;
}

.gallery-card-modern:hover .gallery-thumb-img:not(.default-logo-img) {
  transform: scale(1.06);
}

.gallery-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.gallery-badge-gallery {
  background: var(--brand-dark-green, #148F41);
}

.gallery-badge-event {
  background: #0284c7;
}

.gallery-badge-project {
  background: #d97706;
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 40, 20, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.gallery-card-modern:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-zoom-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-dark-green, #148F41);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.25s ease;
}

.gallery-card-modern:hover .gallery-zoom-circle {
  transform: scale(1);
}

.gallery-card-body {
  padding: 0.6rem 0.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.gallery-card-title {
  font-family: var(--font-heading, inherit);
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-meta {
  font-size: 0.7rem;
  color: var(--text-muted, #64748b);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.lightbox-image-main.default-logo-img {
  object-fit: contain !important;
  background: #ffffff !important;
  padding: 2.25rem !important;
  border-radius: 16px !important;
  max-width: 380px !important;
  max-height: 280px !important;
}

/* 4. Modern Lightbox Modal */
.lightbox-modal-modern {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(8, 20, 12, 0.94);
  backdrop-filter: blur(12px);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox-modal-modern.active {
  display: flex;
  opacity: 1;
}

.lightbox-topbar {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  z-index: 10;
}

.lightbox-info-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.85rem;
  font-weight: 600;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--brand-red, #E11D48);
  border-color: var(--brand-red, #E11D48);
  transform: rotate(90deg);
}

.lightbox-content-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.5rem 4rem;
  overflow: hidden;
}

.lightbox-image-main {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--brand-dark-green, #148F41);
  border-color: var(--brand-dark-green, #148F41);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev {
  left: 1.5rem;
}

.lightbox-nav-btn.next {
  right: 1.5rem;
}

.lightbox-nav-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.lightbox-caption-bar {
  padding: 1rem 1.5rem 1.5rem;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.lightbox-caption-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* 5. Videos Controls Modern */
.videos-controls-modern {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.videos-search-box {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.videos-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.videos-search-input:focus {
  border-color: var(--brand-dark-green, #148F41);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.15);
}

.videos-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, #64748b);
  pointer-events: none;
}

.videos-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.videos-sort-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary, #475569);
  white-space: nowrap;
}

.videos-sort-select {
  padding: 0.6rem 2.2rem 0.6rem 1rem;
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary, #1e293b);
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.videos-sort-select:focus {
  border-color: var(--brand-dark-green, #148F41);
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.15);
}

/* 6. Modern Videos Grid & Cards (5 videos per row desktop) */
.videos-grid-modern {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.video-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.video-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(225, 29, 72, 0.3);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.video-card-modern:hover .video-thumb-img {
  transform: scale(1.06);
}

.video-yt-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(225, 29, 72, 0.95);
  color: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  z-index: 2;
}

.video-card-modern:hover .video-play-overlay {
  background: rgba(15, 23, 42, 0.55);
}

.video-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E11D48;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.3);
  transition: all 0.25s ease;
  padding-left: 3px;
}

.video-card-modern:hover .video-play-btn {
  transform: scale(1.1);
  background: #ff1f50;
  box-shadow: 0 0 0 9px rgba(225, 29, 72, 0.4);
}

.video-card-body {
  padding: 0.85rem 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-title {
  font-family: var(--font-heading, inherit);
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.video-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.video-watch-btn {
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green, #148F41);
  border: 1px solid rgba(47, 168, 79, 0.25);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.video-watch-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  border-color: var(--brand-dark-green, #148F41);
}

.video-external-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid var(--border-color, #e2e8f0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.video-external-btn:hover {
  background: #fee2e2;
  color: #e11d48;
  border-color: #fca5a5;
}

.video-external-btn:hover {
  background: #E11D48;
  color: #ffffff;
  transform: translateY(-2px);
}

/* 7. Video Player Modal */
.video-modal-modern {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(8, 20, 12, 0.94);
  backdrop-filter: blur(12px);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal-modern.active {
  display: flex;
  opacity: 1;
}

.video-modal-dialog {
  width: 100%;
  max-width: 900px;
  background: #0f172a;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-modal-header {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  color: #ffffff;
}

.video-modal-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 1rem;
}

.video-modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.video-modal-close-btn:hover {
  background: var(--brand-red, #E11D48);
}

.video-modal-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-modal-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-footer {
  padding: 0.85rem 1.5rem;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* 8. Media Empty State */
.media-empty-state {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 3.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.media-empty-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green, #148F41);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.media-empty-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.media-empty-desc {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* 9. Media Responsive Breakpoints */
@media (max-width: 1200px) {
  .gallery-grid-modern {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.75rem !important;
  }
  .videos-grid-modern {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.95rem !important;
  }
}

@media (max-width: 991px) {
  .gallery-grid-modern {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.65rem !important;
  }
  .videos-grid-modern {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.85rem !important;
  }
  .lightbox-content-wrap {
    padding: 0.5rem 1rem;
  }
  .lightbox-nav-btn.prev {
    left: 0.5rem;
  }
  .lightbox-nav-btn.next {
    right: 0.5rem;
  }
}

@media (max-width: 767px) {
  .gallery-grid-modern {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.55rem !important;
  }
  .gallery-card-modern {
    border-radius: 8px !important;
  }
  .gallery-thumb-img.default-logo-img {
    padding: 0.45rem !important;
  }
  .gallery-badge {
    font-size: 0.58rem !important;
    padding: 0.15rem 0.35rem !important;
    top: 5px !important;
    left: 5px !important;
  }
  .gallery-card-body {
    padding: 0.45rem 0.45rem !important;
  }
  .gallery-card-title {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 1 !important;
    margin-bottom: 0 !important;
  }
  .gallery-card-meta {
    display: none !important;
  }
  .videos-grid-modern {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.65rem !important;
  }
  .video-card-modern {
    border-radius: 10px !important;
  }
  .video-card-body {
    padding: 0.65rem 0.65rem 0.75rem !important;
  }
  .video-card-title {
    font-size: 0.8rem !important;
    margin-bottom: 0.25rem !important;
  }
  .video-card-meta {
    font-size: 0.7rem !important;
    margin-bottom: 0.5rem !important;
  }
  .video-play-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.3) !important;
  }
  .video-card-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding-top: 0.4rem !important;
  }
  .video-watch-btn {
    width: 100% !important;
    white-space: nowrap !important;
    justify-content: center !important;
    padding: 0.32rem 0.45rem !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    gap: 0.25rem !important;
    border-radius: var(--radius-pill, 9999px) !important;
  }
  .video-watch-btn i {
    font-size: 0.65rem !important;
  }
  .video-external-btn {
    display: none !important;
  }
  .gallery-hero.inner-page-banner,
  .videos-hero.inner-page-banner {
    padding: 2.5rem 0 2rem;
  }
  .media-hero-stats {
    gap: 0.75rem;
  }
  .media-stat-pill {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
  }
  .gallery-filter-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .videos-controls-modern {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1rem 1.15rem !important;
    gap: 0.85rem !important;
    border-radius: 12px !important;
  }
  .videos-search-box {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
  }
  .videos-search-input {
    padding: 0.55rem 1rem 0.55rem 2.4rem !important;
    font-size: 0.88rem !important;
  }
  .videos-search-icon {
    left: 0.9rem !important;
    font-size: 0.85rem !important;
  }
  .videos-sort-wrap {
    justify-content: flex-start !important;
  }
}

@media (max-width: 575px) {
  .gallery-grid-modern {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.4rem !important;
  }
  .gallery-card-modern {
    border-radius: 6px !important;
  }
  .gallery-thumb-img.default-logo-img {
    padding: 0.25rem !important;
  }
  .gallery-badge {
    display: none !important;
  }
  .gallery-zoom-circle {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.65rem !important;
  }
  .gallery-card-body {
    padding: 0.3rem 0.25rem !important;
  }
  .gallery-card-title {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 1 !important;
  }
  .videos-grid-modern {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
  }
  .video-card-modern {
    border-radius: 8px !important;
  }
  .video-yt-badge {
    display: none !important;
  }
  .video-play-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.3) !important;
    padding-left: 2px !important;
  }
  .video-card-body {
    padding: 0.45rem 0.35rem 0.5rem !important;
  }
  .video-card-title {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 1 !important;
    margin-bottom: 0.15rem !important;
  }
  .video-card-meta {
    display: none !important;
  }
  .video-card-actions {
    padding-top: 0.35rem !important;
    gap: 0.25rem !important;
  }
  .video-watch-btn {
    padding: 0.26rem 0.35rem !important;
    font-size: 0.68rem !important;
    white-space: nowrap !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .video-external-btn {
    display: none !important;
  }
  .videos-controls-modern {
    padding: 0.85rem !important;
    gap: 0.65rem !important;
  }
  .videos-search-input {
    padding: 0.48rem 0.85rem 0.48rem 2.2rem !important;
    font-size: 0.82rem !important;
  }
  .videos-search-icon {
    left: 0.8rem !important;
    font-size: 0.8rem !important;
  }
  .videos-sort-select {
    padding: 0.4rem 1.6rem 0.4rem 0.65rem !important;
    font-size: 0.78rem !important;
  }
  .videos-sort-label {
    font-size: 0.78rem !important;
  }
  .gallery-result-info {
    font-size: 0.75rem !important;
    text-align: center;
    width: 100%;
  }
  .lightbox-image-main {
    max-width: 96vw;
    max-height: 65vh;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   PHASE 5.5 (BATCH 5): ENGAGEMENT, CAMPAIGNS & CAREERS
   Standardized components for campaign.php, campaign_details.php,
   donations.php, career.php, and career_details.php
   ========================================================================== */

/* 1. Hero Banners */
.campaign-hero.inner-page-banner,
.campaign-details-hero.inner-page-banner,
.donation-hero.inner-page-banner,
.career-hero.inner-page-banner,
.job-details-hero.inner-page-banner,
.gallery-hero.inner-page-banner,
.videos-hero.inner-page-banner,
.profile-hero.inner-page-banner,
.teams-hero.inner-page-banner,
.projects-hero.inner-page-banner,
.news-hero.inner-page-banner,
.volunteer-hero.inner-page-banner,
.contact-hero.inner-page-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 10px 30px rgba(10, 61, 31, 0.12);
  border: 1px solid rgba(47, 168, 79, 0.25);
  margin-bottom: 2.5rem;
}

.campaign-hero.inner-page-banner::before,
.campaign-details-hero.inner-page-banner::before,
.donation-hero.inner-page-banner::before,
.career-hero.inner-page-banner::before,
.job-details-hero.inner-page-banner::before,
.gallery-hero.inner-page-banner::before,
.videos-hero.inner-page-banner::before,
.profile-hero.inner-page-banner::before,
.teams-hero.inner-page-banner::before,
.projects-hero.inner-page-banner::before,
.news-hero.inner-page-banner::before,
.volunteer-hero.inner-page-banner::before,
.contact-hero.inner-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 25%, rgba(47, 168, 79, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

/* 2. Common Filter Pills (Campaigns & Careers) */
.batch5-filter-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.batch5-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.batch5-filter-pill {
  border: 1px solid var(--border-color, #e2e8f0);
  background: #ffffff;
  color: var(--text-secondary, #475569);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.batch5-filter-pill:hover {
  border-color: var(--brand-primary, #2FA84F);
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.05);
}

.batch5-filter-pill.active {
  background: var(--brand-dark-green, #148F41);
  border-color: var(--brand-dark-green, #148F41);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 143, 65, 0.25);
}

.batch5-pill-count {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(0, 0, 0, 0.08);
}

.batch5-filter-pill.active .batch5-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 3. Modern Campaigns Section & Cards */
.campaigns-container {
  background: #f8fafc;
}

.campaigns-toolbar {
  margin-bottom: 2rem;
}

.campaigns-search-wrapper {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto 1.5rem auto;
}

.campaigns-search-input {
  border-radius: 50px !important;
  padding: 0.68rem 2.6rem 0.68rem 2.85rem !important;
  font-size: 0.92rem;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  width: 100% !important;
  height: auto !important;
}

.campaigns-search-input:focus {
  border-color: var(--brand-dark-green, #148F41) !important;
  box-shadow: 0 0 0 4px rgba(20, 143, 65, 0.15) !important;
  outline: none;
}

.campaigns-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  z-index: 5;
  pointer-events: none;
  line-height: 1;
}

.campaigns-search-clear {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 5;
  padding: 0.25rem 0.5rem;
  display: none;
  transition: color 0.2s ease;
  line-height: 1;
}

.campaigns-search-clear:hover {
  color: #0f172a;
}

.campaigns-status-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.campaign-filter-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.campaign-filter-btn:hover {
  border-color: var(--brand-dark-green, #148F41);
  color: var(--brand-dark-green, #148F41);
  background: rgba(20, 143, 65, 0.04);
}

.campaign-filter-btn.active {
  background: var(--brand-dark-green, #148F41);
  border-color: var(--brand-dark-green, #148F41);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 143, 65, 0.25);
}

.campaign-filter-btn .filter-count {
  font-size: 0.74rem;
  padding: 0.12rem 0.52rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.08);
  font-weight: 700;
}

.campaign-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: campaignPulseDot 1.8s infinite;
}

.campaign-filter-btn.active .pulse-indicator {
  background-color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  animation: campaignPulseWhite 1.8s infinite;
}

@keyframes campaignPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes campaignPulseWhite {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.campaigns-pagination-info {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

.campaigns-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.campaign-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.campaign-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  border-color: rgba(47, 168, 79, 0.45);
}

.campaign-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-thumb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  text-decoration: none;
}

.campaign-thumb-img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.campaign-card-modern:hover .campaign-thumb-img {
  transform: scale(1.02);
}

.campaign-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.campaign-status-active {
  background: linear-gradient(135deg, #10b981, #047857);
}

.campaign-status-upcoming {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.campaign-status-completed {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.campaign-status-closed {
  background: linear-gradient(135deg, #64748b, #475569);
}

.pulse-dot-white {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  animation: campaignPulseWhite 1.8s infinite;
}

.campaign-category-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.74rem;
  font-weight: 600;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.campaign-card-body {
  padding: 1.35rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.campaign-card-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.campaign-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.campaign-card-title a:hover {
  color: var(--brand-dark-green, #148F41);
}

.campaign-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.campaign-meta-chip {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
}

.campaign-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-align: justify !important;
  text-justify: inter-word !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.campaign-dates-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e2e8f0;
}

.campaign-date-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
  margin: 0 0.5rem;
}

.campaign-date-col {
  display: flex;
  flex-direction: column;
}

.campaign-date-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
}

.campaign-date-val {
  font-weight: 600;
  color: #0f172a;
}

.campaign-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.campaign-view-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid var(--brand-dark-green, #148F41);
  color: var(--brand-dark-green, #148F41);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.campaign-view-btn i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.campaign-view-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 143, 65, 0.25);
  transform: translateY(-1px);
}

.campaign-view-btn:hover i {
  transform: translateX(3px);
}

.campaign-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #e11d48, #be123c);
  border: 1.5px solid #be123c;
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.22);
}

.campaign-donate-btn:hover {
  background: linear-gradient(135deg, #be123c, #9f1239);
  color: #ffffff;
  border-color: #9f1239;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}

.campaigns-empty-state {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 3.5rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
}

.campaigns-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(20, 143, 65, 0.08);
  color: var(--brand-dark-green, #148F41);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

/* 4. Campaign Details Editorial Layout */
.campaign-details-container {
  background: #f8fafc;
}

.campaign-back-btn {
  border: 1.5px solid var(--brand-dark-green, #148F41);
  color: var(--brand-dark-green, #148F41);
  background: #ffffff;
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.campaign-back-btn:hover {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 143, 65, 0.25);
  transform: translateY(-1px);
}

.campaign-detail-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  margin-bottom: 2rem;
}

.campaign-hero-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  cursor: pointer;
}

.campaign-hero-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.campaign-hero-image-wrap:hover .campaign-hero-image {
  transform: scale(1.02);
}

.campaign-hero-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.campaign-photo-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.campaign-gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  transition: all 0.25s ease;
}

.campaign-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.campaign-gallery-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: var(--brand-dark-green, #148F41);
}

.campaign-gallery-thumb:hover img {
  transform: scale(1.05);
}

.gallery-zoom-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.campaign-gallery-thumb:hover .gallery-zoom-icon {
  opacity: 1;
}

.campaign-body-prose {
  margin-top: 1rem;
}

.campaign-prose-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
  text-align: justify !important;
  text-justify: inter-word !important;
}

.campaign-prose-content p {
  margin-bottom: 1.5rem;
}

.campaign-sidebar-sticky {
  position: sticky;
  top: 95px;
  z-index: 10;
}

.campaign-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.5rem;
}

.campaign-sidebar-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.campaign-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.campaign-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.campaign-info-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.info-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20, 143, 65, 0.08);
  color: var(--brand-dark-green, #148F41);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.info-item-content {
  flex: 1;
}

.info-item-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.info-item-value {
  display: block;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.92rem;
}

.campaign-status-pill {
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.campaign-status-pill.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.campaign-status-pill.status-upcoming {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}

.campaign-status-pill.status-completed {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.campaign-status-pill.status-closed {
  background: rgba(100, 116, 139, 0.15);
  color: #475569;
}

.campaign-sidebar-card.support-card {
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%) !important;
  border-color: rgba(225, 29, 72, 0.25) !important;
}

.support-icon-wrap {
  display: flex;
  justify-content: center;
}

.support-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.campaign-cta-btn {
  background: linear-gradient(135deg, #e11d48, #be123c);
  border: 1px solid #be123c;
  color: #ffffff;
  transition: all 0.25s ease;
}

.campaign-cta-btn:hover {
  background: linear-gradient(135deg, #be123c, #9f1239);
  color: #ffffff;
  border-color: #9f1239;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

.campaign-share-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.btn-share-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-share-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-share-social.share-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.btn-share-social.share-twitter:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.btn-share-social.share-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.btn-share-social.share-linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
}

/* 5. Modern Donations Page Components */
.donation-context-alert {
  background: #ecfdf5;
  border: 1px solid rgba(47, 168, 79, 0.3);
  border-radius: var(--radius-md, 12px);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.donation-context-text {
  color: var(--brand-forest-dark, #0a3d1f);
  font-weight: 600;
  font-size: 0.95rem;
}

.donation-method-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.donation-method-title i {
  color: var(--brand-dark-green, #148F41);
}

.donation-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.donation-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 168, 79, 0.3);
}

.donation-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  margin-bottom: 1.25rem;
}

.donation-logo-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-color, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.donation-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.donation-card-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.donation-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill, 9999px);
  display: inline-block;
}

.donation-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.donation-info-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #f1f5f9;
}

.donation-info-label {
  color: var(--text-muted, #64748b);
  font-weight: 500;
  flex-shrink: 0;
}

.donation-info-val {
  color: #1e293b;
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}

.donation-card-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}

.donation-copy-btn {
  flex: 1;
  background: var(--brand-dark-green, #148F41);
  border: 1px solid var(--brand-dark-green, #148F41);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.donation-copy-btn:hover {
  background: #0f7033;
  color: #ffffff;
}

.donation-secondary-btn {
  background: #ffffff;
  border: 1px solid var(--border-strong, #cbd5e1);
  color: var(--text-secondary, #475569);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.donation-secondary-btn:hover {
  background: #f8fafc;
  color: var(--brand-dark-green, #148F41);
  border-color: var(--brand-dark-green, #148F41);
}

/* Modern Toast Alert */
.toast-notification-modern {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1080;
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: none;
  align-items: center;
  gap: 0.85rem;
  border-left: 4px solid var(--brand-primary, #2FA84F);
  animation: toastSlideUp 0.3s ease;
}

.toast-notification-modern.active {
  display: flex;
}

@keyframes toastSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 6. Modern Career & Vacancy Cards */
.jobs-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.job-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.job-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 168, 79, 0.35);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.job-type-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-dark-green, #148F41);
  background: rgba(47, 168, 79, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill, 9999px);
}

.job-deadline-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.job-deadline-badge.urgent {
  color: var(--brand-red, #E11D48);
  font-weight: 700;
}

.job-card-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.job-card-company {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 1rem;
}

.job-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.job-chip {
  background: #f1f5f9;
  color: var(--text-secondary, #475569);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.job-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.job-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.job-view-btn {
  background: var(--brand-dark-green, #148F41);
  color: #ffffff;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.job-view-btn:hover {
  background: #0f7033;
  color: #ffffff;
}

/* 6.1 Career Portal Features, Search & Workflow */
.career-section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.career-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(47, 168, 79, 0.12);
  color: var(--brand-dark-green, #148F41);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.career-section-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-forest-dark, #0a3d1f);
  margin-bottom: 0.5rem;
}

.career-section-desc {
  color: #526759;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.career-feature-card {
  background: #ffffff;
  border: 1px solid rgba(47, 168, 79, 0.18);
  border-radius: 16px;
  padding: 1.65rem 1.4rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.career-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-dark-green, #148F41), var(--brand-green, #2FA84F));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.career-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 143, 65, 0.12);
  border-color: rgba(47, 168, 79, 0.45);
}

.career-feature-card:hover::before {
  opacity: 1;
}

.career-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 168, 79, 0.12), rgba(20, 143, 65, 0.22));
  color: var(--brand-dark-green, #148F41);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.career-feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-forest-dark, #0a3d1f);
  margin-bottom: 0.45rem;
}

.career-feature-text {
  color: #55695b;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.career-controls-bar {
  background: #ffffff;
  border: 1px solid rgba(47, 168, 79, 0.2);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.career-search-box {
  position: relative;
  width: 100%;
}

.career-search-box input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border-radius: 50px;
  border: 1.5px solid #d9e5db;
  font-size: 0.92rem;
  background-color: #fafcfb;
  transition: all 0.2s ease;
}

.career-search-box input:focus {
  background-color: #ffffff;
  border-color: var(--brand-green, #2FA84F);
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.15);
  outline: none;
}

.career-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-dark-green, #148F41);
  font-size: 0.95rem;
  pointer-events: none;
}

.hiring-process-section {
  background: #f7faf8;
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 3.5rem 0 2.5rem;
  border: 1px solid rgba(47, 168, 79, 0.18);
}

.hiring-step-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  border: 1px solid #e1ece2;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hiring-step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-dark-green, #148F41), var(--brand-green, #2FA84F));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(20, 143, 65, 0.25);
}

.hiring-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-forest-dark, #0a3d1f);
  margin-bottom: 0.35rem;
}

.hiring-step-text {
  font-size: 0.85rem;
  color: #55695b;
  line-height: 1.5;
  margin-bottom: 0;
}

.career-talent-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(10, 61, 31, 0.15);
}

.career-talent-content h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.career-talent-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 650px;
}

.career-talent-btn {
  background: #ffffff;
  color: var(--brand-dark-green, #148F41) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.career-talent-btn:hover {
  background: #f0fdf4;
  color: var(--brand-forest-dark, #0a3d1f) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 7. Career Detail & Application Form */
.job-overview-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.job-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.job-overview-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.job-overview-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green, #148F41);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.job-overview-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.job-overview-val {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.92rem;
}

.job-content-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.job-section-heading {
  font-family: var(--font-heading, inherit);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-section-heading:first-child {
  margin-top: 0;
}

.job-section-heading i {
  color: var(--brand-dark-green, #148F41);
}

.job-apply-box {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* 8. Shared Batch 5 Empty State */
.batch5-empty-state {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 3.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  max-width: 680px;
  margin: 1.5rem auto;
}

.batch5-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(47, 168, 79, 0.1);
  color: var(--brand-dark-green, #148F41);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.batch5-empty-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.batch5-empty-desc {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* 9. Batch 5 Responsive Breakpoints */
@media (max-width: 1200px) {
  .campaigns-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 991px) {
  .campaigns-search-wrapper {
    max-width: 100%;
    margin-bottom: 1.25rem;
  }
  .campaigns-status-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .campaign-sidebar-sticky {
    position: static !important;
  }
  .jobs-grid-modern {
    grid-template-columns: 1fr;
  }
  .job-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .campaign-hero.inner-page-banner,
  .campaign-details-hero.inner-page-banner,
  .donation-hero.inner-page-banner,
  .career-hero.inner-page-banner,
  .job-details-hero.inner-page-banner,
  .gallery-hero.inner-page-banner,
  .videos-hero.inner-page-banner,
  .profile-hero.inner-page-banner,
  .teams-hero.inner-page-banner,
  .projects-hero.inner-page-banner,
  .news-hero.inner-page-banner,
  .volunteer-hero.inner-page-banner,
  .contact-hero.inner-page-banner {
    padding: 2.5rem 0 2rem;
  }
  .campaigns-container,
  .campaign-details-container {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
  .campaign-detail-content-card {
    padding: 1.5rem 1.25rem;
  }
  .campaign-hero-image-wrap {
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.25rem;
  }
  .campaign-photo-gallery-strip {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }
  .campaign-sidebar-card {
    padding: 1.25rem;
  }
  .campaigns-search-wrapper {
    max-width: 100%;
    margin-bottom: 1.25rem;
  }
  .campaigns-search-input {
    padding: 0.62rem 2.4rem 0.62rem 2.6rem !important;
    font-size: 0.88rem;
  }
  .campaigns-search-icon {
    left: 1rem;
    font-size: 0.88rem;
  }
  .campaigns-search-clear {
    right: 0.8rem;
    font-size: 0.88rem;
  }
  .campaigns-status-filter {
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }
  .campaign-filter-btn {
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
  }
  .campaigns-pagination-info {
    justify-content: center !important;
    text-align: center;
    font-size: 0.84rem;
  }
  .campaigns-grid-modern {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.25rem;
  }
  .job-overview-grid {
    grid-template-columns: 1fr;
  }
  .donation-card-modern {
    padding: 1.25rem;
  }
}

@media (max-width: 575px) {
  .batch5-filter-pills {
    width: 100%;
  }
  .batch5-filter-pill {
    flex: 1 1 auto;
    justify-content: center;
  }
  .campaigns-search-wrapper {
    margin-bottom: 1rem;
  }
  .campaigns-search-input {
    padding: 0.58rem 2.2rem 0.58rem 2.4rem !important;
    font-size: 0.84rem;
  }
  .campaigns-search-icon {
    left: 0.9rem;
    font-size: 0.82rem;
  }
  .campaigns-status-filter {
    gap: 0.35rem;
    margin-bottom: 1.15rem;
  }
  .campaign-filter-btn {
    padding: 0.38rem 0.72rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }
  .campaign-filter-btn .filter-count {
    font-size: 0.68rem;
    padding: 0.08rem 0.4rem;
  }
  .campaign-card-body {
    padding: 1.15rem 1rem 1rem;
  }
  .campaign-thumb-link {
    padding: 0.5rem 0.65rem;
  }
  .campaign-card-title {
    font-size: 1.05rem;
  }
  .campaign-card-meta {
    font-size: 0.78rem;
  }
  .campaign-dates-box {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }
  .campaign-date-label {
    font-size: 0.68rem;
  }
  .campaign-date-val {
    font-size: 0.78rem;
  }
  .campaign-card-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .campaign-view-btn,
  .campaign-donate-btn {
    width: 100%;
    justify-content: center;
    padding: 0.55rem;
  }
  .campaign-detail-content-card {
    padding: 1.15rem 1rem;
  }
  .campaign-hero-image-wrap {
    aspect-ratio: 16 / 10;
    padding: 0.4rem 0.5rem;
  }
  .campaign-hero-zoom-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
  }
  .campaign-photo-gallery-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
  .campaign-sidebar-card {
    padding: 1.15rem 1rem;
  }
  .campaign-share-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .btn-share-social {
    padding: 0.5rem 0.4rem;
    font-size: 0.76rem;
  }
}

/* Career Details Page Components */
.job-type-hero-pill {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(8px);
  padding: 0.38rem 1rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  border-radius: var(--radius-pill, 9999px) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.job-category-hero-badge {
  font-size: 0.82rem !important;
  padding: 0.38rem 1rem !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
}

.job-hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.65rem;
}

.job-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.job-hero-meta-item i.text-success {
  color: #4ade80 !important;
}

.job-hero-meta-divider {
  opacity: 0.6;
  font-size: 0.85rem;
}

/* ==========================================================================
   CAREER & CAREER DETAILS RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 991.98px) {
  .career-hero .media-stat-pill {
    white-space: nowrap !important;
  }
  .career-hero .media-stat-pill strong,
  .career-hero .media-stat-pill span {
    white-space: nowrap !important;
  }
  .career-talent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
  }
  .career-talent-btn {
    width: 100%;
    justify-content: center;
  }
  .job-overview-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .job-apply-box.sticky-top {
    position: static !important;
    margin-top: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .career-hero.inner-page-banner,
  .job-details-hero.inner-page-banner {
    padding: 2.25rem 0.75rem 2rem !important;
  }
  .career-hero .breadcrumb,
  .job-details-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .career-hero .hero-title,
  .job-details-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .career-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .job-hero-meta-strip {
    font-size: 0.88rem !important;
    gap: 0.35rem 0.75rem !important;
  }
  .career-hero .media-hero-stats {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
    margin-top: 1.25rem !important;
    width: 100% !important;
  }
  .career-hero .media-stat-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 290px !important;
    padding: 0.52rem 1rem !important;
    font-size: 0.84rem !important;
    white-space: nowrap !important;
    border-radius: var(--radius-pill, 9999px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    line-height: 1 !important;
  }
  .career-hero .media-stat-pill strong {
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline !important;
  }
  .career-hero .media-stat-pill span {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    display: inline !important;
    opacity: 0.92 !important;
  }
  .career-hero .media-stat-pill i {
    font-size: 0.92rem !important;
    flex-shrink: 0 !important;
  }
  .career-feature-card {
    padding: 1.25rem 1.1rem;
  }
  .job-card-modern {
    padding: 1.4rem 1.15rem;
  }
  .job-card-title {
    font-size: 1.15rem;
  }
  .job-card-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .job-view-btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
  }
  .hiring-process-section {
    padding: 2rem 1.25rem;
    margin: 2.5rem 0 2rem;
  }
  .job-overview-card {
    padding: 1.5rem 1.2rem !important;
  }
  .job-content-card {
    padding: 1.6rem 1.25rem !important;
  }
  .job-apply-box {
    padding: 1.5rem 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .career-hero.inner-page-banner,
  .job-details-hero.inner-page-banner {
    padding: 2rem 0.75rem 1.75rem !important;
  }
  .career-hero .hero-title,
  .job-details-hero .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.22 !important;
  }
  .career-hero .hero-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    max-width: 95% !important;
  }
  .career-hero .breadcrumb,
  .job-details-hero .breadcrumb {
    font-size: 0.76rem !important;
  }
  .job-type-hero-pill,
  .job-category-hero-badge {
    font-size: 0.76rem !important;
    padding: 0.3rem 0.75rem !important;
  }
  .job-hero-meta-divider {
    display: none !important;
  }
  .job-hero-meta-strip {
    font-size: 0.82rem !important;
    gap: 0.4rem 0.75rem !important;
  }
  .career-hero .media-stat-pill {
    max-width: min(290px, 94vw) !important;
    font-size: 0.8rem !important;
    padding: 0.46rem 0.85rem !important;
    gap: 0.42rem !important;
    min-height: 38px !important;
  }
  .career-hero .media-stat-pill strong {
    font-size: 0.84rem !important;
  }
  .career-hero .media-stat-pill span {
    font-size: 0.78rem !important;
  }
  .career-hero .media-stat-pill i {
    font-size: 0.86rem !important;
  }
  .career-section-heading {
    font-size: 1.35rem;
  }
  .career-section-desc {
    font-size: 0.88rem;
  }
  .career-controls-bar {
    padding: 1rem 0.85rem;
  }
  .career-talent-banner {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  .career-talent-content h3 {
    font-size: 1.25rem;
  }
  .career-talent-content p {
    font-size: 0.88rem;
  }
  .job-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .job-overview-card {
    padding: 1.25rem 1rem !important;
    border-radius: 14px !important;
  }
  .job-content-card {
    padding: 1.25rem 1rem !important;
    border-radius: 14px !important;
  }
  .job-apply-box {
    padding: 1.25rem 1rem !important;
    border-radius: 14px !important;
  }
}

/* ==========================================================================
   PROFILE HERO (profile.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.profile-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.profile-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.profile-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.profile-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.profile-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.profile-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.profile-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.profile-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.profile-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.profile-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .profile-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
  .profile-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    max-width: 560px !important;
    margin: 1.5rem auto 0 !important;
    width: 100% !important;
  }
  .profile-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.65rem !important;
    padding: 0.65rem 0.95rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }
  .profile-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.25 !important;
    min-width: 0 !important;
  }
  .profile-hero .media-stat-pill strong {
    font-size: 0.88rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .profile-hero .media-stat-pill span {
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    white-space: nowrap !important;
  }
  .profile-hero .media-stat-pill i {
    font-size: 1.15rem !important;
  }
}

@media (max-width: 767.98px) {
  .profile-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .profile-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .profile-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .profile-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .profile-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .profile-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
  }
  .profile-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .profile-hero .media-stat-pill strong {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .profile-hero .media-stat-pill span {
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .profile-hero .media-stat-pill i {
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
    color: #4ade80 !important;
  }
}

@media (max-width: 575.98px) {
  .profile-hero.inner-page-banner {
    padding: 1.75rem 0.75rem 1.5rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .profile-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .profile-hero .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .profile-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .profile-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .profile-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .profile-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .profile-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .profile-hero .media-stat-pill i {
    font-size: 1rem !important;
  }
}

@media (max-width: 360px) {
  .profile-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .profile-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .profile-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .profile-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .profile-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   AWARDS HERO (awards.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.awards-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.awards-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.awards-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.awards-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.awards-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.awards-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.45);
}

.awards-hero .media-stat-pill i {
  color: #fbbf24;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.awards-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.awards-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.awards-hero .media-stat-pill span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .awards-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .awards-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .awards-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .awards-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .awards-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .awards-hero .media-hero-stats {
    margin-top: 1.15rem !important;
  }
  .awards-hero .media-stat-pill {
    padding: 0.5rem 1.15rem !important;
    font-size: 0.84rem !important;
    gap: 0.5rem !important;
  }
  .awards-hero .media-stat-pill strong {
    font-size: 0.9rem !important;
  }
  .awards-hero .media-stat-pill span {
    font-size: 0.82rem !important;
  }
  .awards-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 575.98px) {
  .awards-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .awards-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .awards-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .awards-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .awards-hero .media-hero-stats {
    margin-top: 1rem !important;
  }
  .awards-hero .media-stat-pill {
    padding: 0.45rem 1rem !important;
    max-width: 90% !important;
  }
  .awards-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
  }
  .awards-hero .media-stat-pill span {
    font-size: 0.78rem !important;
  }
  .awards-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 360px) {
  .awards-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .awards-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .awards-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .awards-hero .media-stat-pill {
    padding: 0.38rem 0.75rem !important;
  }
}

/* ==========================================================================
   TEAMS HERO (our_teams.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.teams-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.teams-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.teams-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.teams-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.teams-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.teams-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.teams-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.teams-hero .media-stat-pill i.fa-heart {
  color: #f87171;
}

.teams-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.teams-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.teams-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .teams-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .teams-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .teams-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .teams-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .teams-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .teams-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .teams-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
  }
  .teams-hero .media-stat-pill:nth-child(3) {
    grid-column: 1 / -1 !important;
    max-width: 220px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .teams-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .teams-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .teams-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .teams-hero .media-stat-pill i {
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
    color: #4ade80 !important;
  }
  .teams-hero .media-stat-pill i.fa-heart {
    color: #f87171 !important;
  }
}

@media (max-width: 575.98px) {
  .teams-hero.inner-page-banner {
    padding: 1.75rem 0.75rem 1.5rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .teams-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .teams-hero .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .teams-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .teams-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .teams-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .teams-hero .media-stat-pill:nth-child(3) {
    max-width: 200px !important;
  }
  .teams-hero .media-stat-pill strong {
    font-size: 0.8rem !important;
  }
  .teams-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .teams-hero .media-stat-pill i {
    font-size: 1rem !important;
  }
}

@media (max-width: 360px) {
  .teams-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .teams-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .teams-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .teams-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .teams-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .teams-hero .media-stat-pill:nth-child(3) {
    max-width: 180px !important;
  }
  .teams-hero .media-stat-pill strong {
    font-size: 0.74rem !important;
  }
  .teams-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .teams-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   TEAMS LEADERSHIP HEADER & CATEGORY PILLS (our_teams.php) - RESPONSIVE
   ========================================================================== */
.team-nav-pills-wrap {
  width: 100%;
  position: relative;
  margin-bottom: 2.75rem;
}

.team-nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.25rem 0;
  margin-bottom: 0;
}

.team-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(47, 168, 79, 0.35);
  border-radius: var(--radius-pill, 9999px);
  color: var(--brand-dark-green, #148F41);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.team-nav-pill:hover,
.team-nav-pill:focus,
.team-nav-pill.active {
  background: var(--brand-dark-green, #148F41) !important;
  border-color: var(--brand-dark-green, #148F41) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 143, 65, 0.25);
}

.team-pill-name {
  font-weight: 600;
  line-height: 1;
}

.team-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(20, 143, 65, 0.1);
  color: var(--brand-dark-green, #148F41);
  min-width: 22px;
  line-height: 1.2;
  transition: all var(--transition-fast, 0.2s ease);
}

.team-nav-pill:hover .team-pill-count,
.team-nav-pill:focus .team-pill-count,
.team-nav-pill.active .team-pill-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .team-page-header {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .team-container {
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .team-page-header {
    margin-bottom: 1.5rem !important;
  }
  .team-page-header .badge {
    font-size: 0.78rem !important;
    padding: 0.32rem 0.8rem !important;
  }
  .team-main-heading {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin: 0.35rem auto 0.5rem !important;
  }
  .team-main-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
    margin-bottom: 0.75rem !important;
  }
  .title-underline {
    width: 50px !important;
    height: 3px !important;
    margin: 0.65rem auto 1.25rem auto !important;
  }
  .team-nav-pills-wrap {
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem !important;
  }
  .team-nav-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    padding: 0.25rem 0.5rem 0.65rem 0.5rem !important;
    gap: 0.5rem !important;
  }
  .team-nav-pills::-webkit-scrollbar {
    display: none !important;
  }
  .team-nav-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.42rem 0.85rem !important;
    gap: 0.4rem !important;
  }
  .team-pill-count {
    font-size: 0.7rem !important;
    padding: 0.08rem 0.42rem !important;
    min-width: 20px !important;
  }
  .member-type-section {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 575.98px) {
  .team-main-heading {
    font-size: 1.32rem !important;
    line-height: 1.22 !important;
  }
  .team-main-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding: 0 0.5rem !important;
  }
  .team-nav-pills {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    gap: 0.4rem !important;
  }
  .team-nav-pill {
    font-size: 0.78rem !important;
    padding: 0.38rem 0.75rem !important;
  }
}

@media (max-width: 360px) {
  .team-main-heading {
    font-size: 1.22rem !important;
  }
  .team-main-subtitle {
    font-size: 0.78rem !important;
  }
  .team-nav-pill {
    font-size: 0.74rem !important;
    padding: 0.32rem 0.65rem !important;
  }
}

/* ==========================================================================
   RISING STARS HERO (rising_stars.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.rising-stars-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.rising-stars-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.rising-stars-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.rising-stars-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.rising-stars-hero .media-stat-pill,
.rising-stars-hero .hero-counter-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.rising-stars-hero .media-stat-pill:hover,
.rising-stars-hero .hero-counter-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.45);
}

.rising-stars-hero .media-stat-pill i,
.rising-stars-hero .hero-counter-badge i {
  color: #fbbf24;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rising-stars-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.rising-stars-hero .media-stat-pill strong,
.rising-stars-hero .hero-counter-badge strong {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.rising-stars-hero .media-stat-pill span,
.rising-stars-hero .hero-counter-badge span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .rising-stars-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .rising-stars-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .rising-stars-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .rising-stars-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .rising-stars-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .rising-stars-hero .media-hero-stats {
    margin-top: 1.15rem !important;
  }
  .rising-stars-hero .media-stat-pill,
  .rising-stars-hero .hero-counter-badge {
    padding: 0.5rem 1.15rem !important;
    font-size: 0.84rem !important;
    gap: 0.5rem !important;
  }
  .rising-stars-hero .media-stat-pill strong,
  .rising-stars-hero .hero-counter-badge strong {
    font-size: 0.9rem !important;
  }
  .rising-stars-hero .media-stat-pill span,
  .rising-stars-hero .hero-counter-badge span {
    font-size: 0.82rem !important;
  }
  .rising-stars-hero .media-stat-pill i,
  .rising-stars-hero .hero-counter-badge i {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 575.98px) {
  .rising-stars-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .rising-stars-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .rising-stars-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .rising-stars-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .rising-stars-hero .media-hero-stats {
    margin-top: 1rem !important;
  }
  .rising-stars-hero .media-stat-pill,
  .rising-stars-hero .hero-counter-badge {
    padding: 0.45rem 1rem !important;
    max-width: 90% !important;
  }
  .rising-stars-hero .media-stat-pill strong,
  .rising-stars-hero .hero-counter-badge strong {
    font-size: 0.85rem !important;
  }
  .rising-stars-hero .media-stat-pill span,
  .rising-stars-hero .hero-counter-badge span {
    font-size: 0.78rem !important;
  }
  .rising-stars-hero .media-stat-pill i,
  .rising-stars-hero .hero-counter-badge i {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 360px) {
  .rising-stars-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .rising-stars-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .rising-stars-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .rising-stars-hero .media-stat-pill,
  .rising-stars-hero .hero-counter-badge {
    padding: 0.38rem 0.75rem !important;
  }
}

/* ==========================================================================
   AMBASSADORS HERO (ambassador.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.ambassadors-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.ambassadors-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.ambassadors-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.ambassadors-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.ambassadors-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.ambassadors-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.45);
}

.ambassadors-hero .media-stat-pill i {
  color: #fbbf24;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ambassadors-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.ambassadors-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.ambassadors-hero .media-stat-pill span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .ambassadors-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .ambassadors-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .ambassadors-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .ambassadors-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .ambassadors-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .ambassadors-hero .media-hero-stats {
    margin-top: 1.15rem !important;
  }
  .ambassadors-hero .media-stat-pill {
    padding: 0.5rem 1.15rem !important;
    font-size: 0.84rem !important;
    gap: 0.5rem !important;
  }
  .ambassadors-hero .media-stat-pill strong {
    font-size: 0.9rem !important;
  }
  .ambassadors-hero .media-stat-pill span {
    font-size: 0.82rem !important;
  }
  .ambassadors-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
  .ambassadors-container {
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .batch3-empty-state-modern {
    padding: 2.25rem 1.25rem 2rem 1.25rem !important;
    margin: 1rem auto 1.5rem auto !important;
    border-radius: var(--radius-md, 14px) !important;
  }
  .batch3-empty-icon {
    width: 68px !important;
    height: 68px !important;
    font-size: 1.8rem !important;
    margin-bottom: 1.15rem !important;
  }
  .batch3-empty-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.65rem !important;
  }
  .batch3-empty-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.35rem !important;
    padding: 0 0.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .ambassadors-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .ambassadors-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .ambassadors-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .ambassadors-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .ambassadors-hero .media-hero-stats {
    margin-top: 1rem !important;
  }
  .ambassadors-hero .media-stat-pill {
    padding: 0.45rem 1rem !important;
    max-width: 90% !important;
  }
  .ambassadors-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
  }
  .ambassadors-hero .media-stat-pill span {
    font-size: 0.78rem !important;
  }
  .ambassadors-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
  .batch3-empty-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    max-width: 290px !important;
    margin: 0 auto !important;
  }
  .batch3-empty-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
    padding: 0.55rem 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

@media (max-width: 360px) {
  .ambassadors-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .ambassadors-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .ambassadors-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .ambassadors-hero .media-stat-pill {
    padding: 0.38rem 0.75rem !important;
  }
  .batch3-empty-title {
    font-size: 1.15rem !important;
  }
  .batch3-empty-desc {
    font-size: 0.82rem !important;
  }
  .batch3-empty-actions {
    max-width: 100% !important;
  }
}

/* ==========================================================================
   PARTNERS HERO & FILTER PILLS (partners.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.partners-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.partners-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.partners-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.partners-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.partners-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.partners-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.partners-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.partners-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.partners-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.partners-hero .media-stat-pill span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Partner Main Section Headings */
.partner-main-heading {
  font-size: 2.1rem;
  color: #0f172a;
  line-height: 1.3;
}

.partner-main-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 650px;
}

@media (max-width: 991.98px) {
  .partners-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .partners-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .partners-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .partners-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .partners-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .partners-hero .media-hero-stats {
    margin-top: 1.15rem !important;
  }
  .partners-hero .media-stat-pill {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.84rem !important;
    gap: 0.5rem !important;
  }
  .partners-hero .media-stat-pill strong {
    font-size: 0.9rem !important;
  }
  .partners-hero .media-stat-pill span {
    font-size: 0.82rem !important;
  }
  .partners-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
  .partner-main-heading {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }
  .partner-main-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
  }

  /* Partner Filter Pills - Horizontal Scroll on Mobile */
  .partner-filter-bar {
    margin-bottom: 1.5rem !important;
    overflow: hidden;
    position: relative;
  }
  .partner-filter-pills-wrap {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0.25rem 0.5rem 0.65rem 0.5rem !important;
  }
  .partner-filter-pills-wrap::-webkit-scrollbar {
    display: none !important;
  }
  .partner-filter-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.25rem 0.25rem !important;
    gap: 0.5rem !important;
    width: max-content !important;
    min-width: 100% !important;
  }
  .partner-filter-pills::-webkit-scrollbar {
    display: none !important;
  }
  .partner-filter-btn {
    flex-shrink: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.45rem 1rem !important;
    background: #ffffff !important;
    border: 1px solid rgba(20, 143, 65, 0.3) !important;
    border-radius: var(--radius-pill, 9999px) !important;
    color: var(--brand-dark-green, #148F41) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: all var(--transition-fast, 0.2s ease) !important;
  }
  .partner-filter-btn .badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 0.12rem 0.45rem !important;
    border-radius: var(--radius-pill, 9999px) !important;
    background: rgba(20, 143, 65, 0.1) !important;
    color: var(--brand-dark-green, #148F41) !important;
    border: none !important;
    line-height: 1.2 !important;
    transition: all var(--transition-fast, 0.2s ease) !important;
  }
  .partner-filter-btn:hover,
  .partner-filter-btn:focus,
  .partner-filter-btn.active {
    background: var(--brand-dark-green, #148F41) !important;
    border-color: var(--brand-dark-green, #148F41) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(20, 143, 65, 0.25) !important;
  }
  .partner-filter-btn.active .badge,
  .partner-filter-btn:hover .badge {
    background: #ffffff !important;
    color: var(--brand-dark-green, #148F41) !important;
  }
}

@media (max-width: 575.98px) {
  .partners-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .partners-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .partners-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .partners-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .partners-hero .media-hero-stats {
    margin-top: 1rem !important;
  }
  .partners-hero .media-stat-pill {
    padding: 0.45rem 1rem !important;
    max-width: 90% !important;
  }
  .partners-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
  }
  .partners-hero .media-stat-pill span {
    font-size: 0.78rem !important;
  }
  .partners-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
  .partner-main-heading {
    font-size: 1.32rem !important;
    line-height: 1.22 !important;
  }
  .partner-main-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding: 0 0.35rem !important;
  }
  .partner-filter-pills {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    gap: 0.4rem !important;
  }
  .partner-filter-btn {
    font-size: 0.78rem !important;
    padding: 0.38rem 0.8rem !important;
  }
}

@media (max-width: 360px) {
  .partners-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .partners-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .partners-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .partners-hero .media-stat-pill {
    padding: 0.38rem 0.75rem !important;
  }
  .partner-main-heading {
    font-size: 1.22rem !important;
  }
  .partner-main-subtitle {
    font-size: 0.78rem !important;
  }
  .partner-filter-btn {
    font-size: 0.74rem !important;
    padding: 0.32rem 0.7rem !important;
  }
}

/* ==========================================================================
   PUBLICATIONS HERO (publications.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.publications-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.publications-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.publications-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.publications-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.publications-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.publications-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.publications-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.publications-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.publications-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  white-space: nowrap !important;
}

.publications-hero .media-stat-pill span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap !important;
}

@media (max-width: 991.98px) {
  .publications-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .publications-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .publications-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .publications-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .publications-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .publications-hero .media-hero-stats {
    margin-top: 1.15rem !important;
  }
  .publications-hero .media-stat-pill {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.84rem !important;
    gap: 0.5rem !important;
  }
  .publications-hero .media-stat-pill strong {
    font-size: 0.9rem !important;
  }
  .publications-hero .media-stat-pill span {
    font-size: 0.82rem !important;
  }
  .publications-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 575.98px) {
  .publications-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .publications-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .publications-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .publications-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .publications-hero .media-hero-stats {
    margin-top: 1rem !important;
  }
  .publications-hero .media-stat-pill {
    padding: 0.45rem 1rem !important;
    max-width: 92% !important;
  }
  .publications-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
  }
  .publications-hero .media-stat-pill span {
    font-size: 0.78rem !important;
  }
  .publications-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 360px) {
  .publications-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .publications-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .publications-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .publications-hero .media-stat-pill {
    padding: 0.38rem 0.75rem !important;
  }
}

/* ==========================================================================
   PROJECTS HERO & FILTER (projects.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.projects-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.projects-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.projects-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.projects-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.projects-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.projects-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.projects-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.projects-hero .media-stat-pill i.fa-play-circle {
  color: #34d399;
}

.projects-hero .media-stat-pill i.fa-clock {
  color: #fbbf24;
}

.projects-hero .media-stat-pill i.fa-check-circle {
  color: #38bdf8;
}

.projects-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.projects-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.projects-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Projects Section Heading Responsive Classes */
.projects-main-heading {
  font-size: 2.1rem;
  color: #0f172a;
  line-height: 1.3;
}

.projects-main-subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 680px;
}

.status-filter-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .projects-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .projects-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .projects-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .projects-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .projects-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .projects-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .projects-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
  }
  .projects-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .projects-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .projects-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .projects-hero .media-stat-pill i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
  .projects-main-heading {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }
  .projects-main-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
  }

  /* Status Filter Horizontal Strip on Mobile */
  .status-filter-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0.25rem 0.5rem 0.65rem 0.5rem !important;
    margin-bottom: 1.25rem !important;
    justify-content: flex-start !important;
  }
  .status-filter-wrap::-webkit-scrollbar {
    display: none !important;
  }
  .status-filter {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    gap: 0.5rem !important;
  }
  .status-filter::-webkit-scrollbar {
    display: none !important;
  }
  .status-filter .filter-btn {
    flex-shrink: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.42rem 0.95rem !important;
  }
}

@media (max-width: 575.98px) {
  .projects-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .projects-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .projects-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .projects-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .projects-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .projects-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .projects-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .projects-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .projects-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
  .projects-main-heading {
    font-size: 1.32rem !important;
    line-height: 1.22 !important;
  }
  .projects-main-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding: 0 0.35rem !important;
  }
  .status-filter {
    gap: 0.4rem !important;
  }
  .status-filter .filter-btn {
    font-size: 0.78rem !important;
    padding: 0.38rem 0.8rem !important;
  }
}

@media (max-width: 360px) {
  .projects-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .projects-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .projects-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .projects-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .projects-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .projects-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .projects-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .projects-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
  .projects-main-heading {
    font-size: 1.22rem !important;
  }
  .projects-main-subtitle {
    font-size: 0.78rem !important;
  }
  .status-filter .filter-btn {
    font-size: 0.74rem !important;
    padding: 0.32rem 0.68rem !important;
  }
}

/* ==========================================================================
   CAMPAIGN HERO & FILTER (campaign.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.campaign-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.campaign-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.campaign-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.campaign-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.campaign-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.campaign-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.campaign-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.campaign-hero .media-stat-pill i.fa-play-circle {
  color: #34d399;
}

.campaign-hero .media-stat-pill i.fa-calendar-alt {
  color: #fbbf24;
}

.campaign-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.campaign-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.campaign-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Campaigns Section Heading Responsive Classes */
.campaigns-main-heading {
  font-size: 2.1rem;
  color: #0f172a;
  line-height: 1.3;
}

.campaigns-main-subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 680px;
}

.campaigns-status-filter-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .campaign-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .campaign-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .campaign-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .campaign-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .campaign-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .campaign-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .campaign-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
  }
  .campaign-hero .media-stat-pill:nth-child(3) {
    grid-column: 1 / -1 !important;
    max-width: 220px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .campaign-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .campaign-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .campaign-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .campaign-hero .media-stat-pill i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
  .campaigns-main-heading {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }
  .campaigns-main-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
  }

  /* Campaigns Status Filter Horizontal Strip on Mobile */
  .campaigns-status-filter-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0.25rem 0.5rem 0.65rem 0.5rem !important;
    margin-bottom: 1.25rem !important;
    justify-content: flex-start !important;
  }
  .campaigns-status-filter-wrap::-webkit-scrollbar {
    display: none !important;
  }
  .campaigns-status-filter {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    gap: 0.5rem !important;
  }
  .campaigns-status-filter::-webkit-scrollbar {
    display: none !important;
  }
  .campaign-filter-btn {
    flex-shrink: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.42rem 0.95rem !important;
  }
}

@media (max-width: 575.98px) {
  .campaign-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .campaign-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .campaign-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .campaign-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .campaign-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .campaign-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .campaign-hero .media-stat-pill:nth-child(3) {
    max-width: 180px !important;
  }
  .campaign-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .campaign-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .campaign-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
  .campaigns-main-heading {
    font-size: 1.32rem !important;
    line-height: 1.22 !important;
  }
  .campaigns-main-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding: 0 0.35rem !important;
  }
  .campaigns-status-filter {
    gap: 0.4rem !important;
  }
  .campaign-filter-btn {
    font-size: 0.78rem !important;
    padding: 0.38rem 0.8rem !important;
  }
}

@media (max-width: 360px) {
  .campaign-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .campaign-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .campaign-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .campaign-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .campaign-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .campaign-hero .media-stat-pill:nth-child(3) {
    max-width: 160px !important;
  }
  .campaign-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .campaign-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .campaign-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
  .campaigns-main-heading {
    font-size: 1.22rem !important;
  }
  .campaigns-main-subtitle {
    font-size: 0.78rem !important;
  }
  .campaign-filter-btn {
    font-size: 0.74rem !important;
    padding: 0.32rem 0.68rem !important;
  }
}

/* ==========================================================================
   NEWS & EVENTS HERO & FILTER (news-events.php) - RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
.news-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.news-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.news-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.news-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.news-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.news-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.news-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.news-hero .media-stat-pill i.fa-calendar-alt {
  color: #f87171;
}

.news-hero .media-stat-pill i.fa-bullhorn {
  color: #38bdf8;
}

.news-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.news-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.news-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

/* News Section Heading Responsive Classes */
.news-main-heading {
  font-size: 2.1rem;
  color: #0f172a;
  line-height: 1.3;
}

.news-main-subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 680px;
}

.type-filter-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .news-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .news-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .news-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .news-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .news-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .news-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .news-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
  }
  .news-hero .media-stat-pill:nth-child(3) {
    grid-column: 1 / -1 !important;
    max-width: 220px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .news-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .news-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .news-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .news-hero .media-stat-pill i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
  .news-main-heading {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }
  .news-main-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
  }

  /* Type Filter Horizontal Strip on Mobile */
  .type-filter-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0.25rem 0.5rem 0.65rem 0.5rem !important;
    margin-bottom: 1.25rem !important;
    justify-content: flex-start !important;
  }
  .type-filter-wrap::-webkit-scrollbar {
    display: none !important;
  }
  .type-filter {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    gap: 0.5rem !important;
  }
  .type-filter::-webkit-scrollbar {
    display: none !important;
  }
  .type-filter .filter-btn {
    flex-shrink: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.42rem 0.95rem !important;
  }
}

@media (max-width: 575.98px) {
  .news-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .news-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .news-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .news-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .news-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .news-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .news-hero .media-stat-pill:nth-child(3) {
    max-width: 180px !important;
  }
  .news-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .news-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .news-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
  .news-main-heading {
    font-size: 1.32rem !important;
    line-height: 1.22 !important;
  }
  .news-main-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding: 0 0.35rem !important;
  }
  .type-filter {
    gap: 0.4rem !important;
  }
  .type-filter .filter-btn {
    font-size: 0.78rem !important;
    padding: 0.38rem 0.8rem !important;
  }
}

@media (max-width: 360px) {
  .news-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .news-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .news-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .news-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .news-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .news-hero .media-stat-pill:nth-child(3) {
    max-width: 160px !important;
  }
  .news-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .news-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .news-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
  .news-main-heading {
    font-size: 1.22rem !important;
  }
  .news-main-subtitle {
    font-size: 0.78rem !important;
  }
  .type-filter .filter-btn {
    font-size: 0.74rem !important;
    padding: 0.32rem 0.68rem !important;
  }
}

/* ==========================================================================
   GALLERY HERO & FILTER (gallery.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
.gallery-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.gallery-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.gallery-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.gallery-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.gallery-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.gallery-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.gallery-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.gallery-hero .media-stat-pill i.fa-images {
  color: #38bdf8;
}

.gallery-hero .media-stat-pill i.fa-calendar-alt {
  color: #fbbf24;
}

.gallery-hero .media-stat-pill i.fa-project-diagram {
  color: #34d399;
}

.gallery-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.gallery-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.gallery-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .gallery-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .gallery-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .gallery-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .gallery-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .gallery-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .gallery-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .gallery-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
  }
  .gallery-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .gallery-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .gallery-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .gallery-hero .media-stat-pill i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }

  /* Gallery Filter Horizontal Scroll Strip on Mobile */
  .gallery-filter-wrap {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    overflow: hidden;
  }
  .gallery-filter-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: 100% !important;
    padding: 0.25rem 0.25rem 0.5rem 0.25rem !important;
    gap: 0.5rem !important;
  }
  .gallery-filter-pills::-webkit-scrollbar {
    display: none !important;
  }
  .gallery-filter-pill {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.42rem 0.95rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  }
  .gallery-result-info {
    width: 100% !important;
    text-align: center !important;
    margin-top: 0.5rem !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 575.98px) {
  .gallery-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .gallery-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .gallery-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .gallery-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .gallery-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .gallery-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .gallery-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .gallery-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .gallery-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
  .gallery-filter-pills {
    gap: 0.4rem !important;
  }
  .gallery-filter-pill {
    font-size: 0.78rem !important;
    padding: 0.38rem 0.8rem !important;
  }
}

@media (max-width: 360px) {
  .gallery-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .gallery-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .gallery-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .gallery-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .gallery-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .gallery-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .gallery-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .gallery-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
  .gallery-filter-pill {
    font-size: 0.74rem !important;
    padding: 0.32rem 0.68rem !important;
  }
}

/* ==========================================================================
   VIDEOS HERO (videos.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */

.videos-hero.inner-page-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.videos-hero.inner-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.videos-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
}

.videos-hero .breadcrumb-item,
.videos-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s ease);
}

.videos-hero .breadcrumb-item a:hover {
  color: #ffffff !important;
}

.videos-hero .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 600;
}

.videos-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6) !important;
}

.videos-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.videos-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.videos-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.videos-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.videos-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.videos-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.videos-hero .media-stat-pill i.fa-youtube {
  color: #f87171;
}

.videos-hero .media-stat-pill i.fa-video {
  color: #38bdf8;
}

.videos-hero .media-stat-pill i.fa-users {
  color: #4ade80;
}

.videos-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.videos-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.videos-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .videos-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .videos-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .videos-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .videos-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .videos-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .videos-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .videos-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
  }
  .videos-hero .media-stat-pill:nth-child(3) {
    grid-column: 1 / -1 !important;
    max-width: 230px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .videos-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .videos-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .videos-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .videos-hero .media-stat-pill i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .videos-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .videos-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .videos-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .videos-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .videos-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .videos-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .videos-hero .media-stat-pill:nth-child(3) {
    max-width: 210px !important;
  }
  .videos-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .videos-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .videos-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 360px) {
  .videos-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .videos-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .videos-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .videos-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .videos-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .videos-hero .media-stat-pill:nth-child(3) {
    max-width: 190px !important;
  }
  .videos-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .videos-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .videos-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   VOLUNTEER HERO (volunteer.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */

.volunteer-hero.inner-page-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.volunteer-hero.inner-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.volunteer-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
}

.volunteer-hero .breadcrumb-item,
.volunteer-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s ease);
}

.volunteer-hero .breadcrumb-item a:hover {
  color: #ffffff !important;
}

.volunteer-hero .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 600;
}

.volunteer-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6) !important;
}

.volunteer-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.volunteer-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.volunteer-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.volunteer-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.volunteer-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.volunteer-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.volunteer-hero .media-stat-pill i.fa-hands-helping {
  color: #4ade80;
}

.volunteer-hero .media-stat-pill i.fa-user-check {
  color: #38bdf8;
}

.volunteer-hero .media-stat-pill i.fa-map-marked-alt {
  color: #fbbf24;
}

.volunteer-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.volunteer-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.volunteer-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .volunteer-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .volunteer-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .volunteer-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .volunteer-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .volunteer-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .volunteer-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .volunteer-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .volunteer-hero .media-stat-pill:nth-child(3) {
    grid-column: 1 / -1 !important;
    max-width: 230px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .volunteer-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .volunteer-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .volunteer-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .volunteer-hero .media-stat-pill i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .volunteer-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .volunteer-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .volunteer-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .volunteer-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .volunteer-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .volunteer-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .volunteer-hero .media-stat-pill:nth-child(3) {
    max-width: 210px !important;
  }
  .volunteer-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .volunteer-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .volunteer-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 360px) {
  .volunteer-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .volunteer-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .volunteer-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .volunteer-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .volunteer-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .volunteer-hero .media-stat-pill:nth-child(3) {
    max-width: 190px !important;
  }
  .volunteer-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .volunteer-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .volunteer-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   CONTACT PAGE (contact.php) - MODERN PROFESSIONAL LAYOUT & RESPONSIVE
   ========================================================================== */

.contact-container {
  background: #f8fafc;
  padding: 2rem 0 2.5rem;
}

/* 1. Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem 2.25rem;
  height: auto !important;
  align-self: flex-start;
}

.contact-form-card .form-header h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
}

.contact-form-card .form-header p {
  color: #64748b;
  font-size: 0.94rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1e293b;
  margin-bottom: 0.45rem;
  display: block;
}

.contact-form .input-group {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: all 0.2s ease;
}

.contact-form .input-group:focus-within {
  border-color: #148F41;
  box-shadow: 0 0 0 3px rgba(20, 143, 65, 0.15);
}

.contact-form .input-group-text {
  background: #f8fafc;
  border: none;
  border-right: 1px solid #e2e8f0;
  color: #148F41;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.contact-form .form-control {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #1e293b;
  background: transparent;
}

.contact-form .form-control:focus {
  box-shadow: none;
  background: transparent;
}

.contact-form .form-select {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #1e293b;
  background-color: transparent;
  cursor: pointer;
}

.contact-form .form-select:focus {
  box-shadow: none;
  background-color: transparent;
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-trust-text {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

/* 2. Office Location & Map Cards */
.contact-office-card,
.contact-map-card,
.info-card,
.map-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.contact-office-header,
.contact-map-header,
.info-header,
.map-header {
  background: linear-gradient(135deg, #148F41 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  padding: 1.15rem 1.5rem !important;
}

.contact-office-header h3,
.contact-map-header h3,
.info-header h3,
.map-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.contact-office-body,
.info-content {
  padding: 1.5rem 1.75rem !important;
  display: flex !important;
  flex-direction: column !important;
}

.contact-office-item,
.info-card .info-item {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 1.15rem !important;
  padding: 1.15rem 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  text-align: left !important;
  width: 100% !important;
}

.contact-office-item:first-child,
.info-card .info-item:first-child {
  padding-top: 0 !important;
}

.contact-office-item:last-child,
.info-card .info-item:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.contact-office-icon,
.info-card .info-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: #f0fdf4 !important;
  border: 1px solid rgba(20, 143, 65, 0.22) !important;
  color: #148F41 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.contact-office-text,
.info-card .info-text {
  flex: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.contact-office-text h5,
.info-card .info-text h5 {
  font-family: var(--font-heading);
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #148F41 !important;
  margin: 0 0 0.25rem 0 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.contact-office-text p,
.info-card .info-text p {
  margin: 0 !important;
  color: #475569 !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  text-align: left !important;
  word-break: break-word !important;
}

.contact-office-text p a,
.info-card .info-text p a {
  color: #475569 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.contact-office-text p a:hover,
.info-card .info-text p a:hover {
  color: #148F41 !important;
  text-decoration: underline !important;
}

/* 3. Map Container */
.contact-map-body,
.map-card .map-container {
  padding: 0 !important;
  overflow: hidden !important;
}

.contact-map-body iframe,
.map-card .map-container iframe {
  display: block !important;
  width: 100% !important;
}

/* 4. Responsive Breakpoints */
@media (max-width: 991.98px) {
  .contact-container {
    padding: 2.25rem 0 3rem;
  }
  .contact-form-card {
    padding: 2rem 1.75rem;
    height: auto;
  }
  .contact-office-card {
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .contact-container {
    padding: 1.75rem 0 2.5rem;
  }
  .contact-form-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }
  .contact-form-card .form-header h2 {
    font-size: 1.35rem;
  }
  .contact-form-card .form-header p {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }
  .contact-office-card,
  .contact-map-card,
  .info-card,
  .map-card {
    border-radius: 14px;
  }
  .contact-office-header,
  .contact-map-header,
  .info-header,
  .map-header {
    padding: 0.95rem 1.25rem !important;
  }
  .contact-office-header h3,
  .contact-map-header h3,
  .info-header h3,
  .map-header h3 {
    font-size: 1.05rem !important;
  }
  .contact-office-body,
  .info-content {
    padding: 1.25rem !important;
  }
  .contact-office-item,
  .info-card .info-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.95rem !important;
    padding: 1rem 0 !important;
  }
  .contact-office-icon,
  .info-card .info-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.05rem !important;
    border-radius: 9px !important;
    margin: 0 !important;
  }
  .contact-office-text h5,
  .info-card .info-text h5 {
    font-size: 0.95rem !important;
  }
  .contact-office-text p,
  .info-card .info-text p {
    font-size: 0.88rem !important;
  }
}

@media (max-width: 575.98px) {
  .contact-form-card {
    padding: 1.25rem 0.95rem;
    border-radius: 12px;
  }
  .contact-form-card .form-header h2 {
    font-size: 1.22rem;
  }
  .contact-office-card,
  .contact-map-card,
  .info-card,
  .map-card {
    border-radius: 12px;
  }
  .contact-office-header,
  .contact-map-header,
  .info-header,
  .map-header {
    padding: 0.85rem 1rem !important;
  }
  .contact-office-header h3,
  .contact-map-header h3,
  .info-header h3,
  .map-header h3 {
    font-size: 0.98rem !important;
  }
  .contact-office-body,
  .info-content {
    padding: 1rem 0.85rem !important;
  }
  .contact-office-item,
  .info-card .info-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding: 0.85rem 0 !important;
  }
  .contact-office-icon,
  .info-card .info-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    margin: 0 !important;
  }
  .contact-office-text h5,
  .info-card .info-text h5 {
    font-size: 0.9rem !important;
  }
  .contact-office-text p,
  .info-card .info-text p {
    font-size: 0.84rem !important;
  }
}

/* ==========================================================================
   CONTACT HERO (contact.php) - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */

.contact-hero.inner-page-banner {
  background: linear-gradient(135deg, var(--brand-forest-dark, #0a3d1f) 0%, var(--brand-dark-green, #148F41) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.contact-hero.inner-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47, 168, 79, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.contact-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
}

.contact-hero .breadcrumb-item,
.contact-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s ease);
}

.contact-hero .breadcrumb-item a:hover {
  color: #ffffff !important;
}

.contact-hero .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 600;
}

.contact-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6) !important;
}

.contact-hero .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.contact-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.65rem;
}

.contact-hero .media-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.contact-hero .media-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.6rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  transition: all var(--transition-fast, 0.2s ease);
}

.contact-hero .media-stat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45);
}

.contact-hero .media-stat-pill i {
  color: #4ade80;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact-hero .media-stat-pill i.fa-clock {
  color: #38bdf8;
}

.contact-hero .media-stat-pill i.fa-reply {
  color: #fbbf24;
}

.contact-hero .media-stat-pill i.fa-handshake {
  color: #4ade80;
}

.contact-hero .media-stat-info {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.contact-hero .media-stat-pill strong {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.contact-hero .media-stat-pill span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .contact-hero.inner-page-banner {
    padding: 2.75rem 1.5rem 2.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .contact-hero.inner-page-banner {
    padding: 2.25rem 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .contact-hero .breadcrumb {
    justify-content: center !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
  }
  .contact-hero .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
  }
  .contact-hero .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    max-width: 95% !important;
  }
  .contact-hero .media-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    max-width: 440px !important;
    margin: 1.25rem auto 0 !important;
    width: 100% !important;
  }
  .contact-hero .media-stat-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .contact-hero .media-stat-pill:nth-child(3) {
    grid-column: 1 / -1 !important;
    max-width: 230px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .contact-hero .media-stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .contact-hero .media-stat-pill strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .contact-hero .media-stat-pill span {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }
  .contact-hero .media-stat-pill i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .contact-hero.inner-page-banner {
    padding: 1.85rem 0.75rem 1.6rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: var(--radius-md, 12px) !important;
  }
  .contact-hero .breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 0.5rem !important;
  }
  .contact-hero .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }
  .contact-hero .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.35rem !important;
  }
  .contact-hero .media-hero-stats {
    gap: 0.5rem !important;
    margin-top: 1.15rem !important;
  }
  .contact-hero .media-stat-pill {
    padding: 0.48rem 0.6rem !important;
    gap: 0.45rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }
  .contact-hero .media-stat-pill:nth-child(3) {
    max-width: 210px !important;
  }
  .contact-hero .media-stat-pill strong {
    font-size: 0.78rem !important;
  }
  .contact-hero .media-stat-pill span {
    font-size: 0.7rem !important;
  }
  .contact-hero .media-stat-pill i {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 360px) {
  .contact-hero.inner-page-banner {
    padding: 1.65rem 0.5rem 1.4rem !important;
  }
  .contact-hero .hero-title {
    font-size: 1.25rem !important;
  }
  .contact-hero .hero-subtitle {
    font-size: 0.8rem !important;
  }
  .contact-hero .media-hero-stats {
    gap: 0.4rem !important;
  }
  .contact-hero .media-stat-pill {
    padding: 0.42rem 0.45rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
  }
  .contact-hero .media-stat-pill:nth-child(3) {
    max-width: 190px !important;
  }
  .contact-hero .media-stat-pill strong {
    font-size: 0.72rem !important;
  }
  .contact-hero .media-stat-pill span {
    font-size: 0.65rem !important;
  }
  .contact-hero .media-stat-pill i {
    font-size: 0.9rem !important;
  }
}







