:root {
    --primary: #B39755;
    --primary-light: #C9B280;
    --primary-dark: #212529;
    --secondary: #212529;
    --light: #f8f9fa;
    --dark: #212529;
    --text-color: #8C6F3E;
    --header-bg: linear-gradient(135deg, #B39755 0%, #8C6F3E 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Georgia', serif;
    color: var(--secondary);
    font-weight: 700;
}
/* Modern Navbar System */
.navbar {
  --gold-primary: #c5a338;
  --gold-hover: rgba(197, 163, 56, 0.12);
  --gold-active: rgba(197, 163, 56, 0.18);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 5%;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    background 0.4s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.86);
}

.navbar-brand {
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navbar-brand:hover {
  color: var(--gold-primary);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 18px;
  transition: 
    color 0.25s ease,
    background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.2s ease;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-primary);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary);
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--gold-primary) !important;
  font-weight: 700;
  background: var(--gold-active);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 56, 0.25);
}

.navbar-nav .nav-link.active::before {
  transform: scaleY(0.05);
}
/* Dropdown menu styling */
.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 240px;
  transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  color: rgb(255, 157, 0);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 243, 220);
  color: #000;
  font-weight: 600;
  border-left: 4px solid rgb(255, 157, 0);
}

/* Dropdown arrow */
.navbar .nav-link.dropdown-toggle::after {
  border-top-color: rgb(255, 157, 0);
  margin-left: 6px;
}

/* Scrolled navbar dropdown behavior */
#navbar.scrolled .dropdown-menu .dropdown-item {
  color: #000;
}

#navbar.scrolled .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 236, 202);
  color: rgb(255, 157, 0);
}

/* Fade-in dropdown animation */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.show > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile specific tweaks */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
  }

  .navbar .nav-link,
  .navbar .dropdown-menu .dropdown-item {
    color: #000 !important;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    padding-left: 1rem;
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 8px 0;
    border-left: 3px solid transparent;
  }

  .navbar .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
    color: rgb(255, 157, 0);
    border-left-color: rgb(255, 157, 0);
  }
}
/* Dynamic scroll effects */
.navbar.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 5%;
  background-color: rgba(255, 255, 255, 0.96);
}

/* Mobile enhancements */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 7%;
    backdrop-filter: none;
    background-color: #fff;
  }
  
  .navbar-nav {
    gap: 2px;
    padding: 8px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0;
  }
  
  .navbar.scrolled {
    padding: 8px 7%;
  }
}
.hero-section {
    background: linear-gradient(rgba(179, 151, 85, 0.85), rgba(140, 111, 62, 0.9)), 
                url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 60px;
}

.training-card {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    background: white;
    height: 100%;
}

.training-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(179, 151, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 28px;
}

.progress-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.progress {
    height: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.stats-container {
    background: var(--header-bg);
    color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(140, 111, 62, 0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 40px;
    border-left: 4px solid var(--primary);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.center-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 151, 85, 0.3);
}

.module-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--primary-light);
    color: #fff;
}

.cta-section {
    background: var(--header-bg);
    color: white;
    border-radius: 15px;
    padding: 50px 30px;
    margin: 80px 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(179, 151, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 24px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(179, 151, 85, 0.1);
    color: var(--primary);
    font-weight: 600;
}
.footer-dark {
    background-color: var(--dark); /* fixed dark color for footer */
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark, #d1a845));
}

/* ========== Social Icons ========== */
.social-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary, #e7c873);
    color: var(--secondary, #1e1e2f);
    transform: translateY(-5px);
}

/* ========== Highlighted Text ========== */
.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(231, 200, 115, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

/* ========== Scroll Animations ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Custom Utility Classes ========== */
.bg-custom-light {
    background-color: var(--light, #f8f9fa) !important;
}

.bg-deep-blue {
    background-color: var(--secondary, #1e1e2f);
}

.ptb-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* ========== Navbar ========== */
.navbar-nav {
    align-items: center;
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
    .display-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .stats-number {
        font-size: 2.8rem;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .stats-item {
        padding: 20px 15px;
    }
}

