@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth scrolling for browsers that support it */
html {
  scroll-behavior: smooth;
}

/* Enhanced smooth scrolling with CSS only fallback */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

:root {
  --primary-color: #03072b;
  --secondary-color: #007fdc;
}

/* Font assignments with improved fallbacks */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat Alternates", sans-serif;
  font-display: swap;
  /* Improve font loading performance */
}

p,
body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  font-display: swap;
  /* Improve font loading performance */
}

a {
  text-decoration: none;
}

html {
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  transition: padding-top 0.3s ease;
}

/* ===== LOADER STYLES ===== */
.nma-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a1d4a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nma-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.nma-loader-container {
  text-align: center;
  color: white;
}

.nma-loader-logo {
  margin-bottom: 30px;
  animation: logoFloat 2s ease-in-out infinite;
}

.nma-loader-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.nma-loader-animation {
  margin: 30px 0;
}

.nma-loader-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nma-dot {
  width: 12px;
  height: 12px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite both;
}

.nma-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.nma-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.nma-dot:nth-child(3) {
  animation-delay: 0s;
}

.nma-dot:nth-child(4) {
  animation-delay: 0.16s;
}

.nma-loader-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  animation: textFade 2s ease-in-out infinite;
}

.nma-loader-text p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 30px;
}

.nma-progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.nma-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), #00a8ff);
  border-radius: 2px;
  animation: progressFill 3s ease-in-out infinite;
}

/* Loader Animations */
@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes dotBounce {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes textFade {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes progressFill {
  0% {
    width: 0%;
    transform: translateX(-100%);
  }

  50% {
    width: 100%;
    transform: translateX(0%);
  }

  100% {
    width: 100%;
    transform: translateX(100%);
  }
}

/* ===== TOP CONTACT BAR ===== */
.nma-top-bar {
  background: var(--primary-color);
  padding: 10px 0;
  font-size: 14px;
  color: white;
}

.nma-top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nma-contact-info {
  display: flex;
  gap: 30px;
}

.nma-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nma-contact-item i {
  color: var(--secondary-color);
}

.nma-login-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  /* border-radius: 25px; */
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.nma-login-btn:hover {
  background: #0056a3;
  transform: translateY(-2px);
}

/* Social Media Icons */
.nma-social-media {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nma-social-link {
  color: white;
  font-size: 16px;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nma-social-link:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  color: white;
}

/* ===== HEADER SECTION ===== */
.nma-header {
  height: 80vh;
  background: linear-gradient(135deg, #667eea75 0%, #764ba28a 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background-image 0.8s ease-in-out;
  padding-top: 80px;
  /* Add padding top to account for navbar height */
}

/* Alternative method using pseudo-elements for crossfade effect */
.nma-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.nma-header.slide-1::before {
  background-image: url("../images/culture.jpg");
  opacity: 1;
}

.nma-header.slide-2::before {
  background-image: url("../images/anniversary.jpg");
  opacity: 1;
}

.nma-header.slide-3::before {
  background-image: url("../images/nma-building.jpg");
  opacity: 1;
}

.nma-header.slide-4::before {
  background-image: url("../images/smart1.jpg");
  opacity: 1;
}

.about-page-bg {
  background-image: url("../images/students-teachers.jpg") !important;
}

.nma-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 43, 0.692);
  z-index: 1;
}

.nma-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 150px 150px;
  z-index: 2;
}

/* ===== NAVIGATION ===== */
.nma-navbar {
  position: absolute;
  z-index: 1000;
  padding: 20px 0;
  width: 100%;
  transition: all 0.3s ease;
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); */
}

/* Initial state for navbar links to be white */
.nma-navbar .nma-nav-link {
  color: white;
}

.nma-navbar.nma-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  animation: slideDown 0.3s forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.nma-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nma-logo-img {
  height: 70px;
  width: auto;
  transition: all 0.3s ease;
}

.nma-navbar.nma-sticky .nma-logo-img {
  height: 70px;
}

.nma-nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nma-nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.nma-navbar.nma-sticky .nma-nav-link {
  color: var(--primary-color);
}

.nma-nav-link:hover {
  color: var(--secondary-color);
}

.nma-nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nma-nav-link:hover::after {
  width: 100%;
}

/* ===== MOBILE MENU TOGGLE ===== */
.nma-mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nma-hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nma-navbar.nma-sticky .nma-hamburger-line {
  background: var(--primary-color);
}

.nma-mobile-toggle.active .nma-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nma-mobile-toggle.active .nma-hamburger-line:nth-child(2) {
  opacity: 0;
}

.nma-mobile-toggle.active .nma-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== DROPDOWN STYLES ===== */
.nma-dropdown {
  position: relative;
}

.nma-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 15px;
  overflow: hidden;
}

.nma-dropdown:hover .nma-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nma-dropdown-link {
  display: block;
  padding: 15px 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.nma-dropdown-link:last-child {
  border-bottom: none;
}

.nma-dropdown-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateX(10px);
}

/* ===== HEADER CONTENT ===== */
.nma-header-content {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px 80px 20px;
  min-height: calc(60vh - 200px);
}

@media (max-width: 600px) {
  .nma-header-content {
    display: block;
    flex: none;
    padding-bottom: 40px;
    min-height: auto;
  }
}

/* ===== SLIDES CONTAINER ===== */
.nma-slides-container {
  flex: 1;
  max-width: 600px;
  margin-left: 100px;
  position: relative;
  min-height: 500px;
  overflow: visible;
  display: flex;
  align-items: center;
}

.nma-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 500px;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.nma-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.nma-slide.prev {
  transform: translateX(-100px);
}

.nma-slide.next {
  transform: translateX(100px);
}

/* Slide animation variants */
.nma-slide.slide-in-right {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nma-slide.slide-out-left {
  animation: slideOutLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
  }
}

.nma-side-nav {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1001;
}

.nma-nav-number {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.nma-nav-number:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.9);
}

.nma-nav-number.active,
.nma-nav-number:hover {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 127, 220, 0.5);
}

/* Progress indicator */
.nma-nav-number::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nma-nav-number.active::before {
  border-color: var(--secondary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 127, 220, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 127, 220, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 127, 220, 0);
  }
}

.nma-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 0.8s ease-out 0.2s forwards;
}

.nma-hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 0.8s ease-out 0.4s forwards;
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide transition text effects */
.nma-slide:not(.active) .nma-hero-title,
.nma-slide:not(.active) .nma-hero-description,
.nma-slide:not(.active) .nma-hero-btn {
  opacity: 0;
  transform: translateY(30px);
}

.nma-slide.active .nma-hero-title {
  animation: slideUpFade 0.8s ease-out 0.2s forwards;
}

.nma-slide.active .nma-hero-description {
  animation: slideUpFade 0.8s ease-out 0.4s forwards;
}

.nma-slide.active .nma-hero-btn {
  animation: slideUpFade 0.8s ease-out 0.6s forwards;
}

.nma-hero-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 127, 220, 0.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.nma-hero-btn:hover {
  background: #0056a3;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 127, 220, 0.4);
}

/* Ripple effect */
.nma-hero-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Loading animations */
.nma-hero-content {
  width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.nma-hero-text {
  width: 100%;
  max-width: 600px;
}

.nma-academic-stages {
  position: relative;
  padding: 40px 0;
  z-index: 3;
  opacity: 0;
  background: white;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
}

.nma-side-links {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nma-side-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.nma-side-link:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
  transform: translateX(-10px);
}

/* ===== ACADEMIC STAGES ===== */
.academic-stages {
  position: relative;
  z-index: 100;
  margin-top: -40px;
}

.nma-stages-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 43, 0.1);
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 50px;
}

.nma-stages-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

.nma-stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nma-stage-item:hover {
  transform: translateY(-5px);
}

.nma-stage-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nma-stage-item:hover .nma-stage-icon {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.nma-stage-text {
  color: black;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .nma-header-content {
    margin-top: 60px;
    padding: 0 15px 80px 15px;
  }

  .nma-slides-container {
    margin-left: 80px;
    max-width: 550px;
  }

  .nma-hero-content {
    margin-left: 0;
  }

  .nma-hero-title {
    font-size: 3rem;
  }

  .nma-hero-description {
    font-size: 1.1rem;
  }

  .nma-nav-menu {
    gap: 30px;
  }

  .nma-stages-container {
    padding: 0 15px;
  }

  .nma-stage-item {
    margin: 0 5px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .nma-mobile-toggle {
    display: flex;
  }

  .nma-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 7, 43, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nma-nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nma-nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nma-nav-item:last-child {
    border-bottom: none;
  }

  .nma-nav-link {
    color: white !important;
    padding: 15px 0;
    display: block;
    width: 100%;
    text-align: left;
  }

  .nma-dropdown-menu {
    position: static;
    background: rgba(0, 127, 220, 0.1);
    margin: 10px 0;
    border-radius: 8px;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nma-top-bar-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .nma-contact-info {
    justify-content: center;
    gap: 20px;
  }

  .nma-social-media {
    justify-content: center;
    gap: 10px;
  }

  .nma-social-link {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .nma-header-content {
    flex-direction: column;
    text-align: center;
    margin-top: 40px;
    padding: 20px 15px 80px 15px;
    min-height: calc(100vh - 160px);
  }

  .nma-slides-container {
    margin-left: 0;
    max-width: 100%;
    min-height: 400px;
    order: 2;
    padding: 0 10px;
  }

  .nma-hero-content {
    margin-left: 0;
  }

  .nma-side-nav {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    order: 1;
  }

  .nma-side-links {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    order: 3;
  }

  .nma-side-link {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
  }

  .nma-side-link:last-child {
    border-right: none;
  }

  .nma-hero-title {
    font-size: 2.5rem;
  }

  .nma-hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .nma-nav-menu {
    gap: 20px;
    font-size: 14px;
  }

  .nma-stages-container {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .nma-stage-item {
    flex: 0 0 calc(33.333% - 10px);
    margin: 5px;
  }

  .nma-stage-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .nma-stage-text {
    font-size: 11px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  * {
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .row,
  .col-md-6 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }

  .nma-top-bar {
    padding: 8px 0;
  }

  .nma-contact-info {
    flex-direction: column;
    gap: 8px;
  }

  .nma-social-media {
    gap: 8px;
    margin-top: 8px;
  }

  .nma-social-link {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .nma-contact-item {
    font-size: 12px;
  }

  .nma-login-btn {
    padding: 6px 15px;
    font-size: 12px;
  }

  .nma-logo-img {
    height: 45px;
  }

  .nma-navbar.nma-sticky .nma-logo-img {
    height: 35px;
  }

  .nma-nav-menu {
    gap: 15px;
    font-size: 13px;
  }

  .nma-nav-link {
    font-size: 13px;
  }

  .nma-header-content {
    padding: 15px 10px 80px 10px;
    margin-top: 30px;
  }

  .nma-slides-container {
    min-height: 350px;
    padding: 0 5px;
  }

  .nma-hero-content {
    margin-left: 0;
  }

  .nma-slide {
    min-height: 350px;
    padding: 10px 0;
  }

  .nma-hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.1;
  }

  .nma-hero-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .nma-hero-btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .nma-side-nav {
    gap: 12px;
    margin-bottom: 25px;
  }

  .nma-nav-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .nma-side-links {
    gap: 15px;
    margin-top: 25px;
  }

  .nma-side-link {
    font-size: 12px;
    padding: 8px 12px;
  }

  .nma-stages-container {
    gap: 8px;
    padding: 0 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nma-stage-item {
    flex: 0 0 calc(50% - 4px);
    margin: 2px;
  }

  .nma-stage-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nma-stage-text {
    font-size: 9px;
  }

  /* Dropdown adjustments for mobile */
  .nma-dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    margin-top: 5px;
  }

  .nma-dropdown-link {
    font-size: 12px;
    padding: 10px 15px;
  }
}

/* Extra Small Devices */
@media (max-width: 320px) {
  .nma-hero-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .nma-hero-description {
    font-size: 0.8rem;
    margin-bottom: 18px;
  }

  .nma-hero-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .nma-nav-number {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .nma-stages-container {
    gap: 6px;
    padding: 0 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nma-stage-item {
    flex: 0 0 calc(50% - 3px);
    margin: 1px;
  }

  .nma-stage-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .nma-stage-text {
    font-size: 8px;
  }

  .nma-slides-container {
    min-height: 300px;
    padding: 0 5px;
  }

  .nma-hero-content {
    margin-left: 0;
  }

  .nma-slide {
    min-height: 300px;
    padding: 5px 0;
  }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .nma-header {
    height: auto;
    min-height: 100vh;
  }

  .nma-header-content {
    min-height: calc(100vh - 120px);
  }

  .nma-slides-container {
    min-height: 300px;
  }

  .nma-slide {
    min-height: 300px;
  }

  .nma-hero-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .nma-hero-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
}

/* ===== HOMEPAGE ABOUT SECTION ===== */
.homepage-about-section {
  padding: 100px 0;
  background: #f8fafc;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
}

.homepage-about-text {
  padding: 60px 40px;
  /* background: white; */
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* .homepage-about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #4a90e2);
} */

.nma-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 127, 220, 0.1);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 127, 220, 0.2);
}

.nma-section-badge i {
  font-size: 12px;
}

.nma-about-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 25px;
}

.nma-highlight {
  color: var(--secondary-color);
  position: relative;
}

.nma-highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

.nma-about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 40px;
}

.nma-about-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nma-primary-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 127, 220, 0.3);
}

.nma-primary-btn:hover {
  background: #0056a3;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 127, 220, 0.4);
}

.nma-secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid #e2e8f0;
  padding: 13px 25px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.nma-secondary-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Images Container Styles */
.nma-images-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 500px;
  padding-left: 40px;
  max-width: 100%;
  overflow: hidden;
}

.nma-image-wrapper {
  position: relative;
  /* border-radius: 15px; */
  overflow: hidden;
  transition: all 0.3s ease;
}

.nma-image-wrapper:hover {
  transform: translateY(-5px);
}

.nma-image-large {
  grid-row: 1 / -1;
  grid-column: 1;
}

.nma-image-small-top {
  grid-row: 1;
  grid-column: 2;
}

.nma-image-small-bottom {
  grid-row: 2;
  grid-column: 2;
}

.nma-about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.nma-image-wrapper:hover .nma-about-image {
  transform: scale(1.05);
}

/* Excellence Badge Overlay */
.nma-excellence-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.nma-image-wrapper:hover .nma-excellence-badge {
  transform: translateY(0);
  opacity: 1;
}

.nma-badge-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), #4a90e2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.nma-badge-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.nma-badge-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Stats Overlay */
.nma-stats-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 127, 220, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  color: white;
}

.nma-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: "Montserrat Alternates", sans-serif;
}

.nma-stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Responsive styles for about section */
@media (max-width: 768px) {
  .homepage-about-section {
    padding: 60px 0;
  }

  .homepage-about-text {
    padding: 40px 25px;
    margin-bottom: 40px;
  }

  .nma-about-title {
    font-size: 2.2rem;
  }

  .nma-about-description {
    font-size: 1rem;
  }

  .nma-about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nma-primary-btn,
  .nma-secondary-btn {
    justify-content: center;
  }

  .nma-images-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    padding-left: 0;
    padding-right: 0;
    margin-top: 30px;
    gap: 15px;
    max-width: 100%;
  }

  .nma-image-large {
    grid-row: 1;
    grid-column: 1;
    height: 250px;
  }

  .nma-image-small-top,
  .nma-image-small-bottom {
    grid-column: 1;
    height: 200px;
  }

  .nma-image-small-top {
    grid-row: 2;
  }

  .nma-image-small-bottom {
    grid-row: 3;
  }

  .nma-excellence-badge {
    position: static;
    transform: none;
    opacity: 1;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .homepage-about-text {
    padding: 30px 15px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .nma-about-title {
    font-size: 1.8rem;
  }

  .nma-primary-btn,
  .nma-secondary-btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .nma-images-container {
    gap: 15px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .nma-image-large {
    height: 200px;
  }

  .nma-image-small-top,
  .nma-image-small-bottom {
    height: 150px;
  }

  .nma-excellence-badge {
    padding: 15px;
    gap: 12px;
  }

  .nma-badge-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nma-badge-content h4 {
    font-size: 1rem;
  }

  .nma-badge-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .academic-stages {
    margin-top: 10px;
  }
}

/* ===== HOMEPAGE ACADEMICS SECTION ===== */
.homepage-academics-section {
  padding: 100px 0;
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.nma-academics-header {
  margin-bottom: 60px;
}

.nma-academics-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  /* max-width: 800px; */
}

/* Main Container Layout */
.nma-academics-main-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  width: 100%;
}

/* Navigation Panel - Both arrows on left */
.nma-academics-nav-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  z-index: 10;
}

.nma-academics-nav-btn {
  background: var(--secondary-color);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 127, 220, 0.3);
}

.nma-academics-nav-btn:hover {
  background: #0056a3;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 127, 220, 0.4);
}

/* Cards Wrapper */
.nma-academics-cards-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

/* Slider */
.nma-academics-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.nma-academics-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 200%;
  /* 6 slides total, so 6 * 100% = 600% */
}

/* Academic Slides */
.nma-academic-slide {
  flex: 0 0 calc(100% / 6);
  /* Each slide takes exactly 1/6 of track width */
  padding: 0 15px;
  box-sizing: border-box;
}

/* Responsive slide widths */
@media (max-width: 1023px) {
  .nma-academics-track {
    width: 600%;
    /* Same width for all screen sizes */
  }

  .nma-academic-slide {
    flex: 0 0 calc(100% / 6);
    /* Each slide still takes 1/6 of track */
  }
}

@media (max-width: 767px) {
  .nma-academics-track {
    width: 600%;
    /* Same width for all screen sizes */
  }

  .nma-academic-slide {
    flex: 0 0 calc(100% / 6);
    /* Each slide still takes 1/6 of track */
  }
}

.nma-academic-card {
  height: 450px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nma-academic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Background Image */
.nma-academic-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.nma-academic-card:hover .nma-academic-bg {
  transform: scale(1.1);
}

/* Overlay */
.nma-academic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(to bottom,
      rgba(3, 7, 43, 0.2) 0%,
      rgba(3, 7, 43, 0.6) 60%,
      rgba(3, 7, 43, 0.9) 100%); */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 30px 25px;
  color: white;
  transition: all 0.4s ease;
}

.nma-academic-card:hover .nma-academic-overlay {
  justify-content: center;
}

/* Stage Icon */
.nma-academic-overlay .nma-stage-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.nma-academic-card:hover .nma-stage-icon {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
  border-color: var(--secondary-color);
}

/* Stage Name */
.nma-stage-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.nma-academic-card:hover .nma-stage-name {
  margin-bottom: 20px;
}

/* Stage Details - Hidden by default, shown on hover */
.nma-stage-details {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  max-width: 280px;
  margin: 0 auto;
  max-height: 0;
  overflow: hidden;
}

.nma-academic-card:hover .nma-stage-details {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}

.nma-stage-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nma-learn-more-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 127, 220, 0.3);
}

.nma-learn-more-btn:hover {
  background: #0056a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 127, 220, 0.4);
}

/* Slider Indicators */
.nma-academics-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.nma-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 127, 220, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nma-indicator.active {
  background: var(--secondary-color);
  transform: scale(1.3);
}

.nma-indicator:hover {
  background: var(--secondary-color);
  transform: scale(1.2);
}

/* Responsive Design for Academics Section */
@media (max-width: 1024px) {
  .nma-academics-main-container {
    gap: 20px;
    padding: 0 15px;
  }

  .nma-academics-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .homepage-academics-section {
    padding: 80px 0;
  }

  .nma-academics-title {
    font-size: 2.2rem;
  }

  .nma-academics-main-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .nma-academics-nav-panel {
    flex-direction: row;
    gap: 20px;
    order: 2;
  }

  .nma-academics-cards-wrapper {
    order: 1;
    width: 100%;
  }

  .nma-academics-track {
    width: 600%;
    /* 6 slides × 100% = 600% */
  }

  .nma-academic-slide {
    flex: 0 0 calc(100% / 6);
    /* Each slide is 1/6 of track width */
    min-width: 0;
    /* Prevent flex items from overflowing */
  }

  .nma-academic-card {
    height: 400px;
  }

  .nma-stage-details {
    opacity: 1;
    transform: translateY(0);
    max-height: none;
  }
}

@media (max-width: 480px) {
  .nma-academics-header {
    margin-bottom: 40px;
  }

  .nma-academics-title {
    font-size: 1.8rem;
  }

  .nma-academic-card {
    height: 350px;
  }

  .nma-academic-overlay {
    padding: 20px 15px;
  }

  .nma-academic-overlay .nma-stage-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .nma-stage-name {
    font-size: 1.4rem;
  }

  .nma-stage-description {
    font-size: 0.9rem;
  }

  .nma-academics-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

/* ===== KEY STATISTICS SECTION ===== */
.key-statistics-section {
  padding: 80px 0;
  background-image: url("../images/nma-building.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.key-statistics-section .nma-stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 43, 0.6) 0%,
    rgba(0, 127, 220, 0.5) 100%
  );
  z-index: 1;
}

.nma-stats-content {
  position: relative;
  z-index: 2;
}

.nma-stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.nma-stats-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.nma-stats-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.nma-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.nma-stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.nma-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.nma-stat-card:hover::before {
  opacity: 1;
}

.nma-stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nma-stat-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: white;
  transition: all 0.4s ease;
}

.nma-stat-card:hover .nma-stat-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 30px rgba(0, 127, 220, 0.4);
}

.nma-stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  font-family: "Montserrat Alternates", sans-serif;
  line-height: 1;
  display: block;
}

.nma-stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nma-stat-sublabel {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.nma-stats-cta {
  text-align: center;
  margin-top: 40px;
}

.nma-stats-btn {
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.nma-stats-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Statistics Section */
@media (max-width: 768px) {
  .key-statistics-section {
    padding: 80px 0;
  }

  .nma-stats-header {
    margin-bottom: 60px;
  }

  .nma-stats-title {
    font-size: 2.2rem;
  }

  .nma-stats-description {
    font-size: 1rem;
  }

  .nma-stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .nma-stat-card {
    padding: 30px 20px;
  }

  .nma-stat-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .nma-stat-number {
    font-size: 2.8rem;
  }

  .nma-stat-label {
    font-size: 1rem;
  }

  .nma-stats-btn {
    padding: 15px 30px;
    font-size: 16px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .nma-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .key-statistics-section {
    padding: 60px 0;
  }

  .nma-stats-title {
    font-size: 1.8rem;
  }

  .nma-stats-description {
    font-size: 0.9rem;
  }

  .nma-stat-card {
    padding: 25px 15px;
  }

  .nma-stat-number {
    font-size: 2.4rem;
  }

  .nma-stat-label {
    font-size: 0.9rem;
  }

  .nma-stat-sublabel {
    font-size: 0.8rem;
  }
}

/* ===== NEWS AND UPCOMING EVENTS SECTION ===== */
/* Loading Spinner */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  min-height: 300px;
}

.loading-spinner i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  animation: spin 2s linear infinite;
}

.loading-spinner p {
  color: #6c757d;
  font-size: 1.1rem;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* News and Events Section */
.news-and-upcoming-events {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
}

.nma-news-header {
  text-align: center;
  margin-bottom: 60px;
}

.nma-news-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
}

.nma-news-description {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.nma-news-events-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header and Tabs Row */
.nma-news-header-tabs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 30px;
}

.nma-news-header-left {
  flex: 1;
}

.nma-news-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.2;
}

/* Tab Navigation */
.nma-news-tabs {
  display: flex;
  gap: 0;
  /* background: white; */
  border-radius: 50px;
  padding: 5px;
  /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
  flex-shrink: 0;
  width: 450px;
}

.nma-news-tab {
  flex: 1;
  padding: 15px 25px;
  border: none;
  background: transparent;
  border-radius: 45px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nma-news-tab.active {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 3px 15px rgba(0, 127, 220, 0.3);
}

.nma-news-tab:hover:not(.active) {
  background: #f8f9fa;
  color: var(--primary-color);
}

/* Content Sections */
.nma-news-content {
  display: none;
}

.nma-news-content.active {
  display: block;
}

/* News Grid Layout */
.nma-news-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* Featured News Section */
.nma-news-featured {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Featured News Card */
.nma-news-featured .nma-news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
}

.nma-news-featured .nma-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nma-news-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.nma-news-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
  z-index: 1;
}

.nma-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nma-news-card:hover .nma-news-image img {
  transform: scale(1.05);
}

.nma-news-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nma-news-content-body {
  padding: 24px;
}

.nma-news-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #6c757d;
}

.nma-news-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nma-news-title-card {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.nma-news-excerpt {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.nma-read-more-btn {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
}

.nma-read-more-btn:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nma-read-more-btn:hover {
  color: var(--primary-color);
  gap: 12px;
}

.nma-read-more-btn:hover:after {
  width: 100%;
}

/* Regular News Items */
.nma-news-regular {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nma-news-regular .nma-news-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  gap: 15px;
}

.nma-news-regular .nma-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.nma-news-image-small {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.nma-news-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nma-news-content-small {
  flex: 1;
}

.nma-news-category-small {
  background: rgba(0, 127, 220, 0.1);
  color: var(--secondary-color);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

.nma-news-title-small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.nma-news-meta-small {
  font-size: 0.75rem;
  color: #6c757d;
}

.nma-news-meta-small span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Events Grid */
.nma-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.nma-event-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.nma-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.nma-event-card.nma-upcoming::before {
  content: "Upcoming";
  position: absolute;
  top: -5px;
  right: 15px;
  background: #28a745;
  color: white;
  padding: 5px 12px;
  border-radius: 0 0 8px 8px;
  font-size: 0.7rem;
  font-weight: 600;
}

.nma-event-date {
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nma-event-day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.nma-event-month {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 5px;
}

.nma-event-details {
  flex: 1;
}

.nma-event-time {
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nma-event-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.nma-event-description {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.nma-event-location {
  color: #6c757d;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nma-event-actions {
  display: flex;
  align-items: flex-end;
}

.nma-event-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nma-event-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* View All Button */
.nma-news-view-all {
  text-align: center;
  margin-top: 40px;
}

.nma-view-all-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(3, 7, 43, 0.2);
}

.nma-view-all-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 127, 220, 0.3);
  gap: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .nma-news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nma-news-featured {
    flex-direction: column;
    gap: 30px;
  }

  .nma-news-image {
    height: 320px;
  }

  .nma-news-main-title {
    font-size: 2.2rem;
  }

  .nma-events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .news-and-upcoming-events {
    padding: 60px 0;
  }

  .nma-news-header {
    margin-bottom: 30px;
  }

  .nma-news-header-tabs-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }

  .nma-news-main-title {
    font-size: 1.8;
  }

  .nma-news-description {
    font-size: 1rem;
  }

  .nma-news-tabs {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 5px;
    align-self: stretch;
  }

  .nma-news-tab {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .nma-news-regular .nma-news-card {
    flex-direction: column;
    text-align: center;
  }

  .nma-news-image-small {
    width: 100%;
    height: 120px;
    align-self: center;
  }

  .nma-event-card {
    flex-direction: column;
    text-align: center;
  }

  .nma-event-date {
    align-self: center;
  }

  .nma-events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .nma-news-featured .nma-news-card {
    margin: 0;
    border-radius: 10px;
  }

  .nma-news-image {
    height: 200px;
  }

  .nma-news-content-body {
    padding: 20px;
  }

  .nma-news-title-card {
    font-size: 1.25rem;
  }

  .nma-event-card {
    padding: 20px;
  }

  .nma-event-title {
    font-size: 1.1rem;
  }
}

/* ===== FOOTER SECTION ===== */
.nma-footer {
  background: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.nma-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 220, 0.1) 0%,
    rgba(3, 7, 43, 0.95) 100%
  );
  pointer-events: none;
}

.nma-footer-main {
  padding: 80px 0 60px;
  position: relative;
  z-index: 1;
}

.nma-footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: flex-start;
}

/* Footer Logo and About */
.nma-footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.nma-footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nma-footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.nma-footer-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

/* Social Media */
.nma-footer-social {
  display: flex;
  gap: 12px;
}

.nma-footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nma-footer-social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 127, 220, 0.4);
}

/* Footer Columns */
.nma-footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.nma-footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

/* Footer Links */
.nma-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nma-footer-links li {
  margin-bottom: 12px;
}

.nma-footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 0;
}

.nma-footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
  bottom: -2px;
}

.nma-footer-link:hover {
  color: white;
  padding-left: 8px;
}

.nma-footer-link:hover::before {
  width: 20px;
}

/* Contact Information */
.nma-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nma-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.nma-footer-contact-item i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.nma-contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nma-contact-label {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.nma-contact-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Footer Bottom */
.nma-footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.nma-footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nma-footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.nma-footer-bottom-links {
  display: flex;
  gap: 25px;
}

.nma-footer-bottom-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nma-footer-bottom-link:hover {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .nma-footer-content {
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .nma-footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .nma-footer-main {
    padding: 60px 0 50px;
  }
}

@media (max-width: 768px) {
  .nma-footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .nma-footer-logo {
    justify-content: center;
  }

  .nma-footer-social {
    justify-content: center;
  }

  .nma-footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .nma-footer-contact-item {
    justify-content: center;
    text-align: left;
  }

  .nma-footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .nma-footer-bottom-links {
    justify-content: center;
  }

  .nma-footer-main {
    padding: 50px 0 40px;
  }
}

@media (max-width: 480px) {
  .nma-footer-main {
    padding: 40px 0 30px;
  }

  .nma-footer-logo {
    flex-direction: column;
    gap: 10px;
  }

  .nma-footer-logo-img {
    width: 40px;
    height: 40px;
  }

  .nma-footer-title {
    font-size: 1.2rem;
  }

  .nma-footer-social {
    gap: 8px;
  }

  .nma-footer-social-link {
    width: 35px;
    height: 35px;
  }

  .nma-footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }
}

.nma-programs-header {
  margin-bottom: 50px;
}

.nma-programs-description {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 800px;
}

/* Programs Grid */
.nma-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .nma-programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .nma-programs-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.nma-program-card {
  /* border-radius: 20px; */
  overflow: hidden;
  position: relative;
  height: 400px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.nma-program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.nma-program-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nma-program-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 43, 0.7),
    rgba(0, 127, 220, 0.6)
  );
  transition: all 0.4s ease;
}

.nma-program-card:hover .nma-program-overlay {
  background: linear-gradient(
    135deg,
    rgba(3, 7, 43, 0.85),
    rgba(0, 127, 220, 0.75)
  );
}

.nma-program-initial-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  transition: all 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.nma-program-card:hover .nma-program-initial-content {
  opacity: 0;
  transform: translateY(-20px);
}

.nma-program-hover-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: white;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 20px;
  width: 90%;
}

.nma-program-card:hover .nma-program-hover-content {
  opacity: 1;
}

.nma-program-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.nma-program-icon i {
  font-size: 2rem;
  color: white;
}

.nma-program-card:hover .nma-program-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.nma-program-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nma-program-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 25px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.nma-program-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.nma-program-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.nma-program-btn i {
  transition: transform 0.3s ease;
}

.nma-program-btn:hover i {
  transform: translateX(5px);
}

/* Call to Action */
.nma-programs-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #0a0d35);
  padding: 60px 40px;
  border-radius: 25px;
  color: white;
  position: relative;
  overflow: hidden;
}

.nma-programs-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateX(-50px) translateY(-50px);
  }

  100% {
    transform: translateX(50px) translateY(50px);
  }
}

.nma-programs-cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.nma-programs-cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.nma-programs-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.nma-programs-cta .nma-primary-btn {
  background: white;
  color: var(--primary-color);
  border: none;
}

.nma-programs-cta .nma-primary-btn:hover {
  background: #f1f5f9;
  transform: translateY(-3px);
}

.nma-programs-cta .nma-secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.nma-programs-cta .nma-secondary-btn:hover {
  background: white;
  color: var(--primary-color);
}

.nma-programs-title {
  font-size: 2.2rem;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .homepage-school-programs {
    padding: 60px 0;
  }

  .nma-programs-header {
    margin-bottom: 50px;
  }

  .nma-programs-title {
    font-size: 2.2rem;
  }

  .nma-programs-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 50px;
  }

  .nma-program-card {
    height: 280px;
  }

  .nma-program-title {
    font-size: 1.6rem;
  }

  .nma-program-hover-content {
    padding: 15px;
  }

  .nma-programs-cta {
    padding: 40px 30px;
  }

  .nma-programs-cta-title {
    font-size: 1.6rem;
  }

  .nma-programs-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nma-programs-cta-buttons .nma-primary-btn,
  .nma-programs-cta-buttons .nma-secondary-btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .nma-programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nma-program-card {
    height: 250px;
  }

  .nma-program-title {
    font-size: 1.4rem;
  }

  .nma-program-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .nma-program-icon i {
    font-size: 1.5rem;
  }

  .nma-program-hover-content {
    padding: 10px;
  }

  .nma-program-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .nma-programs-cta {
    padding: 30px 20px;
  }
}

/* ===== ABOUT PAGE HEADER ===== */
.nma-about-header {
  min-height: 40vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a1f47 100%);
  /* background-image: url('../images/nma-building.jpg'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  /* Add padding top to account for navbar height */
}

.nma-about-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 43, 0.9),
    rgba(26, 31, 71, 0.8)
  );
}

.nma-about-header-content {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 60px 0 40px 0;
}

.nma-about-hero-content {
  text-align: left;
  color: white;
}

/* Breadcrumb Styling */
.nma-breadcrumb {
  margin-bottom: 30px;
}

.nma-breadcrumb .breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 12px 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  justify-content: flex-start;
  margin-bottom: 0;
}

.nma-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nma-breadcrumb .breadcrumb-item a:hover {
  color: white;
}

.nma-breadcrumb .breadcrumb-item.active {
  color: white;
  font-weight: 500;
}

.nma-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* About Hero Text */
.nma-about-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  color: white;
}

.nma-about-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-bottom: 0;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Main Content Styling */

.nma-about-intro {
  padding: 80px 0;
}

.nma-about-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 600;
}

.nma-about-intro .lead {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.7;
}

/* Active Navigation State */
.nma-nav-link.active {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nma-about-header {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .nma-about-header-content {
    padding: 40px 0 30px 0;
  }

  .nma-about-title {
    font-size: 2.5rem;
  }

  .nma-about-subtitle {
    font-size: 1.1rem;
  }

  .nma-about-intro {
    padding: 60px 0;
  }

  .nma-about-intro h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .nma-about-title {
    font-size: 2rem;
  }

  .nma-about-subtitle {
    font-size: 1rem;
  }

  .nma-breadcrumb .breadcrumb {
    padding: 10px 20px;
  }
}

/* ===== WHO WE ARE SECTION ===== */
.who-we-are {
  background: white;
  /* padding: 80px 0; */
}

.who-we-are-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--primary-color);
}

.nma-who-we-are-title {
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
}

.nma-who-we-are-text {
  font-size: 1.1rem;
  color: white;
  line-height: 1.7;
  margin-bottom: 25px;
}

.nma-who-we-are-text:last-child {
  margin-bottom: 0;
}

/* Responsive Design for Who We Are Section */
@media (max-width: 768px) {
  .who-we-are {
    padding: 60px 0;
  }

  .who-we-are-details {
    padding: 40px 0;
    min-height: auto;
  }

  .nma-who-we-are-title {
    font-size: 2rem;
  }

  .nma-who-we-are-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .who-we-are {
    padding: 40px 0;
  }

  .who-we-are-details {
    padding: 30px 0;
  }

  .nma-who-we-are-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .nma-who-we-are-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
}

/* ===== MISSION & VISION SECTION ===== */
.nma-mission-vision-section {
  padding: 80px 0;
  background: #f8fafc;
}

.nma-mission-vision-header {
  text-align: center;
  margin-bottom: 60px;
}

.nma-mission-card,
.nma-vision-card,
.nma-philosophy-card {
  background: white;
  /* border-radius: 20px; */
  padding: 40px 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.nma-mission-card {
  border-left: 5px solid var(--secondary-color);
}

.nma-vision-card {
  border-left: 5px solid #e74c3c;
}

.nma-philosophy-card {
  border-left: 5px solid #27ae60;
}

.nma-mission-card:hover,
.nma-vision-card:hover,
.nma-philosophy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nma-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.nma-mission-card .nma-card-icon {
  background: linear-gradient(135deg, var(--secondary-color), #0084d1);
}

.nma-vision-card .nma-card-icon {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.nma-philosophy-card .nma-card-icon {
  background: linear-gradient(135deg, #27ae60, #229954);
}

.nma-card-icon i {
  font-size: 2rem;
  color: white;
}

.nma-card-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.nma-card-description {
  color: #64748b;
  line-height: 1.7;
  font-size: 1.1rem;
  margin: 0;
}

/* Core Values */
.nma-core-values {
  margin-top: 60px;
  text-align: center;
}

.nma-values-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.nma-values-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), #0084d1);
  border-radius: 2px;
}

.nma-value-item {
  padding: 30px 20px;
  background: white;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.nma-value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
}

.nma-value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), #0084d1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: all 0.3s ease;
}

.nma-value-icon i {
  font-size: 1.5rem;
  color: white;
}

.nma-value-item:hover .nma-value-icon {
  transform: scale(1.1);
}

.nma-value-name {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.nma-value-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design for Mission & Vision Section */
@media (max-width: 768px) {
  .nma-mission-vision-section {
    padding: 60px 0;
  }

  .nma-mission-vision-header {
    margin-bottom: 40px;
  }

  .nma-mission-card,
  .nma-vision-card,
  .nma-philosophy-card {
    padding: 30px 25px;
    margin-bottom: 25px;
  }

  .nma-card-title {
    font-size: 1.5rem;
  }

  .nma-card-description {
    font-size: 1rem;
  }

  .nma-core-values {
    margin-top: 40px;
  }

  .nma-values-title {
    font-size: 1.8rem;
  }

  .nma-value-item {
    padding: 25px 15px;
  }
}

@media (max-width: 480px) {
  .nma-mission-card,
  .nma-vision-card,
  .nma-philosophy-card {
    padding: 25px 20px;
  }

  .nma-card-icon {
    width: 60px;
    height: 60px;
  }

  .nma-card-icon i {
    font-size: 1.5rem;
  }

  .nma-card-title {
    font-size: 1.3rem;
  }

  .nma-card-description {
    font-size: 0.95rem;
  }

  .nma-values-title {
    font-size: 1.6rem;
  }

  .nma-value-icon {
    width: 50px;
    height: 50px;
  }

  .nma-value-icon i {
    font-size: 1.3rem;
  }

  .nma-value-name {
    font-size: 1.1rem;
  }
}

/* ===== ABOUT PAGE HISTORY SECTION ===== */
.nma-history-section {
  padding: 80px 0;
  background: #fafafa;
}

.nma-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.nma-section-title {
  font-size: 2.8rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.nma-title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #0084d1);
  margin: 0 auto 25px auto;
  border-radius: 2px;
}

.nma-section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* History Timeline */
.nma-history-timeline {
  position: relative;
  margin: 40px 0 60px 0;
}

.nma-history-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary-color), #0084d1);
  border-radius: 2px;
}

.nma-history-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 50px;
  transition: all 0.3s ease;
}

.nma-history-item:hover {
  transform: translateX(10px);
}

.nma-history-year {
  position: absolute;
  left: -25px;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 127, 220, 0.3);
  border: 4px solid white;
}

.nma-history-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.nma-history-item:hover .nma-history-content {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.nma-history-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.nma-history-description {
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Mission Statement */
.nma-mission-statement {
  background: linear-gradient(135deg, var(--primary-color), #1a1f47);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nma-mission-statement::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  animation: float 20s infinite linear;
}

.nma-mission-content {
  position: relative;
  z-index: 2;
}

.nma-mission-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.nma-mission-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive Design for History Section */
@media (max-width: 768px) {
  .nma-history-section {
    padding: 60px 0;
  }

  .nma-section-title {
    font-size: 2.2rem;
  }

  .nma-section-subtitle {
    font-size: 1.1rem;
  }

  .nma-history-timeline::before {
    left: 25px;
  }

  .nma-history-item {
    padding-left: 80px;
  }

  .nma-history-year {
    left: 0;
  }

  .nma-history-content {
    padding: 25px 20px;
  }

  .nma-history-title {
    font-size: 1.3rem;
  }

  .nma-mission-statement {
    padding: 40px 25px;
  }

  .nma-mission-title {
    font-size: 1.5rem;
  }

  .nma-mission-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .nma-section-title {
    font-size: 1.8rem;
  }

  .nma-history-item {
    padding-left: 70px;
    margin-bottom: 40px;
  }

  .nma-history-year {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
    left: 5px;
  }

  .nma-history-timeline::before {
    left: 25px;
  }

  .nma-history-content {
    padding: 20px 15px;
  }

  .nma-history-title {
    font-size: 1.2rem;
  }

  .nma-history-description {
    font-size: 0.95rem;
  }

  .nma-mission-statement {
    padding: 30px 20px;
  }

  .nma-mission-title {
    font-size: 1.3rem;
  }
}

.who-we-are-details .container {
  max-width: 600px;
}

/* ===== SCHOOL FACILITIES VIDEO SECTION ===== */
.school-facilities-video-section {
  position: relative;
  min-height: 300px;
  background-image: url("../images/nma-building.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Gradient Overlay */
.nma-facilities-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 43, 0.8) 0%,
    rgba(0, 127, 220, 0.7) 50%,
    rgba(3, 7, 43, 0.9) 100%
  );
  z-index: 1;
}

.nma-facilities-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 80px 20px;
}

.nma-facilities-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.nma-facilities-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.nma-facilities-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Video Button Styling */
.nma-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nma-video-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;
}

.nma-video-btn:hover::before {
  left: 100%;
}

.nma-video-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

.nma-video-btn i {
  font-size: 1.2rem;
}

/* Gallery Button Styling */
.nma-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 16px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nma-gallery-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: white;
  transition: width 0.3s ease;
  z-index: -1;
}

.nma-gallery-btn:hover::before {
  width: 100%;
}

.nma-gallery-btn:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.nma-gallery-btn i {
  font-size: 1.2rem;
}

/* Video Modal Styling */
.nma-video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0.3s;
}

.nma-video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  height: 80%;
  max-height: 450px;
}

.nma-video-close {
  color: white;
  float: right;
  font-size: 35px;
  font-weight: bold;
  position: absolute;
  top: -50px;
  right: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nma-video-close:hover {
  color: #e74c3c;
}

.nma-video-container {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nma-video-container iframe {
  width: 100%;
  height: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .school-facilities-video-section {
    background-attachment: scroll;
    min-height: 400px;
  }

  .nma-facilities-content {
    padding: 60px 15px;
  }

  .nma-facilities-title {
    font-size: 2.2rem;
  }

  .nma-facilities-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .nma-facilities-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .nma-video-btn,
  .nma-gallery-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .nma-video-modal-content {
    margin: 10% auto;
    width: 95%;
    height: 70%;
  }
}

@media (max-width: 480px) {
  .nma-facilities-title {
    font-size: 1.8rem;
  }

  .nma-facilities-subtitle {
    font-size: 1rem;
  }

  .nma-video-btn,
  .nma-gallery-btn {
    padding: 15px 25px;
    font-size: 1rem;
  }
}

/* ===== WELCOME MESSAGE PAGE STYLES ===== */
.nma-welcome-page-header {
  position: relative;
  height: 30vh;
  min-height: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a44806b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nursery-creche-bg::before {
  background: url("../images/culture-5.JPG") center/cover !important;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.1;
  background-attachment: fixed;
}

.nma-welcome-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/nma-building.jpg") center/cover;
  opacity: 0.1;
  z-index: 1;
  background-attachment: fixed;
}

.nma-welcome-page-header.lower-primary::before {
  background: url("../images/lower_primary/lower_primary_12.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.nma-welcome-page-header.upper-primary::before {
  background: url("../images/upper_primary/upper_primary_10.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.nma-welcome-page-header.kindergarten::before {
  background: url("../images/kindergarten/kindergarten_1.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.nma-welcome-page-header .nma-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 43, 0.25) 0%,
    rgba(0, 127, 220, 0.25) 100%
  );
  z-index: 2;
}

.nma-welcome-page-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
}

.nma-welcome-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.nma-welcome-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.nma-welcome-breadcrumb a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nma-welcome-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.nma-welcome-breadcrumb-active {
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  background: rgba(0, 127, 220, 0.3);
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.nma-welcome-page-title {
  font-size: 3.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  letter-spacing: -1px;
}

.nma-welcome-page-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.nma-welcome-main-content {
  background: #f8f9fa;
  min-height: 50vh;
  padding: 80px 0;
}

/* Decorative Elements for Welcome Page Header */
.nma-welcome-page-header::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(
    45deg,
    transparent 49%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 51%
  );
  border-radius: 50%;
  z-index: 4;
  animation: pulse 3s infinite;
}

/* Animation for Welcome Page */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translateX(-50%) scale(1.1);
    opacity: 1;
  }
}

/* Responsive Design for Welcome Page */
@media (max-width: 1024px) {
  .nma-welcome-page-header {
    height: 55vh;
    min-height: 450px;
  }

  .nma-welcome-page-title {
    font-size: 3.2rem;
  }

  .nma-welcome-page-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nma-welcome-page-header {
    height: 50vh;
    min-height: 400px;
  }

  .nma-welcome-page-content {
    padding: 0 15px;
  }

  .nma-welcome-breadcrumb {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
  }

  .nma-welcome-page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .nma-welcome-page-subtitle {
    font-size: 1.1rem;
  }

  .nma-welcome-main-content {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .nma-welcome-page-header {
    height: 45vh;
    min-height: 350px;
  }

  .nma-welcome-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .nma-welcome-page-title {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .nma-welcome-page-subtitle {
    font-size: 1rem;
  }

  .nma-welcome-main-content {
    padding: 40px 0;
  }
}

/* ===== WELCOME MESSAGE CONTENT STYLES ===== */
.nma-welcome-main-content {
  padding: 0;
}

/* School Head Introduction Section */
.nma-welcome-intro-section {
  background: white;
  padding: 80px 0;
}

.nma-welcome-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.nma-welcome-photo-section {
  display: flex;
  justify-content: center;
}

.nma-school-head-photo {
  position: relative;
  width: 300px;
  height: 400px;
  /* border-radius: 20px; */
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.nma-school-head-photo:hover {
  transform: translateY(-10px);
}

.nma-head-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nma-photo-frame {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px solid var(--secondary-color);
  border-radius: 25px;
  z-index: -1;
}

.nma-welcome-text-section {
  padding: 20px 0;
}

.nma-welcome-greeting {
  margin-bottom: 30px;
}

.nma-greeting-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.2;
}

.nma-greeting-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 0;
}

.nma-welcome-opening {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-weight: 500;
}

.nma-welcome-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

/* Achievements Section */
.nma-welcome-achievements-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.nma-achievements-content {
  text-align: center;
}

.nma-achievements-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.nma-achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.nma-achievement-item {
  background: white;
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nma-achievement-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.nma-achievement-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), #0056a3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.nma-achievement-text h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.nma-achievement-text p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* Educational Philosophy Section */
.nma-welcome-philosophy-section {
  background: white;
  padding: 80px 0;
}

.nma-philosophy-content {
  text-align: center;
}

.nma-philosophy-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.nma-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.nma-philosophy-item {
  padding: 40px 30px;
  background: #f8f9fa;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.nma-philosophy-item:hover {
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.nma-philosophy-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
}

.nma-philosophy-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.nma-philosophy-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* What Makes Us Unique Section */
.nma-welcome-unique-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4480 100%);
  padding: 80px 0;
  color: white;
}

.nma-unique-content {
  text-align: center;
}

.nma-unique-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 50px;
}

.nma-unique-features {
  max-width: 1000px;
  margin: 0 auto;
}

.nma-unique-feature {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nma-feature-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  min-width: 80px;
  text-align: center;
}

.nma-feature-content h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.nma-feature-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Personal Message Section */
.nma-welcome-personal-section {
  background: white;
  padding: 80px 0;
}

.nma-personal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.nma-personal-message {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  text-align: justify;
}

.nma-welcome-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 5px solid var(--secondary-color);
}

.nma-signature-img {
  max-width: 200px;
  height: auto;
  opacity: 0.8;
}

.nma-signature-details {
  text-align: left;
}

.nma-signature-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.nma-signature-title {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 3px;
}

.nma-signature-school {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Call to Action Section */
.nma-welcome-cta-section {
  position: relative;
  background: url("../images/nma-building.jpg") center/cover no-repeat;
  padding: 80px 0;
  overflow: hidden;
  background-attachment: fixed;
}

.nma-welcome-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 43, 0.85) 0%,
    rgba(0, 127, 220, 0.75) 100%
  );
  z-index: 1;
}

.nma-welcome-cta-section .container {
  position: relative;
  z-index: 2;
}

.nma-cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.nma-cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nma-cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.nma-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.nma-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: center;
}

.nma-cta-primary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 5px 20px rgba(0, 127, 220, 0.3);
}

.nma-cta-primary:hover {
  background: #0056a3;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 127, 220, 0.4);
  color: white;
}

.nma-cta-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.nma-cta-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Social Sharing Section */
.nma-social-sharing {
  text-align: center;
}

.nma-sharing-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.nma-sharing-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.nma-share-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
}

.nma-share-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Welcome Content */
@media (max-width: 1024px) {
  .nma-welcome-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .nma-achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .nma-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
  }

  .nma-welcome-signature {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nma-signature-details {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nma-welcome-container {
    padding: 0 15px;
  }

  .nma-welcome-intro {
    padding: 40px 0;
    margin-bottom: 60px;
  }

  .nma-school-head-photo {
    width: 220px;
    height: 280px;
  }

  .nma-greeting-title {
    font-size: 2rem;
  }

  .nma-achievements-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .nma-achievement-item {
    padding: 30px 15px;
  }

  .nma-achievements-title,
  .nma-philosophy-title,
  .nma-unique-title,
  .nma-cta-title {
    font-size: 1.8rem;
  }

  .nma-unique-feature {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .nma-feature-number {
    min-width: auto;
  }

  .nma-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nma-cta-btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .nma-school-head-photo {
    width: 180px;
    height: 240px;
  }

  .nma-greeting-title {
    font-size: 1.6rem;
  }

  .nma-welcome-signature {
    padding: 30px 20px;
  }

  .nma-signature-img {
    max-width: 150px;
  }

  .nma-sharing-buttons {
    gap: 10px;
  }

  .nma-share-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

.homepage-programs-items img {
  height: 100%;
  object-fit: cover;
}

.bg-smartribe {
  background: var(--secondary-color);
}

.bg-science {
  background: var(--primary-color);
}

/* ===== CRECHE PAGE STYLES ===== */

/* Creche Program Overview Section */
.nma-creche-overview-section {
  padding: 80px 0;
  background-color: white;
}

.nma-creche-overview-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nma-creche-overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.nma-creche-overview-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.nma-creche-overview-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.nma-creche-overview-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nma-creche-highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nma-creche-highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nma-creche-highlight-icon {
  width: 45px;
  height: 45px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nma-creche-highlight-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
  font-weight: 600;
}

.nma-creche-overview-image {
  position: relative;
}

.nma-creche-overview-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nma-creche-overview-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nma-creche-stat-item {
  text-align: center;
}

.nma-creche-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.nma-creche-stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nma-creche-overview-section {
    padding: 60px 0;
  }

  .nma-creche-overview-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nma-creche-overview-title {
    font-size: 2rem;
  }

  .nma-creche-overview-description {
    font-size: 1rem;
  }

  .nma-creche-highlight-item {
    padding: 12px 15px;
  }

  .nma-creche-highlight-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .nma-creche-highlight-title {
    font-size: 1rem;
  }

  .nma-creche-overview-img {
    height: 350px;
  }

  .nma-creche-overview-stats {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .nma-creche-overview-container {
    padding: 0 15px;
  }

  .nma-creche-overview-title {
    font-size: 1.8rem;
  }

  .nma-creche-highlight-item {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    padding: 10px 15px;
  }

  .nma-creche-overview-img {
    height: 280px;
  }

  .nma-creche-stat-number {
    font-size: 1.5rem;
  }
}

/* Creche Daily Schedule Section */
.nma-creche-daily-schedule {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.nma-creche-schedule-header {
  text-align: center;
  margin-bottom: 60px;
}

.nma-creche-schedule-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.nma-creche-schedule-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.nma-creche-schedule-timeline {
  position: relative;
}

.nma-creche-timeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.nma-creche-timeline-row:last-child {
  margin-bottom: 0;
}

.nma-creche-timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.nma-creche-timeline-time {
  width: 100px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.nma-creche-time-text {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nma-creche-timeline-content {
  flex: 1;
  margin-left: 20px;
  background: white;
  padding: 20px;
  /* border-radius: 12px; */
  border-left: 4px solid var(--secondary-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nma-creche-timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.nma-creche-timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.nma-creche-timeline-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.nma-creche-timeline-description {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nma-creche-daily-schedule {
    padding: 60px 0;
  }

  .nma-creche-schedule-header {
    margin-bottom: 40px;
  }

  .nma-creche-schedule-title {
    font-size: 2rem;
  }

  .nma-creche-timeline-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nma-creche-timeline-time {
    width: 80px;
  }

  .nma-creche-time-text {
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  .nma-creche-timeline-content {
    margin-left: 15px;
    padding: 18px;
  }

  .nma-creche-timeline-title {
    font-size: 1.1rem;
  }

  .nma-creche-timeline-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .nma-creche-schedule-container {
    padding: 0 15px;
  }

  .nma-creche-schedule-title {
    font-size: 1.8rem;
  }

  .nma-creche-timeline-row {
    gap: 15px;
  }

  .nma-creche-timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .nma-creche-timeline-time {
    width: auto;
    margin-bottom: 10px;
  }

  .nma-creche-timeline-content {
    margin-left: 0;
    width: 100%;
    padding: 15px;
  }

  .nma-creche-timeline-content:hover {
    transform: none;
  }
}

/* ===== CRECHE LEARNING FACILITIES CAROUSEL ===== */

.nma-creche-facilities-carousel-section {
  padding: 80px 0 0 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.nma-facilities-carousel-header {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 20px 60px;
  /* text-align: center; */
  position: relative;
}

.nma-facilities-carousel-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.nma-facilities-carousel-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.nma-facilities-carousel-nav {
  position: absolute;
  top: 0;
  right: 20px;
  display: flex;
  gap: 10px;
}

.nma-facilities-nav-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nma-facilities-nav-btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.nma-facilities-nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.nma-facilities-carousel-container {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.nma-facilities-carousel-container:active {
  cursor: grabbing;
}

.nma-facilities-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  width: max-content;
  /* Ensures track width accommodates all slides */
}

.nma-facilities-carousel-slide {
  flex: 0 0 500px;
  height: 400px;
  margin-right: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.nma-facilities-carousel-slide:hover {
  transform: scale(1.02);
}

.nma-facilities-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nma-facilities-carousel-slide:hover .nma-facilities-slide-image {
  transform: scale(1.05);
}

.nma-facilities-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px 80px;
}

.nma-facilities-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nma-facilities-indicator.active {
  background: var(--secondary-color);
  transform: scale(1.2);
}

.nma-facilities-indicator:hover {
  background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nma-creche-facilities-carousel-section {
    padding: 60px 0 0 0;
  }

  .nma-facilities-carousel-header {
    padding: 0 15px 40px;
  }

  .nma-facilities-carousel-title {
    font-size: 2rem;
  }

  .nma-facilities-carousel-nav {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }

  .nma-facilities-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .nma-facilities-carousel-slide {
    flex: 0 0 300px;
    height: 250px;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .nma-facilities-carousel-header {
    padding: 0 10px 30px;
  }

  .nma-facilities-carousel-title {
    font-size: 1.8rem;
  }

  .nma-facilities-carousel-slide {
    flex: 0 0 280px;
    height: 220px;
    margin-right: 0;
  }

  .nma-facilities-carousel-indicators {
    padding: 30px 10px 60px;
  }
}

/* ===== NEWS AND EVENTS PAGE STYLES ===== */

/* Latest News Section */
.lastest-news {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.nma-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.nma-section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.nma-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.nma-news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nma-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.nma-news-image {
  height: 400px;
  overflow: hidden;
}

.nma-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nma-news-card:hover .nma-news-img {
  transform: scale(1.05);
}

.nma-news-content-body {
  padding: 25px;
}

.nma-news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.nma-news-date,
.nma-news-author {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #666;
}

.nma-news-date i,
.nma-news-author i {
  color: var(--secondary-color);
}

.nma-news-category {
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: auto;
}

.nma-news-title-card {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.nma-news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.nma-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 6px;
  border: 2px solid var(--secondary-color);
  background: transparent;
}

.nma-read-more-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateX(5px);
}

.nma-read-more-btn i {
  transition: transform 0.3s ease;
}

.nma-read-more-btn:hover i {
  transform: translateX(3px);
}

/* Upcoming Events Section */
.upcoming-events {
  padding: 80px 0;
  background-color: white;
}

.nma-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.nma-event-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.nma-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.nma-event-date {
  text-align: center;
  background: var(--primary-color);
  color: white;
  padding: 15px;
  border-radius: 8px;
  min-width: 80px;
  height: fit-content;
}

.nma-event-day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.nma-event-month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 2px;
}

.nma-event-year {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 2px;
}

.nma-event-content {
  flex: 1;
}

.nma-event-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.nma-event-description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.nma-event-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nma-event-time,
.nma-event-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.nma-event-time i,
.nma-event-location i {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .lastest-news,
  .upcoming-events {
    padding: 60px 0;
  }

  .nma-section-title {
    font-size: 2rem;
  }

  .nma-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nma-events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nma-event-card {
    flex-direction: column;
    text-align: center;
  }

  .nma-event-date {
    align-self: center;
  }

  .nma-event-details {
    justify-content: center;
  }

  .nma-news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nma-news-category {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .nma-news-content-body {
    padding: 20px;
  }

  .nma-event-card {
    padding: 20px;
  }
}

.nma-facilities-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  /* semi-transparent black */
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.nma-facilities-slide-overlay p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  z-index: 3;
}

.nma-facilities-carousel-slide:hover .nma-facilities-slide-overlay {
  opacity: 0;
}

.nma-facilities-carousel-slide {
  position: relative;
}

.health-and-safety-item {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 26px;
  transition: all 0.2s ease-in;
}

.health-and-safety-item:hover {
  transform: translateY(-5px);
}

.hs-title {
  font-weight: 650;
}

.nma-health-safety-title {
  font-weight: 700;
}

.hs-item-1 {
  border-left: 4px solid var(--secondary-color);
}

.hs-item-2 {
  border-left: 4px solid var(--primary-color);
}

.hs-item-3 {
  border-left: 4px solid #c0392b;
}

/* Kindergarten Page Styles */
.kindergarten-hero {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.kindergarten-hero:hover {
  background-color: #02051f;
}

.kindergarten-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.kindergarten-hero:hover h1 {
  transform: scale(1.02);
}

.kindergarten-hero .kindergarten-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.kindergarten-hero:hover .kindergarten-subtitle {
  letter-spacing: 0.5px;
}

.kindergarten-program-overview {
  padding: 4rem 1rem;
  background-color: white;
}

.kindergarten-section-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.kindergarten-section-header h2 {
  color: var(--primary-color);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.kindergarten-section-header:hover h2 {
  color: var(--secondary-color);
}

.kindergarten-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.kindergarten-highlight-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.kindergarten-highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.kindergarten-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(0, 127, 220, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.kindergarten-highlight-card:hover .kindergarten-icon-circle {
  background-color: rgba(0, 127, 220, 0.2);
  transform: rotate(5deg) scale(1.05);
}

.kindergarten-highlight-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.kindergarten-highlight-card:hover h3 {
  color: var(--secondary-color);
}

.kindergarten-curriculum {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}

.kindergarten-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.kindergarten-curriculum-item {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.kindergarten-curriculum-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  /* border-left: 4px solid var(--secondary-color); */
}

.kindergarten-curriculum-item h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.kindergarten-curriculum-item ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.kindergarten-curriculum-item li {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.kindergarten-curriculum-item:hover li {
  transform: translateX(5px);
}

.kindergarten-assessment {
  padding: 4rem 1rem;
  background-color: white;
}

.kindergarten-assessment-content {
  max-width: 800px;
  margin: 0 auto;
}

.kindergarten-assessment-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.kindergarten-assessment-content ul {
  margin: 1.5rem 0;
  padding-left: 1.2rem;
}

.kindergarten-assessment-content li {
  margin-bottom: 0.75rem;
  position: relative;
  transition: all 0.3s ease;
}

.kindergarten-assessment-content li:hover {
  color: var(--secondary-color);
}

.kindergarten-assessment-content li:hover::before {
  content: "→";
  position: absolute;
  left: -20px;
  color: var(--secondary-color);
}

.kindergarten-cta {
  padding: 4rem 1rem;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.kindergarten-cta h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  transition: letter-spacing 0.3s ease;
}

.kindergarten-cta:hover h2 {
  letter-spacing: 1px;
}

.kindergarten-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kindergarten-cta-button:hover {
  background-color: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.kindergarten-cta-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(30deg);
  transition: all 0.3s ease;
}

.kindergarten-cta-button:hover::after {
  left: 100%;
}

@media (max-width: 768px) {
  .kindergarten-highlights {
    flex-direction: column;
    align-items: center;
  }

  .kindergarten-highlight-card {
    max-width: 100%;
  }
}

.lower-primary-details {
  max-width: 500px;
}

.lower-primary-text {
  background-color: var(--primary-color);
  color: white;
}

/* Learning Step Cards */
.learning-step-card {
  border-radius: 15px;
  padding: 25px;
  height: 100%;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.learning-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.learning-step-card:before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transition: all 0.5s ease;
}

.learning-step-card:hover:before {
  width: 150px;
  height: 150px;
  opacity: 0.15;
}

.learning-step-card:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: -1;
  transition: all 0.5s ease;
}

.learning-step-card:hover:after {
  width: 120px;
  height: 120px;
  opacity: 0.1;
}

.learning-step-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.learning-step-card:hover .learning-step-icon {
  transform: rotate(360deg) scale(1.1);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.learning-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.learning-step-description {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Card Background Colors */
.primary-bg {
  background-color: var(--primary-color);
}

.orange-bg {
  background-color: #ff7f27;
}

.red-bg {
  background-color: #e74c3c;
}

.green-bg {
  background-color: #27ae60;
}

.learning-path-steps {
  padding: 40px 0;
}

.learning-path-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.learning-path-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

.learning-header-description p {
  color: #666;
  line-height: 1.7;
}

.row.g-4 {
  margin: 0;
}

@media (max-width: 991px) {
  .learning-step-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .learning-path-header {
    flex-direction: column;
    text-align: center;
  }

  .learning-path-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .learning-header-description {
    margin-top: 30px;
  }

  .col-md-6.d-flex.align-items-center {
    margin-top: 30px;
  }
}

.learning-path-image img {
  height: 100%;
  object-fit: cover;
}

/* Upper Primary Curriculum Table - Unique CSS classes with upp- prefix */
.upp-curriculum-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.upp-curriculum-header {
  text-align: center;
  margin-bottom: 40px;
}

.upp-curriculum-title {
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.upp-curriculum-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
  font-size: 1.1rem;
}

.upp-curriculum-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.upp-tab-btn {
  background: none;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.upp-tab-btn:hover {
  color: var(--secondary-color);
}

.upp-tab-btn.active {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.upp-grade-content {
  display: none;
}

.upp-grade-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upp-curriculum-table {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.upp-table-row {
  display: flex;
  border-bottom: 1px solid #eee;
  background-color: white;
}

.upp-table-row:last-child {
  border-bottom: none;
}

.upp-table-header {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.upp-table-cell {
  flex: 1;
  padding: 20px;
}

.upp-table-header .upp-table-cell {
  font-size: 1.1rem;
  text-align: center;
}

.upp-subject {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px 15px;
}

.upp-subject h3 {
  margin: 10px 0 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.upp-subject-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.upp-english {
  background-color: #3949ab;
}

.upp-math {
  background-color: #2e7d32;
}

.upp-science {
  background-color: #d32f2f;
}

.upp-social {
  background-color: #f57c00;
}

.upp-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.upp-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.upp-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Responsive styles for curriculum table */
@media (max-width: 992px) {
  .upp-table-row {
    flex-direction: column;
  }

  .upp-subject {
    flex-direction: row;
    text-align: left;
    padding: 15px;
  }

  .upp-subject h3 {
    margin: 0 0 0 15px;
  }

  .upp-table-header {
    display: none;
  }

  .upp-table-cell {
    padding: 15px;
  }

  .upp-subject-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .upp-curriculum-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .upp-tab-btn {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }

  .upp-curriculum-title {
    font-size: 1.8rem;
  }
}

/* ===== GALLERY PAGE STYLES ===== */

/* Gallery Hero Section */
.gallery-hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 140px 0 80px;
  padding-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}

.gallery-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  height: 100%;
}

/* Left Content */
.gallery-hero-content {
  padding: 40px 0;
  z-index: 2;
  position: relative;
}

.gallery-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 127, 220, 0.3);
}

.gallery-hero-badge i {
  font-size: 16px;
}

.gallery-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 25px;
  font-family: "Montserrat Alternates", sans-serif;
}

.gallery-hero-highlight {
  color: var(--secondary-color);
  position: relative;
}

.gallery-hero-highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.gallery-hero-description {
  font-size: 1.2rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 90%;
}

/* Gallery Stats */
.gallery-hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-stat-item {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.gallery-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: "Montserrat Alternates", sans-serif;
}

.gallery-stat-label {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery Action Buttons */
.gallery-hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery-primary-btn,
.gallery-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
}

.gallery-primary-btn {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.gallery-primary-btn:hover {
  background: #005bb5;
  border-color: #005bb5;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 127, 220, 0.4);
}

.gallery-secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.gallery-secondary-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(3, 7, 43, 0.3);
}

/* Right Marquee Container */
.gallery-marquee-container {
  display: flex;
  gap: 20px;
  height: 600px;
  position: relative;
}

.gallery-marquee-column {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-marquee-track {
  display: flex;
  flex-direction: column;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  /* gap: 20px; */
}

/* Animation Directions */
.gallery-marquee-up .gallery-marquee-track {
  animation-name: galleryScrollUp;
}

.gallery-marquee-down .gallery-marquee-track {
  animation-name: galleryScrollDown;
}

.gallery-marquee-delay .gallery-marquee-track {
  animation-name: galleryScrollUpDelay;
}

@keyframes galleryScrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes galleryScrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes galleryScrollUpDelay {
  0% {
    transform: translateY(-25%);
  }

  100% {
    transform: translateY(-75%);
  }
}

/* Marquee Items */
.gallery-marquee-item {
  position: relative;
  /* min-height: 250px; */
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-marquee-item {
  object-fit: cover;
}

.gallery-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-marquee-item:hover img {
  transform: scale(1.1);
}

.gallery-marquee-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-marquee-item:hover .gallery-marquee-overlay {
  opacity: 1;
}

.gallery-marquee-overlay span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .gallery-hero-container {
    max-width: 1000px;
    gap: 40px;
  }

  .gallery-hero-title {
    font-size: 3rem;
  }

  .gallery-marquee-container {
    height: 500px;
  }
}

@media (max-width: 968px) {
  .gallery-hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .gallery-hero-content {
    order: 1;
  }

  .gallery-marquee-container {
    order: 2;
    height: 400px;
    justify-self: center;
    max-width: 600px;
  }

  .gallery-hero-title {
    font-size: 2.5rem;
  }

  .gallery-hero-description {
    max-width: 100%;
  }

  .gallery-hero-stats {
    justify-content: center;
  }

  .gallery-hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .gallery-hero-section {
    padding: 120px 0 60px;
  }

  .gallery-hero-container {
    padding: 0 15px;
    gap: 40px;
  }

  .gallery-hero-title {
    font-size: 2.2rem;
  }

  .gallery-hero-description {
    font-size: 1.1rem;
  }

  .gallery-marquee-container {
    height: 350px;
    gap: 15px;
  }

  .gallery-marquee-item {
    min-height: 200px;
  }

  .gallery-hero-stats {
    gap: 30px;
  }

  .gallery-stat-number {
    font-size: 2rem;
  }

  .gallery-primary-btn,
  .gallery-secondary-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero-title {
    font-size: 1.8rem;
  }

  .gallery-hero-description {
    font-size: 1rem;
  }

  .gallery-marquee-container {
    height: 300px;
    gap: 10px;
  }

  .gallery-marquee-item {
    min-height: 180px;
  }

  .gallery-hero-stats {
    gap: 20px;
  }

  .gallery-stat-number {
    font-size: 1.8rem;
  }

  .gallery-hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .gallery-primary-btn,
  .gallery-secondary-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Pause animation on hover */
.gallery-marquee-column:hover .gallery-marquee-track {
  animation-play-state: paused;
}

/* ===== GALLERY MAIN SECTION ===== */
.gallery-main-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.gallery-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header */
.gallery-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: "Montserrat Alternates", sans-serif;
}

.gallery-section-description {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery Tabs */
.gallery-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.gallery-tabs {
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  gap: 8px;
}

.gallery-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  background: transparent;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #6b7280;
}

.gallery-tab-btn.active {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 127, 220, 0.3);
}

.gallery-tab-btn:hover:not(.active) {
  background: #f3f4f6;
  color: var(--primary-color);
}

/* Gallery Content */
.gallery-content-container {
  position: relative;
}

.gallery-tab-content {
  display: none;
}

.gallery-tab-content.active {
  display: block;
}

/* Filter Bar */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 12px 24px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #6b7280;
}

.gallery-filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.gallery-filter-btn:hover:not(.active) {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  /* gap: 30px; */
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  /* border-radius: 15px; */
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 40px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  transform: translateY(0);
}

.gallery-item-overlay h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-item-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.gallery-view-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.gallery-item:hover .gallery-view-btn {
  opacity: 1;
  transform: scale(1);
}

.gallery-view-btn:hover {
  background: var(--secondary-color);
  color: white;
}

/* Video Gallery Grid */
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.gallery-video-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-video-item:hover {
  transform: translateY(-5px);
}

.gallery-video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.gallery-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-video-item:hover .gallery-video-thumbnail img {
  transform: scale(1.05);
}

.gallery-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-video-play-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.gallery-video-info {
  padding: 25px;
}

.gallery-video-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.gallery-video-info p {
  color: #6b7280;
  font-size: 1rem;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
}

.gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 10001;
}

.gallery-modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.gallery-modal-image-container {
  text-align: center;
  max-width: 800px;
}

.gallery-modal-image-container img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-modal-info {
  color: white;
  margin-top: 20px;
}

.gallery-modal-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.gallery-modal-info p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.gallery-modal-counter {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}

.gallery-modal-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.gallery-modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-main-section {
    padding: 60px 0;
  }

  .gallery-section-title {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-tabs {
    flex-direction: column;
    gap: 5px;
  }

  .gallery-filter-bar {
    gap: 10px;
  }

  .gallery-filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .gallery-modal-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .gallery-modal-nav {
    position: static;
    width: 50px;
    height: 50px;
  }

  .gallery-modal-close {
    top: -50px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .gallery-section-title {
    font-size: 2rem;
  }

  .gallery-tab-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .gallery-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .gallery-filter-btn {
    white-space: nowrap;
  }
}

/* ==================== CURRICULUM PAGE STYLES ==================== */

/* Curriculum Header Styles */
.nma-curriculum-header {
  position: relative;
  height: 500px;
  background-image: url("../images/in-the-classroom.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
}

.nma-curriculum-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(3, 7, 43, 0.85), rgba(0, 127, 220, 0.7));
}

.nma-curriculum-header-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.nma-curriculum-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.nma-curriculum-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Curriculum Overview Section */
.curr-overview-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.curr-section-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.curr-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.curr-section-description {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.curr-key-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.curr-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: black;
}

.curr-feature-item:hover {
  transform: translateY(-5px);
}

.curr-feature-icon {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.curr-overview-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.curr-overview-image:hover {
  transform: translateY(-8px);
}

/* Core Academic Subjects Section */
.curr-subjects-section {
  padding: 5rem 0;
  background-color: #fff;
}

.curr-section-header {
  margin-bottom: 3rem;
}

.curr-section-subtitle {
  color: #666;
  font-size: 1.15rem;
  margin-top: 0.5rem;
}

.curr-subjects-grid {
  margin-top: 2rem;
}

.curr-subject-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.curr-subject-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--secondary-color);
}

.curr-subject-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 127, 220, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.curr-subject-icon i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.curr-subject-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.curr-subject-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.curr-subject-points {
  list-style-position: inside;
  padding-left: 0.25rem;
  color: #555;
}

.curr-subject-points li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.curr-subject-points li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 1.25rem;
}

/* Teaching Methodology Section */
.curr-methodology-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.curr-methodology-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.curr-methodology-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.curr-methodology-item {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.curr-methodology-item:hover {
  transform: translateX(10px);
}

.curr-methodology-item h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.curr-methodology-item h3 i {
  color: var(--secondary-color);
}

.curr-methodology-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Assessment Approach Section */
.curr-assessment-section {
  padding: 5rem 0;
  background-color: #fff;
}

.curr-assessment-types {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.curr-assessment-type {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #f8f9fa;
  padding: 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.curr-assessment-type:hover {
  background-color: #f0f4ff;
}

.curr-assessment-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 8px;
  font-size: 1.25rem;
}

.curr-assessment-info h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.curr-assessment-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.curr-chart-container {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.curr-chart-item {
  position: relative;
  height: 40px;
  background-color: #e9ecef;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.curr-chart-fill {
  position: absolute;
  height: 100%;
  width: var(--percent);
  background: linear-gradient(90deg, var(--secondary-color), #2aa7ff);
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.curr-chart-label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
}

.curr-chart-value {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Co-curricular Activities Section */
.curr-cocurricular-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.curr-activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.curr-activity-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.curr-activity-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0, 127, 220, 0.15);
}

.curr-activity-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 1.25rem;
}

.curr-activity-card h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.curr-activity-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Call to Action Section */
.curr-cta-section {
  padding: 5rem 0;
}

.curr-cta-container {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 12px;
  padding: 3rem;
  color: #fff;
  text-align: center;
}

.curr-cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.curr-cta-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.curr-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.curr-cta-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.curr-cta-btn.primary {
  background-color: #fff;
  color: var(--primary-color);
}

.curr-cta-btn.primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.curr-cta-btn.secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.curr-cta-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles for Curriculum Page */
@media (max-width: 991px) {
  .nma-curriculum-title {
    font-size: 2.8rem;
  }

  .curr-section-title {
    font-size: 2.2rem;
  }

  .curr-methodology-item:hover {
    transform: none;
  }

  .curr-cta-container {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 767px) {
  .nma-curriculum-header {
    height: 400px;
  }

  .nma-curriculum-title {
    font-size: 2.2rem;
  }

  .nma-curriculum-subtitle {
    font-size: 1.1rem;
  }

  .curr-section-title {
    font-size: 1.8rem;
  }

  .curr-overview-image {
    margin-top: 2rem;
  }

  .curr-subject-card {
    padding: 1.5rem;
  }

  .curr-activity-card {
    padding: 1.25rem;
  }

  .curr-cta-btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 575px) {
  .curr-key-features {
    gap: 1rem;
  }

  .curr-feature-item {
    width: 100%;
  }

  .curr-section-title {
    font-size: 1.6rem;
  }

  .curr-chart-label,
  .curr-chart-value {
    font-size: 0.8rem;
  }
}

/* ==================== SMARTRIBE PROGRAM STYLES ==================== */

/* General Section Styling */
.st-programs-list {
  /* padding: 5rem 0; */
  background-color: #f8f9fa;
  margin-top: -30px;
  padding-bottom: 5rem;
}

.st-section-header {
  margin-bottom: 3rem;
}

.st-section-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.st-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  bottom: -12px;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.st-section-subtitle {
  color: #555;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* Program Cards Grid */
.st-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Program Card Styling */
.st-program-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.st-program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 127, 220, 0.15);
}

/* Program Icon */
.st-program-icon {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
}

.st-icon-abacus {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.st-icon-robotics {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.st-icon-coding {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.st-icon-french {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

/* Program Content */
.st-program-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.st-program-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.st-program-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Program Features */
.st-program-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.st-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #444;
}

.st-feature i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 127, 220, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  font-size: 0.85rem;
}

/* Program Button */
.st-program-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
  border: 2px solid var(--primary-color);
}

.st-program-btn:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .st-programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .st-section-title {
    font-size: 2.2rem;
  }

  .st-programs-list {
    padding: 3rem 0;
  }
}

@media (max-width: 767px) {
  .st-programs-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .st-program-icon {
    height: 100px;
  }

  .st-section-title {
    font-size: 1.8rem;
  }

  .st-section-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .st-program-content {
    padding: 1.5rem;
  }

  .st-program-title {
    font-size: 1.3rem;
  }

  .st-section-title {
    font-size: 1.6rem;
  }
}

/* Benefits Section Styles */
.st-benefits-section {
  padding: 5rem 0;
  background-color: #fff;
}

.st-benefits-image,
.st-benefits-video {
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.st-video-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.st-benefits-video video {
  width: 100%;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.st-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.st-play-button {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease-in-out;
}

.st-play-button i {
  color: var(--primary-color);
  font-size: 28px;
  margin-left: 5px;
  /* Slight offset for the play icon */
}

.st-video-text {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.st-video-wrapper:hover .st-video-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.st-video-wrapper:hover .st-play-button {
  transform: scale(1.1);
}

.st-video-wrapper:hover .st-video-text {
  opacity: 1;
  transform: translateY(0);
}

.st-video-wrapper:hover video {
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.st-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

.st-benefit-item {
  display: flex;
  gap: 1.5rem;
}

.st-benefit-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 127, 220, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.st-benefit-item:hover .st-benefit-icon {
  background-color: var(--secondary-color);
  color: #fff;
  transform: scale(1.1);
}

.st-benefit-info h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.st-benefit-info p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Testimonials Section */
.st-testimonials-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.st-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.st-testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
}

.st-testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 127, 220, 0.12);
}

.st-testimonial-quote {
  color: var(--secondary-color);
  font-size: 2rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.st-testimonial-text {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.st-testimonial-author {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.st-testimonial-author h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.st-testimonial-author p {
  color: #666;
  font-size: 0.9rem;
}

/* Call to Action Section */
.st-cta-section {
  padding: 5rem 0;
}

.st-cta-container {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 15px;
  padding: 3.5rem;
  text-align: center;
  color: #fff;
}

.st-cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.st-cta-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.st-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.st-cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ===== ADMISSIONS PAGE STYLES ===== */

/* General Styles */
.adm-section-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.adm-section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.adm-cta-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.adm-cta-btn.primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.adm-cta-btn.secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.adm-cta-btn.primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.adm-cta-btn.secondary:hover {
  background-color: rgba(10, 61, 98, 0.1);
  transform: translateY(-3px);
}

/* Welcome Section */
.adm-welcome-section {
  padding: 5rem 0;
}

.adm-welcome-content {
  padding-right: 2rem;
}

.adm-section-text {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.adm-welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.adm-welcome-cta {
  margin-top: 2rem;
}

/* Key Information Section */
.adm-key-info-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.adm-key-info-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.adm-key-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.adm-key-info-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.adm-key-info-title {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
}

.adm-key-info-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.adm-key-info-list li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* Process Timeline Section */
.adm-process-section {
  padding: 5rem 0;
}

.adm-process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.adm-process-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
}

.adm-process-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

.adm-process-step:last-child {
  margin-bottom: 0;
}

.adm-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.adm-step-content {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.adm-process-step:hover .adm-step-content {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.adm-step-title {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

/* Fees & Scholarships Section */
.adm-fees-section {
  padding: 5rem 0;
  background-color: #fff;
}

.adm-fees-card,
.adm-scholarship-card {
  padding: 2.5rem;
  background-color: #f8f9fa;
  border-radius: 10px;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.adm-card-title {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e0e0e0;
}

.adm-fees-table-container {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.adm-fees-table {
  width: 100%;
  border-collapse: collapse;
}

.adm-fees-table th,
.adm-fees-table td {
  padding: 0.8rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.adm-fees-table th {
  background-color: var(--primary-color);
  color: #fff;
}

.adm-fees-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.adm-fees-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #fffbeb;
  border-left: 3px solid #ffc107;
  border-radius: 0 5px 5px 0;
}

.adm-scholarship-types {
  margin: 1.5rem 0;
}

.adm-scholarship-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed #ddd;
}

.adm-scholarship-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.adm-scholarship-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.adm-scholarship-item i {
  margin-right: 0.5rem;
  color: #ffc107;
}

/* Campus Tours Section */
.adm-tours-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.adm-tours-image img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.adm-tours-content {
  padding-left: 1.5rem;
}

.adm-tours-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.adm-tours-options {
  margin: 2rem 0;
}

.adm-tour-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.adm-tour-option i {
  background-color: var(--primary-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.adm-tour-option h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

/* FAQ Section */
.adm-faq-section {
  padding: 5rem 0;
}

.adm-faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--primary-color);
  background-color: #fff;
  padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: #f8f9fa;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(10, 61, 98, 0.1);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a3d62'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  background-color: #fff;
}

.adm-faq-cta {
  margin-top: 3rem;
}

/* CTA Section */
.adm-cta-section {
  padding: 3rem 0;
}

.adm-cta-container {
  background-color: var(--primary-color);
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}

.adm-cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.adm-cta-content p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.adm-cta-buttons .adm-cta-btn.primary {
  background-color: #fff;
  color: var(--primary-color);
  border-color: #fff;
}

.adm-cta-buttons .adm-cta-btn.secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.adm-cta-buttons .adm-cta-btn.primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  color: var(--primary-color);
}

.adm-cta-buttons .adm-cta-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .adm-welcome-content {
    padding-right: 0;
  }

  .adm-process-timeline::before {
    left: 20px;
  }

  .adm-process-step {
    padding-left: 60px;
  }

  .adm-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .adm-tours-content {
    padding-left: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .adm-key-info-card {
    margin-bottom: 1.5rem;
  }

  .adm-fees-card,
  .adm-scholarship-card {
    padding: 1.5rem;
  }

  .adm-cta-container {
    padding: 2rem 1rem;
  }
}

/* ===== NEWS DETAILS PAGE STYLES ===== */

/* Breadcrumb Section */
.news-breadcrumb-section {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

/* Article Styling */
.news-detail-section {
  padding: 4rem 0;
}

.news-detail-header {
  margin-bottom: 2rem;
}

.news-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  color: #666;
  font-size: 0.95rem;
  gap: 1.5rem;
}

.news-detail-meta span i {
  margin-right: 0.4rem;
  color: var(--primary-color);
}

.news-detail-featured-image {
  margin-bottom: 2rem;
  position: relative;
}

.news-detail-featured-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  text-align: center;
}

.news-detail-excerpt {
  font-size: 1.15rem;
  font-weight: 500;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
}

.news-detail-content {
  line-height: 1.8;
  color: #444;
}

.news-detail-content p {
  margin-bottom: 1.5rem;
}

.news-detail-content h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 2.5rem 0 1.2rem;
  font-weight: 600;
}

.news-detail-quote {
  background-color: #f8f9fa;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 5px solid var(--primary-color);
  font-style: italic;
}

.news-detail-quote p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #444;
}

.news-detail-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
}

.news-detail-image-grid {
  margin: 2rem 0;
}

.news-detail-tags {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.tags-title {
  font-weight: 600;
  margin-right: 0.5rem;
  color: #555;
}

.tag-link {
  display: inline-block;
  background-color: #f1f1f1;
  color: #444;
  padding: 0.3rem 0.8rem;
  margin: 0.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-link:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.news-detail-share {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e9ecef;
}

.share-title {
  font-weight: 600;
  margin-right: 0.5rem;
  color: #555;
}

.share-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 0.3rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-link.facebook {
  background-color: #3b5998;
}

.share-link.twitter {
  background-color: #1da1f2;
}

.share-link.linkedin {
  background-color: #0077b5;
}

.share-link.whatsapp {
  background-color: #25d366;
}

.share-link.envelope {
  background-color: #dd4b39;
}

.share-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* Related News Section */
.related-news {
  margin-top: 4rem;
}

.related-news .section-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.news-card {
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-card-img {
  height: 400px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.5rem;
  background-color: #fff;
}

.news-card-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.7rem;
}

.news-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.news-card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card-title a:hover {
  color: #072e49;
}

.news-card-excerpt {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

.news-card-link {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.news-card-link:hover {
  color: #072e49;
  text-decoration: underline;
}

/* Sidebar Styling */
.news-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 2.5rem;
  padding: 1.8rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #e9ecef;
}

/* Search Widget */
.search-widget .input-group {
  position: relative;
}

.search-widget .form-control {
  padding: 0.8rem 1rem;
  border-radius: 50px;
  border: 1px solid #e9ecef;
  padding-right: 45px;
}

.search-widget .btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 0 50px 50px 0;
  width: 45px;
  z-index: 10;
}

/* Recent News Widget */
.recent-news-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.recent-news-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.recent-news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-news-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.recent-news-img {
  width: 80px;
  height: 60px;
  overflow: hidden;
  border-radius: 5px;
  flex-shrink: 0;
  margin-right: 1rem;
}

.recent-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-news-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #333;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.recent-news-date {
  font-size: 0.8rem;
  color: #666;
}

.recent-news-item a:hover h4 {
  color: var(--primary-color);
}

/* Categories Widget */
.categories-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.categories-list li {
  margin-bottom: 0.8rem;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #444;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.categories-list a:hover {
  color: var(--primary-color);
}

.categories-list span {
  background-color: #f1f1f1;
  color: #666;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.categories-list a:hover span {
  background-color: var(--primary-color);
  color: #fff;
}

/* Archives Widget */
.archives-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.archives-list li {
  margin-bottom: 0.8rem;
}

.archives-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #444;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.archives-list a:hover {
  color: var(--primary-color);
}

.archives-list span {
  background-color: #f1f1f1;
  color: #666;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.archives-list a:hover span {
  background-color: var(--primary-color);
  color: #fff;
}

/* CTA Widget */
.cta-widget {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta-widget h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.cta-widget p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-widget .cta-btn {
  display: inline-block;
  background-color: #fff;
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-widget .cta-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .news-sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .news-detail-title {
    font-size: 2rem;
  }

  .news-detail-meta {
    gap: 1rem;
  }

  .news-detail-quote {
    padding: 1.5rem;
  }
}

/* Contact Us Page Styles */
.contact-info-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.contact-info-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border-bottom: 4px solid var(--primary-color);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-info-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.contact-info-card p {
  margin-bottom: 1.5rem;
  color: #505050;
  line-height: 1.6;
}

.contact-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.contact-link:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-link:hover:after {
  width: 100%;
}

/* Contact Form Section Styles */
.contact-form-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.contact-form-container {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.contact-section-title {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-section-subtitle {
  color: #505050;
  font-size: 1.1rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 6px;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(10, 61, 98, 0.25);
  background-color: #ffffff;
}

.contact-form label {
  color: #333;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.contact-submit-btn:hover {
  background-color: #072a44;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 61, 98, 0.3);
}

.contact-form-image img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* School Hours Section Styles */
.school-hours-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.school-hours-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.school-hours-card h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.school-hours-card h3 i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.hours-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hours-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hours-list span {
  font-weight: 600;
  color: #333;
}

.hours-cta-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.hours-cta-btn:hover {
  background-color: #072a44;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(10, 61, 98, 0.3);
}

/* Map Section Styles */
.map-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.map-container {
  margin-bottom: 0;
}

.map-container h2 {
  color: var(--primary-color);
  font-weight: 600;
}

.google-map {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive styles for contact page */
@media (max-width: 767px) {
  .contact-info-card,
  .school-hours-card {
    margin-bottom: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .contact-form-image {
    margin-bottom: 2rem;
  }

  .school-hours-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575px) {
  .contact-info-section,
  .contact-form-section,
  .school-hours-section,
  .map-section {
    padding: 3rem 0;
  }
}

.st-cta-btn.primary {
  background-color: #fff;
  color: var(--primary-color);
}

.st-cta-btn.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.st-cta-btn.secondary {
  border: 2px solid #fff;
  color: #fff;
  background-color: transparent;
}

.st-cta-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

/* Responsive Styles for Benefits and Testimonials */
@media (max-width: 991px) {
  .st-benefits-image,
  .st-benefits-video {
    margin-bottom: 3rem;
  }

  .st-testimonial-card {
    padding: 2rem;
  }

  .st-cta-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .st-benefit-item {
    gap: 1rem;
  }

  .st-benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.2rem;
  }

  .st-benefit-info h3 {
    font-size: 1.1rem;
  }

  .st-testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .st-cta-container {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .st-benefit-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .st-cta-btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* ==================== END OF CURRICULUM PAGE STYLES ==================== */

/* ==================== NEWS DETAILS PAGE STYLES ==================== */
.nma-news-article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.nma-article-header {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.nma-article-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.nma-article-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.nma-article-date,
.nma-article-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.95rem;
}

.nma-article-date i,
.nma-article-author i {
  color: var(--secondary-color);
}

.nma-article-image {
  position: relative;
  overflow: hidden;
}

.nma-article-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nma-article-image:hover img {
  transform: scale(1.05);
}

.nma-article-content {
  padding: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.nma-article-content h1,
.nma-article-content h2,
.nma-article-content h3,
.nma-article-content h4,
.nma-article-content h5,
.nma-article-content h6 {
  margin: 2rem 0 1rem 0;
  color: var(--primary-color);
}

.nma-article-content p {
  margin-bottom: 1.5rem;
}

.nma-article-content ul,
.nma-article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.nma-article-content li {
  margin-bottom: 0.5rem;
}

.nma-article-actions {
  padding: 2rem;
  border-top: 1px solid #e9ecef;
}

.nma-sidebar {
  padding-left: 2rem;
}

.nma-sidebar-widget {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.nma-widget-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.nma-widget-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.nma-related-news-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.nma-related-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.nma-related-news-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.nma-related-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nma-related-news-image:hover img {
  transform: scale(1.1);
}

.nma-related-news-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.nma-related-news-content h4 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nma-related-news-content h4 a:hover {
  color: var(--secondary-color);
}

.nma-related-news-date {
  font-size: 0.85rem;
  color: #6c757d;
}

.nma-error-message {
  text-align: center;
  padding: 4rem 2rem;
}

.nma-error-message h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.nma-error-message p {
  color: #6c757d;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nma-sidebar {
    padding-left: 0;
    padding-top: 2rem;
  }

  .nma-article-title {
    font-size: 2rem;
  }

  .nma-article-header {
    padding: 1.5rem;
  }

  .nma-article-content {
    padding: 1.5rem;
  }

  .nma-article-actions {
    padding: 1.5rem;
  }

  .nma-article-meta {
    gap: 1rem;
  }

  .nma-related-news-item {
    gap: 0.75rem;
  }

  .nma-related-news-image {
    width: 60px;
    height: 60px;
  }

  .nma-related-news-content h4 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .nma-article-title {
    font-size: 1.75rem;
  }

  .nma-article-image img {
    height: 250px;
  }

  .nma-widget-title {
    font-size: 1.3rem;
  }

  .nma-sidebar-widget {
    padding: 1.5rem;
  }
}

/* ==================== END OF NEWS DETAILS PAGE STYLES ==================== */

/* ==================== HOMEPAGE NEWS STYLES ==================== */
.nma-news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.nma-news-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.nma-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nma-news-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.nma-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nma-news-card:hover .nma-news-image img {
  transform: scale(1.05);
}

.nma-news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.1;
}

.nma-news-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.nma-news-date .month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
}

.nma-news-details {
  padding: 25px;
}

.nma-news-details h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.4;
}

.nma-news-details p {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.nma-news-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nma-news-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.nma-news-link:hover {
  color: var(--secondary-color);
}

.nma-news-link:hover i {
  transform: translateX(5px);
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  width: 100%;
}

.loading-spinner i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.no-news-message,
.news-error {
  text-align: center;
  padding: 40px 0;
  width: 100%;
}

/* Media queries for news grid */
@media (min-width: 768px) {
  .nma-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (min-width: 992px) {
  .nma-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== END OF HOMEPAGE NEWS STYLES ==================== */

/* ==================== NEWS AND EVENTS PAGE STYLES ==================== */
/* Section styling */
.lastest-news {
  padding: 60px 0;
}

.nma-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.nma-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.nma-section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* News card styling */
.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.news-date-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.news-date-month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
}

.news-card-content {
  padding: 25px;
}

.news-card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.4;
}

.news-card-excerpt {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.news-read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.news-read-more i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.news-read-more:hover {
  color: var(--secondary-color);
}

.news-read-more:hover i {
  transform: translateX(5px);
}

/* No news message styling */
.no-news-message {
  text-align: center;
  padding: 60px 0;
  background: #f9f9f9;
  border-radius: 12px;
  margin: 30px 0;
}

.no-news-message i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  opacity: 0.7;
}

.no-news-message h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.no-news-message p {
  font-size: 1.1rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

/* News grid spacing */
#newsListContainer {
  margin-top: 30px;
}

#newsListContainer > div {
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .news-card-image {
    height: 180px;
  }

  .news-card-content {
    padding: 20px;
  }

  .news-card-title {
    font-size: 1.2rem;
  }
}

/* ==================== END OF NEWS AND EVENTS PAGE STYLES ==================== */

/* ==================== VIDEO MODAL STYLES ==================== */
#videoModalAbout {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  transition: all 0.3s ease-in-out;
}

#videoModalAbout[style*="display: flex"] {
  display: flex !important;
  animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#closeVideoModalAbout {
  transition: all 0.2s ease;
}

#closeVideoModalAbout:hover {
  color: #ff5252;
  transform: scale(1.1);
}

/* Make video responsive */
@media (max-width: 768px) {
  #videoIframeAbout {
    width: 95vw;
    height: calc(95vw * 0.5625);
    /* Maintain 16:9 aspect ratio */
  }
}

@media (max-width: 998px) {
  .gallery-marquee-container {
    display: none;
  }

  .curr-section-title {
    margin-top: 30px;
  }

  .nma-curriculum-title {
    margin-top: 150px;
  }

  .nma-breadcrumb.curriculum-breadcrumb {
    display: none;
  }
}

.virtual-tour-modal {
  /* display: none; */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  transition: all 0.3s ease-in-out;
}

.virtual-tour-text {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
}

.virtual-tour-close {
  background: none;
  border: none;
  padding: 30px;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 0;
  color: white;
  font-size: 34px;
}

.board-item {
  border-bottom: 1px solid var(--secondary-color);
  padding: 20px 0;
}

.board-name {
  font-size: 2rem;
  font-weight: 800;
}

.board-position {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.board-message {
  font-style: italic;
}

.nma-news-events-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.nma-ne-tabs-wrapper {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.nma-ne-tabs {
  display: inline-flex;
  background: white;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  gap: 8px;
}

.nma-ne-tab {
  padding: 14px 32px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nma-ne-tab i {
  font-size: 18px;
}

.nma-ne-tab:hover {
  color: var(--secondary-color);
  background: rgba(0, 127, 220, 0.05);
}

.nma-ne-tab.active {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 127, 220, 0.3);
}

.nma-ne-content-wrapper {
  min-height: 400px;
}

.nma-ne-loading {
  padding: 60px 20px;
  text-align: center;
}

.nma-ne-loading i {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.nma-ne-loading p {
  color: #666;
  font-size: 18px;
}

/* News/Event Card Styles */
.nma-ne-item-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.nma-ne-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nma-ne-item-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.nma-ne-item-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.nma-ne-item-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  width: fit-content;
}

.nma-ne-badge-news {
  background: rgba(0, 127, 220, 0.1);
  color: var(--secondary-color);
}

.nma-ne-badge-event {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.nma-ne-item-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nma-ne-item-date i {
  color: var(--secondary-color);
}

.nma-ne-item-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1.3;
}

.nma-ne-item-location {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nma-ne-item-location i {
  color: #28a745;
}

.nma-ne-item-description {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.nma-ne-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.nma-ne-read-more {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.nma-ne-read-more:hover {
  gap: 12px;
  color: var(--primary-color);
}

.nma-ne-no-content {
  text-align: center;
  padding: 60px 20px;
}

.nma-ne-no-content i {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 20px;
}

.nma-ne-no-content h3 {
  color: #666;
  font-size: 24px;
  margin-bottom: 12px;
}

.nma-ne-no-content p {
  color: #999;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nma-ne-tabs {
    width: 100%;
    flex-direction: column;
    border-radius: 16px;
    gap: 4px;
  }

  .nma-ne-tab {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }

  .nma-ne-item-card {
    margin-bottom: 20px;
  }

  .nma-ne-item-image {
    height: 200px;
  }

  .nma-ne-item-title {
    font-size: 20px;
  }
}

/* Animation for content loading */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nma-ne-item-card {
  animation: fadeInUp 0.5s ease forwards;
}

.nma-ne-item-card:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 0;
}
.nma-ne-item-card:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0;
}
.nma-ne-item-card:nth-child(3) {
  animation-delay: 0.3s;
  opacity: 0;
}
.nma-ne-item-card:nth-child(4) {
  animation-delay: 0.4s;
  opacity: 0;
}
.nma-ne-item-card:nth-child(5) {
  animation-delay: 0.5s;
  opacity: 0;
}
.nma-ne-item-card:nth-child(6) {
  animation-delay: 0.6s;
  opacity: 0;
}
