@media (min-width: 526px) and (max-width: 760px) {
  .hero-section {
    padding-top: 130px;
    /* Increased to fully clear fixed navbar and show hero section */
  }
}

:root {
  --italic-font: "Playwrite AU QLD", cursive;
  /* --line-font: "Playwrite MX Guides", cursive; */
  --green-color: #025323;
  --heading-one: 35px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 85px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Poppins", sans-serif;
}

/* ==========================================================================
   FLAGSHIP ULTRA-PREMIUM NAVBAR & GLASSMORPHISM DESIGN
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid #025323;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 15px rgba(2, 83, 35, 0.2);
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(2, 83, 35, 0.4));
  transition: transform 0.4s ease;
}

.logo-container:hover .logo-img {
  transform: rotate(15deg) scale(1.1);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.font-change {
  font-size: 20px;
  font-weight: 800;
  color: #025323 !important;
  letter-spacing: 0.5px;
  text-shadow: none;
}

.header-tag {
  font-size: 9px;
  color: #025323 !important;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(2, 83, 35, 0.1);
  border: 1px solid #025323;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
  width: fit-content;
}

.navbar ul.nav-link {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 10px;
}

.navbar ul.nav-link li {
  border: none;
  padding: 0;
}

.navbar ul.nav-link li a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #025323 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 30px;
  background: #f0f7f2;
  border: 1.5px solid #025323;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar ul.nav-link li a i {
  font-size: 13px;
  color: #025323 !important;
  transition: transform 0.3s ease;
}

.navbar ul.nav-link li a:hover {
  background: #025323 !important;
  color: #ffffff !important;
  border-color: #025323;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(2, 83, 35, 0.4);
}

.navbar ul.nav-link li a:hover i {
  color: #ffd700 !important;
  transform: scale(1.2);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #025323;
  color: #025323;
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}



/* hero section */
.hero-section {
  width: 100%;
  min-height: 550px;
  margin-top: 0;
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding-top: 110px;
  /* Increased to fully clear fixed header */
  box-sizing: border-box;
}

@media (max-width: 525px) {

  .hero-section {
    padding-top: 60px;
    /* Use smaller padding for mobile */
  }

  .navbar ul.nav-link li {
    padding: 2px 6px;
  }

  .navbar ul.nav-link {
    gap: 5px;
  }
}

@media (max-width: 1024px) and (min-width: 526px) {
  .hero-section {
    flex-direction: column;
    min-height: 600px;
    padding-top: 90px;
    padding-bottom: 30px;
    gap: 30px;
  }

  .hero-section .hero-text {
    width: 90vw;
    max-width: 420px;
    margin: 0 auto;
    padding: 22px 18px;
    font-size: 16px;
    gap: 18px;
  }

  .hero-section .leader {
    width: 90vw;
    max-width: 480px;
    margin: 0 auto;
    gap: 18px;
  }

  .hero-section .hero-text h1 {
    font-size: 2rem;
  }

  .hero-section .hero-text p {
    font-size: 1rem;
  }

  .hero-section .features {
    gap: 10px;
  }

  .hero-section .features div {
    width: 70px;
    height: 70px;
  }

  .hero-section .features video {
    width: 65px;
    height: 65px;
  }

  .leader div img {
    width: 100px;
    height: 120px;
  }

  .leader div h4 {
    font-size: 15px;
  }
}

@media (max-width: 768px) and (min-width: 526px) {
  .hero-section {
    flex-direction: column;
    min-height: 500px;
    padding-top: 130px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    gap: 20px;
  }

  .hero-section .hero-text {
    width: 95vw;
    max-width: 350px;
    padding: 15px 10px;
    font-size: 15px;
    gap: 12px;
  }

  .hero-section .leader {
    width: 95vw;
    max-width: 350px;
    gap: 10px;
  }

  .hero-section .hero-text h1 {
    font-size: 1.3rem;
  }

  .hero-section .hero-text p {
    font-size: 0.95rem;
  }

  .hero-section .features div {
    width: 50px;
    height: 50px;
  }

  .hero-section .features video {
    width: 45px;
    height: 45px;
  }

  .leader div img {
    width: 70px;
    height: 80px;
  }

  .leader div h4 {
    font-size: 12px;
  }
}

.hero-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Hero Container Layout (Left Text & Right Staggered Capsule Pillars) */
.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 110px 25px 50px 25px;
}

.hero-left-content {
  flex: 1;
  max-width: 520px;
  background: rgba(5, 5, 5, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 35px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.hero-left-content .hero-badge {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.hero-left-content .hero-text-heading {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
  text-align: center;
  white-space: normal;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-left-content .hero-text-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
  text-align: center;
}

.hero-left-content .hero-action-group {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 5px;
}

.hero-left-content .herobtn {
  color: #013817;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  transition: all 0.3s ease;
  border: 1px solid #ffd700;
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.hero-left-content .herobtn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.55);
}

.hero-left-content .features {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.hero-left-content .features div {
  width: 85px;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.hero-left-content .features div:hover {
  transform: scale(1.12);
}

.hero-left-content .features video {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  object-fit: cover;
  position: relative;
  z-index: 5;
  cursor: pointer;
}

/* Staggered Infinite Vertical Carousel Pillars */
.hero-capsules-container {
  flex: 1.15;
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: flex-start;
  height: 480px;
  overflow: hidden;
  position: relative;
  /* Smooth invisible fade out at top and bottom edges */
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}

.capsule-column {
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* Side Pillars (Left & Right) - Slightly Shorter Pills */
.side-capsule-col {
  width: 106px;
}

.side-capsule-col .capsule-card {
  height: 140px;
  width: 106px;
  border-radius: 50px;
}

/* Center Pillar - Taller Hero Featured Capsules */
.center-capsule-col {
  width: 122px;
}

.center-capsule-col .capsule-card {
  height: 175px;
  width: 122px;
  border-radius: 65px;
}

/* Staggering vertically: Column 1 & 3 offset UP, Column 2 (center) offset DOWN */
.col-stagger-up {
  transform: translateY(-20px);
}

.col-stagger-down {
  transform: translateY(20px);
}

.capsule-track-up {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: scrollCapsuleUp 26s linear infinite;
}

.capsule-track-down {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: scrollCapsuleDown 26s linear infinite;
}

/* Pause carousel animation when user hovers over the capsules container */
.hero-capsules-container:hover .capsule-track-up,
.hero-capsules-container:hover .capsule-track-down {
  animation-play-state: paused;
}

@keyframes scrollCapsuleUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollCapsuleDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.capsule-card {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  background: #012614;
}

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

.capsule-card:hover {
  transform: scale(1.08);
  z-index: 10;
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.55);
}

.capsule-card:hover img {
  transform: scale(1.12);
}

/* Color glowing borders for each pill capsule */
.gold-border {
  border: 2.5px solid #ffd700;
}

.orange-border {
  border: 2.5px solid #ff9900;
}

.green-border {
  border: 2.5px solid #00ff66;
}

.emerald-border {
  border: 2.5px solid #00c853;
}

.purple-border {
  border: 2.5px solid #a855f7;
}

.cyan-border {
  border: 2.5px solid #06b6d4;
}

.red-border {
  border: 2.5px solid #ff3366;
}

.blue-border {
  border: 2.5px solid #3b82f6;
}

.lime-border {
  border: 2.5px solid #84cc16;
}

.amber-border {
  border: 2.5px solid #f59e0b;
}

/* Floating Title Badge inside Capsule */
.capsule-title {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffd700;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 4px 2px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* Responsive Breakpoints for Staggered Pills */
@media (max-width: 1050px) {
  .hero-container {
    flex-direction: column;
    padding-top: 90px;
    gap: 30px;
  }

  .hero-capsules-container {
    flex: none !important;
    height: 450px !important;
    max-height: 450px !important;
    width: 100%;
  }

  .hero-left-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-left-content .hero-text-heading {
    text-align: center;
  }

  .hero-left-content .hero-action-group {
    justify-content: center;
  }

  .hero-left-content .features {
    justify-content: center;
  }

  .col-stagger-down,
  .col-stagger-up {
    transform: translateY(0);
  }

  .capsule-column.side-capsule-col,
  .capsule-column.center-capsule-col {
    width: 115px;
    gap: 15px;
  }

  .side-capsule-col .capsule-card,
  .center-capsule-col .capsule-card {
    height: 160px;
    width: 115px;
    border-radius: 60px;
  }
}

@media (max-width: 580px) {
  .hero-capsules-container {
    gap: 8px;
    height: 320px !important;
    max-height: 320px !important;
    flex: none !important;
    width: 100%;
  }

  .col-stagger-up,
  .col-stagger-down {
    transform: none !important;
  }

  .capsule-column.side-capsule-col {
    width: 70px;
  }
  .side-capsule-col .capsule-card {
    height: 105px;
    width: 70px;
    border-radius: 35px;
  }

  .capsule-column.center-capsule-col {
    width: 80px;
  }
  .center-capsule-col .capsule-card {
    height: 125px;
    width: 80px;
    border-radius: 40px;
  }

  .capsule-title {
    font-size: 8px;
    padding: 2px;
  }
}

.leader-images-wrapper div:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
}

.leader-images-wrapper div img {
  width: 130px;
  height: 170px;
  border-radius: 8px;
  object-fit: cover;
}

.leader-images-wrapper div h4 {
  font-family: var(--italic-font);
  font-size: 14px;
  color: #ffd700;
}

/* History of Pakistan Section (Pure White Theme) */
.history {
  width: 100%;
  background: #ffffff !important;
  padding: 75px 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-top: 3.5px solid #025323;
  border-bottom: 3.5px solid #025323;
}

.pakheading {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  font-family: var(--italic-font);
  color: #013817 !important;
  text-shadow: 0 2px 10px rgba(1, 56, 23, 0.1);
  margin-bottom: 10px;
}

.history-container {
  max-width: 1300px;
  margin: 30px auto 0;
}

.history-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 25px;
}

.history-card {
  flex: 1;
  min-width: 320px;
  min-height: 250px;
  background: #f4fbf6;
  border: 2px solid rgba(2, 83, 35, 0.25);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(2, 83, 35, 0.08);
  display: flex;
  padding: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.history-card:hover {
  transform: translateY(-8px);
  border-color: #025323;
  box-shadow: 0 20px 45px rgba(2, 83, 35, 0.2);
}

.card-content {
  width: 60%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#his-heading, #his-heading1 {
  text-align: left;
  font-family: var(--italic-font);
  font-size: 22px;
  font-weight: 800;
  color: #013817 !important;
  margin-bottom: 10px;
  text-shadow: none;
}

.card-content p, #his-paragraph1 {
  font-family: 'Inter', sans-serif;
  color: #333333 !important;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}

.card-media {
  width: 40%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 2.5px solid #025323;
  box-shadow: 0 8px 20px rgba(2, 83, 35, 0.15);
}

.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Responsive Adjustments */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .navbar {
    gap: 10px;
  }

  .history-row {
    flex-direction: column;
  }

  .history-card {
    width: 100%;
    height: auto;
    flex-direction: column;
  }

  .card-content,
  .card-media {
    width: 100%;
  }

  .card-media {
    height: 200px;
    margin-top: 10px;
  }

  .card-media video {
    border-radius: 10px;
  }

  #his-heading1 {
    font-size: 16px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .his-heading {
    font-size: 20px;
  }


  .card-content p {
    font-size: 12px;
  }

  .card-media {
    height: 150px;
  }
}

/* Large Screens (Adjustments for original layout) */
@media (min-width: 1200px) {
  .history-row:first-child {
    display: flex;
    justify-content: space-between;
  }

  .history-row:first-child .history-card {
    width: calc(50% - 10px);
  }

  .history-row:last-child .history-card {
    width: 100%;
  }
}








/* animation part */

.headinghisdiv {
  display: flex;
  justify-content: center;
}

.scroll-text {
  /* background: linear-gradient(90deg, #006400, #008333); */
  color: var(--green-color);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-top: 3px solid #ffffff33;
  border-bottom: 3px solid #ffffff33;
}

.scroll-text h1 {
  animation: scroll 20s linear infinite;
  display: inline-block;
  padding-left: 100%;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

@keyframes scroll {
  0% {
    transform: translateX(-10%);
  }

  100% {
    transform: translateX(-100%);
  }
}

#historyheading {
  display: block;
  animation: bounce 1.5s ease infinite;
  font-family: cursive;
  color: #025323;
  text-align: center;
  font-size: 30px;
  display: inline-block;
  margin-top: 10px;

  border-bottom: 1px solid var(--green-color);
}

@keyframes bounce {
  0% {
    transform: translateY(0);
    /* Normal position */
  }

  60% {
    transform: translateY(-9px);
  }
}

.hero-text-heading {
  animation: hero-heading-animation 1s ease-in-out;
}

@keyframes hero-heading-animation {
  0% {
    transform: translateY(-50px);
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: translateY(0);
  }
}

.hero-text-text {
  animation: hero-text-text 1.5s ease-in-out;
}

@keyframes hero-text-text {
  0% {
    transform: translateX(-30px);
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: translateX(0);
  }
}

.features-video-one {
  animation: features-video-one 1.5s ease-in-out;
}

@keyframes features-video-one {
  0% {
    transform: translateX(-30px);
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: translateX(0);
  }
}

.features-video-two {
  animation: features-video-two 1.5s ease-in-out;
}

@keyframes features-video-two {
  0% {
    transform: translateY(30px);
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: translateY(0);
  }
}

.features-video-three {
  animation: features-video-three 1.5s ease-in-out;
}

@keyframes features-video-three {
  0% {
    transform: translateX(30px);
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: translateX(0);
  }
}

.font-change {
  animation: font-change 1.5s ease-in-out;
}

@keyframes font-change {
  0% {
    transform: translateY(-50px);
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: translateX(0);
  }
}

.leader-image {
  animation: leader-image 1.5s ease-in-out;
}

@keyframes leader-image {
  0% {
    transform: rotateY(90deg);
    opacity: 0;
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

.his-heading {
  animation: his-heading 5s ease-in-out;
}

@keyframes his-heading {
  0% {
    transform: rotateY(90deg);
    opacity: 0;
    /* transform-origin: (0%,50%); */
  }

  100% {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

.event-div {
  width: 100%;
  background: #ffffff !important;
  padding: 75px 20px;
  color: #013817;
  position: relative;
  overflow: hidden;
  border-top: 3.5px solid #025323;
  border-bottom: 3.5px solid #025323;
}

.event-div h1 {
  font-size: 36px;
  color: #013817 !important;
  padding: 0 0 25px 0;
  text-align: center;
  font-family: var(--italic-font);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(1, 56, 23, 0.1);
}

.event-div .inside-event-div {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

.event-div .inside-event-div .event-div-first {
  width: 275px;
  min-height: 380px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  border-radius: 22px;
  background: #f4fbf6;
  border: 2px solid rgba(2, 83, 35, 0.25);
  box-shadow: 0 12px 35px rgba(2, 83, 35, 0.08);
  padding: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.event-div .inside-event-div .event-div-first:hover {
  transform: translateY(-8px);
  border-color: #025323;
  box-shadow: 0 20px 45px rgba(2, 83, 35, 0.2);
}

.event-div .event-div-first div {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid #025323;
  box-shadow: 0 6px 18px rgba(2, 83, 35, 0.12);
}

.event-div .event-div-first div video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.event-div .event-div-first h5:first-of-type {
  font-size: 18px;
  font-weight: 800;
  color: #013817 !important;
  text-align: center;
  margin-top: 4px;
  text-shadow: none;
}

.event-div .event-div-first h5:nth-of-type(2) {
  font-size: 13px;
  font-weight: 800;
  color: #013817 !important;
  background: rgba(2, 83, 35, 0.1);
  border: 1.5px solid #025323;
  padding: 4px 16px;
  border-radius: 20px;
  text-align: center;
}

.event-div .event-div-first p {
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: #333333 !important;
}

.gallery-outside {
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.gallery-heading {
  color: #ffffff;
  font-family: var(--italic-font, "Georgia", serif);
  font-size: 36px;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.gallery-container {
  width: 90%;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.intro-column {
  width: 22%;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-title {
  color: #ffd700;
  font-family: var(--italic-font, "Georgia", serif);
  font-size: 22px;
}

.intro-text {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 14px;
}

.intro-grid {
  display: grid;
  gap: 12px;
}

.intro-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.masonry {
  flex: 1;
  column-count: 4;
  column-gap: 16px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #ffd700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  .gallery-container {
    width: 95%;
  }

  .masonry {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .gallery-container {
    flex-direction: column;
  }

  .intro-column {
    width: 100%;
  }

  .masonry {
    column-count: 2;
  }
}

@media (max-width: 520px) {
  .masonry {
    column-count: 1;
  }
}

@media (max-width: 526px) {




  /* media queries end  for header part  */

  /* media queries for hero section   */
  .hero-section {
    flex-direction: column;
    top: 40px;
  }

  .hero-section .hero-text {
    width: 250px;
    height: auto;

    padding: 13px;
  }


  .hero-section div p {
    font-size: 12px;
    text-align: center;
  }

  .hero-section .hero-text .features div {
    width: 60px;
    height: 60px;
    overflow: hidden;
  }

  .hero-section .hero-text .features div video {
    width: 60px;
    height: 60px;
  }

  .hero-section .leader {
    width: 100%;
    top: 5px;
  }

  .hero-section div h1 {
    font-size: 22px;
    font-family: cursive;
    text-align: center;
  }

  .hero-section .inside-leader {
    gap: 7px;
    justify-content: start;
  }

  .hero-section .inside-leader div {
    width: 100px;
    height: 120px;
  }

  .leader div img {
    width: 80px;
    height: 83px;
  }

  .leader div h4 {
    font-size: 11px;
  }

  #historyheading {
    text-align: center;
    font-family: cursive;
    font-size: 21px;

    margin-top: 26px;
  }



  #hideimage {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: #01240e;
  color: #eaffea;
  position: relative;
  overflow: hidden;
  border-top: 3.5px solid #025323;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.site-footer .footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 20px 30px 20px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 35px;
}

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer .footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer .footer-brand img {
  width: 56px;
  height: 36px;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.site-footer .footer-brand h3 {
  font-family: var(--italic-font);
  font-weight: 800;
  font-size: 22px;
  color: #ffd700;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.site-footer .footer-brand p {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 14px;
}

.site-footer .social-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.site-footer .social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffd700;
  border: 1.5px solid #ffd700;
  background: rgba(1, 56, 23, 0.7);
  transition: all 0.3s ease;
}

.site-footer .social-links a:hover {
  transform: translateY(-4px) scale(1.1);
  background: #ffd700;
  color: #013817;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.site-footer .footer-links h4,
.site-footer .footer-contact h4 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  color: #ffd700;
}

.site-footer .footer-links ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer .footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

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

.site-footer .footer-contact p {
  color: #e0e0e0;
  font-size: 14px;
  margin-bottom: 14px;
}

.site-footer .newsletter {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-footer .newsletter input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  outline: none;
  background: rgba(1, 56, 23, 0.8);
  color: #ffffff;
}

.site-footer .newsletter input::placeholder {
  color: #cccccc;
}

.site-footer .newsletter button {
  padding: 12px 22px;
  border-radius: 30px;
  border: 1.5px solid #ffd700;
  background: #ffd700;
  color: #013817;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-footer .newsletter button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #013817;
  transform: scale(1.05);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  text-align: center;
  padding: 16px 20px;
  color: #ffd700;
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 10px 18px 10px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .footer-links ul {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    font-size: 12px;
    padding: 10px 6px 14px 6px;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px 4vw 10px 4vw;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .footer-links ul {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer .newsletter {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-footer .newsletter button {
    width: 100%;
  }

  .site-footer .footer-bottom {
    font-size: 11px;
    padding: 8px 2px 10px 2px;
  }
}

/* Provinces Section (Pure White Theme with Emerald/Gold Glass Cards) */
.provinces-section {
  width: 100%;
  background: #ffffff !important;
  padding: 75px 20px;
  border-top: 3px solid #025323;
  border-bottom: 3px solid #025323;
}

.provinces-section .provinces-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.provinces-section .section-title {
  text-align: center;
  font-family: var(--italic-font);
  color: #013817 !important;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(1, 56, 23, 0.12);
}

.provinces-section .section-subtitle {
  text-align: center;
  color: #444444 !important;
  font-size: 15px;
  margin-bottom: 35px;
}

.provinces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.province-card {
  background: #ffffff;
  border: 2px solid rgba(2, 83, 35, 0.18);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(2, 83, 35, 0.08);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.province-card:hover {
  transform: translateY(-8px);
  border-color: #025323;
  box-shadow: 0 20px 45px rgba(2, 83, 35, 0.22);
}

.province-card h4 {
  color: #013817;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid rgba(2, 83, 35, 0.12);
  padding-bottom: 8px;
}

.province-card h4 i {
  color: #d4af37;
  font-size: 20px;
}

.province-card p {
  color: #444444;
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .provinces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .provinces-grid {
    grid-template-columns: 1fr;
  }
}

/* Armed Forces & Defence Forces Section (Dark Emerald Radial Theme) */
.forces-section {
  width: 100%;
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  color: #eaffea;
  padding: 75px 20px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.forces-section .forces-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.forces-section .section-title {
  color: #ffd700 !important;
  font-size: 36px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  text-align: center;
}

.forces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.force-card {
  border-radius: 22px;
  background: rgba(1, 56, 23, 0.85);
  border: 2px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.force-card:hover {
  transform: translateY(-8px);
  border-color: #ffd700;
  box-shadow: 0 22px 50px rgba(255, 215, 0, 0.35);
}

.force-card .media {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #ffd700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.force-card .media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.force-card h5 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.force-card h5 i {
  color: #ffd700;
}

.force-card p {
  color: #e0e0e0;
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 992px) {
  .forces-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 580px) {
  .forces-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 580px) and (max-width: 765px) {
  .force-card h5 {
    font-size: 13px;
    text-align: center;
  }
}

@media (min-width: 525px) and (max-width: 765px) {
  .navbar {
    row-gap: 7px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flag {
  width: 40px;
  height: auto;
}

.font-change {
  font-weight: bold;
  font-size: 1.2rem;
  font-family: var(--italic-font);
}

.nav-link {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--green-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: #f8f8f8;
  text-decoration: underline;
}

/* Mobile Menu Button (Hidden by default) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--green-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }





  .mobile-menu-btn {
    display: block;
    z-index: 1000;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #046a38;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-out;
    z-index: 999;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .nav-links li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }


}

/* Small mobile devices */

@media (min-width: 860px) and (max-width:1141px) {
  #quiad-div {
    display: none;
  }

}

/* ==========================================================================
   2026 PAKISTAN 79TH INDEPENDENCE DAY TRIBUTE STYLES & GLASSMORPHISM
   ========================================================================== */
.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.header-tag {
  font-size: 10px;
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(2, 83, 35, 0.65);
  border: 1px solid #d4af37;
  color: #ffd700;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  }

  100% {
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.7);
  }
}

/* Tribute Countdown & Stats Section */
.tribute-countdown-section {
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.countdown-container {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.countdown-title {
  font-size: 24px;
  color: #ffd700;
  margin-bottom: 25px;
  font-weight: 600;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cd-box {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 15px 25px;
  min-width: 90px;
  text-align: center;
  transition: transform 0.3s ease;
}

.cd-box:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
}

.cd-box span {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  font-family: 'Roboto', sans-serif;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.cd-box p {
  font-size: 13px;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.celebration-active {
  font-size: 28px;
  color: #ffd700;
  font-weight: bold;
  padding: 20px;
  animation: pulse-glow 2s infinite;
}

/* Stats Banner */
.stats-banner {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 3px solid #d4af37;
  padding: 20px 30px;
  border-radius: 12px;
  min-width: 200px;
  flex: 1;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.stat-card h3 {
  font-size: 36px;
  color: #ffd700;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-card p {
  font-size: 14px;
  color: #e0e0e0;
}

/* Tribute Wall Section */
.tribute-wall-section {
  background: #f4f8f5;
  padding: 70px 20px;
}

.tribute-wall-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #025323;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.tribute-form {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(2, 83, 35, 0.08);
  border: 1px solid rgba(2, 83, 35, 0.15);
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input,
.tribute-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-row input:focus,
.tribute-form textarea:focus {
  outline: none;
  border-color: #025323;
  box-shadow: 0 0 0 3px rgba(2, 83, 35, 0.1);
}

.tribute-submit-btn {
  background: #025323;
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tribute-submit-btn:hover {
  background: #013a18;
  box-shadow: 0 5px 15px rgba(2, 83, 35, 0.3);
}

.tribute-success {
  display: none;
  margin-top: 15px;
  color: #025323;
  font-weight: 600;
  font-size: 14px;
}

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

.tribute-card {
  background: white;
  border-left: 4px solid #025323;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tribute-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(2, 83, 35, 0.12);
}

.tribute-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.tribute-author {
  font-weight: 700;
  color: #025323;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tribute-city {
  color: #777;
  font-size: 13px;
}

.tribute-text {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 15px;
}

.tribute-badge {
  font-size: 12px;
  color: #d4af37;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #025323;
  color: #ffd700;
  border: 2px solid #d4af37;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: #ffd700;
  color: #025323;
  transform: scale(1.1);
}

/* ==========================================================================
   FLAGSHIP ULTRA-PREMIUM INTERACTIVE COMPONENTS & DESIGN TOKENS
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #025323 0%, #ffd700 50%, #00ff66 100%);
  width: 0%;
  z-index: 10001;
  box-shadow: 0 0 10px #ffd700;
  transition: width 0.1s ease-out;
}

.fireworks-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.flagship-title {
  font-size: 34px;
  color: #ffd700;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.flagship-subtitle {
  font-size: 16px;
  color: #e0e0e0;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Virtual Flag Hoisting Ceremony */
.ceremony-section {
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  color: white;
  padding: 70px 20px;
  text-align: center;
}

.ceremony-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ceremony-main-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid #ffd700;
  border-radius: 24px;
  padding: 40px 20px;
  margin-top: 30px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 215, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.heritage-poems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}

.heritage-poem-card {
  background: rgba(1, 38, 20, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.heritage-poem-card:hover {
  transform: translateY(-8px);
  border-color: #ffd700;
  box-shadow: 0 20px 45px rgba(255, 215, 0, 0.35);
}

.poem-featured-header {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.poem-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
  transition: transform 0.5s ease;
}

.heritage-poem-card:hover .poem-featured-img {
  transform: scale(1.08);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(1, 38, 20, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-overlay h3 {
  font-size: 24px;
  color: #ffffff;
  font-weight: 800;
  font-family: var(--italic-font, "Georgia", serif);
  margin: 4px 0 2px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.poem-tag {
  font-size: 10px;
  color: #ffd700;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid #ffd700;
  padding: 2px 10px;
  border-radius: 12px;
  width: fit-content;
}

.poem-author {
  font-size: 12px;
  color: #ffd700;
  font-style: italic;
}

.poem-body {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.urdu-font {
  font-family: 'Noto Nastaliq Urdu', 'Traditional Arabic', 'Urdu Typesetting', serif;
  direction: rtl;
  text-align: center;
}

.urdu-line {
  font-size: 17px;
  color: #ffffff;
  line-height: 2.3;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.roman-translation {
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  padding-top: 12px;
  color: #d0e8d0;
  font-size: 12px;
  font-style: italic;
  direction: ltr;
}

@media (max-width: 992px) {
  .heritage-poems-grid {
    grid-template-columns: 1fr;
  }
}

.flag-visual {
  height: 140px;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hoist-flag-img {
  height: 120px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
  animation: float-flag 3s ease-in-out infinite alternate;
}

@keyframes float-flag {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-12px) rotate(2deg);
  }
}

.hoist-btn {
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  color: #022614;
  border: none;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hoist-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
}

.hoist-status {
  display: none;
  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
  animation: pulse-glow 2s infinite;
}

/* Landmarks Explorer 3D Coverflow Focus Carousel Section (Pure White BG Theme) */
.landmarks-section {
  width: 100%;
  background: #ffffff !important;
  color: #333333;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #025323;
  border-bottom: 3px solid #025323;
}

.landmarks-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-tag.green-tag {
  color: #025323 !important;
  background: rgba(2, 83, 35, 0.08) !important;
  border: 1.5px solid #025323 !important;
}

.flagship-title.dark-title {
  color: #013817 !important;
  text-shadow: 0 2px 10px rgba(1, 56, 23, 0.12) !important;
}

.flagship-subtitle.dark-subtitle {
  color: #444444 !important;
}

.landmarks-coverflow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
}

.landmarks-coverflow-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 45px 0;
}

.landmarks-coverflow-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.landmarks-nav-btn {
  background: #025323;
  border: 2px solid #025323;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(2, 83, 35, 0.3);
}

.landmarks-nav-btn:hover {
  background: #ffd700;
  color: #013817;
  border-color: #ffd700;
  transform: scale(1.12);
  box-shadow: 0 8px 22px rgba(255, 215, 0, 0.6);
}

.landmark-card {
  width: 300px;
  height: 210px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  opacity: 0.55;
  transform: scale(0.85);
  filter: grayscale(25%);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}

.landmark-card.active-center {
  width: 300px;
  height: 210px;
  opacity: 1;
  transform: scale(1.18);
  z-index: 10;
  border: 3.5px solid #025323;
  box-shadow: 0 22px 50px rgba(2, 83, 35, 0.35);
  filter: grayscale(0%);
}

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

.landmark-card.active-center img {
  transform: scale(1.05);
}

.landmark-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 18px 16px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(1, 56, 23, 0.95) 100%);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.landmark-card-overlay h3 {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.landmark-card-overlay p {
  font-size: 12px;
  font-weight: 600;
  color: #ffd700;
  margin-top: 4px;
}

/* Landmark Modal Popup */
.landmark-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.landmark-modal.active {
  opacity: 1;
  visibility: visible;
}

.landmark-modal-content {
  background: white;
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: modal-slide 0.3s ease-out;
}

@keyframes modal-slide {
  from {
    transform: translateY(30px);
  }

  to {
    transform: translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landmark-modal-content img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-body {
  padding: 25px 30px;
  text-align: left;
}

.modal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #025323;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.modal-body h2 {
  font-size: 24px;
  color: #022614;
  margin-bottom: 12px;
  font-weight: 800;
}

.modal-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Quiz Challenge */
.quiz-section {
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  color: white;
  padding: 75px 20px;
  text-align: center;
}

.quiz-inner {
  max-width: 800px;
  margin: 0 auto;
}

.quiz-section .flagship-title {
  color: #ffd700;
}

.quiz-section .flagship-subtitle {
  color: #e0e0e0;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 35px 25px;
  backdrop-filter: blur(10px);
}

.quiz-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ffffff;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-opt-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.quiz-opt-btn:hover {
  background: #ffd700;
  color: #022614;
  font-weight: 700;
  transform: translateX(5px);
}

.quiz-score-badge {
  font-size: 22px;
  color: #ffd700;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Card Generator */
.card-gen-section {
  background: #f4f8f5;
  padding: 80px 20px;
  text-align: center;
}

.card-gen-inner {
  max-width: 950px;
  margin: 0 auto;
}

.card-gen-box {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
  text-align: left;
}

.card-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(2, 83, 35, 0.08);
}

.card-form label {
  display: block;
  font-weight: 600;
  color: #025323;
  margin-bottom: 6px;
  font-size: 14px;
}

.card-form input,
.card-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 15px;
}

.card-output-container {
  flex: 1;
  min-width: 300px;
  display: none;
}

.digital-card-preview {
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  border: 3px solid #d4af37;
  border-radius: 20px;
  padding: 30px;
  color: white;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.card-watermark {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 120px;
  opacity: 0.15;
  pointer-events: none;
}

.card-anniversary {
  font-size: 12px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

.card-user {
  font-size: 26px;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-quote {
  font-size: 15px;
  color: #e0e0e0;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.5;
}

.card-footer-tag {
  font-size: 11px;
  color: #d4af37;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 10px;
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }

  .navbar ul.nav-link {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(1, 38, 20, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .navbar ul.nav-link.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .navbar ul.nav-link li a {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   GRAND CINEMATIC SPLASH INTRO SCREEN (5-SECOND VIDEO & FIREWORKS REVEAL)
   ========================================================================== */
body.intro-active {
  overflow: hidden !important;
}

.intro-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s ease;
}

.intro-loader.fade-out {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.intro-loader-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
  z-index: 1;
}

.intro-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(1, 40, 20, 0.4) 0%, rgba(0, 0, 0, 0.85) 90%);
  z-index: 2;
}

.intro-fireworks-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.skip-intro-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 10;
  background: rgba(1, 38, 20, 0.8);
  border: 1px solid #ffd700;
  color: #ffd700;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.skip-intro-btn:hover {
  background: #ffd700;
  color: #013817;
  transform: scale(1.05);
}

.intro-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  max-width: 90vw;
}

.intro-emblem {
  font-size: 65px;
  color: #ffd700;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9));
  animation: introEmblemPulse 1.5s ease-in-out infinite alternate;
}

@keyframes introEmblemPulse {
  0% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
  }

  100% {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
  }
}

.main-intro-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
  animation: introTitleGlow 2s ease-in-out infinite alternate;
}

@keyframes introTitleGlow {
  0% {
    letter-spacing: 4px;
  }

  100% {
    letter-spacing: 6px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 215, 0, 0.9);
  }
}

.intro-subtitle {
  font-size: 16px;
  color: #e0e0e0;
  font-weight: 600;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.intro-progress-bar {
  width: 280px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 15px;
}

.intro-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4caf50 0%, #ffd700 100%);
  box-shadow: 0 0 10px #ffd700;
  transition: width 0.1s linear;
}

/* ==========================================================================
   PAKISTAN DEFENDER FORCES FLAG HORIZONTAL MARQUEE RIBBON
   ========================================================================== */
.forces-marquee-ribbon {
  width: 100%;
  background: #ffffff !important;
  border-top: 3px solid #025323;
  border-bottom: 3px solid #025323;
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 0 15px rgba(2, 83, 35, 0.15);
  z-index: 10;
}

.forces-marquee-ribbon .marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marqueeScrollLeft 22s linear infinite;
}

.forces-marquee-ribbon:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #013817 !important;
  padding: 10px 22px;
  border-radius: 40px;
  border: 1.5px solid #ffd700;
  box-shadow: 0 4px 15px rgba(1, 56, 23, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.marquee-item:hover {
  transform: scale(1.06);
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
}

.marquee-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.item-text {
  display: flex;
  flex-direction: column;
}

.flag-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.flag-sub {
  font-size: 11px;
  font-weight: 600;
  color: #ffd700;
}

/* ==========================================================================
   VIP ARCHITECTS OF FREEDOM & NATIONAL HEROES PILLARS SECTION
   ========================================================================== */
.heroes-vip-section {
  width: 100%;
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  padding: 75px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.heroes-vip-container {
  max-width: 1320px;
  margin: 0 auto;
}

.heroes-pillars-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-pillar-card {
  flex: 1;
  min-width: 220px;
  max-width: 245px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  border: 3.5px solid transparent;
  position: relative;
}

.pillar-top-content {
  padding: 22px 18px 15px 18px;
  text-align: left;
}

.hero-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: #fff8e1;
  color: #b8860b;
  border: 1px solid #ffe082;
}

.badge-emerald {
  background: #e8f5e9;
  color: #025323;
  border: 1px solid #a5d6a7;
}

.badge-cyan {
  background: #e0f7fa;
  color: #00838f;
  border: 1px solid #80deea;
}

.badge-purple {
  background: #f3e5f5;
  color: #6a1b9a;
  border: 1px solid #ce93d8;
}

.badge-amber {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffcc80;
}

.hero-name {
  font-size: 22px;
  font-weight: 900;
  color: #013817;
  margin-top: 12px;
  line-height: 1.15;
  font-family: 'Poppins', sans-serif;
}

.hero-full-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #666;
  margin-top: 4px;
}

.hero-divider {
  width: 32px;
  height: 3px;
  background: #025323;
  margin: 12px 0 10px 0;
  border-radius: 2px;
}

.hero-quote {
  font-size: 12px;
  line-height: 1.45;
  color: #444;
  font-style: italic;
  font-weight: 500;
}

.pillar-img-wrapper {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #000;
  margin-top: 10px;
}

.pillar-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(12%) contrast(108%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.img-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

/* VIP Pillar Card Hover Animations */
.hero-pillar-card:hover {
  transform: translateY(-12px) scale(1.02);
}

.hero-pillar-card:hover .pillar-img-wrapper img {
  transform: scale(1.12);
  filter: grayscale(0%) contrast(115%);
}

.gold-pillar:hover {
  border-color: #ffd700;
  box-shadow: 0 22px 50px rgba(255, 215, 0, 0.45);
}

.emerald-pillar:hover {
  border-color: #00ff66;
  box-shadow: 0 22px 50px rgba(0, 255, 102, 0.45);
}

.cyan-pillar:hover {
  border-color: #00e5ff;
  box-shadow: 0 22px 50px rgba(0, 229, 255, 0.45);
}

.purple-pillar:hover {
  border-color: #e040fb;
  box-shadow: 0 22px 50px rgba(224, 64, 251, 0.45);
}

.amber-pillar:hover {
  border-color: #ff9100;
  box-shadow: 0 22px 50px rgba(255, 145, 0, 0.45);
}

/* ==========================================================================
   NATIONAL SLOGANS & FREEDOM QUOTES GOLD MARQUEE RIBBON
   ========================================================================== */
.slogans-marquee-ribbon {
  width: 100%;
  background: linear-gradient(90deg, #ffd700 0%, #d4af37 50%, #ffd700 100%);
  border-top: 2.5px solid #025323;
  border-bottom: 2.5px solid #025323;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.slogans-marquee-ribbon .marquee-track-right {
  display: flex;
  align-items: center;
  gap: 25px;
  width: max-content;
  animation: marqueeScrollRight 26s linear infinite;
}

.slogans-marquee-ribbon:hover .marquee-track-right {
  animation-play-state: paused;
}

@keyframes marqueeScrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #013817;
  padding: 8px 22px;
  border-radius: 35px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 5px 15px rgba(1, 56, 23, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.slogan-badge:hover {
  transform: scale(1.06);
  background: #025323;
  border-color: #ffd700;
}

.slogan-icon {
  font-size: 20px;
}

.slogan-text.urdu {
  font-family: 'Noto Nastaliq Urdu', 'Noto Nastaliq Urdu Draft', serif;
  font-size: 15px;
  color: #ffd700;
  direction: rtl;
  font-weight: 700;
}

.slogan-en {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  border-left: 1px solid rgba(255, 215, 0, 0.4);
  padding-left: 10px;
}

@media (max-width: 768px) {
  .main-intro-title {
    font-size: 30px;
  }

  .intro-emblem {
    font-size: 45px;
  }
}

/* ==========================================================================
   APS PESHAWAR 16 DECEMBER MARTYRS ETERNAL TRIBUTE SECTION (WHITE THEME)
   ========================================================================== */
.aps-tribute-section {
  width: 100%;
  background: #ffffff !important;
  padding: 75px 20px;
  border-top: 3.5px solid #025323;
  border-bottom: 3.5px solid #025323;
  color: #013817;
  position: relative;
  overflow: hidden;
}

.aps-tribute-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.aps-tag {
  color: #013817;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(2, 83, 35, 0.1);
  border: 1.5px solid #025323;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.aps-title {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--italic-font);
  color: #013817 !important;
  text-shadow: 0 2px 10px rgba(1, 56, 23, 0.1);
  margin-bottom: 10px;
}

.aps-subtitle {
  color: #444444 !important;
  font-size: 15px;
  max-width: 750px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
}

.aps-tribute-card {
  background: #f4fbf6;
  border: 2px solid rgba(2, 83, 35, 0.25);
  border-radius: 26px;
  box-shadow: 0 12px 35px rgba(2, 83, 35, 0.09);
  padding: 30px 25px;
  display: flex;
  align-items: center;
  gap: 25px;
  text-align: left;
}

.aps-candle-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-width: 160px;
}

.aps-image-frame {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  border: 2.5px solid #025323;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(2, 83, 35, 0.15);
  flex-shrink: 0;
}

.aps-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.candle-flame-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.candle-flame {
  width: 24px;
  height: 40px;
  background: radial-gradient(circle, #fff 10%, #ffeb3b 40%, #ff9800 70%, transparent 100%);
  border-radius: 50% 50% 35% 35%;
  animation: flameFlicker 1.8s infinite ease-in-out;
  box-shadow: 0 0 25px #ffeb3b, 0 0 50px #ff9800;
}

@keyframes flameFlicker {
  0%, 100% { transform: scale(1) rotate(-1deg); filter: drop-shadow(0 0 10px #ff9800); }
  50% { transform: scale(1.18) rotate(2deg); filter: drop-shadow(0 0 22px #ffeb3b); }
}

.candle-body {
  width: 20px;
  height: 70px;
  background: linear-gradient(to right, #fff 0%, #e0e0e0 100%);
  border-radius: 4px 4px 10px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.aps-stats-pill {
  background: #025323;
  border: 1.5px solid #025323;
  border-radius: 16px;
  padding: 8px 16px;
  text-align: center;
}

.aps-number {
  display: block;
  color: #ffd700;
  font-size: 24px;
  font-weight: 900;
}

.aps-label {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.aps-content-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aps-verse {
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  color: #013817;
  border-left: 3.5px solid #025323;
  padding-left: 14px;
  margin: 0;
}

.aps-desc {
  color: #333333;
  font-size: 14px;
  line-height: 1.65;
}

.aps-action-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.light-candle-btn {
  background: #025323;
  color: #ffd700;
  font-weight: 800;
  font-size: 14px;
  border-radius: 30px;
  padding: 12px 24px;
  border: 2px solid #025323;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(2, 83, 35, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.light-candle-btn:hover {
  transform: scale(1.05);
  background: #ffd700;
  color: #013817;
  border-color: #ffd700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.candle-prayer-msg {
  color: #013817;
  font-size: 13px;
  font-weight: 700;
  background: rgba(2, 83, 35, 0.1);
  border: 1px dashed #025323;
  padding: 8px 14px;
  border-radius: 12px;
  display: none;
}

.candle-prayer-msg.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   NATIONAL HEROES PORTRAITS MARQUEE RIBBON (FROM assests/heroes/)
   ========================================================================== */
.heroes-marquee-section {
  width: 100%;
  background: radial-gradient(1200px 400px at 50% -10%, rgba(255, 255, 255, 0.08), transparent), linear-gradient(135deg, #0b5d2a 0%, #0a3d1e 50%, #062614 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.heroes-marquee-header {
  text-align: center;
  margin-bottom: 25px;
  padding: 0 20px;
}

.marquee-tag {
  color: #ffd700;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.heroes-marquee-header h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  font-family: var(--italic-font);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.heroes-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.heroes-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: heroesMarqueeScroll 40s linear infinite;
}

.heroes-marquee-track:hover {
  animation-play-state: paused;
}

.hero-marquee-card {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3.5px solid #ffd700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(1, 56, 23, 0.9);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-marquee-card:hover {
  transform: scale(1.1);
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

.hero-marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes heroesMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .aps-tribute-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .aps-verse {
    border-left: none;
    border-top: 2px solid #025323;
    padding-left: 0;
    padding-top: 10px;
  }
  .aps-action-row {
    justify-content: center;
  }
}

/* ==========================================================================
   NAVBAR AUDIO TOGGLE BUTTON & ANIMATED WAVEFORM
   ========================================================================== */
.audio-toggle-btn {
  background: rgba(255, 215, 0, 0.15);
  border: 1.5px solid #ffd700;
  color: #ffd700;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.audio-toggle-btn:hover {
  background: #ffd700;
  color: #013817;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.6);
  transform: scale(1.05);
}

.audio-toggle-btn.playing {
  background: #025323;
  color: #ffd700;
  border-color: #ffd700;
  box-shadow: 0 0 14px rgba(2, 83, 35, 0.6);
}

.audio-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-wave span {
  width: 2.5px;
  height: 100%;
  background: #ffd700;
  border-radius: 2px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.audio-toggle-btn.playing .audio-wave span {
  opacity: 1;
  animation: audioWave 1.2s infinite ease-in-out;
}

.audio-toggle-btn.playing .audio-wave span:nth-child(1) { animation-delay: 0s; }
.audio-toggle-btn.playing .audio-wave span:nth-child(2) { animation-delay: 0.2s; }
.audio-toggle-btn.playing .audio-wave span:nth-child(3) { animation-delay: 0.4s; }

@keyframes audioWave {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

/* ==========================================================================
   PERFORMANCE & SCROLL OPTIMIZATIONS (60 FPS LAG-FREE EXPERIENCE)
   ========================================================================== */
*, *::before, *::after {
  text-rendering: optimizeSpeed;
}

/* Hardware accelerated smooth marquee animations */
.heroes-marquee-track,
.gold-marquee-content,
.marquee-content {
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Off-screen rendering optimization for heavy sections */
.gallery-outside,
.aps-tribute-section,
.heroes-marquee-section,
.forces-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* Smooth video hardware acceleration */
video {
  will-change: transform;
  transform: translateZ(0);
}

/* ==========================================================================
   FOOTER GRAND CELEBRATION WHITE FULL-SCREEN OVERLAY
   ========================================================================== */
.footer-celebration-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff !important;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  padding: 40px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.footer-celebration-overlay.active {
  opacity: 1;
  visibility: visible;
}

.footer-celebration-content {
  text-align: center;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-celebration-overlay.active .footer-celebration-content {
  transform: scale(1);
}

.celebration-close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  background: #025323;
  color: #ffd700;
  border: 2px solid #ffd700;
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(2, 83, 35, 0.3);
  z-index: 10;
}

.celebration-close-btn:hover {
  background: #013817;
  transform: scale(1.12) rotate(90deg);
  box-shadow: 0 0 25px rgba(2, 83, 35, 0.5);
}

/* HUGE Waving Flag */
.flag-anim-wrapper {
  margin: 0 auto 25px;
  width: 320px;
  max-width: 80vw;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: flagWaveHuge 2.5s infinite ease-in-out;
}

.celebration-flag-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 35px rgba(2, 83, 35, 0.35));
}

@keyframes flagWaveHuge {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-16px) rotate(4deg) scale(1.04); }
}

/* MASSIVE Full-Screen Typography */
.celebration-title {
  font-family: var(--italic-font), 'Cinzel', serif;
  font-size: 64px;
  font-weight: 900;
  color: #013817 !important;
  margin: 0 0 10px 0;
  text-shadow: 0 4px 18px rgba(1, 56, 23, 0.15);
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
}

.celebration-subtitle {
  font-family: var(--italic-font), 'Cinzel', serif;
  font-size: 52px;
  font-weight: 800;
  color: #025323 !important;
  margin: 0 0 20px 0;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.celebration-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #333333 !important;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

/* Screen Bottom Full Width Timer Bar */
.celebration-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(2, 83, 35, 0.12);
}

#celebration-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #025323, #ffd700, #00ff66);
  transition: width 0.05s linear;
}

/* Responsive adjustments for mobile screens & full site perfection */
@media (max-width: 992px) {
  .navbar {
    padding: 10px 18px;
  }

  .forces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  /* Fixed Navbar Header Mobile Layout */
  .navbar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 14px !important;
    height: 64px !important;
    box-sizing: border-box !important;
  }

  .logo-container {
    gap: 8px !important;
  }

  .logo-img {
    width: 28px !important;
    height: 28px !important;
  }

  .font-change {
    font-size: 15px !important;
    line-height: 1.1;
  }

  .header-tag {
    font-size: 7.5px !important;
    padding: 1px 5px !important;
  }

  .nav-right-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .audio-toggle-btn {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }

  .audio-wave {
    height: 10px !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    padding: 5px 10px !important;
    font-size: 18px !important;
  }

  /* Slide-down nav links drawer */
  .navbar ul.nav-link {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 64px) !important;
    background: rgba(1, 38, 20, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    flex-direction: column !important;
    padding: 30px 20px !important;
    gap: 14px !important;
    box-sizing: border-box !important;
    z-index: 99999 !important;
  }

  /* Hero Container Mobile */
  .hero-container {
    flex-direction: column !important;
    padding: 80px 14px 40px 14px !important;
    gap: 25px !important;
  }

  .hero-left-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 16px !important;
    gap: 14px !important;
  }

  .hero-left-content .hero-text-heading {
    font-size: clamp(22px, 6.5vw, 32px) !important;
    line-height: 1.25;
  }

  .hero-left-content .hero-text-text {
    font-size: 13.5px !important;
    line-height: 1.5;
  }

  .hero-left-content .herobtn {
    font-size: 14px !important;
    padding: 12px 24px !important;
    white-space: nowrap !important;
    width: 100% !important;
    max-width: 290px !important;
    justify-content: center !important;
  }

  .hero-left-content .features {
    gap: 12px !important;
  }

  .hero-left-content .features div {
    width: 60px !important;
    height: 60px !important;
  }

  .hero-left-content .features video {
    width: 55px !important;
    height: 55px !important;
  }

  .hero-capsules-container {
    height: 380px !important;
    width: 100% !important;
  }

  .flag-anim-wrapper {
    width: 220px;
    margin-bottom: 18px;
  }

  .celebration-title {
    font-size: 38px;
  }

  .celebration-subtitle {
    font-size: 30px;
  }

  .celebration-tagline {
    font-size: 15px;
  }

  .celebration-close-btn {
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  /* Hero Grid */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  /* Coverflow 3D Landmarks */
  .coverflow-container {
    height: 380px !important;
  }

  .coverflow-card {
    width: 280px !important;
    height: 340px !important;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* APS Tribute */
  .aps-tribute-inner {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
  }

  .aps-hero-frame {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }

  .aps-action-row {
    justify-content: center;
    flex-direction: column;
  }

  .aps-candle-btn {
    width: 100%;
  }

  /* Events */
  .event-div .inside-event-div {
    flex-direction: column;
    align-items: center;
  }

  .event-div .inside-event-div .event-div-first {
    width: 100% !important;
    max-width: 340px;
  }

  /* Forces */
  .forces-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 25px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .celebration-title {
    font-size: 28px;
  }

  .celebration-subtitle {
    font-size: 24px;
  }

  .flag-anim-wrapper {
    width: 170px;
  }
}

/* Mobile Header Overrides */
@media (max-width: 768px) {
  .header-tag {
    display: none !important;
  }
  .audio-label, .audio-wave {
    display: none !important;
  }
  .audio-toggle-btn {
    padding: 8px 12px !important;
    min-width: auto !important;
    gap: 0 !important;
  }
  .hero-section {
    padding-top: 80px !important; 
  }
  .hero-container {
    padding-top: 15px !important;
  }
}

/* Mobile Fixes for Landmarks, Gallery, and Titles */
@media (max-width: 580px) {
  .flagship-title {
    font-size: 22px !important;
  }
  .flagship-subtitle {
    font-size: 13px !important;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .landmarks-section {
    padding: 40px 10px !important;
  }

  .landmarks-coverflow-wrapper {
    display: block !important;
    position: relative;
    width: 100%;
    margin-top: 20px;
  }

  .landmarks-coverflow-viewport {
    width: 100% !important;
    padding: 20px 0 !important;
    overflow: hidden !important;
  }

  .landmarks-coverflow-track {
    gap: 16px !important;
  }
  
  .landmark-card {
    width: 190px !important;
    height: 130px !important;
    border-radius: 16px !important;
    transform: scale(0.85) !important;
  }
  .landmark-card.active-center {
    width: 190px !important;
    height: 130px !important;
    transform: scale(1.15) !important;
    border-radius: 18px !important;
  }

  .landmark-card-overlay {
    padding: 12px 10px 10px 10px !important;
  }
  .landmark-card-overlay h3 {
    font-size: 15px !important;
  }
  .landmark-card-overlay p {
    font-size: 11px !important;
  }

  .landmarks-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 30;
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }
  .landmarks-prev-btn {
    left: 4px !important;
  }
  .landmarks-next-btn {
    right: 4px !important;
  }

  .gallery-heading {
    font-size: 22px !important;
    margin-bottom: 15px !important;
  }
}

/* ==========================================================================
   HIGH-PERFORMANCE PRODUCTION & RENDERING OPTIMIZATIONS
   ========================================================================== */
.landmarks-section,
.upcoming-event-main-div,
.forces-section,
.provincial-showcase-section,
.gallery-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.landmarks-coverflow-track,
.hero-marquee-track,
.hero-capsules-container {
  will-change: transform;
  transform: translateZ(0);
}