/* =============================================
   SOULUTIONSPACE – MAIN STYLESHEET
   style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:    #0979bf;
  --orange:     #FF6A00;
  --blue:       #36618E;
  --white:      #ffffff;
  --bg:         #f6f8fc;
  --text:       #2a2a2a;
  --muted:      #666666;
  --container:  #e7e7e7;
  --nav-height: 80px;
  --shadow-sm:  0 2px 10px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --radius:     10px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 12px rgba(0,0,0,0.10);
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 32px;
}
.nav-logo {
  display: flex; align-items: center;margin-left: 60px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  height: 52px; width: auto;
  object-fit: contain; display: block;
  transition: transform 0.3s ease;  
}

.nav-logo img:hover {
  transform: scale(1.6);
}
.nav-spacer { flex: 1; }

/* Desktop links */
.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-btn {
  background: none; border: none;
  font-size: 16px; color: var(--primary);
  padding: 8px 14px; border-radius: 6px;
  transition: background 0.2s;
}
.nav-btn:hover  { background: #eaf1ff; }
.nav-btn.active { font-weight: 600; color: var(--orange); }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-toggle { display: flex; align-items: center; gap: 2px; }
.dropdown-toggle svg { width: 16px; height: 16px; fill: var(--primary); transition: transform 0.2s; }
.dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: 10px; min-width: 220px;
  box-shadow: var(--shadow-md);
  overflow: hidden; z-index: 999;
  animation: fadeDown 0.18s ease;
}
.dropdown:hover .dropdown-menu { display: block; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: block; padding: 11px 20px;
  font-size: 15px; color: var(--text);
  border: none; background: none; width: 100%;
  text-align: left; transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: #eaf1ff; color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none;
  color: var(--primary); font-size: 26px;
}

/* =============================================
   MOBILE DRAWER
   ============================================= */
#drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 1100;
}
#drawer-overlay.open { display: block; }

#drawer {
  position: fixed; top: 0; left: -280px; bottom: 0;
  width: 280px; background: #fff; z-index: 1200;
  transition: left 0.3s ease; overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.18);
}
#drawer.open { left: 0; }

.drawer-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid #eee;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
}
.drawer-header .soul  { color: var(--orange); }
.drawer-header .space { color: var(--primary); }

.drawer-section-title {
  padding: 10px 20px 4px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--orange);
}
.drawer-item {
  display: block; padding: 13px 20px;
  font-size: 15px; color: var(--text);
  border: none; background: none; width: 100%;
  text-align: left; border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.drawer-item:hover { background: #eaf1ff; color: var(--primary); }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  background: var(--primary); color: #fff;
  border: none; border-radius: 8px; padding: 12px 26px;
  font-size: 16px; font-weight: 500;
  transition: background 0.2s;
}
.btn-primary:hover { background: #0767a8; }

.btn-orange {
  background: var(--orange); color: #fff;
  border: none; border-radius: 8px; padding: 12px 26px;
  font-size: 16px; font-weight: 600;
  transition: background 0.2s;
}
.btn-orange:hover { background: #e55f00; }

.btn-enroll {
  display: inline-block; margin-top: 10px;
  background: var(--orange); color: #fff;
  border: none; border-radius: 6px; padding: 10px 22px;
  font-size: 15px; font-weight: 600; transition: background 0.2s;
}
.btn-enroll:hover { background: #e55f00; }

/* =============================================
   HERO CAROUSEL
   ============================================= */
.hero {
  position: relative; width: 100%; height: 480px;
  overflow: hidden; background: #1a2540;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.7s ease; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide-bg::after { display: none; }
.hero-content {
  position: relative; z-index: 2;
  max-width: 520px; margin-left: 60px; color: #fff;
}
.hero-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 700; line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4); margin-bottom: 16px;
}
.hero-content p { font-size: 15px; line-height: 1.7; opacity: 0.92; }

.hero-dots {
  position: absolute; bottom: 20px;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: all 0.3s; border: none;
}
.hero-dot.active { background: #fff; width: 28px; border-radius: 5px; }

/* =============================================
   MARQUEE
   ============================================= */
.marquee-bar {
  background: var(--primary); color: #fff;
  padding: 10px 0; overflow: hidden;
}
.marquee-bar h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 900;   /* ⭐ Extra bold */
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeAnim 28s linear infinite;
}
.marquee-track span {
  font-size: 16px; font-weight: 700;
  padding: 0 24px; white-space: nowrap;
}
@keyframes marqueeAnim {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   SECTIONS – GENERAL
   ============================================= */
.section { padding: 50px 32px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 700; color: var(--primary);
  text-align: center; margin-bottom: 32px;
}

/* =============================================
   SOLUTIONS OFFERED
   ============================================= */
.solutions-grid {
  display: flex; gap: 16px; overflow-x: auto;
  padding-bottom: 12px; scrollbar-width: thin;
  scrollbar-color: var(--primary) #eee;
}
.solution-card {
  flex: 0 0 150px; cursor: pointer; text-align: center;
  transition: transform 0.2s;
}
.solution-card:hover { transform: translateY(-4px); }
.solution-img {
  width: 120px; height: 120px; border-radius: 20px;
  border: 2.5px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; margin: 0 auto 8px;
  transition: border-color 0.2s; background: var(--bg);
  overflow: hidden;
}
.solution-img img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 18px;
  transition: transform 0.3s ease;
}
.solution-card:hover .solution-img img { transform: scale(1.06); }
.solution-card.selected .solution-img { border-color: var(--orange); border-width: 3px; }
.solution-label { font-size: 14px; font-weight: 600; color: var(--primary); transition: color 0.2s; }
.solution-card.selected .solution-label { color: var(--orange); }

.solution-content {
  background: var(--container); border-radius: 12px; padding: 24px;
  margin-top: 24px; min-height: 80px;
}
.solution-content h3 { font-size: 22px; color: var(--primary); margin-bottom: 12px; }
.solution-content p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 10px; }

/* =============================================
   ABOUT SECTION (HOME)
   ============================================= */
.about-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  padding: 50px 32px; max-width: 1200px; margin: 0 auto;
}
.about-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px; color: var(--orange); font-weight: 700; margin-bottom: 16px;
}
.about-section p { font-size: 17px; line-height: 1.8; color: #444; margin-bottom: 14px; }

.video-placeholder {
  aspect-ratio: 3/2; background: #1a2540; border-radius: 12px;
  display: flex; align-items: flex-start; justify-content: end;
  cursor: pointer; position: relative; overflow: hidden;
}
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; width: 70px; height: 70px;
  background: rgba(0,0,0,0.65); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.play-btn svg { width: 36px; height: 36px; fill: #fff; margin-left: 4px; }

/* =============================================
   STATS STRIP
   ============================================= */
.strip { background: var(--bg); padding: 40px 32px; }
.strip-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.strip-card {
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: var(--shadow-sm); border-top: 3px solid var(--primary);
}
.strip-card h4 { font-size: 19px; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.strip-card p  { font-size: 16px; color: #555; line-height: 1.7; }

/* =============================================
   INNER PAGES
   ============================================= */
.inner-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
  color: #fff; padding: 72px 32px; text-align: center;
}
.inner-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 700; margin-bottom: 16px;
}
.inner-hero h1 .soul  { color: #ffa040; }
.inner-hero h1 .space { color: #fff; }
.inner-hero p { font-size: 20px; max-width: 700px; margin: 0 auto; line-height: 1.8; opacity: 0.92; }

.inner-page { max-width: 980px; margin: 0 auto; padding: 52px 28px 72px; }

.inner-page h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 34px;
  color: var(--primary); font-weight: 700;
  margin: 40px 0 14px;
  border-bottom: 2px solid var(--orange); padding-bottom: 10px;
}
.inner-page h3 {
  font-size: 19px; font-weight: 600; color: var(--primary);
  background: #eaf1ff; padding: 10px 14px; border-radius: 4px;
  margin: 24px 0 12px;
}
.inner-page p { font-size: 17px; line-height: 1.9; color: #444; margin-bottom: 16px; }
.inner-page ul { padding-left: 24px; margin: 14px 0 18px; }
.inner-page ul li { font-size: 17px; line-height: 1.9; color: #444; margin-bottom: 10px; }

.content-card {
  background: #fff; padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}

/* =============================================
   COURSES GRID
   ============================================= */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px; margin: 28px 0;
}
.course-card {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.10); transition: transform 0.2s, box-shadow 0.2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.course-card-img {
  height: 150px; display: flex; align-items: center;
  justify-content: center; font-size: 52px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
}
.course-card-body { padding: 16px; }
.course-card-body h4 { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.course-card-body p  { font-size: 14px; color: #555; line-height: 1.6; }

/* =============================================
   AUTH PAGES (LOGIN / REGISTER)
   ============================================= */
.auth-page {
  min-height: calc(100vh - var(--nav-height));
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); padding: 32px;
}
.auth-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-md); max-width: 900px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: var(--container);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px; border-radius: 0 20px 20px 0;
}
.auth-left-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700;
  margin-bottom: 24px; text-align: center;
}
.auth-left-logo .soul  { color: var(--orange); }
.auth-left-logo .space { color: var(--primary); }
.auth-left img {
  width: 100%; border-radius: 8px;
  border: 2px solid var(--orange);
  max-height: 360px; object-fit: cover;
}
.auth-right { padding: 50px 40px; }
.auth-right h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; color: var(--primary); font-weight: 700; margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; color: #555; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #ddd; border-radius: 8px;
  font-size: 16px; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }
.btn-submit {
  width: 100%; padding: 14px; background: var(--primary); color: #fff;
  border: none; border-radius: 8px; font-size: 17px; font-weight: 600;
  transition: background 0.2s; margin-top: 8px;
}
.btn-submit:hover { background: #0767a8; }
.auth-footer { text-align: center; margin-top: 16px; font-size: 15px; color: #666; }
.auth-footer a { color: var(--primary); font-weight: 500; text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */
footer { background: var(--primary); color: #fff; padding: 44px 32px 20px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px; margin-bottom: 32px;
}
footer h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #ffa040; }
footer p  { font-size: 15px; line-height: 2; color: rgba(255,255,255,0.82); }
footer a  { font-size: 15px; line-height: 2.2; color: rgba(255,255,255,0.82); display: block; }
footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px;
  text-align: center; font-size: 14px; opacity: 0.7;color: #ffffff;
  max-width: 1200px; margin: 0 auto;
  
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--primary); color: #fff; padding: 14px 24px;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateY(100px); opacity: 0;
  transition: all 0.3s ease; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-left  { display: none; }
  .about-section { grid-template-columns: 1fr; }
  .hero-content  { margin-left: 24px; }
  .hero-content h2 { font-size: 28px; }
}
@media (max-width: 700px) {
  .nav-links  { display: none; }
  .hamburger  { display: block; }
  .hero       { height: 320px; }
  .section    { padding: 32px 16px; }
  .inner-page { padding: 28px 16px 52px; }
  .inner-hero { padding: 44px 16px; }
  .inner-hero h1 { font-size: 34px; }
  .inner-hero p  { font-size: 17px; }
  .inner-page h2 { font-size: 26px; }
  .inner-page p  { font-size: 16px; }
  .inner-page ul li { font-size: 16px; }
  footer      { padding: 32px 16px 16px; }
  .about-section { padding: 32px 16px; }
  .strip      { padding: 28px 16px; }
}

/* =============================================
   ABOUT US & OUR PHILOSOPHY – ENHANCED UI
   ============================================= */

/* Hero enhancements for inner pages */
.inner-hero {
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute; inset: 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.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Enhanced content cards */
.content-card {
  position: relative;
  border-left: 5px solid var(--primary);
  transition: box-shadow 0.25s, transform 0.25s;
}
.content-card:hover {
  box-shadow: 0 10px 36px rgba(9,121,191,0.13);
  transform: translateY(-2px);
}
.content-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-card h2::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Special highlight list items */
.inner-page ul > li > strong {
  color: var(--primary);
  font-size: 17px;
}

/* Harmonious / Disharmonious blocks */
.inner-page ul > li {
  background: #f8faff;
  border-radius: 8px;
  padding: 12px 16px;
  list-style: none;
  margin-left: -4px;
  border-left: 3px solid var(--primary);
  margin-bottom: 14px;
}
.inner-page ul > li ul {
  margin: 10px 0 0 0;
  padding-left: 0;
}
.inner-page ul > li ul > li {
  background: none;
  border-left: none;
  border-radius: 0;
  padding: 4px 0 4px 20px;
  font-size: 16px;
  position: relative;
  margin-bottom: 4px;
}
.inner-page ul > li ul > li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Mission / Vision card highlight */
.content-card blockquote,
.content-card p:first-of-type em,
.content-card > p:only-child {
  font-style: italic;
}

/* Mission card special styling */
.mission-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff8f0 100%);
  border-left: 5px solid var(--orange);
}
.mission-card h2::before { background: var(--primary); }

/* Philosophy card accent */
.philosophy-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.9;
}
.philosophy-highlight p { color: rgba(255,255,255,0.92); margin: 0; }

/* Stat/highlight band inside pages */
.page-stat-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.page-stat {
  flex: 1 1 180px;
  background: #f0f7ff;
  border-radius: 10px;
  padding: 20px 22px;
  text-align: center;
  border-top: 3px solid var(--primary);
}
.page-stat .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
}
.page-stat .stat-label {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

/* "Get Started" CTA area */
.cta-block {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
  border-radius: 16px;
  color: #fff;
  margin-top: 36px;
}
.cta-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-block p {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}
.cta-block .btn-primary {
  background: var(--orange);
  font-size: 17px;
  padding: 14px 32px;
}
.cta-block .btn-primary:hover { background: #e55f00; }
