/* ================= ROOT VARIABLES ================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');
/* :root {
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-glass: rgba(7, 7, 7, 0.995);
    --text-primary: #e6edf7;
    --text-secondary: #b8c4d9;
    --text-muted: #dee2e399;
    --border-glass: rgba(255, 255, 255, 0.3);
    --border-strong: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.6);
    --accent-gradient: linear-gradient(130deg, #f6f8f9, #131414);  
    --hover-bg: rgba(255, 255, 255, 0.1);
    --hover-bg-strong: rgba(255, 255, 255, 0.2);
    --panel-bg: rgba(10, 10, 46, 0.95);
  }

  body.light {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-glass: rgba(0, 0, 0, 0.15);
    --border-strong: rgba(0, 0, 0, 0.25);
    --border-light:white;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
      --accent-gradient: linear-gradient(130deg, #131414, #f6f8f9);
    --hover-bg: rgba(0, 0, 0, 0.08);
    --hover-bg-strong: rgba(0, 0, 0, 0.15);
    --panel-bg: rgba(255, 255, 255, 0.95);
  } */


:root {
  /* Background handled by image/video */
  --bg-primary: transparent;
  --bg-secondary: transparent;

  /* Enhanced Glass surfaces with premium blur */
  --bg-glass: rgba(255, 255, 255, 0.08);
  --panel-bg: rgba(255, 255, 255, 0.15);
  --card-glass: rgba(255, 255, 255, 0.06);

  /* Text with better contrast */
  --text-primary: rgba(255, 255, 255, 0.98);
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.55);

  /* Premium Borders */
  --border-glass: rgba(255, 255, 255, 0.3);
  --border-strong: rgba(255, 255, 255, 0.5);
  --border-glow: rgba(99, 102, 241, 0.4);

  /* Enhanced Effects */
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

  /* Premium Accent Gradients */
  --accent-gradient: linear-gradient(135deg,
      rgba(99, 102, 241, 0.9),
      rgba(139, 92, 246, 0.9));
  --accent-gradient-hover: linear-gradient(135deg,
      rgba(79, 70, 229, 1),
      rgba(124, 58, 237, 1));
  --shimmer-gradient: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);

  /* Primary UI font stack (premium-grade) */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Enhanced Hover States */
  --hover-bg: rgba(255, 255, 255, 0.15);
  --hover-bg-strong: rgba(255, 255, 255, 0.25);

  /* Animation Timing */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body.light {
  --bg-glass: rgba(255, 255, 255, 0.04);
  --panel-bg: rgba(255, 255, 255, 0.75);

  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;

  --border-glass: rgba(255, 255, 255, 0.6);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.15);

  --accent-gradient: linear-gradient(130deg, #111827, #9ca3af);
}




:root {
  --system-font: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--system-font);
}


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

/* 
        :root {
            --primary-color: #6366f1;
            --primary-hover: #4f46e5;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-glass: rgba(255, 255, 255, 0.9);
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --border-color: #e2e8f0;
            --border-glass: rgba(226, 232, 240, 0.6);
            --border-strong: rgba(148, 163, 184, 0.3);
            --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        } */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}




/* ================= PAGE VISIBILITY ================= */
.page {
  display: none;
  /* overflow-y: auto;
  max-height:800px; */

}


.page.active {
  display: block;
}

.page .reveal {
  opacity: 1;
  transform: none;
}

body {
  background: url("https://res.cloudinary.com/dehxqmy5t/image/upload/v1766679999/3_czkogj.gif") no-repeat center center fixed;
  /* background: url("/backvideo.mp4") ;  */
  background-size: cover;

  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ================= HEADER & NAV ================= */
/* ================= HEADER ================= */
/* ==================================================
   RESET
================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

/* ==================================================
   HEADER
================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg,
      rgba(10, 10, 30, 0.98) 0%,
      rgba(20, 15, 45, 0.95) 50%,
      rgba(15, 10, 35, 0.98) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(99, 102, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 100vw;
  overflow: visible;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.header-container {
  max-width: 1300px;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand-text h5 {
  padding: 5px;
}

/* ==================================================
   LOGO (RESPONSIVE)
================================================== */
.logo-section {
  flex-shrink: 0;
  padding: 12px 20px;
  max-width: 300px;
  width: auto;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  border-radius: 12px;
  margin: 8px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-section:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo img {
  width: clamp(50px, 8vw, 65px);
  height: auto;
  max-height: 65px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
  transition: all 0.3s ease;
}

.brand-logo img:hover {
  filter: drop-shadow(0 6px 20px rgba(99, 102, 241, 0.5));
  transform: scale(1.05);
}

.brand-text h1 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.brand-text p {
  font-size: 0.75rem;
  opacity: 0.8;
  color: rgba(196, 181, 253, 0.9);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.mobile-quick-actions-wrapper h5 {
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
}


.announce-track {
  flex: 1;
  max-width: 700px;
  overflow: hidden;
  position: relative;
}

.announce-track::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, rgba(10, 10, 30, 1), transparent);
  z-index: 1;
  pointer-events: none;
}

.announce-track::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(270deg, rgba(10, 10, 30, 1), transparent);
  z-index: 1;
  pointer-events: none;
}

.announce-track p {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: rgba(196, 181, 253, 0.95);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.announce-track marquee {
  color: rgba(196, 181, 253, 0.95);
}

/* ==================================================
   MOBILE TOGGLE
================================================== */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ==================================================
   NAV CONTENT
================================================== */
.nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: calc(100vw - 320px);
  overflow: hidden;
}

/* ==================================================
   UTILITY BAR
================================================== */
.utility-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 8px 24px;
  gap: 1rem;
  width: 100%;
  background: linear-gradient(90deg,
      rgba(99, 102, 241, 0.05) 0%,
      rgba(139, 92, 246, 0.05) 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.utility-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.utility-btn {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 4px 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.utility-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.language-selector {
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 5px 12px;
  background: rgba(99, 102, 241, 0.1);
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  outline: none;
}

.language-selector:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.language-selector option {
  background: rgba(20, 15, 45, 0.98);
  color: white;
}

/* ==================================================
   MAIN NAV
================================================== */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 12px 24px;
  width: 100%;
  background: linear-gradient(90deg,
      rgba(99, 102, 241, 0.03) 0%,
      rgba(139, 92, 246, 0.03) 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-left: 0;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(226, 232, 240, 0.85);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 16px;
  border-radius: 10px;
  position: relative;
  letter-spacing: 0.3px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: rgba(255, 255, 255, 1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.search-box {
  position: relative;
  display: flex;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  align-items: center;
  background: rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.search-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.search-box:hover::before,
.search-box:focus-within::before {
  opacity: 1;
}

.search-box:hover {
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
}

.search-box input {
  padding: 10px 45px 10px 18px;
  border: none;
  border-radius: 24px;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  width: clamp(180px, 18vw, 280px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
}

.search-box input::placeholder {
  color: rgba(196, 181, 253, 0.6);
  font-weight: 500;
}

.search-box input:focus {
  width: clamp(220px, 22vw, 320px);
}

.search-btn {
  position: absolute;
  right: 8px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5));
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transform: scale(1.1);
}

.icon-group {
  display: flex;
  gap: 0.5rem;
  padding-right: 0;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.icon-btn:active {
  transform: translateY(0);
}

.notification-dot {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
}

/* ==================================================
   SUB NAV (DESKTOP)
================================================== */
.sub-nav {
  padding: 12px 24px;
  width: 100%;
  background: linear-gradient(90deg,
      rgba(99, 102, 241, 0.05) 0%,
      rgba(139, 92, 246, 0.05) 50%,
      rgba(99, 102, 241, 0.05) 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  overflow: hidden;
}

.sub-nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sub-nav-links::-webkit-scrollbar {
  height: 4px;
}

.sub-nav-links::-webkit-scrollbar-track {
  background: transparent;
}

.sub-nav-links::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.sub-nav-links::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sub-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  flex-shrink: 0;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.9);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.08),
      rgba(139, 92, 246, 0.06));
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.sub-nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.2),
      rgba(139, 92, 246, 0.2));
  opacity: 0;
  transition: opacity 0.4s;
}

.sub-nav-link:hover::before {
  opacity: 1;
}

.sub-nav-link:hover {
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.15),
      rgba(139, 92, 246, 0.12));
  border-color: rgba(139, 92, 246, 0.5);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  box-shadow:
    0 8px 25px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sub-nav-link:active {
  transform: translateY(-1px);
}

.sub-nav-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sub-nav-link:hover .sub-nav-logo {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5);
  transform: scale(1.1) rotate(5deg);
}

.sub-nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================================================
   QUICK ACTIONS (DESKTOP)
================================================== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.15rem;
  width: 190px;
  margin-left: 0.6rem;
  flex-shrink: 0;
}

.quick-box {
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 0.25rem;
  font-size: 0.65rem;
  text-align: center;
  cursor: pointer;
}

/* ==================================================
   MOBILE RESPONSIVE FIXES (≤768px)
================================================== */
/* ==================================================
   MOBILE RESPONSIVE FIXES (≤768px)
================================================== */
/* ==================================================
   MOBILE RESPONSIVE FIXES (≤768px)
================================================== */

/* ==================================================
   MOBILE RESPONSIVE FIXES (≤768px) – FULLY WORKING
================================================== */

@media (max-width: 768px) {

  /* 1. Header adjustments */
  .header {
    border-radius: 0;
    padding: 10px 16px;
    background: rgba(10, 10, 10, 0.95) !important;
    /* Make sure background is solid enough */
    backdrop-filter: blur(20px);
    position: fixed;
    /* Fix the header to top */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    /* Fixed height for header */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
  }

  /* Add padding to body or first section to prevent hiding behind fixed header */
  body {
    padding-top: 80px;
    /* Push content down */
  }

  .mobile-quick-actions-wrapper {
    display: none;
  }

  .nav-content.active .mobile-quick-actions-wrapper {
    display: flex !important;
    margin: 30px 0 20px;
    text-align: center;
  }

  /* 2. Show mobile toggle */
  .mobile-toggle {
    display: flex;
    position: relative;
    /* Relative to header flex container */
    top: auto;
    right: auto;
    z-index: 10001;
    margin-left: auto;
    /* Push to right */
    width: 30px;
    height: 24px;
    justify-content: space-between;
  }

  /* 3. Logo Setup */
  .logo-section {
    position: relative;
    /* Reset fixed positioning */
    top: auto;
    left: auto;
    z-index: auto;
    background: transparent;
    padding: 0;
    backdrop-filter: none;
    width: auto;
    border-radius: 0;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 6px;
  }

  .brand-text h1 {
    font-size: 1.1rem;
    margin: 0;
    color: white;
    line-height: 1.2;
  }

  .brand-text p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.8;
    color: white;
    display: block !important;
  }

  .brand-text h5 {
    display: none;
  }

  /* 4. Hide desktop content by default */
  .nav-content {
    display: none;
  }

  /* 5. FULL MOBILE OVERLAY MENU */
  .nav-content.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 70px;
    /* Match header height */
    width: 100vw;
    height: calc(100vh - 70px);
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(25px);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    gap: 20px;
  }

  /* Utility Bar – full width */
  .utility-bar {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    order: 2;
    /* Move to bottom or specific order */
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
  }

  .utility-actions {
    align-self: center;
    display: flex;
    gap: 10px;
  }

  .announce-track {
    width: 100%;
    font-size: 0.8rem;
  }

  .announce-track marquee {
    width: 100%;
  }

  /* Main Navigation – vertical */
  .main-nav {
    flex-direction: column;
    gap: 0;
    box-shadow: none;
    padding: 0;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-left: 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: left;
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    transition: background 0.3s;
  }

  .nav-link:active,
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-link.active {
    background: var(--primary-color, #6366f1);
    color: white;
  }

  .nav-actions {
    justify-content: center;
    margin-top: 10px;
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .search-box {
    width: 100%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
  }

  .search-box input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
  }

  /* Sub Nav Platforms */
  .sub-nav {
    margin-top: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
  }

  .sub-nav-links {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    width: 100%;
    overflow: visible;
  }

  .sub-nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Quick Actions */
  .quick-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    padding: 0;
  }

  .quick-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    font-size: 0.9rem;
    text-align: center;
    color: white;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hamburger animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

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

/* Extra small phones */
@media (max-width: 480px) {
  .brand-logo img {
    width: 50px;
  }

  .nav-content.active .utility-bar,
  .nav-content.active .main-nav,
  .nav-content.active .sub-nav,
  .nav-content.active .quick-actions .nav-content.active .mobile-quick-actions-wrapper {
    display: flex !important;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .brand-text p {
    font-size: 0.75rem;
  }

  .quick-actions {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .quick-box {
    font-size: 0.85rem;
    padding: 16px 8px;
  }

  .sub-nav-link {
    padding: 8px;
    max-width: 250px;
    font-size: 0.85rem;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}

/* ===============================
   MOBILE STATE: HIDE QUICK ACTIONS INITIALLY
================================ */




/* Content & Hero */
.content,
.hero-inner {
  color: var(--text-primary);
}

.content {
  /* background: var(--bg-secondary); */
  /* box-shadow: var(--shadow-soft); */
  padding: 50px;
  margin-bottom: 80px;
  /* margin-top:-150px; */

}

.contentservice {
  margin-top: -50px;
  /* border:2px solid white; */
}

.hero-inner {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

body.light .hero-inner {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
}

.hero-left h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eco System */
.core {
  background: var(--bg-secondary);
  border: 22px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
  border-radius: 100px;
  color: var(--text-primary);
  backdrop-filter: blur(10px);

}

.node {
  background: var(--hover-bg);
  border: 2px solid var(--border-glass);
  color: var(--text-primary);
}

.node:hover {
  background: var(--hover-bg-strong);
}

.node.pop {
  background: var(--hover-bg-strong);
}

/* .franchise-container */

/* Panel */

/* .franchise-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
}

.franchise-form input, .franchise-form select {
  background: var(--hover-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.franchise-form button {
  background: #ff6b6b;
  color: white;
}


 #bg-canvas {
  background: var(--bg-primary);
} 

.reveal {
  opacity: 0;
  transform: translateY(40px);
 transition: opacity 1.6s cubic-bezier(.2,.8,.2,1), transform 1.6s cubic-bezier(.2,.8,.2,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
} */
/* ================= FRANCHISE PANEL - PRODUCTION READY ================= */
/*.franchise-panel {
  position: fixed;
  inset: 0;
background: rgba(5, 197, 207, 0.75); 
   display: none;
  width:800px;
  margin-top:800px;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(12px);
}

.franchise-panel.active {
  display: flex;
}

.franchise-container {
  width: 90%;
  max-width: 1400px;
  height: 85vh;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 3fr 7fr; 
}

.franchise-left {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
}

.franchise-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.franchise-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.all-franchise-text {
  text-align: center;
  margin-top: 30px;
}

.all-franchise-text h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.all-franchise-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.franchise-right {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.typing-heading {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  min-height: 80px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.franchise-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  
}

.franchise-form input,
.franchise-form select {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: var(--hover-bg);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.franchise-form input:focus,
.franchise-form select:focus {
  outline: none;
  border-color: var(--border-strong);
  background: var(--hover-bg-strong);
}

.franchise-form button {
  margin-top: 20px;
  padding: 18px;
  background: var(--accent-gradient);
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.franchise-form button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.close-panel {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--hover-bg);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-panel:hover {
  background: var(--hover-bg-strong);
  transform: rotate(90deg);
}

@media (max-width: 1024px) {
  .franchise-container {
    grid-template-columns: 1fr;
    height: 90vh;
  }
  .franchise-left {
    justify-content: center;
    padding: 40px;
  }
  .franchise-right {
    padding: 40px;
  }
} */
/* ================= 1. HERO SECTION ================= */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  margin-top: -80px;
  /* padding: 0 10%; */
  border-radius: 20px;
  margin-left: 50px;
}

/* TEXT SIDE */

.hero-eyebrow {
  font-size: 1.85rem;
  letter-spacing: 0.25em;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 20px 0;
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;


}

.hero-title span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 14px 28px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: white;
  color: black;
}

/* VISUAL SIDE */
.hero-visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.herobimage {
  width: 400px;
  margin-top: 50px;
  margin-left: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.hero-text {
  max-width: 620px;
  margin-top: -70px;
  margin-left: 100px;
  transform: translateY(40px);
}

/* ================= CONTAINER & SECTION HEADER ================= */
.container {

  grid-template-columns: repeat(3, 1fr);


  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;


}

.section-header {
  text-align: center;
  margin-bottom: 120px;
}

.section-headertest {
  text-align: center;
  color: White;

}

.section-headertest h2 {
  margin-top: 10px;
  color: white;
}

.section-header h2 {
  font-size: 3.2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 36px;
}


.srv-card-h2 {
  color: white;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.section-header.light h2 {
  background: none;
  color: var(--text-primary);

}

/* =========================================================
   SERVICE CTA SECTION
========================================================= */
.srv-cta {
  text-align: center;
  position: relative;
}

/* Optional subtle background glow */
.srv-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(100, 200, 255, 0.15) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.srv-cta .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px 32px;
  background: var(--bg-glass, rgba(255, 255, 255, 0.08));

  border-radius: 32px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft), 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.srv-cta:hover .container {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  border-color: var(--border-strong);
}

/* Title */
.srv-cta h2 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  margin: 0 0 24px 0;
  background: var(--accent-gradient, linear-gradient(130deg, #60a5fa, #a78bfa));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
}

/* Subtitle / Description */
.srv-cta p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  opacity: 0.9;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* CTA Button */
.srv-cta__btn {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 50px;
  border: 2px solid var(--border-glass);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Button Hover Effect – Fill with gradient */
.srv-cta__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient, linear-gradient(90deg, #60a5fa, #a78bfa));
  transition: left 0.5s ease;
  z-index: -1;
}

.srv-cta__btn:hover::before {
  left: 0;
}

.srv-cta__btn:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(96, 165, 250, 0.4);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */

/* Tablets */
@media (max-width: 1024px) {
  .srv-cta .container {
    padding: 40px 28px;
    border-radius: 28px;
  }

  .srv-cta p {
    margin-bottom: 36px;
  }
}

/* Small Tablets & Large Phones */
@media (max-width: 768px) {
  .srv-cta {
    padding: clamp(70px, 9vw, 100px) 20px;
  }

  .srv-cta .container {
    padding: 36px 24px;
  }

  .srv-cta__btn {
    padding: 14px 36px;
    font-size: 1.05rem;
  }
}

/* Mobile Phones */
@media (max-width: 600px) {
  .srv-cta {
    padding: 60px 16px;
  }

  .srv-cta .container {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .srv-cta h2 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

  .srv-cta p {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }

  .srv-cta__btn {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }
}

/* Extra Small Phones */
@media (max-width: 480px) {
  .srv-cta .container {
    padding: 28px 18px;
  }

  .srv-cta__btn {
    padding: 16px 28px;
  }
}


/* ================= 3. SERVICES ================= */
.home-services {
  padding: 120px 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.02));
}



/* ================= SERVICES GRID - 3 COLUMNS, TRANSPARENT TIGHT BOXES ================= */

.containerservices {
  padding: 20px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.containerservices .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.containerservices .section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.containerservices .section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;



}



.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

/* CARD */
.service-tile {
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 28px;
  background: var(--glass-bg, transparent);

  display: flex;
  flex-direction: column;

  /* 🔑 KEY FIX */
  height: 100%;

  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* HOVER */
.service-tile:hover {
  transform: translateY(-10px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* TITLE */
.service-tile h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* TAG */
.service-tile .tag {
  display: inline-block;
  background: var(--hover-bg);
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid var(--border-glass);
  width: fit-content;
}

/* CONTENT LIST */
.service-tile ul {
  list-style: none;
  padding: 0;
  margin: 0;

  /* 🔑 PUSH CTA TO BOTTOM */
  flex-grow: 1;
}

.service-tile ul li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}

.service-tile ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-gradient);
  font-weight: bold;
}

/* CTA */
.tile-cta {
  margin-top: 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tile-cta:hover {
  color: #a0e0ff;
  transform: translateX(8px);
}







@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-tile:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--border-strong);
}

.tile-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.title-cta {
  color: var(--text-primary);

}

.service-tile h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tag {
  border: 1px solid var(--border-glass);

  display: inline-block;
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.service-tile ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.service-tile ul li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.service-tile ul li::before {
  content: "✓";
  color: var(--accent-gradient);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.tile-cta {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.tile-cta:hover {
  color: #a0e0ff;
  transform: translateX(8px);
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 80px;
    /* Space inside hero */
  }

  .eco-heading {
    margin-top: 100px !important;
    margin-bottom: 0px !important;
    /* Extra space before title */
  }
}

/* ================= PREMIUM POPUP UI ================= */
/* ================= POPUP OVERLAY ================= */

/* ==================================================
   POPUP OVERLAY
================================================== */

.popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  animation: popupFade 0.4s ease forwards;
}

@keyframes popupFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==================================================
   POPUP CONTAINER (PAGE-LIKE)
================================================== */
.popup-content {
  width: min(1200px, 94vw);
  height: min(88vh, 900px);
  max-height: 88vh;

  display: flex;
  flex-direction: column;
  position: relative;

  border-radius: 28px;
  background: transparent;
  border: 1px solid rgba(35, 34, 34, 0.952);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  overflow: hidden;
  margin-left: 180px;
  margin-top: 50px;
  transform: translateY(28px) scale(0.97);
  animation: popupIn 0.6s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes popupIn {
  to {
    transform: translateY(0) scale(1);
  }
}

/* ==================================================
   HEADER (TITLE + CLOSE — FIXED VISUALLY)
================================================== */
.popup-header {
  position: relative;
  /* ✅ NOT sticky */
  z-index: 10;

  padding: 64px 64px 28px;
  text-align: center;

  background: linear-gradient(to bottom,
      rgba(15, 18, 35, 0.85),
      rgba(15, 18, 35, 0.55),
      rgba(15, 18, 35, 0));
}

/* TITLE */
.popup-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==================================================
   CLOSE BUTTON (TOP CENTER)
================================================== */
.close-btn {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);

  width: 42px;
  height: 42px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  font-size: 30px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);

  box-shadow:
    0 18px 40px rgba(99, 102, 241, 0.45),
    0 0 0 8px rgba(255, 255, 255, 0.10);

  transition: transform .4s ease, box-shadow .4s ease;
}

.close-btn:hover {
  transform: translateX(-50%) rotate(180deg) scale(1.12);
  box-shadow:
    0 28px 60px rgba(167, 139, 250, 0.75),
    0 0 0 12px rgba(167, 139, 250, 0.18);
}

/* ==================================================
   SCROLLABLE BODY (ONLY THIS SCROLLS)
================================================== */
.popup-body {
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;

  padding: 0 64px 56px;
}

/* PREMIUM SCROLLBAR */
.popup-body::-webkit-scrollbar {
  width: 8px;
}

.popup-body::-webkit-scrollbar-thumb {
  background: linear-gradient(#38bdf8, #a78bfa);
  border-radius: 10px;
}

.popup-body::-webkit-scrollbar-track {
  background: transparent;
}

/* ==================================================
   CONTENT STYLING
================================================== */
.popup-body p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #e5e7eb;
  letter-spacing: .2px;
  margin-bottom: 1.2rem;
}

.popup-body p::first-letter {
  font-size: 2.4rem;
  font-weight: 700;
  color: #a78bfa;
  padding-right: 4px;
}

.popup-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: #ffffff;
}

.popup-body ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.popup-body li {
  margin-bottom: 0.4rem;
  color: #d1d5db;
}

/* ==================================================
   TABLET
================================================== */
@media (max-width: 768px) {
  .popup-content {
    width: 94vw;
    height: 92vh;
  }

  .popup-header {
    padding: 56px 32px 24px;
  }

  .popup-body {
    padding: 0 32px 40px;
  }
}

/* ==================================================
   MOBILE (FULL SCREEN)
================================================== */
@media (max-width: 480px) {
  .popup-content {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .popup-header {
    padding: 52px 20px 20px;
  }

  .popup-body {
    padding: 0 20px 32px;
  }

  .close-btn {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }
}


/* ==================================================
   MOBILE FIX — FULL RESPONSIVE POPUP
================================================== */
@media (max-width: 480px) {

  /* RESET DESKTOP OFFSETS */
  .popup-content {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;

    margin: 0 !important;
    /* 🔥 fixes right-side cut */
    border-radius: 0 !important;

    transform: none !important;
    /* remove scale / translate */
    animation: none !important;
  }

  /* HEADER */
  .popup-header {
    padding: 48px 18px 18px;
    text-align: center;
  }

  .popup-header h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  /* BODY */
  .popup-body {
    padding: 0 18px 28px;
    overflow-y: auto;
  }

  .popup-body p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .popup-body p::first-letter {
    font-size: 1.8rem;
  }

  /* CLOSE BUTTON */
  .close-btn {
    top: 14px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}




/* ================= 4. ABOUT TIMELINE ================= */

/* ===============================
   HOME ABOUT / TIMELINE
================================ */

.home-about {
  padding: clamp(90px, 12vw, 160px) 0;
  position: relative;
}

/* Timeline Wrapper */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Center Line */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(to bottom,
      transparent,
      var(--border-glass),
      transparent);
  transform: translateX(-50%);
  border-radius: 3px;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 50px;
  box-sizing: border-box;
}

/* Left / Right split */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Connector Dot */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 38px;
  width: 18px;
  height: 18px;
  background: var(--bg-primary);
  border: 3px solid var(--border-strong);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd)::after {
  right: -9px;
}

.timeline-item:nth-child(even)::after {
  left: -9px;
}

/* Year */
.year {
  position: absolute;
  top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: white;
  /* opacity: 0.25; */
  letter-spacing: 0.08em;
}

.timeline-item .content .stat {
  display: inline-block;
  margin: 4px 6px 4px 0;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #000;
  background: linear-gradient(135deg, #ffffff, #cfd8ff);
  border-radius: 20px;
  box-shadow:
    0 6px 16px rgba(120, 140, 255, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item .content .stat:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 10px 28px rgba(140, 170, 255, 0.75);
}

.timeline-item:nth-child(odd) .year {
  right: -130px;
  color: white;
}

.timeline-item:nth-child(even) .year {
  left: -130px;
  color: white;
}

/* Content Card */
.timeline-item .content {
  padding: 32px 34px;
  border-radius: 22px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover polish */
.timeline-item .content:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

/* Headings */
.timeline-item h3 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--text-primary);
}

/* Lists */
.timeline-item ul {
  margin: 0;
  padding-left: 20px;
}

.timeline-item li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* ===============================
   TABLET RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .timeline {
    max-width: 95%;
  }

  .timeline-item {
    padding: 26px 40px;
  }

  .timeline-item:nth-child(odd) .year {
    right: -100px;
    color: white;
  }

  .timeline-item:nth-child(even) .year {
    left: -100px;
  }
}

/* ===============================
   MOBILE – SINGLE COLUMN
================================ */

@media (max-width: 768px) {

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding: 0 0 0 70px;
    margin-bottom: 60px;
    text-align: left;
  }

  .timeline-item::after {
    left: 15px;
    right: auto;
    top: 28px;
  }

  .year {
    position: relative;
    color: white;
    top: 0;
    left: 0 !important;
    right: auto;
    font-size: 1.4rem;
    opacity: 0.6;
    margin-bottom: 10px;
  }

  .timeline-item .content {
    padding: 26px;
  }
}

/* ===============================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

  .home-about {
    padding: 80px 0;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-item h3 {
    font-size: 1.2rem;
  }

  .timeline-item li {
    font-size: 0.9rem;
  }
}


/* ================= 5. FRANCHISE ================= */
.home-franchise {
  padding: 140px 0;
  background: linear-gradient(135deg, rgba(100, 150, 255, 0.08), transparent);
}

.franchise-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
  background: none;
}

.highlight-card {
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(0px);
  transition: all 0.4s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: #64c8ff;
}

.highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-large {
  display: block;
  margin: 0 auto;
  padding: 18px 48px;
  font-size: 1.2rem;
  background: transparent;
  border: 1px solid var(--border-glass);

  font-weight: 600;
  color: rgb(251, 249, 249);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-large:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(100, 150, 255, 0.4);
}

/* ================= RESPONSIVE TIMELINE FIX ================= */

/* TABLETS */
/* @media (max-width: 1024px) {
  .timeline {
    max-width: 90%;
  }

  .timeline-item {
    width: 48%;
  }

  .timeline-item:nth-child(even) {
    left: 52%;
  }

  .timeline-item:nth-child(odd) .year {
    right: -90px;
  }

  .timeline-item:nth-child(even) .year {
    left: -90px;
  }
}

@media (max-width: 768px) {

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
    left: 0 !important;
    margin-bottom: 50px;
  }

  .timeline-item::after {
    left: 12px;
    right: auto;
    top: 30px;
  }

  .timeline-item:nth-child(even)::after {
    left: 12px;
  }

  .year {
    position: relative;
    top: 0;
    left: 0 !important;
    right: 0 !important;
    font-size: 1.6rem;
    opacity: 0.6;
    margin-bottom: 12px;
  }

  .timeline-item .content {
    padding: 24px;
  }

  .timeline-item:nth-child(even) .content {
    padding-left: 24px;
  }
}

@media (max-width: 480px) {

  .home-about {
    padding: 90px 0;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .year {
    font-size: 1.4rem;
  }

  .timeline-item h3 {
    font-size: 1.25rem;
  }

  .timeline-item ul {
    padding-left: 18px;
  }

  .timeline-item ul li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
 */


/* ================= 6. FAQ ================= */
.home-faq {
  padding: 0px 0;
}

.accordion details {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion summary {
  padding: 24px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion details[open] summary {
  border-bottom: 1px solid var(--border-glass);
}

.accordion p {
  padding: 24px;
  color: var(--text-secondary);
}

/* ================= 7. TESTIMONIALS ================= */
.home-testimonials {
  padding: 20px 0;
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  overflow: hidden;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 40px;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-secondary);
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.8s ease;
}

.testimonial cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  color: var(--text-primary);
  font-weight: 600;
}

.slider-controls {
  text-align: center;
}

.slider-controls button {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-controls button:hover {
  background: #64c8ff;
  color: black;
}

/* ================= 8. CONTACT ================= */
/* .home-contact {
  padding: 140px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.contact-list li {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.contact-list a {
  color: #64c8ff;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 16px;
  font-size: 1.8rem;
}

.social-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #64c8ff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
}

.contact-form button {
  padding: 16px 32px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(100,150,255,0.3);
} */


/* ================= CONTACT SECTION ================= */
/* =========================
   CONTACT SECTION
========================= */

.home-contact {
  padding: clamp(60px, 8vw, 120px) 0;
  background: linear-gradient(to bottom,
      transparent,
      rgba(255, 255, 255, 0.04));
}

/* =========================
   GRID LAYOUT
========================= */

.home-contact .split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: flex-start;
}

/* =========================
   LEFT CONTENT
========================= */

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-info p {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
}

/* =========================
   CONTACT LIST
========================= */

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.contact-list li {
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.9;
  color: var(--text-secondary);
}

.contact-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-list a {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
}

.contact-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.contact-list a:hover::after {
  transform: scaleX(1);
}

/* =========================
   MAP
========================= */

.map-wrapper {
  width: 100%;
  margin: 28px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
  width: 100%;
  height: clamp(220px, 35vw, 420px);
  border: 0;
  display: block;
}

/* =========================
   SOCIAL LINKS
========================= */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.social-links a {
  width: clamp(34px, 4vw, 40px);
  height: clamp(34px, 4vw, 40px);
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-primary);
  background: transparent;
  transition: all 0.35s ease;
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--hover-bg-strong);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* =========================
   RIGHT — FORM
========================= */

.contact-form {
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-soft);
  /* backdrop-filter: blur(18px); */
}

/* Inputs */

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: clamp(14px, 2vw, 16px);
  margin-bottom: 18px;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: clamp(0.95rem, 1vw, 1rem);
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  background: var(--hover-bg);
}

/* Button */

.contact-form button {
  width: 100%;
  padding: clamp(14px, 2vw, 16px);
  font-size: clamp(1rem, 1.1vw, 1.05rem);
  font-weight: 600;
  background: var(--accent-gradient);
  color: #000;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {
  .home-contact .split {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-form {
    margin-top: 0;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .contact-info h2 {
    text-align: center;
  }

  .contact-info p {
    text-align: center;
    margin-inline: auto;
  }

  .social-links {
    justify-content: center;
  }

  .contact-form {
    border-radius: 22px;
  }
}


/* ================= 9. FOOTER ================= */
/* .home-footer {
  padding: 100px 0 40px;
  border-top: 1px solid var(--border-glass);
  background: rgba(0,0,0,0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 24px;
  font-size: 1.2rem;
}

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

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 2.2;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #64c8ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


 */





/* =========  FOOTER STYLES  ========= */

.footer {
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  border-top: 1px solid var(--border-glass);

}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text-strong);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 2.2rem 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2.5rem;
}

/* BRAND */
.footer-brand h3 {
  color: var(--text-strong);
  margin-bottom: 0.4rem;
  font-size: 20px;
}

.footer-brand img {
  width: 120px;
  margin: 0.5rem 0;
}

.footer-brand p {
  max-width: 300px;
  line-height: 1.6;
}

/* LINKS */
.footer-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}

.link-group h4 {
  color: var(--text-strong);
  font-size: 15px;
  margin-bottom: 0.5rem;
}

.link-group a {
  display: block;
  padding: 2px 0;
}

/* APPROVALS */
.footer-approvals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-box h4 {
  color: var(--text-strong);
  font-size: 14px;
  margin-bottom: 0.4rem;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-logos img {
  height: 34px;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 13px;
}

/* TABLET */
@media(max-width:992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer-approvals {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media(max-width:576px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-approvals {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logos {
    justify-content: center;
  }
}

/* SMALL MOBILE */
@media(max-width:400px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}



/* main tatito nexus ecosystem */




/* franchise ecosystem */
/* ==================================================
   ECO WRAPPER
================================================== */

.eco-wrapper {
  width: 100%;
  overflow-x: hidden;
}

/* ==================================================
   ECO HEADER
================================================== */
.eco-header {
  text-align: center;
  margin-bottom: 50px;
}

.eco-header h1 {
  font-size: 2.5em;
}

/* ==================================================
   ECO STAGE (DESKTOP BASE)

/* ==================================================
   ECO LEARN BUTTON
================================================== */
.eco-learn {
  text-decoration: none;
  color: white;
  border: 1px solid var(--border-glass);
  width: 160px;
  padding: 1px 10px;
  border-radius: 20px;
}

/* Panel */
/* .franchise-panel {
    position: relative;
     right: -110%; 
     right:500px;
    top: 800px; 
    width: 1300px;
    border-radius:50px;
    display:none;
    height: 100vh;
    background: red;
    backdrop-filter: blur(20px);
    padding: 40px;
    box-sizing: border-box;
    transition: right 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 100;
  } 

  .franchise-panel.active {
    right: 0;
    margin-left: 100px;
    margin-top:400px;
    width:1050px;
    
  }

  .close-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2em;
    color: var(--text-primary);
    cursor: pointer;
  }

  .franchise-form input,
  .franchise-form select,
  .franchise-form button {
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
    border: none;
  }

  .franchise-form button {
    background: var(--accent-gradient);
    color: var(--text-primary);
    font-weight: bold;
    cursor: pointer;
  }*/

/* eco system responsive */
/* ================= ECOSYSTEM STORY SECTION ================= */

/* =========================================================
   1.  BASE TIMELINE SHELL
   ========================================================= */

.ecosystem-story {
  margin-top: -100px;
  padding: clamp(10px, 8vw, 10px) 0;
  position: relative;
  overflow: hidden;
}

/* .ecosystem-storie{
      border:2px solid blue;
    } */

.eco-heading {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* border:2px solid white; */
  margin-top: 50px;
  margin-bottom: clamp(40px, 6vw, 10px);
  padding: 10px 20px;
}

/* Timeline shell */
.eco-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.eco-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border-glass), transparent);
  border-radius: 2px;
  transform: translateX(-50%);
  z-index: 1;
}

/* Step */
.eco-step {
  position: relative;
  margin: clamp(80px, 10vw, 120px) 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s cubic-bezier(.22, .61, .36, 1);
}

.eco-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.eco-node {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(100, 150, 255, .6);
  transform: translateX(-50%);
  z-index: 3;
}

/* Content row */
.eco-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.eco-content>.eco-feather,
.eco-content>.eco-slideshow {
  flex: 0 0 480px;
  max-width: 480px;
  width: 100%;
}

.eco-feather {
  height: 380px;
  width: 100%;
}

/* Alternate sides */
.eco-step:nth-child(odd) .eco-content {
  flex-direction: row;
}



.eco-step:nth-child(even) .eco-content {
  flex-direction: row-reverse;

}

/* Push text cards further from the center line */
@media (min-width: 1025px) {
  .eco-step:nth-child(odd) .eco-feather {
    margin-left: 60px;
    /* push right */
  }

  .eco-step:nth-child(even) .eco-feather {
    margin-right: 60px;
    /* push left */
  }
}

.eco-content {
  padding: 0 16px;
}

.eco-timeline {
  padding: 0 clamp(20px, 4vw, 40px);
}

@media (max-width: 480px) {

  /* REMOVE ALL OUTER WIDTH LIMITERS */
  .eco-timeline {
    padding-left: 0;
    padding-right: 0;
  }

  .eco-content {
    padding-left: 0;
    padding-right: 0;
  }

  /* FULL WIDTH ELEMENTS */
  .eco-feather,
  .eco-slideshow {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* INTERNAL CARD SPACING ONLY */
  .eco-feather {
    padding: 20px 18px;
  }
}


@media (max-width: 480px) {

  /* REMOVE FIXED WIDTH THAT IS SHRINKING THE CARD */
  .eco-feather {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    /* let content define height */
  }

  .eco-slideshow {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Feather card */
.eco-feather {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all .4s ease;
}

.eco-feather:hover {
  transform: translateY(-10px);
  border-color: #64c8ff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.eco-feather h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.feather-img {
  width: clamp(60px, 8vw, 80px);
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3));
}

.eco-feather p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  margin: 0 0 20px;
}

.eco-points {
  margin: 0 0 24px 20px;
  padding: 0;
  list-style: none;
}

.eco-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: clamp(.9rem, 1.1vw, 1rem);
  color: var(--text-secondary);
}

.eco-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}

.eco-learn {
  align-self: flex-start;
  margin-top: auto;
  padding: 7px 10px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s;
}

.eco-learn:hover {
  transform: translateX(4px);
}

/* Slideshow */
.eco-slideshow {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.eco-slideshow img {
  position: absolute;
  inset: 0;
  width: 550px;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.eco-slideshow img.active {
  opacity: 1;
}

/* Push text cards further from the center line */
@media (min-width: 1025px) {

  /* 1. Push the text card away from the centre line */
  .eco-step:nth-child(odd) .eco-feather {
    margin-left: 160px;
  }

  .eco-step:nth-child(even) .eco-feather {
    margin-right: 160px;
  }

  /* 2. Pull the image back so it stays put */
  .eco-step:nth-child(odd) .eco-slideshow {
    margin-right: -60px;
  }

  .eco-step:nth-child(even) .eco-slideshow {
    margin-left: -60px;
  }
}

/* Responsive */
@media (max-width:1024px) {

  .eco-line,
  .eco-node {
    left: 30px;
    transform: none;
  }

  .eco-content,
  .eco-step:nth-child(odd) .eco-content,
  .eco-step:nth-child(even) .eco-content {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px 0 70px;
  }

  .eco-content>.eco-feather,
  .eco-content>.eco-slideshow {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .eco-slideshow {
    aspect-ratio: 16/9;
  }
}

@media (max-width:768px) {

  .eco-line,
  .eco-node {
    left: 20px;
  }

  .eco-content {
    padding: 0 20px 0 50px;
  }
}

@media (max-width:480px) {

  .eco-line,
  .eco-node {
    display: none;
  }

  .eco-content {
    padding: 0 6px;
  }

  .eco-feather,
  .eco-slideshow {

    border-radius: 16px;
  }

  .eco-heading {
    margin-top: 50px;
  }


  .eco-feather {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  .eco-slideshow {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

}

/* ==================================================
   DISABLE TIMELINE ANIMATION ON MOBILE
================================================== */
@media (max-width: 768px) {

  .eco-step {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

}


/* ================= FRANCHISE MAIN WRAPPER ================= */
.franchise-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
  padding: 0px 40px 80px;
}

/* ================= HEADER ================= */
.franchise-header {
  text-align: center;
  margin-bottom: 80px;
}

.franchise-header h1 {
  font-size: 3.4rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
  margin-bottom: 18px;
}

.franchise-header p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: white;
  line-height: 1.7;
}

/* ================= CONTENT BLOCKS ================= */
/* ============================= */
/* Base Styles (Desktop Default) */
/* ============================= */

.franchise-block {
  margin-bottom: 70px;
}

.franchise-block h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.franchise-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 900px;
}

/* Criteria List */
.criteria-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  padding-left: 16px;
}

.criteria-list li {
  font-size: 1.5rem;
  line-height: 1.4;
}

/* Button / Click Controls */
.ctrl-btn {
  cursor: pointer;
}

/* ============================= */
/* Large Screens (≥1440px) */
/* ============================= */

@media (min-width: 1440px) {
  .franchise-block h2 {
    font-size: 2.2rem;
  }

  .criteria-list li {
    font-size: 1.6rem;
  }
}

/* ============================= */
/* Laptop (≤1200px) */
/* ============================= */

@media (max-width: 1200px) {
  .franchise-block p {
    font-size: 1rem;
  }

  .criteria-list li {
    font-size: 1.4rem;
  }
}

/* ============================= */
/* Tablet (≤992px) */
/* ============================= */

@media (max-width: 992px) {
  .franchise-block {
    margin-bottom: 60px;
  }

  .franchise-block h2 {
    font-size: 1.8rem;
  }

  .criteria-list {
    grid-template-columns: 1fr;
    /* single column */
    gap: 10px;
  }

  .criteria-list li {
    font-size: 1.25rem;
  }
}

/* ============================= */
/* Mobile (≤768px) */
/* ============================= */

@media (max-width: 768px) {
  .franchise-block {
    margin-bottom: 50px;
  }

  .franchise-block h2 {
    font-size: 1.6rem;
  }

  .franchise-block p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .criteria-list {
    padding-left: 20px;
  }

  .criteria-list li {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

/* ============================= */
/* Small Mobile (≤480px) */
/* ============================= */

@media (max-width: 480px) {
  .franchise-block {
    margin-bottom: 40px;
  }

  .franchise-block h2 {
    font-size: 1.4rem;
  }

  .franchise-block p {
    font-size: 0.9rem;
  }

  .criteria-list {
    padding-left: 18px;
  }

  .criteria-list li {
    font-size: 1rem;
  }
}

/* ================= VERTICAL LIST ================= */
.vertical-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.vertical-list li {
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 18px 22px;
  transition: all 0.35s ease;
  color: var(--text-secondary);
}

.vertical-list li strong {
  color: var(--text-primary);
}

.vertical-list li:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--hover-bg-strong);
}

/* ================= FRANCHISE GRID ================= */
.franchise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.franchise-card {
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  transition: all 0.45s ease;
  position: relative;
  overflow: hidden;
}

.franchise-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.franchise-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: var(--border-strong);
}

.franchise-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.franchise-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================= WHO SHOULD APPLY ================= */
.criteria-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.criteria-list li {
  padding-left: 26px;
  margin-bottom: 14px;
  position: relative;
  color: var(--text-secondary);
}

.criteria-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-weight: bold;
}

/* ================= CTA ================= */
/* ============================= */
/* Base Styles (Desktop Default) */
/* ============================= */

.franchise-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 2rem;
  margin-top: 100px;
  padding: 40px 150px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  border: 1px solid var(--border-glass);
}

.texts {
  padding: 20px;
  flex: 1;
}

.frachaniselogo {
  padding: 0;
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.franchise-cta h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.franchise-cta p {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.franchise-cta button {
  padding: 18px 52px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  background: none;
  border: 1px solid var(--border-glass);
  color: white;
  cursor: pointer;
  transition: all 0.35s ease;
}

.franchise-cta button:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.25);
}

/* ============================= */
/* Laptop (≤1200px) */
/* ============================= */

@media (max-width: 1200px) {
  .franchise-cta {
    padding: 40px 80px;
  }

  .franchise-cta h2 {
    font-size: 2.1rem;
  }
}

/* ============================= */
/* Tablet (≤992px) */
/* ============================= */

@media (max-width: 992px) {
  .franchise-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 60px;
  }

  .texts {
    padding: 10px;
  }

  .franchise-cta p {
    margin: 0 auto 30px;
  }

  .frachaniselogo {
    order: -1;
    margin-bottom: 20px;
  }
}

/* ============================= */
/* Mobile (≤768px) */
/* ============================= */

@media (max-width: 768px) {
  .franchise-cta {
    padding: 30px 30px;
    border-radius: 28px;
  }

  .franchise-cta h2 {
    font-size: 1.8rem;
  }

  .franchise-cta p {
    font-size: 0.95rem;
  }

  .franchise-cta button {
    padding: 14px 40px;
    font-size: 1rem;
  }
}

/* ============================= */
/* Small Mobile (≤480px) */
/* ============================= */

@media (max-width: 480px) {
  .franchise-cta {
    margin-top: 60px;
    padding: 24px 20px;
  }

  .franchise-cta h2 {
    font-size: 1.5rem;
  }

  .franchise-cta p {
    font-size: 0.9rem;
  }

  .franchise-cta button {
    width: 100%;
    padding: 14px 0;
  }
}

/* ================= ECOSYSTEM HEADER ================= */
.eco-header {
  text-align: center;
  margin: 160px auto 80px;
  max-width: 900px;
}

.eco-header h1 {
  font-size: 3rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.eco-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.eco-step[data-index="0"] .eco-content {
  margin-right: -1100px !important;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -999;
  pointer-events: none;
  /* background: radial-gradient(circle at top, #0b1220, #060b14); */
  background: black;
}

/* service icons */

/* ================= SERVICES PAGE ================= */
#services {
  padding: 10px 40px 160px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ================= HEADER ================= */
#services .content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 80px;
}

#services .content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

#services .content p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ================= GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
  margin-top: 50px;
}

/* ================= SERVICE CARD ================= */
.service-card {
  position: relative;
  padding: 42px 36px;
  border-radius: 26px;
  border: 1px solid var(--border-glass);
  /* box-shadow: var(--shadow-soft); */
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  overflow: hidden;
}

/* Subtle light sweep */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.06),
      transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Hover elevation */
.service-card:hover {
  transform: translateY(-14px) scale(1.02);
  border-color: var(--border-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}

/* ================= TITLE ================= */
.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: var(--text-primary);
  font-weight: 700;
}

/* ================= TAG ================= */
.service-card .tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--hover-bg);
  color: var(--text-primary);
  margin-bottom: 18px;
  border: 1px solid var(--border-glass);
}

/* ================= LIST ================= */
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.service-card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Custom bullet */
.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-primary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  #services {
    padding: 90px 20px 120px;
  }

  #services .content h1 {
    font-size: 2.4rem;
  }

  .service-card {
    padding: 32px 26px;
  }
}

/* auth login ecosystem */


/* 
.auth-shell {
  width: 820px;
  height: 460px;
  display: flex;
  margin-top:290px;
  margin-left:300px;
  
  border: 1px solid rgba(255,255,255,0.2);
}

.auth-info {
  width: 40%;
  
  padding: 3rem;
  background:transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-info h1 {
  letter-spacing: 0.4em;
  font-weight: 500;
}

.auth-info p {
  color: #aaa;
  line-height: 1.6;
}

.auth-info button {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  font-weight: 500;
}

.auth-form {
  width: 60%;
  background: #fff;
  color: #000;
  position: relative;
  overflow: hidden;
}

.form {
  position: absolute;
  inset: 0;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  visibility: hidden;
  pointer-events: none;
}

.form.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.form h2 {
  margin-bottom: 1rem;
  font-weight: 500;
}

.form input {
  padding: 0.7rem;
  border: none;
  border-bottom: 1px solid #000;
  outline: none;
}

.form button {
  margin-top: 1rem;
  padding: 0.8rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.switch {
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  margin-top: auto;
}
.auth-logo{
  width:120px;
  height:120px;
  margin-left:50px;
}
.cart-container {
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  margin-top:150px;
  margin-bottom:100px;
  background: rgba(255,255,255,0.05);
  border-radius:20px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
} */


.auth-shell {
  max-width: 1100px;
  margin: 2rem auto;
  padding: clamp(1rem, 3vw, 2rem);

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);

  border: 1px solid var(--border-glass);
  border-radius: 24px;
  background: var(--bg-panel);
}

.auth-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-info {
  text-align: center;
}

.auth-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

.auth-logo {
  width: clamp(120px, 25vw, 180px);
  margin: 1rem auto;
}

.auth-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

#switchBtn,
#adminBtn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  margin: 0.5rem auto;
}

#switchBtn:hover,
#adminBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(122, 162, 255, .4);
}

/* ================= FORMS ================= */
.form {
  display: none;
}

.form.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  color: white;
}

.form input {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--border-glass);
  color: var(--text);
}

.form input:focus {
  outline: none;
  border-color: var(--primary);
}

.form button {
  margin-top: 0.5rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.switch {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* ================= ADMIN DASHBOARD ================= */
.admin-dashboard {
  display: none;
  min-height: 100vh;
}

.admin-dashboard.active {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
}

/* ================= SIDEBAR ================= */
.admin-sidebar {
  border-right: 1px solid var(--border-glass);
  padding: 2rem 1rem;
}

.sidebar-header h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-menu a {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
  background: rgba(122, 162, 255, .15);
  color: var(--text);
}

/* ================= ADMIN MAIN ================= */
.admin-main {
  padding: clamp(1rem, 3vw, 2.5rem);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;

  padding: 1.5rem;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

.admin-actions button {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
}

/* ================= STATS ================= */
.stats-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.stat-card {
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
}

.stat-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ================= CONTENT ================= */
.content-section {
  display: none;
  margin-top: 2rem;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
}

.content-section.active {
  display: block;
}

/* ================= TABLE ================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  min-width: 600px;
}

.data-table th,
.data-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
}

/* ================= FORMS ================= */
.admin-form {
  max-width: 520px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border-glass);
  color: var(--text);
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 900px) {
  .admin-dashboard.active {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
  }

  .sidebar-menu {
    flex-direction: row;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .auth-shell {
    margin: 1rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* about  */

/* ================= ABOUT SECTION ================= */
/* ================= ABOUT PAGE ================= */

#about.page {
  background: var(--bg-primary);
  padding-top: 80px;
  /* fixed header offset */
  padding-bottom: 20px;
}

/* Container */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.about-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 90px;
}

.about-header h2 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 22px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-header p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* Cards */

.about-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 36px 38px;
  margin-bottom: 50px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.about-card h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Grid (Vision & Mission) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px
}

.section {
  padding: 110px 0
}

h1,
h2,
h3 {
  font-weight: 800,
  ;
  color: white;
}

/* .card{
 background:var(--glass);
 border:1px solid var(--border-glass);
 border-radius:26px;
 padding:40px 30px;
 text-align:center;
 box-shadow:var(--shadow);
 transition:.45s;
}
.card:hover{transform:translateY(-10px)}
.icon{
 width:90px;height:90px;
 border-radius:50%;
 display:grid;place-items:center;
 margin:0 auto 20px;
 background:white;
 color:#050505;
 font-size:30px;
} */


/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-header {
    margin-bottom: 60px;
  }

  .about-container {
    padding: 0 24px;
  }
}

/* Reveal Animation Support */
/* #about .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

#about .reveal.active {
  opacity: 1;
  transform: translateY(0);
} */
/* ================= 7. CART PAGE ================= */

/* ================= CART PAGE ================= */

.cart-page {
  padding: 180px 0 120px;
  /* background: var(--bg-primary); */

}

.cart-container {
  max-width: 1300px;
  margin: 0 auto;
  margin-top: -140px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 60px;
}

/* LEFT */
.cart-items h2 {
  font-size: 2.6rem;
  margin-bottom: 40px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 30px;
  padding: 30px;
  margin-bottom: 30px;
  /* background: var(--bg-glass); */
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  /* backdrop-filter: blur(18px); */
  box-shadow: var(--shadow-soft);
}

.cart-item img {
  width: 120px;
  border-radius: 14px;
}

.cart-details h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.cart-meta {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Actions */
.cart-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  overflow: hidden;
}

.qty-control button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 8px 14px;
  cursor: pointer;
}

.qty-control span {
  padding: 0 14px;
  font-weight: 600;
}

.link-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.link-btn:hover {
  color: var(--text-primary);
}

.link-btn.danger:hover {
  color: #ff6b6b;
}

/* Price */
.cart-price {
  font-size: 1.3rem;
  font-weight: 700;
  align-self: start;
}

/* RIGHT */
.cart-summary {
  position: sticky;
  top: 180px;
  margin-top: 35px;
  height: fit-content;
  /* background: var(--bg-glass); */
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  padding: 40px;
  /* backdrop-filter: blur(20px); */
  box-shadow: var(--shadow-soft);
}

.cart-summary h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.summary-total {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
  margin-top: 30px;
}

/* Checkout */
.checkout-btn {
  width: 100%;
  margin-top: 30px;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--accent-gradient);
  color: #000;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.checkout-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.secure-note {
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .cart-container {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-price {
    text-align: right;
  }
}

/*notiafication */
/* ================= NOTIFICATION PANEL ================= */

.notify-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--bg-glass);
  border-left: 1px solid var(--border-glass);
  backdrop-filter: blur(18px);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
  z-index: 9998;
  transition: right 0.45s ease;
  display: flex;
  flex-direction: column;
}

.notify-panel.active {
  right: 0;
}

.notify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 28px;
  border-bottom: 1px solid var(--border-glass);
}

.notify-header h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
}

.notify-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.notify-list {
  padding: 20px;
  overflow-y: auto;
}

.notify-item {
  padding: 18px;
  border-radius: 16px;
  background: var(--hover-bg);
  margin-bottom: 16px;
  border: 1px solid var(--border-glass);
}

.notify-item.unread {
  border-left: 4px solid #4da6ff;
}

.notify-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.notify-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.notify-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}



/* ================= FILTER PANEL ================= */

/* .filter-panel {
  position: fixed;
  top: 0;
  margin-top:180px;
  margin-left: 1060px;
  right: -420px;
  width: 380px;
  height: 450px;
  border-radius:20px;  
   background: var(--bg-glass); 
  border-right: 1px solid var(--border-glass);
  backdrop-filter: blur(18px);
  box-shadow: 20px 0 50px rgba(0,0,0,0.5);
  z-index: 9998;
  transition: left 0.45s ease;
} */


/* ================= PREMIUM FILTER PANEL ANIMATION ================= */

.filter-panel {
  position: fixed;
  top: 0;
  margin-top: 230px;
  margin-left: 1060px;
  right: -420px;
  width: 380px;
  height: 450px;
  background: var(--bg-glass);
  border-right: 1px solid var(--border-glass);
  backdrop-filter: blur(18px);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;

  transition:
    transform 5.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 5.6s ease;

  z-index: 50;
}

.filter-panel.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.filter-panel {
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
}

.filter-panel:not(.active) {
  transition:
    transform 5.75s cubic-bezier(0.55, 0.06, 0.68, 0.19),
    opacity 0.4s ease;
}


.filter-panel.active {
  left: 0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 26px;
  margin-top: 0px;
  border-bottom: 1px solid var(--border-glass);
}

.filter-header h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
}

.filter-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-body {
  padding: 26px;
}

.filter-body label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.filter-body select,
.filter-body input[type="range"] {
  width: 100%;
  margin-top: 8px;
}

.filter-body select {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-primary);
}

.filter-body .check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.apply-filter {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  background: var(--accent-gradient);
  color: #000;
  border: none;
  font-weight: 600;
  cursor: pointer;
}


/* ================= FRANCHISE PANEL - FULLY CUSTOMIZABLE ================= */



/* ================= FRANCHISE PANEL - FIXED CLASS MISMATCH + TRANSPARENT ================= */

/* ================================
   OVERLAY (NO DARK BACKGROUND MOBILE)
================================ */
.franchise-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.franchise-overlay.active {
  display: flex;
}

/* ================================
   GLASS CONTAINER
================================ */
.franchise-glass {
  width: min(1200px, 92vw);
  height: min(85vh, 860px);
  display: flex;
  gap: 24px;
  padding: 22px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* ================================
   LEFT SIDE
================================ */
.franchise-info {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Video */
.franchise-video-box {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.franchise-video-box iframe {
  width: 100%;
  height: 100%;
}

/* Text */
.franchise-text {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.franchise-text h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.franchise-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ================================
   RIGHT SIDE (FORM)
================================ */
.franchise-form-area {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

/* Close Button INSIDE FORM */
.franchise-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.franchise-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Headings */
.franchise-form-area h2 {
  margin-top: 30px;
  margin-bottom: 14px;
  color: #fff;
}

/* ================================
   FORM
================================ */
.franchise-form {
  display: grid;
  gap: 18px;
}

.franchise-form input,
.franchise-form select,
.franchise-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
}

.franchise-form input:focus,
.franchise-form select:focus,
.franchise-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

.franchise-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit */
.franchise-form .submit-btn {
  margin-top: 26px;
  padding: 16px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
  background: linear-gradient(135deg, #ffffff, #d6dbff);
  cursor: pointer;
}

.franchise-form .submit-btn:hover {
  transform: translateY(-2px);
}

/* Scrollbar polish */
.franchise-form-area::-webkit-scrollbar {
  width: 6px;
}

.franchise-form-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
}

/* ================================
   MOBILE ONLY LAYOUT CHANGE
================================ */
@media (max-width: 768px) {

  /* Remove overlay feel */
  .franchise-overlay {
    padding: 0;
  }

  .franchise-glass {
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 16px;
  }

  .franchise-info {
    width: 100%;
  }

  .franchise-video-box {
    width: 100%;
  }

  .franchise-form-area {
    width: 100%;
    padding: 20px;
  }

  /* Close button still visible */
  .franchise-close {
    top: 12px;
    right: 12px;
  }
}




/*value card */
/* ============================
   VISION & MISSION SECTION
============================ */

.vision-mission {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.vision-mission::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 70%);
  animation: rotate 30s linear infinite;
}

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

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

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* ============================
   VISION / MISSION CARDS
============================ */

.vm-card {
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.vm-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-strong);
}

.vm-card:hover::before {
  transform: scaleX(1);
}

.vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: black;
}

.vm-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.vm-card p {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================
   CORE VALUES
============================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  /* background: var(--bg-glass); */
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  /* box-shadow: var(--shadow-soft); */
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  /* backdrop-filter: blur(16px); */
}

.value-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0.06;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.value-card:hover::after {
  transform: translateY(0);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: black;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.value-card h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 900px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}



/* about first*/


/* =========================================================
   GLOBAL ABOUT PAGE FOUNDATION
========================================================= */



#about {
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  padding: 120px 20px 80px;
}

/* =========================================================
   ABOUT HEADER
========================================================= */

.about-header {
  max-width: 780px;
  margin-bottom: 80px;
}

.about-header h2 {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-header p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* =========================================================
   ABOUT CARDS (WHO WE ARE, HISTORY, VISION, MISSION)
========================================================= */

.about-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px 34px;
  margin-bottom: 28px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  position: relative;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.06),
      transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

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

.about-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* =========================================================
   ABOUT GRID (VISION / MISSION)
========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* =========================================================
   HERO SECTION
========================================================= */

.about-hero {
  position: relative;
  padding: 0px 0 140px;
  background: radial-gradient(circle at top,
      rgba(255, 255, 255, 0.08),
      transparent 60%),
    var(--bg-secondary);
  margin-top: -70px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
  margin: auto;
}

/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 70px;
}

.stat-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  transition: all 0.35s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 6px;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================================
   CONTENT SECTIONS
========================================================= */

.section {
  padding: 10px 0;
  margin-bottom: 50px;
  padding-top: 10px;
  margin-top: 20px;

}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========================================================
   IMAGE + STORY BLOCK
========================================================= */

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  display: block;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.highlight-box {
  background: var(--bg-glass);
  border-left: 4px solid currentColor;
  padding: 22px;
  border-radius: 14px;
  margin-top: 28px;
  font-size: 0.95rem;
}

/* =========================================================
   VISION / MISSION CARDS
========================================================= */

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.vm-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 44px;
  transition: all 0.4s ease;
}

.vm-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
}

.vm-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.vm-title {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

/* =========================================================
   CORE VALUES
========================================================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.value-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 34px;
  text-align: center;
  transition: all 0.35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
}

/* =========================================================
   TEAM SECTION
========================================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-image {
  height: 220px;
  /* background: var(--accent-gradient); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.team-info {
  padding: 22px;
  text-align: center;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.team-role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================================
   CTA
========================================================= */

.cta-section {
  padding: 0px 0;
  /* background: var(--accent-gradient); */
  text-align: center;
  border-radius: 20px;

}

.cta-title {
  font-size: clamp(2.6rem, 5vw, 3.3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 26px;
  background: transparent;
}

.cta-button {
  display: inline-block;
  padding: 20px 42px;
  margin-top: 20px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s ease;
}

.cta-button:hover {
  transform: translateY(-4px);
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal,
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}

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

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .about-grid,
  .vm-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }
}


/* services updated css*/


/* =========================================================
   SERVICE HERO
========================================================= */

.srv-hero {
  position: relative;
  min-height: 30vh;
  display: flex;
  margin-top: -50px;
  border-radius: 20px;
  align-items: center;
  overflow: hidden;
  /* background: var(--bg-primary); */
  color: var(--text-primary);
}

.srv-hero__bg {
  position: absolute;
  inset: 0;
  /* background: var(--accent-gradient); */
  opacity: 0.85;
}

.srv-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.srv-hero__content {
  position: relative;
  margin-top: -50px;
  z-index: 2;
  max-width: 2000px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 250px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
}

.srv-hero__kicker {
  display: inline-block;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--border-glass);
}

.srv-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.srv-hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

/* =========================================================
   HERO STATS
========================================================= */

.srv-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat .count {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
}

.stat label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.srv-hero__cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  gap: 10px;
  font-size: 18px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* =========================================================
   SERVICE CATALOG
========================================================= */
/* =========================================================
   SERVICE CATALOG
========================================================= */
/* =========================================================
   SERVICE CATALOG SECTION
========================================================= */
.srv-catalog {
  padding: 80px 0;
  background: transparent;
}

.srv-catalog .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   SERVICE CARD
========================================================= */
.srv-card {
  background: var(--bg-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  transition: all 0.4s ease;
}

.srv-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   CARD HEADER
========================================================= */
.srv-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
}

.srv-card__icon {
  width: 60px;
  height: 60px;
  background: var(--hover-bg-strong);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.srv-card-h2 {
  font-size: 1.35rem;
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.srv-card__tag {
  font-size: 0.85rem;
  opacity: 0.8;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

/* =========================================================
   CARD BODY
========================================================= */
.srv-card__body {
  padding: 28px;
}

.srv-card__body>p {
  margin-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* =========================================================
   FEATURES – RESPONSIVE GRID (MAIN FIX)
========================================================= */
.srv-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 24px 0 20px;
}

.feature-column h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.feature-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.feature-column li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.feature-column li::before {
  content: "✓";
  color: #64c8ff;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* =========================================================
   CARD FOOTER
========================================================= */
.srv-card__footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 28px 28px;
}

.read-more-btn {
  background: transparent;
  color: var(--text-primary);
  padding: 10px 28px;
  border-radius: 30px;
  border: 1.5px solid var(--border-glass);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: var(--hover-bg-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */

/* Large Tablets */
@media (max-width: 1024px) {
  .srv-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .srv-card__header,
  .srv-card__body,
  .srv-card__footer {
    padding: 24px;
  }
}

/* Small Tablets */
@media (max-width: 768px) {
  .srv-catalog {
    padding: 60px 0;
  }

  .srv-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .srv-card-h2 {
    font-size: 1.25rem;
  }

  .srv-card__icon {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }
}

/* Mobile Phones */
@media (max-width: 600px) {
  .srv-features {
    grid-template-columns: 1fr;
    gap: 28px;
    /* Vertical spacing between stacked columns */
  }

  .srv-card__header {
    padding: 20px;
    gap: 14px;
  }

  .srv-card__body {
    padding: 20px;
  }

  .srv-card__footer {
    padding: 0 20px 24px;
  }

  .srv-card-h2 {
    font-size: 1.15rem;
  }

  .srv-card__icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .feature-column h4 {
    font-size: 1.05rem;
  }

  .feature-column li {
    font-size: 0.95rem;
  }

  .read-more-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* Extra Small Phones */
@media (max-width: 480px) {
  .srv-catalog .container {
    padding: 0 16px;
  }

  .srv-features {
    gap: 24px;
  }

  .srv-card {
    margin-bottom: 32px;
  }
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* franchise always visible form*/



.franchise-system {
  background: var(--bg-strong);
  color: #fff;
  /* border:2px solid var(--border-strong); */
  border-radius: 50px;
  padding: 2rem 5%;
  max-width: 1350px;
  margin: auto;
  font-family: Inter, system-ui, sans-serif;
}

.franchise-system h2 {
  font-size: 2.4rem;
  font-weight: 500;
  color: white;
}


/* ===============================
   MAIN WRAPPER
================================ */
.tp-franchise-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(1px);
  box-sizing: border-box;
}

/* ===============================
   LEFT PANEL
================================ */
.tp-franchise-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* VIDEO */
.tp-franchise-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.tp-franchise-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* INTRO TEXT */
.tp-franchise-heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 10px;
}

.tp-franchise-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ===============================
   RIGHT PANEL
================================ */
.tp-franchise-right {
  flex: 1;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
}

.tp-franchise-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 6px;
}

.tp-franchise-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 20px;
}

/* ===============================
   FORM
================================ */
.tp-franchise-form {
  display: grid;
  gap: 14px;
}

.tp-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tp-form-group label {
  font-size: 0.85rem;
  opacity: 0.85;
}

.tp-form-group input,
.tp-form-group select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
}

.tp-form-group input::file-selector-button {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* CHECKBOX */
.tp-checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

/* SUBMIT BUTTON */
.tp-submit-btn {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.tp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(79, 70, 229, .4);
}

/* ===============================
   TABLET
================================ */
@media (max-width: 900px) {
  .tp-franchise-wrapper {
    flex-direction: column;
  }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 480px) {

  .tp-franchise-wrapper {
    padding: 12px;
    gap: 20px;
  }

  .tp-franchise-video {
    border-radius: 14px;
  }

  .tp-franchise-right {
    padding: 20px 19px;
  }

  .tp-submit-btn {
    width: 100%;
  }
}

/* ===============================
   MOBILE INPUT WIDTH FIX
================================ */
@media (max-width: 480px) {

  /* Ensure all elements calculate width correctly */
  .tp-franchise-wrapper *,
  .tp-franchise-wrapper *::before,
  .tp-franchise-wrapper *::after {
    box-sizing: border-box;
  }

  /* Force inputs to stay inside container */
  .tp-form-group input,
  .tp-form-group select {
    width: 100%;
    max-width: 100%;
  }

  /* Fix file input overflow */
  .tp-form-group input[type="file"] {
    font-size: 0.8rem;
  }

  .tp-form-group input::file-selector-button {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
}








.sub {
  margin: 1rem 0 3rem;
  color: #aaa;
}

.franchise-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bbb;
}

input,
select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  outline: none;
}

option {
  background-color: #f9f7f7;
  color: #090909;
}

input::placeholder {
  color: #666;
}

.checkbox {
  flex-direction: row;
  /* align-items: center; */
  /* gap: 0.6rem; */
  font-size: 0.75rem;
  margin-left: -550px;
}

.form-group span {
  margin-left: -550px;

}

.submit-btn {
  margin-top: 2rem;
  padding: 0.9rem;
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

/* google maps*/

.home-contact {
  border-radius: 20px;
}

.map-wrapper {
  width: 100%;
  max-width: 1200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  margin-top: 0px;
  padding-bottom: 20px;
  height: 300px;
}

/* slider */


.tatito-slider {
  max-width: 640px;
  margin: auto;
  padding: 0px 20px;
  text-align: center;
  font-family: system-ui, sans-serif;
  background: var(--bg-secondary);
}

.slide ul {
  border: 2px solid var(--border-strong);
  border-radius: 20px;
}

/* Slides */
.slide {
  display: none;
}

.slide.active {
  display: block;
}

/* Title */
.tatito-slider h2 {
  font-size: 32px;
  color: var(--text-primary);
}

/* Image */
.slide-img {
  width: 100%;
  max-width: 240px;
  margin: 24px auto;
  border-radius: 18px;
  display: block;
  box-shadow: var(--shadow-soft);
  background: var(--bg-primary);
}

/* Subtitle */
.subtitle {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Feature List */
.features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.features li {
  margin: 12px 0;
  color: var(--text-primary);
  font-size: 16px;
}

.features li::before {
  content: "✓";
  color: var(--text-primary);
  margin-right: 10px;
  font-weight: bold;
  opacity: 0.7;
}

/* CTA Button */
.cta {
  background: var(--accent-gradient);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.cta:hover {
  background: var(--hover-bg-strong);
  transform: translateY(-1px);
}

/* Navigation */
.slider-nav {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

/* Arrow Buttons */
.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-secondary);
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--hover-bg);
  transform: scale(1.05);
}

/* Dots */

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--text-primary);
  opacity: 1;
}

/* ======  CHAT WINDOW  ====== */
/* ======  CHAT WINDOW  ====== */
/* ======  CHAT WINDOW  ====== */
/* ======  CHAT WINDOW  ====== */
/* ====== CHAT TOGGLE BUTTON ====== */
#chatToggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--border-glass);
  color: #fdfbfb;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

#chatToggle:hover {
  transform: scale(1.1);
}

/* ====== CHAT WINDOW ====== */
.chat-window {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  max-width: 90vw;

  background: linear-gradient(130deg, rgba(10, 6, 6, 0.929));
  backdrop-filter: blur(22px) saturate(140%);
  /* -webkit-backdrop-filter: blur(22px) saturate(140%); */

  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);

  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9998;

  transform: translateY(20px) scale(.95);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
}

.chat-window.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* ====== HEADER ====== */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-glass);
  background: transparent;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-primary);
}

.chat-status {
  font-size: .75rem;
  color: #6ab04c;
}

#chatClose {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ====== MESSAGES ====== */
.chat-messages {
  height: 180px;
  /* or vh based */
  overflow-y: auto;
  /* enable vertical scroll */
  overflow-x: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  /* optional smooth feel */
  scroll-behavior: smooth;
}


.bot-msg,
.user-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .9rem;
  line-height: 1.4;
  animation: fadeIn .3s ease;
}

/* Bot Message */
.bot-msg {
  background: var(--hover-bg);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  /* backdrop-filter: blur(10px); */
}

/* User Message */
.user-msg {
  background: var(--accent-gradient);
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ====== INPUT ====== */
.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-glass);
  background: transparent;
}

.chat-input input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-primary);
  outline: none;
}

.chat-input input::placeholder {
  color: var(--text-muted);
}

.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease;
}

.chat-input button:hover {
  transform: scale(1.1);
}

/* ====== ANIMATION ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 480px) {
  .chat-window {
    right: 12px;
    left: 12px;
    width: auto;
  }
}



/* music bro */
.music-mini {
  position: fixed;
  bottom: 20px;
  left: 20px;
  /* ✅ right side */

  display: flex;
  gap: 6px;

  padding: 6px 8px;
  border-radius: 14px;

  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);

  z-index: 9999;
  opacity: 0.25;
  /* 👻 idle fade */
  transition: opacity .3s, transform .3s;
}

/* Show on hover */
.music-mini:hover {
  opacity: 1;
  transform: scale(1.03);
}

.music-mini button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;

  background: var(--accent-gradient);
  color: #000;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: box-shadow .2s, transform .2s;
}

/* ✨ Icon glow */
.music-mini button:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}



/* =========  NEXUS SHOWCASE STYLES  ========= */


.nexus-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
  /* border:2px solid white; */
  background: radial-gradient(circle at center, rgba(255, 255, 255, .02), transparent 60%);
}

.nexus-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px 32px 32px;
  backdrop-filter: blur(0px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.nexus-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 60%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

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

/* ===============================
   NEXUS HEADER
================================ */
/* ===============================
   NEXUS HEADER WRAPPER
================================ */
.nexus-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  text-align: center;
}

/* ===============================
   TOP ROW (IMAGE + TITLE)
================================ */
.nexus-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===============================
   LOGO IMAGE
================================ */
.nexus-feather {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===============================
   TITLE
================================ */
.nexus-top h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
}

/* ===============================
   TAGLINE
================================ */
.nexus-tagline {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: #c7d2fe;
  max-width: 640px;
  line-height: 1.5;
  margin: 0;
}

/* ===============================
   TABLET
================================ */
@media (max-width: 768px) {
  .nexus-feather {
    width: 44px;
    height: 44px;
  }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 480px) {
  .nexus-header {
    padding: 20px 16px;
  }

  .nexus-feather {
    width: 38px;
    height: 38px;
  }

  .nexus-top h1 {
    font-size: 1.5rem;
  }

  .nexus-tagline {
    font-size: 0.9rem;
  }
}

/* pills */
.nexus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.nexus-pills li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--hover-bg);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  font-size: .85rem;
  color: var(--text-primary);
}

/* ===============================
   3D SHOWCASE – FULL RESPONSIVE
================================ */

/* container */
.showcase-3d {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1200px;
  padding: clamp(1rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

/* track */
.showcase-track {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.2, .8, .2, 1);
}

/* section title */
.showcase-track>h2 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

/* slide */
.showcase-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.2rem, 3vw, 2.5rem);
  border-radius: 24px;

  background: rgba(30, 35, 70, 0);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(110, 86, 255, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .45);

  opacity: 0;
  transform: translateX(120px) rotateY(20deg);
  transition: all 0.6s cubic-bezier(.2, .8, .2, 1);
}

/* active slide */
.showcase-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0) rotateY(0);
  z-index: 2;
}

/* previous slide */
.showcase-slide.prev {
  opacity: 0;
  transform: translateX(-120px) rotateY(-20deg);
  z-index: 1;
}

/* visual */
.slide-visual {
  flex-shrink: 0;
  width: clamp(140px, 28vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .45);
}

/* image */
.slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* content */
.slide-body {
  flex: 1;
  min-width: 0;
}

.slide-body h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin: 0 0 .4rem;
  color: var(--text-primary);
}

.slide-body p {
  font-size: clamp(.9rem, 2.4vw, 1rem);
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.slide-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.slide-body li {
  font-size: clamp(.8rem, 2.2vw, .95rem);
  color: var(--text-secondary);
  margin-bottom: .4rem;
  padding-left: 1.2rem;
  position: relative;
}

.slide-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-weight: 700;
}

/* CTA */
.slide-cta {
  display: inline-block;
  padding: .7rem 1.8rem;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.slide-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}

/* ===============================
   CONTROLS
================================ */

.showcase-controls {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hover-bg);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all .3s ease;
}

.ctrl-btn:hover {
  transform: scale(1.1);
  background: var(--hover-bg-strong);
}

.ctrl-dots {
  display: flex;
  gap: .5rem;
}

.ctrl-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all .3s ease;
  cursor: pointer;
}

.ctrl-dots .dot.active {
  width: 24px;
  border-radius: 6px;
  background: var(--text-primary);
}

/* ===============================
   MOBILE & TABLET
================================ */

@media (max-width: 900px) {
  .showcase-slide {
    flex-direction: column;
    text-align: center;
  }

  .slide-visual {
    width: clamp(120px, 45vw, 200px);
  }

  .slide-body ul {
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .showcase-3d {
    padding: 1rem;
  }

  .slide-visual {
    width: 100%;
    max-width: 220px;
  }

  .slide-body h2 {
    font-size: 1.3rem;
  }

  .slide-body p {
    font-size: .9rem;
  }
}

/* ===============================
   FOOTER CONNECT / APPROVALS
================================ */

.footer-connect {
  padding: clamp(60px, 8vw, 120px) 0;
  background: linear-gradient(to top,
      rgba(255, 255, 255, 0.02),
      transparent);
}

.connect-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ===============================
   APPROVAL GRID (DESKTOP FIRST)
================================ */

.footer-approvals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   INDIVIDUAL BOX
================================ */

.footer-box {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  /* backdrop-filter: blur(12px); */
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.footer-box:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* ===============================
   TITLES
================================ */

.footer-box h4 {
  margin-bottom: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
}

/* ===============================
   LOGOS ROW
================================ */

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
}

/* LOGOS */
.footer-logos img {
  max-height: 44px;
  max-width: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-logos img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================ */

/* Tablets */
@media (max-width: 1024px) {
  .footer-approvals {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-logos {
    flex-wrap: wrap;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer-approvals {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-box {
    padding: 20px 16px;
  }

  .footer-logos img {
    max-height: 38px;
    max-width: 80px;
  }
}

/* contact pop up*/
.tatito-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999
}

.tatito-modal.active {
  display: block
}

.tatito-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(6px)
}

.tatito-popup {
  position: relative;
  max-width: 950px;
  margin: 5vh auto;
  border: 1px solid var(--border-glass);

  background: transparent;
  border-radius: 22px;
  padding: 40px;
  animation: pop .4s ease
}

@keyframes pop {
  from {
    transform: scale(.85);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

.tatito-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer
}

h2 {
  margin: 0;
  font-size: 2rem;
  background: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent
}

p {
  opacity: .85
}

.tatito-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px
}

.tatito-card {
  padding: 22px;
  border-radius: 18px;
  background: transparent;
  transition: .35s;
  border: 1px solid var(--border-glass);

}

.tatito-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(120, 150, 255, .25)
}

.tatito-card h3 {
  margin: 0 0 10px
}

.tatito-card a {
  display: block;
  margin-top: 7px;
  color: #9bb5ff;
  text-decoration: none;
  font-size: .95rem
}

@media(max-width:600px) {
  .tatito-popup {
    margin: 0;
    border-radius: 0;
    min-height: 100vh
  }
}




/* footer section */
/* ========== Footer Policy Pages Only ========== */
.legal-page {
  position: relative;
  max-width: 800px;
  margin-top: 250px;
  margin-left: 300px;
  padding: 48px 56px;
  border: 1px solid var(--border-glass, rgba(255 255 255 / .08));
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0 0 0 / .25);
  color: var(--text-primary, #fff);
  line-height: 1.7;
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-page h1 {
  font-size: 2.4rem;
  margin: 0 0 24px;
  text-align: center;
  background: var(--accent-gradient, linear-gradient(135deg, #64c8ff, #a855f7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-page h3 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.legal-page p,
.legal-page li {
  font-size: 1.05rem;
  color: var(--text-secondary, #cbd5e1);
}

.legal-page ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal-page a {
  color: #64c8ff;
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-primary, #fff);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
}

.legal-close:hover {
  transform: scale(1.2);
}

/* temp*/