/*
Theme Name:  RK Enterprises
Theme URI:   https://rkwebs.in
Author:      RK Enterprises
Author URI:  https://rkwebs.in
Description: Government & Business Services theme for RK Enterprises — Bihar, India. Features Income Tax, GST, PAN, RTPS, Passport services with WhatsApp CTA on every card.
Version:     1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rk-enterprises
Tags:        business, services, government, one-column, custom-colors, custom-logo, custom-menu
*/

/* ──────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
────────────────────────────────────────────── */
:root {
  --navy:      #0a1628;
  --deep:      #0d1f3c;
  --gold:      #d4a017;
  --gold-light:#f0c84a;
  --white:     #f8f6f0;
  --cream:     #ede8dc;
  --text:      #1a2540;
  --muted:     #5a6a85;
  --accent:    #c0392b;
  --green:     #27ae60;
  --wa-green:  #25D366;
}

/* ──────────────────────────────────────────────
   RESET & BASE
────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ──────────────────────────────────────────────
   HEADER / NAV
────────────────────────────────────────────── */
header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.header-inner {
  max-width: 1200px; margin: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900; color: var(--navy);
  box-shadow: 0 0 0 3px rgba(212,160,23,.3);
}
.logo-text { line-height: 1.2; }
.logo-text strong {
  display: block; color: var(--gold);
  font-family: 'Playfair Display', serif; font-size: 19px;
}
.logo-text span { color: #8fa0bb; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

/* Nav */
nav { display: flex; gap: 6px; align-items: center; }
nav a {
  color: #8fa0bb; text-decoration: none; font-size: 13px;
  padding: 6px 14px; border-radius: 6px; transition: all .2s;
  font-weight: 500;
}
nav a:hover { color: var(--gold); background: rgba(212,160,23,.08); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  font-weight: 600 !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* WordPress nav menu reset */
.main-navigation ul { list-style: none; display: flex; gap: 6px; align-items: center; }
.main-navigation ul li a {
  color: #8fa0bb; text-decoration: none; font-size: 13px;
  padding: 6px 14px; border-radius: 6px; transition: all .2s; font-weight: 500;
}
.main-navigation ul li a:hover { color: var(--gold); background: rgba(212,160,23,.08); }
.main-navigation ul li.menu-item--cta > a {
  background: var(--gold); color: var(--navy); font-weight: 600; margin-left: 8px;
}

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 50%, #142040 100%);
  position: relative; overflow: hidden;
  padding: 90px 24px 80px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(212,160,23,.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(192,57,43,.06) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(var(--gold) 1px, transparent 1px),
                    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; margin: auto; }
.hero-tag {
  display: inline-block; background: rgba(212,160,23,.15);
  border: 1px solid rgba(212,160,23,.35); border-radius: 20px;
  color: var(--gold); font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 18px; margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 62px); font-weight: 900;
  color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 17px; color: #8fa0bb; line-height: 1.7;
  max-width: 560px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); padding: 14px 32px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: all .25s; box-shadow: 0 4px 20px rgba(212,160,23,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,160,23,.45); }
.btn-outline {
  border: 2px solid rgba(212,160,23,.5); color: var(--gold);
  padding: 13px 30px; border-radius: 8px; font-weight: 600;
  font-size: 15px; text-decoration: none; transition: all .25s;
}
.btn-outline:hover { background: rgba(212,160,23,.08); border-color: var(--gold); }

/* ──────────────────────────────────────────────
   STATS BAR
────────────────────────────────────────────── */
.stats-bar { background: var(--gold); padding: 18px 24px; }
.stats-inner {
  max-width: 1200px; margin: auto;
  display: flex; gap: 0; flex-wrap: wrap;
  justify-content: space-around; align-items: center;
}
.stat { text-align: center; padding: 8px 20px; }
.stat strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 28px; color: var(--navy); font-weight: 900;
}
.stat span { font-size: 12px; color: #4a3200; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ──────────────────────────────────────────────
   SECTIONS
────────────────────────────────────────────── */
.section { padding: 72px 24px; }
.section-alt { background: var(--cream); }
.container { max-width: 1200px; margin: auto; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block; font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 42px);
  font-weight: 900; color: var(--navy); line-height: 1.2;
}
.section-head h2 span { color: var(--gold); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ──────────────────────────────────────────────
   SERVICES GRID
────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 2px 12px rgba(10,22,40,.06);
  transition: all .3s ease;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(10,22,40,.12); }
.service-card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.card-icon.tax        { background: #fff3e0; }
.card-icon.gst        { background: #e8f5e9; }
.card-icon.pan        { background: #fce4ec; }
.card-icon.udyam      { background: #e3f2fd; }
.card-icon.dsc        { background: #f3e5f5; }
.card-icon.passport   { background: #e0f2f1; }
.card-icon.rtps       { background: #fff8e1; }
.card-icon.web        { background: #e8eaf6; }
/* ── Loan icons ── */
.card-icon.loan-personal { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.card-icon.loan-home     { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.card-icon.loan-vehicle  { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.card-icon.loan-business { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
/* ── Insurance icons ── */
.card-icon.ins-car    { background: linear-gradient(135deg, #e8eaf6, #c5cae9); }
.card-icon.ins-health { background: linear-gradient(135deg, #fce4ec, #f48fb1 55%, #fce4ec); }
.card-icon.ins-bike   { background: linear-gradient(135deg, #fff8e1, #ffecb3); }

/* ── Loan badge ribbon ── */
.loan-badge {
  position: absolute;
  top: 14px; right: -28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 9px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(38deg);
  box-shadow: 0 2px 8px rgba(212,160,23,.35);
}

/* ── Loan highlight section ── */
.loan-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
  border-radius: 16px;
  padding: 32px 28px 24px;
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; margin-bottom: 8px;
  border: 1px solid rgba(212,160,23,.25);
}
.loan-highlight-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--gold); margin-bottom: 6px;
}
.loan-highlight-text p { color: #8fa0bb; font-size: 13.5px; line-height: 1.6; max-width: 560px; }
.loan-timer {
  display: flex; align-items: center; gap: 10px;
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.3);
  border-radius: 10px; padding: 10px 20px;
  white-space: nowrap; margin-left: auto;
}
.loan-timer .timer-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900; color: var(--gold);
}
.loan-timer .timer-label { font-size: 11px; color: #8fa0bb; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 600px) {
  .loan-timer { margin-left: 0; }
  .loan-highlight { gap: 16px; }
}

.service-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 20px; }

.service-category {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 6px;
}

/* ── Dual CTA buttons container ── */
.card-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* Gold "Get Free Quote" CTA */
.cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); border: none; border-radius: 8px;
  padding: 11px 20px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: all .25s;
  box-shadow: 0 3px 12px rgba(212,160,23,.28);
}
.cta-btn:hover { transform: scale(1.02); box-shadow: 0 6px 18px rgba(212,160,23,.42); }
.cta-btn svg   { width: 16px; height: 16px; fill: var(--navy); flex-shrink: 0; }

/* Green WhatsApp "Book" button */
.buy-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wa-green);
  color: #fff; border: none; border-radius: 8px;
  padding: 11px 20px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: all .25s;
  box-shadow: 0 3px 12px rgba(37,211,102,.3);
}
.buy-btn:hover { background: #1eb857; transform: scale(1.02); box-shadow: 0 6px 18px rgba(37,211,102,.4); }
.buy-btn svg   { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

/* ── Category headers ── */
.cat-header {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 16px;
  margin-top: 12px; margin-bottom: -4px;
}
.cat-header h3 {
  font-family: 'Playfair Display', serif; font-size: 22px;
  color: var(--navy); white-space: nowrap; font-weight: 900;
}
.cat-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(10,22,40,.15), transparent); }

/* ──────────────────────────────────────────────
   WHY US
────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}
.why-card {
  background: var(--navy); border-radius: 14px; padding: 28px 22px;
  text-align: center; transition: transform .3s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon  { font-size: 36px; margin-bottom: 14px; }
.why-card h4 { color: var(--gold); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p  { color: #8fa0bb; font-size: 13px; line-height: 1.6; }

/* ──────────────────────────────────────────────
   CONTACT
────────────────────────────────────────────── */
.contact-section {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
}
.contact-section h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 40px);
  color: var(--white); margin-bottom: 16px; font-weight: 900;
}
.contact-section h2 span { color: var(--gold); }
.contact-section p { color: #8fa0bb; font-size: 16px; margin-bottom: 40px; }
.contact-grid {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  max-width: 700px; margin: 0 auto 40px;
}
.contact-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(212,160,23,.2);
  border-radius: 12px; padding: 20px 28px; text-align: center;
  flex: 1; min-width: 200px;
}
.contact-card .icon { font-size: 30px; margin-bottom: 10px; }
.contact-card a     { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 15px; }
.contact-card a:hover { color: var(--gold-light); }
.contact-card small { display: block; color: #8fa0bb; font-size: 12px; margin-top: 4px; }

.wa-main-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa-green); color: #fff;
  padding: 16px 36px; border-radius: 10px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: all .25s;
}
.wa-main-btn:hover { background: #1eb857; transform: translateY(-2px); }
.wa-main-btn svg   { width: 22px; height: 22px; fill: #fff; }

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
footer {
  background: #060f1e;
  padding: 32px 24px;
  text-align: center;
  color: #4a5f7a; font-size: 13px;
}
footer a           { color: var(--gold); text-decoration: none; }
footer .footer-logo {
  font-family: 'Playfair Display', serif; font-size: 22px;
  color: var(--gold); font-weight: 900; margin-bottom: 8px;
}

/* ──────────────────────────────────────────────
   FLOATING WHATSAPP BUTTON
────────────────────────────────────────────── */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--wa-green); width: 58px; height: 58px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  text-decoration: none; transition: all .25s;
  animation: pulse 2s infinite;
}
.float-wa svg  { width: 28px; height: 28px; fill: #fff; }
.float-wa:hover { transform: scale(1.1); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,.75); }
}

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 640px) {
  nav a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 32px; }
  .stat strong { font-size: 22px; }
}

/* ──────────────────────────────────────────────
   WORDPRESS ADMIN BAR OFFSET
────────────────────────────────────────────── */
.admin-bar header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar header { top: 46px; }
}

/* ══════════════════════════════════════════════════════════════
   RAZORPAY PAYMENT — SERVICE CARD ADDITIONS
══════════════════════════════════════════════════════════════ */

/* ── Service price display ── */
.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid rgba(212,160,23,.25);
  border-radius: 10px;
}
.price-rupee { font-size: 16px; font-weight: 700; color: var(--gold); }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1;
}
.price-note { font-size: 11px; color: var(--muted); margin-left: 2px; }

/* ── "Pay Now" Razorpay button ── */
.pay-btn {
  display: flex;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #1a1aff 0%, #4f46e5 100%);
  color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  width: 100%;
  transition: all .25s;
  box-shadow: 0 3px 14px rgba(79,70,229,.35);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .3px;
}
.pay-btn:hover {
  background: linear-gradient(135deg, #0000e0 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79,70,229,.45);
  color: #fff;
}
.pay-btn svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
.pay-icon { font-size: 16px; }

/* ── Three-button layout ── */
.card-btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}

/* ── Keep existing WhatsApp/CTA button styles but tighten ── */
.cta-btn  { padding: 10px 20px; }
.buy-btn  { padding: 10px 20px; }

/* ══════════════════════════════════════════════════════════════
   LOADING OVERLAY
══════════════════════════════════════════════════════════════ */
#rke-loading-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(10,22,40,.72);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 18px;
}
.rke-spinner {
  width: 52px; height: 52px;
  border: 5px solid rgba(212,160,23,.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: rke-spin .8s linear infinite;
}
@keyframes rke-spin { to { transform: rotate(360deg); } }
.rke-loading-text { color: var(--gold); font-weight: 600; font-size: 15px; letter-spacing: .5px; }

/* ══════════════════════════════════════════════════════════════
   PAYMENT MODAL
══════════════════════════════════════════════════════════════ */
#rke-payment-modal {
  display: none;
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(10,22,40,.78);
  align-items: center; justify-content: center;
  padding: 20px;
}
.rke-modal-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 36px;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  animation: rke-modal-in .28s ease;
  position: relative;
}
@keyframes rke-modal-in {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.rke-modal-icon { font-size: 54px; line-height: 1; margin-bottom: 16px; display: block; }
.rke-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 900;
  color: var(--navy); margin-bottom: 12px;
}
.rke-modal-service { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.rke-modal-amount  { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.rke-modal-amount strong { color: var(--green); }
.rke-pid {
  font-size: 12px; color: var(--muted);
  background: #f1f5f9; border-radius: 6px; padding: 6px 12px;
  margin: 10px 0; display: block; word-break: break-all;
}
.rke-pid code { color: var(--navy); font-size: 11px; }
.rke-modal-note {
  font-size: 13.5px; color: var(--muted);
  line-height: 1.6; margin: 12px 0 24px;
}
.rke-modal-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.rke-btn-wa {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wa-green); color: #fff;
  padding: 12px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: all .2s;
}
.rke-btn-wa:hover { background: #1eb857; color: #fff; transform: translateY(-2px); }
.rke-btn-close {
  background: #f1f5f9; color: var(--navy);
  border: none; border-radius: 8px;
  padding: 12px 22px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.rke-btn-close:hover { background: #e2e8f0; }

/* Close ✕ button in top corner */
.rke-modal-close-x {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--muted); line-height: 1;
  padding: 4px;
}
.rke-modal-close-x:hover { color: var(--navy); }

/* ── Razorpay badge on page ── */
.rke-secure-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 6px;
  font-size: 11px; color: var(--muted); letter-spacing: .3px;
}
.rke-secure-badge svg { width: 14px; height: 14px; fill: var(--muted); }

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════════════════════════ */
.rke-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 580px;
  background: var(--navy);
  user-select: none;
}

/* Track holds all slides side-by-side */
.rke-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  cursor: grab;
}
.rke-slider-track:active { cursor: grabbing; }

/* Individual slide */
.rke-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image */
.rke-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.rke-slide[aria-hidden="false"] .rke-slide-bg { transform: scale(1); }

/* Overlay – navy gradient */
.rke-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.82) 0%,
    rgba(10,22,40,0.55) 50%,
    rgba(10,22,40,0.35) 100%
  );
}

/* Slide content */
.rke-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 780px;
  animation: rke-fade-up 0.7s ease both;
}
.rke-slide[aria-hidden="true"] .rke-slide-content { animation: none; }

@keyframes rke-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rke-slide-tag {
  display: inline-block;
  background: rgba(212,160,23,0.18);
  border: 1px solid rgba(212,160,23,0.45);
  border-radius: 20px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.rke-slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.rke-slide-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 30px;
}

.rke-slide-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Arrows ── */
.rke-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s;
  color: #fff;
}
.rke-arrow:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.rke-arrow svg   { width: 22px; height: 22px; fill: #fff; }
.rke-arrow-prev  { left: 20px; }
.rke-arrow-next  { right: 20px; }

/* ── Dots ── */
.rke-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.rke-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.rke-dot.active,
.rke-dot:hover {
  background: var(--gold);
  transform: scale(1.3);
}

/* ── Progress bar ── */
.rke-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.12);
  z-index: 10;
}
.rke-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 5s linear;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .rke-slider    { height: 480px; }
  .rke-arrow     { width: 38px; height: 38px; }
  .rke-arrow-prev{ left: 10px; }
  .rke-arrow-next{ right: 10px; }
}
@media (max-width: 420px) {
  .rke-slider    { height: 420px; }
}

/* ══════════════════════════════════════════════════════════════
   SERVICE CARD — IMAGE TOP
══════════════════════════════════════════════════════════════ */

/* Override card layout to accommodate image */
.service-card {
  padding: 0 0 24px;       /* remove top padding — image fills it */
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.service-card:hover .card-img { transform: scale(1.06); }

/* Dark overlay at bottom of image */
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,22,40,0.65) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
}

.card-img-tag {
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Card body (below image) */
.card-body {
  padding: 18px 20px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Icon inside card-body — smaller, no background box */
.card-body .card-icon {
  width: 44px; height: 44px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-size: 20px;
}

/* ── Remove old .service-category tag (now in image overlay) ── */
.service-category { display: none; }
