/* Reset default styles and set up basic typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: rgba(240, 240, 240, 0.9);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar-left, .navbar-right {
  display: flex;
  align-items: center;
}

.navbar-left .logo {
  height: 40px;
  width: auto;
  border-radius: 50px;
  margin-left: 15px;
}

.franchise-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  margin-right: 15px;
}

/* Hamburger menu styles */
.hamburger-menu {
  padding: 10px;
  display: inline-block;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  margin: 0;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 30px;
  height: 3px;
  background-color: #000;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

/* Hamburger Animation */
.hamburger-inner.is-active {
  transform: rotate(45deg);
}

.hamburger-inner.is-active::before {
  top: 0;
  opacity: 0;
}

.hamburger-inner.is-active::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* Side menu styles */
.side-menu {
  position: fixed;
  top: 60px;
  left: -300px;
  width: 300px;
  height: calc(100% - 60px);
  background-color: #f9f9f9;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  transition: left 0.3s ease-in-out;
  z-index: 999;
  overflow-y: auto;
}

.side-menu.open {
  left: 0;
}

.side-menu nav {
  padding: 20px;
}

.side-menu nav a {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.side-menu nav a:hover {
  color: #4CAF50;
}

/* Language dropdown styles */
.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown #selected-flag {
  width: 30px;
  height: 20px;
  object-fit: cover;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 40px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
}

.dropdown-content a {
  padding: 5px;
  text-decoration: none;
  display: block;
}

.dropdown-content img {
  width: 30px;
  height: 20px;
  object-fit: cover;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.language-dropdown:hover .dropdown-content {
  display: block;
}

/* Hero section styles */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-button.left { left: 10px; }
.nav-button.right { right: 10px; }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-dot.active {
  background-color: white;
}

/* Fluency section styles */
.fluency {
  background-color: #AEAEAE;
  text-align: center;
  padding: 100px 20px;
  height: 350px;
}

.fluency h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8F6868;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
}

/* Info box styles */
.info-box {
  background-color: #e0e0e0;
  width: 600px;
  height: 500px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  z-index: 1001;
  resize: both;
  max-width: 90vw;
  max-height: 90vh;
  min-width: 300px;
  min-height: 300px;
}

.info-box.visible {
  opacity: 1;
  visibility: visible;
}

.info-box p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ddd;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  color: #666;
  transition: background-color 0.3s ease;
}

.close-button:hover {
  background-color: #ccc;
}

.svg-background-top {
  margin-bottom: -1px;
  background-color: #AEAEAE;
  padding-bottom: 0;
  display: block;
  line-height: 0;
}

.svg-background-top img {
  display: block;
  width: 100%;
}

/* Steps section styles */
.steps {
  position: relative;
  color: white;
  padding: 0 20px;
  text-align: center;
  overflow: hidden;
  z-index: 0;
  margin-top: 0;
  padding-bottom: 70px;
}

.steps h1 {
  font-size: 2.5em;
  color: #6B5F5F;
  text-align: center;
  position: relative;
  display: inline-block;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #AB9090;
  background-size: auto;
  background-position: center;
  z-index: -1;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 80px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: white;
  top: 80px;
  bottom: 66px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #4CAF50;
  top: 80px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) scaleY(var(--progress, 0));
  transform-origin: top;
  transition: transform 0.1s linear;
  z-index: 1;
}

.step {
  position: relative;
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step:last-child {
  margin-bottom: 0;
}

.step-content {
  width: 45%;
  padding: 20px;
  background-color: #6B5F5F;
  border-radius: 6px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.step::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid #9B8D8B;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  z-index: 2;
  transition: background-color 0.3s ease;
  transform: translate(-50%, -50%);
}

.step.reached::after {
  background-color: #ff3e1c;
}

.step:nth-child(odd) .step-content {
  right: 55%;
  text-align: right;
}

.step:nth-child(even) .step-content {
  left: 55%;
  text-align: left;
}

/* Original materials section styles */
.original-materials {
  background-color: #f0e6e6;
  padding: 50px 20px;
  text-align: center;
  overflow: hidden;
}

.original-materials h2 {
  font-size: 2.5em;
  color: #6B5F5F;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.original-materials h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #4a4a4a;
  margin-bottom: 20px;
}

.materials-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  padding-right: 100px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.materials-container {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
  width: 100%;
}

.material-series {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 -50px;
  flex: 0 0 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: scale(0.9);
  opacity: 0.7;
  will-change: transform, opacity;
  text-align: center;
}

.material-series.center {
  transform: scale(1);
  opacity: 1;
}

.material-series h3 {
  font-size: 1.5em;
  color: #6d5c5c;
  margin-bottom: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.material-series img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.material-series:hover img {
  transform: scale(1.05);
}

/* Carousel button styles */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

/* Fluency-2 section styles */
.fluency-2 {
  background-color: #AEAEAE;
  text-align: center;
  padding: 10px 20px;
  height: 400px;
}

.fluency-2 h2 {
  font-size: 2em;
  color: #6B5F5F;
  margin-bottom: 20px;
}

/* FAQ section styles */
.faq {
  background-color: #F3F3F3;
  padding: 50px 20px;
}

.faq h2 {
  text-align: center;
  font-size: 2em;
  color: #6B5F5F;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8B7D7B;
  color: white;
  border-radius: 50%;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  margin-left: 20px;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background-color: #f9f9f9;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 20px;
}

/* Teaching Results section styles */
.teaching-results {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.teaching-results h2 {
  font-size: 2.5em;
  color: #6B5F5F;
  margin-bottom: 30px;
}

.results-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.results-container {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.result-item {
  flex: 0 0 calc(25% - 20px);
  margin: 0 10px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.result-item:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.result-item:hover img {
  transform: scale(1.1);
}

/* Map section styles */
.Map {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.Map h1 {
  font-size: 2.5em;
  color: #6B5F5F;
  margin-bottom: 30px;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.svg-map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Awards section styles */
.awards {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.awards h2 {
  font-size: 2.5em;
  color: #6B5F5F;
  margin-bottom: 30px;
}

.awards-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.award-items-container {
  display: flex;
  transition: transform 0.3s ease;
}

.award-item {
  flex: 0 0 100%;
  padding: 0 20px;
}

.award-image-container {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.award-image-container:hover {
  transform: scale(1.05);
}

.award-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-description {
  margin-top: 20px;
}

.award-description h3 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 10px;
}

/* Footer styles */
.footer {
  background-color: #f0f0f0;
  padding: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-certificates {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.certificate-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 0px solid #999;
}

.footer-text {
  color: #666;
  font-size: 14px;
}

.qr-codes {
  display: flex;
  gap: 20px;
}

.qr-code {
  text-align: center;
}

.qr-code img {
  width: 80px;
  height: 80px;
}

.qr-code h3 {
  margin: 5px 0 0;
  font-size: 12px;
  color: #666;
}

/* Social media sidebar styles */
.social-sidebar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 50px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  margin: 5px 0;
  border-radius: 50%;
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-icon.top-button {
  background-color: #4CAF50;
  color: white;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-icon.top-button::before {
  content: "▲";
}

.social-icon.top-button.visible {
  opacity: 1;
  visibility: visible;
  width: 45px;
  height: 45px;
  margin: 5px 0;
}

/* Video popup styles */
.video-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.video-popup-content {
  background-color: #fefefe;
  padding: 20px;
  border-radius: 5px;
  position: relative;
  width: 80%;
  max-width: 700px;
}

.close-video {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close-video:hover,
.close-video:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#youtube-player {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* General responsive styles */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .navbar {
    height: 70px;
  }

  .navbar-left .logo {
    height: 30px;
  }

  .franchise-button {
    font-size: 0.9em;
    padding: 6px 12px;
  }

  .side-menu {
    width: 250px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .nav-button {
    font-size: 20px;
  }

  .fluency, .fluency-2 {
    padding: 30px;
    height: auto;
  }

  .fluency h2, .fluency-2 h2 {
    font-size: 1.8em;
  }

  .info-box {
    width: 90%;
    height: 80%;
  }

  .steps {
    padding: 30px 15px;
    margin-top: -20px;
  }

  .timeline::after,
  .timeline::before {
    left: 20px;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
  }

  .step-content {
    width: 100%;
    margin-left: 20px;
  }

  .step::after {
    left: 0;
  }

  .step:nth-child(odd) .step-content,
  .step:nth-child(even) .step-content {
    left: 0;
    text-align: left;
  }

  .original-materials,
  .teaching-results,
  .Map,
  .awards {
    padding: 30px 15px;
  }

  .original-materials h2,
  .teaching-results h2,
  .Map h1,
  .awards h2 {
    font-size: 2em;
  }

  .materials-carousel {
    padding: 0 40px;
  }

  .material-series {
    flex: 0 0 calc(100% - 20px);
    max-width: calc(100% - 20px);
    margin: 0 10px;
    transform: scale(1);
  }

  .carousel-button {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .carousel-button.prev {
    left: 5px;
  }

  .carousel-button.next {
    right: 5px;
  }

  .faq-question {
    font-size: 0.9em;
    padding: 15px;
  }

  .faq-toggle {
    width: 25px;
    height: 25px;
    font-size: 1em;
  }

  .faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 15px;
  }

  .result-item {
    flex: 0 0 100%;
  }

  .award-image-container {
    width: 150px;
    height: 150px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }

  .footer-certificates {
    gap: 10px;
  }

  .certificate-logo {
    width: 80px;
    height: 80px;
  }

  .qr-codes {
    margin-top: 20px;
  }

  .social-sidebar {
    right: 10px;
    bottom: 10px;
  }

  .social-icon,
  .social-icon.top-button.visible {
    width: 40px;
    height: 40px;
  }

  .social-icon img {
    width: 36px;
    height: 36px;
  }

  .video-popup-content {
    width: 90%;
    padding: 15px;
  }
}

/* Additional styles for very small devices */
@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 1.8em;
  }

  .fluency h2,
  .fluency-2 h2,
  .original-materials h2,
  .faq h2,
  .teaching-results h2,
  .Map h1,
  .awards h2 {
    font-size: 1.6em;
  }

  .materials-carousel {
    padding: 0 30px;
  }

  .material-series {
    padding: 15px;
    margin: 0 5px;
  }

  .material-series h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .material-series img {
    height: 150px;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .award-image-container {
    width: 120px;
    height: 120px;
  }

  .footer-certificates {
    gap: 5px;
  }

  .certificate-logo {
    width: 60px;
    height: 60px;
  }

  .social-icon,
  .social-icon.top-button.visible {
    width: 35px;
    height: 35px;
  }

  .social-icon img {
    width: 32px;
    height: 32px;
  }

  .faq-question {
    font-size: 0.8em;
    padding: 12px;
  }

  .faq-toggle {
    width: 20px;
    height: 20px;
    font-size: 0.9em;
  }
}

/* Button for material */
.material-series button {
  background-color: #8B7D7B;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.material-series button:hover {
  background-color: #766A68;
}

.svg-background {
  margin-bottom: -10px;
  background-color: #f0e6e6;
}

/* Map styles */
#st0 {
  width: 100%;
  height: auto;
  max-height: 500px;
}

#st0 path {
  fill: #000000;
  stroke: #fff;
  stroke-width: 0.5;
  transition: fill 0.3s ease;
}

#st0 path:hover {
  fill: #E2CB69;
  cursor: pointer;
}

.st0 { display: none; }
.st1 { display: inline; }
#st2 { display: inline; fill: #91C9C7; }
.st3 { display: inline; fill: #E2CB69; }
#st4 { display: inline; fill: #66998D; }
#st5 { fill: #91C9C7; }
#st6 { fill: #66998D; }

/* Image Popup Styles */
.image-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.popup-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.close-popup {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Award popup styles */
.award-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.award-popup.active {
  opacity: 1;
  visibility: visible;
}

.award-popup-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.award-popup-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.award-popup-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Address section styles */
.address {
  padding: 30px 30px;
  height: auto;
  margin-bottom: 0px;
}

.address h3 {
  font-size: 1em;
}

/* Address-2 section styles */
.address-2 {
  padding: 30px 30px;
  height: auto;
  margin-bottom: -5px;
}

.address-2 h3 {
  font-size: 1em;
}

/* Ensure images don't exceed their container width */
img {
  max-width: 100%;
  height: auto;
}

/* Utility classes for spacing and alignment */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }

/* Accessibility styles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
  
  body {
    font-size: 12pt;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
}