.hero-content h1 .scale-up {
  display: inline-block;
  font-weight: 800; /* Slightly lighter */
  letter-spacing: 0.15em; /* More spacing */
  color: #f97316;
  text-shadow: 0 0 6px rgba(249, 115, 22, 0.6), 0 0 12px rgba(249, 115, 22, 0.4);
  animation: scaleUpSmooth 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scaleUpSmooth {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 6px rgba(249, 115, 22, 0.6), 0 0 12px rgba(249, 115, 22, 0.4);
  }
  50% {
    transform: scale(1.03);
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.8), 0 0 18px rgba(249, 115, 22, 0.6);
  }
}
/* Updated CSS with a subtler scale-up effect */

.hero-content h1 {
  font-weight: 900;
  font-size: 3.5rem;
  background: linear-gradient(90deg, #6b52ff, #3b82f6, #ec4899, #f97316);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  user-select: none;
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.hero-content h1 .scale-up {
  display: inline-block;
  animation: scaleUpPulseSubtle 3s ease-in-out infinite;
  color: #f97316;
  text-shadow: 0 0 8px #f97316, 0 0 15px #f97316;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes scaleUpPulseSubtle {
  0%, 100% {
    transform: scale(1);
    color: #f97316;
    text-shadow: 0 0 8px #f97316, 0 0 15px #f97316;
  }
  50% {
    transform: scale(1.05);
    color: #f97316;
    text-shadow: 0 0 12px #f97316, 0 0 20px #f97316;
  }
}

/* CSS Variables */
:root,
[data-theme="dark"],
.dark-theme {
  --bg: linear-gradient(135deg, #0a0f1c 0%, #1a1b3a 25%, #2d1b69 50%, #3b1065 75%, #0f0a1e 100%);
  --bg-alt: rgba(42, 42, 42, 0.2);
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --heading-color: #ffffff;
  --card-bg: rgba(42, 42, 42, 0.15);
  --card-border: rgba(64, 64, 64, 0.3);
  --accent: #6366f1;
  --accent-hover: #8b5cf6;
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --neon-green: #00e6a8;
}

[data-theme="light"],
.light-theme {
  --bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #f1f5f9 100%);
  --bg-alt: rgba(248, 250, 252, 0.3);
  --text: #1e293b;
  --text-muted: #64748b;
  --heading-color: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(99, 102, 241, 0.2);
  --accent: #6366f1;
  --accent-hover: #8b5cf6;
  --primary: #6366f1;
  --secondary: #8b5cf6;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease-in-out, background 0.3s ease;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  transform: translateY(0);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ff0080,
    #ff8c00,
    #40e0d0,
    #8a2be2,
    #00ff00,
    #ff1493,
    #00bfff,
    #ff6347,
    #9370db,
    #00fa9a,
    #ff0080
  );
  background-size: 300% 100%;
  animation: gradientShift 8s ease-in-out infinite;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.5);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.nav-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#theme-toggle {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#theme-toggle:hover {
  background: var(--card-bg);
  color: var(--accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  line-height: 1.1;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1.2rem 2.5rem;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.services h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--heading-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid #ff0080;
  animation: borderColorShift 20s ease-in-out infinite;
}

@keyframes borderColorShift {
  0%, 100% { border-color: #ff0080; }
  12.5% { border-color: #ff8c00; }
  25% { border-color: #40e0d0; }
  37.5% { border-color: #8a2be2; }
  50% { border-color: #00ff00; }
  62.5% { border-color: #ff1493; }
  75% { border-color: #00bfff; }
  87.5% { border-color: #ff6347; }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.3);
}

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.about p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
}

.about-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* FAQ Section */
.faq {
  padding: 3rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.faq h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid #ff0080;
  animation: borderColorShift 20s ease-in-out infinite;
}

.faq-question {
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--heading-color);
}

.faq-answer {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 150px;
  padding: 1.2rem;
}

/* Contact Section */
.contact {
  padding: 3rem 0;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--heading-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid var(--card-border);
  border-radius: 15px;
  background: var(--card-bg);
  color: var(--text);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Chat Toggle Button */
.chat-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.chat-toggle i {
  font-size: 28px;
  color: white;
}

/* Chat Modal */
.chatbox {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 320px;
  max-height: 480px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
}

.chatbox.open {
  display: flex;
}

/* Chatbox Header */
.chatbox-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--card-border);
}

.chatbox-bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 12px;
}

.chatbox-title {
  font-weight: 700;
  flex-grow: 1;
  color: var(--heading-color);
}

.chatbox-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
}

/* Chatbox Body */
.chatbox-body {
  flex-grow: 1;
  padding: 12px 16px;
  overflow-y: auto;
  color: var(--text);
  font-size: 0.9rem;
}

/* Chatbox Form */
.chatbox-form {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid var(--card-border);
}

.chatbox-form input[type="text"] {
  flex-grow: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--card-bg);
}

.chatbox-form button {
  background: var(--primary);
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.chatbox-form button:hover {
  background: var(--accent-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .hamburger { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.98);
    flex-direction: column;
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
  }
  .main-nav.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .hero h1 { font-size: 3rem; }
  .hero .subtitle { font-size: 1.3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .tg-chat-modal { width: 300px; right: 15px; bottom: 15px; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 2.5rem; }
  .hero .subtitle { font-size: 1.2rem; }
  .tg-chat-modal { width: 280px; right: 10px; bottom: 10px; }
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#particles-js {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}











