/* ============================================
   ALMARSA DELIVERY SERVICES - GLOBAL STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS Variables / Design Tokens */
:root {
  --primary: #0A1628;
  --primary-mid: #0D2144;
  --primary-light: #1A3A6B;
  --accent: #FF6B1A;
  --accent-hover: #E55A0D;
  --accent-light: #FF8C4A;
  --white: #FFFFFF;
  --off-white: #F8FAFD;
  --gray-100: #EEF2F7;
  --gray-200: #D8E2EF;
  --gray-300: #B0C0D6;
  --gray-500: #6B7F99;
  --gray-700: #344A66;
  --text-dark: #0A1628;
  --text-medium: #344A66;
  --text-light: #6B7F99;
  --success: #10B981;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg: 0 16px 64px rgba(10,22,40,0.16);
  --shadow-accent: 0 8px 32px rgba(255,107,26,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-medium); line-height: 1.7; }

/* ============ LAYOUT ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,26,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

/* ============ SECTION HEADERS ============ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,26,0.12);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-tag {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ============ NAVIGATION ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: var(--primary);
  box-shadow: 0 4px 32px rgba(10,22,40,0.25);
}

.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}




.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo .logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo .logo-tagline {
  font-size: 0.65rem;
  color: var(--accent-light);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 50%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255,107,26,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(26,58,107,0.6) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,26,0.2);
  border: 1px solid rgba(255,107,26,0.4);
  color: var(--accent-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-text h1 {
  color: var(--white);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-text h1 span {
  color: var(--accent);
  display: block;
}

.hero-text .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-text .hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--white);
  padding: 20px 36px;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 8px 40px rgba(255,107,26,0.5);
  transition: var(--transition);
  border: 2px solid transparent;
  animation: pulse-cta 3s ease-in-out infinite;
}

.hero-mega-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(255,107,26,0.6);
  animation: none;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 8px 40px rgba(255,107,26,0.5); }
  50% { box-shadow: 0 8px 60px rgba(255,107,26,0.8); }
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-xl);
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
  width: 100%;
}

.hero-image-card .truck-illustration {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(255,107,26,0.15), rgba(26,58,107,0.3));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 { top: 16px; right: -20px; animation-delay: 0s; }
.floating-badge-2 { bottom: 50px; left: -20px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-badge .badge-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.floating-badge .badge-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 700;
}

.floating-badge .badge-text span {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ============ STATS SECTION ============ */
.stats-section {
  background: var(--primary);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.stat-card {
  background: rgba(255,255,255,0.03);
  padding: 48px 40px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.stat-card:hover { background: rgba(255,107,26,0.08); }

.stat-card .stat-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============ WHY CHOOSE US ============ */
.why-us {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(255,107,26,0.12), rgba(255,107,26,0.06));
  border-radius: var(--border-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 46px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number-wrap {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.step-number {
  width: 64px; height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  position: relative;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.step-card:hover .step-number {
  background: var(--accent);
  transform: scale(1.1);
}

.step-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  padding: 80px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner h2 { color: var(--white); font-size: 2.2rem; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-top: 8px; }

.cta-banner-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ============ FORMS ============ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,26,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.file-upload-area {
  border: 2px dashed var(--gray-200);
  border-radius: var(--border-radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-area:hover {
  border-color: var(--accent);
  background: rgba(255,107,26,0.04);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-area .upload-icon { font-size: 2rem; margin-bottom: 8px; }
.file-upload-area p { font-size: 0.88rem; color: var(--text-light); }
.file-upload-area p strong { color: var(--accent); }

/* ============ PAGE HEADER BANNER ============ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============ FAQ ============ */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 12px;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(255,107,26,0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.faq-question:hover { background: var(--off-white); }

.faq-question h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand .logo-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.footer-brand .logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex; gap: 10px;
}

.social-links a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
  overflow: hidden;
  padding: 6px;
}

.social-links a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.social-links a:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.contact-info-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}

.contact-info-item .ci-icon {
  width: 32px; height: 32px;
  background: rgba(255,107,26,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex; gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent-light); }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-float .wa-btn {
  width: 60px; height: 60px;
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.wa-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.whatsapp-float .wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.4); }
}

.whatsapp-float .wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
}

.whatsapp-float .wa-label {
  background: var(--white);
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .wa-label {
  opacity: 1;
  transform: translateX(0);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9998;
  width: 44px; height: 44px;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ============ ALERT / NOTIFY ============ */
.toast {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 10000;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  transform: translateX(120%);
  transition: var(--transition);
}

.toast.show { transform: translateX(0); }
.toast .toast-icon { font-size: 1.5rem; }
.toast .toast-text strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.toast .toast-text span { font-size: 0.8rem; color: var(--text-light); }

/* ============ PAGE-SPECIFIC: SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-card .service-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--border-radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--text-light); }

/* ============ CONTACT INFO CARDS ============ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.contact-card .cc-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(255,107,26,0.15), rgba(255,107,26,0.05));
  border-radius: var(--border-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p { font-size: 0.9rem; color: var(--text-light); }
.contact-card a { color: var(--accent); font-weight: 600; }

/* ============ ABOUT VALUES ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 28px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.value-item h3 { font-size: 1rem; margin-bottom: 6px; color: var(--primary); }
.value-item p { font-size: 0.88rem; color: var(--text-light); }

/* ============ ADMIN DASHBOARD ============ */
.admin-sidebar {
  width: 260px;
  background: var(--primary);
  min-height: 100vh;
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--off-white);
}

.admin-header {
  background: var(--white);
  padding: 20px 32px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stats-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-mini-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
  color: var(--text-medium);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--off-white); }

.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 600;
}

.badge-pending { background: rgba(255,193,7,0.12); color: #D4941A; }
.badge-approved { background: rgba(16,185,129,0.12); color: var(--success); }
.badge-review { background: rgba(59,130,246,0.12); color: #2563EB; }

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { width: 220px; }
  .admin-content { margin-left: 220px; }
  .stats-cards-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  section { padding: 60px 0; }
  
  .nav-menu { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--primary);
    padding: 20px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-menu.open a { padding: 12px 16px; font-size: 1rem; }
  
  .nav-cta.mobile-open {
    position: absolute;
    top: calc(var(--nav-height) + 240px);
    left: 0; right: 0;
    background: var(--primary);
    padding: 0 20px 20px;
    flex-direction: column;
    display: flex;
  }
  
  .nav-cta.mobile-open .btn { display: flex; width: 100%; justify-content: center; }
  
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-cta-group { flex-direction: column; }
  
  .stats-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-btns { justify-content: center; }
  
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
  .stats-cards-row { grid-template-columns: repeat(2, 1fr); }
  
  .page-header { padding: 110px 0 60px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-cards-row { grid-template-columns: 1fr; }
  .cta-banner-btns { flex-direction: column; width: 100%; }
  .cta-banner-btns .btn { text-align: center; justify-content: center; }
  .hero-mega-cta { text-align: center; justify-content: center; }
}

/* ============ UTILITY ============ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.w-100 { width: 100%; }

/* =====================================================
   DARK MODE
   ===================================================== */

/* Smooth theme transition on all elements */
body,
body * {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark mode variable overrides */
body.dark-mode {
  --white: #1e293b;
  --off-white: #0f172a;
  --gray-100: #1e293b;
  --gray-200: #334155;
  --gray-300: #475569;
  --text-dark: #f1f5f9;
  --text-medium: #cbd5e1;
  --text-light: #94a3b8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  background: #0f172a;
  color: #f1f5f9;
}

/* ---- Headings ---- */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #f1f5f9;
}

body.dark-mode p { color: #cbd5e1; }

/* ---- Navbar ---- */
body.dark-mode .navbar.scrolled {
  background: #0c1830;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---- Sections with explicit bg colours ---- */
body.dark-mode .why-us,
body.dark-mode section[style*="background:var(--off-white)"],
body.dark-mode section[style*="background: var(--off-white)"] {
  background: #0f172a !important;
}

body.dark-mode .how-it-works,
body.dark-mode section[style*="background:var(--white)"],
body.dark-mode section[style*="background: var(--white)"] {
  background: #1e293b !important;
}

/* ---- Cards ---- */
body.dark-mode .card,
body.dark-mode .feature-card,
body.dark-mode .service-card,
body.dark-mode .contact-card,
body.dark-mode .faq-item {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .feature-card:hover,
body.dark-mode .service-card:hover,
body.dark-mode .contact-card:hover {
  border-color: var(--accent);
}

/* ---- FAQ ---- */
body.dark-mode .faq-question,
body.dark-mode .faq-question:hover {
  background: #1e293b;
}

body.dark-mode .faq-question h3 { color: #f1f5f9; }

body.dark-mode .faq-answer-inner { color: #94a3b8; }

/* ---- Forms ---- */
body.dark-mode .form-group label { color: #e2e8f0; }

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
  color: #475569;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,26,0.15);
}

body.dark-mode option { background: #1e293b; color: #f1f5f9; }

/* ---- File upload ---- */
body.dark-mode .file-upload-area {
  border-color: #334155;
  background: #0f172a;
}

body.dark-mode .file-upload-area:hover {
  border-color: var(--accent);
  background: rgba(255,107,26,0.06);
}

/* ---- Step numbers ---- */
body.dark-mode .step-number {
  border-color: #1e293b;
}

/* ---- Value items ---- */
body.dark-mode .value-item {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .value-item h3 { color: #f1f5f9; }

/* ---- Floating badges ---- */
body.dark-mode .floating-badge {
  background: #1e293b;
}

body.dark-mode .floating-badge .badge-text strong { color: #f1f5f9; }
body.dark-mode .floating-badge .badge-text span   { color: #94a3b8; }

/* ---- Footer ---- */
body.dark-mode .footer { background: #080f1e; }

body.dark-mode .footer-bottom { border-color: rgba(255,255,255,0.05); }

/* ---- Testimonial cards ---- */
body.dark-mode .card[style*="padding:32px"] {
  background: #1e293b !important;
  border-color: #334155 !important;
}

/* ---- Toast ---- */
body.dark-mode .toast {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode .toast .toast-text strong { color: #f1f5f9; }
body.dark-mode .toast .toast-text span   { color: #94a3b8; }

/* ---- Inline-style overridden whites / off-whites ---- */
body.dark-mode [style*="background:white"],
body.dark-mode [style*="background: white"],
body.dark-mode [style*="background:#ffffff"],
body.dark-mode [style*="background: #ffffff"] {
  background: #1e293b !important;
}

body.dark-mode [style*="color:var(--text-dark)"],
body.dark-mode [style*="color: var(--text-dark)"] {
  color: #f1f5f9 !important;
}

body.dark-mode [style*="color:var(--text-medium)"],
body.dark-mode [style*="color: var(--text-medium)"] {
  color: #cbd5e1 !important;
}

body.dark-mode [style*="color:var(--primary)"],
body.dark-mode [style*="color: var(--primary)"] {
  color: #e2e8f0 !important;
}

body.dark-mode [style*="background:var(--off-white)"],
body.dark-mode [style*="background: var(--off-white)"] {
  background: #0f172a !important;
}

/* ---- Dark mode toggle button ---- */
.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.dark-toggle:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.08);
}

.dark-toggle .icon-sun,
.dark-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.4s ease;
  line-height: 1;
}

/* Light mode: show moon (invite to go dark) */
.dark-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.dark-toggle .icon-sun  { opacity: 0; transform: rotate(90deg) scale(0.5); }

/* Dark mode: show sun (invite to go light) */
body.dark-mode .dark-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
body.dark-mode .dark-toggle .icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }

/* Tooltip */
.dark-toggle::after {
  content: attr(aria-label);
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 9999;
}
.dark-toggle:hover::after { opacity: 1; }

/* Mobile nav dark-mode toggle visibility */
@media (max-width: 768px) {
  .dark-toggle { width: 36px; height: 36px; font-size: 1rem; }
}
