html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #fdfbf7;
    background-image: 
        url('images/bg-top.webp'),
        url('images/bg-bottom.webp');
    background-position: 
        center 700px,
        center calc(100% - 265px);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 
        100% 900px,
        100% 300px;
    min-height: 100vh;
}
.navbar {
    background-color: #343a40;
    border-bottom: solid 2px #f8f2ee;
}

.navbar-wrapper {
  width: 100%;
  box-sizing: border-box; /* make sure padding doesn’t increase width */
}

.navbar {
  width: 100%; /* still full width inside wrapper */
  padding: 5px 5px !important;
}

.carousel-inner img {
    width: 100%;
    height: 700px;
    object-fit: fill;
}
.section {
    padding: 60px 0;
}
.accordion {
    margin-top: 20px;
}
.line {
    height: 2px;
    width: 100%;
    background-color: #1f1e1e;
}
.features-container {
    max-width: 1293px; /* 3 * 411px + 2 * 30px = 1293px for 3 cards */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.slider-inner {
    display: flex;
    gap: 30px;
    transition: transform 0.6s ease-in-out;
}
.card {
    width: 411px;
    height: 313px;
    flex: 0 0 411px;
    margin: 10px 0px 10px 0px;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0.5rem;
    border-color: rgba(143, 130, 9, 0.048);
    border-width: 1px;
    overflow: hidden;
    box-shadow: 0 5px 5px rgba(48, 48, 47, 0.089);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-0px);
    box-shadow: 0 6px 6px rgba(49, 49, 49, 0.185);
}

/* title top */
.card-title {
    background-color: #fff;
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px 15px;
    margin: 0;
    text-align: center;
}

/* image middle */
.card-image {
    position: relative;
    flex: 1;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease, filter 0.5s ease;
}
.card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 1;
    transition: opacity 0.4s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card:hover .card-image::after {
    opacity: 1;
}

/* description bottom */
.card-text {
    font-size: 1rem;
    padding: 12px 15px;
    background-color: #fff;
    color: #555;
    text-align: center;
    margin: 0;
}

/* icon overlay */
.card-icon {
    position: absolute;
    bottom: 60px;   /* pushes it into the image area */
    right: 15px;
    z-index: 2;
    background: rgba(182, 218, 20, 0);
    border-radius: 20%;
    padding: 8px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.card-icon svg {
    width: 60px;
    height: 60px;
    fill: rgba(185, 165, 17, 0.192);
}

.features-container::before,
.features-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 1;
}
.features-container::before {
    left: 0;
    width: 0%;
    background: linear-gradient(to right, #fdfbf7, transparent);
}
.features-container::after {
    right: 0;
    width: 0%;
    background: linear-gradient(to left, #fdfbf7, transparent);
}

.video-thumbnail {
  position: relative;
  display: inline-block;
}

.play-button {
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 15px;
  transition: transform 0.2s, background 0.3s;
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  background: rgba(255,0,0,0.7); /* subtle red glow */
}

/* Modal Styling */
.video-modal {
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  overflow: hidden;
}

.video-modal .modal-header {
  background: #f8f9fa;
}

.video-modal .modal-footer {
  background: #f8f9fa;
}

.custom-play-icon {
  transition: transform 0.2s, filter 0.3s;
  cursor: pointer;
}

.custom-play-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

body.modal-open {
  overflow-y: auto !important;   /* Keep page scroll active */
  padding-right: 0 !important;   /* Prevent Bootstrap from removing scrollbar space */
}

#join .list-group-item {
    background: linear-gradient(135deg, #fcf9f2, #fbf7ee) !important; /* normal gradient */
    border: 1px solid #f4f0e6 !important; /* subtle border */
    color: #3e2f0b !important; /* dark text */
    font-weight: 500;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: background 0.3s; /* smooth hover transition */
}

#join .list-group-item:hover {
    background: linear-gradient(135deg, #f9f5ec, #f8f3e8) !important; /* slightly darker on hover */
    border-color: #f4f0e6 !important; /* keep border same */
    cursor: pointer;
}

/* FAQ Accordion - Gold Gradient Theme */
#faq .accordion-button {
    background: linear-gradient(135deg, #fcf9f2, #fbf7ee) !important; /* normal gradient */
    color: #3e2f0b !important; /* dark text */
    font-weight: 500;
    border: 1px solid #f4f0e6 !important; /* subtle border */
    border-radius: 8px;
    transition: background 0.3s; /* smooth hover transition */
    box-shadow: none; /* remove default Bootstrap shadow */
}

#faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f9f5ec, #f8f3e8) !important; /* slightly darker when expanded */
}

#faq .accordion-button:hover {
    background: linear-gradient(135deg, #f9f5ec, #f8f3e8) !important; /* hover effect */
    cursor: pointer;
}

#faq .accordion-body {
    background: linear-gradient(135deg, #fcf9f2, #fbf7ee) !important; /* body gradient */
    border: 1px solid #f4f0e6 !important;
    border-top: none; /* avoid double border between button and body */
    border-radius: 0 0 8px 8px;
    color: #3e2f0b !important;
}

/* ----------------------------------------------------------
   ABOUT slider — minimal, scoped additions
   Append this to the END of your existing style.css only.
   ---------------------------------------------------------- */

#about .slider-wrapper {
  overflow: hidden;
  position: relative;
}

#about .slider-inner {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;        /* kill any inherited margins */
  padding: 0;       /* kill any padding */
  gap: 0;           /* remove flex gap */
}

#about .slide {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Clear any floats inside slides (so your float-start thumbnail behaves) */
#about .slide::after {
  content: "";
  display: table;   /* table avoids extra height/width */
  clear: both;
}

/* Prev / Next arrow buttons — scoped to #about only */
#about .prev-btn,
#about .next-btn {
  position: absolute;
  top: 97%;
  transform: translateY(-50%);
  z-index: 60;
  width: 34px;
  height: 34px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: rgba(231, 199, 54, 0.473);
  transition: background .12s ease, transform .08s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.0);
  -webkit-tap-highlight-color: transparent;
}

/* arrow positions */
#about .prev-btn { left: 85%; }
#about .next-btn { right: 5%; }

/* hover/focus states */
#about .prev-btn:hover,
#about .next-btn:hover,
#about .prev-btn:focus,
#about .next-btn:focus {
  background: rgba(0,0,0,0.78);
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

/* smaller screens: slightly smaller buttons */
@media (max-width: 767px) {
  #about .prev-btn,
  #about .next-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* If you want the arrows to be hidden on very small phones, uncomment:
@media (max-width: 420px) {
  #about .prev-btn, #about .next-btn { display: none; }
}
*/

/* Announcement Section */
#announcement {

  max-width: 1293px; /* 3 * 411px + 2 * 30px = 1293px for 3 cards */
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 50px;
  position: relative;
  display: flex;
  justify-content: center; /* center horizontally */
  background-color: #f9f9f900; /* light background for contrast */
}

#announcement .announcement-box {
  width: 100%;
  border-left: 10px solid #8a501a4d; /* bold colored border */
  background-color: #bbd337ce;       /* soft background to highlight message */
  padding: 12px 12px 0px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-size: 1rem;
  line-height: 1.5;
  color: #525151;
}

/* Optional: different colors for types */
#announcement .announcement-box.notice {
  border-color: #2196f3;
  background-color: #e3f2fd;
}

#announcement .announcement-box.warning {
  border-color: #f44336;
  background-color: #ffebee;
}

#announcement .announcement-box.success {
  border-color: #4caf50;
  background-color: #e8f5e9;
}

/* Close button */
.announcement-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
  line-height: 1;
  transition: color 0.2s ease;
}

.announcement-close:hover {
  color: #000;
}

/* Make sure announcement-box is positioned relative for button positioning */
#announcement .announcement-box {
  position: relative;
  transition: opacity 0.4s ease; /* smooth fade */
}

/* When hidden, apply this class */
.announcement-hidden {
  opacity: 0;
}

/* Footer Container */
.footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  position: relative;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* Footer Columns */
.footer-col {
  flex: 1 1 220px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #d4b27e; /* accent color for headings */
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
}

/* Links */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: #d4b27e;
}

/* Social Icons styling with SVG */
.footer-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #222;
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social .social-icons a:hover svg {
  fill: #d4b27e; /* accent on hover */
}

.footer-social .social-icons svg {
  width: 30px;
  height: 30px;
  fill: #fff; /* default color */
  transition: fill 0.2s ease;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  background-color: #d4b27e;
  color: #111;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

#scrollTopBtn:hover {
  background-color: #d4b27e;
  transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom p {
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-social .social-icons {
    justify-content: center;
  }
}