/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow: hidden; /* Hides the main window scrollbar */
    background-color: #092504;
    color: white;
}

/* --- NAVIGATION STYLES --- */
.main-nav {
    position: fixed; /* Sticks to top */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    z-index: 100; /* Ensures it sits on top of images */
    text-shadow: 2px 2px 5px #00000053;

}

.logo {
    font-family: 'Bruno Ace SC', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    color: #eaff83; /* mix-blend-mode will invert this if bg is white */
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: #e8ff8d;
    transform: scale(1.05);
}

/* --- MAIN SCROLL CONTAINER (THE MAGIC PART) --- */
.scroll-container {
    display: flex; /* Puts sections side by side */
    width: 100vw;
    height: 100vh;
    overflow-x: scroll; /* Allows horizontal scrolling */
    overflow-y: hidden;
    scroll-snap-type: x mandatory; /* Forces 'snapping' to sections */
    scroll-behavior: smooth;
}

/* Hides the scrollbar for a cleaner look */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* --- INDIVIDUAL SECTIONS --- */
.section {
    flex: 0 0 100vw; /* Each section is exactly 100% of viewport width */
    height: 100vh;
    scroll-snap-align: start; /* Where the snap stops */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* --- BACKGROUND IMAGES --- */


.slide-1909 {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
                url('background/1909.png');
    background-size: cover;
    background-position: center;
    color: #f6f7e2; 
    letter-spacing: 1px;
}


.slide-1947 {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('background/1947.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}


.slide-1987 {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('background/1987.png');
    background-size: cover;
    background-position: center;
    color: rgb(255, 200, 200); 
}


.slide-2025 {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('background/2025.png');
    background-size: cover;
    background-position: center;
    color: #ccff00; /* Neon green text */
}


/* --- TYPOGRAPHY & BUTTONS --- */


.content-box h1 {
  font-family: "Bruno Ace SC", sans-serif;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.2s;
  align-items: center; 
  font-size: 4.5rem;
}

.explore-btn { 
    font-family: 'Cairo', Tahoma, Geneva, Verdana, sans-serif;
    position: absolute;
    left: 42%;
    bottom: 150px;
    border: 1px solid currentColor; 
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 5px 15px;
}

.content-box h3 {
  position: absolute;
  top:250px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "Bruno Ace SC", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}

.content-box p {
  position: absolute; 
  top: 280px; 
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;

}


.explore-btn:hover {
    background-color: rgba(3, 36, 9, 0.472);
    transform: scale(1.05);
}

/* --- TIMELINE UI --- */
.timeline-container {
    position: fixed;
    bottom: 50px;
    left: 48.5%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 100;
    align-items: center;
}

/* The connecting line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 55%; 
    transform: translateX(-50%); 
    bottom: 0; 
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.5);
    z-index: -1;
}

.time-point {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 0.9rem;
    position: relative;       
    padding-bottom: 6px;    
    transition: 0.3s;
}
.time-point::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s;
}


.time-point:hover::after,
.time-point.active::after {
    width: 18px;  
    background-color: #fff;
}

/* --- ARROW CONTROLS --- */
.arrow-controls button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.5;
    z-index: 99;
    transition: 0.3s;
}

.arrow-controls button:hover {
    opacity: 1;
}

#prevBtn { left: 20px; }
#nextBtn { right: 20px; }

/* --- FOOTER --- */
footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    z-index: 100;
}

.filter-buttons {
    margin-top: 6px;
    margin-bottom: 8px;
    display: flex;
    gap: 6px;
}

.filter-btn {
    padding: 4px 10px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: #d3d3d3;
    transform: translateY(-1px);
}

.TBD {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  margin-top: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: rgb(0, 0, 0);
  z-index: 10;
}

/* --- MAP PAGE STYLES (1909MAP.html) --- */

#leavesCanvas {
    position: fixed;
    inset: 0;            
    pointer-events: none;  
    z-index: 5;           
}

.map-page-body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    color: #1A4D1A;
}

/* Semi-transparent overlay to make text readable on the map page image */
.page-overlay09 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            rgba(195, 192, 165, 0),
            rgb(198, 186, 157),
            rgb(198, 186, 157)
        );    
    z-index: -1;
}

.map-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px 20px; /* Top padding clears nav */
    text-align: center;
}

.map-header {
    margin-bottom: 40px;
}

.city-title09 {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 5rem;
    color: #fff4d7;
    margin-bottom: 100px;
    letter-spacing: 2px;

    display: inline-block;
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,      
        rgba(0,0,0,0.8) 40%,   
        rgba(0,0,0,0.8) 60%,  
        rgba(0,0,0,0) 100%    
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.8) 40%,
        rgba(0,0,0,0.8) 60%,
        rgba(0,0,0,0) 100%
    );
}

.year-title09 {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 2.5rem;
    color: #5d4511;
    display: inline-block;
    padding-bottom: 30px;
    margin: 20px; 
    width: 100%;
    max-width: 1100px;
}


.map-description09 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    color: #3f4a2b;
    text-align: left;
}

/* The box containing the ArcGIS Map */
.map-wrapper {
    position:relative;
    width: 100%;
    max-width: 1100px;
    height: 600px; /* Taller for better view */
    margin: 0 auto;
    border: 3px solid #8b7355; /* Vintage brown border */
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

.map-caption09 {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 900px;
    margin: 8px auto 8px auto; 
    color: #757575;
    text-align: center;
}

.map-divider {
    margin-top: 20px;
    width: 100%;
    height: 1px; 
    background-color: rgba(26, 77, 26, 0.3); 
}

.Map-reading {
  position: relative;
  margin: 0 auto;
  padding: 40px 50px 60px;
  max-width: 1100px;
  border-radius: 30px;
  background: rgba(235, 226, 200, 0.92);
  overflow-x: visible;
  overflow-y: hidden;  
}
.year-1947 .Map-reading {
  background: rgba(220, 225, 230, 0.92);
}

.year-1987 .Map-reading {
  background: rgba(242, 215, 202, 0.92);
}
.year-2025 .Map-reading {
  background: rgb(247, 247, 213);
}
.sectiontitle {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 3rem;
    color: #5d4511;
    margin: 50px auto;
    text-align: center;
}

.reading-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
  color: #dbc79b;
  border: 1px #062d0f;
}

/* ===== Main Row: icon + text ===== */
.reading-main {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.reading-icon {
  width: 120px;
  height: 120px;
  border-radius: 28%;
  overflow: hidden;
  flex-shrink: 0;
  margin: auto;
  border: 2px solid #fff0bb83;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease;
}

.reading-icon:hover {
  transform: scale(1.14);
}

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

/* ===== Toggle behavior ===== */
.reading-icon.toggle-photo {
  position: relative;
  cursor: pointer;
}

/* hover overlay + arrow */
.reading-icon.toggle-photo::after {
  content: "⌄";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #2f3a1f;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 26%;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.reading-icon.toggle-photo:hover::after {
  opacity: 1;
}

/* ===== Text Content ===== */
.reading-content h4 {
  margin: 0 0 8px 0;
  font-family: 'Tiro Devanagari Hindi', sans-serif;
  font-size: 1.5rem;
  color: #3f4a2b;
}

.reading-content p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2f3a1f;
  max-width: 900px;
}

/* ===== Photo Panel (collapsed by default) ===== */
.photo-panel {
  display: grid;
  grid-template-rows: 0fr;   /* 折叠 */
  opacity: 0;

  transition:
    grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;

  margin-left: 148px;
}

/* 关键：包一层内容 */
.photo-panel > * {
  overflow: hidden;
}

.photo-panel.open {
  grid-template-rows: 1fr;   /* 展开 */
  opacity: 1;
  margin-top: 15px;
}

/* ===== Chart Source Citation ===== */
.chart-source {
  margin: 0 0 20px 0;         /* 滚动条上方 8px 间距 */
  padding: 0;
  font-size: 11px;
  color: #666;
  font-style: italic;
  font-family: 'Cairo', sans-serif;
  text-align: center;
}

/* 横向滑动 gallery */
.scroll-gallery {
  display: flex;
  gap: 20px;

  overflow-x: auto;          /* 允许横向滚动 */
  overflow-y: hidden;
  padding-bottom: 10px;

  scroll-snap-type: x mandatory;  /* 滑动吸附 */
  -webkit-overflow-scrolling: touch; /* iOS 丝滑 */
}

/* 单张图片 */
.scroll-gallery img {
  flex: 0 0 auto;            /* 不被压缩 */
  width: 420px;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  scroll-snap-align: start;  /* 每张图吸附 */
}

.scroll-gallery::-webkit-scrollbar {
  height: 10px;
}

.scroll-gallery::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
}

.scroll-gallery::-webkit-scrollbar-track {
  background: transparent;
}



/* ===== Canva Chart Container ===== */
.chart-container {
  position: relative;
  flex: 0 0 auto;           
  width: 450px;             /* 每个图表宽度 */
  height: 320px;            /* 每个图表高度 */
  padding: 16px;            /* 内边距 */
  background: white;        /* 白色背景 */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0);
  scroll-snap-align: start; 
}

.chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}


/* ===== Photo Gallery ===== */
.map-photo {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  margin: 24px 0;
}


.map-photo img {
  width: 420px;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.12);
}


arcgis-embedded-map {
    width: 100%;
    height: 100%;
}

/* Positioning */
.map-nav-left, .map-nav-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 100;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-nav-left { left: 60px; }
.map-nav-right { right: 60px; }

.arrow-btn {
    font-size: 3rem;        
    line-height: 1;          
    color: #757575b9;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    transition: transform 0.2s, color 0.2s;
}

.arrow-btn:hover {
    color: #000000;
    transform: scale(1.3);
}

/* -------- LABEL -------- */
.map-nav-label {
    margin-top: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: #424242;
    opacity: 0.8;
}


.map-footer {
    text-align: center;
    padding: 20px;
    color: #1A4D1A;
    font-size: 0.8rem;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .city-title { font-size: 2.5rem; }
    .year-title { font-size: 1.5rem; }
    .map-wrapper { height: 400px; }
    .content-box h1 { font-size: 3rem; bottom: 180px; }
}

/* interactive feature layers */
html, body {
  margin: 0;
  padding: 0;
}
#viewDiv {
  width: 100%;
  height: 100%;
}

.layer-panel09 {
      position: absolute;
      top: 920px;
      left: 1050px;
      background: rgba(0,0,0,0.6);
      color: #fff;
      padding: 10px 14px;
      border-radius: 8px;
      font-family: system-ui, sans-serif;
      font-size: 13px;
      z-index: 99;
      cursor: move; 
    }
.layer-panel09 label {
      display: block;
      margin-bottom: 4px;
      cursor: pointer;
    }

  
/* --- MAP PAGE STYLES (1947MAP.html) --- */
#smokeCanvas {
    position: fixed;
    inset: 0;              
    pointer-events: none;  
    z-index: 4;           
}
.page-overlay47 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            rgba(195, 192, 165, 0),
            rgb(192, 189, 184),
            rgb(137, 134, 129)
        );    
    z-index: -1;
}

.city-title47 {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 5rem;
    color: #ffffff;
    margin-bottom: 100px;
    letter-spacing: 2px;

    display: inline-block;
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,      
        rgba(0,0,0,0.8) 40%,   
        rgba(0,0,0,0.8) 60%,  
        rgba(0,0,0,0) 100%    
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.8) 40%,
        rgba(0,0,0,0.8) 60%,
        rgba(0,0,0,0) 100%
    );
}

.year-title47 {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    display: inline-block;
    padding-bottom: 30px;
    margin: 20px; 
    width: 100%;
    max-width: 1100px;
}

.map-description47 {
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    text-align: left;
}
.map-caption47 {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 900px;
    margin: 8px auto 8px auto; 
    color: #ffffff;
    text-align: center;
}


.layer-panel47 {
      position:absolute;
      top: 920px;
      left: 1050px;
      background: rgba(0,0,0,0.6);
      color: #fff;
      padding: 10px 14px;
      border-radius: 8px;
      font-family: system-ui, sans-serif;
      font-size: 13px;
      z-index: 99;
      cursor: move; /* 鼠标提示可以拖动 */
    }
.layer-panel47 label {
      display: block;
      margin-bottom: 4px;
      cursor: pointer;
    }

/* --- MAP PAGE STYLES (1987MAP.html) --- */
.description{
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    color: #373737;
}
.page-overlay87 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            rgba(195, 192, 165, 0),
            #a97a5cd2,
            rgb(47 79 70)
        );    
    z-index: -1;
}

.city-title87 {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 5rem;
    color: #c83a3a;
    margin-bottom: 100px;
    letter-spacing: 2px;

    display: inline-block;
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,      
        rgba(0,0,0,0.8) 40%,   
        rgba(0,0,0,0.8) 60%,  
        rgba(0,0,0,0) 100%    
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.8) 40%,
        rgba(0,0,0,0.8) 60%,
        rgba(0,0,0,0) 100%
    );
}

.year-title87 {

    color: #f9dfdf;
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 30px;
    margin: 20px; 
    width: 100%;
    max-width: 1100px;
}

.map-description87 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    text-align: left;
    color: #f9dfdf;

}
.map-caption87 {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 900px;
    margin: 8px auto 8px auto; 
    color: #ffffff;
    text-align: center;
}

.layer-panel87 {
  position: absolute;
  top: 920px;
  left: 1050px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  z-index: 99;
  cursor: move;
}

.layer-panel87 label {
  display: block;
  margin-bottom: 4px;
  cursor: pointer;
}

.loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  z-index: 1000;
}

.spinner {
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* --- MAP PAGE STYLES (2025MAP.html) --- */

.page-overlay20 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            rgba(148, 185, 230, 0),
            rgba(148, 185, 230, 0),
            #25662edf,
            rgb(32, 76, 27),
            rgb(3, 41, 10)

        );    
    z-index: -1;
}

.city-title20 {
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 5rem;
    color: #f4ff19;
    margin-bottom: 100px;
    letter-spacing: 2px;

    display: inline-block;
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,      
        rgba(0,0,0,0.8) 40%,   
        rgba(0,0,0,0.8) 60%,  
        rgba(0,0,0,0) 100%    
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.8) 40%,
        rgba(0,0,0,0.8) 60%,
        rgba(0,0,0,0) 100%
    );
}

.year-title20 {

    color: #fff86a;
    font-family: 'Bruno Ace SC', sans-serif;
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 30px;
    margin: 20px; 
    width: 100%;
    max-width: 1100px;
}

.map-description20 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    text-align: left;
    color: #ecff5a;
}
.map-caption20 {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 900px;
    margin: 8px auto 8px auto; 
    color: #ffffff;
    text-align: center;
}


.layer-panel20 {
      position: absolute;
      top: 920px;
      left: 1050px;
      background: rgba(0,0,0,0.6);
      color: #fff;
      padding: 10px 14px;
      border-radius: 8px;
      font-family: system-ui, sans-serif;
      font-size: 13px;
      z-index: 99;
      cursor: move; 
    }
.layer-panel20 label {
      display: block;
      margin-bottom: 4px;
      cursor: pointer;
    }


.map-nav-label2 {
    margin-top: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.8;
}

.arrow-btn2 {
    font-size: 3rem;        
    line-height: 1;          
    color: #f5d9d9;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    transition: transform 0.2s, color 0.2s;
}

.arrow-btn2:hover {
    color: #ffffff;
    transform: scale(1.3);
}

/*--- Calendar STYLES (Calendars.html) ---*/

.calendar-page-body {
  position: relative;
  min-height: 100vh;
  overflow-y: auto;
  background: #eaddcf;
  color: #f6f7e2;
}

.CalendarTitle {
  font-family: "Bruno Ace SC", sans-serif;
  text-align: center;
  margin-bottom: 20px; 
}

.CalendarHeader {
  font-family: "Bruno Ace SC", sans-serif;
  font-size: 4rem;
  margin: 0 0 8px 0;
  color: #46360a;
}

.CalendarIntro {
  font-family: "Cairo", sans-serif;
  font-size: 1.2rem;
  max-width: 1100px;
  margin: 30px auto;       
  line-height: 1.5;
  color: #523715;
}

:root {
      --paper: #f0ead6;
      --paper-dark: #062d0f;
      --green: #093d08;
      --green-light: #2c7a3f;
      --text-main: #253020;
    }

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
    padding: 0 8vw 60px;
}

.top-bg {
  position: relative;
  margin-top: 80px;
  padding: 30px 36px 40px;
  z-index: 4;
}

.top-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image: linear-gradient(
    to bottom,
    rgba(240, 234, 214, 0),
    rgba(240, 234, 214, 0.98)
  );
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.top-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px; 
    background: linear-gradient(
        to bottom,
        rgba(240,234,214,0.7),
        rgba(255, 249, 228, 0.816)
    );
    pointer-events: none;
    z-index: -1;         
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.136); 
}

.top-inner {
    position: relative;
    z-index: 1;
}


/* ====== timeliines ====== */

.timeline-rows {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.timeline-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    column-gap: 18px;
    position: relative;
}

.timeline-label {
    font-family: "Bruno Ace SC", sans-serif;
    font-weight: 700;
    color:#275b43;
    text-align: center;
}

.timeline-track {
    position: relative;
    padding: 14px 0;
}
.timeline-axis {
  position: absolute;
  left: 0;
  right: 50px;
  top: 40%;
  transform: translateY(-50%);
  height: 22px;

  display: flex;
  align-items: flex-end;
  gap: 3px;       
  z-index: 1;
}

/* segment */
.timeline-axis-segment {
  flex: 1 1 0;
  height: 4px;        
  background: rgba(143, 149, 121, 0.9);
  border-radius: 999px;
  transform-origin: bottom center;
  transition: height 0.01s linear;  
}

.timeline-axis-segment.has-event {
  background: #184824;        
  position: relative;
  cursor: pointer;
}
.timeline-axis-segment.has-event:hover {
  background: #2c7a3f;
}

.timeline-axis-segment.has-event .marker-card {
  position: absolute;
  left: 50%;
  bottom: 120%;
  transform: translateX(-50%) translateY(10px);
  width: 250px;
  padding: 12px 14px;
  background: var(--paper-dark);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.timeline-axis-segment.has-event:hover .marker-card {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.timeline-markers {
  display: none; 
}


.marker-card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color:#fff;
    margin-bottom: 4px;
}

.marker-card-heading {
    color: azure;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
}

.marker-card-text {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
}

/* 年份刻度（固定不动） */
.timeline-years {
    margin-top: 30px;
    display: flex;
    margin-right: 50px;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(0,0,0,0.7);
}

/* ====== Detailed infroamtion card ====== */

.detail-section {
    margin-top: 40px;
    background: linear-gradient(
        to bottom,
        rgba(61, 68, 51, 0.966),
        rgba(178, 178, 156, 0.964)
    );
    border-radius: 18px;
    padding: 26px 30px 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); 
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    column-gap: 26px;
    align-items: center;
}


.detail-image-wrapper img {
  display: block;             
  width: 100%;                
  height: auto;              
  transition: transform 0.3s ease;
}

.detail-image-wrapper:hover img {
  transform: scale(1.05);    
}

.detail-image-wrapper {
  overflow: hidden;
  border-radius: 8px;           
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); 
}

.detail-meta {
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    margin-bottom: 6px;
}

.detail-title {
    font-family: "Bruno Ace SC", sans-serif;
    font-size: 28px;
    color:azure;
    margin-bottom: 10px;
}

.detail-body {
    font-size: 16px;
    line-height: 1.6;
}

.detail-track-label {
    margin-top: 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0,0,0,0.6);
}


.wave-wrapper {
    margin-top: 28px;
}

.wave-caption {
    font-size: 13px;
    margin-bottom: 6px;
    color: rgba(0,0,0,0.7);
}

.wave-timeline {
    background: radial-gradient(circle at center, rgba(255,255,255,0.8), rgba(230,220,195,0.9));
    border-radius: 14px;
    padding: 16px 16px 12px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

/* wave axis */
.wave-axis {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    cursor: pointer;
}

.wave-segment {
    width: 6px;
    height: 6px; 
    background: rgba(0,0,0,0.45);
    border-radius: 999px;
    transform-origin: bottom center;
    transition: height 0.08s linear;
}

.wave-years {
    position: relative;
    margin-top: 6px;
    height: 38px;
}

.year-marker {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    text-align: center;
    font-size: 11px;
}

.year-marker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background:#1A4D1A;
    margin: 0 auto 4px;
    transition: transform 0.15s ease, background 0.15s ease;
}

.year-marker-label {
    white-space: nowrap;
}

.year-marker.hovered .year-marker-dot {
    transform: scale(1.5);
}

.year-marker.selected .year-marker-dot {
    transform: scale(1.8);
    background: var(--green-light);
}

@media (max-width: 900px) {
    header {
    text-align: center;
    }
    .timeline-row {
    grid-template-columns: 90px 1fr;
    }
    .detail-layout {
    grid-template-columns: 1fr;
    row-gap: 18px;
    }
}


/*Themes*/

.yellow-card-wrapper {
    background: #f7eed386;               
    border-radius: 12px;
    top:50px;
    min-height: 730px;
    width: 100%;
    max-width: 1400px;                  
    margin: 0 auto 32px;              
    padding: 24px 32px;                   
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(180, 160, 120, 0.25);
    position: relative;
    z-index: 4;
}


/* Paragraph inside the card */
.page-text {
    margin-top: 20px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    text-align: left;
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0.3px;
}


.ink-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: #eaddcf;
  z-index: 0;
}

.top-border,
.bottom-border {
  position: absolute;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(to bottom, #d6c4b0, #eaddcf);
  border-color: #cbb8a3;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 10;
}

.top-border {
  top: 0;
  border-bottom: 1px solid #cbb8a3;
}

.bottom-border {
  bottom: 0;
  background: linear-gradient(to top, #d6c4b0, #eaddcf);
  border-top: 1px solid #cbb8a3;
}

.paper-texture {
  position: absolute;
  inset: 0;
  background-image: url("background/calendar.png"); 
  background-size: cover;
  background-position: center;
  opacity: 0.5;         
  filter: blur(1px);   
  transform: scale(1.03);
}

#ink-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mist-layer {
  position: absolute;
  bottom: 0;
  height: 50%;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(41, 37, 36, 0.8), transparent);
  opacity: 0.2;
}

/*header*/

.page-header {
  color: #432c10;
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 30px;
  animation: fadeIn 1.5s ease-out forwards;
}

.page-title {
  font-family: 'Bruno Ace SC', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
}

.page-subtitle {
  margin-top: 12px;
  font-size: 1.25rem;
  color: #57534e;
  letter-spacing: 0.25em;
  font-style: italic;
}
.detail-section {
  position: relative;
  z-index: 1; 
}


/* MAIN GRID*/


.About-Maps-page-body{
  overflow-y: auto;
}
.main-content {
  position: relative;
  z-index: 10;
  padding: 24px;
  display: flex;
  justify-content: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1600px;
  width: 100%;
}


.themes-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}


.theme-card,
.theme-card2,
.theme-card3,
.theme-card4 {
  height: 350px;
  position: relative;
  border-radius: 20px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding-bottom: 16px;
  overflow: hidden;
}

.theme-card {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%),
    url("About\ Maps/1909_副本.jpg");
}

.theme-card2 {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%),
    url("About\ Maps/1947_副本.jpg");
}

.theme-card3 {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%),
    url("About\ Maps/1985_副本.jpg");
}

.theme-card4 {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%),
    url("About\ Maps/2025.png");
}


.theme-card:hover,
.theme-card2:hover,
.theme-card3:hover,
.theme-card4:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}


/* ===== Card Title & Subtitle ===== */
.theme-card-title {
  font-family: 'Bruno Ace SC', sans-serif;
  color: #000000;
  position: absolute;
  bottom: 60px;  
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  font-size: 1.2rem;
  margin: 0;
  padding: 0 20px;
}


.theme-card-subtitle {
  font-family: 'Cairo', sans-serif;
  color: #333333;
  position: absolute;
  bottom: 35px;  /* 🔥 在 title 下方 */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
  padding: 0 20px;
  opacity: 0.8;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.card-data {
  display: block !important;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

/* 🔥 扩展视图中的文本样式 */
.expander-desc p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.expander-full p {
  margin-bottom: 16px;
  line-height: 2;
}
.expander-full h3 {
  margin-top: 32px;          /* 🔥 增加上边距 */
  margin-bottom: 16px;
  font-size: 1.3rem;
  line-height: 1.5;          /* 🔥 改：原来是 2 */
  text-align: center;        
  font-weight: 600;
}
.expander-full p:last-child {
  margin-bottom: 0;
}

/* ========== RIPPLE & EXPAND ANIMATION ========== */

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 70%);
  transform: scale(0);
  pointer-events: none;
  z-index: 50; /* 提高z-index */
  box-shadow: 0 0 20px rgba(255,255,255,0.5); /* 添加光晕效果 */
}


.ripple.active {
  animation: rippleExpand 0.6s ease-out forwards;
}

@keyframes rippleExpand {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

/* Rotating Ring Effect */
.rotating-ring {
  position: absolute;
  inset: -20px;
  border: 3px solid transparent;
  border-top-color: rgba(255,255,255,0.8);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}

.rotating-ring.active {
  animation: ringRotate 1s ease-out forwards;
}

@keyframes ringRotate {
  0% { transform: rotate(0deg) scale(0.8); opacity: 1; }
  100% { transform: rotate(720deg) scale(2); opacity: 0; }
}

/* Card Expander (cloned card that expands to full screen) */
.card-expander {
  position: fixed;
  border-radius: 20px;
  pointer-events: none;
  z-index: 100;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
}

.card-expander.expanding {
  opacity: 1;
  visibility: visible;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-expander.expanded {
  opacity: 1;
  visibility: visible;
  border-radius: 0;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none;
}

.expander-bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.expander-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

/* Content in expanded view */
.expander-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;        /* 🔥 改：使用 min-height 而不是 height: 100% */
  overflow-y: auto;         /* 🔥 允许垂直滚动 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* 🔥 改：从顶部开始排列，不是居中 */
  align-items: center;
  padding: 120px 60px 60px;  
  color: white;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease 0.1s;
  pointer-events: auto;
}

.card-expander.expanded .expander-content {
  opacity: 1;
  transform: translateY(0);
}

.expander-title {
  font-family: 'Bruno Ace SC', sans-serif;
  font-size: 3rem;          
  margin-top: 0;            
  margin-bottom: 32px;      
  text-align: center;
}

.expander-desc {
  max-width: 1000px;         
  text-align: center;
  font-size: 1.1rem;        
  line-height: 1.8;
  margin-bottom: 40px; 
}

.expander-full {
  max-width: 1000px;         /* 🔥 改小一点 */
  text-align: left;
  font-size: 1rem;
  line-height: 2;
  background: rgba(255,255,255,0.1);
  padding: 32px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  margin-bottom: 40px; 
}
.expander-full img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-expander.expanded .close-btn {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.close-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* Dim overlay for background */
.dim-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.dim-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

/* Add rotating ring to each card */
.theme-card, .theme-card2, .theme-card3, .theme-card4 {
  position: relative;
  overflow: hidden;
}

.theme-card .rotating-ring,
.theme-card2 .rotating-ring,
.theme-card3 .rotating-ring,
.theme-card4 .rotating-ring {
  position: absolute;
  inset: -20px;
  border: 3px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.image-row {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  flex-wrap: wrap; /* 屏幕小会自动换行 */
}

.image-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

.image-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.caption {
  font-size: 12px;
  margin-top: 6px;
  color: #fbffda;
}
/* --- Intro PAGE STYLES --- */


/* background */
.intro-page-body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background-image: url('background/IMG_2550.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.intro-container {
  position: absolute;
  top: 20%;         
  right: -3%;        
  transform: translateY(-50%);  
  max-width: 800px;
  text-align: left;
  opacity: 0;
  animation: fadeDown 1.8s ease-out forwards;
}

/* titles */
.intro-title {
  font-family: 'Bruno Ace SC', sans-serif;
  color: #0f2432;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* texts */
.intro-text {
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #000000;

  /* delay appearance */
  opacity: 0;
  animation: fadeDown 2s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 箭头按钮样式 */
.toggle-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin-top: 30px;
  padding: 12px 20px;
  border-radius: 8px;
  width: fit-content;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
}

.toggle-arrow:hover {
  background-color: rgba(15, 36, 50, 0.08);
  transform: translateX(8px);
}

.arrow-icon {
  font-size: 20px;
  font-weight: bold;
  color: #0f2432;
  transition: transform 0.3s ease;
  display: inline-block;
}

.toggle-arrow:hover .arrow-icon {
  transform: scale(1.2);
}

.arrow-text {
  font-size: 1rem;
  color: #0f2432;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 简介部分 */
.intro-section {
  opacity: 0;
  animation: fadeDown 2s ease-out forwards;
  animation-delay: 0.2s;
}

.intro-section.show {
  display: block;
}

.intro-section.hide {
  display: none;
}

/* 参考文献部分 */
.bibliography-section {
  display: none;
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
  margin-top: -100px;  
}

.bibliography-section.show {
  display: block;
  opacity: 1;
}

.bib-header {
  margin-bottom: 20px;
}

.bibliography-section .back-arrow {
  margin-bottom: 20px;
}

.bibliography-section .back-arrow .arrow-icon {
  transition: transform 0.3s ease;
}

.bibliography-section .back-arrow:hover .arrow-icon {
  transform: translateY(-3px);
}

.bib-title {
  font-family: 'Bruno Ace SC', sans-serif;
  color: #0f2432;
  font-size: 1.4rem;
  margin: 20px 0 25px 0;
  border-bottom: 2px solid #0f2432;
  padding-bottom: 15px;
  letter-spacing: 1px;
}

.bibliography-content {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 15px;
  padding-bottom: 30px;
}

.bibliography-content::-webkit-scrollbar {
  width: 8px;
}

.bibliography-content::-webkit-scrollbar-track {
  background: rgba(15, 36, 50, 0.1);
  border-radius: 4px;
}

.bibliography-content::-webkit-scrollbar-thumb {
  background: rgba(15, 36, 50, 0.3);
  border-radius: 4px;
}

.bibliography-content::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 36, 50, 0.5);
}

.bib-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #0f24321a;
}

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

.bib-item p {
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  line-height: 1.3;
  letter-spacing: 0.3px;
  color: #000000;
  margin: 0;
  word-wrap: break-word;
}

.bib-item em {
  font-style: italic;
  color: #0f2432;
  font-weight: 500;
}

/* 导航栏 */

.main-nav2 {
    position: fixed; /* Sticks to top */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    z-index: 50;

}
.logo2 {
    font-family: 'Bruno Ace SC', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    color: #164a20; 
    text-shadow: 2px 2px 5px #ffffff;
    text-transform: uppercase;
}

.nav-links2 {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links2 a {
    display: inline-block;
    text-decoration: none;
    color: #0e3221;
    font-weight: 600;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.nav-links2 a:hover {
    color: #169f0d;
    transform: scale(1.05);
    text-shadow: 2px 2px 5px #a8a8a853;
}





.falling-leaves {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 880px;
  max-height: 880px;
  transform: translate(-50%, 0);
  background-size: cover;
  overflow: hidden;
}

.leaf-scene {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    transform-style: preserve-3d;

    div {
      position: absolute;
      top: 0;
      left: 0;
      width: 20px;
      height: 20px;
      background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/125707/leaf.svg) no-repeat;
      background-size: 100%;
      transform-style: preserve-3d;
      backface-visibility: visible;
    }
  }
