/* ==========================================================================
   DOMAINKNAME CREATIVE PRODUCTION STUDIO CSS
   A completely custom, deeply styled theme featuring 3D effects,
   smooth animations, dark mode aesthetic, and extensive responsive design.
   Lines: ~2000
   ========================================================================== */

/* --------------------------------------------------------------------------
   VARIABLES & THEME CONFIGURATION
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-main: #040814;
  --bg-secondary: #0b1120;
  --bg-glass: rgba(11, 17, 32, 0.7);
  --bg-glass-light: rgba(255, 255, 255, 0.03);
  --bg-card: #111827;

  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.4);
  --secondary: #4facfe;
  --accent: #f72585;
  --success: #10b981;
  --warning: #fbbf24;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;

  --border-light: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 242, 254, 0.3);

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--primary-glow);

  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
  --section-padding: 100px;
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 5px;
  border: 1px solid var(--border-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-success {
  color: var(--success) !important;
}
.text-warning {
  color: var(--warning) !important;
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: var(--section-padding) 0;
}

.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.mt-2 {
  margin-top: 1rem !important;
}
.mt-4 {
  margin-top: 2rem !important;
}
.mb-4 {
  margin-bottom: 2rem !important;
}
.w-100 {
  width: 100% !important;
}
.text-center {
  text-align: center !important;
}
.bg-darker {
  background-color: var(--bg-secondary);
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--bg-glass-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-main);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-glow);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.5s ease;
  z-index: -1;
}
.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition: all var(--transition-medium);
}
.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo, .footer-logo img {
  height: 60px;
  width: auto;
  filter: invert(1) drop-shadow(0 0 5px var(--primary-glow));
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 2rem;
}
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}
.mobile-toggle .bar {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  transition: all var(--transition-fast);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 8, 20, 0.95);
  backdrop-filter: blur(15px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-content {
  text-align: center;
  position: relative;
  width: 100%;
}
.close-mobile-nav {
  position: absolute;
  top: -60px;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 2.5rem;
  cursor: pointer;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-nav-list a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mobile-nav-list a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   HERO SECTION (3D & PARTICLES)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

/* Background elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: floatOrb 10s infinite alternate ease-in-out;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: 10%;
  right: -50px;
  animation-delay: -5s;
}
.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--secondary);
  top: 40%;
  left: 40%;
  animation-duration: 15s;
}
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(3);
  animation: gridMove 20s linear infinite;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
}

/* 3D Visual in Hero */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: sceneRotate 20s infinite linear;
}
.cube {
  position: absolute;
  width: 100px;
  height: 100px;
  transform-style: preserve-3d;
}
.cube-1 {
  top: 30%;
  left: 30%;
  animation: floatCube 6s infinite ease-in-out;
}
.cube-2 {
  bottom: 20%;
  right: 20%;
  animation: floatCube 8s infinite ease-in-out reverse;
}

.face {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(11, 17, 32, 0.8);
  border: 2px solid var(--primary);
  box-shadow: inset 0 0 20px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  backdrop-filter: blur(5px);
}
.front {
  transform: translateZ(50px);
}
.back {
  transform: rotateY(180deg) translateZ(50px);
}
.right {
  transform: rotateY(90deg) translateZ(50px);
}
.left {
  transform: rotateY(-90deg) translateZ(50px);
}
.top {
  transform: rotateX(90deg) translateZ(50px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(50px);
}

.floating-card {
  position: absolute;
  background: var(--bg-glass-light);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  transform: translateZ(100px);
}
.stat-card-1 {
  top: 10%;
  right: 0;
  animation: floatCard 5s infinite ease-in-out;
}
.stat-card-2 {
  bottom: 30%;
  left: 0;
  animation: floatCard 7s infinite ease-in-out reverse;
}
.floating-card i {
  font-size: 2rem;
}
.floating-card .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.floating-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-bottom-wave {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-bottom-wave svg {
  display: block;
  width: 100%;
  height: 100px;
  fill: var(--bg-main);
}

/* --------------------------------------------------------------------------
   STATS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -50px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-light);
}
.stat-item h3 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.stat-item p {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.image-grid {
  position: relative;
  height: 500px;
}
.img-box {
  position: absolute;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.img-1 {
  width: 70%;
  height: 80%;
  top: 0;
  left: 0;
  background-image: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=800&q=80");
  border: 1px solid var(--border-light);
}
.img-2 {
  width: 60%;
  height: 60%;
  bottom: 0;
  right: 0;
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=800&q=80");
  border: 5px solid var(--bg-main);
  z-index: 2;
}
.experience-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-main);
  box-shadow: var(--shadow-glow);
  z-index: 3;
  animation: pulseGlow 2s infinite;
}
.experience-badge span {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}
.experience-badge p {
  color: var(--bg-main);
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0;
  text-transform: uppercase;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}
.section-subtitle {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.feature-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--text-main);
}
.feature-list i {
  color: var(--success);
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   SERVICES SECTION (3D TILT CARDS)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  transform-style: preserve-3d;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(0, 242, 254, 0.1),
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--transition-medium);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--bg-main);
  transform: scale(1.1) rotate(5deg);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-features {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}
.service-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features li::before {
  content: "\f101";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--secondary);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   PRODUCTION IMPACT ESTIMATOR SECTION
   -------------------------------------------------------------------------- */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.calc-info .cf-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-main);
}
.calc-info .cf-item i {
  color: var(--primary);
  font-size: 1.5rem;
}
.calc-panel {
  padding: 3rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 1rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}
.form-control option {
  background: var(--bg-card);
  color: var(--text-main);
}
.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  background: var(--border-light);
  border-radius: 5px;
  outline: none;
  margin-top: 1rem;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: all var(--transition-fast);
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.res-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.total-res {
  grid-column: span 2;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
}
.res-box h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.res-val {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.calc-disclaimer {
  font-size: 0.8rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   INDUSTRIES SECTION
   -------------------------------------------------------------------------- */
.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}
.industry-card {
  flex: 1 1 200px;
  max-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-medium);
}
.industry-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, var(--bg-card), #1e293b);
  border-color: var(--secondary);
}
.ind-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}
.industry-card:hover .ind-icon {
  background: var(--secondary);
  color: var(--bg-main);
  box-shadow: 0 0 15px var(--secondary);
}
.industry-card h3 {
  font-size: 1.2rem;
}
.industry-card p {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   PROCESS SECTION
   -------------------------------------------------------------------------- */
.process-timeline {
  max-width: 800px;
  margin: 4rem auto 0;
  position: relative;
}
.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 2px;
  background: var(--border-light);
}
.process-step {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 120px;
}
.step-number {
  position: absolute;
  left: 20px;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  z-index: 2;
}
.step-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}
.step-content:hover {
  border-color: var(--primary);
  transform: translateX(10px);
}
.step-content h3 {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.testimonial-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition-medium);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
}
.t-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.t-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}
.t-info h4 {
  margin: 0;
  font-size: 1rem;
}
.t-info span {
  font-size: 0.8rem;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-box {
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 242, 254, 0.1));
  border: 1px solid var(--primary);
  padding: 5rem 3rem;
  border-radius: 30px;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.1);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 242, 254, 0.1) 0%,
    transparent 60%
  );
  animation: rotate3d 20s linear infinite;
  z-index: 0;
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  font-size: 3rem;
}
.cta-box p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   LIVE CHAT WIDGET
   -------------------------------------------------------------------------- */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-main);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-fast);
  animation: bounce 2s infinite;
}
.chat-toggle:hover {
  transform: scale(1.1);
}
.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-medium);
}
.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bg-main);
}
.chat-header div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}
.chat-title {
  font-weight: 700;
}
.chat-header button {
  background: transparent;
  border: none;
  color: var(--bg-main);
  font-size: 1.2rem;
  cursor: pointer;
}
.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
}
.bot-msg {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  align-self: flex-start;
  border-bottom-left-radius: 0;
}
.user-msg {
  background: var(--primary);
  color: var(--bg-main);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}
.chat-input-area {
  display: flex;
  padding: 1rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-card);
}
.chat-input-area input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  outline: none;
}
.chat-input-area button {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-light);
  padding-top: 5rem;
}
.footer-top-decor {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--secondary)
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-light);
}
.footer-brand p {
  margin: 1.5rem 0;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}
.social-links a:hover {
  background: var(--primary);
  color: var(--bg-main);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-col a {
  color: var(--text-muted);
}
.footer-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-muted);
}
.contact-list i {
  color: var(--primary);
  margin-top: 5px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  margin: 0;
}
.legal-links {
  display: flex;
  gap: 2rem;
}

/* --------------------------------------------------------------------------
   LEGAL PAGES & CONTACT (Inner Pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding: 180px 0 80px;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-main));
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.page-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.breadcrumbs {
  font-size: 1rem;
  color: var(--text-muted);
}
.breadcrumbs span {
  color: var(--text-main);
}
.breadcrumbs i {
  font-size: 0.8rem;
  margin: 0 0.5rem;
  color: var(--primary);
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--primary);
}

.text-content {
  padding: 4rem;
}
.text-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.text-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Contact Page Specifics */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  overflow: hidden;
}
.wrapper-margin {
  margin-top: 4rem;
}
.contact-info-card {
  background: linear-gradient(
    135deg,
    rgba(0, 242, 254, 0.1),
    rgba(11, 17, 32, 0.8)
  );
  padding: 4rem;
  border-right: 1px solid var(--border-light);
}
.contact-info-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.info-item {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}
.info-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}
.info-text h4 {
  margin-bottom: 0.2rem;
}
.info-text p {
  margin: 0;
  font-size: 1.1rem;
}

.form-box {
  padding: 4rem;
}
.custom-form .form-row {
  display: flex;
  gap: 1.5rem;
}
.custom-form .half-width {
  flex: 1;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --------------------------------------------------------------------------
   ANIMATIONS (Keyframes)
   -------------------------------------------------------------------------- */
@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -50px) scale(1.1);
  }
}
@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}
@keyframes sceneRotate {
  0% {
    transform: rotateY(0deg) rotateX(10deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(10deg);
  }
}
@keyframes floatCube {
  0%,
  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }
  50% {
    transform: translateY(-30px) rotateX(180deg) rotateY(180deg);
  }
}
@keyframes floatCard {
  0%,
  100% {
    transform: translateZ(100px) translateY(0);
  }
  50% {
    transform: translateZ(100px) translateY(-20px);
  }
}
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 242, 254, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
  }
}
@keyframes rotate3d {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Reveal Classes for Intersection Observer */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   MEDIA QUERIES (RESPONSIVENESS)
   -------------------------------------------------------------------------- */
/* Large Desktops */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .stat-item:nth-child(1)::after,
  .stat-item:nth-child(3)::after {
    display: none;
  } /* Simplified borders on wrap */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets / Landscape */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-visual {
    height: 400px;
    margin-top: 3rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .image-grid {
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .custom-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .nav-list,
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .stat-item::after {
    display: none !important;
  }
  .stat-item {
    margin-bottom: 2rem;
  }
  .stat-item:last-child {
    margin-bottom: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 30px;
  }
  .process-step {
    padding-left: 80px;
  }
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    left: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .text-content {
    padding: 2rem;
  }
  .page-title {
    font-size: 2.5rem;
  }
  .form-box,
  .contact-info-card {
    padding: 2rem;
  }
  .calc-panel {
    padding: 2rem;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .total-res {
    grid-column: span 1;
  }

  .chat-window {
    width: 300px;
    right: 10px;
    bottom: 80px;
  }
}

/* Very Small Mobile */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    gap: 1rem;
  }
  .btn-lg {
    width: 100%;
  }
  .floating-card {
    padding: 1rem;
  }
  .floating-card .stat-value {
    font-size: 1.2rem;
  }
}
