/* ============================================================
   Ellora Infotech - Main Stylesheet
   Primary: #3b4872 | Secondary: #eaeaea | BG: #fff | Text: #000
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #3b4872;
  --primary-dark: #2c3659;
  --primary-light: #4e5e96;
  --secondary: #eaeaea;
  --accent: #f5a623;
  --white: #ffffff;
  --black: #000000;
  --text: #1a1a2e;
  --text-muted: #555577;
  --border: #d8dae8;
  --shadow-sm: 0 2px 8px rgba(59,72,114,0.08);
  --shadow-md: 0 6px 24px rgba(59,72,114,0.12);
  --shadow-lg: 0 16px 48px rgba(59,72,114,0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ---------- Reset & Base ---------- */
*, *::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;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-muted); }

.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-white   { color: var(--white) !important; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(59,72,114,0.09);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

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

.section-title.center, .section-label.center { text-align: center; display: block; }

/* ---------- Layout Helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ---------- Icon Box ---------- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(59,72,114,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.icon-box i {
  font-size: 1.4rem;
  color: var(--primary);
}
.card:hover .icon-box {
  background: var(--primary);
}
.card:hover .icon-box i {
  color: var(--white);
}

.icon-box-lg {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  font-size: 1.8rem;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark span {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-main);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text .tagline-logo {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar.scrolled .logo-text .name { color: var(--primary); }
.navbar:not(.scrolled) .logo-text .name { color: var(--white); }
.navbar:not(.scrolled) .logo-text .tagline-logo { color: rgba(255,255,255,0.7); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.navbar:not(.scrolled) .nav-links a {
  color: var(--primary);
}
.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: var(--primary);
}
.navbar:not(.scrolled) .nav-links a::after { background: var(--white); }

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--primary); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #2c3659 0%, #3b4872 45%, #4e5e96 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 60px;
}

.hero > .container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-badge i { color: var(--accent); }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-item .num span { color: var(--accent); }

.stat-item .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 480px;
}

.hero-card-stack {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  gap: 20px;
}

/* Common Card Style */
.hero-float-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.2rem;
  color: #fff;
  text-align: left;
  transition: all 0.3s ease;
  animation: float 4s ease-in-out infinite;
}

/* Different animation delay for each */
.card-main {
  animation-delay: 0s;
}

.card-a {
  animation-delay: 0.5s;
}

.card-b {
  animation-delay: 1s;
}

.card-c {
  animation-delay: 1.5s;
}

/* Hover effect */
.hero-float-card:hover {
  transform: translateY(-6px) scale(1.03);
}

/* Floating animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hfc-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hfc-title { font-size: 0.78rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }
.hfc-value { font-size: 1.4rem; font-weight: 700; }

/* ---------- Section Backgrounds ---------- */
.bg-primary { background: var(--primary); }
.bg-light { background: #f7f8fc; }
.bg-secondary { background: var(--secondary); }
.bg-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }

/* ---------- Service Card ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  border-radius: 4px 0 0 4px;
  transition: height 0.3s ease;
}

.service-card:hover::before { height: 100%; }

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(59,72,114,0.2);
}

.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #4e5e96 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: 30%;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-banner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.75); }
.cta-banner-btns { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.author-role { font-size: 0.8rem; color: var(--text-muted); }

.stars { color: #f5a623; font-size: 0.85rem; margin-bottom: 0.75rem; }

/* ---------- Process Steps ---------- */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--border) 100%);
  z-index: 0;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(59,72,114,0.3);
}

.process-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.process-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question i {
  font-size: 0.8rem;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question { color: var(--primary); background: rgba(59,72,114,0.04); }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 1rem 1.5rem 1.25rem;
}

/* ---------- Industry Card ---------- */
.industry-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  cursor: default;
}

.industry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ---------- Tag Chips ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(59,72,114,0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(59,72,114,0.2);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

/* ---------- Counter ---------- */
.counter-section {
  background: var(--primary);
  padding: 60px 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-item .count {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.counter-item .count-suffix { color: var(--accent); }

.counter-item .count-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Team Card ---------- */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
}

.team-name { font-size: 1rem; font-weight: 700; }
.team-role { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin: 4px 0 0.5rem; }
.team-bio { font-size: 0.85rem; }

/* ---------- Case Study Card ---------- */
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.case-header {
  background: var(--primary);
  padding: 2rem;
  color: var(--white);
}

.case-industry {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.case-header h3 { color: var(--white); font-size: 1.1rem; }

.case-body { padding: 1.75rem 2rem; }

.case-section { margin-bottom: 1.25rem; }
.case-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.case-section p { font-size: 0.88rem; }

.case-outcome {
  background: #f0f2f8;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--primary);
}

.outcome-metrics {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.metric .metric-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.metric .metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- Contact ---------- */
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i { color: var(--white); font-size: 1rem; }

.contact-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: var(--text);
  background: #fbfbfd;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(59,72,114,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Map Placeholder ---------- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8eaf0;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 0.75rem;
}

.map-container i { font-size: 2.5rem; color: var(--primary); }

/* ---------- Footer ---------- */
footer {
  background: #1a1e30;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tagline-logo { color: rgba(255,255,255,0.5); }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
  color: rgba(255,255,255,0.6);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-list i {
  color: var(--accent);
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1ebc58;
  transform: scale(1.08);
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover { background: var(--primary-dark); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero h1 { color: var(--white); position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 1rem auto 0; position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--accent); }

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1rem 0;
}

.divider.center { margin: 1rem auto; }

/* ---------- Badge / Pill ---------- */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary { background: rgba(59,72,114,0.1); color: var(--primary); }
.badge-success { background: rgba(34,197,94,0.1); color: #16a34a; }

/* ---------- Utility ---------- */
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

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

  /* Hero: stack content, hide visual panel */
  .hero > .container {
    grid-template-columns: 1fr;
  }
  .hero-visual { display: none; }
  .hero-content { max-width: 680px; }
}

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

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .nav-links, .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .mobile-nav.open { display: flex; }

  .mobile-nav a {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
  }

  .mobile-nav a:hover { color: var(--white); }

  .mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .cta-banner-btns { justify-content: center; }

  .hero > .container { grid-template-columns: 1fr; padding-top: 1rem; padding-bottom: 1rem; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-content { text-align: center; max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .counter-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .process-step:not(:last-child)::after { display: none; }

  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
  .stat-item { text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 1.5rem; }
  .cta-banner { padding: 2rem 1.25rem; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
