/* =================================
   DESIGN TOKENS & THEME VARIABLES
   ================================= */

:root {
  /* Colors */
  --primary-color: #4a90a4;
  --secondary-color: #e8d451;
  --background-light: #f8fafb;
  --background-light-secondary: #eef2f5;
  --text-primary: #1a1a1a;
  --text-muted: #6b7280;
  --border-color: #d1d5db;
  --white: #ffffff;
  --dark: #1f2937;

  /* Typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Sizing */
  --radius: 0.75rem;
}

/* =================================
   GLOBAL STYLES
   ================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--background-light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

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

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

.text-muted {
  color: var(--text-muted) !important;
}

/* =================================
   CUSTOM COMPONENTS
   ================================= */

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

.navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.3rem;
}

/* Colors & Backgrounds */
.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-light-secondary {
  background-color: var(--background-light-secondary) !important;
}

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

.btn-primary-custom:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

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

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

.btn-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

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

/* Cards */
.card-custom {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-custom .icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--background-light-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateX(8px);
}

/* Form Inputs */
.form-control-custom {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.1);
  outline: none;
}

/* =================================
   HERO SECTION
   ================================= */

.hero-section {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background-light-secondary) 100%);
  padding: 100px 0 80px;
}

.hero-section h1 {
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-section .lead {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* =================================
   TIMELINE
   ================================= */

.timeline-wrapper {
  display: grid;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 49px;
  top: 80px;
  width: 2px;
  height: 30px;
  background-color: var(--secondary-color);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  width: 100px;
  height: 100px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(232, 212, 81, 0.3);
}

.timeline-content h5 {
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* =================================
   FOOTER
   ================================= */

.footer-custom {
  background-color: var(--dark) !important;
  border-top: 4px solid var(--secondary-color);
}

.footer-custom h5,
.footer-custom h6 {
  color: var(--white);
}

.footer-custom a {
  color: var(--text-muted);
}

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

.footer-custom .btn-outline-secondary {
  color: var(--text-muted);
  border-color: var(--text-muted);
}

.footer-custom .btn-outline-secondary:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  background-color: transparent;
}

/* =================================
   ACCORDION
   ================================= */

.accordion-button {
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  background-color: transparent;
}

.accordion-button:not(.collapsed) {
  background-color: var(--background-light-secondary);
  color: var(--text-primary);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(74, 144, 164, 0.1);
}

.accordion-body {
  color: var(--text-muted);
  padding: 20px;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

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

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

  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }

  .timeline-marker {
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
  }

  .timeline-item::before {
    left: 34px;
  }

  .display-5 {
    font-size: 2rem;
  }

  .display-6 {
    font-size: 1.5rem;
  }
}

/* =================================
   ANIMATIONS
   ================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-custom {
  animation: fadeInUp 0.5s ease forwards;
}

.card-custom:nth-child(2) {
  animation-delay: 0.1s;
}

.card-custom:nth-child(3) {
  animation-delay: 0.2s;
}

/* Border utilities */
.border-light-secondary {
  border-color: var(--background-light-secondary) !important;
}
