:root {
  --primary: #04255C;
  --secondary: #F4F6F9;
  --accent: #CFA65B;
  --accent-hover: #E3C263;
  --text-dark: #111827;
  --text-light: #FFFFFF;
  --gray-light: #E5E7EB;
  --gray-medium: #9CA3AF;
  --gray-dark: #4B5563;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-nav: 'Cormorant Garamond', serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: inherit;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ===================================================
   Typography
   =================================================== */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 0;
}

.text-center { text-align: center; }
.heading-highlight { color: var(--accent); }
.section-primary .heading-highlight { color: var(--accent); }

/* ===================================================
   Buttons
   =================================================== */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary,
.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-primary:hover,
.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
}

/* ===================================================
   Header & Navigation
   =================================================== */
.header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.scrolled {
  width: 800px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  top: 20px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-container {
  padding: 0.6rem 2rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  height: 45px;
  width: auto;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 400px;
  max-height: 100px;
  white-space: nowrap;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

.header.scrolled .logo-text-wrapper {
  max-width: 0;
  max-height: 0;
  opacity: 0;
  margin-left: -15px;
}

.header.scrolled .logo-icon {
  height: 30px;
}

.logo-text-wrapper span {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  font-family: var(--font-nav);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 5px;
  text-decoration: none;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
  text-decoration: none;
}

.nav-links li a::after {
  content: none;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav-user-link { font-size: 1.8rem; line-height: 1; }

.nav-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #04255C, #CFA65B);
  text-decoration: none;
  border: 2px solid var(--accent);
  transition: var(--transition);
}
.nav-user-avatar:hover { transform: scale(1.08); box-shadow: 0 0 0 3px rgba(207,166,91,.25); }
.nav-avatar-initials {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-family: var(--font-body);
  line-height: 1;
  letter-spacing: 0.5px;
  display: block;
}

.nav-avatar-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(34,197,94,.4);
  animation: online-pulse 2.5s ease-in-out infinite;
}
@keyframes online-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(34,197,94,.4); }
  50%       { box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

.mobile-menu-toggle:hover {
  color: var(--accent);
}

/* ===================================================
   Section Backgrounds & Layout
   =================================================== */
.section {
  padding: 6rem 2rem;
}

.section-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.section-secondary {
  background-color: var(--secondary);
  color: var(--text-dark);
}

.section-white {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================================
   Hero Section
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(4, 37, 92, 0.95) 0%, rgba(4, 37, 92, 0.7) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  color: var(--text-light);
}

.hero-subtitle {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: var(--gray-light);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ===================================================
   Service Cards
   =================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--text-light);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.18s ease;
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.service-desc {
  color: var(--gray-dark);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* ===================================================
   About Section
   =================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image { position: relative; }

.about-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--accent);
  color: var(--primary);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-experience .number {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ===================================================
   Team Section
   =================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--text-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.team-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================================
   Interactive Expertise Split Layout
   =================================================== */
.expertise-split-layout {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.expertise-split-left { flex: 0 0 45%; }

.expertise-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.expertise-nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.4s ease;
  border-left: 3px solid transparent;
}

.expertise-nav-item:hover { background-color: var(--secondary); }

.expertise-nav-item.active {
  background-color: var(--primary);
  border-left-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.expertise-nav-item .exp-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gray-medium);
  font-weight: 700;
  transition: color 0.4s;
}

.expertise-nav-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gray-dark);
  margin: 0;
  transition: color 0.4s;
}

.expertise-nav-item.active .exp-num,
.expertise-nav-item.active h3 {
  color: var(--text-light);
}

.expertise-split-right {
  flex: 1;
  position: relative;
  height: 550px;
}

.expertise-preview-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.exp-card-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.95) translateY(20px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.exp-card-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.exp-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  background: linear-gradient(to top, rgba(4, 37, 92, 0.95) 0%, rgba(4, 37, 92, 0.6) 60%, transparent 100%);
  color: var(--text-light);
}

.exp-card-info .exp-cat {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.8rem;
}

.exp-card-info h4 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.exp-card-info p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.exp-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: gap 0.3s, color 0.3s;
}

.exp-explore:hover {
  gap: 15px;
  color: #fff;
}

/* ===================================================
   LAWSET Showcase Section
   =================================================== */
.lawset-showcase-wrapper {
  display: flex;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.lawset-bg-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(207, 166, 91, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.lawset-intro { flex: 0 0 40%; }

.lawset-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: rgba(207, 166, 91, 0.1);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(207, 166, 91, 0.3);
}

.lawset-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.lawset-features-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.sf-card {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(207, 166, 91, 0.55);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.sf-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.sf-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  filter: blur(60px);
  opacity: 0.15;
  border-radius: 50%;
  transition: opacity 0.4s;
}

.sf-card:hover::before { opacity: 0.4; }

.sf-icon-wrap {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.sf-card h4,
.sf-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  position: relative;
  z-index: 10;
}

.sf-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

.sf-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease;
  transform: scale(1.05);
}

.sf-content-wrapper {
  position: relative;
  z-index: 10;
}

.sf-card:hover .sf-bg-img {
  opacity: 0.25;
  transform: scale(1);
}

.sf-offset { transform: translateY(3rem); }

.sf-card.sf-offset:hover {
  transform: translateY(calc(3rem - 10px));
}

/* ===================================================
   LAWSET Course Page (Udemy Style)
   =================================================== */
.course-hero {
  background: #1c1d1f;
  color: white;
  padding: 120px 2rem 60px;
}

.course-hero-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.course-hero-desc {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #E5E7EB;
  max-width: 800px;
}

.course-hero-content { max-width: 800px; }

.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 2rem;
  font-size: 0.9rem;
}

.course-badge {
  background: #eceb98;
  color: #3d3c0a;
  padding: 4px 8px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.floating-card {
  width: 340px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 100;
}

.floating-card-img-container {
  position: relative;
  cursor: pointer;
}

.floating-card-img {
  width: 100%;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: black;
}

.floating-card-body {
  padding: 1.5rem;
  color: var(--text-dark);
}

.price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray-medium);
}

.btn-enroll {
  width: 100%;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.guarantee-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.includes-section { margin-top: 1.5rem; }
.includes-title { font-weight: 700; margin-bottom: 0.5rem; }

.includes-list {
  list-style: none;
  font-size: 0.9rem;
}

.includes-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lawset-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  padding: 40px 2rem;
}

.lawset-sidebar-space { min-width: 0; }

.box-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.what-you-learn {
  border: 1px solid var(--gray-light);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  background: var(--text-light);
}

.learning-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
}

.learning-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.learning-list li i,
.learning-list i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.syllabus-meta {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.syllabus-item {
  border: 1px solid var(--gray-light);
  margin-bottom: 1rem;
  background: var(--text-light);
}

.syllabus-header {
  padding: 1rem 1.5rem;
  background: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.syllabus-header:hover { background: #E5E7EB; }

.syllabus-body {
  padding: 1.5rem;
  display: none;
}

.section-summary {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.lecture-list { list-style: none; }

.lecture-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-light);
}

.lecture-list li span {
  flex: 1;
  margin: 0 10px;
}

.instructor-section { margin-top: 4rem; }

.instructor-card {
  display: flex;
  gap: 2rem;
}

.instructor-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
}

.instructor-tagline {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.instructor-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.instructor-stats i { color: var(--gray-medium); }
.instructor-bio { font-size: 0.95rem; color: var(--gray-dark); line-height: 1.7; }

/* ===================================================
   Coursera-Style Educational Strip
   =================================================== */
.edu-strip {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--primary) 0%, #0a3a7a 100%);
  border-radius: 20px;
  overflow: hidden;
  min-height: 260px;
}

.edu-strip-hero {
  flex: 0 0 210px;
  min-width: 210px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.edu-strip-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 2px;
  margin: 0;
}

.edu-strip-hero h3 {
  color: #fff;
  font-size: 1.45rem;
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.25;
}

.edu-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.3rem;
  padding: 0.6rem 1.3rem;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.edu-strip-btn:hover {
  background: #fff;
  color: var(--primary);
  gap: 12px;
}

.edu-strip-track-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.edu-strip-arrows {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 0.8rem 1.2rem 0;
}

.edu-strip-arrows button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: all 0.3s;
}

.edu-strip-arrows button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.edu-strip-track {
  flex: 1;
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.8rem 1.2rem 1.4rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.edu-strip-track::-webkit-scrollbar { display: none; }

.edu-course-card {
  flex: 0 0 230px;
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s;
  cursor: pointer;
}

.edu-course-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.edu-card-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.edu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.edu-course-card:hover .edu-card-img img { transform: scale(1.07); }
.edu-card-featured { border: 2px solid var(--accent); }

.edu-card-body {
  padding: 1rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.edu-card-provider {
  font-size: 0.73rem;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edu-card-provider i {
  color: var(--primary);
  font-size: 0.8rem;
}

.edu-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin: 0;
}

.edu-card-type {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.edu-card-rating {
  font-size: 0.82rem;
  color: #f0a500;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.2rem;
}

/* ===================================================
   Premium Footer
   =================================================== */
.footer {
  background-color: var(--primary);
  color: #ffffff;
}

.footer-top {
  padding: 5rem 2rem 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  gap: 3rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-firm-name {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-firm-tagline {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 3px;
}

.footer-desc {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.8rem;
  max-width: 320px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.footer-social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-title {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
  color: #ffffff;
  font-size: 0.9rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '→';
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.5;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(207, 166, 91, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.8rem;
}

.footer-contact-list a {
  color: #ffffff;
  transition: color 0.25s;
}

.footer-contact-list a:hover { color: var(--accent); }

.footer-bottom { padding: 1.4rem 2rem; }

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #ffffff;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: #ffffff;
  transition: color 0.25s;
}

.footer-bottom-links a:hover { color: var(--accent); }
.footer-bottom-links span { opacity: 0.4; }

.footer-visitor-count {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #ffffff;
  white-space: nowrap;
}
.footer-visitor-count span {
  font-weight: 700;
  color: var(--accent);
  margin: 0 3px;
}

/* ===================================================
   Enrollment Stats Section (Home)
   =================================================== */
.enroll-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(4,37,92,0.1);
  border-radius: 12px;
  padding: 0.9rem 2rem;
  min-width: 130px;
  box-shadow: 0 2px 12px rgba(4,37,92,0.07);
}
.enroll-pill-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.enroll-pill-label {
  font-size: 0.75rem;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}
.enroll-charts-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
.enroll-chart-panel {
  background: #fff;
  border: 1px solid rgba(4,37,92,0.08);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(4,37,92,0.07);
}
.enroll-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.enroll-panel-icon {
  width: 42px;
  height: 42px;
  background: rgba(4,37,92,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.enroll-panel-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
.enroll-panel-sub {
  font-size: 0.78rem;
  color: var(--gray-medium);
  margin-top: 2px;
}
.enroll-legend {
  list-style: none;
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.enroll-legend li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--gray-dark);
}
.enroll-legend li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.enroll-legend li strong {
  margin-left: auto;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}
@media (max-width: 900px) {
  .enroll-charts-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .enroll-pill { min-width: 100px; padding: 0.75rem 1.2rem; }
  .enroll-pill-num { font-size: 1.3rem; }
}

/* ===================================================
   Modal
   =================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--text-light);
  padding: 3rem;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-dark);
}

.form-group { margin-bottom: 1.5rem; }

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gray-medium);
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(207, 166, 91, 0.2);
}

/* ===================================================
   Scroll Animations
   =================================================== */
.reveal {
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.active > *:nth-child(n+6) { transition-delay: 0.6s; }

/* ===================================================
   Responsive Design — Tablet (992px)
   =================================================== */
@media (max-width: 1200px) {
  .container { padding: 0 2rem; }
}

@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }

  .expertise-split-layout { flex-direction: column; gap: 3rem; }
  .expertise-split-left,
  .expertise-split-right { flex: none; width: 100%; }
  .expertise-split-right { height: 400px; }

  .course-hero { padding-top: 140px; padding-bottom: 40px; }
  .course-hero .container { display: flex; flex-direction: column; gap: 2rem; }

  .floating-card {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
  }

  .course-hero-content { text-align: center; max-width: 100%; }
  .course-meta { justify-content: center; flex-wrap: wrap; }

  .lawset-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lawset-sidebar-space { display: none; }

  .lawset-showcase-wrapper { flex-direction: column; gap: 3rem; }
  .lawset-intro { flex: none; width: 100%; text-align: center; }
  .lawset-intro h2 { text-align: center !important; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ===================================================
   Responsive Design — Mobile (768px)
   =================================================== */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .section { padding: 3.5rem 1.25rem; }
  .section-title { font-size: 2rem; margin-bottom: 2rem; }
  .container { padding: 0 1.25rem; }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(4,37,92,0.06);
    font-size: 1.4rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0 0 2rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    z-index: 1001;
    display: flex !important;
    overflow-y: auto;
  }

  .nav-links.active { right: 0; }

  .nav-links li {
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-links li a {
    display: flex;
    align-items: center;
    font-family: var(--font-nav);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    min-height: 52px;
    text-decoration: none;
  }

  .nav-links li a::after { display: none; }

  .nav-links li a:hover,
  .nav-links li a.active {
    background: #f8f9fb;
    color: var(--accent);
    padding-left: 1.75rem;
  }

  .nav-user-link {
    font-size: 1.25rem !important;
    justify-content: center;
    background: var(--primary);
    color: #fff !important;
    border-radius: 0;
  }
  .nav-user-link:hover { background: var(--accent) !important; color: #fff !important; }

  .header.scrolled {
    width: 95%;
    top: 10px;
    border-radius: 15px;
  }

  .logo { font-size: 1.1rem; gap: 10px; }
  .logo-icon { height: 36px; }

  /* Hero */
  .hero { padding-top: 110px; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-text { font-size: 1rem; margin: 0 auto 2rem; max-width: 90%; }
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-content { text-align: center; }
  .about-content h2 { text-align: center !important; }
  .about-experience {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: -2rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }

  /* Philosophy cards */
  .philosophy-card { padding: 2rem 1.5rem; }

  /* Expertise */
  .expertise-split-right { height: 320px; }
  .expertise-nav-list { gap: 0.75rem; }
  .expertise-nav-item h3 { font-size: 1.15rem; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* LAWSET features */
  .lawset-features-grid { grid-template-columns: 1fr; }
  .sf-offset { transform: translateY(0); }
  .sf-card.sf-offset:hover { transform: translateY(-10px); }

  /* LAWSET course hero */
  .course-hero-title { font-size: 2rem !important; }
  .course-hero-desc { font-size: 1rem; }
  .course-meta { flex-wrap: wrap; gap: 0.5rem; }

  /* Learning list */
  .learning-list { grid-template-columns: 1fr; }

  /* Instructor */
  .instructor-card { flex-direction: column; align-items: center; text-align: center; }
  .instructor-stats { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  /* Syllabus */
  .syllabus-header { font-size: 0.88rem; padding: 0.9rem 1rem; flex-wrap: wrap; gap: 5px; }

  /* Education Strip */
  .edu-strip { flex-direction: column; border-radius: 14px; }
  .edu-strip-hero {
    flex: unset;
    padding: 1.75rem;
    text-align: center;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .edu-strip-btn { margin: 0.5rem auto 0; }
  .edu-strip-track { padding: 0.8rem 1rem 1.2rem; }
  .edu-strip-arrows { padding: 0.4rem 0.75rem 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-logo-wrap { justify-content: center; }
  .footer-desc { margin: 0 auto 1.5rem; max-width: 280px; }
  .footer-socials { justify-content: center; }
  .footer-links { align-items: center; }
  .footer-title::after { left: 50%; transform: translateX(-50%); }
  .footer-bottom .container { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Modal */
  .modal {
    padding: 2rem 1.5rem;
    margin: 0.75rem;
    max-width: calc(100vw - 1.5rem);
    border-radius: 16px;
  }
}

/* ===================================================
   Responsive Design — Small Mobile (480px)
   =================================================== */
@media (max-width: 480px) {
  .section { padding: 3rem 1rem; }
  .container { padding: 0 1rem; }
  .section-title { font-size: 1.75rem; margin-bottom: 1.75rem; }

  .hero-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .hero-text { font-size: 0.95rem; }

  .expertise-split-right { height: 260px; }
  .exp-card-info { padding: 1.25rem; }
  .exp-card-info h4 { font-size: 1.4rem; }
  .logo-icon { height: 32px; }

  .philosophy-card { padding: 1.75rem 1.25rem; }

  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .lawset-grid-layout { padding: 1rem; }
  .what-you-learn { padding: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 3rem 1.5rem 2rem; }
  .footer-top { padding: 2.5rem 1rem 1.5rem; }
  .footer-desc { font-size: 0.9rem; }
  .footer-bottom { padding: 1rem; }

  .modal { padding: 1.5rem 1rem; margin: 0.5rem; border-radius: 12px; }

  .instructor-stats { gap: 0.75rem; }
  .edu-strip-arrows { padding: 0.25rem 0.5rem 0; }
}

/* ABOUT */
/* ── Professional Excellence ── */
.excellence-section {
  position: relative;
  padding: 120px 0;
  margin-bottom: 4rem;
  background-image: url('../images/about.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.excellence-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(10,22,50,0.92) 0%,
      rgba(4,37,92,0.80) 50%,
      rgba(20,15,10,0.90) 100%
  );
}

.excellence-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 70px;
}

.excellence-head .exc-tag {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.excellence-head h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 1rem;
}

.excellence-head p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Glass cards row */
.exc-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(207,166,91,0.2);
  border: 1px solid rgba(207,166,91,0.2);
  border-radius: 16px;
  overflow: hidden;
}

.exc-card {
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  transition: background 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.exc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.4s ease;
}

.exc-card:hover {
  background: rgba(207,166,91,0.1);
}

.exc-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ghost large number behind */
.exc-ghost {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(207,166,91,0.06);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.exc-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(207,166,91,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  transition: border-color 0.3s, transform 0.3s;
}

.exc-card-icon i {
  font-size: 1.2rem;
  color: var(--accent);
}

.exc-card:hover .exc-card-icon {
  border-color: var(--accent);
  transform: scale(1.1) rotate(5deg);
}

.exc-card-num {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.exc-card-num em {
  font-style: normal;
  color: var(--accent);
}

.exc-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

/* bottom strip */
.exc-strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.exc-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.exc-strip-item i {
  color: var(--accent);
  font-size: 0.75rem;
}

.exc-strip-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(207,166,91,0.35);
}

/* responsive */
@media (max-width: 992px) {
  .exc-cards {
      grid-template-columns: repeat(2, 1fr);
  }

  .excellence-section {
      background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .excellence-section { padding: 80px 0; }
  .excellence-head { margin-bottom: 40px; }
  .excellence-head h2 { font-size: 2rem; }
  .exc-cards { grid-template-columns: repeat(2, 1fr); }
  .exc-card { padding: 2rem 1.25rem; }
}

@media (max-width: 520px) {
  .exc-cards { grid-template-columns: repeat(2, 1fr); }
  .exc-card { padding: 1.75rem 1rem; }
  .exc-card-num { font-size: 2.4rem; }
  .excellence-head h2 { font-size: 1.8rem; }
  .exc-strip { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .exc-strip-sep { display: none; }
}

@media (max-width: 380px) {
  .exc-cards { grid-template-columns: 1fr; }
}

.core-pillars-section{
    padding:80px 0;
}

/* Cards Layout */

.pillars-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:50px;
    margin-bottom:50px;
}

/* Card */

.pillar-card{
    background:#fff;
    padding:2rem;
    border-radius:14px;
    border:1px solid rgba(0,0,0,0.08);
    transition:all .35s ease;
    cursor:pointer;
    position:relative;
    overflow:hidden;
}

.pillar-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:var(--accent);
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

/* Hover Fix */

.pillar-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
    border-color:rgba(0,0,0,0.15);
}

.pillar-card:hover::before{
    transform:scaleX(1);
}

/* Icon + Title */

.pillar-head{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:12px;
}

.pillar-head i{
    color:var(--accent);
    font-size:1.5rem;
    transition:.3s;
}

.pillar-card:hover i{
    transform:scale(1.15);
}

.pillar-head h4{
    margin:0;
    font-size:1.2rem;
    color:var(--primary);
}

.pillar-card p{
    font-size:.95rem;
    color:var(--gray-dark);
    line-height:1.7;
}

/* Image */

.pillar-image{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

.pillar-image img{
    width:100%;
    height:600px;
    object-fit:cover;
}

/* Responsive */

@media(max-width:992px){
    .pillars-cards { grid-template-columns: 1fr; }
    .pillar-image img { height: 280px; }
}

@media(max-width:768px){
    .core-pillars-section { padding: 60px 0; }
    .pillars-cards { gap: 1.25rem; margin-top: 2rem; }
}

.pillar-image {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    overflow: hidden;
}

.pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ══════════════════════════════════════════════════════
   Contact Page
   ══════════════════════════════════════════════════════ */

/* Hero */
.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #071e4a 60%, #0a2d6b 100%);
    padding: 160px 0 90px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(207,166,91,0.13) 0%, transparent 70%);
    pointer-events: none;
}
.contact-hero::after {
    content: "";
    position: absolute;
    bottom: -30%; left: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(207,166,91,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    color: white;
    margin-bottom: 1.2rem;
}
.contact-hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.hero-tag {
    display: inline-block;
    padding: 5px 18px;
    background: rgba(207,166,91,0.12);
    border: 1px solid var(--accent);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.contact-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-outline-ghost {
    color: white;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}
.btn-icon-left { margin-right: 8px; }
.btn-icon-right { margin-left: 8px; }

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}
.contact-form-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Info Panel */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--gray-light);
}
.info-block:last-of-type { border-bottom: none; }
.info-icon-wrap {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), #0a2d6b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--accent);
}
.info-block h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 0.35rem;
}
.info-block p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0;
}
.info-block a {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.info-block a:hover { color: var(--primary); }
.section-title--left {
    text-align: left;
    margin-bottom: 2rem;
}
.follow-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 0.8rem;
    padding-top: 1.6rem;
}

/* Social Row */
.social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 1.6rem;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 8px;
    background: var(--secondary);
    border: 1px solid var(--gray-light);
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.25s ease;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Form Panel */
.contact-form-panel {
    background: white;
    border-radius: 16px;
    padding: 2.8rem;
    box-shadow: 0 20px 60px rgba(4,37,92,0.1);
    border-top: 4px solid var(--accent);
    position: relative;
}
.contact-form-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(207,166,91,0.03) 0%, transparent 30%);
    border-radius: 16px;
    pointer-events: none;
}
.form-panel-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary);
    margin-bottom: 0.4rem;
}
.form-panel-sub {
    font-size: 0.92rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-group:last-child { margin-bottom: 0; }
.contact-label {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--primary);
}
.contact-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--gray-light);
    border-radius: 8px;
    background: #fafafa;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    appearance: none;
}
.contact-input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 3px rgba(207,166,91,0.15);
}
.contact-input::placeholder { color: #aaa; }
select.contact-input { cursor: pointer; padding-right: 2.8rem; }
.select-wrap { position: relative; }
.select-wrap::after {
    content: '';
    position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    width: 0; height: 0; pointer-events: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--accent);
}
textarea.contact-input { resize: vertical; min-height: 130px; }
.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(4,37,92,0.2); }

/* Map Section */
.map-section { padding: 0 0 5rem; }
.map-section .section-title { padding-top: 3rem; }
.map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(4,37,92,0.12);
    border: 2px solid rgba(207,166,91,0.35);
}
.map-overlay-card {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    border-radius: 12px 0 12px 0;
    padding: 1.3rem 1.5rem;
    box-shadow: 0 8px 32px rgba(4,37,92,0.18);
    border-left: 4px solid var(--accent);
    width: 340px;
    z-index: 10;
}
.map-overlay-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.map-overlay-card h4 i { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; }
.map-overlay-card p {
    font-size: 0.78rem;
    color: var(--gray-dark);
    line-height: 1.55;
    margin: 0 0 0.9rem;
}
.map-overlay-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.2s;
}
.map-overlay-card a:hover { gap: 10px; }
iframe.map-frame {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
    filter: saturate(0.9) contrast(1.05);
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-form-panel { padding: 2.2rem; }
}
@media (max-width: 768px) {
    .contact-hero, .page-header, .course-page-hero { padding: 130px 0 70px; min-height: 420px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-panel { padding: 1.8rem 1.4rem; border-radius: 12px; }
    .map-wrapper { overflow: visible; border-radius: 0 0 16px 16px; }
    .map-overlay-card {
        position: static;
        width: 100%;
        border-radius: 12px 12px 0 0;
        border-left: none;
        border-bottom: 4px solid var(--accent);
        box-shadow: none;
        border-top: 2px solid rgba(207,166,91,0.35);
        border-right: 2px solid rgba(207,166,91,0.35);
    }
    iframe.map-frame {
        height: 300px;
        border-radius: 0 0 14px 14px;
        border: 2px solid rgba(207,166,91,0.35);
        border-top: none;
    }
}
@media (max-width: 480px) {
    .contact-form-panel { padding: 1.4rem 1rem; }
    .social-row { gap: 8px; }
    .info-icon-wrap { width: 40px; height: 40px; font-size: 1rem; }
    iframe.map-frame { height: 280px; }
}

/* ===================================================
   About Page Hero (page-header)
   =================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #071e4a 60%, #0a2d6b 100%);
    padding: 160px 0 90px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(207,166,91,0.13) 0%, transparent 70%);
    pointer-events: none;
}
.page-header::after {
    content: "";
    position: absolute;
    bottom: -30%; left: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(207,166,91,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.page-header-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: white;
}
.page-header-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-light);
}

/* ===================================================
   About Page — Philosophy & Founder
   =================================================== */
.philosophy-card { padding: 3rem 2rem; }
.philosophy-cards .service-card { transition: all 0.15s ease !important; }
.philosophy-cards .service-card:hover {
    transform: translateY(-16px) scale(1.03) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18) !important;
}
.about-founder-heading {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: left;
    margin-bottom: 1rem;
    color: white;
}
.about-founder-role {
    color: var(--accent);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.about-founder-quote { color: #ffffff; font-style: italic; }
.about-founder-bio { color: #ffffff; }
.about-img-shadow { box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.hero-z-inner { position: relative; z-index: 2; width: 100%; }

/* ===================================================
   Home Hero Canvas & Inline Utilities
   =================================================== */
.hero-bg-canvas-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background-color: var(--primary);
    overflow: hidden;
}
.hero-canvas-el { display: block; width: 100%; height: 100%; }
.hero-radial-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(4,37,92,0.4) 0%, rgba(4,37,92,0.9) 70%);
    pointer-events: none;
}
.hero-container-inner { position: relative; z-index: 2; width: 100%; }
.hero-content-narrow { max-width: 650px; }
.hero-subtitle-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(207,166,91,0.1);
    border: 1px solid var(--accent);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title-home {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.hero-text-home {
    font-size: 0.95rem;
    color: #E5E7EB;
    margin-bottom: 2.5rem;
    max-width: 550px;
}
.section-primary-relative { position: relative; overflow: hidden; z-index: 1; }
.section-white-padded { padding-top: 5rem; padding-bottom: 5rem; }
.text-center-max {
    max-width: 660px;
    margin: 0 auto 3.5rem auto;
    color: var(--gray-dark);
}
.expertise-cta-wrap { margin-top: 3rem; padding-left: 1.5rem; }

/* ===================================================
   Home — Enroll Stats Section
   =================================================== */
.enroll-stats-section {
    background: #f0f4fa;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.enroll-bg-blob-1 {
    position: absolute;
    top: -10%; right: -4%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(4,37,92,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.enroll-bg-blob-2 {
    position: absolute;
    bottom: -15%; left: -5%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(207,166,91,0.09) 0%, transparent 70%);
    pointer-events: none;
}
.enroll-inner { position: relative; z-index: 2; }
.enroll-head { text-align: center; margin-bottom: 3rem; }
.enroll-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(4,37,92,0.07);
    border: 1px solid rgba(4,37,92,0.18);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.enroll-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
.enroll-sub {
    color: var(--gray-dark);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.98rem;
}
.enroll-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.enroll-chart-center { display: flex; flex-direction: column; align-items: center; }
.enroll-chart-header-full { width: 100%; }
.enroll-doughnut-wrap { position: relative; width: 220px; flex-shrink: 0; }
.enroll-doughnut-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}
.enroll-doughnut-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.enroll-doughnut-lbl {
    font-size: 0.72rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.edu-card-flex { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }

/* ===================================================
   Course Page Hero & Catalog
   =================================================== */
.course-page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #071e4a 60%, #0a2d6b 100%);
    padding: 160px 0 90px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.course-page-hero::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(207,166,91,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.course-page-hero::after {
    content: "";
    position: absolute;
    bottom: -30%; left: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(207,166,91,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.course-page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    color: white;
    margin-bottom: 1.2rem;
    word-break: break-word;
}
.course-page-hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 620px;
    margin: 0 auto 2rem;
}
.course-page-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.course-page-hero .hero-buttons {
    justify-content: center;
}
.course-hero-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(207,166,91,0.12);
    border: 1px solid var(--accent);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.course-stats-bar {
    border-top: 1px solid rgba(207,166,91,0.2);
    padding: 3rem 0;
}
.course-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: center;
}
.course-hero-stat { text-align: center; }
.course-hero-stat .stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.course-hero-stat .stat-label {
    font-size: 0.82rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.course-filter-bar {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    top: 0;
    width: 100%;
    z-index: 100;
}
.filter-tabs {
    display: flex;
    align-items: center;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
    padding: 1.1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-dark);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-body);
    flex-shrink: 0;
}
.filter-tab:hover { color: var(--primary); }
.filter-tab.active { color: var(--primary); border-bottom-color: var(--accent); }
.course-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(4,37,92,0.13);
    border-color: rgba(207,166,91,0.4);
}
.course-card-img {
    position: relative;
    overflow: hidden;
    height: 210px;
    flex-shrink: 0;
}
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-card-img img { transform: scale(1.06); }
.course-card-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-intake  { background: var(--accent); color: var(--primary); }
.badge-new     { background: #10b981; color: white; }
.badge-popular { background: var(--primary); color: white; }
.badge-soon    { background: #f59e0b; color: white; }
.course-card--soon .course-card-img img { filter: grayscale(30%); opacity: 0.85; }
.btn-soon {
    background: transparent;
    border: 1.5px solid #f59e0b;
    color: #f59e0b;
    cursor: not-allowed;
    opacity: 0.8;
}
.course-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.course-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.course-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.course-card-instructor { font-size: 0.82rem; color: var(--gray-dark); margin-bottom: 0.7rem; }
.course-card-rating { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.stars { color: #FACC15; }
.rating-val { font-weight: 700; color: var(--text-dark); }
.rating-count { color: var(--gray-dark); }
.course-card-desc {
    font-size: 0.88rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}
.course-card-meta {
    display: flex;
    gap: 0.65rem;
    font-size: 0.78rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.course-card-meta span { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.meta-cert { color: var(--accent) !important; font-weight: 600; }
.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
    margin-top: auto;
}
.course-card-cta { padding: 0.55rem 1.2rem; font-size: 0.82rem; }
.course-card-featured { grid-column: span 2; flex-direction: row; align-items: stretch; }
.course-card-featured .course-card-img { width: 48%; min-width: 48%; flex-shrink: 0; height: auto; min-height: 340px; }
.course-card-featured .course-card-img img { height: 100%; object-fit: cover; }
.course-card-featured .course-card-body { padding: 2.5rem 2rem 2rem; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.course-card-featured .course-card-title { font-size: 1.3rem; }
.course-card-featured .course-card-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: stretch; }
.why-card {
    text-align: left;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(207,166,91,0.3); }
.why-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary), #0a2d6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}
.why-card h4 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--primary); }
.why-card p  { font-size: 0.9rem; color: var(--gray-dark); line-height: 1.6; margin: 0; flex: 1; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.testimonial-text { flex: 1; }
.testimonial-card::before {
    content: "\201C";
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: 10px; right: 30px;
    top: 10px; left: 20px;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-text { font-size: 0.95rem; color: var(--gray-dark); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--primary); }
.testimonial-role { font-size: 0.8rem; color: var(--gray-medium); }
.testimonial-stars { color: #FACC15; font-size: 0.82rem; margin-bottom: 3px; }
.course-cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #071e4a 100%);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.course-cta-banner::before {
    content: "";
    position: absolute;
    top: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(207,166,91,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.course-cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.course-cta-banner .course-hero-badge { display: block; margin: 0 auto 1.2rem; width: fit-content; }
.course-cta-banner p  { font-size: clamp(0.95rem, 2vw, 1.05rem); max-width: 600px; margin: 0 auto 2rem; opacity: 0.88; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* Course Responsive */
@media (max-width: 1200px) {
    .course-catalog-grid { gap: 1.5rem; }
    .why-grid { gap: 1.5rem; }
}
@media (max-width: 1024px) {
    .course-catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .course-card-featured { grid-column: span 2; flex-direction: row; }
    .course-card-featured .course-card-img { width: 44%; min-width: 44%; min-height: 300px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .course-hero-stats { gap: 1.5rem; }
    .filter-tab { padding: 0.85rem 0.9rem; font-size: 0.8rem; }
    .course-catalog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .course-card-featured { grid-column: span 1; flex-direction: column; }
    .course-card-featured .course-card-img { width: 100%; min-width: 0; min-height: 0; height: 260px; }
    .course-card-featured .course-card-body { padding: 1.4rem; }
    .course-card-featured .course-card-title { font-size: 1.15rem; -webkit-line-clamp: unset; display: block; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .why-card { padding: 1.8rem 1rem; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .course-cta-banner { padding: 2.5rem 1.5rem; border-radius: 12px; }
}
@media (max-width: 600px) {
    .page-header, .contact-hero, .course-page-hero { padding: 110px 0 60px; min-height: 400px; }
    .course-hero-stats { gap: 1.2rem; }
    .course-card-img { height: 200px; }
    .course-card-meta { gap: 0.5rem; font-size: 0.74rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
    .cta-buttons .btn { width: 100%; max-width: 280px; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 1.6rem 1rem; }
    .filter-tab { padding: 0.8rem 0.75rem; font-size: 0.76rem; }
    .testimonial-card { padding: 1.5rem 1.2rem; }
    .course-cta-banner { padding: 2rem 1rem; }
    .page-header, .contact-hero, .course-page-hero { padding: 110px 0 60px; min-height: 360px; }
}
@media (max-width: 360px) {
    .course-page-hero h1 { font-size: 1.7rem; }
    .course-card-body { padding: 1rem; }
    .course-card-title { font-size: 0.95rem; }
}

/* ===================================================
   Legal Pages (Privacy Policy & Terms)
   =================================================== */
.legal-doc {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}
.legal-intro {
    background: #f8f9fb;
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.8;
}
.legal-intro p + p { margin-top: 0.75rem; }
.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
}
.legal-section:last-child { border-bottom: none; }
.legal-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}
.legal-num {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.legal-subheading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1.2rem 0 0.6rem;
}
.legal-section p {
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 0.75rem;
}
.legal-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}
.legal-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
    color: var(--text-body);
    line-height: 1.75;
}
.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.legal-contact-box {
    background: linear-gradient(135deg, var(--primary) 0%, #071e4a 100%);
    border-radius: 12px;
    padding: 2.5rem;
    border-bottom: none;
}
.legal-contact-box .legal-heading { color: #fff; }
.legal-contact-box p { color: rgba(255,255,255,0.85); }
.legal-contact-info {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.legal-contact-info i {
    color: var(--accent);
    margin-right: 0.5rem;
    width: 16px;
}
.legal-contact-info a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.legal-contact-info a:hover { color: var(--accent); }
@media (max-width: 768px) {
    .legal-doc { padding: 2rem 0 3rem; }
    .legal-intro { padding: 1.2rem 1.4rem; }
    .legal-contact-box { padding: 1.8rem 1.4rem; }
    .legal-heading { font-size: 1.15rem; }
}

/* ===================================================
   Mobile — Course Stats Bar
   =================================================== */
@media (max-width: 768px) {
    .course-stats-bar { padding: 2rem 0; }
    .course-hero-stats { gap: 2rem; }
    .course-hero-stat .stat-num { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}
@media (max-width: 480px) {
    .course-stats-bar { padding: 1.5rem 0; }
    .course-hero-stats { gap: 1.5rem; justify-content: space-around; }
    .course-hero-stat .stat-label { font-size: 0.72rem; letter-spacing: 1px; }
}

/* ===================================================
   Mobile — Contact Page Improvements
   =================================================== */
@media (max-width: 480px) {
    .contact-form-section { padding: 2.5rem 0; }
    .contact-info-panel { padding: 1.5rem 1.25rem; }
    .contact-form-panel { padding: 1.5rem 1.25rem; border-radius: 10px; }
    .contact-input { font-size: 0.9rem; }
    .social-row { gap: 0.6rem; }
    .social-btn { width: 38px; height: 38px; font-size: 0.9rem; }
}

/* ===================================================
   Mobile — General Touch & Accessibility
   =================================================== */
@media (max-width: 768px) {
    /* Ensure tap targets are at least 44px */
    .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .service-card { padding: 2rem 1.5rem; }
    .section-primary-relative { overflow: hidden; }

    /* Prevent horizontal overflow */
    img { max-width: 100%; height: auto; }
    table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.7rem; }
    .heading-highlight { display: inline; }
    .btn-primary, .btn-outline { padding: 0.8rem 1.5rem; font-size: 0.88rem; }
    .service-card { padding: 1.75rem 1.25rem; }
}

/* =====================================================
   SITE-WIDE MOVEMENT & MICRO-ANIMATIONS
   ===================================================== */

/* ── Keyframes ── */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes floatYSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(3deg); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(207,166,91,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(207,166,91,0); }
  100% { box-shadow: 0 0 0 0 rgba(207,166,91,0); }
}
@keyframes pulse-ring-navy {
  0%   { box-shadow: 0 0 0 0 rgba(4,37,92,0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(4,37,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(4,37,92,0); }
}
@keyframes shimmer-shine {
  0%   { left: -80%; }
  100% { left: 120%; }
}
@keyframes borderPulse {
  0%, 100% { border-color: rgba(207,166,91,0.3); }
  50%       { border-color: rgba(207,166,91,0.9); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes bgSlide {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes orbitDot {
  from { transform: rotate(0deg) translateX(28px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(28px) rotate(-360deg); }
}
@keyframes countBounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}
@keyframes glowLine {
  0%, 100% { opacity: 0.4; width: 40px; }
  50%       { opacity: 1; width: 80px; }
}

/* ── Enhanced Reveal animations (active = JS class, visible = alternate trigger) ── */
.reveal        { transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active, .reveal.visible { opacity: 1; transform: none; }

.reveal-left        { opacity: 0; transform: translateX(-35px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.active, .reveal-left.visible { opacity: 1; transform: none; }

.reveal-right        { opacity: 0; transform: translateX(35px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.active, .reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale        { opacity: 0; transform: scale(0.88); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.active, .reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children — works on both .active and .visible parent */
.reveal-stagger.active > *, .reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ── Floating icons ── */
.service-icon,
.pillar-head i,
.exc-card-icon i {
  transition: transform 0.35s ease, color 0.3s ease;
}
.service-card:hover .service-icon,
.pillar-card:hover .pillar-head i {
  animation: floatY 1.4s ease-in-out infinite;
  color: var(--primary);
}
.exc-card:hover .exc-card-icon i {
  animation: floatY 1.4s ease-in-out infinite;
}

/* ── CTA button pulse ── */
.btn-primary,
.btn-accent {
  position: relative;
  overflow: hidden;
}
.btn-primary:focus,
.btn-primary:not(:active):hover,
.btn-accent:not(:active):hover {
  animation: pulse-ring 1.4s ease-out infinite;
}
/* Shine sweep on buttons */
.btn-primary::after,
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-accent:hover::after {
  animation: shimmer-shine 0.65s ease forwards;
}

/* ── Card shimmer shine ── */
.service-card,
.pillar-card,
.exc-card,
.tsr-card {
  position: relative;
  overflow: hidden;
}
.service-card::after,
.pillar-card::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(207,166,91,0.08) 50%, transparent 70%);
  transform: skewX(-20deg);
  pointer-events: none;
  opacity: 0;
}
.service-card:hover::after,
.pillar-card:hover::after {
  opacity: 1;
  animation: shimmer-shine 0.7s ease forwards;
}

/* ── Animated underline for nav links ── */
.nav-links li a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, color 0.3s ease;
  padding-bottom: 3px;
}
.nav-links li a:hover,
.nav-links li a.active {
  background-size: 100% 2px;
}


/* ── Floating decorative orb backgrounds ── */
.hero::before,
.section-primary::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207,166,91,0.08) 0%, transparent 70%);
  bottom: -60px; right: -60px;
  pointer-events: none;
  animation: floatYSlow 8s ease-in-out infinite;
}

/* ── Stats number bounce on visible ── */
.exc-card-num,
.stat-num {
  display: inline-block;
  transition: transform 0.4s ease;
}
.exc-card.visible .exc-card-num {
  animation: countBounce 0.6s ease 0.4s both;
}

/* ── Image hover zoom ── */
.about-img,
.pillar-image img,
.lead-photo img {
  transition: transform 0.5s ease, opacity 0.45s ease;
}
.about-img:hover,
.pillar-image img:hover {
  transform: scale(1.03);
}

/* ── Anchor / footer link hover slide ── */
.footer-links li a,
.footer-contact-list li a {
  position: relative;
}

/* ── Social icon orbit pulse ── */
.footer-social-icon:hover {
  animation: pulse-ring 1.2s ease-out 1;
}
.nav-user-avatar:hover {
  animation: pulse-ring 1s ease-out infinite;
}

/* ── Animated gradient hero title ── */
.hero-title {
  background: linear-gradient(270deg, #ffffff, #CFA65B, #ffffff, #e8d5a0);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bgSlide 6s ease infinite;
}

/* ── Card tilt on hover (subtle perspective) ── */
@media (hover: hover) {
  .service-card,
  .pillar-card,
  .tsr-card {
    transform-style: preserve-3d;
    will-change: transform;
  }
}

/* ── Scroll progress bar (top of page) ── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* ── Back-to-top button ── */
#backToTop {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 18px rgba(4,37,92,0.25);
}
#backToTop.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#backToTop:hover {
  background: var(--accent); color: var(--primary);
  animation: pulse-ring 1s ease-out infinite;
}

/* ── Highlighted stat counters ── */
.hero-stat-num,
.stat-num,
.exc-card-num {
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.exc-card:hover .exc-card-num {
  text-shadow: 0 0 20px rgba(207,166,91,0.4);
  transform: scale(1.05);
}

/* ── About page group gallery ── */
/* ── Life at Section: bento gallery ── */
.about-gallery-section {
  background: #f9fafc;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.about-gallery-header { text-align: center; margin-bottom: 3.5rem; position: relative; z-index: 1; }
.about-gallery-header .about-tag {
  display: inline-block; padding: 4px 18px;
  background: rgba(4,37,92,0.06); border: 1px solid rgba(4,37,92,0.12);
  border-radius: 30px; color: var(--primary); font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem;
  font-weight: 600;
}
.about-gallery-header p { color: #6b7a9a; }

/* Bento top grid */
.ag-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative; z-index: 1;
}
.ag-bento-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--secondary);
  cursor: pointer;
}
.ag-bento-item.ag-hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 420px;
}
.ag-bento-item:not(.ag-hero) { aspect-ratio: 3 / 2; }
.ag-bento-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
}
.ag-bento-item.ag-hero img { object-position: center center; }
.ag-bento-item:hover img { transform: scale(1.04); }

/* Row 2 – three equal tiles */
.ag-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
  position: relative; z-index: 1;
}
.ag-row-3 .ag-bento-item { aspect-ratio: 3 / 2; }

/* Caption overlay */
.ag-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(4,37,92,0.88) 0%, transparent 100%);
  transform: translateY(10px); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none; z-index: 2;
}
.ag-bento-item:hover .ag-caption { transform: translateY(0); opacity: 1; }
.ag-caption-text { color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px; line-height: 1.3; }
.ag-caption-sub  { color: rgba(207,166,91,0.9); font-size: 0.73rem; font-weight: 500; margin-top: 3px; }

/* Full-width blocks (workspace + video) */
.ag-full {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  position: relative; z-index: 1;
}
.ag-full img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.45s ease;
  cursor: zoom-in;
}
.ag-full:hover img { transform: scale(1.02); }
/* Workspace: fixed-height panoramic banner */
.ag-workspace {
  height: 420px;
}
.ag-workspace img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.ag-video-wrap {
  padding: 56.25% 0 0 0;
  position: relative;
}
.ag-video-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.about-media-label {
  position: absolute; bottom: 14px; left: 16px;
  background: rgba(4,37,92,0.82); color: #fff;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.74rem; letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 600; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  pointer-events: none; z-index: 4;
}

@media (max-width: 900px) {
  .ag-bento { grid-template-columns: repeat(2, 1fr); }
  .ag-bento-item.ag-hero { grid-column: 1 / -1; grid-row: auto; min-height: 240px; }
  .ag-bento-item:not(.ag-hero) { aspect-ratio: 4 / 3; }
  .ag-row-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ag-bento, .ag-row-3 { grid-template-columns: 1fr; }
  .ag-bento-item.ag-hero { min-height: 200px; }
  .ag-bento-item { aspect-ratio: 3 / 2 !important; }
}

/* ── Homepage Founder Spotlight ── */
.founder-spotlight {
  background: #fff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.founder-spotlight::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(135deg, #f4f7fd 0%, #eef2fb 100%);
  pointer-events: none; z-index: 0;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
.founder-split {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 5rem;
  align-items: center;
  position: relative; z-index: 1;
}
.founder-photo-wrap { position: relative; }
.founder-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 60px rgba(4,37,92,0.15), 0 4px 16px rgba(4,37,92,0.08);
}
.founder-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.founder-photo-wrap:hover .founder-photo-frame img { transform: scale(1.04); }
.founder-photo-badge {
  position: absolute; bottom: -16px; left: 24px;
  background: var(--accent); color: var(--primary);
  padding: 9px 22px; border-radius: 30px;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(207,166,91,0.38);
  white-space: nowrap;
}
.founder-text { color: var(--primary); }
.founder-eyebrow {
  display: inline-block; padding: 5px 18px;
  background: rgba(4,37,92,0.06); border: 1px solid rgba(4,37,92,0.15);
  border-radius: 30px; color: var(--primary); font-size: 0.72rem;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 1.2rem;
  font-weight: 600;
}
.founder-name-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700; line-height: 1.18; margin: 0 0 0.3rem; color: var(--primary);
}
.founder-name-heading em { font-style: normal; color: var(--accent); }
.founder-role-line { color: #6b7a9a; font-size: 0.95rem; margin-bottom: 1.8rem; font-weight: 400; }
.founder-blockquote {
  font-size: 1.04rem; line-height: 1.75; color: #3a4a6b;
  border-left: 3px solid var(--accent); padding-left: 1.4rem;
  margin: 0 0 1.6rem; font-style: italic;
}
.founder-bio-text {
  font-size: 0.92rem; color: #5a6a8a;
  line-height: 1.8; margin-bottom: 2rem;
}
.founder-read-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: gap 0.22s ease, color 0.2s;
}
.founder-read-more:hover { gap: 14px; color: var(--accent); }

@media (max-width: 960px) {
  .founder-spotlight::after { display: none; }
  .founder-split { grid-template-columns: 1fr; gap: 3.5rem; }
  .founder-photo-frame { max-width: 300px; margin: 0 auto; }
  .founder-photo-badge { left: 50%; transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   GLOBAL MOBILE FIXES — all pages
   ════════════════════════════════════════ */

/* ── Prevent horizontal overflow globally ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

/* ── Scrolled nav pill — collapse to full-width on tablets ── */
@media (max-width: 900px) {
  .header.scrolled {
    width: calc(100% - 2rem);
    left: 1rem; right: 1rem;
    margin-left: 0; margin-right: 0;
    top: 12px; border-radius: 16px;
  }
}
@media (max-width: 768px) {
  .header.scrolled { width: 100%; left: 0; right: 0; top: 0; border-radius: 0; }
}

/* ── Hero ── */
@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .hero-subtitle-badge { font-size: 0.68rem; letter-spacing: 1.5px; padding: 5px 14px; }
}

/* ── About grid (home + about page) ── */
@media (max-width: 600px) {
  .about-grid { gap: 2rem; }
  .about-content p { font-size: 0.95rem; }
}

/* ── Expertise split ── */
@media (max-width: 768px) {
  .expertise-split-right { height: 320px; }
  .expertise-nav-item { padding: 1rem; }
  .expertise-nav-item h3 { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .expertise-split-right { height: 240px; }
}

/* ── Stats / Enroll section inline heading ── */
@media (max-width: 768px) {
  .enroll-stats-section h2 { font-size: 1.9rem !important; }
  .enroll-stats-section p  { font-size: 0.9rem !important; }
}
@media (max-width: 480px) {
  .enroll-stats-section h2 { font-size: 1.6rem !important; }
  /* Doughnut chart — shrink inline fixed width */
  .enroll-stats-section [style*="width:220px"] { width: 160px !important; }
  /* Decorative blobs — hide, they overflow */
  .enroll-stats-section > div[style*="position:absolute"] { display: none !important; }
}

/* ── Leadership carousel ── */
@media (max-width: 768px) {
  .leadership-section { padding: 3.5rem 0; }
  .leadership-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .lead-progress-bar { display: none; }
}
@media (max-width: 480px) {
  .lead-card { width: calc(50vw - 1.5rem) !important; }
  .lead-name { font-size: 0.82rem; }
}

/* ── Coaching (lawset) feature cards ── */
@media (max-width: 600px) {
  .lawset-showcase-wrapper { gap: 2rem; }
  .lawset-features-grid { gap: 1rem; }
  .sf-card { min-height: 180px; }
}

/* ── Founder Spotlight ── */
@media (max-width: 768px) {
  .founder-split { gap: 2.5rem; }
  .founder-photo-frame { max-width: 260px; }
  .founder-name-heading { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .founder-spotlight { padding: 3.5rem 0; }
  .founder-photo-badge { font-size: 0.72rem; padding: 7px 16px; }
  .founder-blockquote { font-size: 0.95rem; padding-left: 1rem; }
  .founder-bio-text { font-size: 0.88rem; }
}

/* ── Testimonials ── */
@media (max-width: 480px) {
  .tsr-section { padding: 3rem 0 2.5rem; }
  .tsr-title { font-size: 1.6rem; }
  .tsr-card-body { grid-template-columns: 1fr !important; }
  .tsr-panel-l { padding: 1.2rem 1.2rem; flex-direction: row; gap: 0.75rem; justify-content: flex-start; }
  .tsr-slide-num { display: none; }
}

/* ── About page hero (page-header) ── */
@media (max-width: 768px) {
  .page-header { padding: 6rem 1.25rem 3.5rem; }
  .page-header-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .page-header-sub { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .page-header { padding: 5.5rem 1rem 3rem; }
}

/* ── About gallery section ── */
@media (max-width: 768px) {
  .about-gallery-section { padding: 4rem 0 3rem; }
  .about-gallery-header { margin-bottom: 2rem; }
  .about-gallery-header p { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .ag-workspace { height: 220px; }
}

/* ── Core Pillars ── */
@media (max-width: 768px) {
  .core-pillars-section { padding: 4rem 0; }
  .pillars-cards { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
  .pillar-image img { border-radius: 10px; }
}

/* ── Excellence / About stats ── */
@media (max-width: 480px) {
  .excellence-section { padding: 60px 0; }
  .exc-cards { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .exc-card { padding: 1.5rem 0.75rem; }
  .exc-card-num { font-size: 2rem; }
  .exc-strip { flex-direction: column; align-items: center; gap: 0.75rem; }
  .exc-strip-sep { display: none; }
}

/* ── Mission/Vision/Approach cards ── */
@media (max-width: 600px) {
  .services-grid.philosophy-cards { grid-template-columns: 1fr; }
}

/* ── Footer ── */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-logo-wrap { justify-content: center; }
  .footer-links { align-items: center; }
  .footer-title::after { left: 50%; transform: translateX(-50%); }
  .footer-socials { justify-content: center; }
  .footer-bottom .container { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Contact page ── */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}
@media (max-width: 480px) {
  .contact-hero h1, .contact-hero .page-header-title { font-size: 1.8rem !important; }
}

/* ── Enroll charts stacked ── */
@media (max-width: 600px) {
  .enroll-charts-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .enroll-chart-panel { padding: 1.25rem; }
}

/* ── Section titles scale down ── */
@media (max-width: 480px) {
  .section-title { font-size: 1.6rem !important; }
  .pm-title-bar { margin: 0.4rem 0 1rem; }
}

/* ── Buttons full-width on tiny screens ── */
@media (max-width: 380px) {
  .hero-buttons .btn,
  .btn-primary, .btn-outline {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 0.88rem;
  }
}

/* ════════════════════════════════════════
   PAGE MOTION ANIMATIONS
   ════════════════════════════════════════ */

/* Button ripple */
@keyframes pmRipple {
  from { transform: scale(0); opacity: 0.45; }
  to   { transform: scale(3); opacity: 0; }
}
.btn { overflow: hidden; position: relative; }
.pm-ripple {
  position: absolute; border-radius: 50%;
  width: 10px; height: 10px; pointer-events: none;
  background: rgba(255,255,255,0.55);
  animation: pmRipple 0.55s ease forwards;
  transform-origin: center;
  will-change: transform, opacity;
}

/* Section title accent bar */
@keyframes pmLineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pm-title-bar {
  display: block; height: 3px; width: 52px;
  background: linear-gradient(90deg, var(--accent), rgba(207,166,91,0));
  border-radius: 2px; margin: 0.55rem 0 1.5rem;
  transform-origin: left center; transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pm-title-bar.pm-bar-vis { transform: scaleX(1); }
/* Center bar when inside a centered heading context */
.text-center .pm-title-bar,
.section-title:not(.section-title--left) + .pm-title-bar {
  margin-left: auto; margin-right: auto;
  transform-origin: center center;
  background: linear-gradient(90deg, rgba(207,166,91,0), var(--accent) 50%, rgba(207,166,91,0));
}

/* Heading word-by-word reveal */
@keyframes pmWordUp {
  from { opacity: 0; transform: translateY(22px) skewY(3deg); }
  to   { opacity: 1; transform: none; }
}
.pm-word {
  display: inline-block;
  animation: pmWordUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

/* Section fade-up (stronger than default reveal) */
@keyframes pmFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}
.pm-fade-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.pm-fade-up.pm-vis { opacity: 1; transform: none; }

/* Clip-path reveal for images */
.pm-clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.16,1,0.3,1);
}
.pm-clip-reveal.pm-vis { clip-path: inset(0 0% 0 0); }


/* Pillar cards pulse on hover */
.pillar-card {
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.28s ease;
}
.pillar-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(4,37,92,0.13);
}

/* Excellence stat card pop */
.exc-card {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease !important;
}
.exc-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
}

/* ── Custom cursor ── */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
}
.pm-cursor-dot,
.pm-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
.pm-cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease;
}
.pm-cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid rgba(207,166,91,0.5);
  background: transparent;
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease;
}
.pm-cursor-ring.pm-ring-hover {
  width: 54px; height: 54px;
  border-color: rgba(207,166,91,0.85);
}
.pm-cursor-dot.pm-cursor-click {
  width: 12px; height: 12px;
  background: var(--accent);
}
@media (hover: none), (pointer: coarse) {
  .pm-cursor-dot, .pm-cursor-ring { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Meet Our Leadership – v3 (spotlight + tilt, zero lag)
   ═══════════════════════════════════════════════════════════════ */

/* ── Section ── */
.leadership-section {
    background: #f9f8f6;
    padding: 6rem 0 5.5rem;
    position: relative; overflow: hidden;
}
.leadership-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
    background-size: 30px 30px; opacity: .28;
}
.leadership-section::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ── Header ── */
.ls-header { text-align: center; margin-bottom: 2.2rem; }
.ls-sub {
    color: #6b7280; font-size: .93rem; margin-top: .5rem; letter-spacing: .2px;
    opacity: 0; transform: translateY(12px);
    transition: opacity .55s ease .25s, transform .55s ease .25s;
}
.leadership-section.ls-visible .ls-sub { opacity: 1; transform: translateY(0); }

/* ── Filter pills ── */
.ls-filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 2.8rem; flex-wrap: wrap; }
.ls-pill {
    padding: 7px 26px; border-radius: 100px; border: 1.5px solid #e5e7eb;
    background: #fff; color: #6b7280; font-size: .75rem; font-weight: 700;
    letter-spacing: .6px; text-transform: uppercase; cursor: pointer;
    opacity: 0; transform: translateY(10px) scale(.95);
    transition: opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1),
                background .22s, border-color .22s, color .22s, box-shadow .22s;
}
.leadership-section.ls-visible .ls-pill { opacity: 1; transform: translateY(0) scale(1); }
.leadership-section.ls-visible .ls-pill:nth-child(1) { transition-delay: .32s; }
.leadership-section.ls-visible .ls-pill:nth-child(2) { transition-delay: .42s; }
.leadership-section.ls-visible .ls-pill:nth-child(3) { transition-delay: .52s; }
.ls-pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.09); }
.ls-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.2); transform: translateY(-1px); }

/* ── Featured — perspective container for 3D tilt ── */
.ls-featured {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.4rem; margin-bottom: 1.4rem;
    perspective: 1200px; perspective-origin: 50% 50%;
}
.ls-feat-card {
    position: relative; border-radius: 18px; overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 6px 28px rgba(0,0,0,.1);
    /* will-change set by JS on mouseenter only — avoids 15 permanent GPU layers */
    transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease;
    cursor: pointer;
}
/* CSS fallback hover (JS overrides with tilt when active) */
.ls-feat-card:hover { transform: translateY(-10px); box-shadow: 0 28px 60px rgba(0,0,0,.18); }

/* Diagonal shine sweep */
.ls-feat-card::before {
    content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(108deg, transparent 28%, rgba(255,255,255,.22) 50%, transparent 72%);
    transform: translateX(-150%);
    transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.ls-feat-card:hover::before { transform: translateX(150%); }

.ls-feat-card img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    position: relative; z-index: 1; opacity: 0;
    transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .45s ease;
    transform: scale(1.1);
}
.ls-feat-card.ls-loaded img { opacity: 1; transform: scale(1); }
.ls-feat-card:hover img { transform: scale(1.06); }

.ls-feat-overlay {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(10,18,32,.92) 0%, rgba(10,18,32,.28) 42%, transparent 100%);
}

/* Mouse spotlight — positioned via CSS custom props (GPU composited, zero Paint) */
.ls-spot {
    position: absolute; inset: 0; z-index: 3;
    pointer-events: none; overflow: hidden; border-radius: inherit;
}
.ls-spot::after {
    content: '';
    position: absolute; border-radius: 50%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.15) 0%, rgba(255,255,255,.04) 40%, transparent 70%);
    will-change: transform;
    transform: translate(calc(var(--sx, -9999px) - 150px), calc(var(--sy, -9999px) - 150px));
    transition: transform 0s; /* instant — lerp is in JS */
}
/* Smaller, brighter spotlight for grid image area */
.ls-grid-img .ls-spot::after {
    width: 190px; height: 190px;
    transform: translate(calc(var(--sx, -9999px) - 95px), calc(var(--sy, -9999px) - 95px));
    background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 45%, transparent 70%);
}

.ls-feat-badge {
    position: absolute; top: 1.1rem; left: 1.1rem; z-index: 8;
    background: var(--accent); color: #fff; font-size: .6rem; font-weight: 800;
    letter-spacing: 1.4px; text-transform: uppercase; padding: 5px 15px; border-radius: 100px;
    box-shadow: 0 3px 14px rgba(0,0,0,.35);
    opacity: 0; transform: translateY(-6px);
    transition: opacity .35s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.ls-feat-card.ls-in .ls-feat-badge { opacity: 1; transform: translateY(0); transition-delay: .55s; }

.ls-feat-info {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 6;
    padding: 1.9rem 2rem; transform: translateY(10px);
    transition: transform .42s cubic-bezier(.22,.61,.36,1);
}
.ls-feat-card:hover .ls-feat-info { transform: translateY(0); }
.ls-feat-info::before {
    content: ''; display: block; height: 2px; width: 0;
    background: var(--accent); margin-bottom: 11px;
    transition: width .42s cubic-bezier(.22,.61,.36,1);
}
.ls-feat-card:hover .ls-feat-info::before { width: 40px; }
.ls-feat-info .ls-name {
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800;
    color: #fff; margin: 0 0 7px; letter-spacing: 1px; text-transform: uppercase;
    transition: color .3s ease;
}
.ls-feat-card:hover .ls-feat-info .ls-name { color: #fef3c7; }
.ls-feat-info .ls-role {
    font-size: .8rem; color: var(--accent); font-weight: 600; letter-spacing: .4px;
    opacity: .8; transform: translateY(5px);
    transition: opacity .35s ease .05s, transform .35s ease .05s;
}
.ls-feat-card:hover .ls-feat-info .ls-role { opacity: 1; transform: translateY(0); }

/* ── Featured solo — single big card centered below the pair ── */
.ls-featured-solo {
    display: flex; justify-content: center;
    margin-bottom: 1.4rem;
}
.ls-featured-solo .ls-feat-card { width: calc(50% - 0.7rem); }

/* ── Associate grid ── */
.ls-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.ls-grid-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    /* no will-change on base — JS sets on mouseenter */
    transition: transform .38s cubic-bezier(.22,.61,.36,1), box-shadow .38s ease;
    position: relative; cursor: pointer;
}
.ls-grid-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), #f5d78e, var(--accent));
    transform: scaleX(0); transform-origin: left; z-index: 2;
    transition: transform .38s cubic-bezier(.22,.61,.36,1);
}
.ls-grid-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 70px;
    background: linear-gradient(to top, rgba(207,166,91,.09), transparent);
    opacity: 0; transition: opacity .38s ease; pointer-events: none; z-index: 1;
}
/* translateY only — no scale, avoids repaint on hover */
.ls-grid-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(0,0,0,.14); }
.ls-grid-card:hover::before { transform: scaleX(1); }
.ls-grid-card:hover::after  { opacity: 1; }

.ls-grid-img { width: 100%; overflow: hidden; position: relative; background: #f3f4f6; }
.ls-grid-img img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; opacity: 0;
    transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .4s ease;
    transform: scale(1.1);
}
.ls-grid-card.ls-loaded .ls-grid-img img { opacity: 1; transform: scale(1); }
.ls-grid-card:hover .ls-grid-img img { transform: scale(1.07); }

.ls-grid-info {
    padding: .78rem .9rem .88rem; border-top: 1px solid #f3f4f6;
    position: relative; z-index: 2;
}
.ls-grid-info .ls-name {
    font-family: var(--font-heading); font-size: .7rem; font-weight: 800;
    color: var(--primary); margin: 0 0 3px; letter-spacing: .5px;
    text-transform: uppercase; line-height: 1.3; transition: color .28s ease;
}
.ls-grid-card:hover .ls-grid-info .ls-name { color: var(--accent); }
.ls-grid-info .ls-role { font-size: .64rem; color: #9ca3af; font-weight: 600; transition: color .28s ease; }
.ls-grid-card:hover .ls-grid-info .ls-role { color: var(--accent); }

/* ── Shimmer ── */
@keyframes ls-shimmer { to { transform: translateX(100%); } }
.ls-skel { background: #ebebeb; border-radius: inherit; overflow: hidden; position: relative; }
.ls-skel::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
    transform: translateX(-100%); animation: ls-shimmer 1.4s infinite linear;
}
.ls-feat-card .ls-skel { position: absolute; inset: 0; z-index: 0; }
.ls-feat-card.ls-loaded .ls-skel { display: none; }
.ls-grid-img .ls-skel { width: 100%; aspect-ratio: 3/4; display: block; }
.ls-grid-card.ls-loaded .ls-grid-img .ls-skel { display: none; }

/* ── Scroll-in keyframes ── */
@keyframes ls-feat-in {
    from { opacity: 0; transform: scale(.94) translateY(28px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}
/* easeOutBack: cubic-bezier naturally overshoots — spring pop with no scale in keyframes */
@keyframes ls-pop {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ls-feat-card, .ls-grid-card { opacity: 0; }
.ls-feat-card.ls-in { animation: ls-feat-in .6s cubic-bezier(.22,.61,.36,1) both; }
.ls-grid-card.ls-in { animation: ls-pop .54s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }

.ls-feat-card[data-hidden="1"], .ls-grid-card[data-hidden="1"] { display: none; }

/* ── Responsive ── */
@media (max-width: 1100px) { .ls-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px)  { .ls-featured { grid-template-columns: 1fr; } .ls-featured-solo .ls-feat-card { width: 100%; } .ls-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .ls-grid { grid-template-columns: repeat(2, 1fr); } }
