body {
  margin: 0;
  padding-top: 150px;
  font-family: 'Inter', sans-serif;
  color: black;
  background-color: #FEFCFF;
}

/* Header */
header {
  background-color: #301934; /* dark purple for top part */
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo + Title inline */
.logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;  /* taller */
  background-color: #301934; /* stays dark */
}

.header-logo {
  height: 40px; /* slightly larger logo */
}

.campaign-name {
  font-size: 18px; /* larger title text */
  font-weight: bold;
  margin: 0;
  color: white;
}

.desktop-menu {
  display: flex;
  align-items: center;
  background-color: #563c5c;
  padding: 3px 15px;
  position: relative;
}

/* Center the menu absolutely */
.menu {
  list-style: none;
  margin: 0 auto;   /* centers inside flexbox */
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Right-aligned join button */
.join-btn {
  margin-left: auto; /* pushes only this one to the right */
}

.join-btn a {
  background-color: #301934; /* same as top header */
  color: #d3d3d3;            /* light gray text */
  padding: 4px 10px;         /* smaller size */
  border-radius: 0;          /* square edges */
  text-decoration: none;
  font-weight: 500;          /* slightly lighter than bold */
  font-size: 14px;           /* smaller font */
  border: 1px solid #d3d3d3; /* subtle gray border */
  transition: all 0.3s ease;
}

.join-btn a:hover {
  background-color: #d3d3d3; /* gray highlight on hover */
  color: #301934;            /* dark purple text */
  border-color: #d3d3d3;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 6px 12px; /* smaller padding for compact look */
  display: block;
  font-weight: 500;
}

.menu a:hover {
  background-color: #7B68EE; /* hover effect */
  color: white;
}

.menu li {
  position: relative;
  margin: 5px;
}

.dropbtn {
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s, color 0.3s;
}

.dropbtn i {
  font-size: 0.8em;
  margin-left: 4px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown Menu (Desktop) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #E6E6FA;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.dropdown-content a {
  padding: 12px 16px;
  color: black;
}
/* Hide toggle button on desktop */
.menu-toggle-wrapper {
  display: none;
}
/* ðŸ”’ Hide sidebar on desktop */
.sidebar {
  display: none;
}
/* Main Content */
.main-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.br-logo {
  max-width: 100%;
  width: 150px;
  height: 150px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.br-logo:hover {
  transform: scale(1.05); /* slightly enlarges image */
  opacity: 0.8;            /* dims the image a bit */
}

.main-text {
  max-width: 800px;
  color: #301934;
}

.main-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #4B0082;
}

.main-text p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  color: #555;
}

.br-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}
.br-gallery-item {
  flex: 1 1 calc(33.33% - 40px); /* 3 per row */
  max-width: 300px;
  text-align: center;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.br-gallery-item img {
  width: 100%;
  max-width: 300px;
  object-fit: contain; /* show whole image */
  background-color: #fff; /* optional: gives clean space around image */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: block;
}

.br-gallery-item:hover img {
  transform: scale(1.05);
}

/* BLOG GALLERY */
.blog-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.blog-gallery-item {
  flex: 1 1 calc(50% - 40px); /* 2 per row by default (desktop) */
  max-width: 500px;
  text-align: center;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-gallery-item img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: block;
}

.blog-gallery-item:hover img {
  transform: scale(1.05);
}

.photo-label {
  margin-top: 8px;
  font-size: 16px;
  color: #555;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-align:justify;
}
.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mobile-overlay-text {
  display: none; /* hidden by default */
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  background-color: rgba(0, 0, 0, 0.4); /* semi-transparent black */
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  font-weight: 400;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: black;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  transform: translateY(-50%);
  user-select: none;
}

.lightbox-arrow.left {
  left: 30px;
}

.lightbox-arrow.right {
  right: 30px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: white;
  font-size: 28px;
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 0;
  line-height: 1;
}

.floating-menu-icon {
  position: fixed;
  top: 230px; /* just below header */
  left: 50px;
  background-color: #301934;
  color: white;
  font-size: 20px;
  padding: 10px 14px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 2000;
  cursor: pointer;
}

.floating-label {
  position: fixed;
  top: 275px;
  left: 40px;
  font-size: 12px;
  color: grey;
  padding: 2px 6px;
  z-index: 2000;
  white-space: nowrap;
  text-decoration: underline;
}

.floating-popup-menu {
  position: fixed;
  top: 280px;
  left: 20px;
  background-color: #ffffff;
  border: 2px solid #301934;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 10px;
  display: none;
  z-index: 2000;
  flex-direction: column;

  /* ✅ Scroll support */
  max-height: 50vh; /* Limit height to 50% of viewport */
  overflow-y: auto;
  scroll-behavior: smooth;
}

.floating-popup-menu button {
  background-color: #301934;
  color: white;
  border: none;
  padding: 8px 12px;
  margin: 5px 0;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  width: 150px;
  text-align: left;
  transition: background-color 0.3s ease;
}

.floating-popup-menu button:hover {
  background-color: #7B68EE;
}

/* Optional: custom scrollbars for desktop */
.floating-popup-menu::-webkit-scrollbar {
  width: 6px;
}

.floating-popup-menu::-webkit-scrollbar-thumb {
  background-color: #301934;
  border-radius: 6px;
}

.custom-stars {
  list-style: none;
  padding-left: 0;
}

.custom-stars li {
  font-size: 15px;
  margin-bottom: 5px;
}

.custom-stars li span {
  margin-right: 8px;
}

.banner {
  /* Removed background-color here since it's in HTML inline style */
  color: white;
  height: 70px;                  /* Makes banner taller */
  display: flex;                 /* Enables centering */
  align-items: center;           /* Vertical centering */
  justify-content: center;       /* Horizontal centering */
  padding: 0 40px;               /* Left/right padding only */
  text-align: center;
  font-size: 20px;
  font-family: Arial, sans-serif;
  margin: 20px auto;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.info-list li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 6px;
  text-align: left; /* Default for desktop */
  font-family: 'Inter', sans-serif;
}
.tables-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.table-wrapper {
	display: flex;
    flex-direction: column;
    align-items: center;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

th, td {
border: 1px solid #000;
padding: 10px;
text-align: center;
}

th {
    background-color: #f2f2f2;
}

/* Footer */
.last-container {
  text-align: center;
  padding: 20px;
  background-color: #301934;
  color: white;
}

.last-container .social-icons {
  margin: 10px 0;
}

.last-container .social-icons a {
  color: white;
  font-size: 20px;
  margin: 0 10px;
  text-decoration: none;
}

/* Social Label Section */
.social-label {
  text-align: center;
  font-weight: bold;
  color: #301934;
  margin-top: 40px;
  font-size: 18px;
  letter-spacing: 1px;
}

.social-divider {
  margin: 15px auto 30px;
  padding: 15px 0;
  max-width: 320px;
  border: 2px solid #301934;
  border-radius: 10px;
  text-align: center;
}

.social-divider a {
  color: #301934;
  font-size: 24px;
  margin: 0 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-divider a:hover {
  color: #6a1b9a;
}

/*sns */
.search-container {
    text-align: center;
    margin: 20px 0; /* Add some spacing above and below */
}

.search-container input {
    padding: 10px;
    width: 300px; /* Adjust width as necessary */
}

.search-container button {
    padding: 10px;
}

/* Ensure container is responsive */
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px; /* smaller than .main-section */
  padding: 0 20px; /* left and rght spacing */
  margin: 100px auto 0; /* center it with top spacing */
  box-sizing: border-box; /* ensures padding doesn't add to total width */
}


.column {
	position: relative; /* Ensure the container is positioned relatively */
    background-color: #f4f4f4;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.column h2 {
	text-align: center;
	font-size: 3em;
	background-color: #e6e6fa;
}
.column p {
    text-align:justify;
    color: #555;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
     font-size:16px;

}
.column ol, .column-box ul {
    color: #555;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
     font-size:16px;
}
.column-box {
    flex: 1 0 calc(50% - 10px); /* Adjust width accounting for margin between boxes */
    width: 60%; /* Adjust width as needed */
    padding: 20px; /* Adjust padding as needed */
    background-color: #fff; /* Background color for the boxes */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    margin-right: 10px; /* Adjust margin between boxes */
    margin-bottom: 10px; /* Adjust margin bottom as needed */
}
.column-box p {
color: #555;
    line-height: 1.6;
font-family: 'Inter', sans-serif;
font-size:16px;
}

.column-box:last-child {
    margin-right: 0; /* Remove margin from the last box to prevent extra space */
}
.main-image {
	transition: transform 0.3s ease;
    position: absolute;
    top: 160px; /* Adjust top position as needed */
    right: 20px; /* Adjust right position as needed */
    max-width: 450px; /* Adjust maximum width as needed */
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.image-jin:hover img {
    transform: scale(1.1); /* Zoom in effect on hover */
}

.bg-text {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: 3px solid #f1f1f1;
    margin-top: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 60%;
    margin: 20px auto;
}

.center-text {
    text-align: center;
}

.center-list {
    list-style-type: square;
    padding-left: 190px; /* Adjust the padding to your preference */
    text-align: left; /* Align text within list items to the left */
}

.bg-text h1 {
    font-size: 30px;
	text-align:center;
    margin-bottom: 10px;
}

.bg-text p {
    font-size: 16px;
    line-height: 2;
    font-family: Century Gothic;
}

.image-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.image-box {
	overflow: hidden; /* Ensures the image doesn't overflow its container */
    position: relative; /* Establishes a positioning context for pseudo elements */
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 30%;
    text-align: center;
}

.image-box img {
	transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.image-box:hover img {
    transform: scale(1.1); /* Zoom in effect on hover */
}

#blog-column {
    padding: 20px;
}

.blog-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-content {
    flex: 1;
    padding-right: 20px; /* Add some spacing between the text and image */
}
.text-content p {
    color: #555;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-size:16px;
}
        
        .image-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the image and text */
}

.image-content p {
    text-align: justify; /* Center the text above the image */
    margin-bottom: 10px; /* Adjust the spacing between the text and the image */
}

.image-content img {
    max-width: 60%; /* Make sure the image is responsive */
    height: auto;
}

.blog-image {
	flex: 1;
    display: flex;
    gap: 10px; /* Adjust the gap between images */
    flex-direction: column;
    align-items: center; /* Center the image and text */
}

.blog-image img{
	max-width: 95%; /* Make sure the image is responsive */
    height: auto;
}

.larger-image {
	transition: transform 0.3s ease; /* Smooth transition for hover effect */
    width: 650px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

.image-hover {
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.image-hover:hover {
    transform: scale(0.9); /* Increase size on hover */
}

.larger-image:hover {
    transform: scale(0.9); /* Increase size on hover */
}

.justified {
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
    letter-spacing: 0.5px; /* Adjust letter spacing */
    word-spacing: 1.5px; /* Adjust word spacing */
    line-height: 1.6; /* Adjust line spacing */
    font-family: 'Inter', sans-serif;
    color: #555;
    font-size:16px;
}

.large-arrow {
    font-size: 25px; /* Adjust the size as needed */
    color: red;      /* Change the color */
    font-weight: bold; /* Make it bold */
}

.bold-numbers {
    counter-reset: bold-counter;
    list-style-type: none; /* Remove default list numbering */
    padding-left: 110px; /* Adjust the padding to your preference */
    text-align: left; 
}

.bold-numbers li {
    counter-increment: bold-counter;
    margin-bottom: 8px; /* Adjust spacing between list items */
}

.bold-numbers li::before {
    content: counter(bold-counter) ". "; /* Generate the numbered label */
    font-weight: bold; /* Make the number bold */
    margin-right: 5px; /* Adjust spacing between number and text */
}

.solid-line {
    border-top: 1px solid #000;
    margin-top: 20px;
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust spacing between images */
}

.image-column {
    text-align: center;
    flex: 1;
	height: auto;
}

.image-column img {
	transition: transform 0.3s ease;
    width: 100%; /* Ensure images fill their container */
    max-width: 100%;/* Ensure images don't exceed their natural size */
	height: 350px;
}

.image-column p {
    margin-top: 10px;
    font-style: italic;
    color: black; /* Adjust text color */
}

.image-column:hover img {
    transform: scale(1.1); /* Increase size on hover */
}

.highlight {
    font-weight: bold; /* Make the highlighted text bold */
}

.yellow {
    color: #FFD700;
}

.blue {
	color: blue;
}

.red {
	color: maroon;
}

.maroon {
	color: #800000;
}
green {
    color:#001400;
}
/* Back to top button */
#backToTop {
  position: fixed !important; 
  bottom: 30px;               /* slightly closer to bottom */
  right: 30px;                /* slightly closer to right edge */
  display: none;              
  z-index: 1000;

  background: #301934;        
  color: #fff;
  font-size: 22px;            /* adjusted arrow size */
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: opacity 0.3s ease, transform 0.2s ease;
  line-height: 45px;          /* perfectly center the arrow */
}

#backToTop:hover {
  background: #47265a;        
  transform: translateY(-3px);
}


/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .desktop-menu { display: none; }
  .menu-toggle-wrapper {
    display: flex; align-items: center; justify-content: center;
    background: #563c5c; padding: 4px 8px; height: 34px; gap: 4px; width: 100%;
  }
  .menu-toggle { font-size: 18px; color: white; }
  .menu-label { font-size: 14px; color: white; font-weight: 600; }

  .sidebar {
    display: block;
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    width: auto; max-width: none;
    height: 50vh; /* ⬅️ Half the screen height */
    background: #6d4c7d;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    padding: 20px 15px;
  }
  .sidebar.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .sidebar ul li { margin-bottom: 20px; } /* more spacing */
  .sidebar ul li a {
    text-decoration: none;
    color: #f2e9f8;
    font-size: 18px; /* balanced size */
    line-height: 1.5;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.3s;
  }
  .sidebar ul {
  list-style: none;
  padding: 20px 0 0 0; /* ⬅️ pushes menu items down */
  margin: 0;
}
  .sidebar ul li a:hover { background: #8a6b96; }

  .sidebar .dropdown-content {
    background: #c9b6d4;
    border-radius: 6px;
    padding: 4px 0;
  }
  .sidebar .dropdown-content a {
    color: #301934;
    font-size: 18px;
    padding: 8px 14px;
    display: block;
  }
  .sidebar .dropdown-content a:hover { background: #b497c4; color: #fff; }

  /* Bigger close button */
  .sidebar .close-btn {
    position: absolute;
    top: 8px; right: 20px;
    font-size: 36px; /* ⬅️ Bigger for easy tapping */
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background:transparent;
  }
  .sidebar .dropdown > a i {
  transition: transform 0.3s;
}
.sidebar .dropdown > a i.rotate {
  transform: rotate(180deg);
}
/* Make all sidebar menu labels uppercase */
.sidebar ul li a,
.sidebar .dropdown-content a {
  text-transform: uppercase;
}
  .br-gallery {
      gap:10px;
      padding:10px;
  }
  .br-gallery-item {
    flex: 1 1 calc(100% - 40px); /* 2 per row on mobile */
  }
  
  .mobile-overlay-text {
    display: block;
  }
  .banner {
    font-size: 16px;     /* Smaller font for small screens */
    padding: 0 16px;     /* Less padding */
    height: 60px;        /* Allow height to adjust based on text */
    line-height: 1.4;
  }
  .info-list li {
    text-align: justify;
  }
  .tables-container {
        flex-direction: column;
    }
    .blog-gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
/*SNS */
.image-content img {
        max-width: 110%; /* Make sure the image is responsive */
    }
     .search-container {
        position: static;
        width: 100%;
        padding: 10px;
        display: flex;
        justify-content: space-between;
    }

    .search-container input {
        width: calc(100% - 120px); /* Adjust width for input field */
        background-color: white;
    }

    .search-container button {
        width: 100px;
    }
    .main-image {
        display: none;
    }
    .larger-image {
        display: none;
    }
    .image-hover{
        display: none;
    }
    
.container {
    width: 100%;
    max-width: 1100px; /* Won't affect phones, but safe to include */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

/* Adjust the image container to be responsive */
.image-container {
    flex-direction: column; /* Stack images vertically on small screens */
    align-items: center; /* Center images */
}

/* Adjust the image-box to fit within the mobile view */
.image-box {
    width: 100%; /* Full width for image boxes */
    margin-right: 0; /* Remove right margin for mobile */
    margin-bottom: 10px; /* Space between image boxes */
}

/* Blog content adjustments for mobile */
.blog-content {
    flex-direction: column; /* Stack blog text and images vertically */
    align-items: center; /* Center align text and images */
}

/* Image adjustments for mobile */
.image-jin img {
    width: 100%; /* Make sure the image scales to fit mobile screens */
    height: auto; /* Maintain aspect ratio */
}

/* Ensure column-box fits well in mobile view */
.column-box {
    width: 100%; /* Full width for each column box */
    margin-right: 0; /* Remove right margin */
}

/* Adjust font sizes for better readability on mobile */
p {
    font-size: 16px; /* Adjust font size */
}

.bold-numbers li {
    font-size: 16px; /* Adjust font size for list items */
}

/* Adjust padding and margins */
.bg-text {
    width: 90%; /* Full width of the background text */
    max-width:1200px;
    padding: 5px; /* Adjust padding */
    font-size: 15px;
}

.center-list {
    padding-left: 0; /* Remove padding on the left for mobile */
}

}
