/* CSS Variables */
:root {
  --primary-color: #00401A;
  --background-light: #e0e3e4f0;
  --background-dark: #0f172a;
  --border-radius: 0.5rem;
}

/* original  paksitan color for green 
#006600 */
/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background-light);
  color: #334155;
  transition:
    background-color 0.3s,
    color 0.3s;
}

body.dark-mode {
  background-color: var(--background-dark);
  color: #cbd5e1;
}
/* hide hamburger on desktop (>=768px) */
@media (min-width: 768px) {
  .hamburger-btn {
    display: none;
  }
}
.hamburger-btn {

  background: none;
  border: none;
  color: white;
  font-size: 32px;
  padding: 8px;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.research-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-item .dropDownmenu {
  display: none;
  transition: all 0.3s linear;
  position: absolute;
  left: 0;
  width: 220px;
  background: #fff;
  list-style: none;
  color: #000;
  border-radius: 5px;
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
}

.nav-item:hover .dropDownmenu {
  display: block;
  z-index: 9999;
}

.nav-item:hover .dropDownmenu li {
  cursor: pointer;
}

.nav-item .dropDownmenu li a {
  padding: 10px;
  display: block;
  text-decoration: none;
  color: var(--primary-color);
}

.nav-item .dropDownmenu li a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transition: all .2s linear;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* **************************************************************************** */
.nav-overlay,
.menuBar {
  display: none;
}


/* **************************************************************************** */
/* Material Icons */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* Top Bar */
.top-bar {
  background-color: #39393bf0;
  border-bottom: 5px solid #bb9500;
  color: #f7f9fc;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.dark-mode .top-bar {
  background-color: #0f172a;
  border-bottom-color: #1e293b;
  color: #94a3b8;
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-search {
  display: flex;
  align-items: center;
}

.search-container {
  display: flex;
  align-items: center;
  border: 1px solid #00401A;
  border-radius: 4px;
  padding: 4px 8px;
}

.search-input {
  border: none;
  outline: none;
  padding: 6px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .header-search {
    display: none;
  }
}

@media (min-width: 768px) {
  .top-bar-content {
    flex-direction: row;
  }
}

@media (max-width: 576px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .site-title {
    text-align: center;
  }
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 12px !important;
}

.search-container {
  position: relative;
}

.search-input {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  padding-right: 2.5rem;
  font-size: 0.75rem;
  width: 12rem;
}

@media (min-width: 768px) {
  .search-input {
    width: 16rem;
  }
}

.dark-mode .search-input {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 68, 33, 0.1);
}

.search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.875rem;
}

.search-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.search-btn:hover {
  opacity: 0.9;
}

/* Header */
.main-header {
  padding: 20px 0;
  background-color: white;
  /* padding: 1.5rem 0; */
}

.dark-mode .main-header {
  background-color: #0f172a;
}

.header-content {
  display: flex;
  align-items: center;
  /* vertical alignment */
  gap: 15px;
  /* space between image & text */
}

.emblem {
  width: 100px;
  /* adjust as needed */
  height: auto;
}

.site-title {
  color: var(--primary-color);
  margin: 0;
  text-align: left;
  line-height: 1.3;

  font-weight: 700;
  /* bold */
  text-transform: uppercase;
  /* UPPERCASE */
}


@media (min-width: 768px) {
  .site-title {
    font-size: 30px;
  }
}

.dark-mode .site-title {
  color: white;
}

.site-subtitle {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.dark-mode .site-subtitle {
  color: #94a3b8;
}

/* Navigation */
.main-nav {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-bottom: 5px solid #bb9500;

}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: white;
  font-size: 13px;
  /* font-weight: 600; */
  /* text-transform: uppercase; */
  list-style: none;
  align-items: center;
  margin: 0;
}

.nav-item {
  display: inline-block;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid transparent;
  transition: background-color 0.2s;
  position: relative;
}

.nav-item.active {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: white;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.notification-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.5rem;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background-color: #ef4444;
}

/* Hero Section */
.hero-section {
  background:
    /* linear-gradient(rgba(1, 68, 33, 0.85), rgba(1, 68, 33, 0.6)), */
    url("../images/fccp2.webp");
  background-size: cover;
  background-position: center;
  height: 53rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
}

.hero-title {
  color: white;
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  color: #f1f5f9;
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

/* Chief Justice Section */
.chief-justice-section {
  margin-top: -6rem;
  position: relative;
  z-index: 20;
  margin-bottom: 4rem;
}

.research-center-section {
  /* margin-top: -6rem; */
  position: relative;
  z-index: 20;
  margin-bottom: 4rem;
}

.chief-justice-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #f1f5f9;
}

.research-center-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .chief-justice-card {
    padding: 3rem;
  }
}

.dark-mode .chief-justice-card {
  background-color: #0f172a;
  border-color: #1e293b;
}

.chief-justice-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.chief-justice-image {
  width: 100%;
  height: auto;
  /* border-radius: 9999px; */
  text-align: center !important;
  border: 4px solid #bb9500;
  padding: 0.25rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.research-image {
  width: 100%;
  height: auto;
  /* border-radius: 9999px; */
  text-align: center !important;

  padding: 0.25rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.chief-justice-name {
  color: var(--primary-color);
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dark-mode .chief-justice-name {
  color: white;
}

.chief-justice-title {
  color: #64748b;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2rem;
}

.dark-mode .chief-justice-title {
  color: #94a3b8;
}

.chief-justice-quotes {
  max-width: 64rem;
  margin: 0 auto;
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 14px;
}

.quote {
  color: #475569;
  line-height: 1.625;
  font-style: italic;
  text-align: center;
}

.dark-mode .quote {
  color: #cbd5e1;
}

/* Services Section */
.services-section {
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: white;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark-mode .service-card {
  background-color: #0f172a;
  border-color: #1e293b;
}

.service-icon-container {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #ecfdf5;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}

.dark-mode .service-icon-container {
  background-color: #022c22;
}

.service-card:hover .service-icon-container {
  background-color: var(--primary-color);
}

.service-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.dark-mode .service-icon {
  color: #10b981;
}

.service-card:hover .service-icon {
  color: white;
}

.service-title {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dark-mode .service-title {
  color: white;
}

.service-description {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.dark-mode .service-description {
  color: #94a3b8;
}

.service-link {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s;
}

.dark-mode .service-link {
  color: #10b981;
}

.service-link:hover {
  gap: 0.5rem;
}

/* Notifications Section */
.notifications-section {
  background-color: #f8fafc;
  padding: 5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.dark-mode .notifications-section {
  background-color: rgba(15, 23, 42, 0.5);
  border-top-color: #1e293b;
  border-bottom-color: #1e293b;
}

.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
  }
}

.section-title {
  color: var(--primary-color);
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dark-mode .section-title {
  color: white;
}

.section-subtitle {
  color: #64748b;
}

.dark-mode .section-subtitle {
  color: #94a3b8;
}

.view-all-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dark-mode .view-all-link {
  color: #10b981;
}

.view-all-link:hover {
  text-decoration: underline;
}

.notifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .notifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .notifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notification-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.notification-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark-mode .notification-card {
  background-color: #1e293b;
  border-color: #334155;
}

.notification-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.notification-badge-new {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--primary-color);
  background-color: #ecfdf5;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.dark-mode .notification-badge-new {
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.2);
}

.notification-date {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.notification-icon {
  color: #e2e8f0;
  transition: color 0.2s;
}

.dark-mode .notification-icon {
  color: #475569;
}

.notification-card:hover .notification-icon {
  color: var(--primary-color);
}

.notification-title {
  color: #1e293b;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark-mode .notification-title {
  color: white;
}

.notification-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.notification-reference {
  color: #64748b;
  font-size: 0.75rem;
}

.dark-mode .notification-reference {
  color: #94a3b8;
}

.notification-action {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dark-mode .notification-action {
  color: #10b981;
}

.notification-action:hover {
  text-decoration: underline;
}

/* Statistics Section */
.stats-section {
  padding: 5rem 0;
  background:
    linear-gradient(rgba(1, 68, 33, 0.85), rgba(1, 68, 33, 0.6)),
    url("../images/bannerBg.jpg");
  background-size: cover;
  background-position: center;
  height: 40rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  height: auto;
}

.stats-section .hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.stats--zIndex {
  position: relative;
  z-index: 10;
}

.stats-header {
  text-align: center;
  margin-bottom: 4rem;
}

.stats-title {
  color: white;
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.stats-divider {
  width: 5rem;
  height: 0.125rem;
  background-color: white;
  margin: 0 auto 1.5rem;
}

.stats-description {
  color: rgba(209, 250, 229, 0.7);
  max-width: 42rem;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-icon-container {
  margin-bottom: 1.5rem;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 9999px;
  transition: background-color 0.3s;
}

.stat-item:hover .stat-icon-container {
  background-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
  color: white;
  font-size: 3rem;
}

.stat-value {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Case Search Section */
.case-search-section {
  padding: 4rem 0;
  position: relative;
  z-index: 30;
}

.case-search-card {
  max-width: 72rem;
  margin: 0 auto;
  background-color: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .case-search-card {
    padding: 2.5rem;
  }
}

.dark-mode .case-search-card {
  background-color: #0f172a;
  border-color: #1e293b;
}

.case-search-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.case-search-icon-container {
  width: 3rem;
  height: 3rem;
  background-color: #d1fae5;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode .case-search-icon-container {
  background-color: #064e3b;
}

.case-search-icon {
  color: var(--primary-color);
}

.dark-mode .case-search-icon {
  color: #10b981;
}

.case-search-title {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: bold;
}

.dark-mode .case-search-title {
  color: white;
}

.case-search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .case-search-form {
    flex-direction: row;
  }
}

.case-search-input-container {
  flex-grow: 1;
  position: relative;
}

.case-search-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.case-search-input {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1rem;
  color: #1e293b;
}

.case-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 68, 33, 0.1);
}

.dark-mode .case-search-input {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.case-search-button {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  white-space: nowrap;
}

.case-search-button:hover {
  opacity: 0.9;
  box-shadow: 0 20px 25px -5px rgba(1, 68, 33, 0.2);
}

/* Footer */
.main-footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 14px !important;
  border-top: 5px solid #bb9500;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #fff !important;
}

.footer-link {
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff !important;
}

.contact-item-footer {
  display: flex;
  gap: 0.75rem;
  color: #fff;
}

.contact-icon {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background-color: white;
  color: var(--primary-color);
}

.government-portal {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}

.government-emblem {
  height: 3rem;
  margin-bottom: 1rem;
}

.government-text {
  font-size: 0.75rem;
  color: rgba(209, 250, 229, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #fff !important;
  font-size: 0.875rem;
}

/* Utility Classes */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-4>*+* {
  margin-left: 1rem;
}

.space-y-3>*+* {
  margin-top: 0.75rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-20 {
  margin-top: 5rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-bold {
  font-weight: bold;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.text-primary {
  color: var(--primary-color);
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }
}

@media (max-width: 767px) {
  .site-title {
    display: none;
  }

  .header-wrapper {
    justify-content: center;
  }

  .emblem {
    width: 120px;
  }

  .center-emblem {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    /* good spacing on mobile */
  }

  .top-bar {
    background-color: #014421;
  }

  .contact-item {
    color: #fff;
    font-size: 12px !important;
  }

  .top-bar-content {
    justify-content: space-between;
    align-items: center;
    flex-direction: unset;
  }

  .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    display: none;
  }

  .menuBar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: #014421;
    overflow-y: auto;
    /* ← Line 1: Enable scrolling */
    -webkit-overflow-scrolling: touch;
    /* ← Line 2: Fix for iPhone */
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
    padding-top: 80px;
    padding-bottom: 80px;
    /* space after Gallery */
  }

  .menuBar .service-icon {
    color: #fff;
  }

  .main-nav {
    border-top: 5px goldenrod;
    position: fixed;
    top: 0;
    left: -80%;
    height: 100%;
    width: 80%;
    transition: all 0.3s linear;
    background-color: #014421;
    z-index: 999;
  }

  .main-nav.active {
    left: 0;
    transition: all 0.3s linear;
  }

  .nav-list {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* padding-top: 50px; */
  }

  .nav-item.active {
    background: unset;
  }

  .nav-item {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
  }

  .nav-overlay.active {
    opacity: 1;
    display: block;
    visibility: visible;
  }
}

.btn-download {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.28s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px -2px rgba(1, 68, 33, 0.4);
}

.btn-download:hover,
.btn-download:focus {
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -6px rgba(1, 68, 33, 0.5);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px -2px rgba(1, 68, 33, 0.45);
}

@media (max-width: 480px) {
  .cause-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn-download {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }
}




 .roster-container {
            padding: 2rem 1.5rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }

        .table-wrapper {
            overflow-x: auto;
            border-radius: 1rem;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
                0 8px 10px -6px rgba(0, 0, 0, 0.04);
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(229, 231, 235, 0.6);
        }

        .roster-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }

        .roster-table th,
        .roster-table td {
            padding: 1rem 1.25rem;
            text-align: left;
            border-bottom: 1px solid rgba(229, 231, 235, 0.7);
        }

        .roster-table th {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .roster-table tr:last-child td {
            border-bottom: none;
        }

        .roster-table tr:hover {
            background: rgba(1, 68, 33, 0.06);
            transition: background 0.2s ease;
        }

        .title-cell {
            font-weight: 500;
            color: #1f2937;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .pdf-icon-wrapper {
            width: 40px;
            height: 48px;
            background: linear-gradient(135deg, #014421, #0a5c2f);
            color: white;
            border-radius: 0.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .pdf-icon-wrapper svg {
            width: 24px;
            height: 24px;
        }

        .btn-download {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.6rem 1.3rem;
            border-radius: 0.65rem;
            text-decoration: none;
            transition: all 0.28s ease;
            box-shadow: 0 3px 8px -2px rgba(1, 68, 33, 0.35);
            display: inline-block;
        }

        .btn-download:hover,
        .btn-download:focus {
            background: linear-gradient(90deg, #0a5c2f, #128c4e);
            transform: translateY(-2px);
            box-shadow: 0 10px 18px -5px rgba(1, 68, 33, 0.45);
        }

        .btn-download:active {
            transform: translateY(0);
            box-shadow: 0 3px 6px -2px rgba(1, 68, 33, 0.4);
        }

        @media (max-width: 768px) {
            .roster-table {
                border: 0;
            }

            .roster-table thead {
                display: none;
            }

            .roster-table tr {
                display: block;
                margin-bottom: 1.25rem;
                border-radius: 1rem;
                overflow: hidden;
                box-shadow: 0 6px 15px -4px rgba(0, 0, 0, 0.08);
                background: rgba(255, 255, 255, 0.9);
            }

            .roster-table td {
                display: block;
                text-align: right;
                border: none;
                position: relative;
                padding: 0.9rem 1.25rem;
            }

            .roster-table td:before {
                content: attr(data-label);
                position: absolute;
                left: 1.25rem;
                width: 45%;
                font-weight: 600;
                color: #4b5563;
                text-align: left;
            }

            .title-cell {
                font-weight: 600;
                padding-top: 1.2rem;
                border-bottom: 1px solid rgba(229, 231, 235, 0.5);
            }

            .title-cell:before {
                display: none;
            }

            .btn-download {
                width: auto;
                margin: 0.8rem auto;
                display: block;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .roster-container {
                padding: 1.5rem 1rem;
            }
        }
        
        
        
        
        
          .judgments-container {
            padding: 2rem 1.5rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }

        .table-wrapper {
            overflow-x: auto;
            border-radius: 1rem;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
                0 8px 10px -6px rgba(0, 0, 0, 0.04);
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(229, 231, 235, 0.6);
        }

        .judgments-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }

        .judgments-table th,
        .judgments-table td {
            padding: 1rem 1.25rem;
            text-align: left;
            border-bottom: 1px solid rgba(229, 231, 235, 0.7);
        }

        .judgments-table th {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .judgments-table tr:last-child td {
            border-bottom: none;
        }

        .judgments-table tr:hover {
            background: rgba(1, 68, 33, 0.06);
            transition: background 0.2s ease;
        }

        .title-cell {
            font-weight: 500;
            color: #1f2937;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .pdf-icon-wrapper {
            width: 40px;
            height: 48px;
            background: linear-gradient(135deg, #014421, #0a5c2f);
            color: white;
            border-radius: 0.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .pdf-icon-wrapper svg {
            width: 24px;
            height: 24px;
        }

        .btn-download {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.6rem 1.3rem;
            border-radius: 0.65rem;
            text-decoration: none;
            transition: all 0.28s ease;
            box-shadow: 0 3px 8px -2px rgba(1, 68, 33, 0.35);
            display: inline-block;
        }

        .btn-download:hover,
        .btn-download:focus {
            background: linear-gradient(90deg, #0a5c2f, #128c4e);
            transform: translateY(-2px);
            box-shadow: 0 10px 18px -5px rgba(1, 68, 33, 0.45);
        }

        .btn-download:active {
            transform: translateY(0);
            box-shadow: 0 3px 6px -2px rgba(1, 68, 33, 0.4);
        }

        /* Mobile responsive stacking */
        @media (max-width: 768px) {
            .judgments-table {
                border: 0;
            }

            .judgments-table thead {
                display: none;
            }

            .judgments-table tr {
                display: block;
                margin-bottom: 1.25rem;
                border-radius: 1rem;
                overflow: hidden;
                box-shadow: 0 6px 15px -4px rgba(0, 0, 0, 0.08);
                background: rgba(255, 255, 255, 0.9);
            }

            .judgments-table td {
                display: block;
                text-align: right;
                border: none;
                position: relative;
                padding: 0.9rem 1.25rem;
            }

            .judgments-table td:before {
                content: attr(data-label);
                position: absolute;
                left: 1.25rem;
                width: 45%;
                font-weight: 600;
                color: #4b5563;
                text-align: left;
            }

            .title-cell {
                font-weight: 600;
                padding-top: 1.2rem;
                border-bottom: 1px solid rgba(229, 231, 235, 0.5);
            }

            .title-cell:before {
                display: none;
            }

            .btn-download {
                width: auto;
                margin: 0.8rem auto;
                display: block;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .judgments-container {
                padding: 1.5rem 1rem;
            }
        }
        
        
        
            .judgments-container {
            padding: 1.5rem 1rem;
            margin: 0 auto;
            max-width: 100%;
        }

        .section-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 2px;
        }

        .table-wrapper {
            overflow-x: hidden;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            border: 1px solid #e5e7eb;
        }

        .judgments-table {
            width: 100%;
            border-collapse: collapse;
            border: 0;
        }

        .judgments-table thead {
            display: none;
        }

        .judgments-table tr {
            display: block;
            margin: 1.25rem 1rem;
            border-radius: 10px;
            background: white;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
            overflow: hidden;
        }

        .judgments-table td {
            display: block;
            padding: 0.9rem 1.2rem;
            border-bottom: 1px solid #f1f5f9;
            font-size: 0.97rem;
            line-height: 1.45;
            position: relative;
        }

        .judgments-table td:last-child {
            border-bottom: 0;
            padding: 1.2rem;
            text-align: center;
        }

        /* Label on TOP – bold + smaller + some spacing below */
        .judgments-table td:not(:last-child):before {
            content: attr(data-label);
            display: block;
            font-weight: 700;
            color: #4b5563;
            font-size: 0.85rem;
            margin-bottom: 0.4rem;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        /* Mobile title cell – bigger + bolder, no icon */
        .title-cell {
            display: block;
            padding: 1.1rem 1.2rem;
            font-weight: 700;
            color: #1f2937;
            font-size: 1.05rem;
            line-height: 1.4;
            border-bottom: 1px solid #f1f5f9;
        }

        .title-cell:before {
            display: none;
            /* no extra label on title row */
        }

        /* Icon hidden on mobile */
        .pdf-icon-wrapper {
            display: none;
        }

        /* Download button */
        .btn-download {
            display: inline-block;
            min-width: 140px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            text-decoration: none;
            box-shadow: 0 3px 10px rgba(1, 68, 33, 0.25);
            transition: all 0.22s ease;
        }

        .btn-download:hover,
        .btn-download:focus {
            transform: translateY(-1px);
            box-shadow: 0 6px 14px rgba(1, 68, 33, 0.35);
            background: linear-gradient(90deg, #0a5c2f, #128c4e);
        }

        /* ────────────────────────────────────────────────
       TABLET / DESKTOP – horizontal layout + icon visible
    ──────────────────────────────────────────────── */

        @media (min-width: 768px) {
             .judgments-table td:not(:last-child):before {
                
                display: none;
              
            }
            .judgments-container {
                padding: 2rem 2.5rem;
                max-width: 1150px;
            }

            .section-title {
                font-size: 1.9rem;
            }

            .judgments-table thead {
                display: table-header-group;
            }

            .judgments-table tr {
                display: table-row;
                margin: 0;
                box-shadow: none;
                border-radius: 0;
            }

            .judgments-table tr:hover {
                background: rgba(1, 68, 33, 0.03);
            }

            .judgments-table th,
            .judgments-table td {
                display: table-cell;
                padding: 1.1rem 1.4rem;
                vertical-align: middle;
                border-bottom: 1px solid #e5e7eb;
            }

            .judgments-table th {
                background: linear-gradient(90deg, #014421, #0a5c2f);
                color: white;
                font-size: 0.92rem;
                text-transform: uppercase;
                letter-spacing: 0.4px;
            }

            /* Show icon + place it left of title text */
            .pdf-icon-wrapper {
                display: inline-flex;
                vertical-align: middle;
                margin-right: 1.2rem;
                width: 50px;
                height: 58px;
                background: linear-gradient(135deg, #014421, #0a5c2f);
                border-radius: 8px;
                align-items: center;
                justify-content: center;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            }

            .pdf-icon-wrapper svg {
                width: 34px;
                height: 34px;
                stroke: white;
                stroke-width: 2.2;
            }

            /* Title cell becomes horizontal again */
            .title-cell {
                display: table-cell !important;
                padding: 1.1rem 1.4rem !important;
            }

            /* Hide the :before labels on desktop */
            .judgments-table td:before,
            .title-cell:before {
                content: none;
            }
        }

        @media (min-width: 1024px) {
            .judgments-container {
                max-width: 1280px;
                padding: 2.5rem 3rem;
            }
        }

        /* Small phone fine-tuning */
        @media (max-width: 480px) {
            .judgments-table td {
                padding: 0.9rem 1rem;
                font-size: 0.94rem;
            }

            .title-cell {
                font-size: 1rem;
                padding: 1rem 1rem;
            }
        }
        
        
        /*:root {*/
        /*    --primary: #014421;*/
        /*    --primary-d: #0a3a1c;*/
        /*    --primary-l: #1a6c3e;*/
        /*    --gray-800: #1f2937;*/
        /*    --gray-600: #4b5563;*/
        /*    --radius-lg: 1rem;*/
        /*}*/

        .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }

        .section-py {
            padding: 4rem 0;
        }

        @media (min-width: 992px) {
            .section-py {
                padding: 7rem 0;
            }
        }

        .hero-title {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--gray-800);
            line-height: 1.15;
            position: relative;
            display: inline-block;
        }

        .hero-title::after {
            content: '';
            position: absolute;
            bottom: -14px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--primary-l));
            border-radius: 5px;
        }

        .about-image-wrapper {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all 0.38s ease;
            box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.12);
        }

        .about-image-wrapper:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px -12px rgba(1, 68, 33, 0.18);
        }

        .about-text {
            line-height: 1.82;
            color: #334155;
            font-size: 1.08rem;
        }

        .about-text h2,
        .about-text h3 {
            color: var(--gray-800);
            margin-top: 2.2rem;
            margin-bottom: 1.1rem;
        }

        .about-text p {
            margin-bottom: 1.4rem;
        }

        .prose-primary a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 2px solid rgba(1, 68, 33, 0.18);
            transition: all 0.2s ease;
        }

        .prose-primary a:hover,
        .prose-primary a:focus {
            color: var(--primary-l);
            border-color: var(--primary-l);
        }

        /* Mobile adjustments */
        @media (max-width: 991px) {
            .hero-title {
                font-size: 2.1rem;
            }

            .about-text {
                font-size: 1.05rem;
            }

            .section-py {
                padding: 3.5rem 0;
            }
        }

        @media (max-width: 575px) {
            .hero-title {
                font-size: 1.9rem;
            }

            .hero-title::after {
                width: 80px;
                height: 4px;
            }
        }
        
         .cause-list-container {
            padding: 2rem 1.5rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }

        .table th,
        .table td {
            padding: 0.75rem;
            vertical-align: middle;
        }

        #searchInput {
            width: 100%;
            max-width: 400px;
        }
        
        
         .judge-profile-container {
            padding: 2rem 1.5rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }

        .card-wrapper {
            display: grid;
            gap: 1.25rem;
        }

        .judge-card {
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(229, 231, 235, 0.6);
            border-radius: 1rem;
            padding: 1.5rem 1.75rem;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
                0 8px 10px -6px rgba(0, 0, 0, 0.04);
            transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .judge-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12),
                0 10px 15px -3px rgba(0, 0, 0, 0.07);
            border-color: rgba(1, 68, 33, 0.4);
        }

        .card-content {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            flex: 1;
        }

        .judge-photo {
            width: 200px;
            height: 260px;
            flex-shrink: 0;
            border-radius: 0.75rem;
            overflow: hidden;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .judge-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .details {
            flex: 1;
        }

        .file-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1f2937;
            margin: 0 0 0.25rem 0;
        }

        .file-date {
            font-size: 0.95rem;
            color: #0a5c2f;
            font-weight: 500;
            margin: 0 0 1rem 0;
        }

        .bio-text {
            font-size: 1rem;
            line-height: 1.7;
            color: #374151;
        }

        .bio-text p {
            margin-bottom: 1.1rem;
        }

        .btn-download {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            text-decoration: none;
            transition: all 0.28s ease;
            white-space: nowrap;
            box-shadow: 0 4px 10px -2px rgba(1, 68, 33, 0.4);
            display: inline-block;
            margin-top: 1.5rem;
        }

        .btn-download:hover,
        .btn-download:focus {
            background: linear-gradient(90deg, #0a5c2f, #128c4e);
            transform: translateY(-2px);
            box-shadow: 0 12px 20px -6px rgba(1, 68, 33, 0.5);
        }

        .btn-download:active {
            transform: translateY(0);
            box-shadow: 0 4px 8px -2px rgba(1, 68, 33, 0.45);
        }

        @media (max-width: 768px) {
            .card-content {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .judge-photo {
                width: 160px;
                height: 200px;
                margin-bottom: 1rem;
            }

            .btn-download {
                width: 100%;
                text-align: center;
            }
        }
        
        
           .cause-list-container {
            padding: 1.5rem 1rem;
            max-width: 100%;
            margin: 0 auto;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }
        
        .card-wrapper {
            display: grid;
            gap: 1rem;
        }
        
        .cause-card {
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(229, 231, 235, 0.6);
            border-radius: 1rem;
            padding: 1rem;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
                        0 8px 10px -6px rgba(0, 0, 0, 0.04);
            transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .cause-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12),
                        0 10px 15px -3px rgba(0, 0, 0, 0.07);
            border-color: rgba(99, 102, 241, 0.4);
        }
        
        /*.card-content {*/
        /*    display: flex;*/
        /*    align-items: center;*/
        /*    gap: 1rem;*/
        /*    flex: 1;*/
        /*}*/
        
        .icon-pdf {
            width: 48px;
            height: 48px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .icon-pdf svg {
            width: 28px;
            height: 28px;
        }
        
        .details {
            flex: 1;
            min-width: 0; /* prevent text overflow */
        }
        
        .file-title {
            font-size: 1rem;
            font-weight: 600;
            color: #1f2937;
            margin: 0 0 0.25rem 0;
            line-height: 1.3;
            word-break: break-word;
        }
        
        .file-date {
            font-size: 0.875rem;
            color: #6b7280;
            margin: 0;
        }
        
        .btn-download {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            text-decoration: none;
            transition: all 0.28s ease;
            text-align: center;
            white-space: nowrap;
            box-shadow: 0 4px 10px -2px rgba(1, 68, 33, 0.4);
            display: inline-block;
            width: 100%;
        }
        
        .btn-download:hover,
        .btn-download:focus {
            background: linear-gradient(90deg, #0a5c2f, #128c4e);
            transform: translateY(-2px);
            box-shadow: 0 12px 20px -6px rgba(1, 68, 33, 0.5);
        }
        
        .btn-download:active {
            transform: translateY(0);
            box-shadow: 0 4px 8px -2px rgba(1, 68, 33, 0.45);
        }
        
        /* ===== TABLET (min-width: 768px) ===== */
        @media screen and (min-width: 768px) {
            .cause-list-container {
                padding: 2rem 1.5rem;
                max-width: 900px;
            }
        
            .section-title {
                font-size: 1.75rem;
            }
        
            .card-wrapper {
                gap: 1.25rem;
            }
        
            .cause-card {
                flex-direction: row;
                align-items: center;
                padding: 1.25rem 1.5rem;
            }
        
            .btn-download {
                width: auto;
                margin-top: 0;
            }
        }
        
        /* ===== DESKTOP (min-width: 1024px) – optional fine-tuning ===== */
        @media screen and (min-width: 1024px) {
            .cause-list-container {
                max-width: 1000px;
            }
        }
        
        
        
        .contact-page-wrapper {
            padding: 1.5rem 1rem 3rem;
            background: #f8fafc;
        }

        .container {
            max-width: 100%;
            margin: 0 auto;
        }

        .page-title {
            font-size: 1.45rem;
            font-weight: 500;
            color: #111827;
            text-align: center;
            margin: 0 0 0.6rem;
        }

        .page-subtitle {
            font-size: 0.95rem;
            color: #4b5563;
            text-align: center;
            margin: 0 auto 1.8rem;
            max-width: 90%;
            line-height: 1.4;
        }

        .contact-content-grid {
            display: flex;
            flex-direction: column;
            gap: 1.8rem;
        }

        .contact-main-panel {
            display: flex;
            flex-direction: column;
            gap: 1.8rem;
        }

        .form-card,
        .info-card,
        .map-card {
            background: white;
            border-radius: 0.85rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            padding: 1.4rem 1.3rem;
            border: 1px solid #e5e7eb;
        }

        .card-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #111827;
            margin: 0 0 1.2rem;
        }

        /* ── Form styles (unchanged) ── */
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }

        .form-group label {
            font-size: 0.9rem;
            font-weight: 500;
            color: #374151;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 0.65rem 0.9rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            font-size: 0.92rem;
            color: #1f2937;
            background: #f9fafb;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #6b7280;
            box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.15);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .submit-btn {
            padding: 0.75rem;
            background: #00401A;
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-size: 0.96rem;
            font-weight: 500;
            cursor: pointer;
            margin-top: 0.5rem;
        }

        .submit-btn:hover {
            background: #015823;
        }

        /* ── Our Details – now horizontal layout ── */
        .contact-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1.25rem 1rem;
            margin: 0;
        }

        .contact-item {
            flex: 1 1 45%;
            /* ≈ 2 columns on medium screens */
            display: flex;
            gap: 0.9rem;
            align-items: flex-start;
            min-width: 220px;
            /* prevents too narrow items */
        }

        .contact-icon {
            flex-shrink: 0;
            width: 42px;
            height: 42px;
            background: #00401A;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
        }

        .contact-text h4 {
            font-size: 0.97rem;
            font-weight: 600;
            color: #111827;
            margin: 0 0 0.3rem;
        }

        .contact-text p {
            font-size: 0.9rem;
            color: #4b5563;
            line-height: 1.45;
            margin: 0;
        }

        .contact-text a {
            color: #00401A;
            text-decoration: none;
        }

        .contact-text a:hover {
            text-decoration: underline;
        }

        /* ── Map (unchanged) ── */
        .map-container {
            border-radius: 0.75rem;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            aspect-ratio: 4 / 3;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            min-height: 240px;
        }

        /* ─── TABLET & UP ─────────────────────────────────────── */
        @media (min-width: 640px) {
            .page-title {
                font-size: 1.8rem;
            }

            .page-subtitle {
                font-size: 1rem;
            }

            .card-title {
                font-size: 1.35rem;
            }
        }

        @media (min-width: 768px) {
            .contact-content-grid {
                flex-direction: row;
                gap: 2rem;
            }

            .contact-main-panel {
                flex: 1;
            }

            .map-panel {
                flex: 1;
            }

            .map-container {
                aspect-ratio: 1 / 1;
            }

            .map-container iframe {
                min-height: 320px;
            }

            /* Our Details – try 4 in a row on larger tablets/desktops */
            .contact-item {
                flex: 1 1 22%;
            }
        }

        @media (min-width: 1024px) {
                .container {
                    max-width: 1280px;
                }

            .page-title {
                font-size: 2rem;
            }

            .card-title {
                font-size: 1.45rem;
            }

            .contact-icon {
                width: 48px;
                height: 48px;
                font-size: 1.3rem;
            }

            .contact-item {
                flex: 1 1 23%;
            }
        }
        
            .cause-list-container {
            padding: 2rem 1.5rem;
            max-width: 900px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }

        .range-buttons {
            flex-wrap: wrap;
            justify-content: center;
        }

        .range-buttons .btn {
            font-size: 0.95rem;
            padding: 0.5rem 1.2rem;
            min-width: 110px;
            white-space: nowrap;
        }

        .range-buttons .btn.active {
            background-color: #014421;
            color: white;
            border-color: #0a5c2f;
        }

        .range-buttons .btn:hover {
            background-color: #0a5c2f;
            color: white;
        }

        @media (max-width: 576px) {
            .btn-group.range-buttons {
                width: 100%;
                max-width: 420px;
                margin: 0 auto !important;
            }

            .range-buttons .btn {
                flex: 1;
                font-size: 0.9rem;
                padding: 0.5rem 0.8rem;
            }
        }
    .press-releases-container {
            padding: 2rem 1.5rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #014421, #0a5c2f);
            border-radius: 3px;
        }

        .table-wrapper {
            overflow-x: auto;
            border-radius: 1rem;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
                0 8px 10px -6px rgba(0, 0, 0, 0.04);
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(229, 231, 235, 0.6);
        }

        .press-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }

        .press-table th,
        .press-table td {
            padding: 1rem 1.25rem;
            text-align: left;
            border-bottom: 1px solid rgba(229, 231, 235, 0.7);
        }

        .press-table th {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .press-table tr:last-child td {
            border-bottom: none;
        }

        .press-table tr:hover {
            background: rgba(1, 68, 33, 0.06);
            transition: background 0.2s ease;
        }

        .title-cell {
            font-weight: 500;
            color: #1f2937;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .pdf-icon-wrapper-pr {
            width: 40px;
            height: 48px;
            background: linear-gradient(135deg, #014421, #0a5c2f);
            color: white;
            border-radius: 0.6rem;
            /*display: flex;*/
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .pdf-icon-wrapper svg {
            width: 24px;
            height: 24px;
        }

        .btn-download {
            background: linear-gradient(90deg, #014421, #0a5c2f);
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.6rem 1.3rem;
            border-radius: 0.65rem;
            text-decoration: none;
            transition: all 0.28s ease;
            box-shadow: 0 3px 8px -2px rgba(1, 68, 33, 0.35);
            display: inline-block;
        }

        .btn-download:hover,
        .btn-download:focus {
            background: linear-gradient(90deg, #0a5c2f, #128c4e);
            transform: translateY(-2px);
            box-shadow: 0 10px 18px -5px rgba(1, 68, 33, 0.45);
        }

        .btn-download:active {
            transform: translateY(0);
            box-shadow: 0 3px 6px -2px rgba(1, 68, 33, 0.4);
        }

        /* Mobile responsive – stack into cards */
        @media (max-width: 768px) {
            .press-table {
                border: 0;
            }

            .press-table thead {
                display: none;
            }

            .press-table tr {
                display: block;
                margin-bottom: 1.25rem;
                border-radius: 1rem;
                overflow: hidden;
                box-shadow: 0 6px 15px -4px rgba(0, 0, 0, 0.08);
                background: rgba(255, 255, 255, 0.9);
            }

            .press-table td {
                display: block;
                text-align: right;
                border: none;
                position: relative;
                padding: 0.9rem 1.25rem;
            }

            .press-table td:before {
                content: attr(data-label);
                position: absolute;
                left: 1.25rem;
                width: 45%;
                font-weight: 600;
                color: #4b5563;
                text-align: left;
            }

            .title-cell {
                font-weight: 600;
                padding-top: 1.2rem;
                border-bottom: 1px solid rgba(229, 231, 235, 0.5);
            }

            .title-cell:before {
                display: none;
            }

            .btn-download {
                width: auto;
                margin: 0.8rem auto;
                display: block;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .press-releases-container {
                padding: 1.5rem 1rem;
            }
        }