/* ══════════════════════════════════════════════════════════
   style.css — Global Stylesheet
   Path: /assets/css/style.css
   ══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --primary:       #1a56db;
  --primary-dark:  #1340aa;
  --primary-light: #3b82f6;
  --accent:        #06b6d4;
  --navy:          #0f2a5c;
  --navy-light:    #1e3a7e;
  --bg:            #f0f5ff;
  --surface:       #ffffff;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --border:        #dbeafe;
  --radius:        12px;
  --shadow-sm:     0 1px 3px rgba(26,86,219,.10);
  --shadow-md:     0 4px 24px rgba(26,86,219,.14);
  --shadow-lg:     0 12px 48px rgba(26,86,219,.18);
  --header-h:      64px;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ════════════════════════════════════════════════════════
   PRELOADER
   ════════════════════════════════════════════════════════ */
#pf-preloader {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 99999; pointer-events: none; display: flex; align-items: center; gap: 10px;
  background: rgba(15,42,92,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59,130,246,.35); border-radius: 999px; padding: 10px 20px 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35); opacity: 0; transition: opacity .3s ease;
}
#pf-preloader.pf-pl-show { opacity: 1; }
.pf-pl-ring {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  border: 2.5px solid rgba(59,130,246,.25);
  border-top-color: #3b82f6; border-right-color: #06b6d4;
  animation: pf-spin 0.9s linear infinite;
}
@keyframes pf-spin { to { transform: rotate(360deg); } }
.pf-pl-dots { display: flex; gap: 5px; align-items: center; }
.pf-pl-dots span { width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; animation: pf-bounce 1.1s ease-in-out infinite; }
.pf-pl-dots span:nth-child(2) { animation-delay:.18s; background:#06b6d4; }
.pf-pl-dots span:nth-child(3) { animation-delay:.36s; background:#60a5fa; }
@keyframes pf-bounce { 0%,80%,100%{transform:scale(1);opacity:.5;} 40%{transform:scale(1.5);opacity:1;} }
.pf-pl-msg { font-size: 12px; color: #93c5fd; font-family: 'Inter', sans-serif; font-weight: 600; white-space: nowrap; }

/* ════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════ */
.pf-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a8f 60%, var(--navy-light) 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  display: flex; align-items: center; padding: 0 20px; gap: 16px;
}
@media (min-width: 769px) {
  .pf-header { height: 70px; padding: 0 28px; }
}
.pf-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary));
}

/* Logo */
.pf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.pf-logo img { height: 38px; filter: brightness(1.1); transition: transform .25s; }
.pf-logo:hover img { transform: scale(1.05); }

/* Desktop Nav */
.pf-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
@media (min-width: 769px) {
  .pf-nav { display: flex !important; }
  .pf-hamburger { display: none !important; }
}
.pf-nav a, .pf-nav .pf-dropdown > a {
  color: #e2e8f0; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.pf-nav a:hover, .pf-nav .pf-dropdown:hover > a { background: rgba(255,255,255,.12); color: #fff; }
.pf-nav a.active { background: rgba(59,130,246,.35); color: #fff; }

/* Dropdown */
.pf-dropdown { position: relative; }
.pf-dropdown > a { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pf-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 230px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  overflow: hidden; z-index: 1001; padding: 8px;
}
.pf-dropdown:hover .pf-dropdown-menu { display: block; }
.pf-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px;
  color: var(--text) !important; font-size: 13.5px; font-weight: 500;
  border-left: 3px solid transparent; transition: all .2s; background: transparent !important;
  text-decoration: none;
}
.pf-dropdown-menu a:hover { background: var(--bg) !important; border-left-color: var(--primary); color: var(--primary) !important; }
.pf-dropdown-menu a svg, .pf-dropdown-menu a i { flex-shrink: 0; }

/* CTA Button */
.pf-header-cta {
  margin-left: 8px; padding: 9px 18px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff !important; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: all .2s;
  box-shadow: 0 2px 12px rgba(26,86,219,.4);
}
.pf-header-cta:hover {
  transform: translateY(-1px); box-shadow: 0 4px 20px rgba(26,86,219,.5);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

/* Hamburger */
.pf-hamburger {
  margin-left: auto; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; color: #fff; font-size: 18px; transition: background .2s; flex-shrink: 0;
}
.pf-hamburger:hover { background: rgba(255,255,255,.2); }

/* ════════════════════════════════════════════════════════
   MOBILE DRAWER
   ════════════════════════════════════════════════════════ */
.pf-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1050; backdrop-filter: blur(4px); }
.pf-drawer-overlay.open { display: block; }
.pf-drawer {
  position: fixed; top: 0; left: -100%; width: min(320px, 85vw); height: 100%;
  background: linear-gradient(180deg, var(--navy) 0%, #0d2155 100%);
  z-index: 1051; display: flex; flex-direction: column;
  transition: left .35s cubic-bezier(.4,0,.2,1); overflow-y: auto;
}
.pf-drawer.open { left: 0; }
.pf-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0;
}
.pf-drawer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.pf-drawer-logo img { height: 50px; }
.pf-drawer-close {
  width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #93c5fd; font-size: 18px; transition: background .2s;
}
.pf-drawer-close:hover { background: rgba(255,255,255,.2); }
.pf-drawer-body { padding: 16px 0; flex: 1; }
.pf-drawer-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  color: #e2e8f0; text-decoration: none; font-size: 15px; font-weight: 500;
  border-left: 3px solid transparent; transition: all .2s;
}
.pf-drawer-item:hover, .pf-drawer-item.active { background: rgba(255,255,255,.07); border-left-color: var(--primary-light); color: #fff; }
.pf-drawer-item i { width: 20px; text-align: center; color: #93c5fd; font-size: 15px; }
.pf-drawer-section-label { padding: 12px 20px 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #64748b; }
.pf-drawer-sub {
  display: flex; align-items: center; gap: 14px; padding: 11px 20px 11px 40px;
  color: #94a3b8; text-decoration: none; font-size: 14px; border-left: 3px solid transparent; transition: all .2s;
}
.pf-drawer-sub:hover { color: #93c5fd; border-left-color: var(--accent); background: rgba(255,255,255,.05); }
.pf-drawer-sub i { width: 16px; color: var(--accent); font-size: 13px; }
.pf-drawer-cta {
  margin: 16px 20px; padding: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius); text-align: center; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600; display: block;
  box-shadow: 0 4px 16px rgba(26,86,219,.4); transition: transform .2s;
}
.pf-drawer-cta:hover { transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════
   BANNER SLIDER
   ════════════════════════════════════════════════════════ */
.banner-wrap { max-width: 1100px; margin: 0 auto; padding: 10px 10px 0; }
@media(min-width:640px) { .banner-wrap { padding: 18px 16px 0; } }
.banner-slider { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
@media(min-width:640px) { .banner-slider { border-radius: 16px; } }
.banner-track { display: flex; transition: transform .7s ease-in-out; }
.banner-track img {
  min-width: 100%; flex-shrink: 0; width: 100%;
  aspect-ratio: 16/5.95; object-fit: fit; object-position: center; background: #f0f5ff; display: block;
}
@media(min-width:640px) { .banner-track img { aspect-ratio: 8/3.12; } }
.banner-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.banner-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.banner-dot.active { background: #fff; width: 22px; }

/* ════════════════════════════════════════════════════════
   COMMON SECTION STYLES
   ════════════════════════════════════════════════════════ */
.section-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.section-title { text-align: center; font-size: clamp(20px,4vw,30px); font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -.5px; }
.section-sub { text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 18px; }
@media(min-width:640px) { .section-sub { font-size: 14px; margin-bottom: 28px; } }

/* ════════════════════════════════════════════════════════
   SERVICES SECTION (Homepage grid)
   ════════════════════════════════════════════════════════ */
.services-section { padding: 22px 12px 30px; max-width: 1200px; margin: 0 auto; }
@media(min-width:640px) { .services-section { padding: 36px 16px 40px; } }
.service-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media(min-width:560px) { .service-cards { grid-template-columns: 1fr 1fr; } }
@media(min-width:900px) { .service-cards { grid-template-columns: repeat(3,1fr); } }

.svc-card {
  background: var(--surface); border-radius: var(--radius); border: 1.5px solid var(--border);
  padding: 22px 20px; display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm);
  transition: all .25s; position: relative; overflow: hidden;
}
.svc-card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(26,86,219,.05),transparent); opacity:0; transition:opacity .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.svc-card:hover::before { opacity: 1; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.svc-icon-blue { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: var(--primary); }
.svc-body { flex: 1; }
.svc-body strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.svc-body span { font-size: 12.5px; color: var(--text-muted); }
.svc-arrow { color: var(--primary); font-size: 14px; flex-shrink: 0; transition: transform .25s; }
.svc-card:hover .svc-arrow { transform: translateX(5px); }

/* Featured card */
.svc-card-featured { grid-column: 1/-1; background: linear-gradient(135deg,var(--navy) 0%,#1a3a8f 100%); border: none; color: #fff; }
.svc-card-featured .svc-body strong { color: #fff; font-size: 17px; }
.svc-card-featured .svc-body span { color: #93c5fd; }
.svc-card-featured .svc-arrow { color: #60a5fa; }
.svc-card-featured .svc-icon-featured { background: rgba(255,255,255,.15); color: #fff; font-size: 26px; width: 60px; height: 60px; border-radius: 16px; }
@media(min-width:900px) { .svc-card-featured { grid-column: auto; } }

/* ════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════ */
.how-section { background: linear-gradient(135deg,#0a1f4d,#1a3a8f); padding: 20px 12px; }
@media(min-width:640px) { .how-section { padding: 30px 20px; } }
.how-inner { max-width: 900px; margin: 0 auto; }
.how-section .section-title { color: #fff; }
.how-section .section-label { color: var(--accent); }
.how-section .section-sub { color: #94a3b8; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
@media(min-width:900px) { .steps { grid-template-columns: repeat(4,1fr); gap: 12px; } }
.step { text-align: center; padding: 12px 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; transition: all .25s; }
@media(min-width:640px) { .step { padding: 16px 14px; } }
.step:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.step-num { width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg,var(--primary-light),var(--primary)); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: 0 3px 10px rgba(26,86,219,.4); }
@media(min-width:640px) { .step-num { width: 36px; height: 36px; font-size: 15px; } }
.step h4 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 5px; }
@media(min-width:640px) { .step h4 { font-size: 13px; } }
.step p { font-size: 11px; color: #94a3b8; line-height: 1.5; }
@media(min-width:640px) { .step p { font-size: 12px; } }

/* ════════════════════════════════════════════════════════
   FEATURES / PAN SERVICE CARDS (Apply section)
   ════════════════════════════════════════════════════════ */
.features-section { padding: 24px 12px 30px; max-width: 1200px; margin: 0 auto; }
@media(min-width:640px) { .features-section { padding: 40px 16px 48px; } }

/* Delivery Badge */
.delivery-badge {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 12px;
  background: linear-gradient(135deg,#eff6ff,#dbeafe); border: 1.5px solid #bfdbfe;
  border-radius: 12px; padding: 12px 18px; margin-bottom: 24px;
  font-size: 13px; color: var(--navy);
}
.delivery-badge i { color: var(--primary); font-size: 15px; }
.delivery-badge strong { color: var(--primary-dark); }
.delivery-sep { font-weight: 800; color: var(--text-muted); }

/* PAN Cards Grid */
.pan-cards-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 10px; }
@media(min-width:560px) { .pan-cards-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:900px) { .pan-cards-grid { grid-template-columns: repeat(4,1fr); } }

.pan-svc-card {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface);
  text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm);
  transition: all .25s; position: relative; overflow: hidden;
}
.pan-svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Colour accents */
.pan-svc-new        { border-left: 4px solid #1a56db; }
.pan-svc-new        .pan-svc-icon-wrap { background: #dbeafe; color: #1a56db; }
.pan-svc-new:hover  { border-color: #1a56db; }

.pan-svc-correction        { border-left: 4px solid #7c3aed; }
.pan-svc-correction        .pan-svc-icon-wrap { background: #ede9fe; color: #7c3aed; }
.pan-svc-correction:hover  { border-color: #7c3aed; }

.pan-svc-reprint        { border-left: 4px solid #0891b2; }
.pan-svc-reprint        .pan-svc-icon-wrap { background: #cffafe; color: #0891b2; }
.pan-svc-reprint:hover  { border-color: #0891b2; }

.pan-svc-minor        { border-left: 4px solid #16a34a; }
.pan-svc-minor        .pan-svc-icon-wrap { background: #dcfce7; color: #16a34a; }
.pan-svc-minor:hover  { border-color: #16a34a; }

.pan-svc-name        { border-left: 4px solid #d97706; }
.pan-svc-name        .pan-svc-icon-wrap { background: #fef3c7; color: #d97706; }
.pan-svc-name:hover  { border-color: #d97706; }

.pan-svc-father        { border-left: 4px solid #be185d; }
.pan-svc-father        .pan-svc-icon-wrap { background: #fce7f3; color: #be185d; }
.pan-svc-father:hover  { border-color: #be185d; }

.pan-svc-contact        { border-left: 4px solid #0891b2; }
.pan-svc-contact        .pan-svc-icon-wrap { background: #e0f2fe; color: #0891b2; }
.pan-svc-contact:hover  { border-color: #0891b2; }

.pan-svc-photo        { border-left: 4px solid #ea580c; }
.pan-svc-photo        .pan-svc-icon-wrap { background: #ffedd5; color: #ea580c; }
.pan-svc-photo:hover  { border-color: #ea580c; }

.pan-svc-icon-wrap { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; transition: transform .25s; }
.pan-svc-card:hover .pan-svc-icon-wrap { transform: scale(1.1); }
.pan-svc-info { flex: 1; }
.pan-svc-info strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; line-height: 1.3; }
.pan-svc-info span { font-size: 11.5px; color: var(--text-muted); }
.pan-svc-go { color: var(--text-muted); font-size: 12px; flex-shrink: 0; transition: all .25s; }
.pan-svc-card:hover .pan-svc-go { transform: translateX(4px); color: var(--primary); }

@media(max-width:559px) {
  .pan-svc-card { padding: 14px 12px; gap: 12px; }
  .pan-svc-icon-wrap { width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }
  .pan-svc-info strong { font-size: 13px; }
  .pan-svc-info span { font-size: 11px; }
}

/* ════════════════════════════════════════════════════════
   TICKER BAR
   ════════════════════════════════════════════════════════ */
.ticker-bar { background: linear-gradient(90deg,var(--navy),#1a3a8f); padding: 12px 16px; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; animation: ticker 28s linear infinite; white-space: nowrap; }
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: 13px; padding: 0 40px; }
.ticker-item i { color: var(--accent); }
.ticker-item strong { color: #fff; }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.pf-footer {
  background: linear-gradient(160deg,#0a1f4d 0%,#0f2a5c 60%,#0d2155 100%);
  color: #cbd5e1; margin-top: auto;
  border-top: 3px solid;
  border-image: linear-gradient(90deg,var(--primary-light),var(--accent),var(--primary)) 1;
}
.pf-footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px 32px; display: grid; grid-template-columns: 1fr; gap: 36px; }
@media(min-width:640px) { .pf-footer-inner { grid-template-columns: 1fr 1fr; } }
@media(min-width:900px) { .pf-footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.pf-footer-logo { height: 50px; margin-bottom: 14px; }
.pf-footer-about { font-size: 13.5px; color: #94a3b8; line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.pf-footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #e2e8f0; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid rgba(59,130,246,.3); }
.pf-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pf-footer-links a { color: #94a3b8; text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: color .2s, gap .2s; }
.pf-footer-links a:hover { color: #93c5fd; gap: 12px; }
.pf-footer-links a i { font-size: 10px; color: #3b82f6; flex-shrink: 0; }
.pf-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
@media(min-width:640px) { .pf-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.pf-footer-bottom p { font-size: 13px; color: #475569; }
.pf-footer-bottom-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pf-footer-bottom-links a { font-size: 13px; color: #64748b; text-decoration: none; transition: color .2s; }
.pf-footer-bottom-links a:hover { color: #93c5fd; }
.pf-footer-bottom-links span { color: #334155; font-size: 12px; }

/* ════════════════════════════════════════════════════════
   UTILITY — Page wrapper (main content flex grow)
   ════════════════════════════════════════════════════════ */
.page-main { flex: 1; }