/* SKY EXPRESS — VISUAL WONDER UI (single-file stylesheet)
   Copy and paste this entire file as style.css
   Includes: responsive layout, hero background (webp + jpg fallback),
   loader, navbar, mobile menu, hero image stack, services, why-us,
   pickup form, map, footer, animations, accessibility, and micro-interactions.
*/

/* =========================
   Root variables & reset
   ========================= */
:root {
  --primary: #0061ff;
  --primary-600: #0050d6;
  --accent: #ff7300;
  --accent-soft: rgba(255, 115, 0, 0.12);
  --bg: #f4f8ff; /* Solid fallback */
  --card: #ffffff;
  --muted: #576574;
  --navy: #07101d;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-soft: 0 10px 30px rgba(2, 6, 23, 0.06);
  --shadow-strong: 0 20px 40px rgba(2, 6, 23, 0.12);
  --radius-lg: 28px;
  --radius-md: 14px;
  --max-width: 1320px;
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
  --duration-fast: 220ms;
  --duration-med: 420ms;
  --duration-slow: 900ms;
  --glass-border: rgba(255, 255, 255, 0.35);
  --focus-ring: rgba(0, 97, 255, 0.14);
}

/* Reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: #1f2933;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Centering container */
.centered-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
}

/* Accessibility helpers */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.sr-only-focusable:focus {
  position: static;
  height: auto;
  width: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 1ms;
    --duration-med: 1ms;
    --duration-slow: 1ms;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================
   Loader
   ========================= */
#loader-wrapper {
  position: fixed;
  inset: 0;
  background: var(--card);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.loader-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.loader-line {
  width: 220px;
  height: 4px;
  background: #eef2f7;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: '';
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  animation: slideLoader 1.6s infinite linear;
}

@keyframes slideLoader {
  to {
    left: 100%;
  }
}

/* =========================
   Navbar
   ========================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 18px 0;
  transition: all var(--duration-med) var(--ease);
  background: transparent;
}

#navbar.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brand-text .m-title {
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
  display: block;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(1.1rem, 4.5vw, 1.4rem);
}

.brand-text .s-title {
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop nav links */
#primary-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#primary-menu a {
  font-weight: 700;
  color: var(--navy);
  padding: 8px 6px;
  border-radius: 10px;
  transition: color var(--duration-fast) var(--ease);
}

#primary-menu a:hover {
  color: var(--primary);
}

.cta-nav {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255,115,0,0.12);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(37,211,102,0.12);
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2000;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #07101d; /* var(--navy) fallback */
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile menu overlay */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  
  #primary-menu {
    position: fixed;
    top: 72px;
    right: 0;
    width: 320px;
    height: calc(100% - 72px);
    background: var(--card);
    flex-direction: column;
    padding: 22px;
    gap: 18px;
    transform: translateX(110%);
    transition: transform var(--duration-med) var(--ease);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.12);
    z-index: 1300;
  }
  
  #primary-menu.open {
    transform: translateX(0);
  }
  
  .nav-actions {
    display: none;
  }
  
  .hero-right {
    order: 3;
    width: 100%;
  }
  
  .hero-left {
    order: 2;
    width: 100%;
  }
}

/* =========================
   Hero / Visual Wonder
   ========================= */
.hero-section {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(255,255,255,0.85), rgba(244,247,255,0.75)),
              url('assets/hero-bg.jpg') center/cover no-repeat;
  background-attachment: scroll; /* Changed from fixed to avoid layout issues */
}

@supports (background-image: url("data:image/webp;base64,UklGR")) {
  .hero-section {
    background-image: linear-gradient(rgba(255,255,255,0.92), rgba(244,247,255,0.85)),
                      url('assets/hero-bg.webp');
  }
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-left {
  flex: 1 1 480px;
  min-width: 260px;
}

.hero-right {
  flex: 0 1 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;
}

/* Headline */
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0,97,255,0.08);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  line-height: 1.02;
  margin: 0 0 18px;
  color: var(--navy);
}

.highlight {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: var(--muted);
  max-width: 100%;
  margin-bottom: 20px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-main {
  background: linear-gradient(90deg, var(--primary), var(--primary-600));
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 14px 40px rgba(0,97,255,0.18);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--duration-fast) var(--ease);
}

.btn-main:hover {
  transform: translateY(-4px);
}

.btn-outline {
  border: 2px solid rgba(7,16,29,0.06);
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}

/* Trust list */
.hero-trust {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

/* Image stack and glow */
.image-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.main-hero-img {
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  transform: translateZ(0);
  transition: transform var(--duration-slow) var(--ease);
}

.image-stack::before {
  content: '';
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0,97,255,0.06), rgba(255,115,0,0.04));
  filter: blur(18px);
  opacity: 0.95;
  pointer-events: none;
}

/* Floating stat */
.floating-stat {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--card);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 120px;
}

.stat-num {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.6rem;
}

.stat-txt {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

/* =========================
   Services
   ========================= */
.services-area {
  padding: 60px 0;
  background: var(--card);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 12px;
}

.h-line {
  width: 72px;
  height: 6px;
  background: var(--accent);
  margin: 18px auto;
  border-radius: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.s-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #eef4ff;
  box-shadow: var(--shadow-soft);
  color: #1a202c; /* Boosted text contrast */
  transition: transform var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.s-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.s-icon {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.s-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

/* =========================
   Why Us
   ========================= */
.why-us-area {
  padding: 60px 0;
  background: var(--card);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.why-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eef4ff;
  align-items: flex-start;
  transition: transform var(--duration-fast) var(--ease);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.why-text h4 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.why-text p {
  margin: 0;
  color: var(--muted);
}

/* =========================
   Pickup form
   ========================= */
.pickup-area {
  padding: 100px 0;
  background: var(--bg);
}

.pickup-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pickup-info h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.address-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-left: 4px solid var(--accent);
}

.pickup-form-container {
  background: var(--card);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

input, select, textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #eef4ff;
  background: #fff;
  font-size: 1rem;
  outline: none;
  transition: box-shadow var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

input:focus, select:focus, textarea:focus {
  box-shadow: 0 8px 30px rgba(0,97,255,0.06);
  border-color: var(--primary);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #eef4ff;
  padding: 10px 14px;
  border-radius: 12px;
}

/* Form status */
.form-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
  color: var(--navy);
  border: 1px solid rgba(0,0,0,0.04);
}

/* =========================
   Map & Footer
   ========================= */
.map-area {
  padding: 10px 0 80px; /* top reduced, bottom same */
  background: var(--card);
  text-align: center;
}

.map-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 18px;
}

#site-footer {
  background: #07101d;
  color: #9aa6b2;
  padding: 25px 0;  /* reduced */
  margin-top: 20px; /* reduced */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #9aa6b2;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 20px;   /* reduced */
  padding-top: 10px;  /* reduced */
  padding-bottom: 0;  /* remove extra bottom space */
}

/* =========================
   Toast & small UI bits
   ========================= */
.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #0b1220;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.28);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  z-index: 1400;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.submit-wa[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

/* Spinner for buttons */
.fa-circle-notch.fa-spin {
  animation: fa-spin 1s linear infinite;
}

@keyframes fa-spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   Floating Contacts
   ========================= */
.floating-contacts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.contact-btn:hover {
  transform: scale(1.1);
}

/* Individual colors */
.phone-btn {
  background: #0061ff;
}

.mail-btn {
  background: #ff9800;
}

.whatsapp-btn {
  background: #25d366;
}

/* =========================
   Responsive adjustments
   ========================= */

/* Mobile fallback: smaller image and remove fixed attachment */
@media (max-width: 768px) {
  .hero-section {
    background-image: linear-gradient(rgba(255,255,255,0.96), rgba(244,247,255,0.95)),
                      url('assets/hero-bg-mobile.jpg');
    background-attachment: scroll;
    padding: 80px 0 60px;
  }
  
  .mobile-menu-btn {
    display: inline-flex;
  }
  
  #primary-menu {
    position: fixed;
    top: 72px;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: calc(100% - 72px);
    background: var(--card);
    flex-direction: column;
    padding: 22px;
    gap: 18px;
    transform: translateX(110%);
    transition: transform var(--duration-med) var(--ease);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.12);
    z-index: 1300;
  }
  
  #primary-menu.open {
    transform: translateX(0);
  }
  
  .nav-actions {
    display: none;
  }
  
  .hero-right {
    order: 3;
    width: 100%;
  }
  
  .hero-left {
    order: 2;
    width: 100%;
  }
  
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  
  .hero-left, .hero-right {
    width: 100%;
  }
  
  .image-stack::before {
    display: none;
  }

  .floating-stat {
    left: 10px;
    bottom: 10px;
    transform: scale(0.85);
  }

  .hero-trust {
    justify-content: center;
    gap: 12px;
  }
  
  .nav-inner {
    padding: 0 16px;
  }
  
  .brand {
    max-width: calc(100% - 60px);
  }
  
  .centered-container {
    padding: 0 20px;
  }
  
  /* Mobile-only login link */
  .mobile-only-login {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }
  
  .mobile-only-login a {
    color: var(--primary) !important;
    font-weight: 800;
    font-size: 1.1rem;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.6rem;
  }
  
  .hero-inner {
    gap: 28px;
  }
  
  .pickup-wrapper {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.0rem;
  }
  
  .btn-main, .btn-outline {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .main-hero-img {
    border-radius: 16px;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .btn-main, .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .floating-contacts {
    right: 12px;
    bottom: 12px;
  }
  
  .contact-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .floating-stat {
    left: 10px;
    bottom: 10px;
    transform: scale(0.9);
    min-width: 110px;
  }

  .hero-trust {
    gap: 12px;
    justify-content: flex-start;
  }
}

/* =========================
   Focus outlines & accessibility
   ========================= */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================
   Utility helpers
   ========================= */
.centered-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kv {
  font-weight: 900;
  color: var(--primary);
}

.small-muted {
  font-size: 0.9rem;
  color: var(--muted);
}

/* AOS KILLER: Forcing everything to be visible and correctly aligned */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}

.services-area, .why-us-area, .pickup-area, .hero-section, .map-area {
  background-color: var(--bg) !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow-x: hidden !important;
}

#site-header, #navbar {
  max-width: 100%;
}

* {
  max-width: 100vw;
}
@media (min-width: 992px) {
  .mobile-only-login {
    display: none;
  }
}

.address-box {
  max-width: 400px;   /* controls width */
  margin: 0 auto;     /* centers horizontally */
  text-align: center; /* centers text */
}
.address-box {
  border-left: none !important;
}

.address-box::before {
  display: none !important;
}

.address-box a {
  margin-bottom: 0 !important;
}

.address-box br:last-child {
  display: none;
}

.hero,
.hero * {
  pointer-events: auto;
}

.hero::before,
.hero::after {
  pointer-events: none;
}
