/* ── CORPORATE DESIGN SYSTEM ── */
:root {
  --bg:          #f8fafc;
  --surface:     #ffffff;
  --surface-alt: #f1f5f9;
  --border:      #e2e8f0;
  
  --blue:        #144b84; /* Brand Primary */
  --blue-hover:  #0f3a68;
  --blue-light:  #e0eefa;
  
  --green:       #11a55b; /* Brand Secondary */
  --green-hover: #0d8348;
  --green-light: #e0f6eb;
  
  --text-main:   #0f172a;
  --text-muted:  #475569;
  
  --font-head:   'Poppins', sans-serif;
  --font-body:   'Calibri', 'Gill Sans', 'Trebuchet MS', sans-serif;
  
  --radius:      8px;
  --radius-lg:   16px;
  
  --shadow-sm:   0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow:      0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
  font-family: var(--font-body); 
  background: var(--bg); 
  color: var(--text-main); 
  line-height: 1.6; 
  overflow-x: hidden; 
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-head); 
  font-weight: 700; 
  line-height: 1.2; 
  color: var(--blue);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-muted); margin-bottom: 1rem; font-weight: 400; font-size: 1.05rem; }
a  { text-decoration: none; color: inherit; }
strong { font-weight: 600; color: var(--text-main); }

/* ── LAYOUT ── */
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.section    { padding: 80px 0; }
.section-sm { padding: 40px 0; }
.section-alt { background: var(--surface); }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%); width: 92%; max-width: 1200px; z-index: 100;
  padding: 0;
  background: transparent;
  border: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.scrolled { top: 16px; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

/* Logo — outside the pill, left side */
.logo { 
  display: flex; align-items: center; gap: 10px; 
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--blue);
  flex-shrink: 0;
}
.logo-img { max-height: 60px; }
.logo span { color: var(--green); }

/* Floating pill — only the nav links */
.nav-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
nav.scrolled .nav-pill { box-shadow: var(--shadow-lg); }

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; margin: 0; padding: 0; }
.nav-links a { 
  font-size: 0.95rem; font-weight: 600; color: var(--text-muted); 
  transition: color var(--transition); position: relative; 
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

/* Contact Us button — outside the pill, right side */
.nav-cta-wrap { flex-shrink: 0; }
.nav-cta { 
  background: var(--blue) !important; color: #fff !important; 
  padding: 10px 24px; border-radius: var(--radius); font-weight: 600 !important; 
  font-size: 0.95rem;
  transition: background var(--transition);
  display: inline-block;
}
.nav-cta:hover { background: var(--blue-hover) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--surface); border: 1px solid var(--border); 
  border-radius: var(--radius); padding: 8px 0; min-width: 240px; z-index: 200;
  box-shadow: var(--shadow-lg); margin-top: 10px;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 12px 20px; font-size: 0.95rem;
  color: var(--text-main); font-weight: 500; transition: background var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }

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

/* ── BUTTONS ── */
.btn { 
  display: inline-flex; align-items: center; gap: 8px; 
  padding: 14px 32px; border-radius: var(--radius); 
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; 
  cursor: pointer; border: 2px solid transparent; transition: all var(--transition); 
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: var(--green-hover); box-shadow: var(--shadow); }

/* ── BADGE ── */
.badge { 
  display: inline-flex; align-items: center; gap: 8px; 
  background: var(--blue-light); color: var(--blue); 
  padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; 
  font-weight: 600; margin-bottom: 24px; 
}
.badge-accent { background: var(--green-light); color: var(--green); }

/* ── CARDS & GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.card { 
  background: var(--surface); border: 1px solid var(--border); 
  border-radius: var(--radius-lg); padding: 40px 32px; 
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }

.icon-box { 
  width: 56px; height: 56px; border-radius: 12px; 
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; 
  margin-bottom: 24px; font-size: 1.5rem; 
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header h2 { margin-bottom: 16px; }

/* ── HERO ── */
.hero { 
  min-height: 90vh; display: flex; align-items: center; 
  padding-top: 100px; background: linear-gradient(180deg, var(--blue-light) 0%, var(--bg) 100%);
  position: relative;
}
.hero-content { max-width: 800px; text-align: center; margin: 0 auto; }
.hero h1 { margin-bottom: 24px; color: var(--text-main); }
.hero-highlight { color: var(--blue); }
.hero-sub { font-size: 1.15rem; margin-bottom: 40px; color: var(--text-muted); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-trust { 
  display: flex; flex-wrap: wrap; justify-content: center; 
  gap: 32px; margin-top: 48px; border-top: 1px solid var(--border); padding-top: 32px;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-main); }
.trust-icon { color: var(--green); font-size: 1.2rem; }

/* ── PAGE HERO ── */
.page-hero { 
  padding: 160px 0 80px; text-align: center; 
  background: var(--blue-light); border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero p  { font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* ── MARQUEE ── */
.marquee-wrap { overflow: hidden; padding: 24px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 25s linear infinite; }
.marquee-item { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--blue); white-space: nowrap; display: flex; align-items: center; gap: 16px; }
.marquee-item::before { content: '•'; color: var(--green); font-size: 1.2rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── STATS SECTION ── */
.stats-section { padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-box { background: var(--surface); border: 1px solid var(--border); padding: 32px; text-align: center; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.stat-box p { margin: 0; font-weight: 500; color: var(--text-main); }

/* ── WHY US / SPLIT SECTIONS ── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.feature-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: bold; margin-top: 4px; }

/* ── CTA BANNER ── */
.cta-banner { 
  background: var(--blue); color: #fff; border-radius: var(--radius-lg); 
  padding: 80px 40px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: 20px; }
.cta-banner p  { max-width: 600px; margin: 0 auto 40px; color: var(--blue-light); font-size: 1.15rem; }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-weight: 500; color: var(--text-main); margin-bottom: 8px; font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select { 
  width: 100%; background: var(--surface); border: 1px solid var(--border); 
  border-radius: var(--radius); padding: 14px 16px; font-family: var(--font-body); 
  font-size: 1rem; color: var(--text-main); transition: all var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { 
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-light);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ── FOOTER ── */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 24px; margin-top: 80px;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-col h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 24px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.95rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-size: 0.9rem; }

/* ── TAGS ── */
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { background: var(--surface-alt); border: 1px solid var(--border); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .fade-up.anim { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
  .fade-up.anim.visible { opacity: 1; transform: none; }
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .nav-pill { 
    display: none; flex-direction: column; position: absolute; 
    top: 70px; left: 0; right: 0; background: var(--surface); 
    padding: 24px; gap: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border-radius: var(--radius-lg);
  }
  .nav-pill.open { display: flex; }
  .nav-links { flex-direction: column; gap: 20px; width: 100%; }
  .nav-dropdown-menu { position: relative; box-shadow: none; border: none; padding-left: 16px; }
  .hamburger { display: flex; }
  .nav-cta-wrap { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
