/* ==========================================================================
   premium digital marketing theme - styles.css
   ========================================================================== */

:root {
  --bg-dark: #07070d;
  --bg-card: rgba(15, 15, 30, 0.7);
  --bg-card-hover: rgba(25, 25, 45, 0.9);
  --color-primary: #8b5cf6; /* Neon Violet */
  --color-secondary: #06b6d4; /* Cyber Cyan */
  --color-accent: #f43f5e; /* Rose Pink */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-primary: "Poppins", sans-serif;
  --font-heading: "Rajdhani", sans-serif;
  --glow-primary: 0 0 20px rgba(139, 92, 246, 0.4);
  --glow-secondary: 0 0 20px rgba(6, 182, 212, 0.4);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Typography & Layout Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  text-align: center;
  position: relative;
}

.loader-logo img {
  height: 60px;
  filter: invert(1);
  margin-bottom: 20px;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 2px;
}

.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-secondary),
    var(--color-primary),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  100% {
    left: 100%;
  }
}

/* Background Gradients & Grid */
.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
}

.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.glow-orb-primary {
  background: var(--color-primary);
  top: 10%;
  left: -10%;
}

.glow-orb-secondary {
  background: var(--color-secondary);
  bottom: 10%;
  right: -10%;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
  filter: invert(1);
  object-fit: contain;
  transition: var(--transition-smooth);
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  letter-spacing: 1px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  display: block;
  color: var(--text-muted);
}

.dropdown-menu li a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #fff;
  box-shadow: var(--glow-primary);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-primary)
  );
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--glow-secondary);
  background: rgba(6, 182, 212, 0.05);
}

.btn-full {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  position: relative;
  transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-smooth);
}

.hamburger::before {
  top: -8px;
}
.hamburger::after {
  top: 8px;
}

/* Active Menu Toggle States */
.menu-toggle.active .hamburger {
  background: transparent;
}
.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 140px;
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-subtitle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Floating 3D Artwork */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cyber-sphere {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  position: absolute;
  animation: pulseOrb 4s infinite alternate;
}

@keyframes pulseOrb {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 400px;
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  animation: hoverFloat 6s ease-in-out infinite;
}

.fc-1 {
  top: 10%;
  left: 10%;
  width: 260px;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 10%;
  right: 5%;
  width: 220px;
  animation-delay: 2s;
  border-color: rgba(6, 182, 212, 0.2);
}

.fc-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 80px;
  margin-top: 16px;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(
    to top,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: 4px;
  animation: barGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes barGrow {
  from {
    height: 0;
  }
}

/* Interactive Digital Marketing Showcase Section */
.analytics-showcase {
  background: rgba(15, 15, 30, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.report-frame {
  background: #0f0f1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.report-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.report-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-r {
  background: #ff5f56;
}
.dot-y {
  background: #ffbd2e;
}
.dot-g {
  background: #27c93f;
}

.report-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.report-body {
  padding: 24px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.metric-item {
  text-align: left;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-val {
  font-size: 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
}

.campaign-visualizer {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 20px;
  position: relative;
  height: 180px;
}

/* Services Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--glow-primary);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 36px;
  color: var(--color-secondary);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--color-primary);
}

.service-title {
  font-size: 22px;
  margin-bottom: 16px;
}

.service-text {
  color: var(--text-muted);
  font-size: 15px;
}

/* Interactive ROI Calculator Section */
.calculator-section {
  background: rgba(7, 7, 13, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.calc-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.calc-input-group {
  margin-bottom: 30px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.calc-value-display {
  color: var(--color-secondary);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--glow-primary);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.calc-result-title {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calc-result-number {
  font-size: 48px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  margin: 10px 0;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 40px 30px;
  border-radius: 12px;
  position: relative;
  text-align: center;
}

.step-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--glow-primary);
}

.step-title {
  font-size: 20px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* Testimonials / Success Showcase */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  opacity: 0.1;
  color: var(--color-primary);
}

.testi-text {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-info h4 {
  font-size: 16px;
}

.author-info p {
  font-size: 12px;
  color: var(--color-secondary);
}

/* FAQ / Accordion Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 14px;
  color: var(--color-secondary);
  transition: var(--transition-smooth);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s cubic-bezier(0, 1, 0, 1),
    padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: 1000px; /* high dummy height for smooth transition */
  padding-bottom: 24px;
  transition:
    max-height 0.3s cubic-bezier(1, 0, 1, 0),
    padding 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

/* Page Header for Inner/Legal Pages */
.page-header {
  background: linear-gradient(
    180deg,
    rgba(15, 15, 30, 0.8) 0%,
    rgba(7, 7, 13, 1) 100%
  );
  padding: 160px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 12px;
}

.breadcrumbs {
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--color-secondary);
}

/* Legal Page Content Styling */
.main-content {
  padding: 80px 0;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 50px;
}

.legal-content h2 {
  font-size: 24px;
  color: var(--color-secondary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.8;
}

/* Contact Form Styling */
.contact-section {
  padding-bottom: 100px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  font-size: 24px;
  color: var(--color-secondary);
  background: rgba(6, 182, 212, 0.05);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
}

.form-title {
  font-size: 24px;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px 20px 14px 44px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-group select {
  padding-left: 20px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
}

.form-icon {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.checkbox-group input {
  width: auto;
}

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.popup-content {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  max-width: 450px;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.popup-icon {
  font-size: 50px;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

/* Footer Section */
.footer {
  background: #040408;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 60px;
  filter: invert(1);
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.footer-socials a:hover {
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
  transform: translateY(-4px);
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 6px;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact li i {
  color: var(--color-secondary);
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scroll Animations CSS */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.fade-up {
  transform: translateY(40px);
}

.animate-on-scroll.fade-right {
  transform: translateX(-40px);
}

.animate-on-scroll.fade-left {
  transform: translateX(40px);
}

.animate-on-scroll.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
  }
  .nav.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 40px;
  }
  .hero-grid,
  .showcase-grid,
  .calc-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 32px;
  }
  .hero-title {
    font-size: 42px;
  }
  .legal-content {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
