/*
Theme Name: Veloxi Group
Theme URI: https://veloxigroup.com
Author: Veloxi Group Limited
Description: Official WordPress theme for Veloxi Group Limited — parent company of Jaber food delivery and future platforms.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: veloxi
*/

/* ── RESET & VARIABLES ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:        #2DB85A;
  --green-dark:   #1E9648;
  --green-light:  #E6F7EE;
  --dark:         #163D26;
  --mid:          #1E5C35;
  --gray:         #5A7A64;
  --light:        #F0FAF4;
  --white:        #FFFFFF;
  --yellow:       #F5C842;
  --yellow-dark:  #D4A81A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 100px;
  --ease:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: #0D2B18; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 5vw; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.site-logo a { display: flex; align-items: center; }
.site-logo img { height: 44px; width: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.main-navigation ul li a { font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--mid); letter-spacing: 0.1px; transition: color var(--ease); }
.main-navigation ul li a:hover { color: var(--green); }
.main-navigation ul li.menu-cta a { background: var(--green); color: #fff; padding: 10px 22px; border-radius: var(--r-pill); transition: background var(--ease), transform var(--ease); }
.main-navigation ul li.menu-cta a:hover { background: var(--green-dark); transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 24px; color: var(--dark); }

/* ── HERO ── */
.hero {
  min-height: 100vh; background: #163D26;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 100px 5vw 60px; gap: 40px;
  position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(45,184,90,0.22) 0%, transparent 70%); pointer-events: none; }
.hero::after  { content: ''; position: absolute; bottom: -100px; left: 30%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(245,200,66,0.10) 0%, transparent 70%); pointer-events: none; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(45,184,90,0.15); border: 1px solid rgba(45,184,90,0.3); color: var(--green); font-size: 12.5px; font-weight: 500; padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 28px; letter-spacing: 0.5px; text-transform: uppercase; }
.hero-badge::before { content: ''; width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { font-family: var(--font-display); font-size: clamp(42px, 5vw, 70px); font-weight: 700; color: #fff; line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--green); }
.hero-title .hero-title-line { display: block; }

.hero-desc { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.62); line-height: 1.7; max-width: 460px; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: var(--r-pill); border: none; cursor: pointer; transition: background var(--ease), transform var(--ease), box-shadow var(--ease); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(45,184,90,0.4); }

.btn-secondary { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-family: var(--font-body); font-size: 15px; font-weight: 400; transition: color var(--ease); }
.btn-secondary:hover { color: #fff; }
.btn-arrow { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--ease), background var(--ease); }
.btn-secondary:hover .btn-arrow { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }

.hero-stats { display: flex; gap: 36px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.hero-stat-num span { color: var(--green); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* ── HERO PHONE MOCKUP ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(45,184,90,0.28) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Outer phone shell */
.phone-frame {
  position: relative;
  z-index: 1;
  width: 252px;
  background: linear-gradient(160deg, #2e2e2e 0%, #111 50%, #1e1e1e 100%);
  border-radius: 42px;
  padding: 4px 3px 3px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 0 0 1px #000,
    0 0 0 2px #1a1a1a,
    0 40px 90px rgba(0,0,0,0.8),
    0 10px 30px rgba(0,0,0,0.5);
}

/* Left side: two volume buttons */
.phone-frame::before {
  content: '';
  position: absolute;
  left: -4px; top: 116px;
  width: 3.5px; height: 28px;
  background: linear-gradient(180deg, #3c3c3c, #222);
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #333;
}

/* Right side: power button */
.phone-frame::after {
  content: '';
  position: absolute;
  right: -4px; top: 148px;
  width: 3.5px; height: 54px;
  background: linear-gradient(180deg, #3c3c3c, #222);
  border-radius: 0 2px 2px 0;
}

/* Speaker grille */
.phone-speaker {
  width: 44px; height: 5px;
  background: repeating-linear-gradient(90deg, #000 0, #000 3px, transparent 3px, transparent 6px);
  border-radius: 3px;
  margin: 0 auto 3px;
  opacity: 0.65;
}

/* Screen area */
.phone-screen-wrap {
  position: relative;
  width: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.9);
}

/* Dynamic Island */
.phone-camera {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: 492px;
  object-fit: cover;
  object-position: top center;
}

/* Screen glare */
.phone-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 35%, transparent 65%);
  border-radius: 38px;
  pointer-events: none;
  z-index: 5;
}

/* Home indicator */
.phone-chin {
  height: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.phone-chin-bar {
  width: 80px; height: 4px;
  background: rgba(255,255,255,0.22);
  border-radius: 2px;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  display: flex; align-items: center; gap: 10px;
  z-index: 20;
}
.fb-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.fb-label { font-size: 11px; color: #999; font-family: var(--font-body); }
.fb-value { font-size: 14px; font-weight: 600; color: #1a1a1a; font-family: var(--font-display); line-height: 1; margin-top: 2px; }
.fb-1 { top: 130px; right: -38px; animation: floatY 4s ease-in-out infinite; }
.fb-2 { bottom: 130px; left: -46px; animation: floatY 4s ease-in-out infinite 2s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── SHARED SECTION STYLES ── */
/* Each section manages its own padding */
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--green); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 3.8vw, 52px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; color: #0D2B18; margin-bottom: 20px; }
.section-desc { font-size: 17px; font-weight: 300; color: var(--gray); line-height: 1.7; max-width: 520px; }

/* ── SERVICES ── */
.services { background: var(--light); padding: 100px 5vw; }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: var(--white); border-radius: var(--r-lg); padding: 32px 28px; position: relative; overflow: hidden; transition: transform var(--ease), box-shadow var(--ease); cursor: pointer; border: 1px solid rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.service-card.featured { background: var(--green); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; }
.service-card.featured .service-icon { background: rgba(255,255,255,0.2); }
.service-badge { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.2); color: #fff; font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); letter-spacing: 0.5px; text-transform: uppercase; }
.service-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #0D2B18; margin-bottom: 10px; }
.service-card.featured .service-name { color: #fff; }
.service-desc { font-size: 14px; color: var(--gray); line-height: 1.6; }
.service-card.featured .service-desc { color: rgba(255,255,255,0.75); }
.service-tag { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 500; color: var(--green); background: var(--green-light); padding: 4px 12px; border-radius: var(--r-pill); }
.service-card.featured .service-tag { color: #fff; background: rgba(255,255,255,0.2); }

/* ── JABER FEATURE ── */
.jaber-feature {
  background: #163D26;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 100px 5vw;
}
.jaber-feature .section-title { color: #fff; }
.jaber-feature .section-desc { color: rgba(255,255,255,0.55); }
.jaber-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jaber-pill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-pill); padding: 10px 18px; font-size: 14px; color: rgba(255,255,255,0.8); transition: background var(--ease), border-color var(--ease); }
.jaber-pill:hover { background: rgba(45,184,90,0.12); border-color: rgba(45,184,90,0.3); color: #fff; }
.jaber-download { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.store-btn { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md); padding: 12px 20px; text-decoration: none; transition: background var(--ease), border-color var(--ease); }
.store-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.22); }
.store-icon { font-size: 22px; }
.store-sub { font-size: 10px; color: rgba(255,255,255,0.45); line-height: 1; }
.store-name { font-size: 15px; font-weight: 600; color: #fff; font-family: var(--font-display); line-height: 1; margin-top: 3px; }

/* ── JABER PHONES ── */
.jaber-screens { position: relative; height: 520px; }

.jaber-screen {
  position: absolute;
  width: 175px;
  background: linear-gradient(160deg, #2e2e2e 0%, #111 50%, #1e1e1e 100%);
  border-radius: 36px;
  padding: 4px 3px 3px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.11),
    0 0 0 1px #000,
    0 0 0 2px #1a1a1a,
    0 28px 64px rgba(0,0,0,0.75),
    0 8px 20px rgba(0,0,0,0.45);
  overflow: visible;
  display: flex;
  flex-direction: column;
}
/* Volume buttons */
.jaber-screen::before {
  content: '';
  position: absolute;
  left: -3.5px; top: 92px;
  width: 3px; height: 24px;
  background: linear-gradient(180deg, #3c3c3c, #222);
  border-radius: 2px 0 0 2px;
  box-shadow: 0 38px 0 #333;
}
/* Power button */
.jaber-screen::after {
  content: '';
  position: absolute;
  right: -3.5px; top: 118px;
  width: 3px; height: 46px;
  background: linear-gradient(180deg, #3c3c3c, #222);
  border-radius: 0 2px 2px 0;
}

.jaber-speaker {
  width: 34px; height: 4px;
  background: repeating-linear-gradient(90deg, #000 0, #000 2px, transparent 2px, transparent 5px);
  border-radius: 2px;
  margin: 0 auto 3px;
  opacity: 0.65;
}

.jaber-screen-wrap {
  position: relative;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.9);
  flex: 1;
}

.jaber-camera {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 68px; height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

.jaber-screen-img {
  display: block;
  width: 100%;
  height: 346px;
  object-fit: cover;
  object-position: top center;
}

.jaber-glare {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 35%, transparent 60%);
  border-radius: 30px;
  pointer-events: none;
  z-index: 5;
}

.jaber-chin {
  height: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.jaber-chin-bar {
  width: 60px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.screen-1 { left: 0;   top: 60px; transform: rotate(-6deg); z-index: 1; }
.screen-2 { left: 50%; top: 0;    transform: translateX(-50%); z-index: 3; }
.screen-3 { right: 0;  top: 60px; transform: rotate(6deg);  z-index: 1; }

/* ── HOW IT WORKS ── */
.how { background: var(--light); padding: 100px 5vw; }
.how-header { text-align: center; margin-bottom: 64px; }
.how-header .section-label { justify-content: center; }
.how-header .section-desc { margin: 0 auto; text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; margin-top: 64px; }
.how-grid::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px; background: repeating-linear-gradient(90deg, var(--green) 0, var(--green) 6px, transparent 6px, transparent 16px); pointer-events: none; }
.how-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.how-number { width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--green); margin-bottom: 24px; position: relative; z-index: 1; transition: background var(--ease), color var(--ease); }
.how-step:hover .how-number { background: var(--green); color: #fff; }
.how-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #0D2B18; margin-bottom: 10px; }
.how-desc { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--white); padding: 100px 5vw; }
.testimonials-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.rating-num { font-family: var(--font-display); font-size: 52px; font-weight: 700; color: #0D2B18; letter-spacing: -1px; line-height: 1; }
.rating-stars { color: var(--yellow); font-size: 20px; margin: 6px 0; }
.rating-label { font-size: 13px; color: var(--gray); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--light); border-radius: var(--r-lg); padding: 32px; transition: transform var(--ease), box-shadow var(--ease); border: 1px solid transparent; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); border-color: rgba(45,184,90,0.12); }
.testimonial-quote { font-size: 40px; font-family: Georgia, serif; color: var(--green); line-height: 1; margin-bottom: 16px; opacity: 0.4; }
.testimonial-text { font-size: 15.5px; color: var(--mid); line-height: 1.7; font-weight: 300; margin-bottom: 28px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; font-family: var(--font-display); flex-shrink: 0; }
.author-name { font-size: 14.5px; font-weight: 700; color: #0D2B18; font-family: var(--font-display); }
.author-role { font-size: 12.5px; color: var(--gray); margin-top: 2px; }
.testimonial-stars { color: var(--yellow); font-size: 13px; margin-left: auto; align-self: flex-start; }

/* ── RIDERS CTA ── */
.riders-cta { background: var(--yellow); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 80px 5vw; }
.riders-cta .section-label { color: rgba(6,26,12,0.6); }
.riders-cta .section-label::before { background: rgba(6,26,12,0.4); }
.riders-cta .section-title { color: #163D26; }
.riders-cta .section-desc { color: rgba(6,26,12,0.65); }
.riders-btn { background: #163D26; color: var(--yellow); font-family: var(--font-body); font-size: 15px; font-weight: 600; padding: 16px 36px; border-radius: var(--r-pill); text-decoration: none; white-space: nowrap; transition: transform var(--ease), box-shadow var(--ease); display: inline-block; }
.riders-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
.site-footer { background: #163D26; padding: 72px 5vw 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 36px; }
.footer-logo img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 220px; }
.footer-col-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color var(--ease); }
.footer-links a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--green); }
.coming-soon { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; font-size: 10px; color: rgba(255,255,255,0.55); padding: 2px 8px; letter-spacing: 0.5px; text-transform: uppercase; vertical-align: middle; margin-left: 6px; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero, .jaber-feature { grid-template-columns: 1fr; padding: 100px 6vw 60px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .riders-cta { grid-template-columns: 1fr; }
  .jaber-screens { display: none; }
  .services-header { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid, .how-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .testimonials-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-navigation ul { display: none; }
  .menu-toggle { display: block; }
  .main-navigation.toggled ul { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 20px 5vw; border-bottom: 1px solid rgba(0,0,0,0.06); gap: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
}
