/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; background: #0d1f35; }
/* Brand-navy base background — visible only in the brief blank frame
   some mobile browsers (notably iOS Safari) show between page navigations,
   before any page content has painted. Without this, that moment is
   stark white instead of matching the site's theme. Real page content
   sits on top via its own background, so this is invisible in normal use. */
body { font-family: 'Outfit', 'Segoe UI', sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; background: #f8fafc; }
a { text-decoration: none; color: inherit; }

.navbar { background-color: transparent; padding: 16px 0; position: fixed; top: 0; left:0; right:0; z-index: 1000; transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
.navbar.scrolled { background: #0d1f35 !important; box-shadow: 0 4px 20px rgba(0,0,0,0.4); padding: 10px 0; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { color: #aac4e0; font-size: 0.95rem; font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: white; }
.btn-quote { background-color: #e8820c; color: white; padding: 10px 24px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; transition: background 0.3s, transform 0.2s; }
.btn-quote:hover { background-color: #cf7009; transform: translateY(-2px); }
.hamburger { display: none; color: white; font-size: 1.6rem; cursor: pointer; }

.hero { background: #0d1f35; color: white; padding: 140px 30px 100px; text-align: center; position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(13,31,53,0.92) 0%, rgba(26,58,92,0.88) 100%); z-index: 0; }
.hero-content, .hero-scroll-hint { position: relative; z-index: 2; }
.hero-badge { display: inline-block; background: rgba(232,130,12,0.25); color: #f5b560; border: 1px solid rgba(232,130,12,0.55); padding: 6px 18px; border-radius: 30px; font-size: 0.88rem; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(4px); }
.hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.15; margin-bottom: 22px; letter-spacing: -1px; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.hero p { font-size: 1.15rem; color: #cddff0; max-width: 600px; margin: 0 auto 44px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 30px; z-index: 2; font-size: 0.85rem; color: #4a6a88; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.btn-primary { background-color: #e8820c; color: white; padding: 14px 34px; border-radius: 8px; font-weight: 700; font-size: 1rem; transition: background 0.3s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background-color: #cf7009; transform: translateY(-3px); }
.btn-secondary { border: 2px solid #aac4e0; color: #aac4e0; padding: 14px 34px; border-radius: 8px; font-weight: 700; font-size: 1rem; transition: all 0.3s; display: inline-block; }
.btn-secondary:hover { background-color: #aac4e0; color: #0d1f35; transform: translateY(-3px); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(270deg, #e8820c, #cf6a00, #e8a030, #e8820c); background-size: 400% 400%; animation: gradientShift 6s ease infinite; padding: 50px 30px; gap: 20px; }
.stat-item { text-align: center; color: white; }
.stat-item h2 { font-size: 2.6rem; font-weight: 800; }
.stat-item p { font-size: 0.95rem; opacity: 0.85; margin-top: 4px; }

.trust-strip { background: #0d1f35; padding: 18px 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.trust-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; padding: 8px 28px; color: #7a9ab8; font-size: 0.85rem; font-weight: 600; transition: color 0.3s; }
.trust-item i { color: #e8820c; font-size: 1rem; }
.trust-item:hover { color: white; }
.trust-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.1); }

.services { padding: 100px 30px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; position: relative; }
.section-header::after { content: ''; display: block; width: 52px; height: 4px; background: #e8820c; border-radius: 2px; margin: 18px auto 0; }
.section-title { font-size: 2.4rem; font-weight: 800; color: #0d1f35; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-subtitle { color: #5f5e5a; font-size: 1.05rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card { background: white; border: 1px solid #e8e5dc; border-radius: 16px; padding: 40px 32px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #e8820c; transform: scaleY(0); transition: transform 0.3s; transform-origin: bottom; }
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: #e8820c; }
.service-img { width: 100%; height: 180px; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-icon { font-size: 2.8rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: #0d1f35; margin-bottom: 12px; }
.service-card p { color: #5f5e5a; font-size: 0.95rem; margin-bottom: 20px; }
.card-link { color: #e8820c; font-weight: 700; font-size: 0.9rem; transition: letter-spacing 0.3s; }
.card-link:hover { letter-spacing: 0.5px; }

.how-it-works { padding: 90px 30px; background: #f9f8f5; }
.steps-grid { max-width: 1100px; margin: 0 auto; display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.step-card { background: white; border-radius: 16px; padding: 36px 28px; flex: 1; min-width: 200px; max-width: 240px; text-align: center; border: 1px solid #e8e5dc; position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.step-number { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: #e8820c; color: white; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; letter-spacing: 1px; }
.step-icon { font-size: 2.4rem; color: #e8820c; margin: 10px 0 18px; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; color: #0d1f35; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; color: #6a7a8a; line-height: 1.7; }
.step-connector { display: flex; align-items: center; padding: 0 10px; padding-top: 60px; color: #e8820c; font-size: 1.4rem; flex-shrink: 0; }

.tracking { background: linear-gradient(135deg, #0d1f35, #1a3a5c); padding: 100px 30px; text-align: center; color: white; }
.tracking-content { max-width: 680px; margin: 0 auto; }
.tracking h2 { font-size: 2.4rem; font-weight: 800; margin: 16px 0 14px; letter-spacing: -0.5px; }
.tracking p { color: #aac4e0; margin-bottom: 40px; font-size: 1.05rem; }
.tracking-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tracking-form input { flex: 1; min-width: 280px; padding: 16px 22px; border-radius: 8px; border: 2px solid transparent; font-size: 1rem; font-family: inherit; outline: none; transition: border-color 0.3s; }
.tracking-form input:focus { border-color: #e8820c; }
.tracking-form button { background-color: #e8820c; color: white; border: none; padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; transition: background 0.3s, transform 0.2s; }
.tracking-form button:hover { background-color: #cf7009; transform: translateY(-2px); }
.track-result { margin-top: 28px; padding: 20px 28px; border-radius: 10px; font-size: 1rem; font-weight: 600; display: none; overflow-x: hidden; word-break: break-word; }
.track-result.success { background: rgba(39,174,96,0.2); border: 1px solid rgba(39,174,96,0.5); color: #6effa8; display: block; }
.track-result.error { background: rgba(231,76,60,0.2); border: 1px solid rgba(231,76,60,0.5); color: #ff9d9d; display: block; }

.map-section { padding: 100px 30px; background: #f9f8f5; }
.map-container { max-width: 1100px; margin: 0 auto 40px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.12); }
.hubs-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.hub-card { background: white; border: 1px solid #e8e5dc; border-radius: 10px; padding: 16px 20px; text-align: center; font-weight: 600; font-size: 0.95rem; color: #0d1f35; transition: transform 0.3s, box-shadow 0.3s; }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }

.about { padding: 100px 30px; background: white; }
.about-content { max-width: 1100px; margin: 0 auto; display: flex; gap: 70px; align-items: center; flex-wrap: wrap; }
.about-image { flex: 1; min-width: 280px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); max-height: 420px; animation: float 5s ease-in-out infinite; }
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text { flex: 1; min-width: 280px; }
.about-text h2 { font-size: 2.2rem; font-weight: 800; color: #0d1f35; margin: 16px 0 18px; letter-spacing: -0.5px; }
.about-text p { color: #5f5e5a; margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.about-stats { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 12px; }
.about-stat { background: #f9f8f5; padding: 16px 22px; border-radius: 10px; border: 1px solid #e8e5dc; border-left: 3px solid transparent; font-size: 0.97rem; color: #0d1f35; font-weight: 600; transition: border-color 0.3s, background 0.3s, transform 0.3s; }
.about-stat:hover { border-left-color: #e8820c; background: #fff3e6; transform: translateX(6px); }

.contact { background: linear-gradient(135deg, #0d1f35, #1a3a5c); padding: 100px 30px; }
.contact-wrapper { max-width: 1000px; margin: 0 auto; display: flex; gap: 50px; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 240px; color: white; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; color: white; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.contact-detail-icon { width: 40px; height: 40px; background: rgba(232,130,12,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #e8820c; font-size: 1rem; flex-shrink: 0; }
.contact-detail-item strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: #7a9ab8; margin-bottom: 2px; }
.contact-detail-item span { font-size: 0.93rem; color: #cddff0; font-weight: 500; }
.contact-social { display: flex; gap: 10px; margin-top: 28px; }
.contact-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: #7a9ab8; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: all 0.3s; }
.contact-social a:hover { background: #e8820c; border-color: #e8820c; color: white; transform: translateY(-3px); }
.contact-form { flex: 2; min-width: 280px; display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea, .contact-form select { padding: 14px 20px; border-radius: 8px; border: 2px solid transparent; font-size: 1rem; font-family: inherit; outline: none; transition: border-color 0.3s; background: white; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: #e8820c; }
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form button { background-color: #e8820c; color: white; border: none; padding: 16px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; transition: background 0.3s, transform 0.2s; }
.contact-form button:hover { background-color: #cf7009; transform: translateY(-2px); }
.form-success { max-width: 1000px; margin: 28px auto 0; background: rgba(39,174,96,0.2); border: 1px solid rgba(39,174,96,0.5); color: #6effa8; padding: 18px 28px; border-radius: 10px; font-weight: 600; text-align: center; }

.testimonials { padding: 90px 30px; background: #f0f2f7; }
.testimonials-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.testimonial-card { background: white; border-radius: 18px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); display: flex; flex-direction: column; gap: 18px; transition: transform 0.25s, box-shadow 0.25s; border-top: 4px solid #e8820c; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.testimonial-stars { display: flex; gap: 4px; color: #e8820c; font-size: 0.95rem; }
.testimonial-text { font-size: 0.94rem; color: #4a5a6a; line-height: 1.8; flex: 1; font-style: italic; }
.testimonial-text::before { content: '"'; font-size: 2.5rem; color: #e8820c; line-height: 0; vertical-align: -0.6rem; margin-right: 4px; font-style: normal; }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid #f0ede5; padding-top: 16px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #0d1f35, #1a3a5c); color: white; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-name { font-weight: 700; color: #0d1f35; font-size: 0.95rem; }
.author-role { font-size: 0.78rem; color: #7a8a9a; margin-top: 2px; }

.footer { background-color: #060f1a; color: #aac4e0; padding: 70px 30px 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; gap: 50px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid #1e3a5a; }
.footer-brand { flex: 2; min-width: 200px; }
.footer-brand .logo { display: flex; align-items: center; }
.footer-tagline { display: inline-block; margin-top: 8px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: #e8820c; font-weight: 600; }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; color: #4a6a88; line-height: 1.7; }
.social-links { display: flex; gap: 14px; margin-top: 20px; }
.social-links a { color: #4a6a88; font-size: 0.85rem; font-weight: 600; transition: color 0.3s; }
.social-links a:hover { color: #e8820c; }
.footer-links, .footer-contact { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-contact h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.footer-links a { color: #4a6a88; font-size: 0.9rem; transition: color 0.3s, padding-left 0.3s; }
.footer-links a:hover { color: #e8820c; padding-left: 8px; }
.footer-contact p { font-size: 0.9rem; color: #4a6a88; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #2a4a68; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #2a4a68; font-size: 0.82rem; transition: color 0.3s; }
.footer-bottom-links a:hover { color: #e8820c; }

.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(8,20,36,0.78) 0%, rgba(10,24,42,0.72) 40%, rgba(8,20,36,0.82) 100%); }
.hero-indicators { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.3s, transform 0.3s; border: 2px solid rgba(255,255,255,0.5); }
.hero-dot.active { background: #e8820c; border-color: #e8820c; transform: scale(1.3); }

#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8820c, #f59e0b, #e8820c);
  background-size: 200% 100%;
  z-index: 500;
  width: 0%;
  opacity: 0;
  transition: width 0.1s linear, opacity 0.3s ease;
  box-shadow: none;
  pointer-events: none;
}
#progressBar.active {
  opacity: 1;
  animation: progressShimmer 1.2s linear infinite;
  box-shadow: 0 0 8px rgba(232,130,12,0.6);
}
@keyframes progressShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
#backToTop { position: fixed; bottom: 32px; right: 32px; background: #e8820c; color: white; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; box-shadow: 0 4px 20px rgba(232,130,12,0.5); display: none; align-items: center; justify-content: center; z-index: 999; transition: transform 0.3s, background 0.3s; }
#backToTop:hover { transform: translateY(-4px) scale(1.1); background: #cf7009; }
#backToTop.visible { display: flex; }


.animate-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-slide { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-card { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.visible { opacity: 1 !important; transform: translateY(0) !important; }
.nav-links a.nav-active { color: white !important; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-12px); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,130,12,0.4); } 50% { box-shadow: 0 0 0 16px rgba(232,130,12,0); } }

.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #e8820c; transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.btn-primary { animation: pulseGlow 2.5s infinite; }

@media (max-width: 768px) {
  /* Mobile menu overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s ease;
  }
  .nav-overlay.show {
    display: block;
    opacity: 1;
  }

  /* Mobile nav drawer */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0d1f35;
    padding: 0;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
    visibility: hidden;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* Menu header */
  .nav-links::before {
    content: '';
    display: block;
    background: linear-gradient(135deg, #0d1f35, #1a3a5c);
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    min-height: 72px;
  }

  /* Nav items */
  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-links.open li:nth-child(1) { transition-delay: .05s; }
  .nav-links.open li:nth-child(2) { transition-delay: .1s; }
  .nav-links.open li:nth-child(3) { transition-delay: .15s; }
  .nav-links.open li:nth-child(4) { transition-delay: .2s; }
  .nav-links.open li:nth-child(5) { transition-delay: .25s; }
  .nav-links.open li:nth-child(6) { transition-delay: .3s; }
  .nav-links.open li:nth-child(7) { transition-delay: .35s; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    min-height: 56px;
    transition: background .2s, color .2s, padding-left .2s;
  }
  .nav-links a:hover {
    background: rgba(255,255,255,0.06);
    color: white;
    padding-left: 30px;
  }
  .nav-links a.nav-active {
    color: #e8820c !important;
    background: rgba(232,130,12,0.08);
  }
  .nav-links a.nav-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e8820c;
    border-radius: 0 3px 3px 0;
  }
  .nav-links li { position: relative; }

  /* Portal CTA in mobile menu */
  .nav-links .nav-portal-btn {
    margin: 16px 24px 24px;
    background: #e8820c;
    color: white !important;
    border-radius: 10px;
    padding: 16px 24px !important;
    font-weight: 700 !important;
    text-align: center;
    justify-content: center;
    min-height: 52px;
  }
  .nav-links .nav-portal-btn:hover {
    background: #d4720a;
    padding-left: 24px !important;
  }

  /* Hamburger button */
  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    transition: background .2s;
    cursor: pointer;
    padding: 0;
  }
  .hamburger:hover { background: rgba(255,255,255,0.18); }
  .hamburger .bar {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, width .3s ease;
    margin: 3px 0;
  }
  .hamburger.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.open .bar:nth-child(2) { opacity: 0; width: 0; }
  .hamburger.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .btn-quote { display: none; }
  .hero h1 { font-size: 2.6rem; }
  .section-title { font-size: 1.9rem; }
  .about-content { flex-direction: column; }
  .contact-wrapper { flex-direction: column; }
  .step-connector { display: none; }
  .steps-grid { gap: 24px; }
  .step-card { max-width: 100%; }
  .trust-inner { gap: 6px; }
  .trust-item { padding: 8px 14px; font-size: 0.78rem; }
  .trust-divider { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===== EXTRA RESPONSIVE — ALL DEVICES ===== */
@media (max-width: 480px) {
  .hero { padding: 100px 16px 80px; min-height: 100svh; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.9rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; padding: 14px 20px; }
  .stats { flex-direction: column; gap: 14px; padding: 30px 20px; }
  .stat-item h2 { font-size: 2rem; }
  .services { padding: 60px 16px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-title { font-size: 1.6rem; }
  .tracking { padding: 60px 16px; }
  .tracking h2 { font-size: 1.8rem; }
  .tracking-form { flex-direction: column; }
  .tracking-form input, .tracking-form button { width: 100%; min-width: 0 !important; }
  .hubs-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .about { padding: 60px 16px; }
  .about-content { gap: 30px; }
  .contact { padding: 60px 16px; }
  .footer { padding: 40px 16px 20px; }
  .footer-content { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .testimonials { padding: 60px 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .map-section { padding: 60px 16px; }
  .how-it-works { padding: 60px 16px; }
  .steps-grid { flex-direction: column; align-items: center; gap: 28px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.7rem; }
  .logo img { height: 28px; }
  .login-box { padding: 28px 18px; }
}

/* Fix track result on small screens — keep 2 columns, just scale down */
@media (max-width: 600px) {
  #trackResult > div { border-radius: 10px !important; }
}

/* ── MULTI-PAGE ADDITIONS ── */

/* Logo as link */
a.logo {
  text-decoration: none;
  color: inherit;
}
.navbar a.logo { color: white; }
.navbar.scrolled a.logo { color: white; }
.navbar .nav-links a { color: rgba(255,255,255,0.9); }
.navbar.scrolled .nav-links a { color: rgba(255,255,255,0.9); }

/* Inner pages always have scrolled navbar */
.navbar.scrolled {
  background: #0d1f35;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  padding: 10px 0;
}

/* Page hero section */
.page-hero {
  background: linear-gradient(135deg, #0d1f35 0%, #1a3a5c 100%);
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .12;
  background-size: cover;
  background-position: center;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  margin: 16px 0;
}
.page-hero p { font-size: 1.05rem; color: #aac4e0; max-width: 560px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  font-size: .85rem;
  color: #4a6a88;
}
.breadcrumb a { color: #aac4e0; text-decoration: none; }
.breadcrumb a:hover { color: #e8820c; }
.breadcrumb span { color: #e8820c; font-weight: 600; }

/* Page transition fade animations removed per request — pages now render
   immediately on load with no opacity/transform delay, so navigating
   between pages feels instant instead of showing a visible pause. */

/* ── STATS GRID — consistent across all devices ── */
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr) !important; padding: 40px 20px !important; }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: repeat(2, 1fr) !important; padding: 30px 16px !important; }
  .stat-item h2 { font-size: 2rem !important; }
}

/* ── HERO BUTTONS — consistent size on all screens ── */
@media (max-width: 600px) {
  .hero-buttons { flex-direction: column !important; align-items: center !important; width: 100%; }
  .btn-primary, .btn-secondary { width: 100% !important; max-width: 320px !important; text-align: center !important; justify-content: center !important; }
}

/* ── TRACKING MAP — clean professional theme ── */
#trackMapSection { background: #0d1f35; }
#trackMap .leaflet-popup-content-wrapper {
  border-radius: 10px;
  border: 1px solid rgba(232,130,12,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-family: 'Outfit', sans-serif;
}
#trackMap .leaflet-control-zoom a {
  color: #0d1f35 !important;
  font-weight: 700 !important;
}

/* ── FIX: Tracking result card — no horizontal scroll on mobile ── */
.track-result, .track-result * {
  max-width: 100%;
  box-sizing: border-box;
}
.track-result > div {
  overflow-x: hidden !important;
}
@media (max-width: 600px) {
  .track-result { padding: 0 !important; margin-top: 20px; }
  #trackResult > div { border-radius: 14px !important; }
  #trackResult .zc-fadein > div[style*="display:flex"] { flex-direction: column !important; }
}

/* ===== QUOTE WIZARD ===================================================== */
.quote-wizard {
  background: white;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 4px 40px rgba(13,31,53,0.10);
  flex: 1;
  min-width: 0;
}

/* Step indicators */
.qw-steps {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}
.qw-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  transition: opacity .3s;
}
.qw-step.active, .qw-step.done { opacity: 1; }
.qw-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s;
  flex-shrink: 0;
}
.qw-step.active .qw-num { background: #e8820c; color: white; }
.qw-step.done .qw-num   { background: #16a34a; color: white; }
.qw-label { font-size: .8rem; font-weight: 600; color: #0d1f35; white-space: nowrap; }
.qw-connector {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 12px;
}

/* Panels */
.qw-panel { display: none; }
.qw-panel.active { display: block; }
.qw-title { font-size: 1.2rem; font-weight: 700; color: #0d1f35; margin-bottom: 24px; }

/* Service grid */
.qw-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.qw-service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  font-family: 'Outfit', sans-serif;
}
.qw-service-btn i { font-size: 1.5rem; color: #94a3b8; transition: color .2s; }
.qw-service-btn span { font-size: .82rem; font-weight: 600; color: #475569; }
.qw-service-btn:hover { border-color: #e8820c; background: #fff7ed; transform: translateY(-2px); }
.qw-service-btn:hover i { color: #e8820c; }
.qw-service-btn.selected { border-color: #e8820c; background: #fff7ed; }
.qw-service-btn.selected i { color: #e8820c; }
.qw-service-btn.selected span { color: #c46a00; }

/* Fields */
.qw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.qw-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.qw-row .qw-field { margin-bottom: 0; }
.qw-field label { font-size: .82rem; font-weight: 600; color: #374151; }
.qw-field input,
.qw-field select,
.qw-field textarea {
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: .9rem;
  font-family: 'Outfit', sans-serif;
  color: #0d1f35;
  background: #f8fafc;
  outline: none;
  transition: border-color .2s, background .2s;
}
.qw-field input:focus,
.qw-field select:focus,
.qw-field textarea:focus { border-color: #e8820c; background: white; }
.qw-field textarea { resize: vertical; min-height: 80px; }
.qw-req { color: #e8820c; }

/* Navigation */
.qw-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.qw-next-btn {
  background: #e8820c;
  color: white;
  border: none;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background .2s, transform .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.qw-next-btn:hover { background: #d4720a; transform: translateY(-1px); }
.qw-back-btn {
  background: transparent;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: border-color .2s, color .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.qw-back-btn:hover { border-color: #94a3b8; color: #374151; }
.qw-error { color: #dc2626; font-size: .82rem; margin-top: 4px; }

@media(max-width:600px) {
  .quote-wizard { padding: 24px 18px; }
  .qw-service-grid { grid-template-columns: repeat(2,1fr); }
  .qw-row { grid-template-columns: 1fr; }
}

/* ===== SERVICE FEATURE LIST ============================================= */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-features li {
  font-size: .82rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li i {
  color: #e8820c;
  font-size: .7rem;
  flex-shrink: 0;
}

/* ===== MOBILE INPUT ZOOM PREVENTION ===================================== */
/* iOS Safari zooms on any input with font-size < 16px — enforce 16px min  */
@media (max-width: 768px) {
  input, select, textarea,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="number"] {
    font-size: 16px !important;
    /* Smooth scroll restoration after keyboard closes */
    -webkit-text-size-adjust: 100%;
  }
  /* Prevent body scroll jump when keyboard opens */
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== PREVENT HORIZONTAL OVERFLOW FROM AOS / ANIMATIONS =============== */
section, .hero, .stats, .services, .how-it-works, footer {
  overflow-x: clip;
}
/* Prevent any off-screen transforms from creating scrollable area */
[data-aos] {
  backface-visibility: hidden;
}

/* ===== COOKIE CONSENT BANNER ============================================ */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d1f35;
  color: #aac4e0;
  padding: 18px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookieBanner.visible { transform: translateY(0); }
#cookieBanner p { font-size: .85rem; line-height: 1.6; margin: 0; max-width: 640px; }
#cookieBanner p a { color: #e8820c; text-decoration: underline; }
#cookieBanner .cb-actions { display: flex; gap: 10px; flex-shrink: 0; }
#cookieBanner button {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: transform .15s, background .2s;
}
#cookieBanner .cb-accept { background: #e8820c; color: white; }
#cookieBanner .cb-accept:hover { background: #cf7109; transform: translateY(-1px); }
#cookieBanner .cb-decline { background: transparent; color: #aac4e0; border: 1.5px solid rgba(255,255,255,0.2); }
#cookieBanner .cb-decline:hover { border-color: rgba(255,255,255,0.4); color: white; }

@media(max-width:600px) {
  #cookieBanner { padding: 16px; flex-direction: column; align-items: stretch; text-align: center; }
  #cookieBanner .cb-actions { width: 100%; }
  #cookieBanner button { flex: 1; }
}
