/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #2d5a87;
  --color-secondary: #4a9c6d;
  --color-accent: #e67e22;
  --color-dark: #1a2634;
  --color-light: #f8f9fa;
  --color-gray: #6c757d;
  --color-gray-light: #e9ecef;
  --color-white: #ffffff;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--color-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #234a70;
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #3d8259;
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-alt {
  background-color: var(--color-light);
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a54 100%);
  color: var(--color-white);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .btn-primary {
  background-color: var(--color-accent);
}

.hero .btn-primary:hover {
  background-color: #cf6d17;
}

/* Cards */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.card h3 {
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-gray);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.cards-container .card {
  flex: 1 1 300px;
  max-width: 380px;
}

/* Service Cards */
.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 1.5rem;
  color: var(--color-white);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card h3 {
  color: var(--color-white);
  margin-bottom: 0;
}

.service-card p {
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.service-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-gray);
}

/* Feature Blocks */
.feature-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1 1 400px;
}

.feature-visual {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.feature-visual svg {
  max-width: 280px;
  width: 100%;
  height: auto;
}

/* Stats Section */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  text-align: center;
}

.stat-item {
  flex: 1 1 200px;
  max-width: 250px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-dark .stat-number {
  color: var(--color-accent);
}

.stat-label {
  color: var(--color-gray);
  font-size: 1rem;
}

.section-dark .stat-label {
  color: var(--color-gray-light);
}

/* Testimonials */
.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  flex: 1 1 350px;
  max-width: 500px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.25rem;
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-info p {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-light);
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--color-gray);
}

/* Process Steps */
.process-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.process-step {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step h3 {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--color-gray);
}

/* Industries / Categories */
.industries-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.industry-tag {
  background-color: var(--color-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background-color var(--transition);
}

.industry-tag:hover {
  background-color: var(--color-gray-light);
}

.industry-tag svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

/* Quote Section */
.quote-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 5rem 0;
}

.quote-section blockquote {
  font-size: 1.75rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.quote-section cite {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.contact-card {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.contact-card svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--color-gray);
}

/* Comparison Table */
.comparison-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-light);
}

.comparison-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}

.comparison-table tr:hover {
  background-color: var(--color-light);
}

.check-icon {
  color: var(--color-secondary);
}

.cross-icon {
  color: var(--color-gray);
}

/* Benefits List */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-content h4 {
  margin-bottom: 0.25rem;
}

.benefit-content p {
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Two Column Layout */
.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.two-columns > div {
  flex: 1 1 400px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-primary);
}

.timeline-item {
  padding-left: 60px;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
  border-left: 4px solid var(--color-primary);
  padding: 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-section .btn {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.cta-section .btn:hover {
  background-color: var(--color-light);
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-gray-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  flex: 1 1 300px;
}

.footer-brand h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-gray);
  margin-bottom: 0;
}

.footer-links {
  flex: 1 1 200px;
}

.footer-links h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-gray);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-text {
  flex: 1 1 400px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--color-accent);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.cookie-btn-accept:hover {
  background-color: #3d8259;
}

.cookie-btn-reject {
  background-color: transparent;
  border: 1px solid var(--color-gray);
  color: var(--color-white);
}

.cookie-btn-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

.cookie-btn-settings {
  background-color: transparent;
  color: var(--color-gray-light);
  text-decoration: underline;
}

.cookie-btn-settings:hover {
  color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  margin-bottom: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-gray);
  padding: 0;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--color-dark);
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-light);
}

.cookie-option:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-option h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.cookie-option p {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-gray-light);
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-secondary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-gray-light);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Thank You Page */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content svg {
  width: 80px;
  height: 80px;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  section {
    padding: 3rem 0;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateX(-100%);
    transition: transform var(--transition);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .quote-section blockquote {
    font-size: 1.25rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .footer-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer .btn {
    width: 100%;
  }
}
