/*
    Table of Contents
    -----------------
    1.  Global Styles & Variables
    2.  Typography
    3.  Preloader & Cursor
    4.  Header & Navigation
    5.  Buttons & Common Elements
    6.  Hero Section
    7.  Page Header (for inner pages)
    8.  Services Section
    9.  Industry Focus Section
    10. Interactive Report Section
    11. Testimonials Section
    12. CTA Section
    13. Footer
    14. Contact Page Specifics
    15. Legal Pages Specifics
    16. Utility & Animation Classes
    17. Responsive Design (Media Queries)
*/

/* 1. Global Styles & Variables */
:root {
  --bg-color: #0d0f18;
  --bg-secondary: #131622;
  --primary-color: #00bfff; /* DeepSkyBlue */
  --primary-hover: #00a9e0;
  --secondary-color: #1a1d2d;
  --text-color: #e0e0e0;
  --text-muted: #8892b0;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Rajdhani", sans-serif;
  --header-height: 80px;
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

.section {
  padding: 100px 0;
}

.highlight {
  color: var(--primary-color);
}

.text-center {
  text-align: center;
}

/* 2. Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
}

.section-header .section-subtitle {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-header .section-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-header .section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* 3. Preloader & Cursor */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition:
    opacity 0.8s var(--transition-slow),
    visibility 0.8s var(--transition-slow);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 100px;
  margin-bottom: 20px;
}

.preloader-logo img {
  filter: invert(1);
  animation: pulse 2s infinite ease-in-out;
}

.preloader-counter {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--primary-color);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition:
    opacity 0.5s,
    transform 0.2s;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  transition:
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

.cursor-outline.hover {
  width: 60px;
  height: 60px;
  border-color: rgba(0, 191, 255, 0.5);
}

/* 4. Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all var(--transition-fast);
}

.header.scrolled {
  background-color: rgba(13, 15, 24, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  height: 70px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 60px;
  filter: invert(1);
  transition: transform var(--transition-fast);
}

.logo a:hover img {
  transform: rotate(15deg);
}

.logo span {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--text-color);
  padding: 10px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #fff;
  transition:
    transform 0.3s ease,
    top 0.3s ease;
}

.hamburger {
  top: 10px;
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  top: 10px;
}

.nav.active .hamburger {
  background-color: transparent;
}
.nav.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* 5. Buttons & Common Elements */
.btn {
  display: inline-block;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color var(--transition-fast);
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  color: #fff;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-slow);
  z-index: 1;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 998;
  cursor: pointer;
}

/* 6. Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 20px;
}

.line-reveal {
  display: block;
  overflow: hidden;
}

.line-reveal span {
  display: block;
  transform: translateY(110%);
  animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.hero-title .line-reveal:nth-child(2) span {
  animation-delay: 0.2s;
}
.hero-title .line-reveal:nth-child(3) span {
  animation-delay: 0.4s;
}

@keyframes reveal {
  to {
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.hero-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 191, 255, 0.1) 0%,
    rgba(0, 191, 255, 0) 70%
  );
  animation: float 15s infinite ease-in-out;
}

.shape-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -15%;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: 5%;
  left: 10%;
  animation-delay: 3s;
  animation-duration: 20s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 30%;
  animation-delay: 5s;
  animation-duration: 12s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-20px) translateX(10px) scale(1.05);
  }
}

/* 7. Page Header (for inner pages) */
.page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.page-header .breadcrumbs a {
  color: var(--text-muted);
}

.page-header .breadcrumbs span {
  color: var(--primary-color);
}

/* 8. Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--bg-secondary);
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 191, 255, 0.1) 0%,
    rgba(0, 191, 255, 0) 40%
  );
  transform: scale(0);
  transition: transform 0.8s ease;
  z-index: 0;
}

.service-card:hover::before {
  transform: scale(1);
}

.service-icon,
.service-card h3,
.service-card p,
.service-link {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.service-link {
  font-weight: 600;
  color: #fff;
}

.service-link i {
  margin-left: 5px;
  transition: transform var(--transition-fast);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* 9. Industry Focus Section */
.industry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.industry-content .section-title {
  font-size: 2.5rem;
}

.industry-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.industry-list {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.industry-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.industry-list i {
  color: var(--primary-color);
}

.industry-image-container {
  position: relative;
  height: 450px;
}

.industry-image {
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  /* 3D-ish effect */
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform var(--transition-slow);
}

.industry-image-container:hover .industry-image {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* 10. Interactive Report Section */
.interactive-report-section {
  background-color: var(--bg-secondary);
}

.report-dashboard {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-top: 50px;
  position: relative;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.report-header h4 {
  font-size: 1.25rem;
}

.report-date {
  background: var(--secondary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.report-metric {
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.report-metric:hover {
  background-color: var(--secondary-color);
}

.report-metric i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.metric-value {
  display: block;
  font-size: 2.2rem;
  font-family: var(--font-secondary);
  font-weight: 700;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.report-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--bg-color);
  padding: 15px 20px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
  white-space: nowrap;
  z-index: 10;
}

.report-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

.report-tooltip h3 {
  color: var(--bg-color);
  font-size: 1rem;
  margin-bottom: 5px;
}
.report-tooltip p {
  font-size: 0.9rem;
}

/* 11. Testimonials Section */
.testimonial-slider-wrapper {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-slide.exit {
  transform: translateX(-50px);
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.5;
}

.author-name {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.author-title {
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-color);
}

/* 12. CTA Section */
.cta-section {
  background-color: var(--bg-secondary);
}

.cta-wrapper {
  background-color: var(--secondary-color);
  padding: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--border-color);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cta-text {
  color: var(--text-muted);
  max-width: 500px;
}

/* 13. Footer */
.footer {
  background-color: var(--bg-secondary);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  filter: invert(1);
}
.footer-logo span {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
}

.footer-socials a:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-color);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul a {
  color: var(--text-muted);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.footer-contact ul li i {
  color: var(--primary-color);
  margin-top: 4px;
}

.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 14. Contact Page Specifics */
.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

.contact-form {
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 0.8rem;
  background-color: var(--bg-secondary);
  padding: 0 5px;
  color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  position: static;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--bg-secondary);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-card p {
  color: var(--text-muted);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast);
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  max-width: 400px;
  transform: scale(0.9);
  transition: transform var(--transition-fast);
}

.popup.show .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.popup-icon {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 20px;
}
.popup-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* 15. Legal Pages Specifics */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  padding: 50px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.legal-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-content p strong {
  color: #fff;
  font-weight: 600;
}

/* 16. Utility & Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.animate-on-scroll[data-animation="fade-up"] {
  transform: translateY(50px);
}
.animate-on-scroll[data-animation="fade-right"] {
  transform: translateX(-50px);
}
.animate-on-scroll[data-animation="fade-left"] {
  transform: translateX(50px);
}
.animate-on-scroll[data-animation="zoom-in"] {
  transform: scale(0.9);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* 17. Responsive Design */
@media (max-width: 1024px) {
  .header-actions .btn {
    display: none;
  }
  .nav-list {
    gap: 30px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / 3;
  }
  .industry-wrapper {
    grid-template-columns: 1fr;
  }
  .industry-image-container {
    order: -1;
    height: 350px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section {
    padding: 80px 0;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .section-header .section-title {
    font-size: 2.5rem;
  }

  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .nav.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 20px;
  }
  .nav-link {
    font-size: 2rem;
  }
  .dropdown {
    text-align: center;
  }
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    padding: 10px 0;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    font-size: 1.2rem;
    padding: 8px 15px;
    color: var(--text-muted);
  }

  .report-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-contact ul li {
    justify-content: center;
  }
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  body {
    cursor: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-text {
    font-size: 1.2rem;
  }
  .legal-content {
    padding: 30px;
  }
}
