/* Google Fonts */
body {
  font-family: 'Inter', sans-serif;
}

/* Loader */
#page-loader {
  transition: opacity 0.5s;
  background: #fff;
}
body.dark #page-loader {
  background: #0a0a23;
}
.loader-spinner {
  display: flex;
  gap: 0.5rem;
}
.loader-spinner span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 60%, #a78bfa 100%);
  animation: loader-bounce 1.2s infinite cubic-bezier(.4,0,.2,1);
}
.loader-spinner span:nth-child(2) {
  animation-delay: 0.2s;
  background: linear-gradient(135deg, #a78bfa 60%, #f472b6 100%);
}
.loader-spinner span:nth-child(3) {
  animation-delay: 0.4s;
  background: linear-gradient(135deg, #60a5fa 60%, #34d399 100%);
}
@keyframes loader-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.7; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* Navbar Fixes */
header {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

nav {
  width: 100%;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

/* Mobile Menu Animation */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
  opacity: 0;
  display: flex !important;
}

#mobile-menu.show {
  transform: translateX(0);
  opacity: 1;
}

/* Hamburger Menu Button Animation */
#menu-toggle {
  transition: transform 0.3s ease;
  z-index: 10000;
}

#menu-toggle.active {
  transform: rotate(90deg);
}

/* AI Gradient Text */
.text-gradient-ai {
  background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern dark mode text colors */
body.dark {
  color-scheme: dark;
  background: #0a0a23;
  color: #f1f5f9;
}
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5, body.dark h6 {
  color: #fff !important;
  text-shadow: 0 2px 16px #2563eb44;
}
body.dark .text-blue-600, body.dark .text-blue-400 { color: #60a5fa !important; }
body.dark .text-green-600, body.dark .text-green-400 { color: #34d399 !important; }
body.dark .text-purple-600, body.dark .text-purple-400 { color: #a78bfa !important; }
body.dark .text-pink-600, body.dark .text-pink-400 { color: #f472b6 !important; }
body.dark .text-yellow-600, body.dark .text-yellow-400 { color: #fde68a !important; }
body.dark .text-gray-600, body.dark .text-gray-300 { color: #cbd5e1 !important; }
body.dark .text-gray-700, body.dark .text-gray-200 { color: #e0e7ef !important; }
body.dark .text-gray-500 { color: #a1a1aa !important; }
body.dark .glass-card {
  background: linear-gradient(135deg, #181a2a 80%, #2563eb22 100%);
  border: 1.5px solid #334155;
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.12);
}
body.dark .cta-btn-primary {
  background: linear-gradient(90deg, #2563eb 60%, #a78bfa 100%);
  color: #fff;
  box-shadow: 0 4px 24px 0 #a78bfa33;
}
body.dark .cta-btn-primary:hover {
  background: linear-gradient(90deg, #a78bfa 60%, #2563eb 100%);
  box-shadow: 0 8px 32px 0 #a78bfa44;
}
body.dark .cta-btn-secondary {
  background: #181a2a;
  color: #60a5fa;
  border-color: #60a5fa;
}
body.dark .footer-social {
  color: #64748b;
}
body.dark .footer-social:hover {
  color: #60a5fa;
}

/* Modern, simple, stylish contact form input */
.input-modern {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1.5px solid #e5e7eb;
  background: rgba(255,255,255,0.95);
  color: #22223b;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 16px 0 rgba(59,130,246,0.08);
}
.input-modern:focus {
  border-color: #2563eb;
  background: #f0f9ff;
  box-shadow: 0 0 0 3px #2563eb33, 0 2px 16px 0 #60a5fa22;
  outline: none;
}
.dark .input-modern {
  background: #181a2a;
  color: #fff;
  border: 1.5px solid #334155;
}
.dark .input-modern:focus {
  border-color: #60a5fa;
  background: #23263a;
  box-shadow: 0 0 0 3px #60a5fa33, 0 2px 16px 0 #60a5fa22;
}

/* Modern readable paragraph color in dark mode */
body.dark p,
body.dark .text-gray-600,
body.dark .text-gray-700,
body.dark .text-gray-500 {
  color: #e0e7ef !important;
}

/* New Generation Scroll Down Animation */
.scroll-down-indicator {
  width: 32px;
  height: 54px;
  border: 2px solid #60a5fa;
  border-radius: 24px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(96,165,250,0.05);
  box-shadow: 0 2px 12px #60a5fa22;
}
.scroll-down-indicator span {
  display: block;
  width: 8px;
  height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  margin-top: 8px;
  animation: scroll-down-dot 1.2s infinite cubic-bezier(.4,0,.2,1);
}
@keyframes scroll-down-dot {
  0% { opacity: 0; transform: translateY(0);}
  30% { opacity: 1; }
  60% { opacity: 1; transform: translateY(24px);}
  100% { opacity: 0; transform: translateY(32px);}
}

/* Stylish input and button for contact form */
.input-email {
  @apply px-4 py-3 rounded-lg border border-gray-300 dark:border-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500 transition w-full bg-white/80 dark:bg-slate-800/80 text-gray-900 dark:text-gray-100;
  box-shadow: 0 2px 16px 0 rgba(59,130,246,0.10);
  transition: box-shadow 0.2s, border 0.2s;
}
.input-email:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #2563eb33, 0 2px 16px 0 #60a5fa22;
  transform: scale(1.02);
}
.dark .input-email:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px #60a5fa33, 0 2px 16px 0 #60a5fa22;
  transform: scale(1.02);
}

/* Stylish Gradient Button */
.stylish-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
  box-shadow: 0 2px 16px 0 rgba(59,130,246,0.10), 0 1.5px 8px 0 rgba(80,0,200,0.06);
  border: none;
  outline: none;
}
.stylish-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.stylish-btn:hover::before,
.stylish-btn:focus::before {
  opacity: 0.15;
}
.stylish-btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 4px 0 rgba(59,130,246,0.08);
}
.cta-btn-primary.stylish-btn {
  background: linear-gradient(90deg, #2563eb 60%, #a78bfa 100%);
  color: #fff;
  border: none;
}
.cta-btn-primary.stylish-btn:hover,
.cta-btn-primary.stylish-btn:focus {
  background: linear-gradient(90deg, #1e40af 60%, #a78bfa 100%);
  color: #fff;
  box-shadow: 0 4px 24px 0 #2563eb33;
}
.cta-btn-secondary.stylish-btn {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.cta-btn-secondary.stylish-btn:hover,
.cta-btn-secondary.stylish-btn:focus {
  background: linear-gradient(90deg, #f0f9ff 0%, #e0e7ff 100%);
  color: #1e40af;
  border-color: #a78bfa;
  box-shadow: 0 4px 24px 0 #a78bfa22;
}
.dark .cta-btn-primary.stylish-btn {
  background: linear-gradient(90deg, #2563eb 60%, #a78bfa 100%);
  color: #fff;
  border: none;
}
.dark .cta-btn-primary.stylish-btn:hover,
.dark .cta-btn-primary.stylish-btn:focus {
  background: linear-gradient(90deg, #1e40af 60%, #a78bfa 100%);
  color: #fff;
  box-shadow: 0 4px 24px 0 #a78bfa33;
}
.dark .cta-btn-secondary.stylish-btn {
  background: #181a2a;
  color: #60a5fa;
  border: 2px solid #60a5fa;
}
.dark .cta-btn-secondary.stylish-btn:hover,
.dark .cta-btn-secondary.stylish-btn:focus {
  background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
  color: #a78bfa;
  border-color: #a78bfa;
  box-shadow: 0 4px 24px 0 #60a5fa22;
}

/* Navbar toggler animation */
#menu-toggle, #menu-close {
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
#menu-toggle:active, #menu-close:active {
  transform: scale(0.92) rotate(-10deg);
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(255,255,255,0.7);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.dark .glass-card {
  background: linear-gradient(135deg, #181a2a 80%, #2563eb22 100%);
  border: 1.5px solid #334155;
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.12);
}

/* Animated background for light mode */
@keyframes pulse-slow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.animate-pulse-slow {
  animation: pulse-slow 8s infinite;
}

/* FAQ Accordion */
.faq-item {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1px solid #e5e7eb;
  background: rgba(255,255,255,0.7);
  transition: border 0.2s, background 0.2s;
}
.dark .faq-item {
  background: rgba(30,41,59,0.7);
  border: 1px solid #334155;
}
.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  transition: background 0.2s;
}
.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.faq-answer {
  font-size: 1rem;
  color: #374151;
}
.dark .faq-answer {
  color: #d1d5db;
}

/* Footer Social Icons */
.footer-social,
.contact-social {
  @apply text-xl text-gray-400 transition;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.footer-social:hover,
.contact-social:hover {
  background: linear-gradient(135deg, #2563eb22 0%, #a78bfa22 100%);
  color: #2563eb;
  transform: scale(1.15) rotate(-8deg);
}
.dark .footer-social:hover,
.dark .contact-social:hover {
  background: linear-gradient(135deg, #2563eb33 0%, #a78bfa33 100%);
  color: #a78bfa;
}

/* Swiper Custom */
.swiper-pagination-bullet {
  background: #2563eb !important;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Back to top button */
#back-to-top {
  transition: opacity 0.3s;
}

/* Mobile Menu: Slide from Right with Glass Effect */
#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  height: 100vh;
  width: 85vw;
  max-width: 400px;
  min-width: 260px;
  z-index: 9999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: -16px 0 48px 0 rgba(37,99,235,0.18), -2px 0 0 0 #6366f1;
  border-radius: 1.5rem 0 0 1.5rem;
  border-left: 4px solid #6366f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  box-sizing: border-box;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
  opacity: 0;
  transform: translateX(100%) scale(0.98);
  /* Add a subtle glowing border on the left */
  box-shadow: -16px 0 48px 0 rgba(99,102,241,0.18), -2px 0 16px 0 #6366f1cc;
}
#mobile-menu.show {
  transform: translateX(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Glowing border for dark mode */
body.dark #mobile-menu {
  background: rgba(30,41,59,0.97);
  box-shadow: -16px 0 48px 0 rgba(99,102,241,0.18), -2px 0 16px 0 #a78bfa99;
  border-left: 4px solid #a78bfa;
}

/* Animated Close Button */
#mobile-menu .menu-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(135deg, #6366f1 10%, #a78bfa 90%);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 2px 12px #6366f144;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 10001;
}
#mobile-menu .menu-close-btn:hover {
  background: linear-gradient(135deg, #a78bfa 10%, #6366f1 90%);
  transform: rotate(90deg) scale(1.1);
  color: #fff;
}

/* Menu Items: Modern Hover & Active */
#mobile-menu a,
#mobile-menu button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 90%;
  text-align: left;
  padding: 1.1rem 1.5rem;
  border-radius: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2563eb;
  background: transparent;
  transition: background 0.25s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 0.5rem;
  box-shadow: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
#mobile-menu a:hover,
#mobile-menu button:hover {
  background: linear-gradient(90deg, #e0e7ff 0%, #f0f9ff 100%);
  color: #6366f1;
  transform: scale(1.05) translateX(8px);
  box-shadow: 0 2px 16px #6366f122;
}
body.dark #mobile-menu a,
body.dark #mobile-menu button {
  color: #a78bfa;
}
body.dark #mobile-menu a:hover,
body.dark #mobile-menu button:hover {
  background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
  color: #a78bfa;
  box-shadow: 0 2px 16px #a78bfa22;
}

/* Add a glowing left accent on hover */
#mobile-menu a::before,
#mobile-menu button::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, #6366f1 0%, #a78bfa 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
#mobile-menu a:hover::before,
#mobile-menu button:hover::before {
  opacity: 1;
}
body.dark #mobile-menu a::before,
body.dark #mobile-menu button::before {
  background: linear-gradient(180deg, #a78bfa 0%, #6366f1 100%);
}

/* Theme toggle button in menu */
#theme-toggle-mobile {
  align-self: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #6366f1 60%, #a78bfa 100%);
  color: #fff;
  box-shadow: 0 2px 12px #6366f144;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
#theme-toggle-mobile:hover {
  background: linear-gradient(90deg, #a78bfa 60%, #6366f1 100%);
  color: #fff;
  transform: scale(1.1) rotate(-10deg);
}

/* CTA Button in menu */
#mobile-menu .cta-btn-primary.stylish-btn {
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 1rem;
  margin-top: 2rem;
  box-shadow: 0 4px 24px 0 #6366f122;
  background: linear-gradient(90deg, #6366f1 60%, #a78bfa 100%);
  color: #fff;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
#mobile-menu .cta-btn-primary.stylish-btn:hover {
  background: linear-gradient(90deg, #a78bfa 60%, #6366f1 100%);
  box-shadow: 0 8px 32px 0 #a78bfa44;
  transform: scale(1.04);
}

/* ...existing code... */