:root {
  --primary: #0B5ED7;
  --secondary: #1E293B;
  --accent: #F97316;
  --light-bg: #F8FAFC;
  --text-dark: #334155;
  --text-light: #94A3B8;
  --white: #FFFFFF;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--secondary);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Typography Helpers */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-light-grey { background-color: var(--light-bg) !important; }

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  z-index: -2;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: color-mix(in srgb, var(--accent) 80%, black 20%);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-primary-custom:hover::before {
  width: 100%;
}
.btn-primary-custom:hover {
  color: var(--white);
}

.btn-outline-custom {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 26px;
  border-radius: 4px;
  font-weight: 500;
  background: transparent;
}

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

/* Navbar */
.navbar-custom {
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 15px 0;
}
.navbar-custom .nav-link {
  color: var(--secondary);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(30,41,59,0.9) 0%, rgba(30,41,59,0.6) 50%, rgba(30,41,59,0.2) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Cards */
.card-custom {
  border: none;
  border-radius: 8px;
  background-color: var(--light-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}
.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.card-custom .card-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 80px 0 20px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-light);
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(37,211,102,0.3);
  z-index: 100;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Process Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }
.timeline-content {
  padding: 20px 30px;
  background-color: var(--white);
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Loader */
#loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-bg);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Section Padding */
.section-padding { padding: 80px 0; }

/* Swiper overrides */
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 21px; }
  .left::after, .right::after { left: 21px; }
  .right { left: 0; }
}
