:root {
  --linen: #f4efe6;
  --base-linen: #f4efe6;
  --deep-charcoal: #1f2326;
  --burnished-bronze: #b07d3c;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --charcoal: #1f2326;
  --bronze: #b07d3c;
  --bronze-light: #c9954f;
  --bronze-dark: #8a5f28;
  --cream: #ede7da;
  --white: #ffffff;
  --warm-mid: #d4c4a8;
  --bg-linen: #f4efe6;
  --text-dark: #1f2326;
  --accent-bronze: #b07d3c;
  --glass-white: rgba(255, 255, 255, 0.95);
  --transition-smooth: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* home page styling */

.hero_container {
  height: 100vh;
  width: 100%;
  background-image: url(/images/Dramatic\ sunset\ over\ coastal\ fort.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 3%;
}

nav {
  border-bottom: 3px solid #c9954f;
  background-color: var(--charcoal);
  border-radius: 50px;
  width: 100%;
  min-height: 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 15px;
  position: fixed;
  z-index: 999;
  top: 0;
}

.adinkra {
  font-size: 40px;
  margin-right: 460px;
}

.com-logo {
  margin-left: 4%;
}
.com-logo a {
  color: #d5943f;
}
.special-logo {
  color: white;
}
nav ul {
  display: flex;
  justify-items: center;
}

nav ul li a {
  margin-left: 30px;
  font-size: 1rem;
  font-weight: 1200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  transition: color var(--transition);
  position: relative;
}
nav ul li {
  margin-left: 5px;
  margin-right: 40px;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: #ff9100;
  transform: scaleX(0);
  transition: transform var(--transition);
}
nav a:hover::after {
  transform: scaleX(1);
}
nav a:hover {
  color: #ff9100;
}
nav h2 a:hover {
  color: white;
}
.menu-toggle,
.hamburger {
  display: none;
}

.hero_flex_container {
  display: flex;
  justify-content: space-between;
}

.side_image img {
  /* height: vh; */
  width: 100%;
  margin-top: 60%;
  padding-left: 20%;
  margin-right: 20%;
}
.side_image {
  flex-basis: 50%;
}

.hero_texts_contents {
  padding: 20% 5%;
  color: var(--cream);
}

.hero_texts_contents h5 {
  font-size: 1.5rem;
}
.hero_texts_contents h1 {
  font-size: 6rem;
}
.hero_texts_contents p {
  font-size: 1.5rem;
  font-weight: 600;
  height: 50px;
}

.hero_texts_contents h5::after {
  content: "";
  position: absolute;
  bottom: px;
  left: 0;
  right: 0;
  margin-left: 80px;
  height: 3px;
  width: 12%;
  background: var(--bronze);
}

.hero_btn {
  margin-top: 30px;
  padding: 20px 40px;
  border: none;
  background-color: transparent;
  border-radius: 15px;
  border-bottom: 1px solid var(--cream);
  border-top: 1px solid var(--cream);
  box-shadow: 0 10px 20px rgba(162, 114, 2, 0.176);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero_btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.657);
}

.hero_btn:active {
  transform: translateY(-2px);
}

.hero_btn a {
  color: var(--bronze);
  font-weight: 600;
  font-size: 1rem;
}

.hero_btn2 {
  margin-top: 30px;
  padding: 20px 40px;
  border: none;
  background-color: transparent;
  border-radius: 15px;
  border-bottom: 1px solid var(--cream);
  border-top: 1px solid var(--cream);
  margin-left: 25px;
  box-shadow: 0 10px 20px rgba(162, 114, 2, 0.158);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.hero_btn2 a {
  color: var(--bronze);
  font-weight: 600;
  font-size: 1rem;
}

.hero_btn2:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.693);
}

.hero_btn2:active {
  transform: translateY(-2px);
}

.hero_buttom_design {
  width: 100%;
  height: 30px;
  border-top: 2px solid white;
  background-image: url(/images/background\ .jpg);
}

/* MEDIA QUERY for hero section */
/* Mobile Responsive Overrides */

@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
    border-radius: 0;
    flex-wrap: nowrap;
  }

  /* Hide the actual flag/adinkra if it's causing spacing issues on small screens */
  .adinkra {
    display: none;
  }

  /* Styling the Hamburger Icon */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 20px;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
  }

  /* The Dropdown Menu (Hidden by default) */
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Sits right below the nav bar */
    left: 0;
    width: 100%;
    background-color: var(--charcoal);
    border-bottom: 3px solid #c9954f;
    padding: 20px 0;
    text-align: center;
    z-index: 1000;
  }

  nav ul li {
    margin: 15px 0; /* Vertical spacing for touch targets */
  }

  /* THE MAGIC: When checkbox is checked, show the UL */
  .menu-toggle:checked ~ ul {
    display: flex;
  }

  /* Hide the checkbox itself */
  .menu-toggle {
    display: none;
  }

  /* Optional: Animate hamburger to an 'X' when checked */
  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
    border-radius: 0;
    flex-wrap: nowrap;
  }

  /* Hide the actual flag/adinkra if it's causing spacing issues on small screens */
  .adinkra {
    display: none;
  }

  /* Styling the Hamburger Icon */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 20px;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
  }

  /* The Dropdown Menu (Hidden by default) */
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Sits right below the nav bar */
    left: 0;
    width: 100%;
    background-color: var(--charcoal);
    border-bottom: 3px solid #c9954f;
    padding: 20px 0;
    text-align: center;
    z-index: 1000;
  }

  nav ul li {
    margin: 15px 0; /* Vertical spacing for touch targets */
  }

  /* THE MAGIC: When checkbox is checked, show the UL */
  .menu-toggle:checked ~ ul {
    display: flex;
  }

  /* Hide the checkbox itself */
  .menu-toggle {
    display: none;
  }

  /* Optional: Animate hamburger to an 'X' when checked */
  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
    border-radius: 0;
    flex-wrap: nowrap;
  }

  /* Hide the actual flag/adinkra if it's causing spacing issues on small screens */
  .adinkra {
    display: none;
  }

  /* Styling the Hamburger Icon */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 20px;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
  }

  /* The Dropdown Menu (Hidden by default) */
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Sits right below the nav bar */
    left: 0;
    width: 100%;
    background-color: var(--charcoal);
    border-bottom: 3px solid #c9954f;
    padding: 20px 0;
    text-align: center;
    z-index: 1000;
  }

  nav ul li {
    margin: 15px 0; /* Vertical spacing for touch targets */
  }

  /* THE MAGIC: When checkbox is checked, show the UL */
  .menu-toggle:checked ~ ul {
    display: flex;
  }

  /* Hide the checkbox itself */
  .menu-toggle {
    display: none;
  }

  /* Optional: Animate hamburger to an 'X' when checked */
  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  /* 1. Hero Container Adjustments */
  .hero_container {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.497), rgba(0, 0, 0, 0.649), black),
      url(/images/Dramatic\ sunset\ over\ coastal\ fort.png);
    padding-top: 5%;
    height: auto; /* Allow content to dictate height on mobile */
    min-height: 100vh;
  }

  /* 2. Nav Bar Fixes & Adinkra SVG Positioning */
  nav {
    padding: 10px 10px;
    justify-content: center; /* Center items on mobile */
    gap: 10px;
  }

  .adinkra {
    margin-right: 0; /* Remove the 27% desktop margin */
    display: flex;
    justify-content: center;
    order: 2; /* Position it between logo and menu if needed */
  }

  .com-logo {
    margin-left: 0;
    font-size: 1.2rem;
  }

  nav ul {
    width: 100%;
    justify-content: center;
    padding: 15px 0;
    gap: 10px;
  }

  nav ul li a {
    margin-left: 15px; /* Reduce spacing between links */
    font-size: 0.75rem;
  }

  /* 3. Hero Flex Container */
  .hero_flex_container {
    flex-direction: column; /* Stack vertically */
    text-align: center;
    padding-top: 20%;
  }

  /* 4. SPECIFICATION: Hide the side image on mobile */
  .side_image {
    display: none;
  }

  /* 5. Text Content Adjustments */
  .hero_texts_contents {
    padding: 55% 5%;
    flex-basis: 100%;
  }

  .hero_texts_contents h1 {
    font-size: 3rem; /* Scale down from 6rem */
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .hero_texts_contents p {
    font-size: 1.1rem;
    height: auto; /* Let text wrap naturally */
    margin-bottom: 40px;
  }

  /* 6. Button Adjustments */
  .hero_btn,
  .hero_btn2 {
    display: inline-block;
    width: 80%; /* Stack buttons or make them wider */
    margin-left: 0;
    margin-top: 15px;
    padding: 15px 30px;
  }
}

/* Extra small devices (Phones) */
@media (max-width: 480px) {
  .hero_texts_contents h1 {
    font-size: 2.5rem;
  }

  /* .hero_texts_contents{
    padding-bottom: 20%;
  } */
  nav ul li a {
    font-size: 0.65rem;
    margin-left: 8px;
  }
}

/* 2part of hero home section */

#grand_cont {
  
  height: 100vh;
  font-family: var(--main-font);
  background-image: url(/images/specialback_3page.png);
  background-position: center;
  justify-items: center;
  justify-content: center;
  align-items: center;
  align-content: center;
  /* Grey background to make the white card stand out */
}

/*  Layout & Single Background Card (Master Container) */
.big-six-master-container {
  padding: 60px;
  max-width: 1500px;
  /* margin: 80px auto; */
  background-color: #ffffff;
  border-radius: 30px;
  /* Matched to the soft curves in your Figma */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.23);
  position: relative;
}

/*  The Top Header Container (Pill Shape) */
.header-title-band {
  width: 100%;
  /* background-color: rgba(31, 35, 38, 0.9); */
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.547),
      rgba(0, 0, 0, 0.576),
      rgba(0, 0, 0, 0.527)
    ),
    url(/images/osagefo.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* Deep charcoal with opacity */
  color: #ffffff;
  text-align: center;
  padding: 50px 20px;
  box-sizing: border-box;
  border-radius: 30px;
  /* Strict pill/capsule shape from Figma */
  margin-bottom: 60px;
}

.header-title-band h2 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
}

.header-title-band p {
  color: #ffa52f;
  font-size: 1.2rem;
  margin-top: 8px;
  font-weight: 600;
}

/* 4. Content Grid */
.main-content-flex {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  /* Matches Figma 40/60 split */
  gap: 50px;
  align-items: start;
}

/* 5. Left Column: Image */
.image-box img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 6. Right Column: Animated Paragraphs */
.text-box {
  line-height: 1.8;
  color: #333;
  /* Initial state for fade-in */
  opacity: 0;
  transform: translateX(30px);
  /* Slides in from the right slightly */
  transition: all var(--transition);
}

/* Activation class added by JS */
.text-box.fade-in-visible {
  opacity: 1;
  transform: translateX(0);
}

.text-box p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  text-align: justify;
}

.highlight-text {
  font-weight: 700;
  color: var(--deep-charcoal);
}

/* Responsive */
@media (max-width: 992px) {
  .main-content-flex {
    grid-template-columns: 1fr;
  }

  .header-title-band h2 {
    font-size: 1.8rem;
  }

  #grand_cont {
    min-height: 150vh;
  }
  .big-six-master-container {
    padding: 30px;
    margin: 20px;
  }
}


/* legendary profile */
/* --- LEGENDARY PROFILE --- */
.leg-section-wrap {
  padding: 100px 5%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.807),rgba(0, 0, 0, 0.974),black),url(/images/specialback_3page.png);
  color: #ffffff;
  position: relative;
}

.leg-container {
  max-width: 1200px;
  margin: 0 auto;
}

.leg-header {
  text-align: center;
  margin-bottom: 60px;
}

.leg-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #df8919;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0;
}

.leg-sub-headline {
  font-size: 1.5rem;
  color: #f1ecec;
  font-style: italic;
  margin-top: 10px;
}

.leg-accent-line {
  width: 60px;
  height: 3px;
  background: #c9954f;
  margin: 20px auto;
}

/* Force visibility in case scroll-reveal script is missing */
.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.leg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.leg-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 149, 79, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.leg-card:hover {
  transform: translateY(-10px);
  border-color: #c9954f;
  background: rgba(201, 149, 79, 0.05);
}

.leg-card-img {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.leg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.6s ease;
}

.leg-card:hover .leg-card-img img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.leg-card-content {
  padding: 25px;
}

.leg-card-content h3 {
  margin: 0 0 10px 0;
  color: #fff;
  font-size: 1.4rem;
}

.leg-meta {
  font-size: 1rem;
  color: #aaa;
  margin: 5px 0;
}

.leg-read-btn {
  margin-top: 20px;
  padding: 12px 25px;
  background: transparent;
  border: 1px solid #c9954f;
  color: #c9954f;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
  width: 100%;
  transition: 0.3s;
}

.leg-read-btn:hover {
  background: #c9954f;
  color: #000;
}

/* MODAL STYLES */
.leg-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.leg-modal-card {
  background: #111;
  border: 1px solid #c9954f;
  max-width: 700px;
  width: 100%;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.leg-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #c9954f;
  cursor: pointer;
  line-height: 1;
}

/* 4part of hero home section  */

.main_pledge_container {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  /* background-color: var(--bg-linen); */
  color: var(--text-dark);
}

/* 1. Master Section with Watermark Background */
.pledge-section-container {
  position: relative;
  padding: 120px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  /* Using a subtle pattern to mimic the Figma watermark background */
  background-image: url("/images/specialback_3page.png");
  background-position: center;
  /* background-color: #f1ede4; */
}

/* 2. Top Typography */
.top-quote-text {
  max-width: 800px;
  font-size: 1.4rem;
  background: rgba(176, 126, 60, 0.201);
  border-radius: 15px;
  font-style: italic;
  padding: 20px 20px;
  line-height: 1.8;
  margin-bottom: 60px;
  color: #444;
  font-weight: 500;
}

.desire_ayira {
  color: #000;
}

/* 3. The Interactive Middle Card (Target for Slide-in) */
.patriotism-info-card {
  background: var(--glass-white);
  width: 100%;
  max-width: 1200px;
  padding: 60px;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.243);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 60px;
  z-index: 2;

  /* Initial state for Right Slide-in */
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Triggered by JS */
.patriotism-info-card.slide-active {
  opacity: 1;
  transform: translateX(0);
}

.patriotism-info-card h2 {
  font-size: 1.6rem;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-detail-item {
  margin-bottom: 30px;
  text-align: left;
}

.card-detail-item strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-style: italic;
}

.card-detail-item p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* 4. Bottom Pledge Section */
.pledge-footer-area {
  max-width: 800px;
}

.pledge-footer-area h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.national-pledge-text {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.9;
  color: #333;
  background: rgba(176, 126, 60, 0.201);
  padding: 20px;
  border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .patriotism-info-card {
    padding: 35px;
  }

  .top-quote-text {
    font-size: 1.1rem;
  }

  .pledge-section-container {
    padding: 80px 5%;
  }
}



/* home page sub contents video section*/
.home_sub {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.home_sub .container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}
.container video {
  width: 100%;
  object-fit: cover;
}
.background-clip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  object-fit: cover;
}

.home_sub::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.011);
  z-index: 2;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.063);
  z-index: 2;
}
.home_sub h2,
.home_sub p {
  color: rgb(44, 43, 43) !important;
  position: relative;
}


/* heritage  landmark section styling */

.heritage-section {
  min-height: 110vh;
  background-image: url(/images/section\ back.jpg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
  justify-items: center;
  padding-top: 40px;
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  line-height: 1.6;
}

.heritage-section.visible {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-header h1 {
  color: var(--burnished-bronze);
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  /* transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); */
}

.gold_select {
  background-color: #000000af;
  padding: 0 10px;
  color: #c77100;
  border-radius: 9px;
}

.section-header p {
  font-size: 1.5rem;
  background-color: #8a60287c;
  color: #f4efe6;
  border-radius: 12px;
}

.main-container {
  display: grid;
  grid-template-columns: 1.2fr 2.8fr;
  /* 30/70 split for card focus */
  gap: 80px;
  align-items: start;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 3. Intro Text Styling */
.intro-text p {
  font-size: 1.17rem;
  margin-bottom: 25px;
  color: #333;
  text-align: justify;
  /* transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); */
}

/* 4. Glassmorphism Card Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.landmark-card {
  position: relative;
  height: 350px;
  width: 500px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  /* Glass Core */
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.landmark-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.landmark-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.landmark-card:hover img {
  transform: scale(1.1);
}

/* Glassy Info Overlay */
.card-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  box-sizing: border-box;
  background: rgba(31, 35, 38, 0.474);
  /* Darker glass for text readability */
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.card-info h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.card-info .btn-label {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #c77100;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}



/* 5. Modal / Pop-up Styling */

/*  Refined Dark Glass Modal */
/* Scoped to Heritage Section to avoid global conflicts */
#heritageModal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none; /* JS toggles this to 'flex' */
    justify-content: center;
    align-items: center;
    z-index: 999999; /* Highest priority */
    padding: 20px;
    box-sizing: border-box;
}

#heritageModal .modal-glass-card {
    background: rgba(18, 18, 18, 0.95);
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(199, 113, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    animation: heritagePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

#heritageModalTitle {
    color: #c77100;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

#heritageModal .gold-divider {
    width: 40px;
    height: 3px;
    background: #c77100;
    margin-bottom: 20px;
}

#heritageModal .modal-scroll-viewport {
    overflow-y: auto;
    flex-grow: 1;
    margin-top: 15px;
    padding-right: 15px;
}

#heritageModalBody {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin: 0;
}

#heritageModal .heritage-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: #c77100;
    cursor: pointer;
    transition: 0.3s;
}

#heritageModal .heritage-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* Scrollbar Styling */
#heritageModal .modal-scroll-viewport::-webkit-scrollbar { width: 4px; }
#heritageModal .modal-scroll-viewport::-webkit-scrollbar-thumb { background: #c77100; border-radius: 10px; }

@media (max-width: 600px) {
    #heritageModal .modal-glass-card { padding: 30px 20px; max-height: 75vh; }
}



/* Responsive Design */
@media (max-width: 1100px) {
  .main-container {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.intro-text p {
  font-size: 1.12rem;
  margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 600px) {
  .heritage-section {
    padding: 60px 5%; /* Reduce padding to save screen real estate */
  }

  .section-header h1 {
    font-size: 1.8rem; /* Scale down the heading size */
  }

  .cards-grid {
    /* Single column so cards take full width of the screen */
    grid-template-columns: 1fr;
  }

  .landmark-card {
    height: 300px; /* Slightly shorter cards for mobile scrolling */
  }

  .intro-text p {
    text-align: center;
    font-size: 1rem;
    padding-left: 3px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
  }
}



/* tapestry section styling */

#our_herit {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--bg-linen);
  overflow-x: hidden;
}

/* 1. Section Architecture */
.cultural-tapestry-section {
  padding: 120px 10%;
  min-height: 400vh;
  /* High VH to contain all 5 distinct culture blocks */
  display: flex;
  flex-direction: column;
  gap: 150px;
  /* Space between each cultural story */
}

.tapestry-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 100px;
}

.tapestry-intro h1 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.tapestry-intro p {
  font-size: 1.5rem;
}

/* 2. Modern Cultural Card System */
.culture-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  opacity: 0;
  /* Hidden initially for scroll effect */
  transform: translateY(100px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Alternating Layout: Image on Right for even rows */
.culture-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.culture-row.reverse .culture-image-card {
  order: 2;
}

.culture-row.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* 3. The Interactive Image Card */
.culture-image-card {
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.culture-image-card:hover {
  transform: scale(1.03);
}

.culture-image-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

/* Play Icon Overlay */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.culture-image-card:hover .play-overlay {
  opacity: 1;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--accent-bronze);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 0 20px rgba(176, 125, 60, 0.5);
}

/* 4. Content Styling */
.culture-text h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  border-left: 5px solid var(--accent-bronze);
  padding-left: 20px;
}

.culture-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #444;
  text-align: justify;
}

/* 5. Video Modal (Pop-up) */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
}

.modal-container {
  width: 90%;
  max-width: 1000px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .culture-row,
  .culture-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .culture-row.reverse .culture-image-card {
    order: 0;
  }

  .cultural-tapestry-section {
    padding: 80px 5%;
  }
}

/* styles for the gallery section page */

#exclusive-gallery-area {
  position: relative;
  min-height: 400vh;
  /* High VH for perfect spacing */
  padding: 100px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url("https://i.pinimg.com/1200x/e5/52/57/e55257737d7d4821147d3bc67385818e.jpg")
    center/cover no-repeat fixed;
  overflow-x: hidden;
  font-family: "Segoe UI", Roboto, sans-serif;
  color: white;
}

/* 2. CORE GLASSMORPHISM STYLE (The Shared Look) */
.glass-core {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 3. INDEPENDENT HEADER CONTAINER */
.exclusive-header-container {
  padding: 50px;
  border-radius: 30px;
  margin-bottom: 80px;
  width: 100%;
  max-width: 1300px;
  align-items: center;
}

.header-tag {
  font-size: 14px;
  opacity: 0.8;
  letter-spacing: 2px;
  text-transform: lowercase;
}

.gallery-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin: 10px 0;
  line-height: 1.1;
}

.gallery-title span {
  color: #f39c12;
}

.gallery-subtitle {
  font-size: 1.2rem;
  opacity: 0.7;
  font-weight: 300;
}

/* 4. MASONRY GRID (13 Cards) */
.exclusive-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: 30px;
  /* Modern Trendy Spacing */
  width: 100%;
  max-width: 1400px;
}

.premium-asset-card {
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  /* Animation Initial State */
  opacity: 0;
  transform: translateX(-120px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-asset-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.premium-asset-card:hover img {
  transform: scale(1.1);
}

/* Animation Class */
.premium-asset-card.gallery-activated {
  opacity: 1;
  transform: translateX(0);
}

.c1,
.c2,
.c3,
.c5,
.c7,
.c12,
.c13,
.c14,
.c15,
.c17,
.c20,
.c21,
.c23 {
  grid-row: span 2;
}
.c4,
.c8,
.c10,
.c18 {
  grid-row: span 3;
}
.c6,
.c11,
.c16,
.c22 {
  grid-column: span 2;
  grid-row: span 2;
}
.c9,
.c19 {
  grid-column: span 2;
  grid-row: span 3;
}

/* Bottom Wide */

/* 6. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .exclusive-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .c6,
  .c9,
  .c11 {
    grid-column: span 2;
  }

  .c6,
  .c9,
  .c11,
  .c16 {
    grid-column: span 2;
  }

  .c6,
  .c9,
  .c11,
  .c16,
  .c19,
  .c22 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  #exclusive-gallery-area {
    min-height: auto;
    padding: 50px 5%;
  }

  .exclusive-header-container {
    padding: 30px;
    margin-bottom: 40px;
  }

  .gallery-title {
    font-size: 2.2rem;
  }

  .exclusive-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Reset spans for mobile to keep items uniform but clean */
  .premium-asset-card {
    grid-column: span 1 !important;
    grid-row: span 2 !important;
  }

  .wide-mobile {
    grid-column: span 2 !important;
  }
}

/* stylyin for the map section for landmarks */

/* SECTION STYLING */
#landmark-map-section {
  padding: 100px 5%;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.glass-core {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-header-container {
  padding: 50px;
  border-radius: 30px;
  margin-bottom: 50px;
  width: 100%;
  max-width: 1300px;
  text-align: left;
}

.header-tag {
  color: #f39c12;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.gallery-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.gallery-title span {
  color: #f39c12;
}

.gallery-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* MAP CANVAS */
#map {
  width: 100%;
  max-width: 1300px;
  height: 600px;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* HIGH PROFILE POPUP UI */
.leaflet-popup-content-wrapper {
  background: rgba(25, 25, 25, 0.9) !important;
  backdrop-filter: blur(15px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 280px !important;
}

.popup-image-container {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.popup-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-info {
  padding: 15px;
  color: white;
}

.popup-info h3 {
  font-size: 1.2rem;
  color: #f39c12;
  margin-bottom: 5px;
}

.popup-info p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 12px;
  line-height: 1.4;
}

.popup-btn {
  width: 100%;
  padding: 10px;
  background: #f39c12;
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: bold;
  transition: 0.3s ease;
}

/* .popup-btn:hover {
  background: #e67e22;
  transform: translateY(-2px);
} */

/* INFO MODAL STYLING (For Preview) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  max-width: 500px;
  padding: 40px;
  border-radius: 25px;
  text-align: center;
  color: white;
}

/* stylyin for the map section for regions,leaders ,occupations */

#regional-node {
  padding: 80px 5%;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#region-map {
  width: 100%;
  max-width: 1300px;
  height: 750px;
  border-radius: 40px;
  background: #111;
  border: 1px solid rgba(243, 156, 18, 0.2);
  z-index: 1;
}
.source-citation {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* POPUP UI */
.region-popup {
  width: 320px;
  color: white;
  padding: 5px;
}
.live-preview-box {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid #f39c12;
  position: relative;
  overflow: hidden;
}
.live-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff0000;
  color: white;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}
.stat-item label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
  text-transform: uppercase;
}
.stat-item span {
  font-size: 0.9rem;
  font-weight: bold;
  color: #f39c12;
}

.leader-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.leader-chip {
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.3);
  color: #f39c12;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
}

/* quiz section stlye */

.quiz-viewport {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.483),
      rgba(0, 0, 0, 0.504),
      rgba(0, 0, 0, 0.888)
    ),
    url(https://i.pinimg.com/1200x/db/ff/72/dbff727aadd6e3a778af79b519f5fe4c.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px;
}

.quiz-glass-card {
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 50px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Triggered class for scroll animation */
.quiz-glass-card.show {
  transform: translateY(0);
  opacity: 1;
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
}

.progress-fill {
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 10px;
  transition: width 0.5s ease;
}

#question-text {
  font-size: 1.8rem;
  color: white;
  margin: 30px 0;
  line-height: 1.3;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 25px;
  border-radius: 15px;
  color: white;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}

.option-btn:hover {
  background: rgba(243, 156, 18, 0.2);
  border-color: #f39c12;
}

/* Success UI */
.success-node {
  text-align: center;
  animation: fadeIn 0.8s ease forwards;
}

.success-node p,
h2 {
  color: #ffffff;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.akwaaba-text {
  margin-top: 30px;
  font-size: 3rem;
  color: #f39c12;
  font-weight: 900;
  letter-spacing: 2px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* documentation section style */

#national-heritage-editorial {
  padding: 100px 5%;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.685),
      rgba(0, 0, 0, 0.632),
      rgba(0, 0, 0, 0.584)
    ),
    url(/images/specialback_3page.png);
  font-family: "Georgia", serif; /* Classic newspaper feel */
}

.editorial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 4px; /* Sharper edges for paper feel */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 126, 60, 0.438);
  position: relative;
}

.editorial-header {
  text-align: center;
  margin-bottom: 50px;
}

.editorial-date {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #b07d3c;
  font-size: 0.8rem;
}

.editorial-main-title {
  font-size: 3.5rem;
  color: #ffffff;
  margin: 20px 0;
  font-family: "Times New Roman", serif;
}

.editorial-main-title span {
  color: #b07d3c;
  font-style: italic;
}

.editorial-divider {
  height: 4px;
  border-top: 1px solid #b07d3c;
  border-bottom: 1px solid #b07d3c;
  margin: 20px 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.editorial-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 20px;
}

.philosophy-box h3 {
  color: #b07d3c;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.quote-block {
  margin-top: 40px;
  font-size: 1.2rem;
  font-style: italic;
  color: #fff;
  border-left: 3px solid #b07d3c;
  padding-left: 15px;
}

.drop-cap::first-letter {
  float: left;
  font-size: 5rem;
  line-height: 1;
  padding-right: 12px;
  color: #b07d3c;
  font-family: "Times New Roman", serif;
}
.drop-cap {
  color: #ffffff;
}

.news-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  text-align: justify;
}

.sub-article h4 {
  background: #b07d3c;
  color: #000;
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.sub-article h5 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.sub-article p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.editorial-footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .news-columns {
    grid-template-columns: 1fr;
  }
  .editorial-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }
}

/* adinkra and national athem section style */

#spirit-lexicon-node {
  padding: 80px 5%;
  background: #0a0a0ada;
}

/* Anthem Card */
.anthem-glass-card {
  max-width: 750px;
  margin: 0 auto 80px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(176, 125, 60, 0.3);
  border-radius: 25px;
  padding: 30px;
}

.getlabel {
  color: #c08507;
}

.anthem-info {
  color: #ffffff;
}
.ayira_text {
  color: #ede7da;
  font-size: x-large;
}

.section-title {
  font-size: x-large;
}

.player-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

.glow-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #b07d3c;
  border: none;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.subtitle-box {
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  min-height: 40px;
}

#active-lyric-line {
  font-style: italic;
  color: #b07d3c;
  font-size: 1.1rem;
}

/* Adinkra Glass Cards */
.glass-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.adinkra-glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  transition:
    transform 0.4s ease,
    border 0.4s ease;
}

.adinkra-glass-card:hover {
  transform: translateY(-10px);
  border-color: #b07d3c;
  background: rgba(255, 255, 255, 0.05);
}

.symbol-img-box {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol-img-box img {
  width: 80%;
  height: auto;
  filter: invert(1); /* Makes black SVGs white */
}

.adinkra-glass-card h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.adinkra-glass-card .meaning {
  font-size: 0.9rem;
  color: #b07d3c;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.adinkra-glass-card .desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  line-height: 1.5;
}

/* contact page style */

#heritage-contact-node {
  padding: 100px 5%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.666), rgba(0, 0, 0, 0.889), black),
    url(/images/specialback_3page.png);
  position: relative;
  overflow: hidden;
}

.glass-contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.main-contact-title {
  font-size: 3rem;
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
}

.contact-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
}

/* Sidebar Glass */
.contact-sidebar {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(171, 106, 0, 0.305);
  border-radius: 25px;
  padding: 40px;
}

.contact-sidebar h2 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: #fff;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}
.info-icon {
  color: #4caf50;
  font-size: 1.2rem;
}
.info-item a {
  color: inherit;
  text-decoration: none;
}

/* Form Elements */
.contact-main-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .input-row {
    grid-template-columns: 1fr;
  }
  .contact-dual-grid {
    grid-template-columns: 1fr;
  }
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #ccc;
}
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.contact-submit-btn {
  width: fit-content;
  padding: 12px 40px;
  background: transparent;
  border: 2px solid #4caf50;
  color: #4caf50;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.contact-submit-btn:hover {
  background: #4caf50;
  color: #fff;
}

/* Success Popup */
.spirit-overlay-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #4caf50;
  padding: 50px;
  border-radius: 30px;
  text-align: center;
  max-width: 500px;
  backdrop-filter: blur(20px);
}

.akwaaba-text {
  color: #f39c12;
  font-weight: bold;
  font-size: 1.4rem;
  margin-top: 20px;
}

.project-msg {
  color: #ffffff;
}

.the_key {
  color: #ffffff;
}

/* footer section */

.hub-footer {
  width: 100%;
  clear: both;
  position: relative;
  z-index: 10;
}

.footer-top-banner {
  background-color: #f7f1e3;
  padding: 60px 5%;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 15px;
}
.pillar img {
  width: 60px;
  height: 60px;
}
.pillar h3 {
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #222;
  margin: 0;
}
.pillar p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

.footer-bottom-panel {
  background-color: #121212;
  color: white;
  padding: 80px 5% 20px;
}

.panel-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h5 {
  font-size: 0.9rem;
  margin-bottom: 25px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.footer-links li {
  margin: 0 0 12px 0 !important;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.99rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #c9954f;
}

.brand-col {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.f-logo {
  width: 45px;
  filter: invert(0.8);
}
.f-brand-text h4 {
  margin: 0 0 5px;
  font-size: 1rem;
}
.f-brand-text p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}
.pillar p {
  font-size: large;
}

.source-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}
.source-links a {
  font-size: 1.05rem;
  color: #868585;
  text-decoration: none;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 1.09rem;
  color: #444;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Ensure footer links don't try to hide or become a dropdown */
  .footer-links {
    display: block !important;
    position: static !important;
    background: transparent !important;
    width: auto !important;
  }
}



/* 
Adinkra documentation section style */
/* --- HISTORY EDITORIAL NAMESPACING --- */
.hist-section-wrap {
  padding: 120px 5%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.541),rgba(0, 0, 0, 0.898),rgba(0, 0, 0, 0.948)),url(/images/aesthetic\ woman.jpg); /* Deep contrast for the parchment text */
  overflow: hidden;
}

.hist-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hist-header {
  text-align: center;
  margin-bottom: 60px;
}
.hist-category {
  color: #c9954f;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
}
.hist-main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin: 20px 0;
  font-family: "Playfair Display", serif;
}
.hist-divider {
  width: 80px;
  height: 4px;
  background: #c9954f;
  margin: 0 auto;
}

/* Grid Layout */
.hist-content-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Typography */
.hist-main-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 1.1rem;
}
.hist-dropcap {
  float: left;
  font-size: 5rem;
  line-height: 1;
  font-weight: bold;
  color: #c9954f;
  margin-right: 15px;
}
.hist-main-text h3 {
  color: #fff;
  margin-top: 40px;
  font-size: 1.5rem;
}

.hist-quote {
  border-left: 4px solid #c9954f;
  padding-left: 30px;
  margin: 40px 0;
  font-style: italic;
  color: #fff;
  font-size: 1.3rem;
}

/* Sidebar Card */
.hist-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 149, 79, 0.2);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.hist-card h4 {
  color: #c9954f;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hist-fact-list {
  list-style: none;
  padding: 0;
}
.hist-fact-list li {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.hist-graphic-box {
  text-align: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

.oya{
  font-size:1rem ;
  color: #ffffffa6;
}
.hist-floating-svg {
  width: 100px;
  opacity: 1;
  margin-bottom: 10px;
  animation: float 6s infinite ease-in-out;
  filter: invert(1) brightness(2);
}

/* --- SCROLL REVEAL ANIMATION --- */
.Reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.Reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 900px) {
  .hist-content-grid {
    grid-template-columns: 1fr;
  }
}





/* general media query   */

/* --- UNIVERSAL TABLET & MOBILE FIX (Surface Pro 7, iPad Mini, Phones) --- */
@media (max-width: 912px) {

    /* 1. Make the navigation stick to the top */
    .nav_hold {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999; /* Stay above videos and maps */
        background-color: var(--charcoal); /* Prevents transparency issues while scrolling */
        padding: 5px 0;
    }

    /* 2. Center the Logo, Flag, and Hamburger & Remove Border Radius */
    nav {
        border-radius: 0 !important; /* Sharp edges for mobile */
        display: flex;
        justify-content: center; /* Center the group */
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 10px 0;
    }

    /* 3. Perfect Spacing for centered elements */
    .com-logo {
        margin: 0 15px;
        font-size: 1.1rem;
    }

    .adinkra {
        display: block !important;
        margin: 0 15px !important;
        font-size: 25px;
    }

    .hamburger {
        display: flex !important; /* Force visibility */
        margin: 0 15px;
    }

    /* 4. Hide original Nav links (UL) */
    nav ul {
        display: none; /* Keep hidden until menu-toggle is checked */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--charcoal);
        border-bottom: 2px solid var(--bronze-light);
        padding: 20px 0;
    }

    /* Logic to show links when hamburger is clicked */
    .menu-toggle:checked ~ ul {
        display: flex;
    }

    /* 5. Hide the Hero Side Image on all mobile/tablet sizes */
    .side_image {
        display: none !important;
    }

    /* 6. Adjust Hero Section so it doesn't hide under the fixed Nav */
    #home {
        padding-top: 80px; /* Offset for the fixed header */
    }

    .hero_flex_container {
        flex-direction: column;
        text-align: center;
    }

    .hero_texts_contents {
        padding: 40px 5%;
    }

    .hero_texts_contents h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    /* Button adjustments for touch screens */
    .hero_btn, .hero_btn2 {
        width: 80%;
        margin: 10px auto;
        display: block;
    }

    .card-info{
      align-items: center;
      justify-content: center;
      align-content: center;
      justify-items: center;
    }
    .btn-label{
      margin-left: 165px;
    }

  .intro-text p{
    color: #ffffff;
    background-color: #242424b4;
  }
  
}