/* ======================================================
   service-override.css  v3
   Fixes all layout, responsiveness, and hover issues
   for service pages (rakez, ifza, meydan, spc, etc.)
   ====================================================== */

/* ── GLOBAL FONT ── */
body {
  font-family: 'Open Sans', sans-serif;
  color: #1a2a4a;
  overflow-x: hidden;
}

/* ============================================================
   HERO — Two-column split (left: text, right: image + card)
   ============================================================ */

/* Make hero fill height naturally, no fixed height fighting */
.hero {
  height: auto !important;
  min-height: unset !important;
  overflow: visible;
  background: #eef2f9;
  position: relative;
  display: block !important;
  /* override home.min.css flex */
}

/* Grid container: 50/50 split */
.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 600px;
  max-width: 100%;
  width: 100%;
  padding: 0 !important;
  position: relative;
  z-index: 2;
}

/* Each column fills the full row height */
.hero-grid>div {
  height: auto;
}

/* Left: text content */
.hero-content {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 60px 60px 80px;

  position: relative;
  z-index: 2;
  /* stop home.min.css justify-content: space-between from applying */
}

/* Right: background image panel */
.hero-right {
  position: relative !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 600px;
  overflow: hidden;
}

/* Dark overlay on the right image */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 50, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Remove any ::after overlay conflict */
.hero-right::after {
  display: none !important;
}

/* ── HERO OVERLAY (disable home.min.css's left-gradient overlay) ── */
.hero .hero-overlay {
  background: none !important;
  z-index: 0;
}

/* ============================================================
   PRICING CARD (inside hero-right) — dark navy design, narrower
   ============================================================ */
.pricing-card {
  /* Reset absolute positioning from style.min.css */
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  /* Dark navy card — original design, reduced width */
  background: #001a4b;
  color: #fff;
  border-radius: 20px;
  width: 330px !important;
  min-width: unset !important;
  max-width: 330px !important;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 26, 75, 0.35);
  z-index: 2;
  flex-shrink: 0;
  overflow: hidden;
  /* NO hover transform — prevents jump */
  transition: box-shadow 0.25s;
}

.pricing-card:hover {
  box-shadow: 0 24px 70px rgba(0, 26, 75, 0.45);
  transform: none !important;
}

/* Offer badge */
.pricing-card .offer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #f5b400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: none;
  padding: 0;
  border-radius: 0;
  margin-left: 0;
}

.pricing-card .offer-badge svg {
  position: static !important;
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Title */
.pricing-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
  background: none;
  padding: 0;
}

/* Price box — yellow bar */
.price-box {
  background: #f5b400;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 700;
  border: none;
}

.price-box .from-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

.price-box .amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #000;
  line-height: 1.1;
  white-space: nowrap;
}

/* Feature list — white pill rows */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #0b2c5f;
  background: #fff;
  padding: 7px 10px;
  border-radius: 8px;
  margin: 0;
}

.pricing-card li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

/* ============================================================
   HERO TYPOGRAPHY
   ============================================================ */
.heading-xl {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a2a4a;
  margin: 0 0 8px;
}

.heading-lg {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #1a2a4a;
  line-height: 1.15;
}

.script-text {
  font-family: 'Caveat', cursive;
  color: #f5a800;
  font-size: 32px;
  line-height: 1.3;
}

.text-muted {
  color: #5a6a8a;
}

/* ── CTA BUTTON ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f5a800;
  color: #1a2a4a;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  position: static;
  /* ensure no residual positioning */
}

.btn-primary:hover {
  background: #d98c00;
  color: #1a2a4a;
}

/* ============================================================
   FEATURE CARDS — no jumping on hover
   ============================================================ */
.feature-card {
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(26, 42, 74, 0.07);
  /* use box-shadow only — no transform to prevent layout jump */
  transition: box-shadow 0.25s;
  background: #fff;
  overflow: hidden;
}

.feature-card:hover {
  /* Only deepen shadow — NO translateY */
  transform: none !important;
  box-shadow: 0 10px 36px rgba(26, 42, 74, 0.16);
}

.feature-icon {
  padding: 16px 20px 0;
}

.feature-icon i {
  color: #f5a800;
  font-size: 25px;
  margin-top: -10px;
}

.feature-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a2a4a;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 14px;
  color: #5a6a8a;
  line-height: 1.65;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #1a2a4a;
  margin-bottom: 16px;
}

.section-title-wrap h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a2a4a;
}

.section-title-wrap h2 span {
  color: #f5a800;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a2a4a;
}

.stat-label {
  font-size: 13px;
  color: #5a6a8a;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta {
  background: #1a2a4a;
  padding: 40px 60px;
}

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

.footer-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.footer-cta p {
  color: #c8d4e8;
  font-size: 15px;
  margin-top: 8px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-whatsapp:hover {
  background: #1db954;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS — stable, no jumping
   ============================================================ */

/* Large tablets */
@media (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }

  .hero-content {
    padding: 50px 40px 50px 60px;
  }

  .heading-xl {
    font-size: 40px;
  }

  .pricing-card {
    width: 270px;
  }
}

/* Tablets — stack vertically */
@media (max-width: 900px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    order: 2;
    padding: 40px 28px;
    text-align: left;
    align-items: flex-start;
    background: linear-gradient(to bottom, rgba(230, 238, 250, 1) 0%, rgba(230, 238, 250, 0.96) 100%);
  }

  .hero-right {
    order: 1;
    min-height: 460px;
    width: 100%;
  }

  .pricing-card {
    width: 280px;
    max-width: calc(100% - 40px);
  }

  .heading-xl {
    font-size: 36px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-content {
    padding: 32px 20px;
  }

  .hero-right {
    min-height: 360px;
  }

  .heading-xl {
    font-size: 28px;
  }

  .heading-lg {
    font-size: 24px;
  }

  .script-text {
    font-size: 26px;
  }

  .pricing-card {
    width: calc(100% - 32px);
    max-width: 320px;
  }

  .price-box .amount {
    font-size: 30px;
  }

  .footer-cta {
    padding: 36px 20px;
  }

  .cta-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .heading-xl {
    font-size: 24px;
  }

  .pricing-card li {
    font-size: 12px;
  }
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: 0 0;
  border: none;
  padding: 6px;
  z-index: 200
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a2a4a;
  border-radius: 2px;
  transition: .3s
}