/* ============================================================
   style.css — Domikysgroup Moving & Delivery
   Shared stylesheet imported by all pages
   ============================================================ */

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

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary:       #1a56db;
  --primary-dark:  #1346bc;
  --primary-light: #3b71f5;
  --dark-navy:     #0c1e3c;
  --navy-mid:      #122a52;
  --white:         #ffffff;
  --light-bg:      #f3f7ff;
  --muted:         #5e6e8c;
  --border:        #d1dce8;
  --card-bg:       #ffffff;
  --shadow:        0 4px 24px rgba(26, 86, 219, 0.10);
  --shadow-hover:  0 10px 36px rgba(26, 86, 219, 0.18);
  --radius:        14px;
  --radius-sm:     8px;
  --transition:    0.3s ease;
  --font:          'Poppins', sans-serif;
  --nav-height:    72px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark-navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ── Layout Utilities ──────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Section Title Patterns ────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: rgba(26, 86, 219, 0.10);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-tag.light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.75;
}
.section-sub.light { color: rgba(255,255,255,0.7); }
.section-head { margin-bottom: 52px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn i { font-size: 0.9em; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(26, 86, 219, 0.32);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 26px rgba(26, 86, 219, 0.44);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--dark-navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-blue {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-blue:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
  background: var(--dark-navy);
}
.navbar.scrolled,
.navbar.solid {
  background: var(--dark-navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.logo-accent { color: var(--primary); font-weight: 800; }
.nav-logo-img {
  height: 58px;
  width: auto;
  max-width: 238px;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 63px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 8px 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-link.active { color: var(--white); background: rgba(26,86,219,0.35); font-weight: 600; }
.nav-cta { flex-shrink: 0; }
.nav-cta .btn-primary {
  background: var(--white);
  color: var(--dark-navy);
  border-color: var(--white);
  box-shadow: none;
}
.nav-cta .btn-primary:hover {
  background: var(--light-bg);
  border-color: var(--light-bg);
  box-shadow: 0 4px 14px rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  position: relative; z-index: 1001; flex-shrink: 0;
  border-radius: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy-mid) 60%, #173569 100%);
  padding: 138px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::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='%23ffffff' fill-opacity='0.025' fill-rule='evenodd'%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/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.35); }

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.card-icon {
  width: 56px; height: 56px;
  background: rgba(26, 86, 219, 0.10);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 18px;
  transition: all var(--transition);
}
.card:hover .card-icon { background: var(--primary); color: var(--white); }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; color: var(--dark-navy); }
.card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.68; }

/* ── Follow Section ─────────────────────────────────────────── */
.follow-section { background: var(--light-bg); }
.btn-facebook {
  background: #1877f2; color: var(--white) !important;
  border: 2px solid #1877f2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  transition: all var(--transition);
}
.btn-facebook:hover {
  background: #1464d8; border-color: #1464d8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,119,242,0.35);
}
.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white) !important;
  border: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  transition: all var(--transition);
}
.btn-instagram:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,39,67,0.4);
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #13305e 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; right: -80px;
  width: 350px; height: 350px; background: rgba(26,86,219,0.13); border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -110px; left: -70px;
  width: 300px; height: 300px; background: rgba(26,86,219,0.09); border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; color: var(--white); margin-bottom: 12px;
}
.cta-banner p { color: rgba(255,255,255,0.68); margin-bottom: 36px; font-size: 1rem; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--dark-navy);
  padding: 72px 0 0;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.6fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-desc {
  font-size: 0.875rem; line-height: 1.75; margin-bottom: 22px;
  color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); font-size: 0.9rem;
  transition: all var(--transition);
}
.social-icon:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.footer-col h4 {
  font-size: 0.9rem; font-weight: 600;
  color: var(--white); margin-bottom: 20px; letter-spacing: 0.3px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.86rem; color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 7px;
}
.footer-links a::before {
  content: '›'; color: var(--primary); font-size: 1rem; line-height: 1;
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(26, 86, 219, 0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 0.85rem;
}
.footer-contact-info { font-size: 0.85rem; }
.footer-contact-info strong { display: block; color: var(--white); font-weight: 500; margin-bottom: 2px; }
.footer-contact-info span  { color: rgba(255,255,255,0.55); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem; color: rgba(255,255,255,0.38);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ── WhatsApp Float ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 998;
  display: flex; align-items: center; justify-content: center;
}
.wa-pulse {
  position: absolute;
  width: 58px; height: 58px;
  background: rgba(37, 211, 102, 0.38);
  border-radius: 50%;
  animation: waPulse 2.2s ease-out infinite;
}
.whatsapp-float a {
  position: relative; z-index: 2;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.65rem;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.48);
  transition: all var(--transition);
}
.whatsapp-float a:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
.wa-tooltip {
  position: absolute; right: 68px;
  background: var(--dark-navy); color: var(--white);
  font-size: 0.8rem; font-weight: 500;
  padding: 6px 12px; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.wa-tooltip::after {
  content: ''; position: absolute; right: -5px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none; border-left-color: var(--dark-navy);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ── Form Styles ───────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.84rem; font-weight: 500;
  color: var(--dark-navy); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--dark-navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235e6e8c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Accordion (FAQ) ───────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 12px;
  transition: box-shadow var(--transition);
}
.accordion-item:hover { box-shadow: var(--shadow); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; text-align: left; gap: 12px;
  font-size: 0.93rem; font-weight: 600; color: var(--dark-navy);
  background: var(--white); cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.accordion-trigger:hover { background: var(--light-bg); }
.accordion-trigger.open  { background: var(--light-bg); color: var(--primary); }
.acc-icon { flex-shrink: 0; font-size: 1rem; transition: transform var(--transition); }
.accordion-trigger.open .acc-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.accordion-body.open { max-height: 320px; }
.accordion-body-inner {
  padding: 4px 22px 20px; font-size: 0.9rem; color: var(--muted); line-height: 1.75;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .navbar { background: var(--dark-navy) !important; box-shadow: 0 2px 20px rgba(0,0,0,0.35); }
  .hamburger { display: flex; }
  .nav-cta   { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--dark-navy);
    flex-direction: column; padding: 16px 0 32px; gap: 8px;
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-link { width: calc(100% - 32px); margin: 0 16px; padding: 14px 20px; }
  .nav-logo-img { height: 60px; max-width: 238px; }

  .section { padding: 60px 0; }
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .grid-2  { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
}
@media (max-width: 580px) {
  .container { padding: 0 16px; }
  .page-hero { padding: 116px 0 58px; }
  .whatsapp-float { bottom: 18px; right: 18px; }
}
