/* Live Version -- Made for any webpages except the home page */
/* Last checkpoint: 1 Oct 2025 */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

/* Ubuntu font */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Ubuntu', sans-serif; /* Added fallback fonts */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Custom Scrollbar Styling - Clean Red Design */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #FF0000;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #CC0000;
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #FF0000 #f1f1f1;
}

/* ---------- REUSABLE STYLES ---------- */

/* ----- Misc ----- */
.so-afterline-60w {
  width: 60px;
  height: 3px;
  background-color: #FF0000;
  margin: 0 auto 80px auto;
  display: block;
}

.so-afterline-60w-mb40 {
  width: 60px;
  height: 3px;
  background-color: #FF0000;
  margin: 0 auto 40px auto;
  display: block;
}

.so-afterline-120w {
  width: 120px;
  height: 3px;
  background-color: #FF0000;
  margin: 0 auto 80px auto;
  display: block;
}

.header-space {
  height: 70px;
  background: transparent;
}

/* ----- Top nav ----- */
.logo, .nav-right {
  flex: 0 0 auto;
}
/*ending adjusted top nav */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid #FF0000;
  z-index: 1000;
  height: 70px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-only {
    display: none; /* Hide mobile-only elements on desktop */
}

.mobile-only-block {
    display: none; /* Hide these elements on desktop */
}

.desktop-only {
    display: flex; /* Ensure desktop-only elements are visible with flex layout */
    align-items: center;
}

.logo {
  /* Recently added: Previously on HTML */
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  /* Recently added: Previously on HTML */
  height: 56px;
  width: auto;
  object-fit: contain;
}
.sarawak-flag-header {
  /* Recently added: Previously on HTML */
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  object-fit: contain;
}
.sarawak-flag-header[alt="Malaysia Flag"] {
  height: 44px;
  width: 44px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > li {
  position: relative;
}
.nav-menu a {
  text-decoration: none;
  color: #636359;
  font-size: 1.1rem;
  padding: 20px 10px;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  perspective: 800px; /* adds depth */
}

.nav-menu a:hover {
  color: #FF0000;
  transform: translateY(-2px) rotateX(5deg) rotateY(2deg);
  text-shadow:
    1px 1px 0 #ccc,
    2px 2px 1px rgba(0, 0, 0, 0.2),
    4px 4px 4px rgba(0, 0, 0, 0.3),
    6px 6px 8px rgba(0, 0, 0, 0.2);
}

.dropdown i, .dropdown.mobile-only i {
    display: none;
}

/* --- Dropdown --- */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 10px 0;
  border-radius: 12px;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.1),
    0 0 8px rgba(255, 255, 255, 0.3) inset;
  opacity: 0;
  transform: translateY(-15px) scale(0.95);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 180px;
  z-index: 999;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.dropdown-menu a {
  padding: 12px 20px;
  color: #636359;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping */
}
.dropdown-menu a:hover {
  background: #ffe6e6;
  color: #FF0000;
  transform: translateX(4px);
}
/* Optional bounce effect */
@keyframes bounceIn {
  0% { transform: translateY(-10px) scale(0.95); opacity: 0; }
  60% { transform: translateY(4px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.dropdown:hover .dropdown-menu {
  animation: bounceIn 0.5s ease forwards;
}

/* --- Donation Button Styles --- */
.donation-button-container {
    padding-left: 20px;
    margin-top: 4px;
}

.donate-btn {
    background-color: #FF0000;
    color: white !important; /* Ensure text color is white */
    padding: 20px 25px !important;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600; /* Make font bold */
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block !important;
    text-decoration: none;
    outline: none;
    line-height: 0.3;
}

.donate-btn:hover {
    background-color: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.donate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.7s ease;
    z-index: 1;
}

.donate-btn:hover::before {
    left: 100%;
}

.donate-btn span {
    position: relative;
    z-index: 2;
}

/* Searchbar mockup only (non functional) */
.search-container {
  flex: 1;
  width: 150px; /* Desktop searchbar width */
  margin-left: 0px; /* Originally 20px */
  margin-right: -10px; /* To match with the original/unmodified */
}
.search-form {
  display: flex;
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 8px 12px;
  padding-right: 40px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.search-input:focus {
  border-color: #FF0000;
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.2);
}
.search-button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40px;
  background: transparent;
  border: none;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  color: #FF0000;
  transition: all 0.3s ease;
}

.search-button:hover {
  color: #CC0000;
  background: rgba(255, 0, 0, 0.1);
  transform:
    scale(1.1)
    rotate(8deg);
  /* Pulsing glow effect */
  box-shadow:
    0 0 0 4px rgba(255, 0, 0, 0.3),
    0 0 12px rgba(255, 0, 0, 0.4);
}

/* ----- Social media Bar Style ----- */
.socmed-bar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  padding: 10px;
}

.socmed-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: #FF0000;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.8),
    0 4px 6px rgba(0, 0, 0, 0.15),
    0 8px 12px rgba(0, 0, 0, 0.08);
}
/* Keep icon size stable */
.socmed-icon i {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

/* Color fill effect from left to right */
.socmed-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  z-index: 1;
  transition: width 0.4s ease;
}
/* Hover: smooth scale + deeper shadow + fill */
.socmed-icon:hover {
  transform: scale(1.2);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 10px 16px rgba(0, 0, 0, 0.1);
}

.socmed-icon:hover::before {
  width: 100%;
}

.socmed-icon:hover i {
  color: white;
}

/* Platform-specific background colors */
.soc-facebook::before { background-color: #1877F2; }
.soc-x::before { background-color: #000000; }
.soc-linkedin::before { background-color: #0A66C2; }
.soc-tiktok::before { background-color: #010101; }
.soc-instagram::before {
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%, #fdf497 5%,
    #fd5949 45%, #d6249f 60%,
    #285AEB 90%);
}

/* ----- Bottom navigation ----- */
.bottom-nav-legacy {
  /* Added legacy name to avoid being filtered out and conflicting with other elements/styles */
  position: sticky;
  bottom: 60px; /* Adjusted to be above footer */
  z-index: 99;
  background: transparent;
  width: fit-content; /* Allow the element to shrink to its content's width */
  margin: 0 auto; /* Center horizontally */
  display: block;
}

.bottom-nav-legacy ul {
  display: flex; /* flex (visible), none (hide) */
  flex-direction: row;
  max-width: 1280px;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* --- Button Item Container --- */
.nav-item {
  position: relative;
}
.nav-btn {
  position: relative;
  overflow: hidden;
  padding: 15px 30px;
  height: 75px;
  width: 169px; /* Originally: 200px */
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(to top, #ffffff, #ffe6e6);
  color: #FF0000;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(255, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.7); /* inner bevel effect */
  z-index: 1;
}
.nav-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.2),
    0 12px 24px rgba(255, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-btn span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  line-height: 1.3;
}
.nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #FF0000;
  z-index: 1;
  transition: left 0.6s ease;
}
.nav-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 0;
  transform: translateX(-100%);
  transition: transform 0.6s ease 0.3s;
  pointer-events: none;
}

/* --- Tsunami Trigger Based on JS --- */
.nav-item.open .nav-btn::before {
  left: 0;
}
.nav-item.open .nav-btn::after {
  transform: translateX(0%);
  transition-delay: 0s;
}
.nav-item.open .nav-btn span {
  color: white;
}
/* --- Drop-Up Menu --- */
/* Drop-up menu container */
.dropup-menu {
  position: absolute;
  bottom: calc(100% + 10px); /* Move 10px away from button */
  left: 50%;
  transform: translateX(-50%) perspective(1000px) rotateX(-90deg);
  transform-origin: bottom center;
  width: 169px; /* Previously: 200px */
  background: linear-gradient(to bottom, #ffffff, #f5f5f5);
  border-radius: 8px;
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.2),
    0 5px 10px rgba(0,0,0,0.1) inset,
    0 -5px 10px rgba(255,255,255,0.8) inset;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Open state with 3D bounce animation */
.nav-item.open .dropup-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) perspective(1000px) rotateX(0);
  animation: dropup3D 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.dropup-menu a {
  display: block;
  position: relative;
  padding: 14px 20px;
  color: #636359;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: 
    all 0.3s ease,
    transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dropup-menu a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.dropup-menu a:hover {
  color: #CC0000;
  transform: translateY(-3px) translateZ(20px);
  box-shadow: 
    0 5px 15px rgba(0,0,0,0.1),
    0 2px 5px rgba(0,0,0,0.1) inset;
}

.dropup-menu a:hover:before {
  opacity: 1;
}

.dropup-menu a:last-child {
  border-bottom: none;
}

/* ----- Site footer ----- */
:root {
  --color-footer-bg: #303030;
  --color-text: #fff;
  --color-link: #FF0000;
  --color-link-hover: #FF0000;
  --font-family: 'Segoe UI', sans-serif;
  --btn-bg: #484444;
  --btn-text: #fff;
  --social-btn-bg: #484444;
  --social-btn-color: #000;
  --border-radius: 6px;
}

.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-text);
  padding: 50px;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  margin-top: 100px;
  z-index: 100;
}

.site-footer a {
  color: var(--color-text);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

/* Footer Top */

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 262px;
  height: 60px;
  object-fit: contain;
}

.footer-buttons {
  display: flex;
  gap: 20px;
  margin-right: 60px;
}

.footer-buttons .btn {
  width: 120px;
  height: 60px;
  border: none;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-buttons .btn:hover,
.footer-buttons .btn:focus {
  background-color: var(--color-link);
  color: var(--color-text);
  outline: none;
  text-decoration: none;
}

/* Navigation (left) + Follow and Reach Out (right) = Footer Middle */

.footer-middle-content {
  display: flex;
  justify-content: space-between; /* Distribute space between navigation and follow/reach out */
  align-items: flex-start; /* Align items to the top */
  margin-bottom: 40px; /* Add some space below this section */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  flex: 1; /* Allow navigation to grow and take available space */
  margin-right: 40px; /* Space between navigation and follow/reach out */
  max-width: 1200px;
  justify-content: space-between;
}

.footer-navigation > div {
  flex: 0 0 calc(100% / 4); /* Keep 4 columns for navigation groups */
  margin-bottom: 20px;
}

@media (max-width: 1600px) {
  .footer-navigation > div {
    flex: 0 0 calc(100% / 3); /* 3 groups in row */
  }
}

@media (max-width: 1350px) {
  .footer-navigation > div {
    flex: 0 0 calc(100% / 2); /* 2 groups in row */
  }
}

.nav-group h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 12px;
}

.nav-group i {
  display: none;
}

.nav-group ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.nav-group li {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 8px;
}

.nav-group a {
  color: var(--color-text);
  font-weight: 400;
  font-size: 14px;
}

.nav-group a:hover,
.nav-group a:focus {
  color: var(--color-link);
  outline: none;
}

/* Follow & Reach Out Container */

.follow-reach-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align content to the right within this wrap */
  gap: 40px;
  max-width: 400px; /* Keep max-width for the right section */
  flex-shrink: 0; /* Prevent it from shrinking too much */
}

.follow-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 240px;
  margin-right: 80px;
}

.follow-label {
  margin: 0 0 5px 0;
  font-weight: bold;
  font-size: 20px;
  color: var(--color-text);
  align-self: flex-start;
}

.social-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-right: 72px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background-color: var(--social-btn-bg);
  color: var(--social-btn-color); /* Inspector: Not working or crossed out */
  font-weight: bold;
  font-size: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  user-select: none;
  transition: background-color 0.3s ease;
}

.social-btn:hover,
.social-btn:focus {
  background-color: var(--color-link);
  color: #fff;
  outline: none;
}

.reach-out-container {
  width: 240px;
  text-align: left;
  color: var(--color-text);
  margin-right: 80px;
}

.reach-label {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 16px;
}

.reach-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 14px;
}

.reach-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Special Olympics International */

.special-olympics-intl {
  margin-bottom: 40px;
}

.intl-link {
  color: #FF0000 !important;
  font-weight: bold;
  font-size: 20px;
  display: inline-flex; /* to align text and icon nicely */
  align-items: center;
}
.intl-icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: transform 0.3s ease;
}
/* Move icon when hovering over the entire link */
.intl-link:hover .intl-icon,
.intl-link:focus .intl-icon {
  transform: translateX(5px);
}
/* Optional: change text color on hover */
.intl-link:hover,
.intl-link:focus {
  color: var(--color-link-hover);
  outline: none;
  text-decoration: none !important;
}

.intl-description {
  font-size: 12px;
  color: #bebebe;
  margin-top: 6px;
}

/* Footer Bottom */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom .copyright-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #aaa;
  font-size: 12px;
  max-width: 70%;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-weight: 700;
  color: var(--color-text);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-link);
  outline: none;
}

.developer-credit {
  font-size: 14px;
  color: #aaa;
  max-width: 30%;
  text-align: right;
}

.developer-credit a {
  font-weight: 500;
}

/* ##########---------- GENERAL STYLE ----------########## */

/* ++++++++++ ABOUT US ++++++++++ */
/* ----- Introduction page ----- */
/* Manually convert Tailwind to traditional CSS */
.intro-main-content {
    max-width: 1152px; /* max-w-6xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
    padding-top: 32px; /* pt-8 */
}

.intro-hero-section {
    background-color: #fff; /* bg-white */
    border-radius: 12px; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    overflow: hidden; /* overflow-hidden */
    margin-bottom: 48px; /* mb-12 */
}

.intro-hero-image-container img {
    height: 100%; /* h-full */
    width: 100%; /* w-full */
    object-fit: cover;  /* object-cover */
}

.intro-hero-content {
    padding: 32px; /* p-8 */
    display: flex; /* flex */
    flex-direction: column; /* flex-col */
    justify-content: center; /* justify-center */
}

.intro-hero-subtitle {
    text-transform: uppercase; /* uppercase */
    letter-spacing: 0.025em; /* tracking-wide */
    font-size: 0.875rem; /* text-sm */
    color: #dc2626; /* text-red-600 */
    font-weight: 600; /* font-semibold */
    margin-bottom: 8px; /* mb-2 */
}

.intro-hero-title {
    display: block; /* block */
    margin-top: 4px; /* mt-1 */
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: #636359; /* text-gray-900 */
    line-height: 1.25; /* leading-tight */
}

.intro-hero-description {
    margin-top: 16px; /* mt-4 */
    color: #636359; /* text-gray-600 */
    line-height: 1.625; /* leading-relaxed */
}

.intro-questions-section {
    display: grid; /* grid */
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 24px; /* gap-6 */
    margin-bottom: 64px; /* mb-16 */
}

.question-card {
    background-color: #fff; /* bg-white */
    border-radius: 12px; /* rounded-xl */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    padding: 24px; /* p-6 */
    transition: all 0.3s ease; /* transition-all duration-300 */
}

.question-card h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700; /* font-bold */
    color: #636359; /* text-gray-900 */
    margin-bottom: 12px; /* mb-3 */
}

.question-card-divider {
    height: 4px; /* h-1 */
    width: 48px; /* w-12 */
    margin-bottom: 16px; /* mb-4 */
    border-radius: 9999px; /* rounded-full */
    background-color: #E10E1E; /* intro-special-red */
}

.question-card-answer {
    color: #636359; /* text-gray-600 */
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 16px; /* p-4 */
    border-radius: 8px; /* rounded-lg */
}

.intro-infographic-section {
    margin-bottom: 64px; /* mb-16 */
}

.intro-infographic-header {
    display: flex; /* flex */
    align-items: center; /* items-center */
    margin-bottom: 24px; /* mb-6 */
}

.intro-infographic-header-divider {
    height: 4px; /* h-1 */
    flex-grow: 1; /* flex-grow */
    background-color: #E10E1E; /* intro-special-red */
}

.intro-infographic-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #636359; /* text-gray-900 */
    padding-left: 16px; /* px-4 */
    padding-right: 16px; /* px-4 */
}

.intro-infographic-chip {
    position: relative;
    overflow: hidden;
    background: #E10E1E;
    border-radius: 16px; /* rounded-2xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
}

.intro-infographic-chip-content {
    padding: 32px; /* p-8 */
    display: flex; /* flex */
    flex-direction: column; /* flex-col */
    justify-content: center; /* justify-center */
    position: relative; /* relative */
    z-index: 10; /* z-10 */
}

.intro-infographic-chip-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #fff; /* text-white */
    margin-bottom: 16px; /* mb-4 */
}

.intro-infographic-chip-description {
    color: #fff; /* text-white */
    line-height: 1.625; /* leading-relaxed */
    margin-bottom: 24px; /* mb-6 */
}

.intro-infographic-chip-button {
    background-color: #fff; /* bg-white */
    color: #dc2626; /* text-red-600 */
    padding-left: 24px; /* px-6 */
    padding-right: 24px; /* px-6 */
    padding-top: 12px; /* py-3 */
    padding-bottom: 12px; /* py-3 */
    border-radius: 9999px; /* rounded-full */
    font-weight: 700; /* font-bold */
    font-size: 0.875rem; /* text-sm */
    width: max-content; /* w-max */
}

.intro-iic-button {
  margin-top: 0;
  background-color: white;
  transition: all 0.3s ease;
  color: #dc2626;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  flex-shrink: 0;
}

.intro-iic-button:hover {
  background-color: white;
}

.intro-infographic-chip-image-container {
    position: relative; /* relative */
}

.intro-infographic-chip-image {
    height: 100%; /* h-full */
    width: 100%; /* w-full */
    object-fit: cover; /* object-cover */
    min-height: 256px; /* min-h-64 */
}

/* Original local styles */
.intro-special-red {
    background-color: #E10E1E;
}
.intro-special-divider {
    height: 4px;
    background: linear-gradient(90deg, #E10E1E, white);
}
.intro-infographic-chip {
    position: relative;
    overflow: hidden;
    background: #E10E1E;
}
.intro-infographic-chip::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(225, 14, 30, 0.1);
    z-index: 1;
}
.intro-description-text {
    font-size: 1.125rem;
}

/* ----- Organization Overview ----- */
/* ----- SO Brochure ----- */

/* ----- "How Can You Help?" page ----- (hero = hcyh) */
.hcyh {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 50px;
}
.hcyh-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: zoomInOut 15s infinite alternate ease-in-out;
}

.hcyh-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hcyh-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 900px;
  padding: 0 20px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 1); /* Previously: 1px 1px 3px rgba(0, 0, 0, 0.5) */
}

.hcyh-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;

}

.hcyh-content p {
  font-size: 1.5rem;
  font-weight: 300;
}

/* Main content sections */
.hcyh-main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.hcyh-help-section {
  display: flex;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  position: relative;
}

.hcyh-help-section:hover {
  transform: translateY(-5px);
}

.hcyh-section-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e31837;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(227, 24, 55, 0.1);
}

.hcyh-section-content {
  padding: 30px;
}

.hcyh-section-content h2 {
  color: #e31837;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.hcyh-section-content p {
  font-size: 1.1rem;
  color: #555;
}

/* Call to action section */
.hcyh-cta-section {
  position: relative;
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin: 50px 0;
  overflow: hidden;
}

.hcyh-cta-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: zoomInOut 15s infinite alternate ease-in-out;
  background: rgba(227, 24, 55, 0.8);
}

.hcyh-cta-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hcyh-cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px; /* Default 800px */
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.7); /* Optional: Add background color for text legibility */
  border-radius: 8px; /* Optional with background-color */
}

.hcyh-cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  max-width: 900px; /* Default 800px */
  padding: 20px 50px 0px 50px; /* If hcyh-cta-content's background-color is used */
}

.hcyh-cta-section p {
  font-size: 1.3rem;
  max-width: 900px; /* Default 800px */
  padding: 0px 50px;
  margin: 0 auto;
  line-height: 1.8;
  padding-bottom: 20px; /* If hcyh-cta-content's background-color is used */
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* ##########---------- NEWS ----------########## */
.news-main {
  max-width: 1100px;
  margin: 120px auto 60px auto;
  padding: 0 20px;
}
.news-title {
  font-size: 2.5rem;
  color: #FF0000;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
}
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.news-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(255, 0, 0,0.10), 0 1.5px 8px 0 rgba(0,0,0,0.08);
  overflow: hidden;
  width: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.news-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 0, 0,0.18), 0 2px 12px 0 rgba(0,0,0,0.10);
}
.news-image {
  width: 100%;
  height: 180px;
  background: #eee center/cover no-repeat;
  border-bottom: 1px solid #f5f5f5;
}
.news-content {
  padding: 22px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-headline {
  font-size: 1.25rem;
  color: #FF0000;
  margin: 0 0 6px 0;
  font-weight: 700;
}
.news-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 6px;
}
.news-desc {
  font-size: 1.05rem;
  color: #222;
  line-height: 1.6;
}

/* ##########---------- CONTACT US ----------########## */
/* ------ Visit Us page (vu) ----- */
.vu-main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Compact title background */
.vu-title-background {
  width: 100vw;
  height: 40vh;
  /* Reduced from 60vh */
  min-height: 300px;
  /* Reduced from 400px */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-image: url('https://images.unsplash.com/photo-1547347298-4074fc3086f0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  /* Reduced from 40px */
}

.vu-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(114, 114, 114, 0.7);
  /* Slightly more transparent */
}

.vu-page-title {
  text-align: center;
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  padding: 20px;
  max-width: 1000px;
  width: 100%;
}

.vu-page-title h1 {
  font-size: 2.5rem; /* Reduced from 3rem */
  font-weight: 700;
  margin-bottom: 10px; /* Reduced from 15px */
  text-transform: uppercase;
}

.vu-page-title p {
  font-size: 1.2rem;
  /* Reduced from 1.5rem */
  margin-bottom: 15px;
  /* Reduced from 20px */
}

.vu-page-title::after {
  content: '';
  display: block;
  width: 80px;
  /* Reduced from 100px */
  height: 3px;
  /* Reduced from 4px */
  background: white;
  margin: 15px auto;
  /* Reduced from 20px */
}

/* Rest of the CSS remains the same */
.vu-branches-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.vu-branch-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 800px;
  transition: transform 0.3s ease;
}

.vu-branch-card:hover {
  transform: translateY(-5px);
}

.vu-branch-header {
  background: #E31937;
  color: white;
  padding: 15px 20px;
  text-align: center;
}

.vu-branch-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.vu-branch-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vu-branch-info-container {
  display: flex;
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
  align-items: center;
  gap: 20px;
}

.vu-branch-logo {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.vu-branch-info {
  flex-grow: 1;
}

.vu-branch-info p {
  margin: 12px 0;
  display: flex;
  align-items: center;
}

.vu-branch-info i {
  margin-right: 10px;
  color: #E31937;
  min-width: 20px;
  text-align: center;
}

.vu-map-container {
  width: 100%;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border: 2px solid #E31937;
  border-radius: 5px;
}

.vu-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.vu-red-stripe {
  height: 8px;
  background: #E31937;
  margin: 30px auto;
  width: 80%;
  max-width: 600px;
}

/* ##########---------- DONATE ----------########## */
.donate-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.donate-container h2 {
  text-align: center;
  color: #cc0000;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

/* Hero Section */
.donate-page {
  background: linear-gradient(rgba(204, 0, 0, 0.8), rgba(204, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1543351611-58f69d7c1781?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 40px;
}

.donate-page h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.donate-page p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Donation Options */
.donation-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.donation-card-qr {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 520px; /* Predict the width for 2 cards in the same row */
  height: auto;
  transition: all 0.3s ease;
}

.donation-card-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.donation-card-qr h3 {
  padding: 60px 20px 60px 20px;
  font-size: 1.1rem;
  font-weight: 550;
  text-align: center;
  color: #636359;
  margin: 0
}

.donation-card-qr p {
  padding: 4px 20px 4px 20px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: left;
  color: #636359;
  margin: 0;
}

/* Horizontal QR Card Layout */
.donation-card-qr-horizontal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  overflow: hidden;
  transition: all 0.3s ease;
}

.donation-card-qr-horizontal:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.qr-section {
  flex: 0 0 350px;
  background: linear-gradient(135deg, #e63946 0%, #c41926 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.qr-code-wrapper {
  text-align: center;
  width: 100%;
}

.qr-code-wrapper img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.qr-recipient {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.bank-info-section {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bank-info-section h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: left;
}

.account-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.account-info p {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.account-info .label {
  font-weight: 600;
  color: #333;
  min-width: 160px;
  display: inline-block;
  position: relative;
}

.account-info .label::after {
  content: ':';
  position: absolute;
  right: 10px;
}

@media (max-width: 768px) {
  .donation-card-qr-horizontal {
    flex-direction: column;
  }
  
  .qr-section {
    flex: 0 0 auto;
    padding: 30px;
  }
  
  .qr-code-wrapper img {
    width: 200px;
    height: 200px;
  }
  
  .bank-info-section {
    padding: 30px 20px;
  }
  
  .bank-info-section h3 {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .account-info .label {
    min-width: 140px;
  }
}

.donation-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 225px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid #cc0000;
}

.donation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.donation-card h3 {
  color: #cc0000;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.donation-card .donate-amount {
  font-size: 2rem;
  font-weight: bold;
  color: #636359;
  margin: 20px 0;
}

.donation-card .donate-impact {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 25px;
  min-height: 60px;
}

.donate-btn-page, .donate-btn-page-2 {
  display: inline-block;
  background: #cc0000;
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.donate-btn-page:hover {
  background: #a30000;
}

.donate-btn-page-2:hover {
  background: #a30000;
  /* transform: translateY(-2px); */
}

.donate-btn-page-outline {
  background: transparent;
  border: 2px solid #cc0000;
  color: #cc0000;
}

.donate-btn-page-outline:hover {
  background: #cc0000;
  color: white;
}

/* Custom Donation */
.custom-donation {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
}

.custom-donation h2 {
  color: #cc0000;
  font-size: 1.8rem;
}

.donation-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donate-amount-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.donate-amount-btn {
  background: white;
  border: 2px solid #ddd;
  color: #636359;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.donate-amount-btn:hover,
.donate-amount-btn.active {
  border-color: #cc0000;
  color: #cc0000;
  background: rgba(204, 0, 0, 0.05);
}

.donate-custom-amount {
  display: flex;
  margin-bottom: 40px;
  align-items: center;
}

.donate-custom-amount span {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #666;
}

.donate-custom-amount input {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1.2rem;
  width: 150px;
  text-align: center;
  transition: all 0.3s ease;
}

.donate-custom-amount input:focus {
  border-color: #cc0000;
  outline: none;
}

/* Remove number input spinners for Chrome, Safari, Edge */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Remove number input spinners for Firefox, might display yellow wavy underline but it's normal */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield; /* Optional: Add this to remove the yellow underline wavy on -moz-appearance, also supported in most modern browser */
}

/* Impact Section */
.donate-impact-section {
  background-color: #cc0000;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.donate-impact-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.donate-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.donate-impact-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.donate-impact-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.donate-impact-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.donate-impact-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Testimonials */
.donate-testimonials {
  padding: 60px 20px;
  background: white;
  margin-bottom: 80px;
}

.donate-testimonials h2 {
  text-align: center;
  color: #cc0000;
  margin-bottom: 40px;
  font-size: 2rem;
}

.donate-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.donate-testimonial-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid #cc0000;
}

.donate-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.donate-testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.donate-testimonial-card .author {
  font-weight: bold;
  color: #636359;
}

/* ----- GETTING STARTED ----- */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: zoomAnimation 20s infinite alternate;
}

@keyframes zoomAnimation {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: white;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #cc0000;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.cta-button:hover {
  background-color: #a30000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.section {
  padding: 80px 20px;
  margin-bottom: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: #cc0000;
  font-size: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background-color: #cc0000;
  margin: 15px auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.program-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.program-image {
  height: 200px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.1);
}

.program-content {
  padding: 20px;
}

.program-title {
  color: #cc0000;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.program-number {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #cc0000;
  color: white;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  font-weight: bold;
}

.sports-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.sport-item {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sport-item:hover {
  transform: translateY(-10px);
}

.sport-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background-color: #cc0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

/* Regions section */
.regions-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}

.region-card {
  background-color: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  color: #636359;
  border: 2px solid #cc0000;
  transition: all 0.3s ease;
}

.region-card:hover {
  background-color: #cc0000;
  color: white;
}

/* Footer placeholder */
.existing-footer {
  height: 100px;
  /* Adjust this based on your actual footer height */
  background-color: #fcfcfc;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.footer-placeholder {
  color: #fff;
}

/* ----- GALLERY (FOR PHOTOS AND VIDEOS) ----- */
.gallery-hero {
  background: linear-gradient(135deg, #ca3441 0%, #db2727 100%);
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.gallery-hero.photos {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/gallery-photo-hero.jpg') center/cover no-repeat;
}
.gallery-hero.videos {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/gallery-video-hero.jpg') center/cover no-repeat;
}
.gallery-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.gallery-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 0 20px;
}
.gallery-track {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}
.latest-gallery,
.category-gallery {
  max-width: 1280px;
  margin: 50px auto;
  padding: 0 20px;
}
.cg-container {
  margin-bottom: 50px;
}
.cg-container h2 {
  text-align: left;
  margin-bottom: 1rem;
  color: #636359;
  font-size: 1.6rem;
}
.cg-container p {
  text-align: left;
  margin-bottom: 2rem;
  color: #636359;
  font-size: 1.1rem;
}
.lg-desc h2 {
  text-align: left;
  margin-bottom: 20px;
  color: #cc0000;
  font-size: 2rem;
  position: relative;
}
.lg-desc p {
  text-align: left;
  margin-bottom: 40px;
  color: #636359;
  font-size: 1.1rem;
  position: relative;
}
/* Arrow Button and Grid */
.lg-grid,
.cg-grid {
  display: flex;
  /* justify-content: center; -- This works better without transition slide */
  gap: 24px;
  overflow: hidden;
  position: relative;
  align-items: center;
  min-height: 180px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ca3441;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}
.gallery-arrow:hover {
  background: #ca3441;
  color: #fff;
}
/* Keep arrows at container edges */
.lg-grid .gallery-arrow.left,
.cg-grid .gallery-arrow.left {
  left: 8px;
}
.lg-grid .gallery-arrow.right,
.cg-grid .gallery-arrow.right {
  right: 8px;
}
.lp-card,
.cg-card {
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-card img,
.cg-card img {
  width: 302px;
  height: 170px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.lp-card:hover img,
.cg-card:hover img {
  transform: scale(1.06);
  transition: transform 0.3s;
}
.lp-card img,
.cg-card img {
  transition: transform 0.3s;
}
/* Custom video thumbnail */
.gallery-track.videos {
  height: 260px;
  align-items: center;
}
.lp-card.videos, .cg-card.videos {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 302px;
  height: 240px;
  cursor: pointer;
  transition: box-shadow 0.2s;
  text-decoration: none;
}
.cg-card-thumbnail img, .lp-card-thumbnail img {
  width: 302px;
  height: 170px;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  margin: 0;
}
.cg-card-title, .lp-card-title {
  flex: 1 1 auto;
  padding: 16px 16px 12px 16px;
  background: #fff;
  z-index: 1;
  text-align: left;
  height: auto;
}
.cg-card-title p, .lp-card-title p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* Limit to 2 lines — wavy yellow underline (if any) is normal */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Make the entire card clickable and remove link underline */
.gallery-track.videos a {
  text-decoration: none;
}
.cg-card-title p, .lp-card-title p {
  text-decoration: none;
}

/* ----- OUR CHAPTER : KUCHING, SAMARAHAN, SIBU, BINTULU, MIRI ----- */
.our-chapter-hero-kuching {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/chapter-kuching-2.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.our-chapter-hero-samarahan {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/chapter-kuching-2.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.our-chapter-hero-sibu {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/sport_1.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.our-chapter-hero-bintulu {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/chapter-bintulu.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.our-chapter-hero-miri {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/chapter-kuching-2.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.our-chapter-hero-bintulu h1,
.our-chapter-hero-kuching h1,
.our-chapter-hero-sibu h1,
.our-chapter-hero-miri h1,
.our-chapter-hero-samarahan h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.our-chapter-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.our-chapter-desc {
  background-color: #f1f1f1;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 80px;
}

.our-chapter-desc p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #636359;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Our Social Media */
.our-chapter-sosmed {
  margin: 0 auto 32px auto;
}

.our-chapter-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.our-chapter-sosmed-grid {
  margin-top: 24px;
}

.our-chapter-sosmed-card {
  position: relative;
  overflow: hidden;
  background: #E10E1E; /* Default red, override with .facebook-card */
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  max-width: 1280px;
  min-width: 480px;
}

.our-chapter-sosmed-card.facebook-card {
  background: #1877F2; /* Facebook blue */
  color: #fff;
}
.our-chapter-sosmed-card.facebook-card .ocsc-title,
.our-chapter-sosmed-card.facebook-card .ocsc-desc {
  color: #fff;
}
.our-chapter-sosmed-card.x-card {
  background: #000; /* X/Twitter black */
  color: #fff;
}
.our-chapter-sosmed-card.x-card .ocsc-title,
.our-chapter-sosmed-card.x-card .ocsc-desc {
  color: #fff;
}
.our-chapter-sosmed-card.x-card .ocsc-button {
  background: #fff;
  color: #000;
}
.our-chapter-sosmed-card.x-card .ocsc-button:hover, .our-chapter-sosmed-card.tiktok-card .ocsc-button:hover {
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.18), 0 3px 12px 0 rgba(0,0,0,0.12), 0 0 16px 2px rgba(255,255,255,0.35);
}
/* Instagram gradient or solid color */
.our-chapter-sosmed-card.instagram-card {
  /* background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  background: #d6249f;
}
.our-chapter-sosmed-card.instagram-card .ocsc-title {
  color: #fff;
}
.our-chapter-sosmed-card.instagram-card .ocsc-desc {
  color: #fff;
}
.our-chapter-sosmed-card.instagram-card .ocsc-button {
  background: #fff;
}

/* TikTok */
.our-chapter-sosmed-card.tiktok-card {
  background: linear-gradient(135deg, #000 60%, #25F4EE 100%);
  color: #fff;
}
.our-chapter-sosmed-card.tiktok-card .ocsc-title,
.our-chapter-sosmed-card.tiktok-card .ocsc-desc {
  color: #fff;
}
.our-chapter-sosmed-card.tiktok-card .ocsc-button {
  background: #fff;
  color: #000;
}

.ocsc-content {
  flex: 1;
  width: auto;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.ocsc-platform {
  display: inline-block;
  width: auto;
  padding: 6px 12px;
  margin: 0 0 16px 0;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: transparent;
  align-self: flex-start;
  box-sizing: border-box;
}

.ocsc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0;
  margin-bottom: 16px;
}

.ocsc-desc {
  color: #fff;
  font-weight: 600;
  line-height: 1.625;
  margin-bottom: 32px;
}

.ocsc-button {
  background-color: #fff;
  color: #636359;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  width: max-content;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0;
  display: inline-block;
  align-self: flex-start;
  flex-shrink: 0;
}

.ocsc-button:hover {
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.18), 0 3px 12px 0 rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.ocsc-image-container {
  width: 50%;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ocsc-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 256px;
  display: block;
}

/* Contact Us */
.our-chapter-contact {
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.our-chapter-contact .our-chapter-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.our-chapter-contact h2, .our-chapter-sosmed h2 {
  color: #e63946;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.our-chapter-contact p {
  color: #636359;
  font-size: 1.2rem;
  text-align: center;
  padding: 0 20px;
}

.our-chapter-contact .our-chapter-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .our-chapter-contact .our-chapter-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .our-chapter-contact .our-chapter-contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.our-chapter-contact-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: #e9e9e6;
}

.our-chapter-contact-card h3 {
  color: #636359;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
}

.our-chapter-contact-card i {
  font-size: 60px;
  display: block;
  margin: 40px auto 20px auto;
  color: #c4161c;
  width: auto;
  height: auto;
  line-height: 1;
}

.our-chapter-contact-card img {
  /* Exclusively for Email Us page style*/
  width: 200px;
  height: 200px;
  display: block;
  margin: 20px auto 0 auto;
}

.our-chapter-contact-card p.occ-tc {
  margin-bottom: 40px;
  margin-top: 0;
  font-size: 1.1rem;
}

.our-chapter-contact-card-button {
  margin: auto auto 40px auto;
  background-color: #c41926;
  transition: all 0.3s ease;
  color: white;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  flex-shrink: 0;
}

.our-chapter-contact-card-button:hover {
  background-color: #e94e1b;
}

/* ---------- MEDIA QUERY / RESPONSIVE ---------- */

/* ----- REUSABLE RESPONSIVE STYLE ----- */
@media only screen and (max-width: 540px) {
  .logo {
    /* Recently added: Previously on HTML */
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo-img {
    /* Recently added: Previously on HTML */
    height: 56px;
    width: auto;
    object-fit: contain;
    margin-left: 0px;
  }

  .sarawak-flag-header {
    /* Recently added: Previously on HTML */
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    margin-left: -10px;
  }
}

@media only screen and (max-width: 1299px) {
  .top-nav {
    padding: 0 20px; /* Adjust padding for smaller screens */
    height: 70px; /* Adjust height for smaller screens */
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    padding: 20px 20px;
    gap: 0px;
  }
  .nav-menu > li {
    width: 100%;
    text-align: left;
  }
  .nav-menu a {
    width: 100%;
    box-sizing: border-box;
  }

  .nav-menu a:hover {
    color: #636359;
    transform: none;
    text-shadow: none;
  }

  .nav-right {
    position: fixed; /* [!] Change this element could break the menu */
    top: 70px; /* Below the top nav */
    right: -110%; /* Start off-screen */
    width: 100vw;
    max-width: none;
    height: calc(100% - 70px); /* Full height minus top nav */
    background: rgba(255, 255, 255, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    overflow-y: auto; /* Enable scrolling for long menus */
    z-index: 999; /* Ensure it's above other content */
    padding-bottom: 60px; /* Space for site-footer */
    display: flex; /* Ensure flexbox for ordering */
  }
  .nav-right.open {
    right: 0; /* Slide in */
  }
  .nav-menu .dropdown-menu {
    position: static; /* Make dropdowns expand inline */
    box-shadow: none;
    border-radius: 0;
    background: #ffffff; /* Slightly different background for sub-menus */
    padding: 0;
    width: 100%;
    opacity: 1; /* Always visible when parent is open */
    transform: none; /* No 3D transform */
    pointer-events: auto;
    animation: none; /* Disable bounce animation */
    max-height: 0; /* Start collapse */
    overflow: hidden;
    transition: max-height 0.3 ease;
  }

  .nav-menu .dropdown.open .dropdown-menu {
    max-height: 500px; /* Adjustment is needed to fix all items */
    transition: max-height 0.3s ease;
  }

  .dropdown {
    background: #ffffff;
  }

  .dropdown a {
    font-size: 1.5rem;
  }

  .dropdown-menu a {
    padding: 12px 10px;
  }

  .nav-menu .dropdown-menu a {
    font-size: 1.2rem;
    color: #555;
    background: #ffffff;
  }

  /* Dropdown icon for mobile */
  .dropdown i, .dropdown.mobile-only i {
    display: block;
    font-size: 30px; /* Icon size */
  }

  .dropdown a, .dropdown.mobile-only a {
    font-weight: 600; /* Semi-bold text */
  }
  
  .nav-menu .dropdown > a {
    display: flex; /* Use text to align text and icon */
    justify-content: space-between; /* Space between text and icon */
    align-items: center;
  }

  .nav-menu .dropdown > a i {
    margin-left: 10px;
    transition: transform 0.3s ease;
  }

  .nav-menu .dropdown.open > a i {
    transform: rotate(-180deg);
  }

  /* Hide desktop-only elements */
  .desktop-only {
    display: none !important;
  }
  /* Show mobile-only elements */
  .mobile-only {
    display: block; /* Or flex/block depending on desired layout */
    width: 100%;
  }
  /* Specific display for mobile-only-block elements */
  .mobile-only-block {
      display: block;
      order: -1; /* Move searchbar to the top */
  }

  /* Hamburger Icon */
  .hamburger {
    display: flex; /* Show hamburger icon on screens <= 900px */
    flex-direction: column;
    justify-content: space-around; /* Distributes the bars vertically */
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above the sliding nav-right menu */
    margin-left: auto; /* Pushes it to the right if needed */
  }
  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #FF0000; /* Red color for the bars */
    transition: all 0.3s ease; /* Smooth transition for animation */
  }
  /* Hamburger animation for 'open' state (when menu is active) */
  .hamburger.open .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg); /* Top bar rotates and moves down */
  }
  .hamburger.open .bar:nth-child(2) {
    opacity: 0; /* Middle bar fades out */
  }
  .hamburger.open .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg); /* Bottom bar rotates and moves up */
  }

  /* Adjust search and donate button for mobile menu */
  .search-item {
    width: 100%;
    order: -1; /* Move searchbar to the top */
    padding: 10px 10px;
    box-sizing: border-box;
  }
  .donation-item {
    width: 100%;
    order: 999; /* Move donate button to the bottom */
    padding: 10px 10px;
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 50px; /* Space in the sidebar */
  }
  .donation-button-container {
    width: auto; /* Wider donate button for mobile sidebar */
    padding-left: 0px;
    margin-top: 0px;
  }
  .search-container {
    margin-left: center;
    width: auto !important; /* Wider search bar for mobile sidebar */
  }
  .donate-btn {
    width: 100%;
    text-align: center;
    font-weight: 600; /* Ensure bold for mobile sidebar */
    border-radius: 50px;
    font-size: 1.5em !important; /* Slightly larger font for mobile sidebar */
    padding: 25px 0px !important;
  }
}

@media (max-width: 1019px) {
  .socmed-bar {
      display: none !important; /* Hide social media icons on mobile */
  }
  
  .site-footer {
    padding: 40px 20px;
    font-size: 15px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }

  .footer-logo img {
    width: 392px;
    height: 90px;
  }

  .footer-buttons {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .footer-buttons .btn {
    width: 100%;
    height: 60px;
    font-size: 18px;
  }

  .footer-middle-content {
    flex-direction: column; /* Stack navigation and follow + reach out vertically */
    align-items: flex-start; /* Align item to the left when stacked */
  }

  .footer-navigation > div {
    flex: 0 0 calc(100% / 1);
    margin-bottom: 0px;
  }
  
  .nav-group h3 {
    font-size: 28px;
  }
  
  .nav-group a {
    font-size: 18px;
  }

  /* Adjust column gap to ~30px between groups on mobile (vertical stacking with margin-bottom 25px) */

  .footer-reach-wrap {
    align-items: flex-start; /* Align content to the left when stacked */
    max-width: 100%; /* Take full width when stacked */
  }

  .follow-container {
    margin-top: 40px;
  }

  .follow-container, .reach-out-container {
    margin-right: 0; /* Remove right margin when stacked */
    width: 100%; /* Take full width when stacked */
  }

  .follow-label {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .social-buttons {
    justify-content: flex-start;
    margin-right: 95px;
    gap: 20px
  }

  .social-btn {
    font-size: 30px; /* Icon size */
    width: 60px;
    height: 60px;
  }

  .reach-label {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .special-olympics-intl {
    margin-bottom: 30px;
    text-align: left;
  }

  .intl-link {
    font-size: 22px;
  }

  .intl-description {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: left;
    gap: 15px;
  }

  .footer-bottom .copyright-links {
    max-width: 100%;
    color: var(--color-text);
  }

  .copyright-links p {
    font-size: 14px;
  }

  .footer-links {
    /* justify-content: center; */
    gap: 20px;
    margin-top: 8px;
    /* font-size: 16px; */
  }

  .developer-credit {
    max-width: 100%;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
  }
}


/* ----- GENERAL RESPONSIVE ----- */

/* ----- ABOUT US -----*/
/* INTRODUCTION */
@media only screen and (max-width: 639px) { /* sm:px-4 */
    .intro-main-content {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media only screen and (min-width: 640px) { /* sm:px-6 */
    .intro-main-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media only screen and (min-width: 1024px) { /* lg:px-8 */
    .intro-main-content {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media only screen and (min-width: 768px) { /* md:flex */
    .intro-hero-section > div { /* Target the div with md:flex */
        display: flex;
    }
    .intro-hero-image-container { /* md:flex-shrink-0 md:w-1/3 */
        flex-shrink: 0;
        width: 33.333333%;
        height: auto; /* md:h-auto */
    }
    .intro-hero-content { /* md:w-2/3 */
        width: 66.666667%;
    }
    .intro-questions-section { /* md:grid-cols-2 */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .intro-infographic-chip > div { /* md:flex */
        display: flex;
    }
    .intro-infographic-chip-content { /* md:w-2/5 md:p-12 */
        width: 40%;
        padding: 48px;
    }
    .intro-infographic-chip-image-container { /* md:w-3/5 */
        width: 60%;
    }
}

@media only screen and (max-width: 767px) {
  .img-aso-mobile {
    display: block;
    margin: auto; /* Center the image */
    width: 260px !important;
    height: 260px !important;
  }
}

/* NEWS */
@media (max-width: 900px) {
  .news-list {
    flex-direction: column;
    align-items: center;
  }
  .news-card {
    width: 95%;
    max-width: 420px;
  }
}

/* Organization Overview */
/* SO Brochure */

/* "How Can You Help?" page (hcyh) "*/
@media (max-width: 768px) {
  .hcyh {
    height: 300px;
  }

  .hcyh-content h1 {
    font-size: 2.5rem;
    ;
  }

  .hcyh-content p {
    font-size: 1.2rem;

  }

  .hcyh-help-section {
    flex-direction: column;
  }

  .hcyh-section-number {
    min-width: 100%;
    padding: 10px 0;
  }
}

/* ----- CONTACT US ----- */
/* Visit Us */
@media (max-width: 768px) {
  .vu-title-background {
    height: 35vh;
    /* Adjusted from 50vh */
    min-height: 250px;
    /* Reduced from 300px */
  }

  .vu-page-title h1 {
    font-size: 2rem;
    /* Reduced from 2.2rem */
  }

  .vu-page-title p {
    font-size: 1.1rem;
    /* Reduced from 1.2rem */
  }

  .vu-branch-info-container {
    flex-direction: column;
    text-align: center;
  }

  .vu-branch-info p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .vu-title-background {
    height: 30vh;
    /* Adjusted from 40vh */
    min-height: 200px;
    /* Reduced from 250px */
  }

  .vu-page-title h1 {
    font-size: 1.6rem;
    /* Reduced from 1.8rem */
  }

  .vu-page-title p {
    font-size: 1rem;
  }
}

/* ----- DONATE ----- */
@media (max-width: 768px) {
  .donate h1 {
    font-size: 2rem;
  }

  .donate p {
    font-size: 1rem;
  }

  .donation-card {
    width: 100%;
    max-width: 350px;
  }
}

/* GETTING STARTED */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    flex-direction: column;
  }
}

/* GALLERY (FOR PHOTOS AND VIDEOS) */
@media (max-width: 768px) {
  .gallery-hero {
    height: 40vh;
  }
  .gallery-hero h1 {
    font-size: 2.5rem;
  }
  .gallery-hero p {
    font-size: 1rem;
  }
  .lg-desc h2,
  .cg-container h2 {
    font-size: 1.5rem;
  }
  .lg-desc p,
  .cg-container p {
    font-size: 1rem;
  }
}

/* OUR CHAPTERS */
@media (max-width: 768px) {
  .our-chapter-sosmed-card {
    flex-direction: column;
    min-width: 0;
  }
  .ocsc-content {
    padding: 32px 16px 24px 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .ocsc-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    min-width: 0;
    max-width: 100%;
  }
  .ocsc-image {
    min-height: 180px;
  }
}