@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Poppins:wght@300;400;500;600;700&display=swap");

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-main: #050507;
  --bg-secondary: #0d0d12;
  --bg-tertiary: #15151e;
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
  --accent-primary: #06b6d4; /* Cyan */
  --accent-secondary: #4f46e5; /* Indigo */
  --accent-gradient: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(13, 13, 18, 0.7);

  /* Typography */
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Poppins", sans-serif;

  /* Transitions */
  --trans-fast: 0.3s ease;
  --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-width: 1400px;
  --section-pad: 120px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* Custom cursor */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: var(--accent-primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================================================
   2. Custom Cursor & Preloader
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(6, 182, 212, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(6, 182, 212, 0.1);
  border-color: transparent;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-main);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.preloader-logo-container {
  position: relative;
  width: 150px;
  overflow: hidden;
}

.preloader-logo {
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.3;
}

.preloader-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: scan 2s linear infinite;
}

@keyframes scan {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

.preloader-text {
  margin-top: 20px;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  letter-spacing: 3px;
  font-size: 14px;
  text-transform: uppercase;
  animation: pulseText 1.5s infinite;
}

@keyframes pulseText {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ==========================================================================
   3. Global Components (Buttons, Titles)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  transition: var(--trans-fast);
  z-index: 1;
  border: none;
  cursor: none;
}

.btn-primary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.5);
}

.btn i {
  margin-left: 10px;
  transition: transform var(--trans-fast);
}

.btn:hover i {
  transform: translateX(5px) rotate(-45deg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.1;
}

.highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 50px;
}

/* ==========================================================================
   4. Header & Navigation (STRICTLY IDENTICAL ON ALL PAGES)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--trans-fast);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  filter: brightness(0) invert(1); /* Assuming logo might be black, making it white for dark theme */
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  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 var(--trans-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle,
.nav-close {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: none;
}

/* Mobile Nav */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    padding: 100px 40px;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
  }
  .nav.open {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 30px;
  }
  .nav-link {
    font-size: 20px;
  }
  .menu-toggle,
  .nav-close {
    display: block;
  }
  .nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
  }
  .header-actions .btn {
    display: none;
  }
}

/* ==========================================================================
   5. Index Page Sections
   ========================================================================== */

/* 5.1 Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.orb-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  animation: float 10s ease-in-out infinite;
}
.orb-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--accent-secondary);
  animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, 50px);
  }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-primary);
}
.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 5.2 Marquee */
.marquee-section {
  padding: 30px 0;
  background: var(--accent-gradient);
  transform: rotate(-2deg) scale(1.05);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
}

.marquee-text {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  padding: 0 20px;
}

/* 5.3 About/Philosophy */
.about-section {
  padding: var(--section-pad);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-visual {
  position: relative;
  height: 500px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.2);
  position: relative;
}
.radar::before,
.radar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.2);
}
.radar::before {
  width: 200px;
  height: 200px;
}
.radar::after {
  width: 100px;
  height: 100px;
}
.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    rgba(6, 182, 212, 0.5) 100%
  );
  transform-origin: 0 0;
  animation: sweep 4s linear infinite;
}
@keyframes sweep {
  100% {
    transform: rotate(360deg);
  }
}

/* 5.4 Services (3D Hover Cards) */
.services-section {
  padding: var(--section-pad);
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  perspective: 1000px;
  height: 400px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  border: 1px solid var(--border-color);
}

.service-card-front {
  background: var(--bg-main);
}

.service-card-front i {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.service-card-front h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card-front p {
  color: var(--text-muted);
}

.service-card-back {
  background: var(--accent-gradient);
  color: #fff;
  transform: rotateY(180deg);
}
.service-card-back ul {
  margin-bottom: 20px;
}
.service-card-back ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.service-card-back ul li i {
  margin-right: 10px;
  font-size: 0.8rem;
}

/* 5.5 Interactive Calculator */
.calculator-section {
  padding: var(--section-pad);
  position: relative;
}

.calc-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-input-group {
  margin-bottom: 30px;
}

.calc-input-group label {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: var(--bg-main);
  height: 8px;
  border-radius: 5px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-primary);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.custom-checkbox input {
  display: none;
}
.checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: var(--trans-fast);
}
.custom-checkbox input:checked ~ .checkmark {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}
.custom-checkbox input:checked ~ .checkmark::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #fff;
}

.calc-results {
  background: var(--bg-main);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--accent-primary);
  position: relative;
  overflow: hidden;
}
.calc-results::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-gradient);
}
.result-item {
  margin-bottom: 30px;
}
.result-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}
.result-item h3 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-primary);
}

/* 5.6 Sample Reports UI */
.reports-section {
  padding: var(--section-pad);
  background: var(--bg-tertiary);
}

.dashboard-ui {
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 30px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-align: left;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--trans-fast);
  font-family: var(--font-heading);
}
.dash-btn.active,
.dash-btn:hover {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-primary);
}

.dash-content {
  background: var(--bg-main);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.chart-mockup {
  height: 300px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-top: 30px;
}
.bar {
  flex: 1;
  background: var(--accent-gradient);
  border-radius: 5px 5px 0 0;
  animation: growBar 1s ease-out forwards;
  transform-origin: bottom;
  opacity: 0;
}
@keyframes growBar {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}
.bar:nth-child(1) {
  height: 40%;
  animation-delay: 0.1s;
}
.bar:nth-child(2) {
  height: 70%;
  animation-delay: 0.2s;
}
.bar:nth-child(3) {
  height: 50%;
  animation-delay: 0.3s;
}
.bar:nth-child(4) {
  height: 90%;
  animation-delay: 0.4s;
}
.bar:nth-child(5) {
  height: 60%;
  animation-delay: 0.5s;
}

/* 5.7 Industries (Sticky Parallax) */
.industries-section {
  padding: var(--section-pad);
}
.industry-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}
.industry-item {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--trans-fast);
}
.industry-item:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
  transform: translateX(20px);
}
.industry-item h3 {
  font-size: 2rem;
  font-family: var(--font-heading);
}
.industry-item i {
  font-size: 2rem;
  color: var(--accent-primary);
}

/* 5.8 Testimonials */
.testimonials-section {
  padding: var(--section-pad);
  background: var(--bg-secondary);
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
  margin-top: 50px;
  padding-bottom: 20px;
}
.testimonial-card {
  width: 450px;
  background: var(--bg-main);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.quote-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
}
.test-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.test-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.test-info h4 {
  font-family: var(--font-heading);
}
.test-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 5.9 CTA Section */
.cta-section {
  padding: 150px 0;
  text-align: center;
  position: relative;
  background: url('data:image/svg+xml;utf8,%3Csvg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23grid)"/%3E%3C/svg%3E');
}
.cta-content {
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-size: 4rem;
  margin-bottom: 30px;
}

/* ==========================================================================
   6. Live Chat Widget (UI Only)
   ========================================================================== */
.live-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.4);
  z-index: 999;
  cursor: none;
  transition: transform 0.3s;
}
.live-chat-btn:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   7. Footer (STRICTLY IDENTICAL ON ALL PAGES)
   ========================================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  position: relative;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about-text {
  color: var(--text-muted);
  margin: 20px 0;
  max-width: 400px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--trans-fast);
}
.footer-socials a:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-5px);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
  text-transform: uppercase;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 15px;
  color: var(--text-muted);
}
.footer-links ul li a {
  transition: var(--trans-fast);
}
.footer-links ul li a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-contact i {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-bottom ul {
  display: flex;
  gap: 20px;
}
.footer-bottom ul li a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   8. Legal Pages & Contact Page Specifics
   ========================================================================== */
.page-header-section {
  padding: 180px 0 80px;
  background: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.page-header-section h1 {
  font-size: 4rem;
  text-transform: uppercase;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.legal-page .page-content {
  background: var(--bg-secondary);
  padding: 60px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  max-width: 1000px;
  margin: 0 auto;
}
.legal-page h2 {
  font-family: var(--font-heading);
  color: var(--accent-primary);
  margin: 40px 0 20px;
}
.legal-page p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

/* Contact Page Form */
.contact-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-block .contact-details-list {
  margin-top: 40px;
}
.contact-detail-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.contact-detail-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-primary);
  font-size: 1.2rem;
}
.contact-detail-item h3 {
  font-family: var(--font-heading);
  margin-bottom: 5px;
}
.contact-detail-item p {
  color: var(--text-muted);
}

.contact-form-wrapper {
  background: var(--bg-secondary);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.contact-form h2 {
  margin-bottom: 30px;
  font-family: var(--font-heading);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 10px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
}
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--accent-primary);
}
select {
  -webkit-appearance: none;
  appearance: none;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
}
.popup-overlay.active {
  display: flex;
  animation: fadeIn 0.3s forwards;
}
.popup-content {
  background: var(--bg-secondary);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--accent-primary);
  max-width: 400px;
  position: relative;
  transform: translateY(20px);
  animation: slideUp 0.3s forwards 0.1s;
}
.popup-icon {
  font-size: 4rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
}
.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   9. Media Queries (Responsiveness)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  .section-title {
    font-size: 3rem;
  }
}
@media (max-width: 992px) {
  .about-grid,
  .calc-wrapper,
  .dashboard-ui,
  .contact-page-wrapper,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
  }
  .footer-main {
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero {
    padding-top: 150px;
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .marquee-text {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    width: 300px;
    padding: 25px;
  }
}
