/* ============================================
   Arthachanakya - Main Stylesheet
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #CB0D0F;
  --primary-dark: #a50a0b;
  --primary-light: #f5c6c6;
  --text-dark: #1d1d1d;
  --text-gray: #828080;
  --text-light: #b0b0b0;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-section: #f4f6f8;
  --border: #e8e8e8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
  --shadow-primary: 0 8px 24px rgba(203,13,15,0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  border: none;
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-gray { color: var(--text-gray); }
.fw-700 { font-weight: 700; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* --- Section Headings --- */
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
}

.section-title span {
  color: var(--primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 14px;
}

.section-title.centered::after {
  margin: 14px auto 0;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
  line-height: 1.8;
}

.section-subtitle.centered {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1rem;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--text-dark);
  color: #ccc;
  padding: 9px 0;
  font-size: 0.82rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}

.top-bar a:hover { color: var(--primary); }

.top-bar i { color: var(--primary); font-size: 0.8rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}

.logo-text span {
  color: var(--primary);
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-gray);
  font-weight: 400;
  display: block;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 80px 30px 30px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px;
}

.mobile-nav-links a {
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--primary);
  padding-left: 24px;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-dark);
  border: none;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, #1d1d1d 0%, #2d2d2d 50%, #3a0000 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb i {
  font-size: 0.7rem;
  color: var(--primary);
}

.breadcrumb span:last-child { color: var(--primary); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #2a0000 80%, #1a0a0a 100%);
  min-height: calc(100vh - 113px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(203,13,15,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(203,13,15,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(203,13,15,0.15);
  color: #ff6b6d;
  border: 1px solid rgba(203,13,15,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-badge i { font-size: 0.8rem; }

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-stat:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(203,13,15,0.4);
  transform: translateY(-2px);
}

.hero-stat-icon {
  width: 46px;
  height: 46px;
  background: rgba(203,13,15,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.hero-image-main {
  background: linear-gradient(135deg, rgba(203,13,15,0.2), rgba(203,13,15,0.05));
  border: 1px solid rgba(203,13,15,0.2);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, rgba(203,13,15,0.1), transparent);
}

.hero-illustration {
  font-size: 8rem;
  filter: drop-shadow(0 10px 30px rgba(203,13,15,0.4));
  animation: float 3s ease-in-out infinite;
  display: block;
  line-height: 1;
}

.hero-image-main h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.hero-image-main p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-mini-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.hero-mini-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.hero-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-mini-icon.red { background: rgba(203,13,15,0.2); color: #ff6b6d; }
.hero-mini-icon.green { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.hero-mini-icon.blue { background: rgba(59,130,246,0.2); color: #93c5fd; }
.hero-mini-icon.yellow { background: rgba(245,158,11,0.2); color: #fcd34d; }

.hero-mini-card span {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-section {
  background: var(--text-dark);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(203,13,15,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .counter { display: inline; }

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section {
  background: var(--bg-light);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Course Card */
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-thumb {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.course-thumb-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.course-thumb-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.course-thumb-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.course-thumb-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.course-thumb-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.course-thumb-6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.course-thumb-7 { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.course-thumb-8 { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.course-thumb-9 { background: linear-gradient(135deg, #d4fc79, #96e6a1); }

.course-thumb-icon {
  font-size: 4rem;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.4s ease;
}

.course-card:hover .course-thumb-icon {
  transform: scale(1.15) rotate(-5deg);
}

.course-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-finance { background: rgba(255,255,255,0.9); color: #7c3aed; }
.badge-economics { background: rgba(255,255,255,0.9); color: #0369a1; }
.badge-business { background: rgba(255,255,255,0.9); color: #047857; }
.badge-entrepreneurship { background: rgba(255,255,255,0.9); color: #b45309; }

.course-price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.course-price-badge.free {
  background: #059669;
}

.course-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition);
}

.course-card:hover .course-title {
  color: var(--primary);
}

.course-instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-gray);
  margin-bottom: 14px;
}

.course-instructor i { color: var(--primary); }

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-gray);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-meta i { color: var(--primary); font-size: 0.75rem; }

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars { color: #f59e0b; font-size: 0.8rem; }

.rating-text {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.course-enroll {
  padding: 9px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.course-enroll:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

.courses-footer {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-image-main {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.why-image-main::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0.4;
}

.why-big-icon {
  font-size: 7rem;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(203,13,15,0.2));
  animation: float 4s ease-in-out infinite;
}

.why-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

.why-float-card.card-1 {
  bottom: -20px;
  left: -20px;
  font-size: 0.82rem;
}

.why-float-card.card-2 {
  top: -15px;
  right: -15px;
}

.why-float-card i { color: var(--primary); font-size: 1rem; }

.why-content {}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--white);
}

.feature-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  background: var(--bg-section);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 50px;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.66% + 40px);
  right: calc(16.66% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  transition: var(--transition);
}

.step-card:hover .step-number {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-primary);
}

.step-icon {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  border: 2px solid var(--white);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--white);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
  min-width: calc(33.33% - 20px);
  margin-right: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-info {}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.testimonial-rating i { color: #f59e0b; font-size: 0.85rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
  background: var(--bg-section);
  padding: 60px 0;
}

.partners-title {
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 500;
  text-align: center;
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partner-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  min-width: 160px;
}

.partner-logo:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.partner-logo i { color: var(--text-gray); font-size: 1.4rem; }
.partner-logo span { color: var(--text-gray); font-weight: 600; font-size: 0.9rem; }

.partner-logo:hover i,
.partner-logo:hover span { color: var(--primary); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text {}

.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: var(--bg-section);
  padding: 70px 0;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.newsletter-inner p {
  color: var(--text-gray);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--primary);
  outline: none;
}

.newsletter-form button {
  padding: 14px 26px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0f0f0f;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.footer-desc {
  font-size: 0.87rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.55);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--primary);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-mini-form {
  margin-top: 20px;
}

.footer-mini-form input {
  width: 100%;
  padding: 11px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-mini-form input::placeholder { color: rgba(255,255,255,0.35); }

.footer-mini-form input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.12);
  outline: none;
}

.footer-mini-form button {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  transition: var(--transition);
}

.footer-mini-form button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: var(--primary); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-box {
  background: linear-gradient(135deg, var(--primary-light), #ffe0e0);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-img-box::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(203,13,15,0.1);
  border-radius: 50%;
}

.about-big-icon {
  font-size: 9rem;
  filter: drop-shadow(0 8px 24px rgba(203,13,15,0.25));
  animation: float 4s ease-in-out infinite;
  display: block;
}

.about-exp-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-exp-badge .number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.about-exp-badge .label {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
}

.about-content {}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--primary-light);
}

.about-feature i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Mission Vision */
.mission-vision {
  background: var(--bg-section);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.mv-card:hover::before { transform: scaleX(1); }
.mv-card:hover { box-shadow: var(--shadow-md); }

.mv-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 22px;
}

.mv-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.mv-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.mv-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mv-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.mv-list li i {
  color: var(--primary);
  font-size: 0.75rem;
}

/* Team */
.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.team-avatar {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.team-avatar-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.team-avatar-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.team-avatar-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.team-avatar-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  background: rgba(0,0,0,0.5);
  padding: 10px;
  transition: bottom 0.3s ease;
}

.team-card:hover .team-social { bottom: 0; }

.team-social a {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.team-body {
  padding: 20px;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* About Stats */
.about-stats {
  background: var(--text-dark);
  padding: 70px 0;
}

/* ============================================
   COURSES PAGE
   ============================================ */
.courses-controls {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-light);
  color: var(--text-gray);
  border: 2px solid transparent;
  font-family: var(--font-heading);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(203,13,15,0.1);
}

.search-box input {
  padding: 10px 18px;
  background: none;
  font-size: 0.88rem;
  color: var(--text-dark);
  width: 220px;
}

.search-box input::placeholder { color: var(--text-gray); }

.search-box button {
  padding: 10px 18px;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-box button:hover {
  background: var(--primary-dark);
}

.courses-listing {
  background: var(--bg-light);
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
  font-size: 1rem;
  display: none;
}

.no-results i {
  font-size: 3rem;
  display: block;
  margin-bottom: 14px;
  color: var(--border);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form-wrap p {
  color: var(--text-gray);
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group label span {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(203,13,15,0.1);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-gray); }

.form-msg {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 600;
  margin-top: 16px;
  display: none;
}

.form-msg.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  display: block;
}

.form-msg.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
  background: var(--primary);
  color: var(--white);
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.87rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.contact-info-text a:hover { color: var(--primary); }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 280px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-gray);
  margin-top: 22px;
}

.map-wrap i { font-size: 2.5rem; color: var(--primary); }
.map-wrap span { font-size: 0.9rem; font-weight: 500; }
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.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; }

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-grid { gap: 40px; }
  .why-grid { gap: 50px; }
}

@media (max-width: 992px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .top-bar-left { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-sm); }
  .newsletter-form input { border-right: 2px solid var(--border); border-radius: var(--radius-sm) var(--radius-sm) 0 0; border-bottom: none; }
  .newsletter-form button { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .controls-inner { flex-direction: column; align-items: stretch; }
  .filter-tabs { justify-content: center; }
  .search-box { justify-content: center; }
  .search-box input { width: 100%; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */

/* Values grid on about page */
@media (max-width: 992px) {
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1.5fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Ensure map wrap is displayed properly */
.map-wrap {
  min-height: 260px;
}

/* Contact grid mobile override */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 28px 22px;
  }
}

/* Courses listing grid at 768px  */
@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

/* Team grid fallback for very small */
@media (max-width: 400px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA banner text align on mobile */
@media (max-width: 600px) {
  .cta-text {
    text-align: center;
  }
  .cta-text p {
    margin: 0 auto;
  }
}

/* Mobile nav overlay background */
@media (max-width: 992px) {
  .mobile-nav.open::before {
    content: '';
    display: block;
  }
}

/* Testimonial cards on small screens — single view */
@media (max-width: 639px) {
  .testimonial-card {
    min-width: calc(100% - 0px);
    margin-right: 30px;
  }
}
@media (min-width: 640px) and (max-width: 991px) {
  .testimonial-card {
    min-width: calc(50% - 15px);
    margin-right: 30px;
  }
}


/* ============================================
   LOGO IMAGE STYLES
   ============================================ */

/* ---- Navbar logo — white bg navbar ---- */
.logo-img {
  background: transparent !important;
  padding: 2px !important;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
}
.logo-img img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  mix-blend-mode: multiply;
}

/* ---- Footer logo — wrap in white pill so it reads on dark bg ---- */
.logo-img-footer {
  background: #ffffff !important;
  padding: 6px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px !important;
  height: 52px !important;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-img-footer img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

/* ============================================
   TESTIMONIAL SLIDER — FIXED (NO OVERFLOW)
   ============================================ */
.testimonials-section {
  background: var(--white);
  overflow: hidden;
}

.testimonial-slider-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  /* ensure clipping */
  clip-path: inset(0);
}

/* Legacy selector support */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.testimonial-track {
  display: flex;
  gap: 0;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  /* Use flex: 0 0 calc so cards never exceed container */
  flex: 0 0 calc(33.333% - 20px);
  min-width: 0;
  width: calc(33.333% - 20px);
  margin-right: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-gray);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.testimonial-rating i { color: #f59e0b; font-size: 0.85rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* Responsive testimonial cards */
@media (max-width: 991px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
    width: calc(50% - 15px);
  }
}
@media (max-width: 639px) {
  .testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    margin-right: 20px;
  }
}

/* ============================================
   ALUMNI WORKS AT SECTION
   ============================================ */
.alumni-section {
  background: var(--bg-section);
  padding: 80px 0;
  overflow: hidden;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.alumni-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.alumni-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.alumni-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-heading);
}

.alumni-info {}

.alumni-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.alumni-course {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

.alumni-company-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.alumni-company-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.alumni-company-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.alumni-role-text {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 1px;
}

.alumni-quote {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid var(--primary-light);
  padding-left: 12px;
}

/* ============================================
   MNC TICKER / MARQUEE SLIDER
   ============================================ */
.mnc-section {
  background: #0f0f0f;
  padding: 60px 0;
  overflow: hidden;
}

.mnc-section .partners-title {
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}

.mnc-ticker-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.mnc-ticker {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.mnc-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mnc-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  margin-right: 20px;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  min-width: 140px;
  height: 72px;
}

.mnc-logo-item img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  /* NO invert — show logos in their actual colors on white bg */
}

.mnc-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(203,13,15,0.35);
}

/* Text fallback for logos without an image file */
.mnc-text-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: #1d1d1d;
  letter-spacing: 0.2px;
  text-align: center;
}

.mnc-logo-icon { font-size: 2rem; flex-shrink: 0; }
.mnc-logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,0.75); }

/* ============================================
   RESPONSIVE — ALUMNI
   ============================================ */
@media (max-width: 992px) {
  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .alumni-grid {
    grid-template-columns: 1fr;
  }
}
