/* Marketdotcom - Custom Styles */

:root {
  --brand-orange: #F97316;
  --brand-orange-dark: #EA580C;
  --brand-navy: #0B1D36;
  --brand-navy-light: #132F4C;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Header - always white */
#header {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(11, 29, 54, 0.08);
}
#header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(11, 29, 54, 0.1);
}

/* Nav links - navy */
.nav-link {
  color: #0B1D36;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: #F97316;
}
.nav-link.active {
  color: #F97316;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 1px;
}

/* Logo in header - larger & more prominent */
.header-logo {
  height: 140px;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.header-logo:hover {
  transform: scale(1.04);
}

/* Logo in footer - larger, bright for dark bg */
.footer-logo {
  height: 88px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Logo on dark cards - white badge so colors stay visible */
.content-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.logo-on-dark {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.content-logo {
  height: 90px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}
/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Social icons in footer */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all 0.25s ease;
  text-decoration: none;
}
.social-link:hover {
  background: #F97316;
  color: #fff;
  transform: translateY(-2px);
}
.social-link svg {
  width: 18px;
  height: 18px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F97316;
  color: #fff;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover {
  background: #EA580C;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: #fff;
  color: #0B1D36;
  border-color: #fff;
}
.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0B1D36;
  color: #0B1D36;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
}
.btn-outline-navy:hover {
  background: #0B1D36;
  color: #fff;
}

/* Section helpers */
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F97316;
}
.section-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #0B1D36;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

/* Service cards */
.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 20px 40px rgba(11, 29, 54, 0.1);
  transform: translateY(-4px);
}
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: #fff7ed;
  color: #F97316;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Why cards */
.why-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
}

/* Stats */
.stat-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

/* Animations */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-slow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
.animate-fade-in-up {
  animation: fade-in-up 0.9s ease-out forwards;
}
.animate-pulse-slow {
  animation: pulse-slow 6s ease-in-out infinite;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Page transition */
#page-transition {
  transition: opacity 0.4s ease;
}
#page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* Process steps */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.process-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #F97316;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

/* Contact form */
.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #1e293b;
  transition: all 0.2s ease;
}
.form-input:focus {
  outline: none;
  ring: 2px;
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}
.form-input::placeholder {
  color: #94a3b8;
}

/* Mobile menu - white header style */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}
#mobile-menu.open {
  max-height: 480px;
}
#mobile-menu a {
  color: #0B1D36;
}
#mobile-menu a:hover {
  color: #F97316;
}

/* Track record table */
.track-table {
  width: 100%;
  border-collapse: collapse;
}
.track-table th {
  background: #0B1D36;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
}
.track-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  color: #334155;
}
.track-table tr:hover td {
  background: #fff7ed;
}
.track-table th:first-child { border-radius: 0.75rem 0 0 0; }
.track-table th:last-child { border-radius: 0 0.75rem 0 0; }

/* Mobile menu button - navy on white header */
#mobile-menu-btn {
  color: #0B1D36;
}
#mobile-menu-btn:hover {
  background: #f1f5f9;
}
