/* ============================================================
   Aarvi Solutions – IT Services Website
   Shared Stylesheet
   ============================================================ */

/* ── Variables ── */
:root {
  --primary:       #0d2b6b;
  --primary-mid:   #1a3e8f;
  --primary-light: #2563eb;
  --accent:        #3b82f6;
  --accent-glow:   rgba(59,130,246,.18);
  --dark:          #060e22;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --light:         #f1f5f9;
  --lighter:       #f8fafc;
  --border:        #e2e8f0;
  --white:         #ffffff;
  --success:       #10b981;
  --warning:       #f59e0b;
  --error:         #ef4444;

  --shadow-sm:   0 2px 8px  rgba(6,14,34,.08);
  --shadow-md:   0 6px 24px rgba(6,14,34,.12);
  --shadow-lg:   0 16px 48px rgba(6,14,34,.16);
  --shadow-blue: 0 8px 32px  rgba(37,99,235,.25);

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font-main: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ── Utilities ── */
.container  { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px;  margin: 0 auto; padding: 0 24px; }

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.text-center { text-align: center; }
.text-white  { color: var(--white); }

/* ── Section Eyebrow / Badge ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Section Headers ── */
.section-header { margin-bottom: 56px; }
.section-header.text-center .eyebrow { justify-content: center; }
.section-header.text-center .eyebrow::before { display: none; }
.section-header.text-center .eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--primary);
}

.heading-xl {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.heading-lg {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.015em;
}
.heading-md {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
}
.heading-sm {
  font-size: 1.15rem;
  font-weight: 700;
}

.sub-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}
.text-center .sub-text { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .2px;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,99,235,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-light);
}
.btn-outline-dark:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .84rem; }

/* ── Header / Nav ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,14,34,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: all var(--transition);
}
#header.scrolled {
  background: rgba(6,14,34,.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 900;
  flex-shrink: 0;
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .5px;
  line-height: 1.1;
}
.logo-tagline {
  font-size: .62rem;
  color: var(--accent);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: .86rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: .2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-links .nav-cta {
  background: var(--primary-light);
  color: var(--white);
  border-radius: var(--radius-sm);
  margin-left: 8px;
}
.nav-links .nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page Header Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  margin-top: 12px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: .65rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.card-icon i { color: var(--primary-light); font-size: 1.4rem; }
.card:hover .card-icon {
  background: var(--primary-light);
}
.card:hover .card-icon i { color: var(--white); }
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.card p { font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

/* ── Service List inside card ── */
.service-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-muted);
}
.service-list li i {
  color: var(--success);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: .8rem;
}

/* ── Grid Layouts ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

/* ── Stat Pills ── */
.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 4px;
  margin: 16px 0 24px;
}
.text-center .divider { margin: 16px auto 24px; }

/* ── Tags / Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-blue { background: var(--accent-glow); color: var(--primary-light); }
.badge-green { background: rgba(16,185,129,.12); color: var(--success); }

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group label .req { color: var(--error); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .94rem;
  color: var(--text);
  background: var(--lighter);
  transition: all var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.err-msg { color: var(--error); font-size: .76rem; min-height: 16px; }
.input-invalid { border-color: var(--error) !important; }
.input-valid   { border-color: var(--success) !important; }

/* ── Alert / Success ── */
.alert-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  color: #065f46;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
}
.alert-success.show { display: flex; }
.alert-success i { font-size: 1.4rem; color: var(--success); flex-shrink: 0; }

/* ── Testimonial Cards ── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.quote-icon {
  font-size: 2.5rem;
  color: var(--accent-glow);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  color: var(--accent);
  opacity: .2;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.author-info strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: .92rem;
}
.author-info span {
  font-size: .8rem;
  color: var(--text-muted);
}
.stars { color: #f59e0b; font-size: .85rem; margin-bottom: 12px; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 40%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,.2) 0%, transparent 70%);
}
.cta-section .content { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── "Why Choose Us" Feature Row ── */
.why-item {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.why-item:hover { background: var(--lighter); }
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon i { color: var(--white); font-size: 1.2rem; }
.why-body h4 { margin-bottom: 6px; color: var(--primary); font-size: 1rem; }
.why-body p  { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

/* ── Number steps ── */
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
}

/* ── Job Cards ── */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition);
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateX(4px);
}
.job-info h4 { font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .76rem;
  color: var(--text-muted);
  background: var(--light);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* ── Value Cards ── */
.value-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius);
  padding: 36px 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card i { font-size: 2rem; color: var(--accent); margin-bottom: 18px; display: block; }
.value-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.75; }

/* ── Terms Page ── */
.terms-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.terms-content h2:first-child { border-top: none; margin-top: 0; }
.terms-content p {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}
.terms-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.terms-content ul li {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ── Info Box ── */
.info-box {
  background: var(--lighter);
  border-left: 4px solid var(--primary-light);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}
.info-box p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── Contact Info Card ── */
.contact-info-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-bottom: 16px;
}
.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.ci-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon i { color: var(--primary-light); font-size: 1.1rem; }
.ci-body strong { display: block; font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.ci-body span, .ci-body a { font-size: .95rem; color: var(--text); }
.ci-body a:hover { color: var(--primary-light); }

/* ── Map ── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 280px; border: none; display: block; }

/* ── Social Buttons ── */
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--text-muted);
  font-size: .9rem;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-3px);
}

/* ── Footer ── */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin: 16px 0 24px;
  line-height: 1.8;
}
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(59,130,246,.3);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}
.footer-col ul a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .87rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-list i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.55); }
.footer-contact-list a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { color: var(--white); }

/* ── Floating Buttons ── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 900;
  transition: all var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.1); color: var(--white); }

.back-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  z-index: 900;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  cursor: pointer;
}
.back-top.show { display: flex; }
.back-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,.4); }
  50%       { box-shadow: 0 0 0 14px rgba(37,99,235,0); }
}

.animate-up   { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.animate-fade { opacity: 0;                               transition: opacity .6s ease .15s; }
.in-view.animate-up   { opacity: 1; transform: translateY(0); }
.in-view.animate-fade { opacity: 1; }

/* delay helpers */
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6,14,34,.98);
    padding: 12px 24px 24px;
    border-top: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 16px 32px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-cta { margin: 12px 0 0; text-align: center; border-radius: var(--radius-sm) !important; }
  .nav-inner { position: relative; }

  .section-pad { padding: 64px 0; }
  .stats-row { gap: 28px; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section-pad { padding: 48px 0; }
  .page-banner { padding: 100px 0 56px; }
  .job-card { flex-direction: column; }
  .whatsapp-fab { bottom: 18px; right: 18px; width: 48px; height: 48px; font-size: 1.4rem; }
}
