/* ═══════════════════════════════════════════════
   MVK Corporate Solutions LLP — Shared Styles
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1B3A6B;
  --navy-dark:   #112648;
  --navy-light:  #234a88;
  --orange:      #E07830;
  --orange-dark: #c4661f;
  --orange-light:#f08f4a;
  --white:       #ffffff;
  --off-white:   #f5f7fb;
  --light-bg:    #eef2f9;
  --text:        #1e2530;
  --text-muted:  #5f6b7c;
  --border:      #dde3ed;
  --shadow-sm:   0 2px 8px rgba(27,58,107,0.08);
  --shadow-md:   0 6px 24px rgba(27,58,107,0.12);
  --shadow-lg:   0 16px 48px rgba(27,58,107,0.16);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 72px;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}

.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 10px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5px; padding: 9px;
}
.nav-logo-icon span { background: white; border-radius: 3px; }

.nav-brand-text { color: white; line-height: 1.2; }
.nav-brand-text strong { display: block; font-size: 0.98rem; font-weight: 800; letter-spacing: 0.2px; }
.nav-brand-text small { font-size: 0.67rem; opacity: 0.65; letter-spacing: 1.5px; text-transform: uppercase; }

.nav-menu {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin-left: auto;
}

.nav-menu a {
  display: block;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}

.nav-menu .nav-cta a {
  background: var(--orange);
  color: white; font-weight: 700;
  padding: 9px 22px;
}
.nav-menu .nav-cta a:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; margin-left: auto; padding: 8px;
  border: none; background: none;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: white; border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 16px 5% 24px;
  z-index: 9998;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block; color: rgba(255,255,255,0.85);
  text-decoration: none; padding: 12px 16px;
  border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 500;
  transition: all var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active { background: rgba(255,255,255,0.1); color: white; }
.mobile-nav .mob-cta a {
  background: var(--orange); color: white;
  font-weight: 700; text-align: center; margin-top: 8px;
}

/* ═══════════════ PAGE HERO ═══════════════ */
.page-hero {
  padding: 140px 5% 80px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4a9a 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -5%; top: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,120,48,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-label {
  display: inline-block;
  background: rgba(224,120,48,0.18); border: 1px solid rgba(224,120,48,0.4);
  color: var(--orange); padding: 5px 14px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; color: white; line-height: 1.15; margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 580px; line-height: 1.8;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ═══════════════ LAYOUT ═══════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 88px 5%; }
.section-label {
  display: inline-block; color: var(--orange); font-size: 0.72rem;
  font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900;
  color: var(--navy); line-height: 1.18; margin-bottom: 14px;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-muted); max-width: 600px; line-height: 1.85;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  cursor: pointer; border: none; transition: all var(--transition);
  white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: var(--orange); color: white;
  box-shadow: 0 4px 18px rgba(224,120,48,0.38);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(224,120,48,0.45); }

.btn-secondary {
  background: var(--navy); color: white;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--navy-light); transform: translateY(-2px); }

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

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

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

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

/* ═══════════════ FORMS ═══════════════ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--navy); margin-bottom: 7px; letter-spacing: 0.2px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text); font-family: inherit;
  background: #fafbfd; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange); background: white;
  box-shadow: 0 0 0 3px rgba(224,120,48,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: #dc2626; font-size: 0.78rem; margin-top: 5px; display: none; }
.form-group.error input,
.form-group.error textarea,
.form-group.error select { border-color: #dc2626; }
.form-group.error .form-error { display: block; }
.form-success {
  background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46;
  padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px;
  font-size: 0.9rem; font-weight: 600; display: none;
}

/* ═══════════════ BADGES ═══════════════ */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
}
.badge-orange { background: rgba(224,120,48,0.12); color: var(--orange); }
.badge-navy  { background: rgba(27,58,107,0.1);  color: var(--navy);   }
.badge-green { background: rgba(22,163,74,0.1);  color: #16a34a;       }

/* ═══════════════ DIVIDER ═══════════════ */
.divider {
  width: 60px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  margin: 16px 0 24px;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ═══════════════ STATS BAR ═══════════════ */
.stats-bar {
  background: var(--orange); padding: 28px 5%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 900; color: white; line-height: 1; }
.stat-item span { font-size: 0.78rem; color: rgba(255,255,255,0.82); margin-top: 6px; display: block; letter-spacing: 0.3px; }

/* ═══════════════ FOOTER ═══════════════ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
}
.footer-top {
  padding: 64px 5% 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.footer-logo {
  width: 38px; height: 38px; background: var(--orange); border-radius: 8px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; flex-shrink: 0;
}
.footer-logo span { background: white; border-radius: 2px; }
.footer-brand-text strong { display: block; color: white; font-size: 0.95rem; font-weight: 800; }
.footer-brand-text small { font-size: 0.65rem; opacity: 0.5; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-col p { font-size: 0.85rem; line-height: 1.8; max-width: 280px; margin-bottom: 24px; }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--orange); }
.footer-links a::before { content: '›'; font-size: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item .icon { color: var(--orange); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.83rem; line-height: 1.6; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ═══════════════ WHATSAPP FLOAT ═══════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 8888;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
  transition: all var(--transition);
}
.wa-float:hover { transform: scale(1.1) translateY(-2px); background: #1ebe5c; }
.wa-float::after {
  content: 'Chat with us!';
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--text); color: white; font-size: 0.72rem; font-weight: 700;
  padding: 6px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.wa-float:hover::after { opacity: 1; }

/* ═══════════════ BACK TO TOP ═══════════════ */
.back-top {
  position: fixed; bottom: 96px; right: 28px; z-index: 8888;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  cursor: pointer; border: none; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all var(--transition);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--orange); transform: translateY(-2px); }

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* staggered children */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.05s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.12s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.19s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.26s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.33s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.40s; }
.stagger.visible > *:nth-child(7) { opacity:1; transform:translateY(0); transition-delay:0.47s; }
.stagger.visible > *:nth-child(8) { opacity:1; transform:translateY(0); transition-delay:0.54s; }
.stagger.visible > *:nth-child(9) { opacity:1; transform:translateY(0); transition-delay:0.61s; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  section { padding: 64px 5%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 110px 5% 60px; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.6rem; }
  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.5rem; }
  .back-top { bottom: 84px; right: 20px; }
}
