/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #1f2937;
  line-height: 1.6;
}

/* Navigation Styles */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
}

.nav-main.scrolled {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-main.nav-transparent {
  background: transparent !important;
  box-shadow: none !important;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  min-height: 90px;
}

/* Adjust nav height for larger screens */
@media (min-width: 1024px) {
  .nav-content {
    height: 100px;
    min-height: 100px;
  }
}

/* Adjust nav height for mobile */
@media (max-width: 767px) {
  .nav-content {
    height: 75px;
    min-height: 75px;
  }
}

@media (max-width: 480px) {
  .nav-content {
    height: 70px;
    min-height: 70px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.nav-logo-icon {
  position: relative;
}

.nav-brain-icon {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  color: white;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.nav-main.scrolled .nav-brain-icon {
  color: #9333ea;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  transition: all 0.3s ease;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-main.scrolled .nav-logo-text {
  color: #111827;
}

.nav-menu-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu-desktop {
    display: flex;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-menu-desktop {
    gap: 0.75rem;
  }
  .nav-link,
  .nav-dropdown-trigger {
    font-size: 0.85rem;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
  font-weight: 500;
}

.nav-main.scrolled .nav-link {
  color: #374151;
}

.nav-link:hover {
  transform: scale(1.05);
}

.nav-main.scrolled .nav-link:hover {
  color: #9333ea;
}

.nav-link.active {
  font-weight: bold;
}

.nav-icon {
  width: 16px;
  height: 16px;
}

.nav-link-button {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
}

.nav-main.scrolled .nav-link-button {
  background: #e5e7eb;
  color: #374151;
}

.nav-link-primary {
  background: white;
  color: #9333ea;
}

.nav-main.scrolled .nav-link-primary {
  background: #9333ea;
  color: white;
}

.nav-mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
}

.nav-main.scrolled .nav-mobile-toggle {
  color: #111827;
}

@media (min-width: 1024px) {
  .nav-mobile-toggle {
    display: none;
  }
}

/* ─── Mobile Menu Slide‑in Animations ─── */
@keyframes mobSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mobFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes mobPulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(139, 92, 246, 0.15); }
  50%      { box-shadow: 0 0 18px rgba(139, 92, 246, 0.35); }
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(165deg, #0f0a2a 0%, #1a1145 40%, #231460 100%);
  box-shadow: -12px 0 50px rgba(0, 0, 0, 0.5);
  z-index: 100;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.nav-mobile-menu.show {
  display: flex;
  right: 0;
}

/* Backdrop */
.nav-mobile-menu.show ~ .mob-backdrop,
.nav-mobile-menu.show::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
  animation: mobFadeIn 0.3s ease;
}

/* Branded header */
.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(79, 70, 229, 0.15) 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
  flex-shrink: 0;
  animation: mobSlideIn 0.3s ease both;
}

.mob-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mob-brand-img {
  height: 36px;
  max-height: 36px;
  width: auto;
  max-width: 120px;
  filter: brightness(1.3) saturate(1.1);
  object-fit: contain;
}

.mob-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #e0d4fd;
  letter-spacing: 1.5px;
  text-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.mob-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  color: rgba(224, 212, 253, 0.9);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mob-close:hover {
  background: rgba(139, 92, 246, 0.3);
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
}

/* Scrollable content */
.mob-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 28px;
  -webkit-overflow-scrolling: touch;
}

/* Main links */
.mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  text-decoration: none;
  color: rgba(209, 196, 233, 0.85);
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: 14px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 3px;
  animation: mobSlideIn 0.35s ease both;
}

/* Staggered entry for each link */
.mob-scroll > .mob-link:nth-child(1) { animation-delay: 0.05s; }
.mob-scroll > .mob-link:nth-child(2) { animation-delay: 0.1s; }
.mob-scroll > .mob-link:nth-child(3) { animation-delay: 0.15s; }
.mob-scroll > .mob-link:nth-child(4) { animation-delay: 0.2s; }
.mob-scroll > .mob-link:nth-child(5) { animation-delay: 0.25s; }
.mob-scroll > .mob-link:nth-child(6) { animation-delay: 0.3s; }
.mob-scroll > .mob-section:nth-child(3) { animation: mobSlideIn 0.35s 0.15s ease both; }
.mob-scroll > .mob-section:nth-child(5) { animation: mobSlideIn 0.35s 0.25s ease both; }
.mob-scroll > .mob-auth { animation: mobSlideIn 0.35s 0.35s ease both; }

.mob-link:hover,
.mob-link:active {
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
  transform: translateX(4px);
}

.mob-link.mob-active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(147, 51, 234, 0.15));
  color: #c4b5fd;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.25);
  animation: mobPulseGlow 3s ease-in-out infinite;
}

.mob-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.1);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mob-link-icon svg {
  width: 18px;
  height: 18px;
  color: rgba(167, 139, 250, 0.7);
  transition: all 0.25s;
}

.mob-link.mob-active .mob-link-icon,
.mob-link:hover .mob-link-icon {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  border-color: transparent;
  box-shadow: 0 4px 14px -3px rgba(124, 58, 237, 0.5);
}

.mob-link.mob-active .mob-link-icon svg,
.mob-link:hover .mob-link-icon svg {
  color: white;
}

/* Collapsible sections */
.mob-section {
  margin: 4px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.mob-section.open {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.15);
}

.mob-section-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.925rem;
  font-weight: 600;
  color: rgba(209, 196, 233, 0.9);
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.mob-section-toggle:hover,
.mob-section-toggle:active {
  background: rgba(139, 92, 246, 0.1);
  transform: translateX(4px);
}

.mob-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.mob-section-icon svg {
  width: 18px;
  height: 18px;
}

.mob-section-icon.about {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(139, 92, 246, 0.15));
  color: #a78bfa;
}

.mob-section-icon.dementia {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(99, 102, 241, 0.15));
  color: #818cf8;
}

.mob-section.open .mob-section-icon {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  box-shadow: 0 4px 14px -3px rgba(124, 58, 237, 0.5);
}

.mob-section.open .mob-section-icon svg {
  color: white;
}

.mob-section-label {
  flex: 1;
  text-align: left;
}

.mob-chevron {
  width: 18px;
  height: 18px;
  color: rgba(156, 163, 175, 0.5);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
  flex-shrink: 0;
}

.mob-section.open .mob-chevron {
  transform: rotate(180deg);
  color: #a78bfa;
}

/* Section links container */
.mob-section-links {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0 6px;
}

.mob-section.open .mob-section-links {
  max-height: 600px;
}

/* Sub-links */
.mob-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 20px;
  text-decoration: none;
  color: rgba(196, 181, 253, 0.7);
  font-size: 0.865rem;
  font-weight: 450;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 2px;
}

.mob-sub svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(167, 139, 250, 0.4);
  transition: all 0.25s;
}

.mob-sub:hover,
.mob-sub:active {
  background: rgba(139, 92, 246, 0.1);
  color: #c4b5fd;
  transform: translateX(4px);
}

.mob-sub:hover svg {
  color: #a78bfa;
}

.mob-sub.mob-active {
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.2);
}

.mob-sub.mob-active svg {
  color: #a78bfa;
}

/* Auth section */
.mob-auth {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.mob-signout {
  color: #fca5a5;
}

.mob-signout:hover,
.mob-signout:active {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

.mob-signout .mob-link-icon {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.15);
}

.mob-signout .mob-link-icon svg {
  color: #f87171;
}

.mob-signout:hover .mob-link-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 14px -3px rgba(239, 68, 68, 0.4);
}

.mob-signout:hover .mob-link-icon svg {
  color: white;
}

/* Auth buttons (Register / Login) */
.mob-auth-buttons {
  display: flex;
  gap: 10px;
  padding: 6px 0;
}

.mob-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mob-btn svg {
  width: 18px;
  height: 18px;
}

.mob-btn-outline {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.mob-btn-outline:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -4px rgba(139, 92, 246, 0.3);
}

.mob-btn-primary {
  color: white;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6, #a78bfa);
  background-size: 200% 200%;
  border: none;
  box-shadow: 0 4px 18px -4px rgba(124, 58, 237, 0.5);
  animation: mobGradientShift 4s ease infinite;
}

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

.mob-btn-primary:hover {
  box-shadow: 0 8px 28px -4px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px) scale(1.02);
}

/* Navigation Dropdown Styles */
.nav-dropdown-container {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-main.scrolled .nav-dropdown-trigger {
  color: #374151;
}

.nav-main.scrolled .nav-dropdown-trigger:hover {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.nav-dropdown-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.nav-dropdown-container:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* Invisible bridge to prevent gap issues */
.nav-dropdown-container::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1rem;
}

/* ===== MEGA MENU ===== */
.nav-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 740px;
  background: white;
  border-radius: 1.25rem;
  box-shadow:
    0 25px 60px -12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(147, 51, 234, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 1.5rem;
  border: 1px solid rgba(147, 51, 234, 0.08);
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 0;
}

.nav-mega-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
  filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.04));
}

.nav-dropdown-container:hover .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mega Menu Columns */
.mega-col {
  padding: 0.5rem 1rem;
}

.mega-col:not(:last-child) {
  border-right: 1px solid #f3e8ff;
}

.mega-col-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #f3e8ff;
}

.mega-col-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-col-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.mega-col-icon.learn {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #7c3aed;
}

.mega-col-icon.tools {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: #4f46e5;
}

.mega-col-icon.qualification {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
}

.mega-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

/* Mega Menu Items */
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.65rem;
  color: #374151;
  text-decoration: none;
  border-radius: 0.65rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.mega-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mega-item:hover {
  transform: translateX(4px);
}

.mega-item:hover::before {
  opacity: 1;
}

.mega-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f9fafb;
  color: #6b7280;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.mega-item-icon svg {
  width: 1rem;
  height: 1rem;
}

.mega-item:hover .mega-item-icon {
  background: linear-gradient(135deg, #9333ea, #c026d3);
  color: white;
  transform: scale(1.1);
}

.mega-item-text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.mega-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.mega-item:hover .mega-item-title {
  color: #7c3aed;
}

.mega-item-desc {
  font-size: 0.68rem;
  color: #9ca3af;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.mega-item.active {
  background: linear-gradient(135deg, #9333ea, #c026d3);
}

.mega-item.active::before {
  display: none;
}

.mega-item.active .mega-item-title {
  color: white;
}

.mega-item.active .mega-item-desc {
  color: rgba(255, 255, 255, 0.8);
}

.mega-item.active .mega-item-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Qualification Highlight Card */
.mega-highlight-card {
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #fef9c3, #fef3c7, #fde68a);
  border: 1px solid rgba(217, 119, 6, 0.15);
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mega-highlight-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 70%
  );
  transition: all 0.5s ease;
}

.mega-highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(217, 119, 6, 0.25);
}

.mega-highlight-card:hover::after {
  top: -30%;
  right: -30%;
}

.mega-highlight-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.mega-highlight-desc {
  font-size: 0.7rem;
  color: #a16207;
  margin-top: 0.35rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.mega-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.65rem;
  background: rgba(146, 64, 14, 0.12);
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #92400e;
  position: relative;
  z-index: 1;
}

/* Mobile Section Styles */
.nav-mobile-section {
  padding: 0.5rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin: 0.5rem 0;
}

.nav-mobile-section-title {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9333ea;
}

.nav-mobile-link-sub {
  padding-left: 2rem;
  font-size: 0.875rem;
}

/* Mega menu responsive */
@media (max-width: 1100px) {
  .nav-mega-menu {
    width: 600px;
    grid-template-columns: 1fr 1fr;
  }
  .mega-col:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid #f3e8ff;
    padding-top: 1rem;
    margin-top: 0.5rem;
  }
  .mega-col:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 900px) {
  .nav-mega-menu {
    width: 420px;
    grid-template-columns: 1fr;
  }
  .mega-col {
    border-right: none !important;
  }
  .mega-col:not(:first-child) {
    border-top: 1px solid #f3e8ff;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
  }
}

.hidden {
  display: none !important;
}

/* Utility Classes */
.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: #ffffff;
}

.bg-gradient-teal {
  background: linear-gradient(to bottom right, #581c87, #7e22ce, #a855f7);
}

.bg-gradient-light {
  background: linear-gradient(to bottom right, #faf5ff, #f3e8ff, #e9d5ff);
}

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

.text-white {
  color: white;
}

.text-gray-900 {
  color: #111827;
}

.text-gray-600 {
  color: #4b5563;
}

.text-teal-600 {
  color: #9333ea;
}

.text-cyan-600 {
  color: #c026d3;
}

.font-bold {
  font-weight: bold;
}

.font-semibold {
  font-weight: 600;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}

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

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

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex {
    display: flex;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(to right, #9333ea, #c026d3);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(to right, #7e22ce, #a21caf);
  transform: scale(1.02);
}

.btn-secondary {
  background: #e5e7eb;
  color: #374151;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
  border-color: #9333ea;
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  resize: none;
  font-family: inherit;
}

.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
  border-color: #9333ea;
}

/* Card Styles */
.card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
}

/* Alert Styles */
.alert {
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: 2px solid #e5e7eb;
  border-top-color: #9333ea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 1s ease-out;
}

.animate-slide-up {
  animation: slide-up 0.8s ease-out;
}

.reveal-init {
  opacity: 0;
  transform: translateY(24px);
}

/* Additional Utility Classes */
.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.pl-12 {
  padding-left: 3rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.cursor-pointer {
  cursor: pointer;
}

.object-cover {
  object-fit: cover;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Additional Utility Classes */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.-inset-4 {
  top: -1rem;
  right: -1rem;
  bottom: -1rem;
  left: -1rem;
}

.top-0 {
  top: 0;
}

.bottom-10 {
  bottom: 2.5rem;
}

.left-1\/2 {
  left: 50%;
}

.right-0 {
  right: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* Heights and Widths */
.h-screen {
  height: 100vh;
}

.h-\[150vh\] {
  height: 150vh;
}

.h-\[400px\] {
  height: 400px;
}

.h-48 {
  height: 12rem;
}

.h-64 {
  height: 16rem;
}

.h-40 {
  height: 10rem;
}

.h-32 {
  height: 8rem;
}

.h-20 {
  height: 5rem;
}

.h-16 {
  height: 4rem;
}

.h-12 {
  height: 3rem;
}

.h-8 {
  height: 2rem;
}

.h-6 {
  height: 1.5rem;
}

.h-5 {
  height: 1.25rem;
}

.h-4 {
  height: 1rem;
}

.h-3 {
  height: 0.75rem;
}

.h-1\.5 {
  height: 0.375rem;
}

.w-full {
  width: 100%;
}

.w-64 {
  width: 16rem;
}

.w-48 {
  width: 12rem;
}

.w-40 {
  width: 10rem;
}

.w-32 {
  width: 8rem;
}

.w-20 {
  width: 5rem;
}

.w-16 {
  width: 4rem;
}

.w-12 {
  width: 3rem;
}

.w-8 {
  width: 2rem;
}

.w-6 {
  width: 1.5rem;
}

.w-5 {
  width: 1.25rem;
}

.w-4 {
  width: 1rem;
}

.w-3 {
  width: 0.75rem;
}

.w-2 {
  width: 0.5rem;
}

.w-1\.5 {
  width: 0.375rem;
}

/* Text Sizes */
.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

/* Text Colors with Opacity */
.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.5);
}

/* Background Colors */
.bg-teal-100 {
  background-color: #ccfbf1;
}

.bg-teal-50 {
  background-color: #f0fdfa;
}

.bg-teal-400 {
  background-color: #2dd4bf;
}

.bg-teal-500 {
  background-color: #14b8a6;
}

.bg-teal-600 {
  background-color: #0d9488;
}

.bg-teal-700 {
  background-color: #0f766e;
}

.bg-teal-800 {
  background-color: #115e59;
}

.bg-teal-900 {
  background-color: #134e4a;
}

.bg-cyan-50 {
  background-color: #ecfeff;
}

.bg-cyan-400 {
  background-color: #22d3ee;
}

.bg-cyan-500 {
  background-color: #06b6d4;
}

.bg-cyan-600 {
  background-color: #0891b2;
}

.bg-cyan-700 {
  background-color: #0e7490;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-blue-500 {
  background-color: #3b82f6;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.bg-blue-700 {
  background-color: #1d4ed8;
}

.bg-purple-400 {
  background-color: #c084fc;
}

.bg-purple-500 {
  background-color: #a855f7;
}

.bg-purple-600 {
  background-color: #9333ea;
}

.bg-purple-700 {
  background-color: #7e22ce;
}

.bg-pink-400 {
  background-color: #f472b6;
}

.bg-pink-500 {
  background-color: #ec4899;
}

.bg-green-100 {
  background-color: #dcfce7;
}

.bg-green-600 {
  background-color: #16a34a;
}

.bg-green-700 {
  background-color: #15803d;
}

.bg-red-600 {
  background-color: #dc2626;
}

.bg-red-700 {
  background-color: #b91c1c;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-gray-200 {
  background-color: #e5e7eb;
}

.bg-gray-300 {
  background-color: #d1d5db;
}

.bg-gray-400 {
  background-color: #9ca3af;
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-white\/30 {
  background-color: rgba(255, 255, 255, 0.3);
}

.bg-white\/50 {
  background-color: rgba(255, 255, 255, 0.5);
}

.bg-white\/70 {
  background-color: rgba(255, 255, 255, 0.7);
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-teal-400 {
  --tw-gradient-from: #2dd4bf;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(45, 212, 191, 0));
}

.from-teal-500 {
  --tw-gradient-from: #14b8a6;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(20, 184, 166, 0));
}

.from-teal-600 {
  --tw-gradient-from: #0d9488;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(13, 148, 136, 0));
}

.from-teal-700 {
  --tw-gradient-from: #0f766e;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 118, 110, 0));
}

.from-teal-800 {
  --tw-gradient-from: #115e59;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 94, 89, 0));
}

.from-teal-900 {
  --tw-gradient-from: #134e4a;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(19, 78, 74, 0));
}

.from-cyan-400 {
  --tw-gradient-from: #22d3ee;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 211, 238, 0));
}

.from-cyan-50 {
  --tw-gradient-from: #ecfeff;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(236, 254, 255, 0));
}

.from-cyan-500 {
  --tw-gradient-from: #06b6d4;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0));
}

.from-cyan-600 {
  --tw-gradient-from: #0891b2;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(8, 145, 178, 0));
}

.from-blue-400 {
  --tw-gradient-from: #60a5fa;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0));
}

.from-blue-500 {
  --tw-gradient-from: #3b82f6;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.from-blue-600 {
  --tw-gradient-from: #2563eb;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.from-purple-400 {
  --tw-gradient-from: #c084fc;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 132, 252, 0));
}

.from-purple-500 {
  --tw-gradient-from: #a855f7;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.from-pink-400 {
  --tw-gradient-from: #f472b6;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(244, 114, 182, 0));
}

.from-pink-500 {
  --tw-gradient-from: #ec4899;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(236, 72, 153, 0));
}

.from-black\/50 {
  --tw-gradient-from: rgba(0, 0, 0, 0.5);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-teal-400 {
  --tw-gradient-to: #2dd4bf;
}

.to-teal-500 {
  --tw-gradient-to: #14b8a6;
}

.to-teal-600 {
  --tw-gradient-to: #0d9488;
}

.to-teal-700 {
  --tw-gradient-to: #0f766e;
}

.to-cyan-400 {
  --tw-gradient-to: #22d3ee;
}

.to-cyan-500 {
  --tw-gradient-to: #06b6d4;
}

.to-cyan-600 {
  --tw-gradient-to: #0891b2;
}

.to-cyan-50 {
  --tw-gradient-to: #ecfeff;
}

.to-blue-400 {
  --tw-gradient-to: #60a5fa;
}

.to-blue-600 {
  --tw-gradient-to: #2563eb;
}

.to-teal-600 {
  --tw-gradient-to: #0d9488;
}

.to-white {
  --tw-gradient-to: #ffffff;
}

.to-transparent {
  --tw-gradient-to: transparent;
}

/* Opacity */
.opacity-10 {
  opacity: 0.1;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-30 {
  opacity: 0.3;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-90 {
  opacity: 0.9;
}

.opacity-0 {
  opacity: 0;
}

/* Border */
.border-2 {
  border-width: 2px;
}

.border-4 {
  border-width: 4px;
}

.border-white\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}

.border-white\/50 {
  border-color: rgba(255, 255, 255, 0.5);
}

.border-dashed {
  border-style: dashed;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-teal-200 {
  border-color: #99f6e4;
}

.border-teal-500 {
  border-color: #14b8a6;
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadows */
.drop-shadow-lg {
  filter: drop-shadow(0 10px 15px -3px rgba(0, 0, 0, 0.1))
    drop-shadow(0 4px 6px -2px rgba(0, 0, 0, 0.05));
}

.drop-shadow-2xl {
  filter: drop-shadow(0 25px 50px -12px rgba(0, 0, 0, 0.25));
}

/* Blur */
.blur-2xl {
  filter: blur(40px);
}

.blur-3xl {
  filter: blur(64px);
}

.blur-xl {
  filter: blur(24px);
}

/* Mix Blend */
.mix-blend-overlay {
  mix-blend-mode: overlay;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

/* Display */
.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

/* Flex Direction */
.flex-col {
  flex-direction: column;
}

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

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* Padding */
.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-12 {
  padding: 3rem;
}

.pt-8 {
  padding-top: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Margin */
.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-24 {
  margin-bottom: 6rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

/* Max Width */
.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-2xl {
  max-width: 42rem;
}

/* Gap */
.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

/* Grid Columns */
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Transform */
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1 {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-2 {
  --tw-translate-y: -0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Scale */
.scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-\[1\.02\] {
  --tw-scale-x: 1.02;
  --tw-scale-y: 1.02;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Pointer Events */
.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

/* Leading */
.leading-relaxed {
  line-height: 1.625;
}

/* Background Size and Position */
.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

/* Order */
.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

/* Group Hover */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:opacity-40 {
  opacity: 0.4;
}

.group:hover .group-hover\:opacity-50 {
  opacity: 0.5;
}

.group:hover .group-hover\:text-teal-600 {
  color: #0d9488;
}

/* Hover States */
.hover\:bg-teal-50:hover {
  background-color: #f0fdfa;
}

.hover\:bg-teal-700:hover {
  background-color: #0f766e;
}

.hover\:bg-teal-800:hover {
  background-color: #115e59;
}

.hover\:bg-teal-900:hover {
  background-color: #134e4a;
}

.hover\:bg-cyan-700:hover {
  background-color: #0e7490;
}

.hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}

.hover\:bg-gray-300:hover {
  background-color: #d1d5db;
}

.hover\:bg-green-700:hover {
  background-color: #15803d;
}

.hover\:bg-red-700:hover {
  background-color: #b91c1c;
}

.hover\:bg-purple-700:hover {
  background-color: #7e22ce;
}

.hover\:text-teal-700:hover {
  color: #0f766e;
}

.hover\:text-cyan-700:hover {
  color: #0e7490;
}

.hover\:text-gray-600:hover {
  color: #4b5563;
}

.hover\:border-teal-500:hover {
  border-color: #14b8a6;
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

/* Animations */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in-delay {
  animation: fade-in 1s ease-out 0.3s both;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:space-y-0 > * + * {
    margin-top: 0;
  }

  .sm\:space-x-4 > * + * {
    margin-left: 1rem;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex {
    display: flex;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:items-end {
    align-items: flex-end;
  }

  .md\:space-x-6 > * + * {
    margin-left: 1.5rem;
  }

  .md\:mt-0 {
    margin-top: 0;
  }

  .md\:mb-4 {
    margin-bottom: 1rem;
  }

  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }

  .md\:p-12 {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 767px) {
  .nav-container {
    padding: 0 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .text-5xl {
    font-size: 2.5rem;
    line-height: 1;
  }

  .text-7xl {
    font-size: 3.5rem;
    line-height: 1;
  }
}

/* Logo Image Styles - Larger and Responsive */
.nav-logo-img {
  height: 90px;
  width: auto;
  max-width: 200px;
  transition: all 0.3s ease;
  object-fit: contain;
  /* Default to white for transparent background on dark hero */
  filter: brightness(0) invert(1);
}

.nav-main.scrolled .nav-logo-img {
  /* Restore original colors on white background */
  filter: none;
}

/* Responsive breakpoints for logo */
@media (min-width: 1024px) {
  .nav-logo-img {
    height: 250px;
    max-width: 220px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-logo-img {
    height: 80px;
    max-width: 180px;
  }
}

/* Tablet sizing */
@media (max-width: 767px) {
  .nav-logo-img {
    height: 65px;
    max-width: 150px;
  }
}

/* Mobile sizing */
@media (max-width: 480px) {
  .nav-logo-img {
    height: 120px;
    max-width: 130px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .nav-logo-img {
    height: 50px;
    max-width: 120px;
  }
}

/* Generated Tailwind Utilities for Purple Theme */

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

/* From Colors */
.from-purple-50 {
  --tw-gradient-from: #faf5ff;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0));
}
.from-purple-400 {
  --tw-gradient-from: #c084fc;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 132, 252, 0));
}
.from-purple-600 {
  --tw-gradient-from: #9333ea;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0));
}
.from-purple-800 {
  --tw-gradient-from: #6b21a8;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(107, 33, 168, 0));
}
.from-fuchsia-400 {
  --tw-gradient-from: #e879f9;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(232, 121, 249, 0));
}
.from-fuchsia-600 {
  --tw-gradient-from: #c026d3;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 38, 211, 0));
}
.from-violet-600 {
  --tw-gradient-from: #7c3aed;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(124, 58, 237, 0));
}

/* Via Colors */
.via-fuchsia-50 {
  --tw-gradient-stops:
    var(--tw-gradient-from), #fdf4ff,
    var(--tw-gradient-to, rgba(253, 244, 255, 0));
}
.via-white\/50 {
  --tw-gradient-stops:
    var(--tw-gradient-from), rgba(255, 255, 255, 0.5),
    var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

/* To Colors */
.to-white {
  --tw-gradient-to: #ffffff;
}
.to-purple-50 {
  --tw-gradient-to: #faf5ff;
}
.to-fuchsia-50 {
  --tw-gradient-to: #fdf4ff;
}
.to-purple-400 {
  --tw-gradient-to: #c084fc;
}
.to-purple-600 {
  --tw-gradient-to: #9333ea;
}
.to-fuchsia-400 {
  --tw-gradient-to: #e879f9;
}
.to-fuchsia-600 {
  --tw-gradient-to: #c026d3;
}
.to-fuchsia-800 {
  --tw-gradient-to: #86198f;
}
.to-violet-400 {
  --tw-gradient-to: #a78bfa;
}
.to-violet-600 {
  --tw-gradient-to: #7c3aed;
}

/* Background Colors */
.bg-purple-50 {
  background-color: #faf5ff;
}
.bg-purple-100 {
  background-color: #f3e8ff;
}
.bg-fuchsia-50 {
  background-color: #fdf4ff;
}
.bg-purple-600 {
  background-color: #9333ea;
}
.bg-fuchsia-600 {
  background-color: #c026d3;
}
.bg-violet-600 {
  background-color: #7c3aed;
}

/* Text Colors */
.text-purple-600 {
  color: #9333ea;
}
.text-purple-700 {
  color: #7e22ce;
}

/* SVG Fill/Stroke */
.fill-purple-600 {
  fill: #9333ea;
}
.stroke-purple-600 {
  stroke: #9333ea;
}

/* Missing Utility Classes for Icon Alignment */
.inline-flex {
  display: inline-flex;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-32 {
  width: 8rem;
}

.h-32 {
  height: 8rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-full {
  border-radius: 9999px;
}

/* Group Hover Support */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:text-purple-600 {
  color: #9333ea;
}

.group:hover .group-hover\:opacity-50 {
  opacity: 0.5;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:-translate-y-2 {
  transform: translateY(-0.5rem);
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
