/* ========================================
   TRAINING PAGE STYLES
   ======================================== */

:root {
  --navy: #0d1b3e;
  --navy-mid: #152347;
  --navy-light: #1e3060;
  --green: #3a7d2c;
  --green-bright: #4caf35;
  --green-light: #5ec940;
  --green-dark: #2d5a1e;
  --white: #ffffff;
  --off-white: #f4f7f2;
  --gray: #8a9ab0;
  --text-dark: #0d1b3e;
  --card-bg: #ffffff;
  --border: rgba(58, 125, 44, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ========================================
   CUSTOM SCROLLBAR STYLES
   ======================================== */

/* For WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  border-radius: 10px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  cursor: pointer;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--green-bright) #f1f1f1;
}

/* Modal scrollbar */
.service-modal-body::-webkit-scrollbar {
  width: 6px;
}

.service-modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.service-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  border-radius: 10px;
}

.service-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

.service-modal-body {
  scrollbar-width: thin;
  scrollbar-color: var(--green-bright) #f1f1f1;
}

/* Dark mode scrollbar */
@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-track {
    background: #1a1a1a;
  }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--green-bright), var(--green));
  }
}

nav {
  position: fixed;
  top: 16px;
  left: 5%;
  right: 5%;
  z-index: 1000;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 60px;
  box-shadow: 0 4px 24px rgba(13, 27, 62, 0.08);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  padding: 0 5%;
}
nav.nav-hide {
  transform: translateY(-100%);
}
nav.nav-show {
  transform: translateY(0);
}

/* Navbar Logo Styles */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 45px;
  width: 45px;
  object-fit: contain;
  border-radius: 50%;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-text .brand {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 1px;
}
.nav-logo-text .brand span {
  color: var(--green-bright);
}
.nav-logo-text .motto {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-bright);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

.external-icon {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  color: white; /* Ensures SVG stroke is white */
}

/* For image icon */
.external-icon-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  margin-left: 6px;
  filter: brightness(0) invert(1); /* Makes any dark icon white */
}

.nav-cta:hover .external-icon,
.nav-cta:hover .external-icon-img {
  transform: translate(2px, -2px);
}
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 22px !important;
  border-radius: 40px;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
}
.nav-phone {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  padding: 100px 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transform: translateX(-30px);
  opacity: 0;
  transition: all 0.3s ease;
  display: block;
}
.mobile-menu.open a {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu a:hover {
  color: var(--green-bright);
  padding-left: 15px;
  border-bottom-color: var(--green-bright);
}

/* Hamburger animation */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0);
}
.mobile-menu.open .mobile-menu-close {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}
.mobile-menu-close:hover {
  background: var(--green-bright);
  transform: rotate(90deg);
}
.mobile-menu-close span {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}


/* ========================================
   HERO SECTION
   ======================================== */

#training-hero.narrow-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
  gap: 2rem;
}

#training-hero.narrow-hero .hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#training-hero.narrow-hero .hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#training-hero.narrow-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

#training-hero.narrow-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

#training-hero.narrow-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76, 175, 53, 0.2);
  border: 1px solid rgba(76, 175, 53, 0.4);
  color: var(--green-bright);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

#training-hero.narrow-hero .hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.8rem;
}

#training-hero.narrow-hero .hero-title em {
  font-style: normal;
  color: var(--green-bright);
  display: inline-block;
}

#training-hero.narrow-hero .hero-subtitle {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin-bottom: 1.5rem;
}

#training-hero.narrow-hero .hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

#training-hero.narrow-hero .hero-stat .stat-number {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-bright);
  line-height: 1.2;
}

#training-hero.narrow-hero .hero-stat .stat-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#training-hero.narrow-hero .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#training-hero.narrow-hero .hero-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

#training-hero.narrow-hero .hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 53, 0.3);
  color: white;
}

#training-hero.narrow-hero .hero-btn-outline {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

#training-hero.narrow-hero .hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: var(--green-bright);
  color: var(--green-bright);
}

#training-hero.narrow-hero .hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  overflow: hidden;
  width: 260px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

#training-hero.narrow-hero .hero-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  cursor: pointer;
}

#training-hero.narrow-hero .hero-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#training-hero.narrow-hero .hero-card-thumb:hover img {
  transform: scale(1.05);
}

#training-hero.narrow-hero .hero-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#training-hero.narrow-hero .hero-card-thumb:hover .hero-play {
  opacity: 1;
}

#training-hero.narrow-hero .hero-play span {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
}

#training-hero.narrow-hero .hero-book {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

#training-hero.narrow-hero .hero-book:hover {
  background: var(--green);
  color: var(--white);
}

/* SECOND NAVIGATION */

/* Category Navigation Icons */
.category-nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #0d1b3e;
  background: #f0f2f5;
  transition: all 0.3s ease;
}

.nav-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(800%) hue-rotate(70deg) brightness(85%) contrast(90%);
  transition: all 0.3s ease;
}

.category-nav ul li a:hover .nav-icon,
.category-nav ul li a.active .nav-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) brightness(100%) contrast(100%);
}

.category-nav ul li a:hover,
.category-nav ul li a.active {
  background: linear-gradient(135deg, #4caf35, #3a7d2c);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(76, 175, 53, 0.3);
}

/* ========================================
   SIDE-BY-SIDE TRAINING SECTIONS
   ======================================== */

   /* ========================================
   CATEGORY ICONS WITH IMAGES
   ======================================== */

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(76, 175, 53, 0.15);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4caf35, #3a7d2c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  /* Makes icon white on green background */
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) brightness(100%) contrast(100%);
}

.category-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0;
}

.category-header .badge-count {
  background: #4caf35;
  color: white;
  border-radius: 40px;
  padding: 2px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: auto;
}

.training-sections-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.training-column {
  flex: 1;
  min-width: 0;
}

.training-column .training-section {
  padding: 40px 0;
  max-width: 100%;
}

.training-section {
  max-width: 100%;
}

/* Category Header */
.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(76, 175, 53, 0.15);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4caf35, #3a7d2c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.category-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0;
}

.category-header .badge-count {
  background: #4caf35;
  color: white;
  border-radius: 40px;
  padding: 2px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: auto;
}

/* Category Navigation */
.category-nav {
  background: #f8f9fa; /* Slightly darker than white */
  padding: 20px 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12); /* Increased shadow */
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(58, 125, 44, 0.15);
}

.category-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.category-nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #0d1b3e;
  background: #e8eaed; /* Slightly darker background for buttons */
  transition: all 0.3s ease;
}

.category-nav ul li a:hover,
.category-nav ul li a.active {
  background: linear-gradient(135deg, #4caf35, #3a7d2c);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 53, 0.4); /* Increased shadow on hover */
}

/* Icon styling */
.category-nav ul li a .nav-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(800%) hue-rotate(70deg) brightness(85%) contrast(90%);
  transition: all 0.3s ease;
}

.category-nav ul li a:hover .nav-icon,
.category-nav ul li a.active .nav-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) brightness(100%) contrast(100%);
}

/* Responsive - horizontal scroll on mobile */
@media (max-width: 768px) {
  .category-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .category-nav ul::-webkit-scrollbar {
    display: none;
  }
  
  .category-nav ul li a {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.7rem;
  }
}

/* Training Grid */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.training-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 1px solid rgba(58, 125, 44, 0.08);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.training-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(58, 125, 44, 0.12);
  border-color: rgba(58, 125, 44, 0.2);
}

.training-card .card-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(76, 175, 53, 0.1);
  color: #4caf35;
  margin-bottom: 10px;
  width: fit-content;
}

.training-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 8px;
  line-height: 1.3;
}

.training-card p {
  font-size: 0.85rem;
  color: #6b7a93;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.training-card .enroll-link {
  display: inline-block;
  margin-top: 10px;
  color: #4caf35;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.training-card .enroll-link:hover {
  color: #3a7d2c;
  transform: translateX(4px);
}

/* ========================================
   REGISTER BUTTON - CENTERED
   ======================================== */

.register-btn {
  display: block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #4caf35, #3a7d2c);
  color: white;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px auto 0;
  text-align: center;
  width: 100%;
  max-width: 200px;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(76, 175, 53, 0.3);
  background: linear-gradient(135deg, #3a7d2c, #2d5a1e);
  color: white;
}

.register-btn:active {
  transform: translateY(0);
}

/* If using card-actions wrapper */
.card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* Image Placeholders */
/* ========================================
   CATEGORY BANNER IMAGES
   ======================================== */

.category-banner {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* ========================================
   CARD IMAGES
   ======================================== */

.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.training-card:hover .card-image {
  transform: scale(1.02);
}

/* ========================================
   CTA IMAGE
   ======================================== */

.cta-image {
  width: 100%;
  max-width: 600px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 2rem;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.training-cta {
  background: linear-gradient(135deg, #0d1b3e 0%, #1e3060 100%);
  padding: 60px 5%;
  text-align: center;
  margin-top: 40px;
}

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

.cta-img-placeholder {
  height: 160px;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.training-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1rem;
}

.training-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.training-cta .btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #4caf35, #3a7d2c);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.training-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 53, 0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .training-sections-wrapper {
    flex-direction: column;
    gap: 0;
    padding: 0 5%;
  }
  
  .training-column {
    width: 100%;
  }
  
  .training-column .training-section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .category-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .category-nav ul li a {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.7rem;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .category-header h2 {
    font-size: 1.4rem;
  }

  #training-hero.narrow-hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 90px 5% 50px;
  }

  #training-hero.narrow-hero .hero-card {
    width: 100%;
    max-width: 300px;
  }

  #training-hero.narrow-hero .hero-stats {
    gap: 1.5rem;
  }

  #training-hero.narrow-hero .hero-stat .stat-number {
    font-size: 1.3rem;
  }

  #training-hero.narrow-hero .hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  
  .category-img-placeholder {
    height: 120px;
  }
}

@media (max-width: 600px) {
  #training-hero.narrow-hero .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  #training-hero.narrow-hero .hero-btn,
  #training-hero.narrow-hero .hero-btn-outline {
    text-align: center;
    width: 100%;
  }

  #training-hero.narrow-hero .hero-stats {
    gap: 1rem;
  }

  #training-hero.narrow-hero .hero-stat .stat-number {
    font-size: 1.1rem;
  }

  #training-hero.narrow-hero .hero-stat .stat-label {
    font-size: 0.55rem;
  }

  #training-hero.narrow-hero .hero-card {
    max-width: 100%;
  }

  #training-hero.narrow-hero .hero-subtitle {
    font-size: 0.8rem;
  }
}

/* ========================================
   REGISTRATION MODAL
   ======================================== */

.registration-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
  align-items: center;
  justify-content: center;
}

.registration-modal-content {
  background: var(--white);
  width: 90%;
  max-width: 650px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.registration-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 2px solid var(--green);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
}

.registration-modal-header h3 {
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 0;
}

.registration-modal-close {
  color: var(--white);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.registration-modal-close:hover {
  color: var(--green-bright);
  transform: scale(1.1);
}

.registration-modal-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

/* Form Styles */
#registrationForm .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

#registrationForm .form-group {
  margin-bottom: 18px;
}

#registrationForm label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.85rem;
}

#registrationForm .required {
  color: #e74c3c;
  margin-left: 3px;
}

#registrationForm input,
#registrationForm select,
#registrationForm textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--white);
}

#registrationForm input:focus,
#registrationForm select:focus,
#registrationForm textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(76, 175, 53, 0.1);
}

#registrationForm input[readonly] {
  background: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
  cursor: not-allowed;
}

#registrationForm textarea {
  resize: vertical;
  min-height: 80px;
}

#registrationForm .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: normal !important;
  font-size: 0.85rem;
  line-height: 1.4;
}

#registrationForm .checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

#registrationForm .terms-link {
  color: var(--green-bright);
  text-decoration: underline;
}

.registration-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: white;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.registration-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(76, 175, 53, 0.3);
}

/* Toast Notification for Registration */
.registration-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--green);
  color: white;
  padding: 16px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10002;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 400px;
}

.registration-toast.show {
  transform: translateX(0);
}

.registration-toast .toast-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.registration-toast .toast-message {
  font-size: 0.9rem;
}

/* Success Message Inside Modal */
.registration-success {
  text-align: center;
  padding: 30px 20px;
}

.registration-success .success-icon {
  width: 70px;
  height: 70px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.registration-success .success-icon span {
  font-size: 35px;
  color: white;
}

.registration-success h3 {
  color: var(--green);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.registration-success p {
  color: var(--gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

.registration-success .close-success-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.registration-success .close-success-btn:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .registration-modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }
  
  #registrationForm .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .registration-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .registration-modal-body {
    padding: 20px;
  }
}

/* FOOTER */
footer {
  background: #0a0f1a;
  padding: 60px 5% 30px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  contain: layout style;
}
.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo span {
  color: var(--green-bright);
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--green-bright);
  color: var(--green-bright);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--green-bright);
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  align-items: flex-start;
}
.footer-contact-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact-item .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(52%) sepia(89%) saturate(600%) hue-rotate(70deg) brightness(95%) contrast(92%);
  transition: all 0.3s ease;
}
.footer-contact-item:hover .icon img {
  filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(800%) hue-rotate(70deg) brightness(85%) contrast(90%);
  transform: scale(1.1);
}
.footer-contact-item span {
  word-wrap: break-word;
  word-break: break-word;
  flex: 1;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-tagline {
  color: var(--green-bright);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ========================================
   REGISTRATION MODAL
   ======================================== */

.registration-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
  align-items: center;
  justify-content: center;
}

.registration-modal-content {
  background: var(--white, #ffffff);
  width: 90%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.registration-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 2px solid var(--green, #3a7d2c);
  background: linear-gradient(135deg, var(--navy, #0d1b3e) 0%, var(--navy-light, #1e3060) 100%);
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
}

.registration-modal-header h3 {
  color: var(--white, #ffffff);
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 0;
}

.registration-modal-close {
  color: var(--white, #ffffff);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.registration-modal-close:hover {
  color: var(--green-bright, #4caf35);
  transform: scale(1.1);
}

.registration-modal-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

/* Form Styles inside Modal */
#registrationForm .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}

#registrationForm .form-group {
  margin-bottom: 16px;
}

#registrationForm .form-group.full-width {
  grid-column: span 2;
}

#registrationForm label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--navy, #0d1b3e);
  font-size: 0.85rem;
}

#registrationForm .required {
  color: #e74c3c;
  margin-left: 3px;
}

#registrationForm input,
#registrationForm select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border, rgba(58, 125, 44, 0.15));
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: #fafbfc;
}

#registrationForm input:focus,
#registrationForm select:focus {
  outline: none;
  border-color: var(--green-bright, #4caf35);
  box-shadow: 0 0 0 3px rgba(76, 175, 53, 0.1);
  background: #ffffff;
}

#registrationForm select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234caf35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

#registrationForm input[type="date"] {
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--green-bright, #4caf35), var(--green, #3a7d2c));
  color: white;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(76, 175, 53, 0.3);
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 30px 20px;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.success-message .icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.success-message h3 {
  color: var(--green, #3a7d2c);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.success-message p {
  color: var(--gray, #6b7a93);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.close-success-btn {
  background: var(--green, #3a7d2c);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.close-success-btn:hover {
  background: var(--green-bright, #4caf35);
  transform: translateY(-2px);
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .registration-modal-content {
    width: 95%;
    max-height: 85vh;
  }
  
  #registrationForm .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  #registrationForm .form-group.full-width {
    grid-column: span 1;
  }
  
  .registration-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .registration-modal-body {
    padding: 20px;
  }
}