/* ── Ryleq Solutions — Global Styles ──────────────────────────────────────── */

:root {
  --blue:     #193ed5;
  --darkred:  #8d151e;
  --red:      #e51c28;
  --redalt:   #de1d25;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
}

/* ── Header Scroll Effect ────────────────────────────────────────────────── */
#site-header.scrolled .header-inner {
  box-shadow: 0 2px 24px rgba(25, 62, 213, 0.10);
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero-bg {
  background: linear-gradient(135deg, #0f2499 0%, #193ed5 50%, #1a45e0 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(222,29,37,0.15) 0%, transparent 50%);
}
.hero-grid {
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  position: absolute;
  inset: 0;
}

/* ── Animated Underline ──────────────────────────────────────────────────── */
.animated-underline {
  position: relative;
  display: inline-block;
}
.animated-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.animated-underline:hover::after { width: 100%; }

/* ── Service Card Hover ──────────────────────────────────────────────────── */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(25, 62, 213, 0.12);
}
.service-card .card-icon {
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.service-card:hover .card-icon {
  background-color: var(--red);
  transform: scale(1.1) rotate(-5deg);
}

/* ── Section Accent Line ─────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* ── Stat Counter Cards ──────────────────────────────────────────────────── */
.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

/* ── Why Choose Us Cards ─────────────────────────────────────────────────── */
.why-card {
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  border-color: var(--blue);
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

/* ── CTA Section ─────────────────────────────────────────────────────────── */
.cta-bg {
  background: linear-gradient(135deg, var(--red) 0%, var(--darkred) 100%);
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(120deg, #0e1f8f 0%, #193ed5 60%, #1a3ccc 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(222, 29, 37, 0.15);
  filter: blur(60px);
}

/* ── Contact Form ────────────────────────────────────────────────────────── */
.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 62, 213, 0.12);
  outline: none;
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.animate-fade-up   { animation: fadeUp 0.7s ease both; }
.animate-fade-in   { animation: fadeIn 0.6s ease both; }
.animate-float     { animation: float 4s ease-in-out infinite; }

.delay-100  { animation-delay: 0.1s; }
.delay-200  { animation-delay: 0.2s; }
.delay-300  { animation-delay: 0.3s; }
.delay-400  { animation-delay: 0.4s; }
.delay-500  { animation-delay: 0.5s; }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
