/* 
 * DMF Network - Premium CSS Stylesheet
 * 
 * TABLE OF CONTENTS:
 * 1. Variables & Base Settings
 * 2. Typography & Utilities
 * 3. Preloader
 * 4. Header & Navigation
 * 5. Buttons & Badges
 * 6. Hero Sections (Home & Inner Pages)
 * 7. Common Sections & Layout (Containers, Grids)
 * 8. Cards (Stats, Features, Why Choose, Courses)
 * 9. About Page Specific (Story, Founder, Mission/Vision, Timeline)
 * 10. Team Page Specific (Leaders, Members)
 * 11. Testimonials & Slider
 * 12. FAQ Accordion
 * 13. Contact Page Specific (Info, Form, Map)
 * 14. CTA & Footer
 * 15. Animations & Reveal
 * 16. Custom Scrollbar
 */

/* ==========================================================================
   1. VARIABLES & BASE SETTINGS
   ========================================================================== */
:root {
  /* Premium Brand Color Palette */
  --color-primary: #FF8A3D;
  --color-primary-dark: #E67329;
  --color-secondary: #FF6B00;
  --color-accent: #FFAD73;
  --color-dark: #12121a;
  --color-text-dark: #1a1a2e;
  --color-text-light: #6b7280;
  --color-light-bg: #f8fafc;
  --color-white: #ffffff;
  --color-success: #10b981;
  --color-border: #e2e8f0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-dark: linear-gradient(135deg, #12121a, #0a0a0f);
  --gradient-text: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 25px 50px rgba(255, 138, 61, 0.15);
  --shadow-glow: 0 0 20px rgba(255, 138, 61, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.26, 1.55);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   3. PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-circle, .preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.preloader-text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 1.5rem 0;
  background-color: transparent;
}

.header.scrolled {
  padding: 1rem 0;
  background-color: rgba(18, 18, 26, 0.95); /* dark background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

/* Default header on dark background (unscrolled) */
.header:not(.scrolled) .nav-link,
.header:not(.scrolled) .logo-text {
  color: var(--color-white);
}

.header.scrolled,
.header.scrolled .logo,
.header.scrolled .nav-link {
  color: var(--color-white); /* keep links white on dark header */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text {
  position: relative;
}

.logo-accent {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.mobile-menu-logo, .mobile-menu-socials {
  display: none;
}


.nav-link {
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Dropdown Submenu */
.has-dropdown {
  position: relative;
}

.has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.has-dropdown > .nav-link .dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  display: inline-flex;
}

.has-dropdown:hover > .nav-link .dropdown-arrow,
.has-dropdown.open > .nav-link .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--color-white);
}

.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.4rem;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(255, 138, 61, 0.08);
  color: var(--color-primary);
  padding-left: 1.8rem;
}

.dropdown-menu a i {
  margin-right: 0.5rem;
  font-size: 1rem;
  color: var(--color-primary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1010;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--color-text-dark);
  transition: all var(--transition-base);
}

.header:not(.scrolled) .hamburger .bar {
  background-color: var(--color-white);
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--color-dark);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--color-dark);
}

/* ==========================================================================
   5. BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
  z-index: -1;
}

.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 10px 20px rgba(255, 138, 61, 0.2);
}

.btn-primary:hover {
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline.light {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline.light:hover {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--color-light-bg);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}


.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.nav-cta {
  padding: 0.6rem 1.8rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   6. HERO SECTIONS
   ========================================================================== */
/* Home Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 7rem;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroBgCrossfade 15s infinite;
}

.slide-1 { background-image: url('../image/banner/banner1.jpeg'); animation-delay: 0s; }
.slide-2 { background-image: url('../image/banner/banner2.jpeg'); animation-delay: 5s; }
.slide-3 { background-image: url('../image/banner/banner3.jpeg'); animation-delay: 10s; }

@keyframes heroBgCrossfade {
  0% { opacity: 0; transform: scale(1); }
  10% { opacity: 0.5; }
  33.33% { opacity: 0.5; }
  43.33% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  opacity: 0.85;
  z-index: 2;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  filter: blur(60px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.shape.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.shape.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  right: -5%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  animation-delay: -5s;
}

.shape.shape-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 50%;
  animation-delay: -10s;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.typed-text {
  color: var(--color-white);
  border-right: 2px solid var(--color-primary);
  animation: blink 0.75s step-end infinite;
  padding-right: 5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-stats-mini {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.hero-stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-arrow {  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* ==========================================================================
   6. HERO SECTIONS
   ========================================================================== */
/* Home Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 7rem;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroBgCrossfade 15s infinite;
}

.slide-1 { background-image: url('../image/banner/banner1.jpeg'); animation-delay: 0s; }
.slide-2 { background-image: url('../image/banner/banner2.jpeg'); animation-delay: 5s; }
.slide-3 { background-image: url('../image/banner/banner3.jpeg'); animation-delay: 10s; }

@keyframes heroBgCrossfade {
  0% { opacity: 0; transform: scale(1); }
  10% { opacity: 0.5; }
  33.33% { opacity: 0.5; }
  43.33% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  opacity: 0.85;
  z-index: 2;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  filter: blur(60px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.shape.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.shape.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  right: -5%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  animation-delay: -5s;
}

.shape.shape-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 50%;
  animation-delay: -10s;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.typed-text {
  color: var(--color-white);
  border-right: 2px solid var(--color-primary);
  animation: blink 0.75s step-end infinite;
  padding-right: 5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-stats-mini {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.hero-stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: url('../image/banner/banner2.jpeg') center/cover no-repeat;
  color: var(--color-white);
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  opacity: 0.85;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-hero-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 138, 61, 0.2);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb .current {
  color: var(--color-white);
  font-weight: 500;
}

/* ==========================================================================
   7. COMMON SECTIONS & LAYOUT
   ========================================================================== */
.section {
  padding: 6rem 0;
  overflow-x: hidden;
}

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

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

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 138, 61, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.section-title.light {
  color: var(--color-white);
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.7);
}

/* Base Grids */
.stats-grid,
.features-grid,
.why-grid,
.courses-grid,
.story-grid,
.founder-grid,
.mv-grid,
.values-grid,
.achievements-grid,
.team-grid,
.contact-grid,
.about-preview-grid,
.contact-preview-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

/* 4 Column */
.stats-grid, .values-grid, .achievements-grid, .footer-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* 3 Column */
.features-grid, .courses-grid, .team-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* 2 Column */
.story-grid, .founder-grid, .mv-grid, .contact-grid, .about-preview-grid, .contact-preview-grid, .why-grid {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

/* ==========================================================================
   8. CARDS (Stats, Features, Why Choose, Courses)
   ========================================================================== */
.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 138, 61, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.stat-card:hover .stat-icon {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-suffix {
  color: var(--color-primary);
}

.stat-card p {
  color: var(--color-text-light);
  font-weight: 500;
}

/* Features */
.feature-card {
  background: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 138, 61, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-light);
}

/* Why Choose Us */
.why-card {
  position: relative;
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
  z-index: 1;
}

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

.why-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 138, 61, 0.4);
  z-index: 1;
  font-family: var(--font-heading);
  transition: all var(--transition-base);
}

.why-card:hover .why-number {
  color: rgba(255, 138, 61, 0.8);
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Courses */
.course-card {
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.course-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 138, 61, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.course-card h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.course-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.course-features {
  margin-bottom: 2rem;
}

.course-features li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.course-features li i {
  color: var(--color-success);
}

/* New Course Cards */
.new-course-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--color-border);
}
.new-course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.course-header-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: max-content;
}
.tag-orange { background: rgba(255, 138, 61, 0.1); color: var(--color-primary); }
.tag-blue { background: rgba(26, 115, 232, 0.1); color: #1a73e8; }
.tag-green { background: rgba(0, 200, 83, 0.1); color: #00c853; }

.new-course-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-dark);
}
.new-course-card .course-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.new-course-card .course-meta {
  background: var(--color-light-bg);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-weight: 500;
}
.meta-time { display: flex; align-items: center; gap: 0.5rem; color: var(--color-text-light); }
.meta-price { font-size: 1.2rem; font-weight: 800; color: var(--color-dark); }

.new-course-card .course-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}
.new-course-card .course-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  font-weight: 500;
}
.new-course-card .course-features li i {
  font-size: 1.2rem;
  margin-top: 2px;
}
.icon-orange { color: var(--color-primary); }
.icon-blue { color: #1a73e8; }
.icon-green { color: #00c853; }

.course-actions {
  display: flex;
  gap: 1rem;
}
.course-actions .btn {
  flex: 1;
  padding: 0.8rem 0;
  text-align: center;
  border-radius: 10px;
  font-size: 1rem;
}
.btn-orange {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn-orange:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-orange-fill {
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}
.btn-orange-fill:hover {
  background: var(--color-primary-dark);
}

/* ==========================================================================
   WHY LEARN WITH DMF SECTION
   ========================================================================== */
.why-learn-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.why-learn-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

.why-learn-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--color-white);
  padding: 2.2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  flex: 1;
}

.why-learn-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 138, 61, 0.12);
  border-color: rgba(255, 138, 61, 0.3);
}

.why-learn-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #FF8A3D, #FF6B00);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(255, 138, 61, 0.3);
}

.why-learn-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.6rem;
}

.why-learn-content p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.why-learn-right {
  display: flex;
}

.experience-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  box-shadow: 0 15px 35px rgba(255, 138, 61, 0.12);
  border-color: rgba(255, 138, 61, 0.3);
}

.experience-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex: 1;
  justify-content: center;
}

.experience-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.check-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #FF8A3D, #FF6B00);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 138, 61, 0.3);
}

/* ==========================================================================
   9. ABOUT PAGE SPECIFIC
   ========================================================================== */
.about-preview-content,
.story-content,
.founder-content,
.contact-preview-info {
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-preview-content h2,
.story-content h2,
.founder-content h2,
.contact-preview-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-preview-content p,
.story-content p,
.founder-content p,
.contact-preview-info p {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.about-preview-image,
.story-image,
.founder-image {
  position: relative;
}

.image-frame {
  position: relative;
  width: 100%;
  z-index: 1;
}

.image-frame::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  z-index: -1;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: var(--color-light-bg);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.image-placeholder.large {
  height: 500px;
}

.image-placeholder.founder {
  height: 450px;
  border-radius: 20px 20px 0 20px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  z-index: 3;
  box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1;
}

.experience-badge p {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Founder */
.founder-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-dark);
  border-left: 4px solid var(--color-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

.founder-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.founder-info span {
  color: var(--color-primary);
  font-weight: 500;
}

/* Mission / Vision */
.mv-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.mv-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 138, 61, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.mv-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.mv-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.mv-list li i {
  color: var(--color-success);
}

.vision-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.vision-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pillar i {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar span {
  font-weight: 600;
  color: var(--color-dark);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px;
  margin-bottom: 3rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border: 4px solid var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.left::after {
  right: -10px;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-content {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 10px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline-item.left .timeline-content::before {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--color-white);
}

.timeline-item.right .timeline-content::before {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--color-white) transparent transparent;
}

.timeline-year {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Values & Achievements */
.value-card, .achievement-card {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.value-icon, .achievement-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 138, 61, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.value-card:hover .value-icon, .achievement-card:hover .achievement-icon {
  background: var(--gradient-primary);
  color: var(--color-white);
}

/* ==========================================================================
   10. TEAM PAGE SPECIFIC
   ========================================================================== */
.leader-card {
  display: flex;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.leader-image {
  flex: 0 0 40%;
  min-height: 400px;
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-image i {
  font-size: 5rem;
  color: var(--color-primary);
}

.leader-info {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-role {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.leader-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-light-bg);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.team-category {
  margin-bottom: 4rem;
}

.team-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-light-bg);
}

.team-category-title i {
  color: var(--color-primary);
}

.team-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.team-avatar {
  margin-bottom: 1.5rem;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-text-light);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.team-role {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-desc {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}
.team-social a {
  font-size: 1.5rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
}

.team-social a:hover {
  color: var(--color-primary);
  transform: translateY(-3px);
}


.join-team-content {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-white);
}

.join-team-text h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.join-team-text p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* ==========================================================================
   11. VIDEO TESTIMONIALS
   ========================================================================== */
.video-testimonial-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.video-testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.video-testimonial-track::-webkit-scrollbar {
  display: none;
}

.video-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: center;
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.85;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.video-card:hover .play-btn-overlay {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: none;
}

.video-card.playing .video-player {
  display: block;
}

.video-card.playing .video-thumbnail {
  display: none;
}

.video-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-light-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.video-nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.video-nav-btn.prev {
  left: -20px;
}

.video-nav-btn.next {
  right: -20px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.author-info span {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot, .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dot.active, .dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.open {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--color-white);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition-base);
}

.faq-item.open .faq-question h3 {
  color: var(--color-primary);
}

.faq-icon {
  color: var(--color-primary);
  font-size: 1.2rem;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-light-bg);
}

.faq-item.open .faq-answer {
  max-height: 500px; /* Arbitrary large max-height for transition */
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--color-text-light);
}

/* ==========================================================================
   13. CONTACT PAGE SPECIFIC
   ========================================================================== */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-card, .contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 138, 61, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h3, .contact-detail-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-info-card p, .contact-detail-item p {
  color: var(--color-text-light);
  margin: 0;
}

.contact-social h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--color-light-bg);
  color: var(--color-text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Form Styles */
.contact-form-card, .contact-preview-form {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-side {
  max-width: 100%;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-light-bg);
  transition: all var(--transition-base);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.1);
}

.form-group label {
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  color: var(--color-text-light);
  transition: all var(--transition-base);
  pointer-events: none;
  background: var(--color-white);
  padding: 0 0.2rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select ~ label {
  top: -0.6rem;
  font-size: 0.8rem;
  color: var(--color-primary);
}

.form-error, .error-message {
  display: block;
  color: #ff3333;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Premium Map Container */
.map-container {
  width: 100%;
  height: 460px;
  border-radius: 26px;
  padding: 6px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff5252 50%, #1a73e8 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 0 35px rgba(255, 138, 61, 0.35);
  margin-top: 4rem;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.map-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), 0 0 50px rgba(255, 138, 61, 0.55);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
  display: block;
}

/* ==========================================================================
   14. CTA & FOOTER
   ========================================================================== */
.cta-section {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 5rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
  background: var(--color-light-bg);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
  background: var(--color-dark) url('../image/footer/bg.jpg') center/cover no-repeat;
  color: var(--color-white);
  border-top: 5px solid var(--color-primary);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 26, 0.2); /* Very light overlay so map is visible */
  z-index: 0;
}

.footer > div {
  position: relative;
  z-index: 1;
}

.footer-top {
  padding: 5rem 0 3rem;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social .social-link {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.footer-social .social-link:hover {
  background: var(--color-primary);
}

.footer-links li {
  margin-bottom: 0.8rem;
}


.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  color: var(--color-primary);
  font-size: 1.2rem;
}


.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
  color: var(--color-primary);
  margin-top: 0.3rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* Back to Top */
/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

.whatsapp-float i {
  margin-top: 1px;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   15. ANIMATIONS & REVEAL
   ========================================================================== */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--color-primary); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   16. CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-light-bg);
}

::-webkit-scrollbar-thumb {
  background: #b0c4de;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   17. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid, .values-grid, .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid, .courses-grid, .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-dark); /* Dark mobile menu */
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: all var(--transition-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  .mobile-menu-logo {
    display: block;
    margin-bottom: 1rem;
  }
  .mobile-menu-logo img {
    height: 40px;
    width: auto;
  }
  .mobile-menu-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  .mobile-menu-socials a {
    color: var(--color-white);
    font-size: 1.8rem;
    transition: color var(--transition-base);
  }
  .mobile-menu-socials a:hover {
    color: var(--color-primary);
  }

  
  .nav-links.active {
    right: 0;
  }
  
  .header:not(.scrolled) .nav-link,
  .header.scrolled .nav-link {
    color: var(--color-white); /* White text in dark mobile menu */
  }
  
  .hero {
    padding-top: 120px; /* Prevent content cutoff on mobile */
    justify-content: flex-start; /* Flow content downwards instead of centering tightly */
  }
  
  .story-grid, .founder-grid, .mv-grid, .contact-grid, .about-preview-grid, .contact-preview-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  
  .about-preview-content, .story-content, .founder-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .leader-card {
    flex-direction: column;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-item.left::after, .timeline-item.right::after {
    left: 10px;
  }
  
  .timeline-item.left .timeline-content::before, .timeline-item.right .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--color-white) transparent transparent;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .join-team-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .stats-grid, .values-grid, .achievements-grid,
  .features-grid, .courses-grid, .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons, .cta-buttons {
    flex-direction: column;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero-stats-mini {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
}
/* ==========================================================================
   STUDENT CORNER PAGE
   ========================================================================== */

/* Intro Grid */
.student-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.student-intro-text p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.student-intro-text .section-tag {
  display: inline-block;
  margin-bottom: 1rem;
}

.student-intro-text .section-title {
  display: block;
  text-align: left;
}

.student-intro-text .section-title::after {
  display: none;
}

/* Image with Floating Badges */
.student-intro-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper .main-img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.floating-badge {
  position: absolute;
  background: var(--color-white);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark);
  font-size: 0.9rem;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.floating-badge i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.badge-1 { top: 10%; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 20%; left: -20px; animation-delay: 1.5s; }
.badge-3 { bottom: 10%; right: 10%; animation-delay: 0.7s; }

/* Growth Journey feature icons */
.feature-icon.icon-orange-bg {
  background: rgba(255, 138, 61, 0.1);
  color: var(--color-primary);
}

/* Admission Checklist */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  color: var(--color-dark);
}

.check-item i {
  color: #10b981; /* Green color for checkmarks */
  font-size: 1.5rem;
}







/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 4rem auto 0;
  align-items: center;
}

.pricing-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.premium {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 3.5rem 2rem;
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.7;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.pricing-card.premium .pricing-features li {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card .bx-check-circle {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.pricing-card.premium .bx-check-circle {
  color: var(--color-white);
}

.pricing-card .btn {
  width: 100%;
}


/* Membership Form Tier Selection */
.tier-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.tier-card {
  position: relative;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.tier-card:hover {
  border-color: var(--color-primary);
  background: rgba(255,138,61,0.02);
}

.tier-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.tier-card input[type="radio"]:checked + .tier-content::before {
  content: '\eb7b';
  font-family: 'boxicons';
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.tier-card input[type="radio"]:checked ~ .tier-content {
  border-color: var(--color-primary);
}

.tier-card.selected {
  border-color: var(--color-primary);
  background: rgba(255,138,61,0.05);
}

.tier-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tier-card .tier-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.tier-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.tier-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-secondary);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}


/* Membership Steps (Horizontal) */
.membership-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  text-align: center;
}

.membership-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255,138,61,0.2);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  box-shadow: 0 0 0 10px white, var(--shadow-sm);
  border: 2px solid rgba(255,138,61,0.2);
  transition: all var(--transition-fast);
}

.step-item:hover .step-icon {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 0 10px white, var(--shadow-md);
  border-color: var(--color-primary);
}

.step-item h4 {
  font-size: 1.1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .membership-steps {
    flex-direction: column;
    gap: 3rem;
  }
  .membership-steps::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }
}


.faq-icon {
  font-size: 1.8rem;
  font-weight: bold;
}
.faq-question {
  padding: 1rem 1.5rem;
}

.mv-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease;
}
.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.value-card, .achievement-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
.value-card:hover, .achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Ensure text inside contact info cards is always left-aligned */
.contact-info-card {
  text-align: left;
}

/* Leader Card Shadow and Mobile Centering */
.leader-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
@media (max-width: 991px) {
  .leader-info {
    text-align: center;
    align-items: center;
  }
}

/* Left-align buttons on Student Corner intro section */
.student-intro-text .hero-buttons {
  justify-content: flex-start !important;
}

/* Enhanced shadows for Feature Cards */
.feature-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
.feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Premium Team Social Icons */
.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem !important;
  color: var(--color-text-dark);
  transition: all var(--transition-base);
}
.team-social a:hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  box-shadow: 0 8px 25px rgba(255, 138, 61, 0.4) !important;
  transform: translateY(-5px);
}

/* Less padding on mobile header */
@media (max-width: 991px) {
  .header, .header.scrolled {
    padding: 0.5rem 0 !important;
  }
}

/* Reduce hero overlay opacity to make background image clearer */
.hero-overlay {
  opacity: 0.65 !important;
}


/* Add space above contact form to prevent floating labels from overlapping text */
.contact-form {
  margin-top: 1.5rem;
}

/* Premium Membership Form Styles */
.premium-member-form {
  width: 100%;
}
.premium-member-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.member-input-group {
  display: flex;
  flex-direction: column;
}
.member-input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.member-input-group label .req {
  color: #e74c3c;
}
.member-input-group input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: all var(--transition-base);
  outline: none;
}
.member-input-group input::placeholder {
  color: #a0aec0;
}
.member-input-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.1);
}
.input-hint {
  font-size: 0.8rem;
  color: #718096;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Premium Tier Selection */
.premium-tier-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.premium-tier-card {
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--color-white);
  transition: all 0.3s ease;
  position: relative;
}
.premium-tier-card:hover {
  border-color: #cbd5e0;
}
.premium-tier-card.selected {
  border-color: var(--color-primary);
  background: rgba(255, 138, 61, 0.02);
  box-shadow: 0 4px 15px rgba(255, 138, 61, 0.08);
}
.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.tier-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.best-value {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.tier-header input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.tier-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.8rem;
}
.tier-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #718096;
}
.premium-tier-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}

/* Consent Box */
.consent-box {
  background: #f4f7fb;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 2rem;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.premium-member-form .submit-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .premium-member-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .premium-tier-selection {
    grid-template-columns: 1fr;
  }
}



/* Center Student Intro Text on Mobile */
@media (max-width: 768px) {
  .student-intro-text,
  .student-intro-text .section-title {
    text-align: center !important;
  }
  .student-intro-text .hero-buttons {
    justify-content: center !important;
  }
}

.page-hero-content .hero-buttons {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
  .page-hero-content h1 {
    font-size: 2.2rem;
  }
}

/* Center feature cards on mobile */
@media (max-width: 768px) {
  .feature-card {
    text-align: center !important;
  }
  .feature-card .feature-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Footer mobile layout optimization */
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-col:first-child,
  .footer-col:last-child {
    grid-column: span 2;
  }
}

/* Contact Form Mobile Padding Fix */
@media (max-width: 576px) {
  .contact-form-card, .contact-preview-form {
    padding: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem !important;
  }
}

/* Contact Form Overflows and Label Fix */
.form-group label {
  background: transparent !important;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select ~ label {
  background: var(--color-white) !important;
}

@media (max-width: 576px) {
  .contact-preview-form, .contact-form-card {
    padding: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .form-group input, 
  .form-group textarea, 
  .form-group select,
  .form-group button,
  .btn-full {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Fix placeholder overlap and long email cutoff */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent !important;
}

.contact-detail-item p,
.contact-info-card p {
  word-wrap: break-word !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

/* Fix Contact Details Spacing and Shadows */
.contact-details,
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

@media (max-width: 991px) {
  .contact-preview-info,
  .contact-info-side {
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .contact-details,
  .contact-info-cards {
    width: 100% !important;
    max-width: 500px !important;
    margin: 2rem auto 0 auto !important;
    align-items: center !important;
  }

  .contact-detail-item,
  .contact-info-card {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto 0.5rem auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/* Ensure hero badge stays on one line on mobile */
@media (max-width: 576px) {
  .hero-badge {
    white-space: nowrap !important;
    font-size: clamp(0.55rem, 3.2vw, 0.9rem) !important;
    padding: 0.4rem 1rem !important;
  }
}

/* New Premium Mobile Menu Styling based on Reference */
@media (max-width: 991px) {
  /* Panel styling */
  .nav-links {
    background: #09313A !important;
    width: 320px !important;
    max-width: 85vw !important;
    padding: 6rem 2rem 3rem 2rem !important; 
    justify-content: flex-start !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }
  
  /* Make hamburger X white to be visible on dark background */
  .hamburger.active .bar {
    background-color: #ffffff !important;
  }
  
  /* Style logo inside mobile menu */
  .mobile-menu-logo {
    display: block !important;
    position: absolute;
    top: 2rem;
    left: 2rem;
  }
  .mobile-menu-logo img {
    height: 35px !important;
    opacity: 0.9;
  }
  
  /* Reset and style list items */
  .nav-links li:not(.mobile-menu-logo):not(.mobile-contact-info):not(.mobile-menu-socials) {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links .nav-link {
    display: block;
    width: 100%;
    padding: 1.2rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-align: left;
  }
  
  /* Style contact info section at bottom */
  .mobile-contact-info {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    word-wrap: break-word;
  }
  .mobile-contact-item span {
    word-break: break-all;
  }
  .mobile-contact-item i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #8e8d0e; 
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }
  
  /* Style social links */
  .mobile-menu-socials {
    display: flex !important;
    gap: 1.2rem;
    margin-top: 1.5rem;
    width: 100%;
  }
  .mobile-menu-socials a {
    color: #ffffff !important;
    font-size: 1.3rem;
    transition: color 0.3s ease;
  }
  .mobile-menu-socials a:hover {
    color: #8e8d0e !important;
  }
}

/* Override Mobile Menu Colors to White, Black, and Brand Color */
@media (max-width: 991px) {
  /* Panel styling */
  .nav-links {
    background: var(--color-white) !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Make hamburger X black to be visible on white background */
  .hamburger.active .bar {
    background-color: var(--color-text-dark) !important;
  }
  
  /* Reset and style list items */
  .nav-links li:not(.mobile-menu-logo):not(.mobile-contact-info):not(.mobile-menu-socials) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  }
  
  .nav-links .nav-link {
    color: var(--color-text-dark) !important;
  }
  
  .nav-links .nav-link:hover {
    color: var(--color-primary) !important;
  }
  
  /* Style contact info section */
  .mobile-contact-item {
    color: var(--color-text-dark) !important;
  }
  
  .mobile-contact-item i {
    background: var(--color-primary) !important; 
    color: var(--color-white) !important;
  }
  
  /* Style social links */
  .mobile-menu-socials a {
    color: var(--color-text-dark) !important;
  }
  
  .mobile-menu-socials a:hover {
    color: var(--color-primary) !important;
  }
}

/* CRITICAL FIX for invisible mobile menu text */
@media (max-width: 991px) {
  .nav-links li {
    list-style: none !important;
    list-style-type: none !important;
  }
  
  
  .nav-links .nav-link {
    display: block !important;
    color: #000000 !important; /* Force true black */
    font-size: 1.2rem !important; /* Force visible size */
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    background: transparent !important;
    padding: 1.2rem 1rem !important; /* Add some left padding */
    width: 100% !important;
    line-height: 1.5 !important;
  }
  
  .dropdown-menu a {
    color: #000000 !important;
    font-size: 1rem !important;
  }
  
  .dropdown-menu a:hover {
    color: var(--color-primary) !important;
  }
  
}


/* Hide mobile-only elements on desktop */
@media (min-width: 992px) {
  .mobile-contact-info,
  .mobile-menu-socials,
  .mobile-menu-logo {
    display: none !important;
  }
}
