/* ============================================
   COMPREHENSIVE RESPONSIVE FRAMEWORK
   ============================================ */

/* Base Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Large Desktop (1201px and above) */
@media (min-width: 1201px) {
  .container {
    max-width: 1400px;
    padding: 0 30px;
  }

  .logo h1 {
    font-size: 48px;
  }

  .main-title {
    font-size: 4.5rem;
  }

  .subtitle {
    font-size: 1.8rem;
  }
}

/* Desktop (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .container {
    padding: 0 25px;
  }

  .logo h1 {
    font-size: 40px;
  }

  .main-title {
    font-size: 3.8rem;
  }

  .subtitle {
    font-size: 1.6rem;
  }

  .cards-wrapper {
    gap: 25px;
  }

  .card {
    width: 240px;
    height: 190px;
  }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  /* Header */
  .top-nav-left {
    gap: 25px;
  }

  .nav-link {
    font-size: 14px;
  }

  .logo h1 {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .logo p {
    font-size: 15px;
  }

  .bottom-nav ul {
    gap: 35px;
  }

  .bottom-nav li a {
    font-size: 14px;
    padding: 16px 0;
  }

  /* Banner */
  .banner {
    height: 500px;
  }

  .main-title {
    font-size: 3.2rem;
  }

  .subtitle {
    font-size: 1.4rem;
    max-width: 700px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  /* Cards Section */
  .years-at-a-glance {
    padding: 20px 0;
    height: 400px;
  }

  .years-at-a-glance h2 {
    font-size: 32px;
  }

  .cards-wrapper {
    gap: 25px;
  }

  .card {
    width: 230px;
    height: 170px;
    padding: 25px;
  }

  .card h3 {
    font-size: 28px;
  }

  /* About Section */
  .about-container {
    max-width: 100%;
    padding: 50px 30px;
  }

  .about-title {
    font-size: 38px;
  }

  .about-list li {
    font-size: 18px;
    padding: 14px 18px;
  }

  /* Anniversary Section */
  .anniversary {
    max-width: 1100px;
    margin: 35px auto;
    padding: 25px;
  }

  .section-heading {
    font-size: 26px;
  }

  .top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .voices {
    grid-column: auto;
    grid-row: auto;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
    top: 0;
    gap: 20px;
  }
}

/* Tablet Medium (769px - 884px) */
@media (min-width: 769px) and (max-width: 884px) {
  .years-at-a-glance {
    height: auto;
    padding: 30px 0;
  }

  .years-at-a-glance h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    display: none;
  }

  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
  }

  .card {
    width: 260px;
    max-width: 260px;
    height: auto;
    padding: 15px;
    flex-shrink: 0;
  }

  .card h3 {
    font-size: 26px;
  }

  .card p {
    font-size: 15px;
  }
}

/* Tablet 765px - 1017px FIX */
@media (min-width: 765px) and (max-width: 1017px) {
  .years-at-a-glance {
    height: auto;
    padding: 30px 0;
  }

  .years-at-a-glance h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    display: none;
  }

  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    overflow-x: visible;
    justify-content: center;
  }

  .card {
    width: 280px;
    max-width: 280px;
    height: auto;
    padding: 15px;
    flex-shrink: 0;
  }

  .card h3 {
    font-size: 26px;
  }

  .card p {
    font-size: 15px;
  }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Header */
  .top-nav-left {
    display: none;
  }

  .top-nav-right {
    gap: 10px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .logo h1 {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .logo p {
    font-size: 14px;
  }

  .bottom-nav {
    position: relative;
  }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    right: 15px;
    top: 70px;
    z-index: 1002;
    background: rgba(10, 35, 81, 0.9);
    padding: 8px;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: rgba(10, 35, 81, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 100px 20px 20px;
    gap: 20px;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(135deg, #0a2351, #1a3a7a);
    z-index: -1;
  }

  .bottom-nav li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.5s ease forwards;
  }

  .nav-menu.active .bottom-nav li:nth-child(1) {
    animation-delay: 0.1s;
  }
  .nav-menu.active .bottom-nav li:nth-child(2) {
    animation-delay: 0.2s;
  }
  .nav-menu.active .bottom-nav li:nth-child(3) {
    animation-delay: 0.3s;
  }
  .nav-menu.active .bottom-nav li:nth-child(4) {
    animation-delay: 0.4s;
  }
  .nav-menu.active .bottom-nav li:nth-child(5) {
    animation-delay: 0.5s;
  }
  .nav-menu.active .bottom-nav li:nth-child(6) {
    animation-delay: 0.6s;
  }
  .nav-menu.active .bottom-nav li:nth-child(7) {
    animation-delay: 0.7s;
  }

  @keyframes slideInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .bottom-nav li a {
    padding: 20px 0;
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0;
  }

  .bottom-nav li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .bottom-nav li a:hover::before {
    width: 80%;
  }

  .bottom-nav li a:hover {
    color: #ffd700;
    transform: scale(1.05);
  }

  /* Banner */
  .banner {
    height: 420px;
    border-bottom-left-radius: 10% 5%;
    border-bottom-right-radius: 10% 5%;
  }

  .banner::before,
  .banner::after,
  .shadow-right {
    border-bottom-left-radius: 30% 20%;
    border-bottom-right-radius: 30% 20%;
  }

  .main-title {
    font-size: 2.5rem;
    margin-bottom: 18px;
  }

  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.4;
    padding: 0 15px;
  }

  .buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 25px;
  }

  .btn {
    width: 200px;
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  /* Cards Section */
  .years-at-a-glance {
    padding: 20px 0;
    height: 350px;
  }

  .years-at-a-glance h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    width: 50px;
  }

  .years-at-a-glance h2::before {
    left: -60px;
  }

  .years-at-a-glance h2::after {
    right: -60px;
  }

  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 15px;
    overflow-x: visible;
    justify-content: center;
  }

  .card {
    width: 100%;
    max-width: 250px;
    height: auto;
    padding: 12px;
    margin: 0;
    flex-shrink: 0;
  }

  .card h3 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 15px;
    line-height: 1.4;
  }

  .vision-note-button {
    padding: 12px 25px;
    font-size: 13px;
    margin: 0 auto;
    display: block;
    width: 220px;
    border-radius: 8px;
  }

  /* About Section */
  .about-section {
    padding: 60px 0;
  }

  .about-container {
    padding: 40px 25px;
    margin: 0 15px;
    border-radius: 15px;
  }

  .about-title {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }

  .about-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .about-list li {
    font-size: 16px;
    padding: 14px 18px;
    line-height: 1.5;
  }

  /* Anniversary Section */
  .anniversary {
    max-width: 95%;
    margin: 30px auto;
    padding: 25px;
    padding-bottom: 40px;
  }

  .section-heading {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    min-height: 220px;
  }

  .ribbon {
    font-size: 1rem;
    padding: 14px;
  }

  .card-actions button {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
  }

  /* .voices {
        min-height: 280px;
        padding: 25px;
        
    }
    
    .voices h3 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .voices p {
        font-size: 1rem;
        line-height: 1.5;
    }
     */

  .voices {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 50px 35px;
    color: #fff;
    background: linear-gradient(180deg, #0b3b6f, #072a50);
    border-radius: 6px;
    overflow: hidden;
  }

  /* Title */
  .voices h3 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
  }

  .voices h3 span {
    color: #e3c27a;
  }

  /* Quote text */
  .voices p {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    color: #e7edf6;
    position: relative;
  }

  /* Quote symbols */
  .voices p::before,
  .voices p::after {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
  }

  .voices p::before {
    content: "“";
    left: -10px;
    top: -10px;
  }

  .voices p::after {
    content: "”";
    right: -10px;
    bottom: -20px;
  }

  /* Button */
  .voices .outline {
    display: block;
    margin: auto;
    padding: 12px 24px;
    font-size: 16px;
    background: transparent;
    border: 2px solid #e3c27a;
    color: #e3c27a;
    cursor: pointer;
    transition: 0.3s;
  }

  .voices .outline:hover {
    background: #e3c27a;
    color: #072a50;
  }

  .events {
    padding: 25px;
  }

  .events h3 {
    font-size: 1.2rem;
  }

  .events li {
    font-size: 1rem;
    padding: 12px 0;
  }

  .calendar-btn a {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
}

/* Mobile Landscape (421px - 480px) */
@media (min-width: 421px) and (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .logo h1 {
    font-size: 28px;
  }

  .logo p {
    font-size: 13px;
  }

  .banner {
    height: 380px;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .card {
    width: 90%;
    max-width: 300px;
    height: 40px;
    padding: 18px;
  }

  .card h3 {
    font-size: 24px;
  }

  .card p {
    font-size: 14px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-list li {
    font-size: 15px;
    padding: 12px 15px;
  }
}

/* Mobile Portrait (321px - 420px) */
@media (min-width: 321px) and (max-width: 420px) {
  .container {
    padding: 0 10px;
  }

  .main-header {
    padding: 15px 0;
  }

  .logo h1 {
    font-size: 24px;
    letter-spacing: 0.5px;
  }

  .logo p {
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  .banner {
    height: 320px;
    border-bottom-left-radius: 3% 2%;
    border-bottom-right-radius: 3% 2%;
  }

  .banner::before,
  .banner::after,
  .shadow-right {
    border-bottom-left-radius: 3% 2%;
    border-bottom-right-radius: 3% 2%;
  }

  .main-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 0.9rem;
    max-width: 95%;
    margin-bottom: 20px;
    padding: 0 8px;
    line-height: 1.3;
  }

  .buttons {
    padding: 0 15px;
    gap: 10px;
  }

  .btn {
    width: 160px;
    font-size: 0.8rem;
    padding: 10px 15px;
    border-radius: 8px;
    min-height: 40px;
  }

  .years-at-a-glance {
    padding: 20px 0;
    height: 1000px !important;
  }

  .years-at-a-glance h2 {
    font-size: 24px;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    width: 40px;
  }

  .years-at-a-glance h2::before {
    left: -50px;
  }

  .years-at-a-glance h2::after {
    right: -50px;
  }

  .cards-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 0 8px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .card {
    width: 100px;
    max-width: 100px;
    height: 65px;
    padding: 6px;
    flex-shrink: 0;
  }

  .card h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 13px;
    line-height: 1.3;
  }

  .vision-note-button {
    padding: 12px 24px;
    font-size: 13px;
    width: 200px;
    border-radius: 8px;
  }

  .about-section {
    padding: 50px 0;
  }

  .about-container {
    padding: 30px 20px;
    margin: 0 8px;
  }

  .about-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .about-list {
    gap: 12px;
  }

  .about-list li {
    font-size: 14px;
    padding: 12px 15px;
    line-height: 1.4;
  }

  .anniversary {
    padding: 20px;
    padding-bottom: 35px;
  }

  .section-heading {
    font-size: 22px;
  }

  .card {
    min-height: 200px;
  }

  .ribbon {
    font-size: 0.9rem;
    padding: 12px;
  }

  .card-actions button {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
  }

  .voices {
    min-height: 250px;
    padding: 20px;
  }

  .voices h3 {
    font-size: 1.2rem;
  }

  .voices p {
    font-size: 0.9rem;
  }

  .events {
    padding: 20px;
  }

  .events h3 {
    font-size: 1.1rem;
  }

  .events li {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .calendar-btn button {
    padding: 12px;
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
  .container {
    padding: 0 8px;
  }

  .logo h1 {
    font-size: 20px;
  }

  .logo p {
    font-size: 10px;
  }

  .banner {
    height: 280px;
    border-bottom-left-radius: 2% 1%;
    border-bottom-right-radius: 2% 1%;
  }

  .banner::before,
  .banner::after,
  .shadow-right {
    border-bottom-left-radius: 2% 1%;
    border-bottom-right-radius: 2% 1%;
  }

  .main-title {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  #box {
    height: 10px !important;
  }

  .btn {
    width: 140px;
    font-size: 0.75rem;
    padding: 8px 12px;
    min-height: 36px;
  }

  .card {
    width: 90px;
    max-width: 90px;
    height: 60px;
    padding: 4px;
    flex-shrink: 0;
  }

  .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 12px;
  }

  .about-title {
    font-size: 24px;
  }

  .about-list li {
    font-size: 13px;
    padding: 10px 12px;
  }

  .vision-note-button {
    width: 180px;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 8px;
  }
}

/* ============================================
   MOBILE NAVIGATION STYLES
   ============================================ */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffd700;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 8px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 16px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mobile-menu-toggle.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

.nav-menu {
  display: flex;
}

/* ============================================
   ORIGINAL STYLES 
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(
    135deg,
    #e8f4f8 0%,
    #f0f8ff 25%,
    #fef5e7 50%,
    #f9f3e9 75%,
    #e8f4f8 100%
  );
  background-size: 400% 400%;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

/* Prevent text overflow */
h1,
h2,
h3,
h4,
h5,
h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

p,
span,
a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  }

/* Main content wrapper */
main {
  flex: 1;
  width: 100%;
}

/* Ensure sections don't overflow */
section {
  width: 100%;
}

/* Fix for long content */
.banner-content {
  max-width: 100%;
  word-wrap: break-word;
}

/* Grid fixes */
.cards-wrapper {
  width: 100%;
}

/* Anniversary section fixes */
.anniversary {
  width: 100%;
}

.top-grid,
.bottom-grid {
  width: 100%;
}

/* Footer fix */
footer {
  width: 100%;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23e0e0e0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="1200" height="800" fill="url(%23grid)"/><circle cx="100" cy="100" r="50" fill="%23ffffff" opacity="0.1"/><circle cx="300" cy="200" r="30" fill="%23ffffff" opacity="0.08"/><circle cx="500" cy="150" r="40" fill="%23ffffff" opacity="0.06"/><circle cx="700" cy="300" r="60" fill="%23ffffff" opacity="0.04"/><circle cx="900" cy="200" r="35" fill="%23ffffff" opacity="0.07"/><circle cx="1100" cy="100" r="45" fill="%23ffffff" opacity="0.05"/></svg>')
    repeat;
  background-size: 400px 300px;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Header Styles */
header {
  background-color: #0a2351;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-nav {
  background-color: #0a2351;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-nav-left {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-family: Arial, sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.nav-link:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
}

.top-nav-right {
  display: flex;
  gap: 12px;
}

.social-icon {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: #ffd700;
  color: #0a2351;
}

.main-header {
  padding: 25px 0;
  text-align: center;
}

.logo h1 {
  font-size: 42px;
  margin: 0;
  font-weight: bold;
  font-family: Arial, sans-serif;
  letter-spacing: 2px;
}

.logo h1 span {
  color: #ffd700;
}

.logo p {
  font-size: 16px;
  margin: 8px 0 0 0;
  color: #fff;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
}

.bottom-nav {
  background-color: #0a2351;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.bottom-nav .container {
  position: relative;
}

.bottom-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.bottom-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-family: Arial, sans-serif;
  font-weight: 500;
  padding: 18px 0;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

.bottom-nav li a:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
}

/* 70 Years at a Glance Section */
.years-at-a-glance {
  background-color: transparent;
  padding: 20px 0;
  text-align: center;
  position: relative;
  min-height: auto;
  height: 950px;
  width: 100%;
  border: none;
  background: linear-gradient(
      90deg,
      rgba(40, 90, 150, 0.65),
      rgba(255, 200, 120, 0.65)
    ),
    url("https://aalco.int/sites/default/files/aalcofinal10.jpg")
      center bottom/cover no-repeat;
}

.years-at-a-glance::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

.years-at-a-glance::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.years-at-a-glance .divider-line {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 2;
  pointer-events: none;
}

#card2 {
  height: 170px !important;
}

@keyframes reflectionPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes yellowShadowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(0);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-20px);
  }
}

@keyframes globalCloudMove {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  20% {
    transform: translate(50px, -30px) rotate(5deg) scale(1.1);
    opacity: 0.9;
  }
  40% {
    transform: translate(-30px, 40px) rotate(-3deg) scale(0.9);
    opacity: 0.8;
  }
  60% {
    transform: translate(40px, 20px) rotate(2deg) scale(1.05);
    opacity: 1;
  }
  80% {
    transform: translate(-20px, -40px) rotate(-2deg) scale(0.95);
    opacity: 0.85;
  }
}

.years-at-a-glance .container {
  position: relative;
  z-index: 10;
}

@keyframes cloudFloat {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(30px) translateY(-10px);
  }
  50% {
    transform: translateX(-20px) translateY(5px);
  }
  75% {
    transform: translateX(15px) translateY(-5px);
  }
}

.years-at-a-glance h2 {
  font-size: 36px;
  color: #0a2351;
  margin-top: 10px;
  position: relative;
  display: inline-block;
}

.years-at-a-glance h2::before,
.years-at-a-glance h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 2px;
  background-color: #0a2351;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(8px);
  -webkit-filter: blur(8px);
  opacity: 0.3;
}

.years-at-a-glance h2::before {
  left: -100px;
}

.years-at-a-glance h2::after {
  right: -100px;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: nowrap;
}

.card {
  background-color: #1a3a7a;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 300px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 32px;
  font-weight: bold;
  color: #ffd700;
  margin: 0 0 15px 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  position: relative;
}

.card h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  opacity: 0.8;
}

.gold-wave {
  width: 80px;
}

/* New Card Styles for Exact Design Match */
.card-gold-text {
  font-size: 32px;
  font-weight: bold;
  color: #ffd700;
  margin: 0 0 10px 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.card-white-text {
  font-size: 16px;
  color: #ffffff;
  margin: 10px 0 0 0;
  line-height: 1.4;
}

/* ----- NEW TITLE ROW STYLES FOR YEARS-AT-A-GLANCE ----- */

.years-at-a-glance .title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.years-at-a-glance .title-row h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: #1f3e70;
  font-family: "Poppins", sans-serif;
}

.years-at-a-glance .title-row .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(-50%, -50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 5, 250, 0.901),
    transparent
  );
}

/* ----- NEW CARD STYLES FOR YEARS-AT-A-GLANCE ----- */

.years-at-a-glance .card {
  background: linear-gradient(180deg, #1b4f8e, #0c2f5c);
  color: #fff;
  width: 260px;
  padding: 12px 16px 16px;
  border-radius: 4px;
  text-align: center;
  height: 120px;
}

.years-at-a-glance .big {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin: 0;
}

#num {
  color: #ffd36b !important;
}

.years-at-a-glance .main {
  font-size: 15px;
  font-weight: 600;
  margin: 2px 0;
}

.years-at-a-glance .small {
  font-size: 13px;
}

.years-at-a-glance .light-line {
  width: 130px;
  height: 2px;
  background: #ffd36b;
  margin: 8px auto 6px;
}

.years-at-a-glance .yellow {
  color: #ffd36b;  
}

/* row for 49 + text */
.years-at-a-glance .row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* -------- CARD 2 LINE -------- */

.years-at-a-glance .line-wrap {
  width: 160px;
  margin: 8px auto 0;
  position: relative;
  height: 16px;
}

.years-at-a-glance .line-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 40%;
  border-bottom: 2px solid #ffd36b;
}

.years-at-a-glance .line-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 40%;
  border-bottom: 2px solid #ffd36b;
}

.years-at-a-glance .v-shape {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 16px;
  transform: translateX(-50%);
}

.years-at-a-glance .v-shape::before,
.years-at-a-glance .v-shape::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 50%;
  border-bottom: 2px solid #ffd36b;
}

.years-at-a-glance .v-shape::before {
  left: 0;
  transform: skewY(35deg);
}

.years-at-a-glance .v-shape::after {
  right: 0;
  transform: skewY(-35deg);
}

/* ----- NEW CARD STYLE (for centres card) ----- */

.years-at-a-glance .middle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0;
}

.years-at-a-glance .middle span {
  font-size: 15px;
  font-weight: 600;
}

.years-at-a-glance .line {
  width: 50px;
  height: 2px;
  background: #ffd36b;
}

.years-at-a-glance .initiatives {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #ffd36b;
}

.card-white-text-large {
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.card-white-text-small {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.3;
}

.card-gold-text-small {
  font-size: 14px;
  color: #ffd700;
  font-weight: bold;
}

.card-separator {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  margin: 10px 0;
  opacity: 0.8;
}

.card-separator-wave {
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  position: relative;
}

.card-separator-wave::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: radial-gradient(ellipse, #ffd700, transparent);
  opacity: 0.6;
}

.card-number-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width: 100%;
  margin-bottom: 10px;
}

.card-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
}

/* Update existing card styles */
.card {
  background-color: #1a3a7a !important;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.card h3 {
  margin: 0;
  padding: 0;
}

.card p {
  margin: 0;
  padding: 0;
}

.gold-text {
  color: #ffd700;
  font-weight: bold;
}

.vision-note-button {
  background-color: #0a2351;
  color: white;
  border: 2px solid #ffd700;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.vision-note-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at 70% 70%,
    rgba(255, 215, 0, 0.15) 0%,
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
}

.vision-note-button:hover {
  background-color: #ffd700;
  color: #0a2351;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.banner {
  width: 100%;
  height: 600px;
  background: url("https://aalco.int/sites/default/files/aalcofinal2.jpg")
    no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 30% 20%;
  border-bottom-right-radius: 30% 20%;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  border-bottom-left-radius: 30% 20%;
  border-bottom-right-radius: 30% 20%;
  overflow: hidden;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 35, 81, 1) 0%,
    rgba(26, 58, 108, 0.8) 30%,
    rgba(13, 40, 86, 0.4) 70%,
    transparent 100%
  );
  z-index: 2;
  border-bottom-left-radius: 30% 20%;
  filter: blur(5px);
}

.shadow-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(10, 35, 81, 1) 0%,
    rgba(26, 58, 108, 0.8) 30%,
    rgba(13, 40, 86, 0.4) 70%,
    transparent 100%
  );
  z-index: 2;
  border-bottom-right-radius: 30% 20%;
  filter: blur(5px);
}

.banner-content {
  text-align: center;
  z-index: 10;
  padding: 20px;
}

.main-title {
  font-size: 4rem;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease-out;
  position: relative;
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(0);
}

.main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  opacity: 0.8;
  transition: opacity 0.6s ease;
}

.subtitle {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(0);
}

.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.6s both;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.btn {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #0a2351;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffed4e, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.btn-secondary:hover {
  background: #ffd700;
  color: #0a2351;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.footer-text {
  font-size: 1.2rem;
  color: #ffd700;
  font-weight: 600;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out 0.9s both;
  position: relative;
  display: inline-block;
}

.footer-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== LEGACY & FUTURE SECTION ===== */
.legacy-future-content {
  position: relative;
  color: #123a6d;
  padding: 60px 60px 70px;
  overflow: hidden;
  background: transparent;
}

/* ===== TOP WHITE LINE ===== */
.top-line {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 3px;
}

.top-line::before,
.top-line::after {
  content: "";
  position: absolute;
  top: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  width: calc(50% - 22px);
}

.top-line::before {
  left: 0;
}
.top-line::after {
  right: 0;
}

.v-notch {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 25px;
  height: 18px;
  transform: translateX(-50%);
}

.v-notch::before,
.v-notch::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  top: 0;
}

.v-notch::before {
  left: 0;
  transform: rotate(27deg);
  transform-origin: right center;
}

.v-notch::after {
  right: 0;
  transform: rotate(-27deg);
  transform-origin: left center;
}

/* ===== CONTENT ===== */
.content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.divider {
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 20px;
  width: 2px;
  background: rgba(30, 70, 130, 0.5);
  transform: translateX(-50%);
}

.column {
  width: 48%;
}

/* ===== HEADING ===== */
.heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.heading-row h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #0f3a72;
  white-space: nowrap;
}

.heading-row span {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-left: 6px;
}

/* underline styles */
.u-blue,
.u-yellow {
  position: relative;
  display: inline-block;
}

.u-blue::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #2f5fa7;
  opacity: 0.6;
}

.u-yellow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 170%;
  height: 1px;
  background: #ffd36b;
}

/* side lines */
.blue-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(-50%, -50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(12, 49, 94),
    transparent
  );
}

/* ===== LIST ===== */
.legacy-future-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legacy-future-content li {
  margin: 12px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.legacy-future-content li:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: translateX(5px);
}

.legacy-future-content li::before {
  content: "✔";
  color: #f4b400;
  font-weight: bold;
  margin-right: 10px;
}

.legacy-future-content li a {
  margin: 0px 0;
  color: #123a6d;
  font-size: 18px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.legacy-future-content li a:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: translateX(5px);
}

.legacy-future-content li a::before {
  color: #f4b400;
  font-weight: bold;
  margin-right: 10px;
}
 
@media (max-width: 900px) {
  .content {
    flex-direction: column;
  }
  .column {
    width: 100%;
  }
  .divider {
    display: none;
  }
}

/* Mobile responsiveness for legacy-future-content: 768px and below */
@media (max-width: 768px) {
  .legacy-future-content {
    padding: 40px 20px 50px;
  }

  .heading-row h2 {
    font-size: 22px;
  }

  .heading-row span {
    font-size: 14px;
  }

  .legacy-future-content li {
    font-size: 15px;
    margin: 10px 0;
  }

  .blue-line {
    width: 60%;
  }

  .top-line::before,
  .top-line::after {
    width: calc(50% - 15px);
  }
}

/* Extra small phones: 480px and below */
@media (max-width: 480px) {
  .legacy-future-content {
    padding: 30px 15px 40px;
  }

  .top-line::before,
  .top-line::after {
    width: calc(50% - 10px);
  }

  .v-notch {
    width: 20px;
    height: 15px;
    top: 18px;
  }

  .heading-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
  }

  .heading-row h2 {
    font-size: 20px;
    white-space: normal;
  }

  .heading-row span {
    font-size: 12px;
  }

  .blue-line {
    display: none;
  }

  .legacy-future-content ul {
    padding: 0 10px;
  }

  .legacy-future-content li {
    font-size: 14px;
    margin: 8px 0;
  }
}

/* Ultra small phones: 320px and below */
@media (max-width: 320px) {
  .legacy-future-content {
    padding: 20px 10px 30px;
  }

  .heading-row h2 {
    font-size: 18px;
  }

  .legacy-future-content li {
    font-size: 13px;
  }
}

/* About Section */
.about-section {
  position: relative;
  padding: 100px 0;
  background: transparent;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at 30% 20%,
      rgba(1, 43, 93, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(255, 215, 0, 0.3) 0%,
      transparent 50%
    );
  filter: blur(15px);
  z-index: 1;
  pointer-events: none;
}

.about-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://aalco.int/sites/default/files/aalcofinal9.jpg")
    no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.about-container {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  font-size: 42px;
  color: #1a365d;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.about-list li {
  font-size: 20px;
  color: #2d3748;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid #ffd700;
  font-weight: 500;
  line-height: 1.6;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.about-list li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

@media (max-width: 768px) {
  .about-container {
    padding: 40px 20px;
    margin: 0 20px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-list li {
    font-size: 18px;
    padding: 12px 15px;
  }
}

/* Anniversary Publications */

/* ================= SECTION ================= */
.anniversary {
  max-width: 1500px;
  height: 600px;
  margin: 40px auto;
  padding: 30px;
  padding-bottom: 300px;
  background: radial-gradient(circle at top right, #ffffff, #e6ecf3);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.anniversary::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
  border-radius: 50%;
  animation: lightFloat 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.anniversary::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 12%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(26, 58, 122, 0.12), transparent 70%);
  border-radius: 50%;
  animation: lightFloat 10s ease-in-out infinite reverse;
  z-index: 1;
  pointer-events: none;
}

/* ================= HEADING ================= */
.section-heading {
  font-size: 28px;
  color: #1d3f72;
  margin-bottom: 25px;
  border-bottom: 2px solid #c8d3e0;
  padding-bottom: 10px;
}

/* ================= TOP GRID ================= */
.top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px; /* FIXED BASE */
  gap: 13px;
  position: relative;
  z-index: 2;
  /* The grid container's box reserves the full 260px x 2 area even where a
     cell has no card in it (only the "Voices" card occupies row 2). That
     empty area was sitting on top of .bottom-grid (Events / Calendar
     button), which is shifted up underneath it — silently blocking hover
     and clicks on desktop. Let events pass through the empty space, but
     keep the actual cards interactive. */
  pointer-events: none;
}

.top-grid > * {
  pointer-events: auto;
}

/* ================= CARDS ================= */
.card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  width: 340px;
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.45s ease;
}

/* CARD BACKGROUNDS */
.card.blue {
  background-image: linear-gradient(
      rgba(10, 40, 90, 0.45),
      rgba(10, 40, 90, 0.85)
    ),
    url("https://aalco.int/sites/default/files/aalcofinal4.jpg");
}

.card.gold {
  background-image: linear-gradient(
      rgba(150, 90, 20, 0.45),
      rgba(150, 90, 20, 0.85)
    ),
    url("https://aalco.int/sites/default/files/aalcofinal5.jpg");
}

.card.blue.dark {
  background-image: linear-gradient(rgba(8, 30, 70, 0.55), rgba(8, 30, 70, 0.9)),
    url("https://aalco.int/sites/default/files/bandungfinal.jpg");
}

/* LIGHT & SHADOW */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 210, 120, 0.55),
    transparent 60%
  );
  opacity: 0.6;
  transition: 0.6s;
}

/* RIBBON */
.ribbon {
  position: relative;
  z-index: 2;
  /* background: rgba(255, 255, 255, 0.92); */
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
}

/* All button links - remove underline */
.btn,
.card-btn-left,
.card-btn-right,
.vision-note-button,
.card-link,
.calendar-btn a,
.voices .outline {
  text-decoration: none !important;
}

/* CARD BUTTONS WITH DIVIDER */
.card-actions {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  height: 40px;
  z-index: 2;
}

.card-btn-left,
.card-btn-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* All card buttons same color - golden yellow */
.card-btn-left,
.card-btn-right {
  background: linear-gradient(#f5d08a, #d8a13b);
  color: #1a3a7a;
}

.card-divider {
  width: 2px;
  background: #000000;
  margin: 8px 0;
  height: 24px;
  align-self: center;
}

.card-btn-left:hover,
.card-btn-right:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

/* HOVER */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0, 30, 80, 0.45);
}

.card:hover::after {
  opacity: 1;
}

/* ================= VOICES (BIG CARD) ================= */
.voices {
  grid-column: 4 / 5;
  grid-row: 1 / span 2; /* tall card */

  position: relative;
  width: 100%;
  max-width: 420px;

  color: #fff;
  padding: 50px 35px;
  border-radius: 6px;
  overflow: hidden;

  /* background image */
  background: url("https://aalco.int/sites/default/files/aalcofinal9.jpg")
    center/cover no-repeat;

  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.35);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* dark overlay */
.voices::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 35, 80, 0.85),
    rgba(10, 35, 80, 0.95)
  );
  z-index: 0;
}

/* content above overlay */
.voices > * {
  position: relative;
  z-index: 1;
}

/* Title */
.voices h3 {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
}

.voices h3 span {
  color: #e3c27a;
}

/* Quote */
.voices p {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  color: #e7edf6;
  position: relative;
}

/* Quote marks */
.voices p::before,
.voices p::after {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.25);
  position: absolute;
}

.voices p::before {
  content: "“";
  left: -5px;
  top: -15px;
}

.voices p::after {
  content: "”";
  right: -5px;
  bottom: -25px;
}

/* Button */
.voices .outline {
  display: block;
  margin: auto;
  padding: 12px 24px;
  font-size: 16px;
  background: transparent;
  border: 2px solid #e3c27a;
  color: #e3c27a;
  cursor: pointer;
  transition: 0.3s;
}

.voices .outline:hover {
  background: #e3c27a;
  color: #072a50;
}

/* ================= BOTTOM GRID ================= */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  position: relative;
  top: -260px;
  z-index: 1;
}

/* EVENTS */
.events {
  background: #fff;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.events h3 {
  color: #1d3f72;
  margin-bottom: 15px;
}

.events ul {
  list-style: none;
}

.events li {
  padding: 12px 0;
  border-bottom: 1px solid #dde5ef;
  transition: all 0.3s ease;
  cursor: pointer;
}

.events li:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: translateX(5px);
}

/* CALENDAR */
.calendar-btn {
  display: flex;
  align-items: flex-end;
}

.calendar-btn a {
  width: 50%;
  padding: 14px;
  background: #1d3f72;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.calendar-btn a:hover {
  background: #2a4f82;
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
/* Tablet Responsive */
@media (max-width: 1024px) {
  .anniversary {
    height: auto;
    padding-bottom: 50px;
  }

  .top-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 20px;
  }

  .voices {
    grid-column: auto;
    grid-row: auto;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
    top: 0;
    gap: 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .anniversary {
    height: auto !important;
    margin: 20px auto;
    padding: 20px 15px 40px 15px;
    padding-bottom: 40px !important;
    overflow: visible !important;
  }

  .section-heading {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .top-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    position: relative !important;
    z-index: 2 !important;
  }

  .card {
    min-height: 180px;
    border-radius: 8px;
    width: 100% !important;
    height: auto !important;
    min-height: 180px !important;
  }

  .ribbon {
    font-size: 0.9rem;
    padding: 12px;
    text-align: center;
  }

  .card-actions {
    bottom: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    height: 40px;
    z-index: 2;
  }

  .card-actions button {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .voices {
    min-height: 200px;
    padding: 20px;
    text-align: center;
  }

  .voices h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .voices p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .events {
    padding: 20px;
  }

  .events h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .events li {
    font-size: 0.9rem;
    padding: 10px 0;
    text-align: center;
  }

  .calendar-btn {
    justify-content: center;
  }

  .calendar-btn a {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1002;
    background: rgba(10, 35, 81, 0.9);
    padding: 8px;
    border-radius: 5px;
    backdrop-filter: blur(5px);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: rgba(10, 35, 81, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 100px 20px 20px;
    gap: 0;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(135deg, #0a2351, #1a3a7a);
    z-index: -1;
  }

  .bottom-nav li {
    margin: 15px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.5s ease forwards;
  }

  .nav-menu.active .bottom-nav li:nth-child(1) {
    animation-delay: 0.1s;
  }
  .nav-menu.active .bottom-nav li:nth-child(2) {
    animation-delay: 0.2s;
  }
  .nav-menu.active .bottom-nav li:nth-child(3) {
    animation-delay: 0.3s;
  }
  .nav-menu.active .bottom-nav li:nth-child(4) {
    animation-delay: 0.4s;
  }
  .nav-menu.active .bottom-nav li:nth-child(5) {
    animation-delay: 0.5s;
  }
  .nav-menu.active .bottom-nav li:nth-child(6) {
    animation-delay: 0.6s;
  }
  .nav-menu.active .bottom-nav li:nth-child(7) {
    animation-delay: 0.7s;
  }

  @keyframes slideInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .bottom-nav li a {
    padding: 20px 0;
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .bottom-nav li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .bottom-nav li a:hover::before {
    width: 80%;
  }

  .bottom-nav li a:hover {
    color: #ffd700;
    transform: scale(1.05);
  }

  /* Overlay effect */
  .nav-menu.active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  /* Header */
  .top-nav-left {
    display: none;
  }

  .top-nav-right {
    gap: 8px;
  }

  .social-icon {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .logo h1 {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .logo p {
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  /* Banner */
  .banner {
    height: 420px;
    border-bottom-left-radius: 10% 5%;
    border-bottom-right-radius: 10% 5%;
  }

  .banner::before,
  .banner::after,
  .shadow-right {
    border-bottom-left-radius: 10% 5%;
    border-bottom-right-radius: 10% 5%;
  }

  .main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.3;
    padding: 0 10px;
  }

  .buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 0 20px;
  }

  .btn {
    width: 220px;
    padding: 14px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  /* Cards Section */
  .years-at-a-glance {
    padding: 20px 0;
    height: auto;
  }

  .years-at-a-glance h2 {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    width: 40px;
  }

  .years-at-a-glance h2::before {
    left: -50px;
  }

  .years-at-a-glance h2::after {
    right: -50px;
  }

  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .card {
    width: 90%;
    max-width: 300px;
    height: 80px;
    padding: 12px;
    margin: 0 auto;
  }

  .card h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 14px;
    line-height: 1.4;
  }

  .vision-note-button {
    padding: 12px 25px;
    font-size: 13px;
    margin: 0 auto;
    display: block;
  }

  /* About Section */
  .about-section {
    padding: 50px 0;
  }

  .about-container {
    padding: 35px 20px;
    margin: 0 10px;
    border-radius: 15px;
  }

  .about-title {
    font-size: 28px;
    margin-bottom: 25px;
    letter-spacing: 1px;
  }

  .about-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-list li {
    font-size: 15px;
    padding: 12px 15px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }

  .main-header {
    padding: 15px 0;
  }

  .logo h1 {
    font-size: 24px;
    letter-spacing: 0.5px;
  }

  .logo p {
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  .banner {
    height: 380px;
    border-bottom-left-radius: 5% 3%;
    border-bottom-right-radius: 5% 3%;
  }

  .banner::before,
  .banner::after,
  .shadow-right {
    border-bottom-left-radius: 5% 3%;
    border-bottom-right-radius: 5% 3%;
  }

  .main-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .subtitle {
    font-size: 0.95rem;
    max-width: 95%;
    margin-bottom: 20px;
    padding: 0 5px;
  }

  .buttons {
    padding: 0 15px;
    gap: 10px;
  }

  .btn {
    width: 180px;
    font-size: 0.75rem;
    padding: 12px 15px;
    border-radius: 8px;
  }

  .card {
    width: 95px;
    max-width: 95px;
    height: 70px;
    padding: 5px;
    flex-shrink: 0;
  }

  .card h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 12px;
    line-height: 1.3;
  }

  .about-title {
    font-size: 24px;
    letter-spacing: 0.5px;
  }

  .about-list li {
    font-size: 13px;
    padding: 10px 12px;
    line-height: 1.4;
  }

  .vision-note-button {
    padding: 10px 20px;
    font-size: 11px;
    width: 200px;
    border-radius: 8px;
  }

  .years-at-a-glance h2 {
    font-size: 22px;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    width: 30px;
  }

  .years-at-a-glance h2::before {
    left: -40px;
  }

  .years-at-a-glance h2::after {
    right: -40px;
  }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .banner {
    height: 550px;
  }

  .main-title {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.3rem;
  }

  .cards-wrapper {
    gap: 25px;
  }

  .card {
    width: 230px;
    height: 170px;
  }

  .about-container {
    max-width: 900px;
    padding: 50px 30px;
  }

  .about-title {
    font-size: 38px;
  }

  .about-list li {
    font-size: 18px;
  }
}

@media (max-width: 1000px) {
  .top-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .voices {
    grid-column: auto;
    grid-row: auto;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
    top: 0;
  }

  .anniversary {
    padding-bottom: 40px;
  }
}

/* Footer Styles */
footer {
  background-color: #0a2351;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  width: 100%;
  margin-top: auto;
  clear: both;
  display: block;
  visibility: visible;
  z-index: 1;
  flex-shrink: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  transition: all 0.3s ease;
  min-height: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-family: Arial, sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
}

.footer-social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-social-links .social-icon {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social-links .social-icon:hover {
  background-color: #ffd700;
  color: #0a2351;
  transform: translateY(-2px);
}

/* Large Desktop Footer */
@media (min-width: 1201px) {
  .footer-content {
    max-width: 1400px;
    padding: 0 30px;
  }

  .footer-nav ul {
    gap: 50px;
  }

  .footer-nav a {
    font-size: 18px;
  }

  .footer-social-links .social-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Desktop Footer */
@media (min-width: 1025px) and (max-width: 1200px) {
  .footer-content {
    padding: 0 25px;
  }

  .footer-nav ul {
    gap: 35px;
  }

  .footer-nav a {
    font-size: 15px;
  }

  .footer-social-links {
    gap: 18px;
  }

  .footer-social-links .social-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

/* Tablet Landscape Footer */
@media (min-width: 769px) and (max-width: 1024px) {
  footer {
    padding: 25px 0;
  }

  .footer-content {
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-nav {
    order: 1;
  }

  .footer-social-links {
    order: 2;
  }

  .footer-nav ul {
    gap: 30px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-social-links {
    gap: 15px;
  }

  .footer-social-links .social-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Tablet Portrait Footer */
@media (min-width: 481px) and (max-width: 768px) {
  footer {
    padding: 25px 0;
    margin-top: auto;
    position: relative;
    width: 100%;
    display: block;
    visibility: visible;
    flex-shrink: 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 0 15px;
    display: flex;
    visibility: visible;
    width: 100%;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }

  .footer-nav a {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 120px;
  }

  .footer-nav a:hover {
    background-color: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
  }

  .footer-social-links {
    justify-content: center;
    gap: 15px;
  }

  .footer-social-links .social-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.15);
  }
}

/* Mobile Landscape Footer */
@media (min-width: 421px) and (max-width: 480px) {
  footer {
    padding: 20px 0;
    min-height: auto;
    margin-top: auto;
    position: relative;
    width: 100%;
    display: block;
    visibility: visible;
    flex-shrink: 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
    text-align: center;
    min-height: auto;
    display: flex;
    visibility: visible;
    width: 100%;
  }

  .footer-nav ul {
    gap: 15px;
    justify-content: center;
  }

  .footer-nav a {
    font-size: 13px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
  }

  .footer-nav a:hover {
    background-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
  }

  .footer-social-links {
    gap: 15px;
    justify-content: center;
  }

  .footer-social-links .social-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Mobile Portrait Footer */
@media (min-width: 321px) and (max-width: 420px) {
  footer {
    padding: 20px 0;
    min-height: auto;
    margin-top: auto;
    position: relative;
    width: 100%;
    display: block;
    visibility: visible;
    flex-shrink: 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 18px;
    padding: 0 12px;
    text-align: center;
    min-height: auto;
    display: flex;
    visibility: visible;
    width: 100%;
  }

  .footer-nav ul {
    gap: 12px;
    justify-content: center;
  }

  .footer-nav a {
    font-size: 12px;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .footer-nav a:hover {
    background-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
  }

  .footer-social-links {
    gap: 12px;
    justify-content: center;
  }

  .footer-social-links .social-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

/* Extra Small Mobile Footer */
@media (max-width: 320px) {
  footer {
    padding: 18px 0;
    min-height: auto;
    margin-top: auto;
    position: relative;
    width: 100%;
    display: block;
    visibility: visible;
    flex-shrink: 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
    text-align: center;
    min-height: auto;
    display: flex;
    visibility: visible;
    width: 100%;
  }

  .footer-nav ul {
    gap: 8px;
    justify-content: center;
  }

  .footer-nav a {
    font-size: 11px;
    padding: 3px 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .footer-nav a:hover {
    background-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
  }

  .footer-social-links {
    gap: 10px;
    justify-content: center;
  }

  .footer-social-links .social-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/* ============================================
   ENHANCED TOUCH INTERACTIONS
   ============================================ */
.btn,
.card-actions button,
.calendar-btn button,
.vision-note-button {
  -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active,
.card-actions button:active,
.calendar-btn button:active,
.vision-note-button:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.nav-link,
.footer-nav a,
.social-icon {
  -webkit-tap-highlight-color: rgba(255, 215, 0, 0.2);
  touch-action: manipulation;
}

/* Better spacing for touch targets */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  .card-actions button {
    min-height: 40px;
    min-width: 40px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
  }

  .social-icon {
    min-height: 44px;
    min-width: 44px;
  }

  .footer-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .anniversary {
    margin: 20px auto;
    padding: 20px;
    padding-bottom: 30px;
  }

  .section-heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    min-height: 200px;
  }

  .ribbon {
    font-size: 0.9rem;
    padding: 12px;
  }

  .card-actions button {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
  }

  .voices {
    min-height: 250px;
    padding: 20px;
  }

  .voices h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .voices p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .events {
    padding: 20px;
  }

  .events h3 {
    font-size: 1.1rem;
  }

  .events li {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .calendar-btn button {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1000px) {
  .top-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .voices {
    grid-column: auto;
    grid-row: auto;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
    top: 0;
  }

  .anniversary {
    padding-bottom: 40px;
  }
}

/* ============================================
   ABOUT AALCO SECTION - EXACT IMAGE MATCH
   ============================================ */

.about-section {
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}

.about-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 30px;
}

.about-background {
  background: url("https://aalco.int/sites/default/files/aalcofinal0.jpg")
    no-repeat center center;
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 0;
}

.about-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(135, 206, 235, 0.3) 0%,
    rgba(255, 223, 186, 0.3) 100%
  );
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 400px;
  padding: 50px 0;
}

.legacy-section,
.future-section {
  flex: 1;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.legacy-section {
  border-right: 1px solid rgba(200, 200, 200, 0.3);
}

.future-section {
  border-left: 1px solid rgba(200, 200, 200, 0.3);
}

/* Horizontal line above headings */
.legacy-section::before,
.future-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  right: 60px;
  height: 1px;
  background: rgba(200, 200, 200, 0.4);
}

.legacy-section h2,
.future-section h2 {
  color: #1e3a8a;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 20px 0 5px 0;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

/* Underline for headings */
.legacy-section h2,
.future-section h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 900;
}

/* LEFT LINE */
.legacy-section h2::before,
.future-section h2::before {
  content: "";
  flex: 1;
  height: 2px;
  background: #1e3a8a;
  opacity: 0.3;
}

/* RIGHT LINE */
.legacy-section h2::after,
.future-section h2::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #1e3a8a;
  opacity: 0.3;
}

/* sub heading */
.legacy-section h3,
.future-section h3 {
  color: black;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 15px 0 35px;
  letter-spacing: 0.3px;
}

.legacy-list,
.future-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legacy-list li,
.future-list li {
  color: #1e3a8a;
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-left: 35px;
  position: relative;
  line-height: 1.5;
  font-weight: 600;
}

.legacy-list li i,
.future-list li i {
  position: absolute;
  left: 0;
  top: 2px;
  color: #f59e0b;
  font-size: 1.2rem;
}

/* Vertical divider line */
.about-content::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50px;
  bottom: 50px;
  width: 1px;
  background: rgba(200, 200, 200, 0.3);
  z-index: 3;
  transform: translateX(-50%);
}

/* Subtle hover effects */
.legacy-list li:hover,
.future-list li:hover {
  transform: translateX(5px);
  transition: all 0.3s ease;
  color: #f59e0b;
}

.legacy-list li:hover i,
.future-list li:hover i {
  transform: scale(1.2);
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 968px) {
  .about-section {
    margin: 40px 15px;
  }

  .legacy-section,
  .future-section {
    padding: 0 40px;
  }

  .legacy-section h2,
  .future-section h2 {
    font-size: 1.9rem;
  }

  .legacy-section h3,
  .future-section h3 {
    font-size: 1rem;
  }

  .legacy-list li,
  .future-list li {
    font-size: 1rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-content::after {
    display: none;
  }

  .legacy-section,
  .future-section {
    border-right: none;
    border-left: none;
    padding: 0 30px;
    min-height: auto;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
  }

  .legacy-section:last-child,
  .future-section:last-child {
    border-bottom: none;
  }

  .legacy-section::before,
  .future-section::before {
    left: 30px;
    right: 30px;
  }

  .legacy-section h2,
  .future-section h2 {
    font-size: 1.8rem;
  }

  .legacy-section h3,
  .future-section h3 {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .legacy-list li,
  .future-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .about-section {
    margin: 30px 10px;
  }

  .legacy-section,
  .future-section {
    padding: 0 20px;
  }

  .legacy-section::before,
  .future-section::before {
    left: 20px;
    right: 20px;
  }

  .legacy-section h2,
  .future-section h2 {
    font-size: 1.6rem;
  }

  .legacy-section h3,
  .future-section h3 {
    font-size: 0.9rem;
  }

  .legacy-list li,
  .future-list li {
    font-size: 0.9rem;
    padding-left: 30px;
    margin-bottom: 10px;
  }

  .legacy-list li i,
  .future-list li i {
    font-size: 1rem;
  }
}

/* ============================================
   FINAL RESPONSIVE FIXES FOR CARDS
   (Add this block at the VERY END of your CSS)
   ============================================ */

/* --- 70 YEARS AT A GLANCE : BASE FIX --- */

/* Flex ko wrap allow karo taaki row toot sake */
.years-at-a-glance .cards-wrapper {
  flex-wrap: wrap;
  justify-content: center;
}

/* Desktop / Large screens: 4 cards ek hi row me */
@media (min-width: 1025px) {
  .years-at-a-glance {
    height: 450px; /* tumhara original desktop height */
  }

  .years-at-a-glance .card {
    flex: 0 0 260px;
    max-width: 260px;
    height: 150px; /* tumhara design jaisa */
  }
}

/* Tablet (769px – 1024px): 2 x 2 layout */
@media (min-width: 769px) and (max-width: 1024px) {
  .years-at-a-glance {
    height: auto;
  }

  .years-at-a-glance .cards-wrapper {
    justify-content: center;
    gap: 20px;
  }

  .years-at-a-glance .card {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    height: 150px; /* same visual height */
  }
}

/* Phones & Small Tablets (max 768px): 
   -> ek row me sirf 1 card 
*/
@media (max-width: 768px) {
  .years-at-a-glance {
    height: auto;
    padding: 20px 0;
  }

  .years-at-a-glance .cards-wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: visible; /* horizontal scroll hata diya */
    padding: 0 10px;
  }

  .years-at-a-glance .card {
    width: 100%;
    max-width: 360px;
    height: auto; /* content ke hisaab se height */
    padding: 14px 18px;
  }
}

/* Super small phones (max 400px): thoda chhota padding */
@media (max-width: 400px) {
  .years-at-a-glance .card {
    max-width: 320px;
    padding: 10px 14px;
  }
}

/* ============================================
   ANNIVERSARY SECTION CARDS
   ============================================ */

/* GRID KO SECTION KE ANDAR HI CONTROL KARENGE */
.anniversary .top-grid {
  width: 100%;
}

/* Desktop (1025px+): 4 columns jaisa tumne banaya hai */
@media (min-width: 1025px) {
  .anniversary {
    height: 600px; /* tumhara original */
    padding-bottom: 300px;
  }

  .anniversary .top-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
  }

  .anniversary .top-grid .card {
    width: 100%;
    max-width: none;
    height: 100%;
  }
}

/* Tablet (769px – 1024px): 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
  .anniversary {
    height: auto;
    padding-bottom: 40px;
  }

  .anniversary .top-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
  }

  .anniversary .top-grid .card {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .anniversary .voices {
    width: 100%;
    max-width: 100%;
  }

  .anniversary .bottom-grid {
    grid-template-columns: 1fr;
    top: 0;
  }
}

/* Phones (max 768px): har row me 1 card */
@media (max-width: 768px) {
  .anniversary {
    height: auto;
    margin: 20px auto;
    padding: 20px 15px 30px;
  }

  .anniversary .section-heading {
    text-align: center;
    font-size: 24px;
  }

  #glance-card {
    width: 200px !important;
    height: 10px !important;	
  }

  .anniversary .top-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }

  .anniversary .top-grid .card {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 200px;
  }

  .anniversary .voices {
    width: 100%;
    max-width: 100%;
    min-height: 220px;
    padding: 20px;
  }

  .anniversary .bottom-grid {
    grid-template-columns: 1fr;
    top: 0;
    gap: 18px;
  }

  .anniversary .events {
    width: 100%;
  }

  .anniversary .calendar-btn a,
  .anniversary .calendar-btn button {
    width: 100%;
  }
}
/* ============================================
   FINAL OVERRIDE – 70 YEARS & ANNIVERSARY
   (Is block ko CSS ke bilkul last me rakho)
   ============================================ */

/* ---------- 70 YEARS AT A GLANCE ---------- */

/* Row ko wrap allow karo */
.years-at-a-glance .cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Desktop 1025px+ : 4 card ek row me, chhoti height */
@media (min-width: 1025px) {
  .years-at-a-glance {
    height: 450px;
  }

  .years-at-a-glance .card {
    flex: 0 0 260px;
    max-width: 260px;
    height: 150px !important;
    min-height: 150px !important;
  }
}

/* Tablet 769–1024px : 2 x 2 layout, same height */
@media (min-width: 769px) and (max-width: 1024px) {
  .years-at-a-glance {
    height: auto;
  }

  .years-at-a-glance .cards-wrapper {
    justify-content: center;
    gap: 20px;
  }

  .years-at-a-glance .card {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    height: 150px !important;
    min-height: 150px !important;
  }
}

/* Phones & small tablets (max 768px): 1 card per row, chhoti height */
@media (max-width: 768px) {
  .years-at-a-glance {
    height: auto;
    padding: 20px 0;
  }

  .years-at-a-glance .cards-wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: visible;
    padding: 0 10px;
  }

  .years-at-a-glance .card {
    width: 100%;
    max-width: 360px;
    height: 150px !important;
    min-height: 150px !important;
    padding: 14px 18px;
  }
}

/* Extra chhote phones: thodi si padding kam */
@media (max-width: 400px) {
  .years-at-a-glance .card {
    max-width: 320px;
    padding: 10px 14px;
  }
}

/* ---------- ANNIVERSARY SECTION – HIDE FIX ---------- */

/* 765px – 1017px ke beech: sab kuch visible, koi overlap nahi */
@media (min-width: 765px) and (max-width: 1017px) {
  .anniversary {
    height: auto !important;
    padding-bottom: 40px !important;
  }

  .anniversary .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 20px;
  }

  .anniversary .bottom-grid {
    top: 0 !important;
  }
}

/* Safety: 1024px se chhote saare widths par bottom-grid kabhi overlap na ho */
@media (max-width: 1024px) {
  .anniversary {
    height: auto !important;
  }

  .anniversary .bottom-grid {
    top: 0 !important;
  }
}

/* ============================================
   FINAL OVERRIDE – 70 YEARS & ANNIVERSARY
   (Is block ko CSS ke bilkul last me rakho)
   ============================================ */

/* ---------- 70 YEARS AT A GLANCE ---------- */

/* Row ko wrap allow karo */
.years-at-a-glance .cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Desktop 1025px+ : 4 card ek row me, chhoti height */
@media (min-width: 1025px) {
  .years-at-a-glance {
    height: 450px;
  }

  .years-at-a-glance .card {
    flex: 0 0 260px;
    max-width: 260px;
    height: 150px !important;
    min-height: 150px !important;
  }
}

/* Tablet 769–1024px : 2 x 2 layout, same height */
@media (min-width: 769px) and (max-width: 1024px) {
  .years-at-a-glance {
    height: auto;
  }

  .years-at-a-glance .cards-wrapper {
    justify-content: center;
    gap: 20px;
  }

  .years-at-a-glance .card {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    height: 150px !important;
    min-height: 150px !important;
  }
}

/* Phones & small tablets (max 768px): 1 card per row, chhoti height */
@media (max-width: 768px) {
  .years-at-a-glance {
    height: auto;
    padding: 20px 0;
  }

  .years-at-a-glance .cards-wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: visible;
    padding: 0 10px;
  }

  .years-at-a-glance .card {
    width: 100%;
    max-width: 360px;
    height: 150px !important;
    min-height: 150px !important;
    padding: 14px 18px;
  }
}

/* Extra chhote phones: thodi si padding kam */
@media (max-width: 400px) {
  .years-at-a-glance .card {
    max-width: 320px;
    padding: 10px 14px;
  }
}

/* ---------- ANNIVERSARY SECTION – HIDE FIX ---------- */

/* 765px – 1017px ke beech: sab kuch visible, koi overlap nahi */
@media (min-width: 765px) and (max-width: 1017px) {
  .anniversary {
    height: auto !important;
    padding-bottom: 40px !important;
  }

  .anniversary .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 20px;
  }

  .anniversary .bottom-grid {
    top: 0 !important;
  }
}

/* Safety: 1024px se chhote saare widths par bottom-grid kabhi overlap na ho */
@media (max-width: 1024px) {
  .anniversary {
    height: auto !important;
  }

  .anniversary .bottom-grid {
    top: 0 !important;
  }
}
/* ============================================
   FINAL FIX: HERO CARDS + ANNIVERSARY
   ============================================ */

/* 1) Hero section ke 4 cards – tablet (769–1024px) par 2–2 card per row */
@media (min-width: 769px) and (max-width: 1024px) {
  .years-at-a-glance .cards-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 20px !important;
  }

  .years-at-a-glance .card {
    flex: 0 0 calc(50% - 20px) !important; /* 2 cards per row */
    max-width: calc(50% - 20px) !important;
  }
}

/* 2) Anniversary bottom cards bug – 783–1013px par kuch bhi hide na ho */
@media (min-width: 783px) and (max-width: 1013px) {
  .anniversary {
    height: auto !important;
    padding-bottom: 40px !important;
    overflow: visible !important;
  }

  .anniversary .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 20px !important;
  }

  .anniversary .bottom-grid {
    position: static !important;
    top: auto !important;
    margin-top: 20px !important;
  }
}

/* 3) 4th (voices) bada card – mobile par bhi comparatively bada dikhe */
@media (max-width: 768px) {
  .voices {
    min-height: 320px !important;
  }
}

/* ============================================
   COMPREHENSIVE FINAL MOBILE OPTIMIZATION
   ============================================ */

/* Universal overflow fix for all screens */
body,
html {
  overflow-x: hidden;
}

/* Ensure proper scaling on mobile */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .container {
    width: 100%;
    overflow-x: hidden;
  }

  /* Banner improvements */
  .banner {
    height: auto;
    min-height: 300px;
  }

  .banner-content {
    padding: 30px 15px;
  }

  .footer-text {
    font-size: 13px;
  }

  /* Section spacing */
  section {
    overflow-x: hidden;
  }

  /* Title responsiveness */
  h1,
  h2,
  h3 {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Flexbox containers should not overflow */
  .cards-wrapper,
  .top-grid,
  .bottom-grid {
    overflow-x: hidden;
    width: 100%;
  }

  /* Button improvements */
  .btn,
  .vision-note-button {
    width: 90%;
    max-width: 280px;
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  /* Anniversary section responsive */
  .anniversary {
    padding: 20px 10px;
  }

  .section-heading {
    font-size: 20px;
    margin-bottom: 20px;
  }

  /* Card improvements */
  .card {
    margin: 0 auto;
  }

  .ribbon {
    font-size: 0.9rem;
    padding: 12px;
  }

  /* Voices card */
  .voices {
    max-width: 100%;
    margin: 0 auto;
  }

  .voices h3 {
    font-size: 20px;
  }

  .voices p {
    font-size: 14px;
  }

  /* Events section */
  .events {
    padding: 15px;
  }

  .events h3 {
    font-size: 18px;
  }

  .events li {
    font-size: 14px;
    padding: 8px 0;
  }
}

/* Ultra-small fix for 320px phones */
@media (max-width: 320px) {
  body {
    font-size: 12px;
  }

  .container {
    padding: 0 8px;
  }

  .main-title {
    font-size: 1.6rem !important;
  }

  .subtitle {
    font-size: 0.85rem !important;
  }

  .vision-note-button,
  .btn {
    width: 90%;
    max-width: 240px;
    font-size: 11px;
    padding: 10px 12px !important;
  }

  .top-nav-left {
    gap: 10px;
  }

  .nav-link {
    font-size: 12px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .logo p {
    font-size: 10px;
  }

  /* Tight spacing for ultra-small */
  .legacy-future-content {
    padding: 15px 8px 20px;
  }

  .heading-row h2 {
    font-size: 16px;
  }

  .heading-row span {
    font-size: 11px;
  }

  .legacy-future-content li {
    font-size: 12px;
    margin: 6px 0;
  }
}

/* Tablet landscape improvements (900px - 1024px) */
@media (min-width: 900px) and (max-width: 1024px) {
  .legacy-future-content {
    padding: 50px 40px 60px;
  }

  .heading-row h2 {
    font-size: 24px;
  }

  .legacy-future-content li {
    font-size: 15px;
  }

  .vision-note-button {
    padding: 12px 28px;
    font-size: 14px;
  }
}

/* Improvement for very large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .legacy-future-content {
    padding: 80px 100px 90px;
  }

  .heading-row h2 {
    font-size: 32px;
  }

  .legacy-future-content li {
    font-size: 18px;
    margin: 15px 0;
  }
}

/* Ensure text doesn't overflow on any screen */
@media (max-width: 1200px) {
  .heading-row h2 {
    word-break: break-word;
    max-width: 100%;
  }

  .legacy-future-content li {
    word-break: break-word;
  }
}

/* General improvements for smoother responsive experience */
@media (max-width: 768px) {
  /* Ensure images scale properly */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Improve touch targets */
  a,
  button {
    min-height: 44px;
  }

  /* Better spacing for lists */
  ul,
  ol {
    padding-left: 20px;
  }

  li {
    margin: 8px 0;
  }
}

/* ============================================
   MASTER RESPONSIVE FIX - FINAL OVERRIDE
   ============================================ */

/* Desktop: Default 950px height */
@media (min-width: 1025px) {
  .years-at-a-glance {
    height: 950px !important;
    padding: 40px 0;
  }

  .years-at-a-glance .cards-wrapper {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    justify-content: center !important;
    padding: 0 20px !important;
  }

  .years-at-a-glance .card {
    width: 220px !important;
    height: 150px !important;
    flex-shrink: 0;
  }
}

/* Tablet: Responsive height */
@media (min-width: 769px) and (max-width: 1024px) {
  .years-at-a-glance {
    height: auto !important;
    padding: 40px 20px;
    background: linear-gradient(
        90deg,
        rgba(40, 90, 150, 0.65),
        rgba(255, 200, 120, 0.65)
      ),
      url("https://aalco.int/sites/default/files/aalcofina9.jpg")
        center bottom/cover no-repeat;
  }

  .years-at-a-glance .cards-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 20px 10px !important;
  }

  .years-at-a-glance .card {
    width: calc(50% - 10px) !important;
    min-width: 200px !important;
    height: 140px !important;
  }
}

/* Mobile: One column */
@media (max-width: 768px) {
  .years-at-a-glance {
    height: auto !important;
    padding: 30px 15px;
    background: linear-gradient(
        90deg,
        rgba(40, 90, 150, 0.65),
        rgba(255, 200, 120, 0.65)
      ),
      url("https://aalco.int/sites/default/files/aalcofina9.jpg")
        center bottom/cover no-repeat;
  }

  .years-at-a-glance h2 {
    font-size: 28px !important;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    width: 40px !important;
    left: -50px !important;
    right: -50px !important;
  }

  .years-at-a-glance .cards-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 0 15px !important;
    width: 100% !important;
    overflow-x: visible !important;
  }

  .years-at-a-glance .card {
    width: 100% !important;
    max-width: 360px !important;
    height: auto !important;
    min-height: 120px !important;
    padding: 15px !important;
    margin: 0 auto !important;
  }

  .legacy-future-content {
    padding: 30px 15px !important;
  }

  .content {
    flex-direction: column !important;
  }

  .column {
    width: 100% !important;
  }

  .divider {
    display: none !important;
  }

  .heading-row h2 {
    font-size: 20px !important;
    flex-wrap: wrap;
  }

  .heading-row span {
    font-size: 13px !important;
  }

  .blue-line {
    display: none !important;
  }

  .legacy-future-content li {
    font-size: 14px !important;
  }

  .vision-note-button {
    width: 90% !important;
    max-width: 300px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}

/* Extra small: 480px and below */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .years-at-a-glance {
    height: auto !important;
    padding: 20px 10px;
  }

  .years-at-a-glance h2 {
    font-size: 24px !important;
  }

  .years-at-a-glance .card {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    min-height: 110px !important;
    padding: 12px !important;
  }

  .card h3 {
    font-size: 26px !important;
  }

  .card p,
  .card .small {
    font-size: 14px !important;
  }

  .legacy-future-content {
    padding: 20px 12px !important;
  }

  .heading-row h2 {
    font-size: 18px !important;
  }

  .heading-row span {
    font-size: 12px !important;
  }

  .legacy-future-content li {
    font-size: 13px !important;
  }

  .top-line::before,
  .top-line::after {
    width: calc(50% - 12px) !important;
  }

  .vision-note-button {
    width: 85% !important;
    max-width: 280px !important;
    padding: 10px 16px !important;
    font-size: 12px !important;
  }
}

/* Ultra small: 320px and below */
@media (max-width: 320px) {
  .years-at-a-glance {
    height: auto !important;
    padding: 15px 8px;
  }

  .years-at-a-glance h2 {
    font-size: 20px !important;
  }

  .years-at-a-glance h2::before,
  .years-at-a-glance h2::after {
    width: 30px !important;
    left: -40px !important;
    right: -40px !important;
  }

  .years-at-a-glance .card {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    min-height: 100px !important;
    padding: 10px !important;
  }

  .card h3 {
    font-size: 22px !important;
  }

  .card p,
  .card .small {
    font-size: 12px !important;
  }

  .legacy-future-content {
    padding: 15px 8px !important;
  }

  .heading-row {
    flex-direction: column;
    gap: 5px;
  }

  .heading-row h2 {
    font-size: 16px !important;
  }

  .heading-row span {
    font-size: 11px !important;
  }

  .legacy-future-content li {
    font-size: 12px !important;
  }

  .top-line::before,
  .top-line::after {
    width: calc(50% - 8px) !important;
  }

  .vision-note-button {
    width: 80% !important;
    max-width: 260px !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
  }

  .main-title {
    font-size: 1.8rem !important;
  }

  .subtitle {
    font-size: 0.9rem !important;
  }
}

/* ============================================
   ANNIVERSARY SECTION - FINAL MOBILE FIX
   ============================================ */

/* Tablet & below: Ensure no cards are hidden */
@media (max-width: 1024px) {
  .anniversary {
    overflow: visible !important;
    height: auto !important;
    padding: 30px 20px 50px 20px !important;
  }

  .top-grid {
    position: relative !important;
    z-index: 2 !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 20px !important;
  }

  .card {
    width: 100% !important;
    height: auto !important;
    min-height: 180px !important;
  }

  .bottom-grid {
    position: relative !important;
    top: 0 !important;
    z-index: 1 !important;
    margin-top: 30px !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .voices {
    width: 100% !important;
    max-width: 100% !important;
  }

  .events {
    width: 100% !important;
  }
}

/* Mobile: Extra safeguards */
@media (max-width: 768px) {
  .anniversary {
    overflow: visible !important;
    height: auto !important;
    padding: 25px 15px 40px 15px !important;
    margin: 20px auto !important;
  }

  .top-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 160px !important;
  }

  .bottom-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    position: relative !important;
    top: 0 !important;
    z-index: 1 !important;
    margin-top: 20px !important;
  }

  .voices {
    width: 100% !important;
    min-height: 250px !important;
  }

  .events {
    width: 100% !important;
  }
}
