/* =========================================
   1. VARIABLES & BASE STYLES
   ========================================= */
:root {
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --accent: #0ea5e9;
  /* Blue for highlights */
  --btn-black: #000000;
  /* Black for Contact Button */
  --border-color: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
  font-size: 72%;
  /* Adjusted scale for screens */
}

@media (min-width: 992px) {
  html {
    zoom: 0.9;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Visibility Utilities - Base Styles */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block;
}

/* =========================================
   2. LOGIN/REGISTER BUTTON
   ========================================= */
.login-register-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 2001;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-register-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.login-register-btn i {
  font-size: 16px;
}

.login-register-btn .btn-text {
  display: inline-block;
}

@media (max-width: 768px) {
  .login-register-btn {
    top: 15px;
    right: 15px;
    padding: 10px 14px;
    font-size: 12px;
    gap: 0;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    border-radius: 50%;
  }
  
  .login-register-btn .btn-text {
    display: none;
  }
  
  .login-register-btn i {
    font-size: 18px;
    margin: 0;
  }
}

/* =========================================
   3. LOGO (Centered & Larger)
   ========================================= */
.logo {
  position: relative;
  margin-bottom: 0;
  margin-top: -40px;
  z-index: 2000;
  width: 300px;
  /* Increased size to match screenshot */
  height: auto;
  text-align: center;
  pointer-events: none;
}

.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: auto;
}

/* =========================================
   3. NAVIGATION & PAGE STRUCTURE
   ========================================= */
.side-nav {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-dot {
  display: block;
  padding: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-dot i {
  font-size: 28px;
  color: #333333;
  transition: all 0.3s ease;
}

.nav-dot:hover i,
.nav-dot.active {
  transform: scale(1.3);
}

.nav-dot.active i {
  color: #000;
}

.pages-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

.page {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 6%;
  position: relative;
}

#home {
  flex-direction: column;
  padding-top: 0;
}

.page-content {
  max-width: 1400px;
  width: 100%;
  text-align: center;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
  text-align: center;
  padding: 0 0 20px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: -30px auto 0;
}

.hero-section h1 {
  font-size: 56px;
  /* Larger title */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #000000;
  /* Changed to black */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  padding: 14px 30px;
  border-radius: 0px;
  /* Completely rectangular */
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  min-width: 160px;
}

.btn-primary {
  background: #000;
  /* Black button */
  color: #fff;
  border: 1px solid #000;
}

.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}

.btn-secondary:hover {
  border-color: #000;
  transform: translateY(-2px);
}

/* =========================================
   5. ABOUT SECTION (50/50 Split)
   ========================================= */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  text-align: left;
}

.about-content {
  padding-right: 40px;
}

.about-content h3 {
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-weight: 600;
}

.about-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =========================================
   6. SIMPLE VERTICAL FACT TREE
   ========================================= */
.fact-tree-container {
  position: relative;
  width: 100%;
  padding: 40px 20px;
  background: #fdfdfd;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 500px;
  margin-top: 20px;
}

.fact-tree {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* The vertical trunk */
.fact-tree::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: #0ea5e9;
  z-index: 1;
}

.tree-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.tree-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Individual node circles */
.tree-node {
  position: absolute;
  left: 12px;
  top: 0;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid #0ea5e9;
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.3s ease;
}

.tree-item:hover .tree-node {
  transform: scale(1.4);
  background: #0ea5e9;
}

/* Handshake Animation */
@keyframes handshake {

  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(10deg);
  }

  75% {
    transform: rotate(-5deg);
  }
}

.tree-content {
  background: #fff;
  padding: 15px 20px;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.tree-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0ea5e9;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
}

.tree-content p {
  font-size: 14px;
  margin: 0;
  color: #333;
}

@media (max-width: 768px) {
  .fact-tree-container {
    padding: 20px 10px;
  }
}

/* =========================================
   7. CONTACT SECTION (Form Left / Info Right)
   ========================================= */
.contact-wrapper {
  display: flex;
  flex-direction: row;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* LEFT SIDE: Form */
.contact-form-card {
  order: 1;
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  border: 1px solid #000;
}

.contact-form-card h3 {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 30px;
  text-align: left;
  /* Aligned left like screenshot */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #000;
  border-radius: 4px;
  font-size: 15px;
  background: #fff;
  color: #333;
  font-family: inherit;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #555;
}

.contact-form-card textarea {
  min-height: 120px;
  margin-bottom: 20px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 16px 0;
  background: #000;
  /* BLACK BUTTON */
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #333;
}

/* RIGHT SIDE: Info */
.contact-info {
  order: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 20px;
  text-align: left;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #999;
  /* Muted label color */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.contact-item span {
  font-size: 18px;
  color: #1a1a1a;
  display: block;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.social-link:hover {
  transform: translateY(-3px);
}

/* =========================================
   8. RESPONSIVE (Mobile Stacking)
   ========================================= */
@media (max-width: 768px) {
  .logo {
    top: 20px;
    width: 180px;
  }

  .hero-section h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content {
    padding-right: 0;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-form-card,
  .contact-info {
    width: 100%;
  }

  .idea-statement {
    position: relative;
    right: auto;
    top: 0;
    transform: none;
    margin-top: 20px;
    width: 100% !important;
  }
}

/* =========================================
   9. SHARED COMPONENTS
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* =========================================
   10. OFFERINGS SECTION
   ========================================= */
.offerings-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.offerings-header {
  text-align: center;
  margin-bottom: 50px;
}

.offerings-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
}

.offerings-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 10px;
}

.offering-grid-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 35px 30px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.offering-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #000;
}

.offering-grid-card.active {
  border-color: #000;
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.offering-logo-wrapper {
  height: 80px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offering-logo-wrapper img {
  max-height: 100%;
  width: auto;
  transition: transform 0.3s ease;
}

.offering-grid-card:hover .offering-logo-wrapper img {
  transform: scale(1.15);
}

.offering-card-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000;
}

.offering-summary {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.offering-details {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.offering-grid-card.active .offering-details {
  max-height: 400px;
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.offering-details p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.7;
}

.offering-card-footer {
  margin-top: auto;
  padding-top: 20px;
}

.expand-indicator {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  border-bottom: 1px solid #000;
  padding-bottom: 3px;
  transition: opacity 0.3s;
}

.offering-grid-card.active .expand-indicator {
  opacity: 0;
  visibility: hidden;
}

/* =========================================
   11. FOUNDERS SECTION
   ========================================= */
.founders-horizontal-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: #f8f9fa;
}

.founders-curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
  overflow: hidden;
}

.founders-curtain.left {
  left: 0;
  justify-content: flex-end;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.founders-curtain.right {
  right: 0;
  justify-content: flex-start;
  padding-left: 20px;
}

.founders-curtain h3 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  font-weight: 400;
}

.founders-curtain:hover {
  background: #1a1a1a;
}

.founders-horizontal-container:hover .founders-curtain.left,
.founders-horizontal-container.open .founders-curtain.left {
  transform: translateX(-100%);
}

.founders-horizontal-container:hover .founders-curtain.right,
.founders-horizontal-container.open .founders-curtain.right {
  transform: translateX(100%);
}

.founders-horizontal-container.open .founders-curtain {
  opacity: 0;
  pointer-events: none;
}

.founders-split-horizontal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.95);
}

.founders-horizontal-container.open .founders-split-horizontal {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.founder-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.05;
  filter: grayscale(100%);
}

.founder-panel-horizontal {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  position: relative;
  z-index: 1;
  transition: background 0.3s;
}

.founder-panel-horizontal:hover {
  background: rgba(255, 255, 255, 0.5);
}

.founder-left-horizontal {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.founder-content {
  text-align: center;
  max-width: 350px;
}

.founder-img-wrapper {
  position: relative;
  width: 230px;
  /* Image size + border space */
  height: 230px;
  margin: 0 auto 20px;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  background: #fff;
}

@keyframes border-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.founder-img-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent);
  border-radius: 34px;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
  z-index: -1;
}

.founder-logo {
  height: 220px;
  width: 220px;
  object-fit: cover;
  border-radius: 30px;
  margin: 0;
  display: block;
  background: #fff;
  z-index: 2;
}

.founder-content h4 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #000;
  font-weight: 700;
}

.founder-content .role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 700;
}

.founder-content p:not(.role) {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

/* =========================================
   12. PLANS SECTION
   ========================================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 50px 40px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-color: #000;
  z-index: 2;
}

/* Highlight Platinum (2nd child) */
.plan-card:nth-child(2) {
  border-color: #000;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.plan-card:nth-child(2)::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: #000;
  color: #fff;
  padding: 6px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  border-radius: 20px;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
}

.plan-price {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  font-weight: 600;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
  text-align: left;
}

.plan-features li {
  margin-bottom: 18px;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: baseline;
}

.plan-card button {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #1a1a1a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-card button:hover {
  border-color: #000;
  background: #fff;
}

.plan-card:nth-child(2) button {
  background: #000;
  border-color: #000;
  color: #fff;
}

.plan-card:nth-child(2) button:hover {
  background: #333;
  border-color: #333;
}

/* =========================================
   13. RESPONSIVE UPDATES
   ========================================= */
@media (max-width: 768px) {

  /* Visibility Utilities */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* New Separate Mobile Structure */
  .founders-mobile-view {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 10px 0 30px;
  }

  .founder-mobile-card {
    background: transparent;
    width: 100%;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
  }

  .founder-mobile-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
  }

  /* Flip State managed by JS */
  .founder-mobile-card.flipped .founder-mobile-inner {
    transform: rotateY(180deg);
  }

  /* Front & Back Faces */
  .founder-mobile-front,
  .founder-mobile-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Safari */
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  /* FRONT: Black Card */
  .founder-mobile-front {
    background: #000;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .founder-mobile-front h3 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  /* BACK: White Details */
  .founder-mobile-back {
    background: #fff;
    color: #333;
    transform: rotateY(180deg);
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .founder-mobile-back h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #111;
  }

  .founder-mobile-back .role {
    font-size: 14px;
    color: #0ea5e9;
    font-weight: 600;
    margin-bottom: 12px;
  }

  .founder-mobile-back p:last-child {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
  }

  .founder-img-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
  }

  .founder-logo {
    width: 120px;
    height: 120px;
  }

  /* Mobile Navigation (Bottom Bar) */
  .side-nav {
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    transform: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
  }

  .side-nav ul {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    gap: 0;
  }

  .nav-dot {
    padding: 5px;
  }

  .nav-dot i {
    font-size: 22px;
  }

  /* Mobile Page Spacing */
  .page {
    padding: 40px 20px 100px;
    /* Extra bottom padding for nav bar */
    min-height: auto;
  }

  /* Mobile Logo & Hero */
  .logo {
    width: 220px;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .hero-section {
    margin-top: 0;
  }

  .hero-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  /* Mobile Compass & About */
  .compass-container {
    height: auto;
    min-height: 350px;
    padding-bottom: 30px;
  }

  .compass-wrapper {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
  }

  .idea-statement {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 90% !important;
    max-width: none !important;
    margin: 20px auto !important;
    display: none;
    z-index: 100 !important;
  }

  .compass-toggle:checked~.idea-statement {
    transform: none;
    display: block;
  }

  /* Mobile Footer */
  .site-footer {
    padding-bottom: 90px;
    /* Ensure content isn't hidden behind nav */
  }
}

.plan-card:nth-child(2)::before {
  top: -10px;
}

/* =========================================
   14. FOOTER
   ========================================= */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 30px 0 15px;
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #666;
  font-size: 12px;
}

/* =========================================
   15. BACKGROUND ANIMATION (Shooting Stars)
   ========================================= */
.shooting-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(0, 0, 0, 0.4);
  /* Darker stars */
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s infinite ease-in-out;
}

.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
  transform: rotate(-45deg);
  opacity: 0;
  animation: shoot 3s ease-out;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.5);
  }
}

@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(-45deg);
    opacity: 1;
  }

  100% {
    transform: translateX(-500px) translateY(500px) rotate(-45deg);
    opacity: 0;
  }
}

/* =========================================
   12. NEW SECTIONS (Problem/Solution & Vision)
   ========================================= */

/* --- The Learning Gap Section --- */
.learning-gap-section {
  padding: 80px 20px;
  background: #fff;
  position: relative;
}

.gap-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.gap-card {
  padding: 40px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.gap-card.traditional {
  background: #f8fafc;
  /* Very light cool grey */
  border-left: 5px solid #94a3b8;
}

.gap-card.edutrip-solution {
  background: #f0f9ff;
  /* Light blue tint */
  border-left: 5px solid var(--accent);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.gap-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.gap-card.edutrip-solution:hover {
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.2);
}

.gap-card h3 {
  font-size: 24px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gap-card.traditional h3 {
  color: #64748b;
}

.gap-card.edutrip-solution h3 {
  color: var(--accent);
}

.gap-list {
  list-style: none;
  padding: 0;
}

.gap-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  color: var(--text-secondary);
}

.gap-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.gap-card:hover .gap-list li::before {
  animation: wiggle 1s ease infinite;
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
}

.gap-card.traditional .gap-list li::before {
  content: '✕';
  /* Unicode X */
  color: #ef4444;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  background: none;
}

.gap-card.edutrip-solution .gap-list li {
  color: #0f172a;
  font-weight: 500;
}

.gap-card.edutrip-solution .gap-list li::before {
  content: '✓';
  /* Unicode Check */
  color: var(--accent);
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  background: none;
}

/* --- 2. The Learning Gap Comparison --- */
.gap-comparison-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
  z-index: 2;
}

.gap-column {
  flex: 1;
  background: #fff;
  padding: 50px 40px;
  border: 1px solid #000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.gap-column.traditional {
  border-radius: 20px 0 0 20px;
  border-right: none;
  background: #fdfdfd;
}

.gap-column.edutrip-way {
  border-radius: 0 20px 20px 0;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.05);
}

.gap-header {
  text-align: center;
  margin-bottom: 40px;
}

.gap-icon-main {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f9fa;
  font-size: 28px;
}

.gap-column.traditional .gap-icon-main {
  color: #666;
}

.gap-column.edutrip-way .gap-icon-main {
  background: rgba(14, 165, 233, 0.1);
}

.gap-logo-small {
  width: 50px;
  height: auto;
}

.gap-header h3 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.gap-column.traditional h3 {
  color: #666;
}

.gap-column.edutrip-way h3 {
  color: #000;
}

.gap-list-new {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gap-list-new li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #444;
}

.gap-list-new li:last-child {
  border-bottom: none;
}

.gap-list-new li i {
  font-size: 14px;
}

.gap-column.traditional li i {
  color: #ef4444;
}

.gap-column.edutrip-way li i {
  color: #10b981;
}

.gap-vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  z-index: 10;
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gap-column:hover {
  z-index: 5;
  transform: scale(1.02);
  border-color: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.gap-column.edutrip-way:hover {
  background: #fff;
}

/* Founders Curtain Effect */
.founders-curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
  overflow: hidden;
}

.founders-curtain.left {
  left: 0;
  justify-content: flex-end;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.founders-curtain.right {
  right: 0;
  justify-content: flex-start;
}

.founders-curtain h3 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  font-weight: 400;
}

.founders-horizontal-container:hover .founders-curtain.left,
.founders-horizontal-container.open .founders-curtain.left {
  transform: translateX(-100%);
}

.founders-horizontal-container:hover .founders-curtain.right,
.founders-horizontal-container.open .founders-curtain.right {
  transform: translateX(100%);
}

.founders-horizontal-container:hover .founders-split-horizontal,
.founders-horizontal-container.open .founders-split-horizontal {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  filter: blur(0);
}

.founders-split-horizontal {
  filter: blur(10px);
}

/* --- Vision / Start-up Stats Section --- */
.vision-section {
  padding: 100px 20px;
  background: #ffffff;
  color: #1a1a1a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vision-header h2 {
  color: #000;
  margin-bottom: 10px;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
}

.vision-header p {
  color: #666;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 60px;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.vision-card {
  background: #fff;
  padding: 50px 30px;
  border-radius: 20px;
  transition: all 0.4s ease;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vision-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.vision-icon {
  font-size: 32px;
  color: #000;
  margin-bottom: 25px;
  width: 80px;
  height: 80px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vision-card:hover .vision-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.vision-card:hover .vision-icon .fa-handshake {
  animation: handshake 0.6s ease-in-out infinite;
}

.vision-icon img {
  transition: all 0.3s ease;
}

.vision-card:hover .vision-icon img {
  filter: brightness(0) invert(1);
}

.vision-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1a1a1a;
  font-weight: 700;
}

.vision-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================
   13. ANIMATIONS
   ========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-delay-1 {
  transition-delay: 0.1s;
}

.stagger-delay-2 {
  transition-delay: 0.2s;
}

.stagger-delay-3 {
  transition-delay: 0.3s;
}

/* Mobile Adjustments for new sections */
@media (max-width: 768px) {
  :root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
  }

  body {
    padding-bottom: calc(70px + var(--safe-bottom));
    /* Leave room for bottom nav */
  }

  .gap-comparison-container {
    flex-direction: column;
    padding: 0 10px;
  }

  .gap-column.traditional,
  .gap-column.edutrip-way {
    border-radius: 20px;
    border: 1px solid #000;
    margin-bottom: 40px;
    padding: 30px 20px;
  }

  .gap-vs-badge {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: -60px auto 20px;
    width: 40px;
    height: 40px;
    font-size: 14px;
    border-width: 2px;
  }

  /* Founders Mobile Curtain */
  .founders-curtain h3 {
    font-size: 18px;
    letter-spacing: 1px;
  }
}

/* =========================================
   16. MODERN UI ENHANCEMENTS
   ========================================= */

/* --- 1. Ambient Gradient Orbs --- */
.ambient-orbs-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float-orb 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(14, 165, 233, 0) 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0) 70%);
  bottom: -100px;
  right: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, rgba(20, 184, 166, 0) 70%);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float-orb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* --- 2. Magnetic Buttons --- */
.magnetic-btn {
  transition: transform 0.1s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.3s, border-color 0.3s, color 0.3s;
  display: inline-block;
  /* Ensure transform works */
}

/* --- 3. Dynamic Typewriter Effect --- */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--accent);
  margin-left: 5px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* --- 4. Scroll-Triggered Reveal (3D) --- */
.reveal-3d {
  opacity: 0;
  transform: perspective(1000px) rotateX(20deg) translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}




/* --- 5. Stacked Cards Effect (Wide Pyramid Fan) --- */
.offerings-grid-container {
  perspective: 1000px;
  min-height: 700px;
  transition: min-height 0.5s;
}

/* Stacked State */
.offerings-grid.stacked-mode {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 600px;
  /* Reduced to match fan width */
  height: 500px;
  margin: 0 auto;
}

.offerings-grid.stacked-mode .offering-grid-card {
  position: absolute;
  top: 60px;
  width: 300px;
  height: 400px;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid #000;
  background: #fff;
  opacity: 1 !important;
  transform-origin: center bottom;
}

/* Pyramid Fan Layout - Center card on top */

/* Card 1 (Far Left) */
.offerings-grid.stacked-mode .offering-grid-card:nth-child(1) {
  transform: translateX(-140px) translateY(60px) rotate(-15deg);
  z-index: 1;
}

/* Card 2 (Left) */
.offerings-grid.stacked-mode .offering-grid-card:nth-child(2) {
  transform: translateX(-70px) translateY(30px) rotate(-7deg);
  z-index: 2;
}

/* Card 3 (Center - Top) */
.offerings-grid.stacked-mode .offering-grid-card:nth-child(3) {
  transform: translateX(0) translateY(0) rotate(0deg);
  z-index: 5;
  /* On top */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  /* Stronger shadow for center */
}

/* Card 4 (Right) */
.offerings-grid.stacked-mode .offering-grid-card:nth-child(4) {
  transform: translateX(70px) translateY(30px) rotate(7deg);
  z-index: 2;
}

/* Card 5 (Far Right) */
.offerings-grid.stacked-mode .offering-grid-card:nth-child(5) {
  transform: translateX(140px) translateY(60px) rotate(15deg);
  z-index: 1;
}

/* Cleanup Content */
.offerings-grid.stacked-mode .offering-grid-card .offering-card-body,
.offerings-grid.stacked-mode .offering-grid-card .offering-card-footer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.offerings-grid.stacked-mode .offering-grid-card .offering-card-header {
  transform: scale(0.9);
  margin-top: 50px;
  text-align: center;
}

/* Hover Interaction */
.offerings-grid.stacked-mode .offering-grid-card:hover {
  z-index: 10;
  transform: translateY(-40px) scale(1.1) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 3px solid #0ea5e9;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 99999;
  transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cookie-text h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background: #0ea5e9;
  color: #fff;
}

.cookie-accept:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.cookie-reject {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
}

.cookie-reject:hover {
  background: #f5f5f5;
  border-color: #999;
}

/* Mobile Cookie Consent */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 16px;
  }

  .cookie-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cookie-text h4 {
    font-size: 16px;
  }

  .cookie-text p {
    font-size: 13px;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    padding: 14px;
  }
}