/*
================================================
TABLE OF CONTENTS
================================================
1.  ROOT VARIABLES & GLOBAL STYLES
2.  HELPER CLASSES & REUSABLE COMPONENTS
    - Container
    - Buttons
    - Section Headers
3.  CUSTOM CURSOR
4.  HEADER & NAVIGATION
    - Desktop Header
    - Mobile Navigation
5.  FOOTER
6.  HOMEPAGE SECTIONS
    - Hero Section
    - Services Section
    - About Section
    - Process Section
    - Testimonials Section
    - Interactive Report Section
    - FAQ Section
    - CTA Section
7.  SUBPAGE STYLES
    - Page Header
    - Contact Page
    - Legal Pages (Content Wrapper)
    - Form & Popup
8.  ANIMATIONS
    - Scroll Animations
    - Keyframes
9.  RESPONSIVENESS (MEDIA QUERIES)
    - 1200px (Large Desktops)
    - 992px (Tablets)
    - 768px (Small Tablets / Large Mobiles)
    - 576px (Mobiles)
================================================
*/

/* 1. ROOT VARIABLES & GLOBAL STYLES */
:root {
  --primary-color: #4a00e0;
  --secondary-color: #8e2de2;
  --accent-color: #00bfff;
  --dark-color: #1a1a2e;
  --body-color: #f0f2f5;
  --text-color: #4f4f6f;
  --heading-color: #161629;
  --light-color: #ffffff;
  --border-color: #e0e0e6;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-dark: rgba(0, 0, 0, 0.1);

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Orbitron", sans-serif;

  --header-height: 80px;
  --border-radius: 12px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* 2. HELPER CLASSES & REUSABLE COMPONENTS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn span {
  z-index: 2;
}

.btn i {
  z-index: 2;
  transition: transform 0.3s ease;
}

.btn-primary {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--light-color);
  box-shadow: 0 10px 20px rgba(74, 0, 224, 0.2);
}

.btn-primary:hover {
  color: var(--light-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(74, 0, 224, 0.3);
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--heading-color);
  border: 2px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: var(--light-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 5px 15px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--light-color);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 3. CUSTOM CURSOR */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  opacity: 0;
  transition:
    opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}

body:not(.mobile-nav-active) .cursor-dot,
body:not(.mobile-nav-active) .cursor-outline {
  opacity: 1;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  transition: transform 0.08s ease-out;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  transition:
    width 0.2s ease-out,
    height 0.2s ease-out,
    border-color 0.2s ease-out,
    background-color 0.2s ease-out;
}

.cursor-outline.hover {
  width: 60px;
  height: 60px;
  background-color: rgba(74, 0, 224, 0.1);
  border-color: var(--secondary-color);
}

/* 4. HEADER & NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px var(--shadow-dark);
  height: calc(var(--header-height) - 10px);
}

.logo-link .logo {
  height: 50px;
  filter:invert(1);
  transition: var(--transition-fast);
}


.nav-list {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--heading-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-cta.active {
  opacity: 0.7;
  pointer-events: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 1001;
  cursor: pointer;
}

.bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.bar-top {
  top: 0;
}
.bar-middle {
  top: 50%;
  transform: translateY(-50%);
}
.bar-bottom {
  bottom: 0;
}

.mobile-nav-active .bar-top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-nav-active .bar-middle {
  opacity: 0;
}
.mobile-nav-active .bar-bottom {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--light-color);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-active .mobile-nav {
  transform: translateX(0);
}

.mobile-nav nav ul {
  text-align: center;
}

.mobile-nav nav li {
  margin: 20px 0;
}

.mobile-nav nav a {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: var(--dark-color);
}

.mobile-nav .btn-primary {
  margin-top: 30px;
  font-size: 1.2rem;
}

/* 5. FOOTER */
.footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 100px;
  position: relative;
}

.footer-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(74, 0, 224, 0.1),
    rgba(142, 45, 226, 0.1)
  );
}

.footer-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -150px;
}
.footer-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.footer-col-title {
  color: var(--light-color);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-logo {
  height: 50px;

  margin-bottom: 20px;
}

.footer-about-text {
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--light-color);
}

.social-link:hover {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.footer-links ul a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 10px;
  opacity: 0;
  transition: var(--transition-fast);
}

.footer-links ul a:hover {
  color: var(--light-color);
  padding-left: 15px;
}

.footer-links ul a:hover::before {
  opacity: 1;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-info-list i {
  color: var(--accent-color);
  margin-top: 5px;
}

.contact-info-list a {
  color: rgba(255, 255, 255, 0.7);
}
.contact-info-list a:hover {
  color: var(--light-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* 6. HOMEPAGE SECTIONS */

/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 120px;
  background: linear-gradient(180deg, #e6e9f0 0%, var(--body-color) 100%);
}

.hero-background-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0.05;
}
.shape1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -15%;
}
.shape2 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 10%;
}
.shape3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 20%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-visual {
  perspective: 1500px;
}

.hero-3d-wrapper {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
}

.hero-main-graphic {
  background: var(--light-color);
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 40px 80px var(--shadow-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(20px);
}

.hero-logo-graphic {
  width: 150px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-light);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 200px;
}
.hero-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
}
.hero-card span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
}
.hero-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.3;
}
.card-1 {
  top: -20px;
  left: -80px;
  transform: rotate(-10deg) translateZ(80px);
}
.card-2 {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) translateZ(60px);
}
.card-3 {
  top: 50%;
  right: -100px;
  transform: translateY(-50%) rotate(10deg) translateZ(100px);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-dark);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 30px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(74, 0, 224, 0.2);
}

.service-title {
  font-size: 1.3rem;
}

.service-description {
  margin-bottom: 30px;
}

.service-link {
  font-weight: 600;
  color: var(--primary-color);
}

.service-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* About Section */
.about-section {
  background-color: var(--light-color);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-container {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px var(--shadow-dark);
}

.about-placeholder-img {
  width: 100%;
  padding-bottom: 120%; /* Aspect ratio */
  background: linear-gradient(135deg, var(--border-color), #fff);
}

.about-experience-badge {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--light-color);
  padding: 20px 30px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 30px rgba(74, 0, 224, 0.3);
}

.about-experience-badge .year {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-secondary);
}

.about-experience-badge span:last-child {
  font-weight: 600;
  line-height: 1.3;
}

.about-content .section-tag {
  margin: 0;
}
.about-content .section-title {
  margin-top: 15px;
}

.about-features {
  margin: 30px 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
}

.about-features i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Process Section */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.process-step {
  width: 23%;
  text-align: center;
  position: relative;
}

.process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--light-color);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 25px;
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.process-step:hover .process-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--light-color);
  transform: scale(1.1);
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background-image: linear-gradient(
    to right,
    var(--primary-color) 50%,
    transparent 50%
  );
  background-size: 10px 2px;
  z-index: -1;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light-color);
}

.testimonial-slider-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 50px;
  text-align: center;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 500;
  color: var(--heading-color);
  line-height: 1.6;
  margin-bottom: 30px;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-family: var(--font-primary);
}
.author-info span {
  font-size: 0.9rem;
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 140px);
  left: -70px;
  display: flex;
  justify-content: space-between;
  padding: 0;
  pointer-events: none;
}

.slider-controls button {
  pointer-events: all;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--heading-color);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px var(--shadow-light);
}

.slider-controls button:hover {
  background: var(--primary-color);
  color: var(--light-color);
  transform: scale(1.1);
}

/* Interactive Report Section */
.report-viewer {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 50px var(--shadow-dark);
  padding: 40px;
}

.report-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.tab-link {
  padding: 15px 30px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  transition: color 0.3s ease;
}

.tab-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-link.active {
  color: var(--primary-color);
}

.tab-link.active::after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.metric-card {
  background-color: var(--body-color);
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}
.metric-card h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 10px;
}
.metric-card p {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.metric-card span {
  font-size: 1rem;
  font-weight: 600;
}
.metric-card span i.fa-arrow-up {
  color: #2ecc71;
}
.metric-card span i.fa-arrow-down {
  color: #e74c3c;
}

/* FAQ Section */
.faq-section {
  background: var(--light-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  font-family: var(--font-primary);
}
.faq-question i {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.faq-answer p {
  padding-bottom: 25px;
}
.faq-item.open .faq-answer {
  max-height: 300px; /* Adjust as needed */
}

/* CTA Section */
.cta-section {
  padding: 0;
}
.cta-wrapper {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--light-color);
  padding: 80px;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 30px 60px rgba(74, 0, 224, 0.3);
  margin: 50px 0;
}
.cta-title {
  color: var(--light-color);
  font-size: 2.2rem;
}
.cta-text {
  opacity: 0.9;
  margin-bottom: 0;
}
.cta-action .btn-primary {
  background: var(--light-color);
  color: var(--primary-color);
  box-shadow: none;
}
.cta-action .btn-primary:hover {
  background: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
}

/* 7. SUBPAGE STYLES */
body.subpage main {
  padding-top: var(--header-height);
}

/* Page Header */
.page-header-section {
  padding: 80px 0;
  background-color: var(--dark-color);
  position: relative;
  color: var(--light-color);
  text-align: center;
}
.page-header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(22, 22, 41, 0.8), rgba(22, 22, 41, 1)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g fill="%234A00E0" fill-opacity="0.1"><rect x="0" y="0" width="50" height="50"/><rect x="50" y="50" width="50" height="50"/></g></svg>');
  opacity: 0.3;
}
.page-header-content {
  position: relative;
  z-index: 2;
}
.page-header-content h1 {
  color: var(--light-color);
  font-size: 3rem;
}
.page-header-content p {
  max-width: 600px;
  margin: 20px auto 30px;
  opacity: 0.9;
}
.breadcrumbs a,
.breadcrumbs span {
  color: var(--light-color);
  font-weight: 500;
}
.breadcrumbs a:hover {
  color: var(--accent-color);
}
.breadcrumbs i {
  font-size: 0.8rem;
  margin: 0 10px;
}

/* Contact Page */
.contact-section {
  background-color: var(--light-color);
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  background-color: var(--body-color);
  padding: 50px;
  border-radius: var(--border-radius);
}
.contact-info h2 {
  font-size: 2rem;
}
.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
}
.method-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  box-shadow: 0 5px 15px var(--shadow-light);
}
.method-details h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}
.method-details p {
  margin-bottom: 0;
}

/* Legal Pages (Content Wrapper) */
.page-content {
  background: var(--light-color);
  padding: 80px 0;
}
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.content-wrapper h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.8rem;
}
.content-wrapper ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1rem;
}
.content-wrapper ul li {
  margin-bottom: 10px;
}

/* Form & Popup */
.contact-form-wrapper {
  background: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--heading-color);
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--body-color);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.1);
}
textarea {
  resize: vertical;
}
.contact-form button {
  width: 100%;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background-color: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 450px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.popup-overlay.show .popup-content {
  transform: scale(1);
}
.popup-icon {
  font-size: 4rem;
  color: #2ecc71;
  margin-bottom: 20px;
}
.popup-content h3 {
  font-size: 1.8rem;
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}
.popup-close-btn {
  margin-top: 20px;
}

/* 8. ANIMATIONS */

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-delay: var(--animation-delay, 0s);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 9. RESPONSIVENESS (MEDIA QUERIES) */

/* 1200px (Large Desktops) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-card {
    min-width: 180px;
  }
  .card-1 {
    left: -40px;
  }
  .card-3 {
    right: -60px;
  }
  .process-timeline::before {
    display: none;
  }
  .process-timeline {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  .process-step {
    width: 80%;
  }
}

/* 992px (Tablets) */
@media (max-width: 992px) {
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text {
    order: 2;
  }
  .hero-visual {
    order: 1;
    margin-bottom: 50px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .about-visual {
    max-width: 450px;
    margin: 0 auto;
  }
  .about-content {
    text-align: center;
  }
  .about-features {
    display: inline-block;
    text-align: left;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about,
  .footer-contact {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto 20px;
  }
  .social-links {
    justify-content: center;
  }
  .contact-info-list li {
    justify-content: center;
  }
  .cta-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 60px 40px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .slider-controls {
    width: 100%;
    left: 0;
  }
  .slider-controls button {
    transform: translateY(-50%) scale(0.9);
  }
  .slider-controls .prev-btn {
    margin-left: 0;
    position: absolute;
    left: 10px;
  }
  .slider-controls .next-btn {
    margin-right: 0;
    position: absolute;
    right: 10px;
  }
}

/* 768px (Small Tablets / Large Mobiles) */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  h1 {
    font-size: 2.5rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-3d-wrapper {
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .hero-card {
    position: static;
    transform: none;
    width: 80%;
  }
  .hero-main-graphic {
    order: -1;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    margin-bottom: 20px;
  }
  .footer-links ul a:hover {
    padding-left: 0;
  }
  .footer-links ul a::before {
    display: none;
  }
  .contact-wrapper {
    padding: 30px;
  }
}

/* 576px (Mobiles) */
@media (max-width: 576px) {
  :root {
    --header-height: 70px;
  }
  body {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-experience-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: 90%;
    padding: 15px;
  }
  .about-experience-badge .year {
    font-size: 2.5rem;
  }
  .cta-wrapper {
    padding: 40px 20px;
  }
  .cta-title {
    font-size: 1.8rem;
  }
  .page-header-content h1 {
    font-size: 2.5rem;
  }
  .report-tabs {
    flex-wrap: wrap;
  }
  .tab-link {
    flex-basis: 50%;
    text-align: center;
  }
  .testimonial-slide {
    padding: 20px;
  }
  .testimonial-text {
    font-size: 1.1rem;
  }
  .slider-controls {
    display: none;
  } /* Hide on smallest screens for better layout */
}
