/*
====================================
    ROOT VARIABLES & GLOBAL STYLES
====================================
*/
:root {
  --primary-color: #00bfff; /* Deep Sky Blue */
  --secondary-color: #40e0d0; /* Turquoise */
  --bg-color: #0a0a14;
  --surface-color: #1a1a24;
  --text-color: #e0e0e0;
  --heading-color: #ffffff;
  --border-color: #2a2a3a;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Rajdhani", sans-serif;
  --header-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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.7;
  overflow-x: hidden;
  cursor: none;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
    width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 100px 0;
}

.highlight {
  color: var(--primary-color);
}

/*
====================================
    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,
    transform 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 191, 255, 0.2);
  border: 2px solid var(--primary-color);
  transition:
    width 0.3s,
    height 0.3s,
    background-color 0.3s,
    border-color 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.service-card:hover ~ .cursor-outline,
.chat-widget:hover ~ .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(64, 224, 208, 0.3);
  border-color: var(--secondary-color);
}

/*
====================================
    PRELOADER
====================================
*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease;
}

.loader-logo {
  text-align: center;
}

.loader-logo img {
  width: 100px;
  animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
  width: 150px;
  height: 4px;
  background-color: var(--surface-color);
  margin: 20px auto 0;
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  animation: loader-anim 2s infinite linear;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes loader-anim {
  0% {
    left: -50px;
  }
  100% {
    left: 150px;
  }
}

/*
====================================
    HEADER
====================================
*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  height: 70px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  display: block;
}

.logo img {
  height: 40px;
  transition: var(--transition-smooth);
}

.header.scrolled .logo img {
  height: 35px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  position: relative;
  padding: 10px 0;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-color);
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/*
====================================
    BUTTONS
====================================
*/
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.btn-primary::before {
  background-color: var(--heading-color);
  transform: scaleX(0);
  transform-origin: left;
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-primary:hover {
  color: var(--bg-color);
}

.btn-secondary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary::before {
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
}

.btn-secondary:hover {
  color: var(--bg-color);
}

.btn-secondary:hover::before {
  transform: scaleX(1);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/*
====================================
    MOBILE MENU
====================================
*/
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 22px;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  background-color: var(--heading-color);
  height: 3px;
  width: 100%;
  border-radius: 3px;
  transition: all 0.3s ease;
  position: absolute;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.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);
}

/*
====================================
    HERO SECTION
====================================
*/
.hero {
  padding: 100px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 191, 255, 0.1) 0%,
    rgba(10, 10, 20, 0) 60%
  );
  transform: translate(-50%, -50%);
  animation: sphere-breath 8s infinite ease-in-out;
}

@keyframes sphere-breath {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-secondary);
  color: var(--primary-color);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(224, 224, 224, 0.8);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/*
====================================
    SECTION HEADERS
====================================
*/
.section-header {
  margin-bottom: 60px;
}
.section-subtitle {
  display: block;
  font-family: var(--font-secondary);
  color: var(--primary-color);
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
}
.section-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(224, 224, 224, 0.8);
}
.text-center {
  text-align: center;
}

/*
====================================
    SERVICES SECTION
====================================
*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 191, 255, 0.15) 0%,
    transparent 40%
  );
  transition: transform 0.8s ease;
  transform: scale(0);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  transform: scale(1);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 25px;
}

.service-link {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--heading-color);
}

.service-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/*
====================================
    STATS SECTION
====================================
*/
.stats-section {
  background-color: var(--surface-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item {
  padding: 20px;
}
.stat-number {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.stat-number::after {
  content: "+";
  font-size: 2.5rem;
}
.stat-item:first-child .stat-number::after {
  content: "%";
}
.stat-item:nth-child(3) .stat-number::after {
  content: "%";
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(224, 224, 224, 0.8);
}

/*
====================================
    INDUSTRY SECTION
====================================
*/
.industry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.industry-list {
  margin: 30px 0;
}

.industry-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.industry-list i {
  color: var(--secondary-color);
  margin-right: 15px;
  font-size: 1.3rem;
}

.industry-image-container {
  height: 500px;
  position: relative;
}

.industry-image {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/*
====================================
    TESTIMONIALS SECTION
====================================
*/
.testimonials-section {
  background-color: var(--surface-color);
}

.testimonial-slider-wrapper {
  position: relative;
}
.testimonial-slider {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.6;
}
.testimonial-text::before {
  content: "“";
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  transform: translate(-120%, -40%);
  opacity: 0.2;
}

.testimonial-author {
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.author-info span {
  color: rgba(224, 224, 224, 0.7);
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.slider-controls button {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--heading-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.slider-controls button:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

/*
====================================
    INTERACTIVE CALCULATOR SECTION
====================================
*/
.calculator-wrapper {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 50px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  border: 1px solid var(--border-color);
}

.calculator-form .form-group {
  margin-bottom: 30px;
}
.calculator-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
.calculator-form input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--border-color);
  border-radius: 5px;
  outline: none;
}
.calculator-form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}
.calculator-form input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}

.calculator-form span {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--secondary-color);
  margin-left: 15px;
}

.calculator-results {
  border-left: 1px solid var(--border-color);
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calculator-results h4 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.result-item {
  margin-bottom: 20px;
}
.result-label {
  display: block;
  color: rgba(224, 224, 224, 0.8);
}
.result-value {
  font-size: 2.5rem;
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--primary-color);
}
.calculator-results .disclaimer {
  font-size: 0.8rem;
  color: rgba(224, 224, 224, 0.6);
  margin-top: auto;
}

/*
====================================
    CTA SECTION
====================================
*/
.cta-section {
  padding: 80px 0;
}
.cta-wrapper {
  background: linear-gradient(
    105deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 12px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta-title {
  font-size: 2.8rem;
  color: var(--bg-color);
  margin-bottom: 10px;
}
.cta-text {
  color: rgba(10, 10, 20, 0.8);
  font-size: 1.1rem;
  max-width: 500px;
}
.cta-action .btn {
  background-color: var(--heading-color);
  color: var(--bg-color);
}
.cta-action .btn:hover {
  background-color: var(--bg-color);
  color: var(--heading-color);
}

/*
====================================
    FOOTER
====================================
*/
.footer {
  background-color: var(--surface-color);
  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: 60px;
}
.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
}
.footer-logo img {
  height: 45px;
  margin-bottom: 20px;
}
.footer-about p {
  margin-bottom: 25px;
}
.footer-socials {
  display: flex;
  gap: 15px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-socials a:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links ul li a {
  color: var(--text-color);
}
.footer-links ul li a:hover {
  padding-left: 5px;
}

.footer-contact ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.footer-contact ul li i {
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}
.footer-contact ul li a {
  color: var(--text-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 25px 0;
  text-align: center;
  color: rgba(224, 224, 224, 0.7);
}

/*
====================================
    PAGE-SPECIFIC STYLES
====================================
*/
/* Page Header */
.page-header {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
  background-color: var(--surface-color);
}

.page-header h1 {
  font-size: 4rem;
  margin-bottom: 15px;
}

.breadcrumbs a {
  color: var(--text-color);
}
.breadcrumbs span {
  color: var(--primary-color);
}

/* Legal Content */
.main-content {
  padding: 100px 0;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 2.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
  border-left: 3px solid var(--secondary-color);
  padding-left: 15px;
}
.legal-content p,
.legal-content ul {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Contact Page */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}
.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-details h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}
.contact-details p {
  margin: 0;
}

.contact-form-container {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.contact-form .form-title {
  font-size: 2rem;
  margin-bottom: 30px;
}
.contact-form .form-row {
  display: flex;
  gap: 20px;
}
.contact-form .form-group {
  margin-bottom: 25px;
  position: relative;
  width: 100%;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--heading-color);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition-smooth);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.contact-form label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: rgba(224, 224, 224, 0.7);
  pointer-events: none;
  transition: var(--transition-smooth);
}
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  background-color: var(--surface-color);
  padding: 0 5px;
  color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
}
.checkbox-group input {
  width: auto;
  margin-right: 10px;
}
.checkbox-group label {
  position: static;
  color: var(--text-color);
}
.checkbox-group a {
  text-decoration: underline;
}

/*
====================================
    UTILITY & HELPER CLASSES
====================================
*/
/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: scale(1.1);
  color: var(--bg-color);
}

/* Live Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(64, 224, 208, 0.3);
  transition: var(--transition-smooth);
}
.chat-widget:hover {
  transform: scale(1.1) rotate(-15deg);
}

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.popup.show {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  position: relative;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}
.popup.show .popup-content {
  transform: scale(1);
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}
.popup-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
.popup-content h3 {
  margin-bottom: 10px;
}

/*
====================================
    ANIMATIONS ON SCROLL
====================================
*/
[data-animation] {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

[data-animation="fade-up"] {
  transform: translateY(50px);
}
[data-animation="fade-right"] {
  transform: translateX(-50px);
}
[data-animation="fade-left"] {
  transform: translateX(50px);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/*
====================================
    RESPONSIVE DESIGN
====================================
*/
@media (max-width: 992px) {
  .header {
    background-color: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
  }
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .nav.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 30px;
  }
  .nav-link {
    font-size: 2rem;
  }
  .dropdown {
    text-align: center;
  }
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-top: 15px;
    min-width: auto;
  }
  .dropdown-menu li a {
    font-size: 1.2rem;
    color: rgba(224, 224, 224, 0.8);
  }
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-wrapper {
    grid-template-columns: 1fr;
  }
  .industry-image-container {
    margin-top: 40px;
  }
  .cta-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .cta-content {
    margin-bottom: 30px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about,
  .footer-contact {
    grid-column: 1 / -1;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .calculator-results {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 40px;
  }
}

@media (max-width: 576px) {
  body {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  .hero {
    text-align: left;
  }
  .hero-content {
    text-align: left;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-text {
    font-size: 1.2rem;
  }
  .cta-wrapper {
    padding: 40px 20px;
  }
  .cta-title {
    font-size: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .contact-info {
    grid-template-columns: 1fr;
  }
}
