/* layout and cognitive funnel structure */

.section {
  padding: 80px 0;
  position: relative;
}

/* Card Accent Strip Utilities */
.card-accent-yellow { border-top: 4px solid var(--color-yellow); }
.card-accent-green { border-top: 4px solid var(--color-green); }
.card-accent-blue { border-top: 4px solid var(--color-blue); }
.card-accent-pink { border-top: 4px solid var(--color-pink); }
.card-accent-orange { border-top: 4px solid var(--color-orange); }
.card-accent-red { border-top: 4px solid var(--color-red); }

/* Navigation */
.top-contact-strip {
  background: linear-gradient(90deg, #f5f8ff 0%, #edf4ff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1001;
}

.top-contact-container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--color-text-off);
}

.top-contact-left,
.top-contact-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.top-contact-left i,
.top-contact-right i {
  color: var(--color-primary);
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-text-main);
  font-weight: 600;
}

.top-contact-link:hover {
  color: var(--color-primary);
}

.top-social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-social-links a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: rgba(0, 96, 222, 0.08);
}

.top-social-links a:hover {
  color: #fff;
  background: var(--color-primary);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
  transition: all var(--transition-normal);
}

.navbar.with-topbar {
  top: 44px;
}

.navbar.with-topbar.scrolled {
  top: 0;
}

.navbar.scrolled {
  background: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 45px;
  width: auto;
}

.navbar-rotating-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

.rotating-icon-small {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: rotate 20s linear infinite;
}

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

.nav-links li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-normal), background-color var(--transition-normal), padding var(--transition-normal), border-radius var(--transition-normal);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

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

/* Box effect only for non-dropdown links */
.nav-links li:not(.has-dropdown) > a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.nav-links li:not(.has-dropdown) > a:hover {
  background-color: rgba(92, 77, 255, 0.1);
}

/* Dropdown Navigation */
.nav-links .has-dropdown {
  position: relative;
}

/* Invisible bridge fills the gap so hover isn't lost when moving to the dropdown */
.nav-links .has-dropdown::before {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 100%;
  height: 0.75rem;
}

.nav-links .has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
}

.nav-links .has-dropdown > a::after {
  content: '▾';
  font-size: 0.6rem;
  transition: transform var(--transition-normal);
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav-links .has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  padding: 0.5rem 0;
  z-index: 1100;
  list-style: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-links .has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a:hover {
  background: #f5f8ff;
  color: var(--color-primary);
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-links .has-dropdown > a::after {
    margin-left: auto;
    padding-right: 1rem;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #f5f8ff;
    padding: 0;
    display: none;
    width: 100%;
  }

  .nav-links .has-dropdown.dropdown-open .dropdown-menu {
    display: block;
  }

  .nav-links .has-dropdown.dropdown-open > a::after {
    transform: rotate(180deg);
  }

  .dropdown-menu li a {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
}

/* Book Free Demo CTA button in navbar */
.nav-links .btn-primary {
  background: linear-gradient(135deg, #E3772C 0%, #D91A7A 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(227, 119, 44, 0.35);
  border: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links .btn-primary:hover,
.nav-links .btn-primary:focus {
  background: linear-gradient(135deg, #F08533 0%, #E8229E 100%);
  box-shadow: 0 6px 22px rgba(217, 26, 122, 0.45);
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  position: relative;
  z-index: 1301;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-main);
  margin: 3px 0;
  transition: var(--transition-normal);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-overlay {
  display: none;
}

.breadcrumb-strip {
  display: none;
  position: relative;
  z-index: 20;
  margin-top: 62px;
  padding: 0.7rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.92) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-off);
}

.page-breadcrumb a {
  color: var(--color-primary);
  font-weight: 600;
}

.page-breadcrumb a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.page-breadcrumb .crumb-separator {
  color: #9ca3af;
  font-size: 0.8rem;
}

.page-breadcrumb .crumb-current {
  color: var(--color-text-main);
  font-weight: 700;
}

body.has-header-breadcrumb .breadcrumb-strip {
  margin-top: 62px;
}

body.hide-breadcrumb .breadcrumb-strip {
  display: none;
}

/* 1. Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 3rem;
  background-color: var(--color-background);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.85), rgba(255,255,255,0.60), rgba(255,255,255,0.35));
  z-index: 1;
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.shape-1 {
  top: -10%; left: -10%;
  width: 500px; height: 500px;
  background: var(--color-primary);
  animation: float 10s ease-in-out infinite;
}

.shape-2 {
  bottom: -10%; right: -10%;
  width: 600px; height: 600px;
  background: var(--color-secondary);
  animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
  top: 40%; left: 50%;
  width: 400px; height: 400px;
  background: var(--color-yellow);
  animation: float 12s ease-in-out infinite 2s;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--color-text-off);
  margin-bottom: 3rem;
  max-width: 600px;
}

.trust-line {
  font-size: 0.875rem;
  color: var(--color-text-off);
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rainbowz-center-icon {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  z-index: 5;
}

.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  animation: float 4s ease-in-out infinite;
}

.icon-1 { top: -10px; left: 30px; animation-delay: 0s; color: var(--color-accent); }
.icon-2 { top: 30px; right: -10px; animation-delay: 1.5s; color: var(--color-pink); }
.icon-3 { bottom: -10px; left: 30px; animation-delay: 3s; color: var(--color-green); }
.icon-4 { bottom: 30px; right: -10px; animation-delay: 1s; color: var(--color-primary); }
.icon-5 { top: 120px; right: -15px; animation-delay: 2s; color: var(--color-secondary); }

/* Mentor Hero Specifics */
.hero-mentor {
  background: linear-gradient(135deg, rgba(240, 244, 255, 0.9) 0%, rgba(232, 240, 254, 0.9) 100%);
}

.hero-mentor .hero-text h1 {
  font-size: 3.4rem;
}

.hero-mentor .hero-text .subtitle {
  margin-bottom: 1.5rem;
}

.hero-mentor .hero-content {
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: center;
}

.hero-mentor .hero-visual {
  height: auto;
  min-height: 520px;
}

.hero-mentor .hero-image-wrapper {
  max-width: 100%;
  width: 100%;
}

.hero-mentor .hero-image-illustration {
  width: 100%;
  height: auto;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-keywords span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-main);
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-keywords span:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.hero-image-illustration {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.float-animation {
  animation: float-img 6s ease-in-out infinite;
}

@keyframes float-img {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

/* 2.75 Statistics Section */
.stats-section {
  padding: 4rem 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-card);
  text-align: center;
  min-height: 240px;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity var(--transition-normal);
  opacity: 0.85;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.05) !important;
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.stat-content {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
  width: 100%;
}

.stat-card:hover .stat-content {
  transform: translateY(-15px);
}

.stat-icon-hover {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0;
  color: rgba(0, 0, 0, 0.25); /* Slightly darker watermark */
  transition: all 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.stat-card:hover .stat-icon-hover {
  bottom: -10px;
  right: -10px;
  opacity: 1;
  color: rgba(255, 255, 255, 0.25);
}

.stat-bg-1 { background-color: var(--color-light-pink); color: var(--color-secondary); transition: all 0.4s ease; }
.stat-bg-1:hover { background-color: var(--color-secondary); color: white; }

.stat-bg-2 { background-color: var(--color-light-blue); color: var(--color-primary); transition: all 0.4s ease; }
.stat-bg-2:hover { background-color: var(--color-primary); color: white; }

.stat-bg-3 { background-color: var(--color-light-green); color: var(--color-green); transition: all 0.4s ease; }
.stat-bg-3:hover { background-color: var(--color-green); color: white; }

.stat-bg-4 { background-color: var(--color-light-orange); color: var(--color-accent); transition: all 0.4s ease; }
.stat-bg-4:hover { background-color: var(--color-accent); color: white; }

.stat-card .stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
  line-height: 1.1;
  color: inherit;
}

.stat-card .stat-number {
  color: inherit;
}

.stat-card .stat-label {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
  color: inherit;
  opacity: 0.85;
}

/* 2. Problem Section */
.problem-section {
  background: var(--color-surface);
  margin-top: 2rem;
}

.problem-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(217, 26, 122, 0.1);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.problem-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.03);
}

.problem-card:hover {
  transform: translateY(-5px) scale(1.03) !important;
  box-shadow: var(--shadow-md);
}
.problem-card:nth-child(1):hover { background-color: var(--color-light-orange); }
.problem-card:nth-child(2):hover { background-color: var(--color-light-blue); }
.problem-card:nth-child(3):hover { background-color: var(--color-light-green); }
.problem-card:nth-child(4):hover { background-color: var(--color-light-pink); }

.problem-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--color-light-orange);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: var(--radius-full);
}

.problem-card:nth-child(1) .problem-icon {
  background: var(--color-light-orange);
  color: var(--color-accent);
}

.problem-card:nth-child(2) .problem-icon {
  background: var(--color-light-blue);
  color: var(--color-primary);
}

.problem-card:nth-child(3) .problem-icon {
  background: var(--color-light-green);
  color: var(--color-green);
}

.problem-card:nth-child(4) .problem-icon {
  background: var(--color-light-pink);
  color: var(--color-secondary);
}

/* 3. Solution Section */
.solution-section {
  background: var(--color-background);
}

.solution-section::before {
  content: 'CORE BRAIN SKILLS WE DEVELOP';
  display: block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.solution-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.solution-card {
  flex: 1 1 200px;
  max-width: 250px;
  background: white;
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition-normal);
}

.solution-card:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: var(--shadow-md);
}
.solution-card.card-accent-blue:hover { background-color: var(--color-light-blue); }
.solution-card.card-accent-green:hover { background-color: var(--color-light-green); }
.solution-card.card-accent-pink:hover { background-color: var(--color-light-pink); }
.solution-card.card-accent-orange:hover { background-color: var(--color-light-orange); }
.solution-card.card-accent-yellow:hover { background-color: #FFFBE6; }

.solution-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  transition: color var(--transition-normal);
}

/* 4.5 Learning Methods Section */
.learning-methods-section {
  background: linear-gradient(180deg, #F9FBFF 0%, #FFFFFF 100%);
}

.learning-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 1rem;
}

.lm-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: var(--bg-grad, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.lm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 96, 222, 0.1);
}

.lm-card:hover::before {
  opacity: 1;
}

.lm-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--icon-color, white);
  margin-bottom: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
}

.lm-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--bg-grad);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.lm-card:hover .lm-icon-wrapper {
  transform: scale(1.15) rotate(5deg);
}

.lm-card:hover .lm-icon-wrapper::after {
  opacity: 0.6;
}

.lm-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.lm-desc {
  font-size: 1rem;
  color: var(--color-text-off);
  line-height: 1.5;
  margin: 0;
}

.btn-lm-cta {
  background: linear-gradient(135deg, #0060DE 0%, #066BD1 100%);
  color: white;
  padding: 1.1rem 2.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 96, 222, 0.3);
  transition: all 0.3s ease;
}

.btn-lm-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 96, 222, 0.4);
  background: linear-gradient(135deg, #0050B8 0%, #0559AE 100%);
  color: white;
}

/* 5. Results Section */
.results-section {
  background: var(--color-background);
}

.results-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: center;
}

.results-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.results-stats .stat-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  line-height: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card);
  padding: 1rem;
  height: 140px;
}

.results-stats .stat-item:nth-child(1) .stat-number {
  background: var(--color-yellow);
  color: var(--color-text-main);
}

.results-stats .stat-item:nth-child(2) .stat-number {
  background: var(--color-green);
}

.results-stats .stat-item:nth-child(3) .stat-number {
  background: var(--color-primary);
}

.stat-item p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 0;
}

.before-after-card {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  border: 1px solid rgba(0,0,0,0.05);
}

.half {
  flex: 1;
  padding: 2.5rem;
}

.before {
  background: var(--color-surface);
}

.after {
  background: var(--color-gradient-brand);
  color: white;
}

.half h4 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.after h4 {
  color: white;
}

.half ul {
  list-style: none;
}

.half li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.half li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-text-off);
}

.after li::before {
  content: '✓';
  color: var(--color-yellow);
}

.after li {
  color: rgba(255,255,255,0.9);
}

/* 6. Conversion Box (Demo) */
.conversion-section {
  padding: 4rem 0;
}

.conversion-box {
  background: linear-gradient(135deg, #D53227, #E3772C, #Fce536, #86C032, #066BD1, #8e44ad, #D91A7A);
  background-size: 300% 300%;
  animation: rainbowFlowBox 10s ease infinite;
  padding: 4rem;
  border-radius: 24px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

/* Floating "mouplet" boxes with different gradients */
.mouplet-box {
  position: absolute;
  border-radius: 16px;
  z-index: -1;
  opacity: 0.6;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform-origin: center;
  animation: floatBox 6s ease-in-out infinite alternate;
}

@keyframes floatBox {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(10deg); }
}

.mouplet-1 {
  width: 80px; height: 80px;
  top: 10%; left: 5%;
  background: linear-gradient(135deg, #FF758C, #FF7EB3);
  animation-delay: 0s;
}

.mouplet-2 {
  width: 120px; height: 120px;
  bottom: 15%; right: 5%;
  background: linear-gradient(135deg, #4FACFE, #00F2FE);
  animation-delay: 1.5s;
  border-radius: 50%;
}

.mouplet-3 {
  width: 60px; height: 60px;
  top: 20%; right: 15%;
  background: linear-gradient(135deg, #FAD961, #F76B1C);
  animation-delay: 3s;
  transform: rotate(45deg);
}

.mouplet-4 {
  width: 90px; height: 90px;
  bottom: 10%; left: 15%;
  background: linear-gradient(135deg, #43E97B, #38F9D7);
  animation-delay: 4.5s;
}

.mouplet-5 {
  width: 50px; height: 50px;
  top: 50%; left: 80%;
  background: linear-gradient(135deg, #8e44ad, #D91A7A);
  animation-delay: 2s;
  border-radius: 12px;
}

.conversion-box h2 {
  color: white;
}

.conversion-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  text-align: left;
}

.detail-col {
  background: rgba(255, 255, 255, 0.45);
  padding: 2rem;
  border-radius: var(--radius-card);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  opacity: 0.85;
}

.detail-col:hover {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transform: translateY(-5px) scale(1.02) !important;
}

.detail-col h4 {
  color: rgba(0, 123, 255, 1);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.detail-col p {
  color: rgba(0, 123, 255, 1);
  margin-bottom: 0;
}

.btn-massive {
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
  background: var(--color-primary);
  color: white;
}

.btn-massive:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-3px) scale(1.05);
}

/* 7. Mentor-Student Hero Section */
.brain-hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  padding: 4rem 1rem;
}

.brain-hero .hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.brain-hero .hero-text-content {
  flex: 1 1 400px;
  max-width: 600px;
}

.brain-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.brain-hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.brain-hero .btn-primary {
  display: inline-block;
  background: #5c4dff;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.brain-hero .btn-primary:hover,
.brain-hero .btn-primary:focus {
  background: #4033cc;
}

.brain-hero img {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .brain-hero h1 { font-size: 2.25rem; }
  .brain-hero img { max-width: 400px; }
}

@media (max-width: 767px) {
  .brain-hero .hero-container { flex-direction: column; text-align: center; }
  .brain-hero .hero-text-content { margin-bottom: 2rem; }
  .brain-hero img { max-width: 100%; }
}


/* 7. Testimonials Section */
.testimonials-section {
  background: var(--color-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.03) !important;
  box-shadow: var(--shadow-md);
}
.testimonial-card:nth-of-type(1):hover { background-color: var(--color-light-pink); }
.testimonial-card:nth-of-type(2):hover { background-color: var(--color-light-blue); }
.testimonial-card:nth-of-type(3):hover { background-color: var(--color-light-green); }
.testimonial-card:nth-of-type(4):hover { background-color: var(--color-light-orange); }
.testimonial-card:nth-of-type(5):hover { background-color: #FFFBE6; }

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 6rem;
  font-family: var(--font-heading);
  color: rgba(0, 96, 222, 0.05);
  line-height: 1;
}

.t-content {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--color-text-main);
}

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

.t-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.t-author h5 {
  margin-bottom: 0.25rem;
}

.t-author span {
  font-size: 0.875rem;
  color: var(--color-text-off);
}

/* 8. Blog Section */
.blog-section {
  background: var(--color-background);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px) scale(1.03) !important;
  border-color: rgba(0, 96, 222, 0.2);
}
.blog-card:nth-child(1):hover { background-color: var(--color-light-blue); }
.blog-card:nth-child(2):hover { background-color: var(--color-light-pink); }
.blog-card:nth-child(3):hover { background-color: var(--color-light-green); }
.blog-card:nth-child(4):hover { background-color: var(--color-light-orange); }

.blog-card h4 {
  font-size: 1.25rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.blog-card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 96, 222, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.read-more i {
  transition: transform var(--transition-fast);
}

.blog-card:hover .read-more i {
  transform: translateX(5px);
}

/* 8.5 Credibility Section */
.credibility-section {
  background: var(--color-background);
  padding: 4rem 0;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin-bottom: 0;
}

.credibility-item {
  padding: 3rem 2rem 5rem; /* more bottom space for bigger icon */
  position: relative;
  overflow: hidden;
  background: var(--color-surface-hover);
  border-radius: 0.5rem;
  transition: background 0.3s ease;
  min-height: 11rem; /* ensure enough height for big icon */
}

/* rainbow pastel backgrounds for each box */
.credibility-item:nth-child(1) { background: #ffe5e5; }
.credibility-item:nth-child(2) { background: #fff0e5; }
.credibility-item:nth-child(3) { background: #e5fff0; }
.credibility-item:nth-child(4) { background: #e5eaff; }

/* text wrapper for sliding up */
.cred-text {
  transition: transform 0.4s ease;
}

/* icon that slides up from bottom and stays under text */
.credibility-item .cred-icon {
  position: absolute;
  bottom: -80%; /* start further below so space appears after hover */
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 4.5rem; /* larger icon size */
  color: var(--color-primary);
  transition: transform 0.3s ease, bottom 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.credibility-item:hover .cred-icon {
  bottom: 15%; /* move up but still below text area */
  transform: translateX(-50%) scale(1);
}

/* move text upward when hovering, leaving space for icon */
.credibility-item:hover .cred-text {
  transform: translateY(-30%);
  position: relative;
  z-index: 1; /* ensure text stays above icon */
}

.credibility-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.credibility-label {
  color: var(--color-text-off);
  font-size: 1.1rem;
}

/* 9. Final CTA */
.final-cta-section {
  background: var(--color-surface-hover);
  padding: 10rem 0;
}


/* Rainbow Divider */
.rainbow-divider {
  height: 4px;
  background: linear-gradient(to right, #D53227 0%, #E3772C 16.66%, #FCE536 33.32%, #86C032 50%, #066BD1 83.32%, #D91A7A 100%);
  margin: 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content, .results-layout, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-grid, .blog-grid, .learning-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual {
    height: 300px;
  }
  .conversion-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-contact-container {
    min-height: 40px;
    justify-content: center;
    gap: 0.65rem;
  }
  .top-contact-left {
    display: none;
  }
  .top-contact-link span {
    font-size: 0.82rem;
  }
  .top-social-links a {
    width: 26px;
    height: 26px;
  }

  .hamburger {
    display: flex;
  }
  .navbar-rotating-icon {
    display: none;
  }
  .brand img {
    height: 40px;
  }
  .nav-links {
    position: fixed;
    top: 84px;
    right: -110%;
    left: auto;
    width: min(88vw, 380px);
    height: calc(100vh - 96px);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.98) 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem 1rem 1.25rem;
    transition: right var(--transition-normal), opacity var(--transition-normal);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    border-radius: 1.5rem 0 0 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    z-index: 1200;
  }

  .navbar.with-topbar.scrolled .nav-links,
  .navbar.scrolled .nav-links {
    top: 56px;
    height: calc(100vh - 68px);
  }

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

  .nav-links li {
    width: 100%;
    text-align: left;
    height: auto;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.1rem;
    font-size: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 96, 222, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }

  .nav-links li:not(.has-dropdown) > a:hover,
  .nav-links li:not(.has-dropdown) > a:focus {
    background: rgba(0, 96, 222, 0.08);
  }

  .nav-links .has-dropdown {
    width: 100%;
  }

  .nav-links .has-dropdown::before {
    display: none;
  }

  .nav-links .has-dropdown > a {
    gap: 0.75rem;
  }

  .dropdown-menu {
    margin-top: 0.4rem;
    margin-left: 0.4rem;
    margin-right: 0.2rem;
    border-radius: 1rem;
    background: rgba(230, 240, 255, 0.92);
    padding: 0.3rem;
    border: 1px solid rgba(0, 96, 222, 0.08);
  }

  .dropdown-menu li a {
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
    border-top: none;
    background: transparent;
    box-shadow: none;
  }

  .nav-links .btn-primary {
    justify-content: center;
    margin-top: 0.5rem;
    padding: 1rem 1.25rem !important;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 1190;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .breadcrumb-strip {
    margin-top: 56px;
    padding: 0.6rem 0;
  }
  body.has-header-breadcrumb .breadcrumb-strip {
    margin-top: 56px;
  }
  .page-breadcrumb {
    font-size: 0.82rem;
  }
  .hero-text h1 { font-size: 3rem; }
  .learning-methods-grid, .problem-grid, .blog-grid, .credibility-grid {
    grid-template-columns: 1fr;
  }
  .before-after-card {
    flex-direction: column;
  }
  .conversion-box {
    padding: 2rem;
  }
}

/* Footer Styles */
.footer {
  background: linear-gradient(to right, #ffffff, #f5f8ff);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.upper-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.lower-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-col h3,
.footer-col h5,
.nav-section h5,
.contact-section h5,
.map-section h5 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.footer-col h3 {
  font-size: 1.5rem;
}

.footer-col h5,
.nav-section h5,
.contact-section h5,
.map-section h5 {
  font-size: 1rem;  
}

.footer-col ul li,
.nav-section ul li {
  list-style: none;
  margin-bottom: 0.75rem;
}

.footer-col a,
.nav-section a {
  color: var(--color-text-off);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-col a:hover,
.nav-section a:hover {
  color: var(--color-primary);
}

.contact-item {
  margin-bottom: 1rem;
}

.contact-item strong {
  display: block;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin: 0;
  color: var(--color-text-off);
}

.contact-item a {
  color: var(--color-text-off);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .upper-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .upper-footer,
  .lower-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .map-section iframe {
    height: 250px;
  }
}

/* Form Modal Styles */
.custom-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.custom-modal-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.custom-modal-content {
  position: relative;
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-card, 16px);
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 10000;
  text-align: center;
  animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-spinner {
  display: inline-block;
  width: 60px; height: 60px;
  border: 4px solid rgba(0, 96, 222, 0.1);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}
.submitted-info {
  margin-top: 1.5rem;
  text-align: left;
  background: #f9fafb;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid rgba(0,0,0,0.05);
}
.submitted-info h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text-main);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 0.5rem;
}
.submitted-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.submitted-info li {
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #e5e7eb;
  color: var(--color-text-main);
}
.submitted-info li strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}
.submitted-info li:last-child {
  border-bottom: none;
}
