/* ============================
   RESET & BASE
   ============================ */
:root {
  --color-primary: #9062ef;
  --color-secondary: #ffcb02;
  --color-secondary-light: #fdcf3c;
  --color-text-main: #333333;
  --color-text-muted: #666666;
  --color-bg-light: #ffffff;
  --color-bg-alt: #f9f9fb;
  --color-dark: #1a1a2e;
  --font-main: 'Poppins', sans-serif;
  --font-script: 'Caveat', cursive;
  --transition: all 0.3s ease;
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 40px rgba(144,98,239,0.18);
}

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

html { scroll-behavior: smooth; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7048d4;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #f1f1f1;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.mt-5 { margin-top: 50px; }

/* ============================
   SCROLL REVEAL ANIMATIONS
   ============================ */
.reveal { position: relative; opacity: 0; transition: 0.75s all ease; }
.reveal.active { opacity: 1; }
.fade-bottom { transform: translateY(60px); }
.active.fade-bottom { transform: translateY(0); }
.fade-left { transform: translateX(-60px); }
.active.fade-left { transform: translateX(0); }
.fade-right { transform: translateX(60px); }
.active.fade-right { transform: translateX(0); }

/* ============================
   TYPOGRAPHY
   ============================ */
.sub-heading {
  font-size: 13px; font-weight: 600; color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px; display: block;
}
.main-heading { font-size: 50px; font-weight: 800; line-height: 1.2; margin-bottom: 22px; color: var(--color-dark); }
.section-heading { font-size: 36px; font-weight: 700; margin-bottom: 18px; color: var(--color-dark); }
.highlight { color: var(--color-secondary); }
.highlight-purple { color: var(--color-primary); }
.section-description { font-size: 16px; color: var(--color-text-muted); margin-bottom: 28px; max-width: 600px; }
.section-description.centered { margin: 0 auto 40px; }

/* ============================
   BUTTONS
   ============================ */
.btn-primary {
  display: inline-block; padding: 13px 32px; background: var(--color-primary);
  color: #fff; border-radius: 50px; font-weight: 600; border: 2px solid var(--color-primary);
  box-shadow: 0 4px 18px rgba(144,98,239,0.3);
}
.btn-primary:hover { background: var(--color-secondary); border-color: var(--color-secondary); color: var(--color-dark); box-shadow: 0 4px 18px rgba(255,203,2,0.4); }
.btn-outline {
  display: inline-block; padding: 13px 32px; background: transparent;
  color: var(--color-primary); border-radius: 50px; font-weight: 600; border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.load-more-btn { padding: 15px 55px; font-size: 16px; }

/* ============================
   HEADER
   ============================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: #fff; box-shadow: var(--shadow-sm);
  z-index: 1000; padding: 15px 0; transition: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 24px; font-weight: 800; color: var(--color-primary); }
.logo span { color: var(--color-secondary); }
.main-nav ul { display: flex; gap: 22px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--color-text-main); }
.main-nav a:hover, .main-nav a.active { color: var(--color-secondary); }

/* ============================
   HERO
   ============================ */
.hero {
  padding: 145px 0 100px;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.hero-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-description { font-size: 16px; color: var(--color-text-muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image { position: relative; height: 420px; }
.hero-img-main {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: var(--shadow-md);
  position: relative; z-index: 2;
  animation: morph 8s ease-in-out infinite;
}
.hero-shape {
  position: absolute; top: 10px; left: 10px;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1; animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
  0%   { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50%  { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}
.stats-badge {
  position: absolute; top: 20px; left: -25px; z-index: 3;
  background: #fff; padding: 14px 22px; border-radius: 12px;
  box-shadow: var(--shadow-md); font-weight: 500; color: var(--color-text-muted);
}
.stats-badge strong { display: block; font-size: 22px; color: var(--color-primary); }
.bottom-badge { top: auto; bottom: 40px; left: auto; right: -25px; }

/* ============================
   FEATURES (WHY CHOOSE US) — PREMIUM
   ============================ */
.features { background: #fff; }

/* Top split row */
.features-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #eee;
}
.features-top-left .section-heading { font-size: 40px; margin-bottom: 16px; }
.features-top-left .section-description { margin-bottom: 28px; }

/* Highlight stat boxes */
.features-top-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feat-highlight-box {
  background: var(--color-primary);
  color: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.feat-highlight-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feat-hl-yellow { background: var(--color-secondary); color: var(--color-dark); }
.feat-hl-number {
  font-size: 52px; font-weight: 800; line-height: 1;
  margin-bottom: 10px; display: block;
}
.feat-hl-number span { font-size: 32px; }
.feat-highlight-box p { font-size: 13px; opacity: 0.9; margin: 0; line-height: 1.5; }
.feat-hl-yellow p { color: rgba(0,0,0,0.7); }

/* Feature cards grid */
.features-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fcard {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  background: var(--color-bg-alt);
  border-radius: 16px;
  border: 1px solid #eee;
  border-left: 4px solid transparent;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.fcard::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.fcard:hover { background: #fff; box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: #eee; border-left-color: var(--color-primary); }
.fcard:hover::after { transform: scaleX(1); }

.fcard-num {
  font-size: 13px; font-weight: 800;
  color: var(--color-primary);
  opacity: 0.4;
  letter-spacing: 1px;
  flex-shrink: 0; margin-top: 4px;
}
.fcard-icon { font-size: 32px; flex-shrink: 0; }
.fcard-body { flex: 1; }
.fcard-body h3 { font-size: 16px; font-weight: 700; color: var(--color-dark); margin-bottom: 8px; }
.fcard-body p  { font-size: 13px; color: var(--color-text-muted); line-height: 1.7; margin: 0; }
.fcard-arrow {
  font-size: 20px; color: var(--color-primary);
  opacity: 0; transform: translateX(-8px);
  transition: var(--transition); flex-shrink: 0; margin-top: 4px;
}
.fcard:hover .fcard-arrow { opacity: 1; transform: translateX(0); }


/* ============================
   ABOUT
   ============================ */
.about { background: var(--color-bg-alt); }
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.image-box {
  width: 100%; height: 420px;
  background: linear-gradient(135deg, var(--color-primary), #b58cff);
  border-radius: 20px; position: relative;
}
.image-box::after {
  content: ''; position: absolute; bottom: -18px; right: -18px;
  width: 100%; height: 100%;
  border: 3px dashed var(--color-secondary);
  border-radius: 20px; z-index: -1;
}
.feature-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.icon {
  width: 40px; height: 40px;
  background: rgba(144,98,239,0.1); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: bold; flex-shrink: 0;
}
.feature-list strong { display: block; font-size: 17px; color: var(--color-dark); margin-bottom: 4px; }

/* ============================
   COURSES & TABS
   ============================ */
.courses { background: #fff; }

/* --- Inter Smart-style Underline Tabs --- */
.course-tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0; margin-bottom: 50px;
  border-bottom: 2px solid #e8e8e8;
}
.tab-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  border: none; background: transparent;
  font-family: var(--font-main);
  font-size: 15px; font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn .tab-icon { font-size: 18px; }
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
}

/* Course Cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 28px;
  transition: opacity 0.3s ease;
  min-height: 200px;
}
.service-card {
  background: var(--color-bg-alt); padding: 38px 28px;
  border-radius: 16px; box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative; overflow: hidden; z-index: 1;
  --card-hover: #9062ef;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 0;
  background: var(--card-hover); transition: var(--transition); z-index: -1;
  border-radius: 16px;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.18); }
.service-card:hover::before { height: 100%; }
.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:hover .read-more,
.service-card:hover .service-icon { color: #fff !important; }
.service-icon { font-size: 42px; margin-bottom: 18px; display: block; }
.service-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--color-dark); }
.service-desc { color: var(--color-text-muted); margin-bottom: 20px; font-size: 14px; line-height: 1.7; }
.read-more { font-weight: 600; color: var(--color-primary); font-size: 14px; }

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials { background: var(--color-bg-alt); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 28px; margin-top: 40px; }
.testimonial-card { background: #fff; padding: 38px; border-radius: 16px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { margin-bottom: 14px; font-size: 15px; }
.review-text { font-size: 15px; color: var(--color-text-muted); font-style: italic; margin-bottom: 28px; line-height: 1.8; }
.reviewer { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; flex-shrink: 0; color: #fff;
}
.reviewer .info h4 { font-size: 15px; color: var(--color-dark); margin-bottom: 2px; }
.reviewer .info span { font-size: 13px; color: var(--color-primary); font-weight: 500; }

/* ============================
   CONTACT SECTION
   ============================ */
.contact-section { background: #fff; padding-top: 90px; padding-bottom: 0; }

/* Office Cards */
.offices-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-bottom: 60px; padding-bottom: 60px;
  border-bottom: 1px solid #eee;
}
.office-card { padding: 10px 0; }
.office-title {
  font-size: 14px; font-weight: 800; letter-spacing: 2px;
  color: var(--color-dark); margin-bottom: 18px; text-transform: uppercase;
}
.office-address {
  font-size: 15px; color: var(--color-primary);
  line-height: 1.9; margin-bottom: 24px;
}
.location-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--color-text-muted); text-transform: uppercase;
  transition: var(--transition);
}
.location-link:hover { color: var(--color-primary); }
.pin-icon { font-size: 18px; }

/* Talk To Us */
.talk-to-us {
  text-align: center; margin-bottom: 0;
  padding: 20px 0 10px;
}
.talk-word {
  font-family: var(--font-script);
  font-size: 90px; font-weight: 700; display: inline-block;
  margin: 0 10px; line-height: 1;
}
.talk-1 { color: #00d4c8; }
.talk-2 { color: var(--color-primary); }
.talk-3 { color: var(--color-secondary); }

/* Yellow Contact Form Block */
.contact-form-block {
  background: var(--color-secondary);
  padding: 70px 0 50px;
  margin-top: 0;
}
.contact-form-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: flex-start;
}

/* Left side */
.brand-block {
  display: flex; align-items: center; gap: 16px; margin-bottom: 40px;
}
.brand-letter {
  font-size: 80px; font-weight: 900; color: var(--color-dark);
  line-height: 1; border: 4px solid var(--color-dark); padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
}
.brand-words {
  display: flex; flex-direction: column; gap: 0;
}
.brand-words span {
  font-size: 12px; font-weight: 600; color: var(--color-dark);
  letter-spacing: 1px; line-height: 1.4;
}
.brand-words .brand-name {
  font-size: 38px; font-weight: 900; color: var(--color-dark);
  line-height: 1;
}
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--color-dark);
}
.info-icon { font-size: 20px; }

/* Right side: Form */
.form-heading {
  font-size: 30px; font-weight: 800; color: #fff;
  margin-bottom: 30px; letter-spacing: 0.5px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 18px; }
.form-row input,
.form-row select,
.form-row textarea {
  flex: 1; background: transparent;
  border: none; border-bottom: 2px solid rgba(255,255,255,0.7);
  padding: 10px 4px; font-family: var(--font-main);
  font-size: 14px; font-weight: 500; color: #fff;
  outline: none; transition: var(--transition);
  letter-spacing: 0.5px;
}
.form-row select {
  cursor: pointer;
  color: rgba(255,255,255,0.9);
}
.form-row select option {
  background-color: #7949d6; /* Purple background for dropdown options */
  color: #fff;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 1px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-bottom-color: #fff; }
.form-row input.full-width,
.form-row select.full-width { width: 100%; flex: none; }
.form-row textarea { width: 100%; flex: none; resize: none; }
.submit-btn {
  align-self: flex-start;
  padding: 14px 50px; background: var(--color-primary);
  color: #fff; border: none; font-family: var(--font-main);
  font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
  cursor: pointer; transition: var(--transition);
  border-radius: 4px;
}
.submit-btn:hover { background: var(--color-dark); transform: translateY(-2px); }
.form-success {
  margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--color-dark);
}

/* ============================
   FOOTER
   ============================ */
.site-footer { background: var(--color-dark); color: #fff; padding-top: 80px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px;
}
.footer-logo { font-size: 24px; font-weight: 800; color: #fff; }
.footer-logo span { color: var(--color-secondary); }
.brand-widget p { color: #a0a0a0; margin-top: 18px; font-size: 14px; line-height: 1.8; }
.footer-widget h3 { font-size: 17px; margin-bottom: 22px; color: var(--color-secondary); }
.footer-widget ul li { margin-bottom: 12px; }
.footer-widget ul a { color: #a0a0a0; font-size: 14px; }
.footer-widget ul a:hover { color: var(--color-secondary); padding-left: 5px; }
.contact-widget p { color: #a0a0a0; margin-bottom: 12px; font-size: 14px; }
.contact-widget strong { color: #fff; }
.footer-bottom {
  text-align: center; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #a0a0a0; font-size: 13px;
}

/* ============================
   KNOW US SECTION
   ============================ */
.know-us { background: #fff; }
.know-us-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

/* Left collage */
.collage-left {
  position: relative; height: 480px;
}
.collage-badge {
  position: absolute; top: 0; left: 0; z-index: 10;
  background: var(--color-primary); color: #fff;
  padding: 18px 22px; border-radius: 16px;
  text-align: center; min-width: 130px;
  animation: floatBadge 3s ease-in-out infinite;
}
.badge-number { display: block; font-size: 32px; font-weight: 800; line-height: 1; }
.badge-label  { display: block; font-size: 13px; opacity: 0.9; margin: 4px 0; }
.badge-stars  { font-size: 14px; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.collage-small {
  position: absolute; bottom: 0; left: 0; z-index: 8;
  width: 170px; height: 200px;
  border-radius: 20px; overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.collage-small img { width: 100%; height: 100%; object-fit: cover; }

.collage-main {
  position: absolute; right: 0; top: 30px; z-index: 7;
  width: 300px; height: 400px;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.collage-main img { width: 100%; height: 100%; object-fit: cover; }

.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none; cursor: pointer; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.1); background: #fff; }
.play-btn.playing span { content: '⏸'; }

/* Right content */
.know-label {
  font-size: 14px; font-weight: 600; color: var(--color-primary);
  margin-bottom: 14px; display: block;
}
.know-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0 30px; }
.know-feature {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; background: var(--color-bg-alt);
  border-radius: 12px; border-left: 3px solid var(--color-primary);
  transition: var(--transition);
}
.know-feature:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.kf-icon { font-size: 26px; flex-shrink: 0; }
.know-feature strong { display: block; font-size: 14px; color: var(--color-dark); margin-bottom: 4px; }
.know-feature p { font-size: 12px; color: var(--color-text-muted); }

.ceo-row {
  display: flex; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 1px solid #eee;
}
.ceo-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg,var(--color-primary),#b58cff);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; flex-shrink: 0;
}
.ceo-info strong { display: block; font-size: 15px; color: var(--color-dark); }
.ceo-info span   { font-size: 13px; color: var(--color-text-muted); }

/* ============================
   WHY PURPLE SECTION
   ============================ */
.why-purple {
  background: var(--color-primary);
  padding: 90px 0; position: relative; overflow: hidden;
}
.why-purple-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

/* Floating decorative elements */
.floater {
  position: absolute; pointer-events: none;
}
.f1 {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  top: 40px; right: 80px;
  animation: pulse 4s ease-in-out infinite;
}
.f2 {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--color-secondary);
  bottom: 60px; left: 120px;
  animation: pulse 3s ease-in-out infinite 1s;
}
.f3 {
  color: rgba(255,255,255,0.15); font-size: 28px;
  bottom: 30px; right: 200px;
}
@keyframes pulse {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.1); }
}

/* Why collage */
.why-collage { position: relative; height: 460px; }
.why-img-back {
  position: absolute; left: 0; top: 40px; z-index: 2;
  width: 200px; height: 300px;
  border-radius: 16px; overflow: hidden;
  border: 4px solid rgba(255,255,255,0.3);
}
.why-img-back img { width: 100%; height: 100%; object-fit: cover; }
.why-img-front {
  position: absolute; right: 0; bottom: 0; z-index: 3;
  width: 250px; height: 360px;
  border-radius: 16px; overflow: hidden;
  border: 4px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.why-img-front img { width: 100%; height: 100%; object-fit: cover; }

.rotating-badge {
  position: absolute; bottom: 80px; left: 60px; z-index: 10;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  animation: spin 12s linear infinite;
}
.rotating-badge svg { position: absolute; }
.badge-arrow {
  font-size: 26px; color: #fff; font-weight: 700; z-index: 1;
  animation: spin 12s linear infinite reverse;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Why icons grid */
.why-icons-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 28px 0 32px;
}
.wi-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
  padding: 16px 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition); cursor: default;
}
.wi-item:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }
.wi-icon { font-size: 28px; }
.wi-item span { color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; }

.btn-white {
  display: inline-block; padding: 14px 36px;
  background: #fff; color: var(--color-primary);
  border-radius: 50px; font-weight: 700; font-size: 15px;
  border: 2px solid #fff; transition: var(--transition);
}
.btn-white:hover { background: transparent; color: #fff; }

/* ============================
   STATS SECTION
   ============================ */
.stats-section {
  background: linear-gradient(135deg, #7048d4 0%, var(--color-primary) 60%, #5a35c0 100%);
  padding: 70px 0; position: relative; overflow: hidden;
}
.stat-deco {
  position: absolute; pointer-events: none;
}
.sd1 {
  width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  bottom: -30px; left: 40px;
}
.sd2 {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  top: 20px; right: 120px;
}
.sd3 { color: rgba(255,255,255,0.12); font-size: 36px; bottom: 20px; right: 40px; }

.stats-grid {
  display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center; gap: 0;
}
.stat-sep { background: rgba(255,255,255,0.2); height: 80px; width: 1px; }
.stat-item {
  text-align: center; padding: 20px 30px;
  transition: var(--transition);
}
.stat-item:hover { transform: translateY(-5px); }
.stat-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.stat-num {
  font-size: 48px; font-weight: 800; color: #fff;
  line-height: 1; margin-bottom: 8px; display: block;
}
.stat-label { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; }

/* ============================
   SOCIAL BUTTONS
   ============================ */
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 13px; font-weight: 700;
  text-decoration: none; transition: var(--transition);
}
.social-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: translateY(-3px); }

/* ============================
   VIDEO POPUP MODAL
   ============================ */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.85);
  transition: all 0.3s ease;
  z-index: 10;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 11;
}

.video-modal-close:hover {
  background: var(--color-primary);
  transform: rotate(90deg);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================
   NAVIGATION DROPDOWNS
   ============================ */
.main-nav ul li {
  position: relative;
}
.dropdown-arrow {
  font-size: 8px;
  margin-left: 5px;
  transition: transform 0.2s ease;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.8;
}
.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  z-index: 1001;
}
.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: var(--color-text-main) !important;
  font-size: 13.5px !important;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary) !important;
  border-left-color: var(--color-primary);
  padding-left: 24px;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > a span {
  font-size: 9px;
  opacity: 0.6;
}
.dropdown-submenu .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  z-index: 1002;
}
.dropdown-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ============================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ============================ */

/* Mobile menu toggle button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}
.mobile-nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* Transform Hamburger to X on open */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 100px 30px 40px;
    transition: all 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .main-nav.active {
    right: 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .main-nav a {
    font-size: 16px !important;
  }
  
  /* Mobile dropdown behaviors */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 10px 0 0 15px;
    transform: none;
    min-width: unset;
    display: none;
    transition: none;
    z-index: unset;
  }
  .dropdown.active > .dropdown-menu {
    display: flex;
  }
  .dropdown-submenu .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 10px 0 0 15px;
    transform: none;
    min-width: unset;
    display: none;
    transition: none;
    z-index: unset;
  }
  .dropdown-submenu.active > .submenu {
    display: flex;
  }
  .dropdown-submenu > a span {
    transform: rotate(90deg);
    display: inline-block;
  }
  .dropdown-submenu.active > a span {
    transform: rotate(270deg);
  }

  /* Layout Resizing */
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    order: 1;
  }
  .hero-image {
    order: 2;
    margin: 0 auto;
    max-width: 440px;
  }
  .hero-actions {
    justify-content: center;
  }
  .main-heading {
    font-size: 36px;
  }
  .features-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .know-us-wrapper,
  .why-purple-wrapper,
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .collage-left,
  .why-collage {
    height: 400px;
    max-width: 440px;
    margin: 0 auto;
  }
  .collage-main, .why-img-front {
    width: 270px;
    height: 350px;
  }
  .collage-small, .why-img-back {
    width: 160px;
    height: 190px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-sep {
    display: none;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .offices-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .talk-word {
    font-size: 64px;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .features-cards {
    grid-template-columns: 1fr;
  }
  .why-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .main-heading {
    font-size: 28px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
  .feat-highlight-box {
    padding: 24px 20px;
  }
  .collage-left,
  .why-collage {
    height: 320px;
    max-width: 320px;
  }
  .collage-main, .why-img-front {
    width: 200px;
    height: 280px;
  }
  .collage-small, .why-img-back {
    width: 110px;
    height: 140px;
    border-width: 2px;
  }
  .collage-badge {
    padding: 12px;
    min-width: 100px;
  }
  .badge-number {
    font-size: 24px;
  }
  .why-icons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 18px;
  }
  .submit-btn {
    width: 100%;
    text-align: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-logo {
    font-size: 22px;
  }
}

