@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Common Brand Colors */
  --primary: #FF3B3C;
  --primary-hover: #E02F30;
  --primary-rgb: 255, 59, 60;
  --primary-light: rgba(255, 59, 60, 0.08);
  --primary-glow: rgba(255, 59, 60, 0.3);
  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.1);
  --warning: #F59E0B;
  --info: #3B82F6;
  --font-title: 'Outfit', sans-serif;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  
  /* Light Theme Colors (Default) */
  --background: #FFFFFF;
  --surface: #F8FAFC;
  --surface-alt: #F1F5F9;
  --surface-glass: rgba(255, 255, 255, 0.75);
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 10px 15px -10px rgba(15, 23, 42, 0.05);
  --shadow-glow: rgba(255, 59, 60, 0.15);
  --glass-blur: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme overrides */
body.dark-theme {
  --background: #070913;
  --surface: #0E1325;
  --surface-alt: #161D33;
  --surface-glass: rgba(14, 19, 37, 0.7);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  --border: #1E293B;
  --border-light: #161D33;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 10px 15px -10px rgba(0, 0, 0, 0.3);
  --shadow-glow: rgba(255, 59, 60, 0.35);
  --primary-light: rgba(255, 59, 60, 0.15);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
  border: 2px solid var(--background);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Helpers */
.text-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8A8A 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  display: inline-block;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Disable gradient animation on navbar links */
.nav-links .text-primary {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--primary);
  animation: none;
}

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

.text-muted {
  color: var(--text-muted);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.5rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.15rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.bg-surface {
  background-color: var(--surface);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Glowing Orbs background for dark theme */
.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
  background: var(--primary);
}

body.dark-theme .glowing-orb {
  opacity: 0.25;
}

/* Sticky Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 0;
  background: var(--surface-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  height: 40px;
  object-fit: contain;
}

.logo-dot {
  color: var(--primary);
  display: inline-block;
  animation: pulse 2s infinite;
}

.nav-links {
  display: none;
  align-items: center;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--surface-alt);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.theme-toggle:hover {
  color: var(--primary);
  background: var(--primary-light);
  transform: rotate(15deg);
}

.theme-toggle .sun-icon {
  display: none;
}

body.dark-theme .theme-toggle .moon-icon {
  display: none;
}

body.dark-theme .theme-toggle .sun-icon {
  display: block;
}

/* Mobile Nav Menu Drawer */
.mobile-menu-btn {
  display: block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

@media (min-width: 992px) {
  .mobile-menu-btn { display: none; }
}

@media (max-width: 991px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: 1.5rem;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top;
  }
  
  .nav-links.active a {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: scaleY(0.9); }
  to { opacity: 1; transform: scaleY(1); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #FF1E1F);
  color: white !important;
  box-shadow: 0 4px 15px rgba(255, 59, 60, 0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 59, 60, 0.5);
  background: linear-gradient(135deg, var(--primary-hover), #E0191A);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary) !important;
  color: var(--text);
  box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-outline:hover {
  color: white !important;
  background-color: var(--primary) !important;
  box-shadow: inset 0 0 0 2rem var(--primary), 0 4px 15px rgba(255, 59, 60, 0.2);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, transparent 45%), var(--background);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  width: max-content;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 8s infinite linear;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-card .hero-metric {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
}

/* Feature & Service Cards */
.feature-card {
  background: var(--surface);
  padding: 3rem 2.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: var(--transition);
}

.feature-card:hover::after {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary);
  color: white;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stats section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Marquee / Logo Slider */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 3rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  margin-right: 4rem;
}

.marquee-content span.highlight {
  color: var(--primary);
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Portfolio Filters & Works Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px var(--shadow-glow);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 992px) {
  .media-grid { grid-template-columns: repeat(3, 1fr); }
}

.media-card {
  background: var(--surface);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.media-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--surface-alt);
  overflow: hidden;
}

.media-iframe-wrapper.standard {
  aspect-ratio: 16 / 9;
}

.media-iframe-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.media-card:hover .media-iframe-wrapper img {
  transform: scale(1.05);
}

.yt-facade {
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: var(--transition);
  z-index: 2;
}

.media-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-hover);
}

.media-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.media-info {
  padding: 1.75rem;
  flex-grow: 1;
}

.media-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.media-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.media-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Cost & Scope Estimator Section */
.estimator-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.estimator-title {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.estimator-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .estimator-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

.est-card {
  border: 2px solid var(--border);
  background: var(--background);
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.est-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 12px var(--shadow-glow);
}

.est-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.est-card.active .est-checkbox {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.est-checkbox::after {
  content: '✓';
  font-size: 0.8rem;
  font-weight: bold;
  display: none;
}

.est-card.active .est-checkbox::after {
  display: block;
}

.est-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.est-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-group {
  margin-bottom: 3rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.est-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
}

.est-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 10px var(--shadow-glow);
}

.est-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.estimator-summary {
  background: var(--surface-alt);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .estimator-summary {
    flex-direction: row;
    align-items: center;
  }
}

.summary-details h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.summary-details p {
  color: var(--text-muted);
}

.summary-cost {
  text-align: right;
}

.cost-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.cost-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Multi-Step capture wizard */
.multi-step-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.form-steps-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.form-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
  position: relative;
  transition: var(--transition);
}

.form-step-dot.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 12px var(--shadow-glow);
}

.form-step-dot.completed {
  border-color: var(--success);
  background: var(--success);
  color: white;
}

.form-step-panel {
  display: none;
}

.form-step-panel.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

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

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid var(--border);
  background: var(--background);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  background: var(--surface);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
}

.faq-header:hover {
  background: var(--surface-alt);
}

.faq-content {
  padding: 0 1.75rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-muted);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
  max-height: 500px;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Blog Magazine Section */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  background: var(--surface);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-alt);
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.05);
}

.blog-meta-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-readmore {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.blog-readmore:hover {
  gap: 0.8rem;
}

/* Full Article Page Styles */
.blog-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at top, var(--primary-light) 0%, transparent 50%), var(--background);
}

.blog-title-meta {
  max-width: 800px;
  margin: 0 auto;
}

.blog-body-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.blog-featured-img {
  width: 100%;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.blog-content p {
  margin-bottom: 2rem;
}

.blog-content h2, .blog-content h3 {
  color: var(--text);
  margin: 3rem 0 1.5rem 0;
  font-size: 1.85rem;
}

.blog-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-radius: 0 1rem 1rem 0;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text);
}

.blog-content ul, .blog-content ol {
  margin: 1.5rem 0 2rem 2.5rem;
}

.blog-content li {
  margin-bottom: 0.75rem;
}

.blog-content .highlight-box {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px var(--shadow-glow);
}

.blog-content .highlight-box h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Case Study details page */
.case-study-hero {
  padding: 8rem 0 4rem 0;
  background: radial-gradient(circle at top, var(--primary-light) 0%, transparent 60%), var(--background);
}

.case-grid-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .case-grid-summary {
    grid-template-columns: 1fr 1fr;
  }
}

.case-metric-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.case-metric-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.case-metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Footer Section */
.footer {
  background: var(--surface);
  color: var(--text);
  padding: 6rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h3 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Client Logo Premium Look */
.client-logo {
  width: 140px;
  height: 60px;
  margin: 0 3rem;
  object-fit: contain;
  filter: grayscale(100%) opacity(60%);
  transition: all 0.4s ease;
  cursor: pointer;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .client-logo {
    margin: 0 1.5rem;
    width: 100px;
    height: 45px;
  }
}

/* Float Buttons */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Shared Components used in multiple pages */
.dashboard-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.dashboard-card-lg {
  padding: 4rem;
}

.impact-metrics-box {
  background: var(--surface-alt);
  padding: 3rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
}

.dashboard-card {
  margin-bottom: 2.5rem;
}

.admin-search-wrapper {
  display: flex;
  gap: 1rem;
  flex: 1;
  max-width: 480px;
}

/* Premium Team Section Styling */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.team-card:hover::after {
  transform: scaleX(1);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.team-image-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem auto;
  border: 4px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover .team-image-wrapper {
  border-color: var(--primary);
  transform: scale(1.05);
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.team-role {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Premium Social Eagle Certification Styling */
.certification-card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(252, 232, 129, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .certification-card {
    flex-direction: row;
    text-align: left;
    gap: 3.5rem;
    padding: 3.5rem;
  }
}

.certification-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.certification-card:hover .certification-logo {
  transform: scale(1.05) rotate(2deg);
}

.certification-content {
  flex: 1;
}

.certification-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.certification-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Social Eagle Badge for Footers / Small layouts */
.social-eagle-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1rem;
}

.social-eagle-badge-sm svg {
  vertical-align: middle;
}

/* Premium Dashboard UI */
.premium-dashboard-wrapper {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.premium-dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
}

.premium-dashboard-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.premium-dashboard-card h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.premium-dashboard-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.premium-dashboard-card .glow-orb {
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.15;
  transition: all 0.4s ease;
  pointer-events: none;
}

.premium-dashboard-card:hover .glow-orb {
  opacity: 0.3;
}

/* Global Mobile View Adjustments */
@media (max-width: 991px) {
  .nav-actions a.btn {
    display: none; /* Hide header buttons on mobile to prevent squishing */
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  /* Fix first sections overlapping under navbar on mobile */
  section[style*="padding-top: 10rem"] {
    padding-top: 8rem !important;
  }
  .section-title {
    font-size: 2.2rem !important;
  }
  .hero h1 {
    font-size: 2.8rem !important;
  }
  .hero p {
    font-size: 1.05rem !important;
  }
  .container {
    padding: 0 1.25rem;
  }
  .btn {
    width: 100%;
    padding: 1rem !important;
    font-size: 0.95rem !important;
    white-space: normal;
  }
  .dashboard-card, .dashboard-card-lg {
    padding: 1.5rem !important; /* Override large inline padding on mobile */
  }
  .impact-metrics-box {
    padding: 1.5rem !important;
  }
  .feature-card {
    padding: 2rem 1.5rem !important; /* Ensure feature cards aren't overly padded on mobile */
  }
  .case-metric-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.25rem;
  }
  .case-metric-val {
    font-size: 2rem;
  }
}

/* Mobile Menu Injected Buttons */
.mobile-header-btns {
  display: none;
  flex-direction: column;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 991px) {
  .mobile-header-btns {
    display: flex;
  }
}
/* Mobile Layout Fixes */
@media (max-width: 768px) {
  .flex-mobile-wrap {
    flex-wrap: wrap !important;
    gap: 1rem !important;
  }
}

/* CSS 3D Tech Orb */
.orb-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  perspective: 1200px;
  z-index: 0;
  pointer-events: none;
}

.orb {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: orbRotate 30s linear infinite;
}

.orb-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 59, 60, 0.15);
  box-shadow: 0 0 15px rgba(255, 59, 60, 0.05), inset 0 0 15px rgba(255, 59, 60, 0.05);
}

.orb-ring:nth-child(1) { transform: rotateY(0deg); }
.orb-ring:nth-child(2) { transform: rotateY(30deg); }
.orb-ring:nth-child(3) { transform: rotateY(60deg); }
.orb-ring:nth-child(4) { transform: rotateY(90deg); }
.orb-ring:nth-child(5) { transform: rotateY(120deg); }
.orb-ring:nth-child(6) { transform: rotateY(150deg); border-color: rgba(255, 59, 60, 0.3); }

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,59,60,0.8) 0%, transparent 60%);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255,59,60,0.4);
  opacity: 0.5;
  animation: corePulse 4s ease-in-out infinite alternate;
}

@keyframes orbRotate {
  0% { transform: rotateX(20deg) rotateY(0deg); }
  100% { transform: rotateX(20deg) rotateY(360deg); }
}

@keyframes corePulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

@media (max-width: 768px) {
  .orb-container {
    width: 300px;
    height: 300px;
  }
}

/* Scroll Reveal Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Cursor */
.custom-cursor-dot, .custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease-out, background 0.15s ease-out;
}
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}
.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 59, 60, 0.4);
  transition: width 0.2s, height 0.2s, background-color 0.2s, border 0.2s, transform 0.1s ease-out;
}
.cursor-hover .custom-cursor-ring {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 59, 60, 0.1);
  border-color: transparent;
}
.cursor-hover .custom-cursor-dot {
  transform: translate(-50%, -50%) scale(0);
}

@media (max-width: 991px) {
  .custom-cursor-dot, .custom-cursor-ring { display: none; }
}

/* Cinematic Noise Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  opacity: 0.035;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Dynamic Spotlight Hover for Cards */
.feature-card, .dashboard-card, .blog-card {
  position: relative;
  overflow: hidden;
}
.feature-card::before, .dashboard-card::before, .blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0), 
    rgba(255, 59, 60, 0.08), 
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.feature-card:hover::before, .dashboard-card:hover::before, .blog-card:hover::before {
  opacity: 1;
}
.feature-card > *, .dashboard-card > *, .blog-card > * {
  position: relative;
  z-index: 2;
}

/* Page Transition Overlay Removed */
