/* style.css */

/* ------------------- */
/* Custom Properties   */
/* ------------------- */
:root {
  --color-primary: #0052cc;
  --color-primary-dark: #0041a3;
  --color-secondary: #f8f9fa;
  --color-text: #343a40;
  --color-text-light: #6c757d;
  --color-heading: #212529;
  --color-white: #ffffff;
  --color-border: #dee2e6;
  --color-success: #28a745;
  --color-dark-bg: #212529; /* Darkened for better contrast */
  --color-footer-text: #ced4da;

  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  --box-shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* ------------------- */
/* Reset & General     */
/* ------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
  font-family: var(--font-family-base);
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-top: 0;
  margin-bottom: 60px;
  color: var(--color-heading);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1em;
  max-width: 700px;
  margin: -40px auto 60px;
  color: var(--color-text-light);
}

/* Accessibility: Better focus states for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.demo-form :focus-visible {
  outline-color: var(--color-white);
}

/* ------------------- */
/* Header & Navigation */
/* ------------------- */
.header {
  background-color: var(--color-white);
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-speed) ease;
}
/* UX: Add shadow on scroll */
.header.scrolled {
  box-shadow: var(--box-shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease;
}

.cta-button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.cta-button-large {
  font-size: 1.1em;
  padding: 15px 30px;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-text);
}

/* ------------------- */
/* Hero Section        */
/* ------------------- */
.hero {
  position: relative;
  background: url("https://images.unsplash.com/photo-1501594907352-04cda38ebc29?q=80&w=2070&auto=format&fit=crop")
    no-repeat center center/cover;
  color: var(--color-white);
  text-align: center;
  padding: 120px 20px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(33, 37, 41, 0.6);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5em;
  margin: 0 auto 20px;
  line-height: 1.2;
  max-width: 800px;
  color: var(--color-white);
}

.hero h1 span {
  color: #7ab5ff; /* A lighter blue for better contrast on image */
}

.hero .subtitle {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--color-white);
  opacity: 0.9;
}

/* ------------------- */
/* Cost Section        */
/* ------------------- */
.cost-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cost-card {
  text-align: center;
  padding: 30px 25px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cost-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-heavy);
}

.cost-icon {
  margin-bottom: 20px;
}

.cost-icon svg {
  width: 50px;
  height: 50px;
  color: var(--color-primary);
}

.cost-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.cost-card p {
  color: var(--color-text-light);
}

/* ------------------- */
/* How It Works        */
/* ------------------- */
.how-it-works {
  padding: 80px 0;
  background-color: var(--color-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.step .step-icon {
  margin-bottom: 20px;
}

.step-icon svg {
  width: 50px;
  height: 50px;
  color: var(--color-primary);
}

.step h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.step p {
  color: var(--color-text-light);
}

/* ------------------- */
/* Benefits Section    */
/* ------------------- */
.benefits-section {
  padding: 20px 0 80px;
  background-color: var(--color-white);
}

.feature-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: 60px;
  padding: 0 20px;
}

.feature-container.feature-reversed .feature-image {
  order: 2;
}

.feature-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-heavy);
}

.feature-content h3 {
  font-size: 2em;
  color: var(--color-heading);
  margin-top: 0;
}

.feature-content p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.feature-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-content li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.feature-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%2328a745"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg>');
  background-size: contain;
}

/* ------------------- */
/* Testimonials        */
/* ------------------- */
.testimonials {
  padding: 80px 0;
  background-color: var(--color-secondary);
}
.testimonial-card-single {
  background-color: var(--color-white);
  border-top: 5px solid var(--color-primary);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center; /* Center align content */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally */
  box-shadow: var(--box-shadow);
  max-width: 800px; /* Constrain width for better readability */
  margin: 0 auto; /* Center the card itself */
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid var(--color-white);
  box-shadow: var(--box-shadow);
}

.testimonial-card-single blockquote {
  font-size: 1.2em; /* Slightly larger for emphasis */
  font-style: italic;
  color: var(--color-text-light);
  margin: 0 0 20px;
  border: none;
  padding: 0;
  max-width: 90%; /* Prevent text from touching edges */
}

.testimonial-card-single cite {
  font-style: normal;
  font-weight: 500;
  color: var(--color-text);
}

.testimonial-card-single cite strong {
  color: var(--color-heading);
  font-weight: 600;
}

/* ------------------- */
/* Final CTA Section   */
/* ------------------- */
.final-cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 20px;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}
.demo-form {
  max-width: 195px;
  margin: 0 auto;
}
.form-group {
  display: flex;
}
.demo-form .cta-button {
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 15px 25px;
  font-size: 1em;
  white-space: nowrap;
}
.demo-form .cta-button:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

/* ------------------- */
/* Careers & Legal Pages... */
/* [Previous styles for these pages remain the same] */
/* ------------------- */
/* ------------------- */
/* Careers Page Styles */
/* ------------------- */
.page-header {
  background-color: var(--color-secondary);
  text-align: center;
  padding: 80px 20px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 3em;
  color: var(--color-heading);
  margin: 0 0 15px;
}

.page-header .subtitle {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-light);
}

.job-listings {
  padding: 80px 0;
}

.job-listings .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
}

.job-listings h2 {
  font-size: 2.2em;
  color: var(--color-heading);
  margin-bottom: 10px;
  text-align: center;
}

.job-card {
  background: var(--color-white);
  padding: 30px 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  align-items: center;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-heavy);
}

.job-card h3 {
  margin: 0;
  font-size: 1.8em;
  color: var(--color-primary);
  grid-column: 1 / 2;
}

.job-card .job-summary {
  margin: 0;
  color: var(--color-text-light);
  grid-column: 1 / -1;
}

.job-card .job-location {
  margin: 0;
  font-weight: 500;
  color: var(--color-text-light);
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.job-card .cta-button {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  padding: 10px 20px;
  align-self: center;
}

/* ------------------- */
/* Job Detail Styles   */
/* ------------------- */

.job-detail-header {
  background-color: var(--color-dark-bg);
  color: var(--color-white);
  padding: 60px 20px;
}

.job-detail-header h1 {
  font-size: 3.2em;
  margin: 10px 0;
}

.job-detail-header .job-meta {
  font-size: 1.1em;
  color: var(--color-footer-text);
  margin: 0;
}

.back-link {
  color: var(--color-footer-text);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 20px;
  transition: color var(--transition-speed) ease;
}

.back-link:hover {
  color: var(--color-white);
}

.job-detail-content {
  padding: 80px 0;
}

.job-detail-content .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.job-description h3 {
  font-size: 1.6em;
  color: var(--color-heading);
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.job-description h3:first-of-type {
  margin-top: 0;
}

.job-description p,
.job-description li {
  line-height: 1.7;
  color: var(--color-text);
}

.job-description ul {
  list-style: none;
  padding-left: 0;
}

.job-description li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.job-description li::before {
  content: "›";
  position: absolute;
  left: 5px;
  top: 0;
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.2em;
}

.job-sidebar {
  position: sticky;
  top: 120px; /* 80px scroll-padding + 40px margin */
}

.job-info-card {
  background-color: var(--color-secondary);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.job-info-card h4 {
  font-size: 1.3em;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 15px;
}

.job-info-card p {
  margin: 0 0 10px;
  color: var(--color-text-light);
}

.job-info-card p strong {
  color: var(--color-text);
}

.job-info-card hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 25px 0;
}

.apply-button {
  width: 100%;
  text-align: center;
  font-size: 1.1em;
}

/* ------------------- */
/* Footer              */
/* ------------------- */
.footer {
  background-color: var(--color-dark-bg);
  color: var(--color-footer-text);
  padding: 30px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer p {
  margin: 0;
  font-size: 0.9em;
}
.footer-nav a {
  color: var(--color-footer-text);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}
.footer-nav a:hover {
  color: var(--color-white);
}

/* ------------------- */
/* Responsive Design   */
/* ------------------- */
@media (max-width: 992px) {
  .steps-grid,
  .cost-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cost-grid .cost-card:last-child {
    grid-column: 1 / -1;
  }
  .feature-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .feature-container.feature-reversed .feature-image {
    order: 1; /* Stack image on top */
  }
  .feature-content li {
    text-align: left;
  }
  .job-detail-content .container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5em;
  }
  .section-title {
    font-size: 2.2em;
    margin-bottom: 40px;
  }
  .section-subtitle {
    margin: -20px auto 40px;
  }
  .steps-grid,
  .cost-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cost-grid .cost-card:last-child {
    grid-column: auto;
  }
  .footer .container,
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav a {
    margin: 0 10px;
  }

  /* --- Mobile Navigation --- */
  .nav-cta {
    display: none;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background-color: var(--color-white);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: var(--box-shadow);
    padding-bottom: 20px;
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 1.5rem;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-link:hover {
    background-color: var(--color-secondary);
  }
  .hamburger {
    display: block;
  }
  .hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* --- Responsive Careers --- */
  .page-header h1 {
    font-size: 2.5em;
  }
  .job-detail-header h1 {
    font-size: 2.8em;
  }
  .job-detail-content .container {
    grid-template-columns: 1fr;
  }
  .job-sidebar {
    position: static;
    top: auto;
  }
  .job-card {
    padding: 25px;
    grid-template-columns: 1fr;
  }
  .job-card h3 {
    grid-column: 1 / -1;
  }
  .job-card .job-location {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .job-card .cta-button {
    grid-column: 1 / -1;
    grid-row: auto;
    text-align: center;
    margin-top: 10px;
  }
}
/* style.css */

/* ------------------- */
/* Custom Properties   */
/* ------------------- */
:root {
  --color-primary: #0052cc;
  --color-primary-dark: #0041a3;
  --color-secondary: #f8f9fa;
  --color-text: #343a40;
  --color-text-light: #6c757d;
  --color-heading: #212529;
  --color-white: #ffffff;
  --color-border: #dee2e6;
  --color-success: #28a745;
  --color-dark-bg: #212529; /* Darkened for better contrast */
  --color-footer-text: #ced4da;

  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  --box-shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* ------------------- */
/* Reset & General     */
/* ------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
  font-family: var(--font-family-base);
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--color-heading);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1em;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Accessibility: Better focus states for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.demo-form :focus-visible {
  outline-color: var(--color-white);
}

/* ------------------- */
/* Header & Navigation */
/* ------------------- */
.header {
  background-color: var(--color-white);
  padding: 15px 0;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-speed) ease,
    border-color var(--transition-speed) ease;
}
/* UX: Add shadow on scroll */
.header.scrolled {
  box-shadow: var(--box-shadow);
  border-bottom-color: var(--color-border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease;
}

.cta-button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.cta-button-large {
  font-size: 1.1em;
  padding: 15px 30px;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-text);
}

/* ------------------- */
/* Hero Section        */
/* ------------------- */
.hero {
  position: relative;
  color: var(--color-white);
  text-align: center;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  background: url("https://images.unsplash.com/photo-1522771739844-6a9f6d5f14af?auto=format&fit=crop&w=1470&q=80")
    no-repeat center center/cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 25, 47, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5em;
  margin: 0 auto 20px;
  line-height: 1.2;
  max-width: 800px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: #a4caff; /* A lighter blue for better contrast */
}

.hero .subtitle {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--color-white);
  opacity: 0.9;
}

/* ------------------- */
/* Social Proof        */
/* ------------------- */
.social-proof {
  padding: 40px 0;
  background-color: var(--color-secondary);
}
.social-proof .container {
  text-align: center;
}
.social-proof p {
  font-size: 0.9em;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 1px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}
.social-proof .logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.social-proof .logos img {
  height: 25px;
  max-width: 130px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.social-proof .logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
/* ------------------- */
/* Costs Section       */
/* ------------------- */
.costs-section {
  padding: 80px 0;
  background-color: var(--color-white);
}
.costs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: left;
}
.cost-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-white);
}
.cost-icon {
  color: var(--color-primary);
  margin-bottom: 15px;
}
.cost-icon svg {
  width: 36px;
  height: 36px;
}
.cost-card h3 {
  font-size: 1.3em;
  margin: 0 0 10px 0;
  color: var(--color-heading);
}
.cost-card p {
  margin: 0;
  color: var(--color-text-light);
}

/* ------------------- */
/* How It Works        */
/* ------------------- */
.how-it-works {
  padding: 80px 0;
  background-color: var(--color-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.step .step-icon {
  margin: 0 auto 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 82, 204, 0.3);
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.step h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.step p {
  color: var(--color-text-light);
}

/* ------------------- */
/* Benefits Section    */
/* ------------------- */
.benefits {
  padding: 80px 0;
  background-color: var(--color-white);
}
.benefits-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.benefits-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-heavy);
}
.benefits-content .section-title {
  text-align: left;
  margin-bottom: 15px;
}
.benefits-content p {
  font-size: 1.1em;
  color: var(--color-text-light);
  margin-bottom: 30px;
}
.benefits-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits-content li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
}
.benefits-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0px;
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.2em;
}

/* ------------------- */
/* Testimonials        */
/* ------------------- */
.testimonials {
  padding: 80px 0;
  background-color: var(--color-secondary);
}

.testimonial-card-single {
  background-color: var(--color-white);
  padding: 40px 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto; /* Center the card */
  border-left: 5px solid var(--color-primary);
  display: flex; /* Using flexbox for better alignment */
  flex-direction: column;
  align-items: center;
}

/* Add this to create space between testimonial cards */
.testimonial-grid .testimonial-card-single:not(:last-child) {
  margin-bottom: 40px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 25px;
  border: 4px solid var(--color-white);
  box-shadow: var(--box-shadow);
}

.testimonial-card-single blockquote {
  /* --- Style Revamp --- */
  font-family: var(--font-family-serif); /* 1. Use a more elegant serif font */
  font-size: 1.4rem; /* 2. Make the font larger and more impactful */
  font-style: normal; /* 3. Use normal style for a modern, clean look */
  line-height: 1.5;
  color: var(--color-text); /* 4. Use a darker color for better readability */
  margin: 0 0 25px;
  border: none;
  position: relative; /* 5. Add positioning for the decorative quote */
  padding-left: 55px;
  text-align: left; /* 6. Align text left for better readability */
}

.testimonial-card-single blockquote::before {
  /* 7. Add large, stylish quotation marks as a background element */
  content: "“";
  font-family: var(--font-family-serif);
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 6rem; /* Make the quote character large */
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card-single cite {
  font-style: normal;
  font-weight: 500;
  color: var(--color-text);
  width: 100%; /* Make cite take full width for alignment */
  text-align: left; /* Align with the blockquote text */
  padding-left: 55px; /* Indent to match the blockquote */
}

.testimonial-card-single cite strong {
  display: block;
  color: var(--color-heading);
  font-weight: 600;
}
/* ------------------- */
/* Final CTA Section   */
/* ------------------- */
.final-cta {
  background-color: var(--color-dark-bg);
  background-image: linear-gradient(
    45deg,
    var(--color-primary-dark),
    var(--color-primary)
  );
  color: var(--color-white);
  padding: 80px 20px;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}
.final-cta .cta-button {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.final-cta .cta-button:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  transform: translateY(-3px) scale(1.05);
}

/* ------------------- */
/* Footer              */
/* ------------------- */
.footer {
  background-color: var(--color-dark-bg);
  color: var(--color-footer-text);
  padding: 30px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer p {
  margin: 0;
  font-size: 0.9em;
}
.footer-nav a {
  color: var(--color-footer-text);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}
.footer-nav a:hover {
  color: var(--color-white);
}

/* ------------------- */
/* Animated Background */
/* ------------------- */
.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Place it behind all content */
}

.background-shapes div {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(0, 82, 204, 0.1); /* Subtle blue color */
  animation: animate-shapes 25s linear infinite;
  bottom: -150px;
  border-radius: 4px; /* Slightly rounded squares */
}

.background-shapes div:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.background-shapes div:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.background-shapes div:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.background-shapes div:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.background-shapes div:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.background-shapes div:nth-child(6) {
  left: 85%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

@keyframes animate-shapes {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

/* ------------------- */
/* On-Scroll Animations */
/* ------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
    transform 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform; /* Performance hint for the browser */
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add staggered delay for grid items */
.costs-grid .reveal:nth-child(2),
.steps-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.costs-grid .reveal:nth-child(3),
.steps-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

/* ------------------- */
/* Responsive Design   */
/* ------------------- */
@media (max-width: 992px) {
  .costs-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .benefits-container {
    grid-template-columns: 1fr;
  }
  .benefits-image {
    order: -1; /* Move image to top on smaller screens */
    max-width: 400px;
    margin: 0 auto 40px;
  }
  .benefits-content .section-title,
  .benefits-content p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5em;
  }
  .section-title {
    font-size: 2.2em;
  }
  .social-proof .logos {
    gap: 30px;
    justify-content: center;
  }
  .social-proof .logos img {
    height: 20px;
  }
  .footer .container,
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav a {
    margin: 0 10px;
  }

  /* --- Mobile Navigation --- */
  .nav-cta {
    display: none;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background-color: var(--color-white);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: var(--box-shadow);
    padding-bottom: 20px;
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 1.5rem;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-link:hover {
    background-color: var(--color-secondary);
  }
  .hamburger {
    display: block;
  }
  .hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ------------------- */
/* Cookie Consent      */
/* ------------------- */
.cookie-consent-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background-color: var(--color-dark-bg);
  color: var(--color-white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-heavy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-consent-popup p {
  margin: 0;
  flex-basis: 100%;
}

.cookie-consent-popup a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-consent-accept {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  flex-grow: 1;
  transition: background-color var(--transition-speed) ease;
}

.cookie-consent-accept:hover {
  background-color: var(--color-primary-dark);
}
@media (min-width: 500px) {
  .cookie-consent-popup p {
    flex-basis: auto;
  }
  .cookie-consent-accept {
    flex-grow: 0;
  }
}
