/*
* Quantum Growth Theme
* Feel: Smart, futuristic, data-driven
* Colors:
*   Base: #FFFFFF
*   Gradient: #0EA5E9 -> #6366F1
*   Accent: #22C55E
*   Text: #1A1A2E (Dark Navy)
*   Subtle Text: #5B6378
*   Background: #F8F9FC
*   Dark Background: #111322
*/

/* ------------------- */
/* 1. Global Styles & Variables */
/* ------------------- */
:root {
  --base-color: #ffffff;
  --gradient-start: #0ea5e9;
  --gradient-end: #6366f1;
  --accent-color: #22c55e;
  --text-color: #1a1a2e;
  --subtle-text-color: #5b6378;
  --bg-color: #f8f9fc;
  --dark-bg-color: #111322;
  --border-color: #e0e5f1;
  --font-primary: "Poppins", sans-serif;
  --font-display: "Russo One", sans-serif;
  --transition-speed: 0.3s ease;
}

*,
*::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(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
  color: var(--subtle-text-color);
}

a {
  text-decoration: none;
  color: var(--gradient-end);
  transition: var(--transition-speed);
}

a:hover {
  color: var(--gradient-start);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 80px 0;
}

.highlight-gradient {
  background: linear-gradient(
    90deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* ------------------- */
/* 2. Header & Navigation */
/* ------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 15px 0;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    padding 0.4s ease;
}

.header.scrolled {
  background-color: rgba(17, 19, 34, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: var(--transition-speed);
}

.header.scrolled .logo img {
  height: 40px;
}

.main-nav .nav-list {
  display: flex;
  gap: 35px;
}

.main-nav .nav-link {
  color: var(--base-color);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

/* ------------------- */
/* 3. Buttons */
/* ------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-family: var(--font-primary);
  overflow: hidden;
  position: relative;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(
    90deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: var(--base-color);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(99, 102, 241, 0.4);
  color: var(--base-color);
}

.btn-primary span,
.btn-primary i {
  z-index: 2;
  position: relative;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--base-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--base-color);
  color: var(--base-color);
}

/* ------------------- */
/* 4. Mobile Navigation */
/* ------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 3px;
  background-color: var(--base-color);
  border-radius: 3px;
  position: absolute;
  transition: transform 0.3s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

.mobile-menu-toggle.is-active .hamburger-inner {
  background-color: transparent;
}

.mobile-menu-toggle.is-active .hamburger-inner::before {
  transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-inner::after {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--dark-bg-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-menu.is-active {
  transform: translateX(0);
}

.mobile-nav-list {
  text-align: center;
}

.mobile-nav-list li {
  margin: 20px 0;
}

.mobile-nav-link {
  color: var(--base-color);
  font-size: 2rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.mobile-menu.is-active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-active .mobile-nav-list li:nth-child(1) .mobile-nav-link {
  transition-delay: 0.2s;
}
.mobile-menu.is-active .mobile-nav-list li:nth-child(2) .mobile-nav-link {
  transition-delay: 0.3s;
}
.mobile-menu.is-active .mobile-nav-list li:nth-child(3) .mobile-nav-link {
  transition-delay: 0.4s;
}
.mobile-menu.is-active .mobile-nav-list li:nth-child(4) .mobile-nav-link {
  transition-delay: 0.5s;
}

/* ------------------- */
/* 5. Hero Section */
/* ------------------- */
.hero-section {
  background-color: var(--dark-bg-color);
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  color: var(--base-color);
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.hero-shape.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gradient-end) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  animation: pulse 8s infinite ease-in-out;
}

.hero-shape.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    var(--gradient-start) 0%,
    transparent 70%
  );
  bottom: 50px;
  left: -100px;
  animation: pulse 10s infinite ease-in-out reverse;
}

.hero-shape.shape-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  top: 20%;
  left: 40%;
  animation: pulse 6s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.15;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.1;
  }
}

.hero-container {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--accent-color);
  font-size: 1rem;
}

.hero-title {
  font-size: 4rem;
  color: var(--base-color);
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-dashboard {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.kpi-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(5px);
  transition: var(--transition-speed);
}

.kpi-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.kpi-icon i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--base-color);
  line-height: 1;
}

.kpi-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ------------------- */
/* 6. Section Headers */
/* ------------------- */
.section-header {
  margin-bottom: 60px;
}

.section-header.text-center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: block;
  font-family: var(--font-display);
  color: var(--gradient-end);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.1rem;
  max-width: 650px;
}

.section-header.text-center .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------- */
/* 7. Services Section */
/* ------------------- */
.services-section {
  background-color: var(--base-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--base-color);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(224, 229, 241, 0.7);
  border: 1px solid var(--border-color);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 40%);
  transition: transform 0.8s ease;
  transform: scale(0);
  transform-origin: center;
}

.service-card:hover::before {
  transform: scale(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: var(--base-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
  position: relative;
  z-index: 1;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.service-description {
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.service-link {
  font-weight: 600;
  color: var(--gradient-end);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 1;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ------------------- */
/* 8. Process Section */
/* ------------------- */
.process-section {
  background-color: var(--dark-bg-color);
  color: var(--base-color);
}

.process-section .section-title,
.process-section .section-subtitle,
.process-section .section-description {
  color: var(--base-color);
}

.process-section .section-subtitle {
  color: var(--accent-color);
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-image: linear-gradient(
    to bottom,
    var(--gradient-start),
    var(--gradient-end),
    var(--accent-color)
  );
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.process-step {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.process-step:nth-child(odd) {
  left: 0;
  text-align: right;
}

.process-step:nth-child(even) {
  left: 50%;
}

.process-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  right: -30px;
  top: 32px;
  background-color: var(--dark-bg-color);
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-color);
}

.process-step:nth-child(even) .process-icon {
  left: -30px;
}

.process-content {
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.05);
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-content h3 {
  color: var(--base-color);
  font-size: 1.4rem;
}

.process-content p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ------------------- */
/* 9. Results & Testimonials */
/* ------------------- */
.results-section {
  background-color: var(--base-color);
}

.results-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: 15px;
  border-left: 5px solid var(--gradient-end);
  box-shadow: 0 10px 40px rgba(224, 229, 241, 0.7);
}

.testimonial-quote i {
  font-size: 2rem;
  color: var(--gradient-start);
  opacity: 0.5;
  margin-bottom: 15px;
}

.testimonial-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.author-info span {
  color: var(--subtle-text-color);
}

.results-chart-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.chart-card {
  background-color: var(--base-color);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(224, 229, 241, 0.5);
  overflow: hidden;
}

.chart-title {
  font-size: 1rem;
  margin-bottom: 20px;
}

.chart-bar-container {
  height: 150px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 15px;
}

.chart-bar {
  width: 20%;
  background: linear-gradient(
    to top,
    var(--gradient-start),
    var(--gradient-end)
  );
  border-radius: 5px 5px 0 0;
  position: relative;
  animation: growBar 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

.chart-bar span {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--subtle-text-color);
}

@keyframes growBar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.results-section.visible .chart-bar:nth-child(1) {
  animation-delay: 0.2s;
}
.results-section.visible .chart-bar:nth-child(2) {
  animation-delay: 0.4s;
}
.results-section.visible .chart-bar:nth-child(3) {
  animation-delay: 0.6s;
}
.results-section.visible .chart-bar:nth-child(4) {
  animation-delay: 0.8s;
}

.chart-line-container {
  height: 150px;
  margin-bottom: 15px;
}
.chart-line-container svg polyline {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
.results-section.visible .chart-line-container svg polyline {
  animation-delay: 0.5s;
}

.chart-metric-highlight {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-color);
}

/* ------------------- */
/* 10. ROI Calculator */
/* ------------------- */
.calculator-section {
  background: linear-gradient(
    135deg,
    var(--gradient-end) 0%,
    var(--gradient-start) 100%
  );
  color: var(--base-color);
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.calculator-section .section-title,
.calculator-section .section-subtitle,
.calculator-section .section-description {
  color: var(--base-color);
}
.calculator-section .section-subtitle {
  opacity: 0.8;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.calculator-form .form-group {
  display: flex;
  flex-direction: column;
}

.calculator-form label {
  margin-bottom: 8px;
  font-weight: 600;
}

.calculator-form input {
  padding: 15px;
  border-radius: 8px;
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--base-color);
  font-size: 1rem;
  font-family: var(--font-primary);
}
.calculator-form input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.3);
}
.calculator-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.calculator-form .btn {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  margin-top: 10px;
}
.calculator-form .btn:hover {
  background-color: #1eab52;
  border-color: #1eab52;
}

.results-display {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.result-item h4 {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.result-item p {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0;
  color: var(--base-color);
}

.result-item.highlight-result p {
  color: var(--accent-color);
  font-size: 3.5rem;
}

/* ------------------- */
/* 11. Industry Section */
/* ------------------- */
.industry-section {
  background-color: var(--bg-color);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.industry-item {
  text-align: center;
  padding: 30px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all var(--transition-speed);
}
.industry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(224, 229, 241, 0.8);
  border-color: var(--gradient-end);
}

.industry-item i {
  font-size: 3rem;
  margin-bottom: 15px;
  background: -webkit-linear-gradient(
    90deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.industry-item h3 {
  font-size: 1.2rem;
  margin: 0;
}

/* ------------------- */
/* 12. CTA Section */
/* ------------------- */
.cta-section {
  background-color: var(--dark-bg-color);
  padding: 100px 0;
}

.cta-container {
  text-align: center;
}

.cta-title {
  color: var(--base-color);
  font-size: 3rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 20px auto 40px;
  font-size: 1.1rem;
}

/* ------------------- */
/* 13. Footer */
/* ------------------- */
.footer {
  background-color: var(--dark-bg-color);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.2rem;
  color: var(--base-color);
  margin-bottom: 25px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.about-col p {
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--base-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  background: linear-gradient(
    90deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: var(--base-color);
  transform: translateY(-3px);
}

.links-col ul li {
  margin-bottom: 15px;
}

.links-col ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.links-col ul li a:hover {
  color: var(--base-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  gap: 25px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-legal-links a:hover {
  color: var(--base-color);
}

/* ------------------- */
/* 14. Other Pages (Contact, Legal) */
/* ------------------- */
.page-header-section {
  background-color: var(--dark-bg-color);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title {
  font-size: 3.5rem;
  color: var(--base-color);
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 20px auto 0;
}

.legal-header {
  padding: 140px 0 80px;
}

.contact-section-standalone {
  padding: 80px 0;
  background-color: var(--base-color);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background-color: var(--base-color);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(224, 229, 241, 0.8);
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: var(--base-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-text h3 {
  font-size: 1.3rem;
}
.contact-text p {
  margin: 0;
}

.contact-form-wrapper {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: 10px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--base-color);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition-speed);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gradient-end);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn-block {
  width: 100%;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.popup.show {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background-color: var(--base-color);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 450px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.popup.show .popup-content {
  transform: scale(1);
}
.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--subtle-text-color);
}
.popup-icon {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.popup-content h3 {
  font-size: 1.8rem;
}

.legal-content {
  background-color: var(--base-color);
  padding: 80px 0;
}
.legal-content .container {
  max-width: 800px;
}
.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.legal-section p,
.legal-section li {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ------------------- */
/* 15. Scroll Animations */
/* ------------------- */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------- */
/* 16. Live Chat Widget */
/* ------------------- */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: var(--base-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
  transition: transform 0.3s ease;
}
.live-chat-widget:hover {
  transform: scale(1.1);
}

/* ------------------- */
/* 17. Responsive Design */
/* ------------------- */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 30px;
  }
  .main-nav,
  .header-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 3rem;
  }
  .results-section .container {
    grid-template-columns: 1fr;
  }
  .calculator-container {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .about-col {
    grid-column: 1 / -1;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .hero-section {
    padding: 140px 0 80px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-description {
    font-size: 1.1rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .process-timeline::after {
    left: 30px;
  }
  .process-step {
    width: 100%;
    padding-left: 80px;
    padding-right: 0;
  }
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    left: 0;
    text-align: left;
  }
  .process-icon,
  .process-step:nth-child(even) .process-icon {
    left: 0;
  }
  .results-chart-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .page-title {
    font-size: 2.8rem;
  }
  .contact-wrapper {
    padding: 30px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}
