/* styles.css */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&display=swap");

:root {
  /* Color Palette - Premium Light Theme */
  --bg-main: #f4f4f6;
  --bg-alt: #ffffff;
  --bg-dark: #0f0f11;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --text-light: #f4f4f6;
  --accent-primary: #4f46e5; /* Indigo */
  --accent-secondary: #ff477e; /* Vibrant Pink/Coral */
  --accent-gradient: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );

  /* Typography */
  --font-heading: "Syne", sans-serif;
  --font-body: "Poppins", sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1400px;

  /* Effects */
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 24px;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 30px 60px rgba(79, 70, 229, 0.15);
}

/* ================= Reset & Base ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-primary);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
.cursor-hover {
  width: 60px;
  height: 60px;
  background-color: rgba(79, 70, 229, 0.1);
  border-color: transparent;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ================= Utilities & Animations ================= */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  color: #fff;
  box-shadow: var(--shadow-hover);
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s ease;
}
.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-text {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

/* ================= Global Header ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.4s ease;
}
.header.scrolled {
  padding: 16px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 90px;
  /* filter: invert(1); Assuming white logo, inverting for light theme header */
  transition: var(--transition-smooth);
}

.nav-menu {
  display: flex;
  gap: 40px;
  background: var(--glass-bg);
  padding: 12px 32px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: var(--glass-border);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s;
}

/* ================= Hero Section (3D & Interactive) ================= */
.hero {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.shape-1,
.shape-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: floatShape 20s infinite alternate;
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  top: -10%;
  right: -10%;
}
.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
  bottom: -10%;
  left: -10%;
  animation-delay: -10s;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-100px, 100px) scale(1.2);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 5.5rem;
  letter-spacing: -2px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-visual {
  perspective: 1000px;
}
.card-3d-wrapper {
  width: 100%;
  height: 600px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s;
}
.card-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transform-style: preserve-3d;
}
.card-3d-element {
  transform: translateZ(50px);
}
.stat-box {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  transform: translateZ(80px);
}
.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
}
.stat-info h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.stat-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================= Marquee Section ================= */
.marquee-section {
  padding: 40px 0;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
  position: relative;
  transform: rotate(-2deg) scale(1.05);
  z-index: 10;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: scrollMarquee 20s linear infinite;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  text-transform: uppercase;
}
.marquee-item i {
  color: var(--accent-secondary);
}
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================= Services Section (Awwwards Style Grid) ================= */
.services {
  padding: var(--section-padding);
  background: var(--bg-main);
}
.section-header {
  margin-bottom: 80px;
}
.subtitle {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: 4rem;
  max-width: 800px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--bg-alt);
  padding: 50px 40px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
  group: hover;
}
.service-icon {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}
.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}
.service-link i {
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--accent-secondary);
}
.service-card:hover .service-link i {
  transform: translateX(10px);
}

/* Hover background fill effect */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-main);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: var(--text-light);
}
.service-card:hover::after {
  transform: scaleY(1);
}

/* ================= Process Section (Sticky Path) ================= */
.process {
  padding: var(--section-padding);
  background: var(--bg-alt);
  position: relative;
}
.process-container {
  display: flex;
  gap: 60px;
}
.process-sticky {
  flex: 1;
  position: sticky;
  top: 150px;
  height: fit-content;
}
.process-steps {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
}
.process-line {
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
}
.process-line-fill {
  position: absolute;
  top: 0;
  left: -1px;
  width: 4px;
  height: 0%;
  background: var(--accent-gradient);
  transition: height 0.1s ease;
}
.step-item {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--bg-alt);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}
.step-item.active .step-number {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}
.step-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.step-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ================= Interactive Section: ROI Calculator ================= */
.calculator-section {
  padding: var(--section-padding);
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: 40px;
  margin: 0 40px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.calc-controls {
  background: rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group {
  margin-bottom: 30px;
}
.form-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--accent-secondary);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 10px rgba(255, 71, 126, 0.5);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
.calc-result {
  text-align: center;
}
.result-box {
  background: var(--accent-gradient);
  padding: 60px;
  border-radius: var(--border-radius);
  display: inline-block;
}
.result-box h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}
.result-value {
  font-size: 5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
}

/* ================= Campaign Reports (Interactive Tabs) ================= */
.reports-section {
  padding: var(--section-padding);
}
.reports-container {
  background: var(--bg-alt);
  border-radius: var(--border-radius);
  padding: 60px;
  box-shadow: var(--shadow-soft);
}
.report-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 20px;
}
.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 10px 20px;
  position: relative;
  transition: 0.3s;
}
.tab-btn.active {
  color: var(--accent-primary);
}
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: 0.3s;
}
.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-content.active {
  display: block;
}

.chart-simulation {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 300px;
  padding-top: 40px;
  border-left: 2px solid rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding-left: 20px;
}
.bar {
  flex: 1;
  background: var(--accent-primary);
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
  height: 0; /* Animated via JS */
}
.bar span {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= Industry Section (Parallax Hover) ================= */
.industry {
  padding: var(--section-padding);
  background: var(--bg-dark);
  color: var(--text-light);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.industry-item {
  padding: 80px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}
.industry-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: grayscale(100%);
  transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.industry-content {
  position: relative;
  z-index: 2;
}
.industry-item h3 {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: 0.3s;
}
.industry-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-height: 0;
  overflow: hidden;
  transition: 0.5s;
}

.industry-item:hover .industry-bg {
  opacity: 0.2;
  transform: scale(1.05);
}
.industry-item:hover h3 {
  color: var(--accent-secondary);
  transform: translateX(20px);
}
.industry-item:hover p {
  max-height: 100px;
  margin-top: 20px;
}

/* ================= Testimonials ================= */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-main);
  overflow: hidden;
}
.testi-slider {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: slideTesti 30s linear infinite;
}
.testi-card {
  width: 450px;
  background: var(--bg-alt);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  white-space: normal;
}
.testi-icon {
  color: var(--accent-secondary);
  font-size: 2rem;
  margin-bottom: 20px;
}
.testi-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ccc;
}
.client-details h5 {
  font-size: 1.2rem;
}
.client-details span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@keyframes slideTesti {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================= Contact CTA / Footer Global Design ================= */
.contact-cta {
  padding: var(--section-padding);
  background: var(--bg-alt);
  text-align: center;
}
.contact-cta h2 {
  font-size: 5rem;
  margin-bottom: 30px;
}

/* STRICT FOOTER DESIGN - DARK THEME CONTRAST */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 100px 0 40px;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-logo img {
  height: 90px;
  margin-bottom: 30px;
  filter: invert(1); /* Ensure contrast on dark footer */
}
.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  max-width: 80%;
}
.footer-social {
  display: flex;
  gap: 15px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.footer-social a:hover {
  background: var(--accent-primary);
  transform: translateY(-5px);
}

.footer-widget h4 {
    color: #fff;
  font-size: 1.5rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}
.footer-widget h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-secondary);
}
.footer-links li {
  margin-bottom: 15px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  display: inline-block;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact i {
  color: var(--accent-primary);
  font-size: 1.2rem;
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a:hover {
  color: #fff;
}

/* ================= Legal Pages & General Page Headers ================= */
.page-header {
  padding: 200px 0 100px;
  background: var(--bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}
.page-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.legal-content,
.contact-page-section {
  padding: 80px 0 120px;
  background: var(--bg-main);
}
.content-wrapper {
  background: var(--bg-alt);
  padding: 80px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  max-width: 1000px;
  margin: 0 auto;
}
.content-wrapper h3 {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--text-main);
}
.content-wrapper p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.content-wrapper ul {
  margin-bottom: 30px;
  padding-left: 20px;
}
.content-wrapper li {
  margin-bottom: 10px;
  color: var(--text-muted);
  list-style-type: disc;
}

/* Contact Page Specifics */
.contact-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  background: var(--bg-alt);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.contact-info-block {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px;
}
.contact-info-block h3 {
  margin-bottom: 20px;
  font-size: 2rem;
}
.contact-info-block > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.info-text h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}
.info-text p {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form-block {
  padding: 60px;
}
.contact-form-block h3 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.custom-input {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-main);
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 20px;
  transition: 0.3s;
}
.custom-input:focus {
  border-color: var(--accent-primary);
  outline: none;
  background: #fff;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}
textarea.custom-input {
  resize: vertical;
  min-height: 150px;
}
.btn-full {
  width: 100%;
  margin-top: 20px;
}

/* ================= Live Chat Widget ================= */
.chat-widget {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
}
.chat-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 71, 126, 0.3);
  transition: 0.3s;
}
.chat-btn:hover {
  transform: scale(1.1);
}
.chat-box {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 350px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: 0.4s;
}
.chat-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.chat-header {
  background: var(--accent-gradient);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-close {
  cursor: pointer;
}
.chat-body {
  height: 300px;
  padding: 20px;
  background: var(--bg-main);
  overflow-y: auto;
}
.chat-msg {
  background: #fff;
  padding: 12px 16px;
  border-radius: 15px;
  border-bottom-left-radius: 0;
  margin-bottom: 15px;
  font-size: 0.9rem;
  width: fit-content;
  max-width: 80%;
  box-shadow: var(--shadow-soft);
}
.chat-footer {
  padding: 15px;
  background: #fff;
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.chat-footer input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}
.chat-footer button {
  background: var(--accent-primary);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

/* ================= Media Queries ================= */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-container {
    flex-direction: column;
  }
  .process-sticky {
    position: static;
    text-align: center;
    margin-bottom: 50px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-wrapper {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  } /* Add mobile menu logic in JS if needed, hiding for basic responsive */
  .hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .content-wrapper {
    padding: 40px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-contact li {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .contact-info-block,
  .contact-form-block {
    padding: 40px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 2.5rem;
  }
  .marquee-item {
    font-size: 2rem;
  }
}
