:root {
  --bg-color: radial-gradient(circle at 50% 0%, #1a1a24 0%, #000000 80%);
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --primary-gradient: linear-gradient(135deg, #fb8500 0%, #ffb703 100%);
  --secondary-gradient: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  --accent-color: #fb8500;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.08);
}

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

html, body {
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* Glassmorphism Utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(79, 70, 229, 0.15);
}

.text-gradient-primary {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gradient-secondary {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.btn-primary, .btn-outline {
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(6, 182, 212, 0.8);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section { padding: 100px 0; position: relative; }

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

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.animate-float { animation: float 6s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal.fade-left {
  transform: translateX(-100px);
}
.reveal.fade-right {
  transform: translateX(100px);
}
.reveal.fade-left.active, .reveal.fade-right.active {
  transform: translate(0, 0);
}

/* Full Cinematic Heading Animations */
.hero-content.reveal h1,
.section-title.reveal h2,
.cta-section.reveal h2,
.contact-info.reveal h2 {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(12px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1) 0.1s; 
}
.hero-content.reveal.active h1,
.section-title.reveal.active h2,
.cta-section.reveal.active h2,
.contact-info.reveal.active h2 {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-content.reveal p,
.section-title.reveal p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out 0.3s; 
}
.hero-content.reveal.active p,
.section-title.reveal.active p {
  opacity: 1;
  transform: translateY(0);
}

/* Background Mesh Glow */
.glow-mesh {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary-gradient);
  filter: blur(150px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
  top: -100px;
  right: -100px;
}
.glow-mesh-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--secondary-gradient);
  filter: blur(150px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
  bottom: -100px;
  left: -100px;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1001;
}
.top-bar-marquee {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: topBarScroll 25s linear infinite;
}
.top-bar-marquee span {
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
}
@keyframes topBarScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  overflow: hidden;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}
.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}
.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h2 {
  font-size: 1.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-accent-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}
.hero-accent-card .accent-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
}
.hero-accent-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.hero-accent-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* About Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 0;
}
.stat-card {
  padding: 30px;
  text-align: center;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Services */
.service-card {
  padding: 40px 30px;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--accent-color);
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.service-list { list-style: none; }
.service-list li {
  margin-bottom: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li i { color: var(--accent-color); font-size: 0.8rem; }

/* Service Banner Cards */
.service-banner-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 24px;
}
.service-banner-card:hover {
  transform: translateY(-10px);
}
.service-banner-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
}
.service-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-banner-card:hover .service-banner-img img {
  transform: scale(1.1);
}
.service-banner-content {
  padding: 30px;
}
.service-banner-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
/* Features */
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}
.feature-item i {
  font-size: 1.5rem;
  color: #fb8500;
}

/* Pricing */
.pricing-card {
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.popular {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}
.popular-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: var(--primary-gradient);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}
.pricing-title { font-size: 1.5rem; margin-bottom: 16px; }
.pricing-price { font-size: 3.5rem; font-weight: 800; margin-bottom: 8px; }
.pricing-type { color: var(--text-secondary); margin-bottom: 32px; font-size: 0.9rem; }
.pricing-features { margin-bottom: 40px; flex: 1; }
.pricing-features li { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; color: #d1d5db; }
.pricing-features li i { color: #10B981; margin-top: 4px; }
.pricing-card .btn-primary, .pricing-card .btn-outline { width: 100%; }

/* Marquee */
.marquee-container {
  overflow: hidden;
  width: 100%;
  display: flex;
  gap: 30px;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  flex-shrink: 0;
}
.marquee-container .portfolio-card,
.marquee-container .service-banner-card,
.marquee-container .testimonial-card {
  min-width: 380px;
  width: 380px;
  flex-shrink: 0;
}
.marquee-container .portfolio-card.reveal,
.marquee-container .service-banner-card.reveal,
.marquee-container .testimonial-card.reveal {
  opacity: 1; /* Override reveal for marquee */
  transform: none;
}
.client-logo {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  opacity: 1;
  background: white;
  padding: 10px 20px;
  border-radius: 12px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  height: 100%;
}
.testimonial-content .stars {
  color: #fb8500;
  margin-bottom: 15px;
}
.testimonial-content p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 15px;
}
.author-info h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.author-info span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Portfolio */
.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
  padding: 0;
}
.portfolio-card:hover {
  transform: translateY(-10px);
}
.portfolio-img {
  position: relative;
  width: 100%;
  height: 250px;
  background: var(--bg-color);
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.portfolio-image-wrapper {
  width: 100%;
  height: 100%;
}
.portfolio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: none;
}
.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 8, 22, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay span {
  background: var(--primary-gradient);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay span {
  transform: translateY(0);
}
.portfolio-info {
  padding: 24px;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
}
.portfolio-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* Process */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--glass-border);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}
.timeline-content {
  width: 80%;
  padding: 24px;
}
.timeline-item:nth-child(odd) .timeline-content { margin-right: 40px; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 40px; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--bg-color);
  border: 4px solid #fb8500;
  border-radius: 50%;
  z-index: 1;
}
.timeline-step {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Contact */
.contact-form { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: 12px;
  color: white;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: #fb8500;
  background: rgba(255,255,255,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
select.form-control { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; }
select.form-control option { color: #000; background: #fff; }
.contact-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.info-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent-color); }
.info-item h4 { font-size: 1.25rem; margin-bottom: 4px; }
.info-item p { color: var(--text-secondary); }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { 
  margin-bottom: 20px; 
  background: rgba(20, 25, 40, 0.4); 
  border: 1px solid rgba(255, 255, 255, 0.06); 
  border-radius: 20px; 
  overflow: hidden; 
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
.faq-item.active { 
  background: rgba(255, 255, 255, 0.03); 
  border-color: var(--accent-color); 
  box-shadow: 0 0 30px rgba(230, 104, 60, 0.1);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 28px 32px;
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
}
.faq-item.active .faq-question { 
  color: var(--accent-color); 
  padding-bottom: 16px;
}
.faq-question i { 
  color: var(--text-secondary); 
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item.active .faq-question i { 
  color: white; 
  background: var(--primary-gradient);
  box-shadow: 0 5px 15px rgba(230, 104, 60, 0.3);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.faq-answer-inner {
  padding: 0 32px 32px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}
.faq-item.active .faq-answer { max-height: 500px; }

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 100px 24px;
  border-radius: 40px;
  margin: 60px 0;
  background: linear-gradient(135deg, rgba(79,70,229,0.1) 0%, rgba(6,182,212,0.1) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.cta-section h2 { font-size: 3.5rem; margin-bottom: 24px; }
.cta-section p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px;
  background: rgba(0,0,0,0.3);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1.25rem; margin-bottom: 24px; color: white; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent-color); }
.social-icons { display: flex; gap: 16px; margin-top: 24px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
  color: white; transition: all 0.3s ease;
}
.social-icons a:hover { background: var(--primary-gradient); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid var(--glass-border); color: var(--text-secondary); }

/* Floating Buttons & Chatbot */
.floating-actions { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 16px; z-index: 1000; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white; cursor: pointer; border: none; outline: none; transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); position: relative;
}
.btn-whatsapp { background: #25D366; }
.btn-call { background: #007BFF; }
.btn-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.btn-chat { background: var(--primary-gradient); width: 64px; height: 64px; font-size: 1.8rem; }
.float-btn:hover { transform: scale(1.1); }
.float-tooltip {
  position: absolute; right: 70px; background: var(--glass-bg); backdrop-filter: blur(10px);
  padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease; border: 1px solid var(--glass-border);
  white-space: nowrap; color: white;
}
.float-btn:hover .float-tooltip { opacity: 1; }

.chat-widget {
  position: fixed; bottom: 110px; right: 30px; width: 350px; background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; overflow: hidden; z-index: 999; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.9); opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}
.chat-widget.active { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.chat-header { background: var(--primary-gradient); padding: 20px; display: flex; justify-content: space-between; align-items: center; color: white; }
.chat-body { padding: 20px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.chat-msg { background: rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 16px 16px 16px 4px; max-width: 80%; font-size: 0.9rem; line-height: 1.5; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 20px 20px; border-top: 1px solid var(--glass-border); }
.reply-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: white; padding: 8px 12px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; transition: all 0.2s; }
.reply-btn:hover { background: rgba(255,255,255,0.15); border-color: var(--accent-color); }

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  z-index: 1002;
}

/* Off-canvas */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--bg-color);
  border-left: 1px solid var(--glass-border);
  z-index: 2001;
  padding: 30px 20px;
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.05);
  display: flex;
  flex-direction: column;
}
.offcanvas-menu.active {
  right: 0;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px;
}
.close-menu {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
}
.close-menu:hover {
  color: var(--accent-color);
}

.offcanvas-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.offcanvas-link {
  color: var(--text-secondary);
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.offcanvas-link:hover, .offcanvas-link.active {
  color: white;
  padding-left: 10px;
}

/* Mobile Bottom Menu */
.mobile-bottom-menu {
  display: none;
}

/* Loading Screen */
#preloader { position: fixed; inset: 0; background: var(--bg-color); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
.loader-logo { animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 0.7; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } 100% { opacity: 0.7; transform: scale(0.95); } }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .grid-4, .grid-3, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding-top: 150px; }
  .hero-container { justify-content: center; text-align: center; flex-direction: column; }
  .hero-content { min-width: 100%; text-align: center; }
  .hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 15px; }
  .hero h2 { font-size: 1.2rem; margin-bottom: 20px; }
  .hero-content p { font-size: 1rem; }
  .section-title h2, section h2 { font-size: 2rem; }
  
  .hero-buttons { 
    flex-direction: column; 
    align-items: center; 
    gap: 15px; 
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
  }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .hero-mockup-wrapper { margin-top: 40px; height: 300px; }
  .grid-2, .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 30px; }
  .timeline-item, .timeline-item:nth-child(even) { justify-content: flex-end; padding-right: 0; padding-left: 70px; }
  .timeline-content, .timeline-item:nth-child(even) .timeline-content { width: 100%; }
  .timeline-dot { left: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  /* Show bottom menu on mobile */
  body { padding-bottom: 70px; } /* Prevent content from hiding behind menu */
  .mobile-bottom-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 0 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
  }
  .bottom-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 6px;
    width: 25%;
    height: 100%;
    transition: all 0.3s ease;
  }
  .bottom-menu-item i {
    font-size: 1.25rem;
    transition: all 0.3s ease;
  }
  .bottom-menu-item.active, .bottom-menu-item:hover {
    color: var(--accent-color);
  }
  .bottom-menu-item.active i, .bottom-menu-item:hover i {
    transform: translateY(-2px);
  }
  
  /* Floating Actions Mobile Adjustments */
  .floating-actions {
    bottom: 90px; /* Push above bottom menu */
    right: 20px;
    gap: 12px;
  }
  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .btn-chat {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  .chat-widget {
    bottom: 150px; /* Push above floating buttons */
  }
  
  /* Make Marquees Swipeable on Mobile */
  .marquee-track {
    animation: none !important;
  }
  .marquee-container {
    overflow-x: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
  }
  .marquee-container::-webkit-scrollbar {
    display: none;
  }
}

/* Section Spacing Adjustments */
#portfolio {
  padding-bottom: 20px;
}
#process {
  padding-top: 20px;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  width: 90%;
  max-width: 500px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
}
.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: var(--primary-gradient);
  transform: rotate(90deg);
}
