/* Variables and Theme */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --accent-color: #0ea5e9;
  --background-color: #ffffff;
  --text-color: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global Styles */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Header and Navigation */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

.btn-nav-cta {
  background-color: var(--primary-color);
  color: white !important;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
}

.btn-nav-cta:hover {
  background-color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-cta .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
}

.hero-image img {
  border-radius: 1rem;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.icon-box {
  color: var(--primary-color);
}

/* Problem Cards */
.problem-card {
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.problem-card:hover {
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Solution List */
.solution-list {
  list-style: none;
  padding: 0;
}

.solution-list li {
  padding: 0.75rem 0;
  font-size: 1.1rem;
}

/* Service Cards */
.service-card {
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-link {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 10px white;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

/* Result Cards */
.result-card {
  padding: 2rem 1.5rem;
}

.result-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* FAQ Accordion */
.accordion-button {
  font-weight: 600;
  color: var(--text-color);
  background-color: white;
}

.accordion-button:not(.collapsed) {
  background-color: #eff6ff;
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Footer */
.footer {
  background-color: #1e293b;
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color) !important;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  display: none;
}

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

/* Page Header */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

/* Contact Form */
.contact-section .form-control,
.contact-section .form-select {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.icon-box-contact {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* Service Details Page */
.service-details img {
  max-width: 100%;
  height: auto;
}

.feature-box {
  padding: 1.5rem;
  height: 100%;
}

.feature-box i {
  font-size: 2rem;
}

.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.custom-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.result-item {
  padding: 0.75rem 0;
}

.sidebar-service .card {
  position: sticky;
  top: 100px;
}

/* Legal Pages */
.legal-content {
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--text-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you-section {
  padding: 140px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.success-icon i {
  font-size: 5rem;
  color: #10b981;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-marker {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }

  .timeline-item {
    flex-direction: row !important;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 120px 0 60px;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }
}
