body {
  margin: 0;
  padding-top: 60px;
  background-color: #D8BFD8;
  overflow-x: hidden; /* Prevent horizontal scroll */
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #222;
 font-size: 16px;
line-height: 1.6;
}
.banner-section {
  position: relative;
  width: 100%;
  height: 200px; /* Adjust as needed */
  margin-top: 0;
  overflow: hidden;
}

.banner-section .banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.banner-section .overlay {
  position: relative;
  background-color: rgba(48, 25, 52, 0.75); /* #301934 with 75% opacity */
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-section h1 {
  color: white;
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.banner-section .subtitle {
  color: white;
  font-size: 14px;
  margin-top: 10px;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 20px; /* left and rght spacing */
  margin: 0 auto; /* remove top spacing */
  box-sizing: border-box; /* ensures padding doesn't add to total width */
}

header {
    background-color: #301934;
    color: white;
    display: flex;
    justify-content: space-between; /* adjust to make room for center */
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-wrap: wrap; /* allow items to wrap on smaller screens */
}

.logo {
        display: flex;
        align-items: flex-start; /* Align logo at the top */
        margin-left: 0; /* Adjust margin as needed */
    }
    
    .logo img {
        height: 50px;
    }
.led-container {
  height: 400px; /* or use 80vh for responsive */
  width: 60%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: 3px solid #f1f1f1;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.led-content {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.led-content img {
  height: 90%; /* 90% of container height */
  width: auto; /* maintain aspect ratio */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  display: block;
}

.led-text {
  flex: 1;
  display: flex;
  align-items: center;
}

.led-text p {
  padding: 10px;
  font-size: 16px;
  line-height: 1.6;
}
.intro-text {
    padding:10px;
}

.info-list li {
  line-height: 1.6;
  margin-bottom: 3px;
  text-align: left; /* Default for desktop */
  padding:10px;
  font-size: 16px;
}
.column {
  position: relative;
  background-color: #f4f4f4;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.column p {
  text-align: justify;
}

/* Layout for first section: flex row (text left, image right) */
.first-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* First text box */
.column-box {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  flex: 1 1 55%;
}

.image-jin {
  text-align: center;
  margin: 0; /* was 20px 0 */
}

/* Right-aligned image (first section) */
.main-image-right {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  flex: 0 0 40%;
}

/* Second section layout: flex row (image left, text right) */
.second-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top:20px;
  flex-wrap: wrap;
}

/* Left-aligned image (second section) */
.main-image-left {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  flex: 0 0 40%;
}

/* Text box for second section */
.second-box {
  flex: 1 1 55%;
   margin-bottom: 0; /* Add this line if needed */
}

/* Optional: for spacing between stacked column-boxes if needed */
.column-box + .column-box {
  margin-top: 10px;
}

/* Optional: styling for quote */
.jinquote {
  margin-top: 20px;
  font-style: italic;
  text-align: center;
  font-size: 1rem;
  color: #333;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
/* Keep this as-is to avoid layout shift */
.additional-image {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: -300px; /* existing setting */
}

.additional-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Grouped image column on the left */
.left-image-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 0 0 40%; /* match the same width as main-image-left */
}

.blog-image-box {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin-top: 10px;
}

.blog-image {
margin-left:40px;
  width: 100%;
  height: 150px;
  display: block;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Green BLOG label */
.blog-label {
  position: absolute;
  top: 10px;
  left: 50px;
  background-color: #28a745;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  z-index: 1;
}

.blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.blog-caption {
  margin-top: 8px;
  margin-left:40px;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  font-weight: 500;
  text-align: justify;
  text-decoration: underline; /* Always underline */
  cursor: pointer; /* Shows pointer when hovering */
}

.blog-link:hover .blog-caption {
  text-decoration: underline;
  color: #007BFF; /* Optional: hover color */
}
.image-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 20px;
  gap: 20px;
  flex-wrap: nowrap; /* keep them side by side */
}

.image-box {
  width: 30%;
  min-width: 280px;
  flex-shrink: 0; /* prevent it from shrinking */
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  text-align: center;
}


.image-box img {
	transition: transform 0.3s ease;
    width: 100%;
    height: 300px;
    border-radius: 5px;
}

.image-box:hover img {
    transform: scale(1.1); /* Zoom in effect on hover */
}
.image-box iframe {
  width: 100%;
  height: 300px;
  object-fit: cover; /* this is the fix */
  border-radius: 8px;
}

.wide-box {
  flex-grow: 1;     /* take remaining space */
  flex-shrink: 1;   /* allow shrinking if space is tight */
  min-width: 420px; /* prevent collapsing too much */
  max-height: 300px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.wide-box .news-list {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    max-height: 300px;
}

.twitter-embed-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.twitter-tweet {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  height: 100%;
}

.news-list {
      border: 1px solid #ddd;
      border-radius: 12px;
      padding: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      text-align:justify;
    }
    .news-item {
      padding: 15px;
      border-bottom: 1px solid #eee;
      cursor: pointer;
      position: relative;
    }
    
    .news-item::after {
    content: '›'; /* Simple arrowhead with no tail/body */
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: #333; /* Optional: adjust to match your design */
}
    .news-item:last-child {
      border-bottom: none;
    }

    .news-item:hover {
      background-color: #f9f9f9;
    }

    .title {
      font-weight: bold;
      color: #222;
    }

    .subtitle {
      color: #888;
      font-size: 13px;
      margin-top: 4px;
    }

    a {
      text-decoration: none;
      color: inherit;
      display: block;
    }
    
.contact-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap; /* For responsiveness */
}
.donation-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4cc9f0;
}

.donation-message {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #fce9f9;
}

.qr-pair {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap; /* ensures it stacks on small screens */
  margin-bottom:25px;
}

.qr-image-wrapper {
  background-color: white;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  max-width: 160px;
  width: 100%;
}

.qr-image {
  width: 100%;
  height: auto;
  display: block;
}

.transparency-btn {
  background-color: #4cc9f0; /* Matches header color */
  color: #240046; /* Dark purple text on light button */
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.transparency-btn:hover {
  background-color: #3bc0eb;
}
.contact-left-box,
.contact-right-box {
  background: #240046; /* Dark purple */
  padding: 15px;
  border-radius: 8px;
  width: 45%;
  height: 500px; /* Fixed height */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  color: white;
}

.contact-left-box h2 {
  font-size: 18px;
  margin: 0 0 6px 0;
  color: #4cc9f0; /* Light blue that complements dark purple */
  text-align: justify;
}

.contact-left-box p {
  font-size: 15px;
  margin: 0 0 8px 0;
  text-align: justify;
  color: #eeeeff;
}

.contact label {
  font-size: 14px;
  margin-bottom: 4px;
  display: block;
  color: white; /* Label text white */
}

.contact input[type="text"],
.contact input[type="email"],
.contact input[type="file"],
.contact textarea {
  width: 95%;
  padding: 6px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: #b862a8; 
  color: #000; /* Black text */
}
.placeholder-black::placeholder {
  color: rgba(0, 0, 0, 0.6); /* Black with 70% opacity */
  font-size:10px;
}

.contact-textarea {
  height: 70px;
  resize: none;
}

.contact-button {
  background-color: #4cc9f0; /* Matches header color */
  color: #240046; /* Dark purple text on light button */
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.contact-button:hover {
  background-color: #3bc0eb;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 2px solid #333;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 9999;
  font-size: 14px;
  display: none;
}



/* === FOOTER STYLES === */
.last-container {
  background-color: #301934; /* Matches your header */
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  margin-top: 40px;
  border-top: 2px solid #472a4f; /* Slightly lighter for subtle divider */
}

.column-box.second-box {
  display: flex;
  flex-direction: column;
  height:auto;
}

.in-box-image {
  width: 100%;
  max-height: 190px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.in-box-image img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}


.feature-news {
   display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 20px; /* left and rght spacing */
  margin: 0 auto; /* remove top spacing */
  box-sizing: border-box; /* ensures padding doesn't add to total width */
  background:white;
}

.feature-news h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
  gap: 10px;
  margin: 20px;
}
.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
  text-align:justify;
  width: 100%;      /* Take full width of the grid column */
  box-sizing: border-box; /* Include padding/border in width */
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-embed {
  width: 100%;
  height: 180px;
  border: none;
}

.news-content {
  padding: 15px;
  text-align:justify;
}

.news-content h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #333;
  text-align:justify;
}

.news-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align:justify;
}

.news-meta {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}
.news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
  transition: transform 0.3s ease;
  display: block;
}

.news-card:hover .news-image {
  transform: scale(1.05); /* subtle zoom on hover */
}
.column {
  position: relative;
  background-color: #fff;
  padding: 15px;
  margin-top:10px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Merged full-layout */
.article-layout {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  padding:10px;
}
/* Left Box: Smaller */
.left-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top:150px;
}

/* Right Box: Larger */
.right-box {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Image Styling */
.left-box img,
.bottom-images img {
  width: calc(100% - 40px); /* 20px margin on each side */
  display: block;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.left-box img {
    height:auto;
}
.bottom-images img {
    height:500px;
}
  @media screen and (max-width: 768px) {
      * {
  box-sizing: border-box;
}
  body {
     padding-top: 0; /* Remove extra top space */
  }
.header {
    flex-direction: column;
    align-items: flex-start;
  }
 .banner-section {
  margin-top: 0;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-section .overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  height: 100%;
}

.banner-section h1 {
  font-size: 22px;
  margin-bottom: 4px; /* Reduced space below the title */
}

.banner-section .subtitle {
  font-size: 13px;
  margin: 0; /* Removes default bottom margin */
}
  .container {
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .led-container {
    width: 100%;
    padding: 15px;
    height: auto;
  }

  .led-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .led-content img {
    width: 100%;
    height: auto;
  }

  .first-section,
  .second-section {
    flex-direction: column;
  }

  .column-box,
  .second-box {
    width: 100%;
    flex: 1 1 100%;
    box-sizing: border-box;
  }

  .main-image-left,
  .main-image-right {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .additional-image {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
  }

  .additional-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .left-image-group {
    width: 100%;
    align-items: center;
  }

  .blog-image-box,
  .blog-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-left: 0 !important;
  }
  .blog-caption {
     margin-left: 0 !important;
  }
  
  .blog-label {
  left: 10px !important; /* Adjust as needed (0, 5px, 10px...) */
}

  .image-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }

  .image-box,
  .wide-box {
    width: 100%;
    min-width: auto;
    box-sizing: border-box;
  }

  .image-box img,
  .image-box iframe {
    width: 100%;
    height: auto;
  }

  .twitter-embed-wrapper {
    height: auto;
  }

  .news-list {
    max-height: none;
    height: auto;
  }
  .contact-container {
    flex-direction: column;
    padding: 20px 10px;
    gap: 15px;
  }

  .contact-left-box,
  .contact-right-box {
    width: 100%;
    height: auto; /* Remove fixed height */
    padding: 15px;
    box-sizing: border-box;
  }

  .contact-left-box h2 {
    font-size: 15px;
  }

  .contact-left-box p {
    font-size: 13px;
  }

  .contact label {
    font-size: 13px;
  }

  .contact input[type="text"],
  .contact input[type="email"],
  .contact input[type="file"],
  .contact textarea {
    font-size: 14px;
    padding: 8px;
  }

  .contact-button {
    width: 30%;
    font-size: 14px;
    padding: 10px;
  }

  .contact-textarea {
    height: 80px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 5px; /* smaller gap */
    margin: 10px; /* reduce margin for smaller screen */
  }

  .news-card {
    max-width: 100%; /* prevent overflow */
  }
  .right-box {
  order: -1;
}

.left-box {
    margin-top:0 !important;
  order: 1;
}
  .article-layout {
  flex-direction: column;
}
  .left-box, .right-box {
    flex: unset;
  }

  .left-box img,
  .bottom-images img {
    width:100%;
    margin:0;
  }
}






