@font-face {
  font-family: 'KaushanScript';
  src: url('../fonts/KaushanScript-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.fixed-bg {
  position: fixed;
  inset: 0; 
  background: url("https://louiswang.neocities.org/Boston.jpg") center center / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}


body {
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,1) 10%,    
      rgba(255,255,255,1) 90%,    
      rgba(255,255,255,0) 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: visible; 
}


.main-header {
  background-color: #146a01;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;  
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;  
}
.page-wrapper {
  padding-top: 80px;
}

.site-logo {
  height: 60px;
}


h1, h2 {
  text-align: center;
}

section {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  padding: 10px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: white;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

footer {
  background-color: #146a01;
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 30px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-in forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.image-row img {
  display: block;                 
  margin: 20px auto;             
  width: 500px;                   
  height: auto;                   
  transition: transform 0.4s ease;
  border-radius: 10px;            
  box-shadow: 0 4px 8px rgba(0,0,0,0.15); 
}


.image-row img:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .image-row img {
    width: 90%;      
    max-width: 400px; 
  }
}

.center {
  text-align: center;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .center {
    font-size: 0.95em;
  }
}


.welcome-title {
  transition: color 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}
.welcome-title:hover {
  color: #FFD166;            
  transform: scale(1.05);    
}


.welcome-text {
  transition: color 0.4s ease;
}
.welcome-text:hover {
  color: #146a01;            
}



html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}


.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
}

.card {
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  width: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}


.fade-in {
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


.welcome-title {
  animation: slideIn 1.2s ease-out;
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}


.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 40px auto;
  max-width: 1000px;
  perspective: 1000px; 
}

.card {
  background: transparent;
  width: 280px;
  height: 360px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d; 
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden; 
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  background-color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-front img {
  width: 100%;
  height: 160px;      
  object-fit: cover;  
  border-radius: 8px;
  margin-bottom: 12px;
}


.card-back {
  background-color: #146a01;
  color: white;
  transform: rotateY(180deg);
}

.card:hover .card-inner {
  transform: rotateY(180deg) scale(1.05);
}

.main-header {
  background-color: #146a01;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;   
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}


.logo-container {
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex: 1;
}


.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #FFD166;
}


.menu-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.menu-icon {
  display: none; 
  font-size: 28px;
  color: white;
  cursor: pointer;
  user-select: none;
  margin-left: auto;   
  padding-right: 20px; 
}



.overlay-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: rgba(20,106,1,0.95);
  position: absolute;
  top: 70px;
  right: 0;
  width: 220px;
  padding: 20px;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
  z-index: 1200;
}

.overlay-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 0;
  width: 100%;
  text-align: center;
}

.overlay-menu a:hover {
  background-color: #FFD166;
  color: #146a01;
}


.menu-toggle:checked ~ .overlay-menu {
  display: flex;
}



.market-table {
  border-collapse: collapse;
  width: 90%;
  margin: 30px auto;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}

.market-table caption {
  caption-side: top;
  font-size: 1.2em;
  font-weight: bold;
  color: #146a01;
  margin-bottom: 10px;
}

.market-table th {
  background-color: #146a01;
  color: white;
  padding: 12px;
}

.market-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.market-table tr:hover {
  background-color: #f4f8f4;
  transition: background-color 0.3s;
}


.market-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.market-img:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .market-table {
    font-size: 0.9em;
  }

  .market-img {
    width: 90px;
    height: 60px;
  }
}

.page-wrapper {
  background: linear-gradient(to right,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,1) 10%,    
      rgba(255,255,255,1) 90%,    
      rgba(255,255,255,0) 100%);
}

.social-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 20px auto;
  text-align: center;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.wechat-qr {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.social-item a {
  color: #FFD166;
  text-decoration: none;
  font-weight: bold;
}

.social-item a:hover {
  color: white;
}

.center-image {
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.large-image {
  width: 70%;   
  max-width: 600px;
  height: auto; 
}

@media (max-width: 768px) {
  .large-image {
    width: 90%;
    max-width: 400px;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  max-width: 90%;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background-color: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-container figcaption {
  font-size: 0.9em;
  color: #333;
  margin-top: 8px;
  text-align: center;
  line-height: 1.5;
}
.video-caption {
  text-align: center;
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
}

.welcome-text,
h1,
h2 {
 font-family: 'KaushanScript', cursive;
}


h1 {
  font-family: 'KaushanScript', cursive;
  font-size: 2.5rem;   
}
h2 {
  font-family: 'KaushanScript', cursive;
  font-size: 2rem;     
}


.welcome-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.welcome-text {
  font-size: 1.7rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

.tips-table {
  border-collapse: collapse;
  width: 95%;
  margin: 30px auto;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.tips-table caption {
  caption-side: top;
  font-size: 1.3em;
  font-weight: bold;
  color: #146a01;
  margin-bottom: 10px;
}

.tips-table th {
  background-color: #146a01;
  color: white;
  padding: 12px;

  text-align: left;
}

.tips-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
  line-height: 1.5;
}

.tips-table tr:hover {
  background-color: #f4f8f4;
  transition: 0.3s ease;
}

@media (max-width: 768px) {


  .navbar {
    display: none;
  }

  
  .menu-icon {
    display: block;
  }
}

@media (min-width: 769px) {
  .navbar {
    display: flex;
  }

  .menu-icon {
    display: none;
  }
}


.slideshow-container {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
}


.slideshow-container {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: transparent; 
}


.mySlides {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;


  left: 100%;
  opacity: 0;

  transition: left 0.8s ease, opacity 0.8s ease;
}


.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
}


.mySlides.active {
  left: 0;
  opacity: 1;
}

.mySlides.slide-left {
  left: -100%;
  opacity: 0;
}


.mySlides.slide-right {
  left: 100%;
  opacity: 0;
}

.slideshow-caption-below {
  margin-top: 18px;
  text-align: center;
  font-size: 20px;
  color: #333;
  padding: 0 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.slideshow-caption-below {
  font-family: 'KaushanScript', cursive;
  font-size: 1.7rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px auto;
  animation: fadeInUp 1.2s ease-out forwards;
}

.section-title {
  font-family: 'KaushanScript', cursive;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 10px;
  animation: fadeInUp 1.2s ease-out forwards;
}

.mission-desc {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.2rem;
  line-height: 1.8;
  animation: fadeInUp 1.3s ease-out forwards;
}

.mission-text {
  font-family: 'KaushanScript';
}


.mission-section {
  margin-top: -60px;
  text-align: center; 
}


.mission-container {
  display: flex;
  flex-direction: column;  
  align-items: center;     
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}


.mission-icon {
  width: 120px;
  height: 120px;
  animation: wobble 2s infinite ease-in-out, glow 2s infinite ease-in-out;
}


.mission-text-container {
  text-align: center;
}


.mission-title {
  font-family: 'KaushanScript';
  font-size: 2.8rem;
  margin-bottom: 15px;
  transition: color 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}


.mission-title:hover {
  color: #FFD166;
  transform: scale(1.05);
}


.mission-text {
  font-family: 'KaushanScript';
  font-size: 1.7rem;
  line-height: 1.8;
  transition: color 0.4s ease;  
}


.mission-text:hover {
  color: #146a01;
}


@media (max-width: 768px) {
  .mission-icon {
    width: 90px;
    height: 90px;
  }
}



@keyframes wobble {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

@keyframes glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.6); }
}

.card {
  cursor: pointer;
}


.about-title {
  text-align: center;
  margin-bottom: 25px;
}


.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}


.about-text {
  flex: 1;
  min-width: 300px;
}


.about-image {
  flex: 1;
  max-width: 450px;
  border-radius: 10px;
  display: block;
}


@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    max-width: 90%;
  }
}


.about-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 36px;
  font-family: 'KaushanScript', cursive;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 10px;
  flex-wrap: wrap; 
}

.about-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.85);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-image img {
  width: 500px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

.geo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}

.geo-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px; 
}

.geo-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .geo-container {
    flex-direction: column;
    text-align: center;
  }
  .geo-image img {
    max-width: 90%;
  }
}

.geo-text {
  flex: 1;
  background: rgba(255, 255, 255, 0.75); 
  padding: 20px;
  border-radius: 12px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
  backdrop-filter: blur(6px); 
  font-size: 1rem;
  line-height: 1.6;
}


.about-text,
.geo-text {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer; 
}


.about-text:hover,
.geo-text:hover {
  transform: translateY(-6px); 
  box-shadow: 0 8px 18px rgba(0,0,0,0.25); 
}

.about-text:hover,
.geo-text:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.3),
              0 0 12px rgba(255,255,255,0.4); 
}

.about-text:hover,
.geo-text:hover {
  transform: translateY(-6px) scale(1.03);
}

.large-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}


.large-image:hover {
  transform: scale(1.03); 
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); 
}

.season-list li {
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: #333;
  font-weight: 500;
}

.season-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.season {
  padding: 18px;
  margin: 18px 0;
  border-radius: 12px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  overflow: hidden;
}




.season-list { list-style: none; padding: 0; margin: 0; }
.season { position: relative; overflow: hidden; }


.season .season-info {
  max-height: 0;               
  opacity: 0;                 
  padding: 0 12px;             
  overflow: hidden;           
  transition: max-height 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(8px);
  pointer-events: none;      
  display: block;             
}


.season .season-info img {
  width: 75%;
  max-width: 340px;
  border-radius: 10px;
  display: block;
  margin: 10px auto 6px auto;
}


.season:hover .season-info {
  max-height: 500px;          
  opacity: 1;
  transform: translateY(0);
  padding: 12px;
  pointer-events: auto;
}

.season {
  padding: 18px;
  margin: 18px 0;
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.season:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}


.spring { background: #E8F8E0; }
.summer { background: #FFF6C7; }
.fall   { background: #FFE1C4; }
.winter { background: #E6F0FF; }


@media (max-width: 768px) {
  .season .season-info img { width: 90%; max-width: 320px; }
}


.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}

.about-text {
  flex: 1;
}

.about-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}


.about-image img:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .about-container {
    flex-direction: column; 
    text-align: center;
  }

  .about-image img {
    max-width: 100%;          
    order: 2;                
  }

  .about-text {
    order: 1;
    width: 100%;
  }
}


.market-row {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  background: white;
}

.market-row:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  background: #f4fbff;
}


.route-row .route-info {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(.2,.8,.2,1),
              opacity 0.35s ease,
              transform 0.35s ease;
  transform: translateY(8px);
  padding: 0;
  pointer-events: none;
}


.market-row:hover + .route-row .route-info {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  padding: 12px;
}

.route-info img {
  width: 80%;
  max-width: 300px;
  display: block;
  margin: 0 auto 8px auto;
  border-radius: 12px;
}

.route-info p {
  text-align: center;
  margin: 0;
  color: #444;
}


.contact-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255,255,255,0.88);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: fadeInUp 1s ease-out;
}

.contact-header {
  font-size: 2.6rem;
  color: #010700;
  margin-bottom: 10px;
  font-family: 'KaushanScript';
}

.contact-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #444;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 18px 20px;
  margin: 15px 0;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .35s ease, box-shadow .35s ease;
}

.contact-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-icon {
  font-size: 36px;
  color: #146a01;
}

.contact-info a {
  color: #146a01;
  text-decoration: none;
  font-weight: bold;
  transition: color .3s;
}

.contact-info a:hover {
  color: #FFD166;
}


.social-enhanced {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-card {
  background: white;
  padding: 20px;
  width: 200px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform .35s ease, box-shadow .35s ease;
}

.social-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.social-card img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  margin-bottom: 10px;
}


.divider {
  width: 80%;
  height: 2px;
  margin: 40px auto;
  background: linear-gradient(to right, transparent, #146a01, transparent);
}

.access-box {
  background: #f4f8f4;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: fadeInUp 1.2s ease-out;
}

.access-box h3 {
  font-size: 2rem;
  font-family: 'KaushanScript';
  color: #146a01;
  margin-bottom: 10px;
}


.contact-container.fade-in {
  animation: fadeInUp 1s ease-out forwards; 
  opacity: 1;  
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tips-table {
  animation: tipsFadeIn 1s ease-out;
}

@keyframes tipsFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}


.tips-table tr {
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.tips-table tr:hover {
  transform: translateY(-3px);
  background-color: #f5ffe8; 
}


.tips-table td {
  transition: transform 0.2s ease;
}

.tips-table td:hover {
  transform: scale(1.015);
}


.tips-table th {
  position: relative;
}

.tips-table th::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #146a01, #8ed96a);
  animation: glowbar 3s infinite ease-in-out;
}

@keyframes glowbar {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.navbar a.active,
.overlay-menu a.active {
  color: #FFD166;
  font-weight: bold;
  text-decoration: underline;
}
.gallery-container {
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
}

.gallery-title {
  font-family: 'KaushanScript';
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;   
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}


.slideshow-container {
  width: 100%;
  max-width: 800px;
  height: 420px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}


.mySlides {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  opacity: 0;
  transform: translateX(40px);
  animation: slideFade 20s infinite;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.mySlides:nth-child(1) { animation-delay: 0s; }
.mySlides:nth-child(2) { animation-delay: 4s; }
.mySlides:nth-child(3) { animation-delay: 8s; }
.mySlides:nth-child(4) { animation-delay: 12s; }
.mySlides:nth-child(5) { animation-delay: 16s; }

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  10% {
    opacity: 1;
    transform: translateX(0px);
  }
  30% {
    opacity: 1;
    transform: translateX(0px);
  }
  40% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 0;
    transform: translateX(-40px);
  }
}

.card-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.student-voices {
  margin-top: 40px;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.voice-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.voice-card .quote {
  font-style: italic;
  color: #005f73;
}

.voice-card .name {
  margin-top: 10px;
  font-weight: bold;
  text-align: right;
  color: #333;
}

.leave-voice-card {
  background: rgba(250, 250, 250, 0.7);
  border: 2px dashed #008c8c;
}

.leave-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #006d77;
}

.leave-text {
  margin-bottom: 15px;
  color: #333;
}

.leave-box {
  height: 120px;
  border: 2px dashed #9ccfd0;
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.placeholder-text {
  color: #999;
  font-style: italic;
}

.voice-card,
.social-card,
.market-row,
.tips-table tr,
.leave-voice-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.voice-card:hover,
.social-card:hover,
.leave-voice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.leave-voice-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,248,255,0.7));
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.leave-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #005f73;
}

.leave-text {
  margin-bottom: 15px;
  color: #333;
  line-height: 1.5;
}

.leave-box {
  margin-bottom: 20px;
}

.leave-input {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  padding: 14px;
  font-size: 1rem;
  border: 2px solid #94d2bd;
  background: rgba(255,255,255,0.8);
  resize: none;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  font-family: "Georgia", serif;
}

.leave-input:focus {
  border: 2px solid #008c8c;
  box-shadow: 0 0 8px rgba(0,140,140,0.3);
}

.submit-btn {
  background: #008c8c;
  color: white;
  padding: 12px 26px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.8;
}

