/* ============================================
   ASCEND PATHWAYS - Modern Design Override
   ============================================ */

:root {
  --primary: #0A2647;
  --primary-light: #144272;
  --accent: #2C74B3;
  --accent-light: #205295;
  --gold: #D4A843;
  --gold-light: #E8C468;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --grey: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Global === */
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
}

p {
  color: #555;
  font-size: 15px;
}

a {
  transition: var(--transition);
}

/* === Modern Top Bar === */
.modern-topbar {
  background: var(--primary);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.modern-topbar a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-right: 15px;
}

.modern-topbar a:hover {
  color: var(--gold);
}

.modern-topbar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-left: 6px;
  font-size: 12px;
  transition: var(--transition);
}

.modern-topbar .social-links a:hover {
  background: var(--gold);
  color: #fff;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch:hover {
  background: rgba(255,255,255,0.2);
}

.lang-switch select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  outline: none;
}

.lang-switch select option {
  background: var(--primary);
  color: #fff;
}

/* === Modern Header / Navbar === */
.modern-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.modern-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.modern-header .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.modern-header .logo-area .logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1.1;
}

.modern-header .logo-area .logo-subtext {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.modern-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.modern-nav > li {
  position: relative;
}

.modern-nav > li > a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border-radius: 6px;
}

.modern-nav > li > a:hover,
.modern-nav > li.active > a {
  color: var(--accent);
  background: rgba(44, 116, 179, 0.06);
}

.modern-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.modern-nav > li > a:hover::after,
.modern-nav > li.active > a::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown */
.modern-nav li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  z-index: 100;
}

.modern-nav li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modern-nav li ul li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: var(--transition);
}

.modern-nav li ul li a:hover {
  color: var(--accent);
  background: rgba(44, 116, 179, 0.05);
  padding-left: 25px;
}

.header-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 25px !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  border: 2px solid var(--accent);
}

.header-cta:hover {
  background: transparent !important;
  color: var(--accent) !important;
}

/* Submenu arrow - hidden on desktop */
.submenu-arrow {
  display: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  padding: 5px;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }
  .modern-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
  }
  .modern-nav.active {
    display: flex;
  }
  .modern-nav > li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .modern-nav > li:last-child {
    border-bottom: none;
  }
  .modern-nav > li > a {
    padding: 14px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .modern-nav > li > a::after {
    display: none;
  }
  .modern-nav li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 10px 15px;
    display: none;
    min-width: unset;
    border-radius: 0;
  }
  .modern-nav li ul.submenu-open {
    display: block;
  }
  .modern-nav li ul li a {
    padding: 10px 15px;
    border-left: 2px solid var(--accent);
    margin-bottom: 2px;
  }
  .modern-nav > li > .submenu-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(44, 116, 179, 0.08);
    font-size: 12px;
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
    flex-shrink: 0;
  }
  .modern-nav > li > .submenu-arrow.open {
    background: var(--accent);
    color: #fff;
    transform: rotate(180deg);
  }
}

/* === Hero Section === */
.modern-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,149.3C672,149,768,203,864,224C960,245,1056,235,1152,208C1248,181,1344,139,1392,117.3L1440,96V320H0Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.modern-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.modern-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.modern-hero h1 span {
  color: var(--gold);
}

.modern-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 30px;
}

.modern-hero .btn-hero {
  display: inline-block;
  padding: 14px 35px;
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
  margin-right: 15px;
}

.modern-hero .btn-hero:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 168, 67, 0.3);
}

.modern-hero .btn-hero-outline {
  display: inline-block;
  padding: 14px 35px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: var(--transition);
}

.modern-hero .btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Floating shapes */
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: #fff;
}
.hero-shapes .shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.hero-shapes .shape-2 { width: 250px; height: 250px; bottom: -50px; left: -80px; }
.hero-shapes .shape-3 { width: 150px; height: 150px; top: 40%; right: 20%; }

/* === Section Styles === */
.section-modern {
  padding: 80px 0;
}

.section-modern .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-modern .section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-modern .section-title p {
  font-size: 16px;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

.section-modern .section-title .title-line {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* === Modern Cards === */
.modern-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 35px 30px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  height: 100%;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.modern-card .card-icon {
  width: 65px;
  height: 65px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #fff;
}

.modern-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modern-card ul {
  list-style: none;
  padding: 0;
}

.modern-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  position: relative;
  padding-left: 22px;
}

.modern-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* === Modern Button === */
.btn-modern {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--accent);
}

.btn-modern:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-modern-outline {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--accent);
}

.btn-modern-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* === About/Who We Are Section === */
.about-modern {
  background: var(--light);
}

.about-modern .about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.about-modern .about-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.about-modern .focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

.about-modern .focus-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.about-modern .focus-list li i {
  color: var(--accent);
  font-size: 12px;
}

.vision-mission-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--gold);
}

.vision-mission-card h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.vision-mission-card p {
  margin: 0;
  font-size: 14px;
}

/* === Stats === */
.stats-section {
  background: var(--primary);
  padding: 50px 0;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === Footer Modern === */
.modern-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}

.modern-footer h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.modern-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.modern-footer ul {
  list-style: none;
  padding: 0;
}

.modern-footer ul li {
  margin-bottom: 10px;
}

.modern-footer ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.modern-footer ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.modern-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  font-size: 13px;
}

/* === Team Cards === */
.team-card-modern {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.team-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-card-modern .team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 30px auto 20px;
  overflow: hidden;
  border: 4px solid var(--light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-card-modern .team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-modern .team-avatar-initials {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 30px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  border: 4px solid var(--light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-card-modern .team-info {
  padding: 0 25px 30px;
  text-align: center;
}

.team-card-modern .team-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-card-modern .team-info .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.team-card-modern .team-info p {
  font-size: 14px;
  line-height: 1.6;
}

.team-card-modern .read-more-btn {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  border-radius: 20px;
  border: 2px solid var(--accent);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  margin-top: 10px;
}

.team-card-modern .read-more-btn:hover {
  background: var(--accent);
  color: #fff;
}

.team-bio-expanded {
  display: none;
  text-align: left;
  padding: 15px 0;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.team-bio-expanded p {
  font-size: 13px;
  margin-bottom: 10px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .modern-hero h1 {
    font-size: 2.2rem;
  }
  .modern-hero p {
    font-size: 15px;
  }
  .about-modern .focus-list {
    grid-template-columns: 1fr;
  }
  .section-modern {
    padding: 50px 0;
  }
  .modern-topbar .d-flex {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}

/* === Scroll animations === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Override old styles === */
.page_toplogo,
.page_header,
.page_slider,
.slider-bottomline,
.preloader,
#search_modal,
#messages_modal,
.toggle_menu {
  display: none !important;
}

#canvas,
#box_wrapper {
  all: unset;
}

/* Fix old main.css body padding conflicts */
body {
  padding: 0 !important;
  margin: 0 !important;
}
