/* COLOR SYSTEM - Light with Icy Blue Tones and Dark Blue Headings */
:root {
  --primary: #3b82f6; /* Icy Blue */
  --primary-light: #dbeafe; /* Light icy blue background */
  --dark-blue: #1e40af; /* Dark blue for headings */
  --dark-blue-dark: #1e3a8a; /* Darker blue for footer */
  --white: #ffffff;
  --white-75: rgba(255, 255, 255, 0.75);
  --white-25: rgba(255, 255, 255, 0.25);
  --secondary: #64748b; /* Slate gray */
  --light-border: #e0e7ff; /* Light blue border */
  --bg-light: #f0f9ff; /* Very light blue background */
}

/* TYPOGRAPHY */
body {
  font-family: "Inter", "Poppins", sans-serif;
  color: var(--secondary);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: var(--dark-blue);
}

.lead {
  font-size: 1.15rem;
  font-weight: 500;
}

/* TEXT COLOR UTILITIES */
.text-primary {
  color: var(--primary) !important;
}
.text-dark-blue {
  color: var(--dark-blue) !important;
}
.text-secondary {
  color: var(--secondary) !important;
}
.text-white-75 {
  color: var(--white-75);
}

/* BACKGROUND UTILITIES */
.bg-light-blue-50 {
  background-color: var(--bg-light);
}

.border-light-blue {
  border-color: var(--light-border) !important;
}

/* HERO SECTION */
.hero-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
}

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

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

.btn-light {
  background-color: white;
  color: var(--dark-blue);
  font-weight: 600;
}

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

/* CARDS */
.card {
  border: 1px solid var(--light-border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

.service-card {
  height: 100%;
}

/* SERVICE DETAILS */
.service-detail {
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}

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

/* BENEFIT CARDS */
.benefit-card {
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid var(--light-border);
  text-align: center;
}

.benefit-card:hover {
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.1);
  transform: translateY(-4px);
}

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

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

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  animation: slideIn 0.6s ease-out forwards;
  opacity: 0;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 2rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.timeline-marker-1 {
  background-color: var(--primary);
}
.timeline-marker-2 {
  background-color: #2563eb;
}
.timeline-marker-3 {
  background-color: #1d4ed8;
}
.timeline-marker-4 {
  background-color: var(--dark-blue);
}

.timeline-content {
  padding-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--light-border);
}

/* RESULT CARDS */
.result-card {
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid var(--light-border);
  transition: all 0.3s ease;
}

.result-card:hover {
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.result-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--primary);
}

/* HOW CARDS */
.how-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid var(--light-border);
  position: relative;
}

.how-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--dark-blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* TEMPLATE ITEMS */
.template-item {
  padding: 1.5rem;
  background: white;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--dark-blue), var(--primary));
  color: white;
}

/* FOOTER */
footer {
  background-color: var(--dark-blue-dark);
  color: white;
  margin-top: 5rem;
}

footer a {
  transition: color 0.3s ease;
}

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

/* ACCORDION */
.accordion-button {
  color: var(--dark-blue);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: var(--bg-light);
  color: var(--dark-blue);
}

.accordion-button:focus {
  border-color: var(--light-border);
  box-shadow: 0 0 0 0.25rem var(--primary);
}

.accordion-item {
  border: 1px solid var(--light-border);
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

/* FORM */
.form-control {
  border: 1px solid var(--light-border);
  border-radius: 0.5rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-label {
  color: var(--dark-blue);
}

/* IMAGES */
img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* NAVBAR */
.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-marker {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .timeline-content {
    border-left: none;
    padding-left: 0;
  }

  h1.display-4 {
    font-size: 2rem;
  }

  h2.display-5 {
    font-size: 1.8rem;
  }
}

/* LEGAL CONTENT */
.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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