/* ============================
   HK Global Solution - services.css
   Theme: Gold, Black, Gray
   ============================ */

:root {
  --bg:      #0a0a0a;
  --bg2:     #111111;
  --accent:  #c9a84c;
  --gold:    #f0d080;
  --white:   #f5f0e8;
  --muted:   #888480;
  --card:    rgba(201, 168, 76, 0.05);
  --border:  rgba(201, 168, 76, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--white); overflow-x: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ════════════════════════════
   NAVBAR
════════════════════════════ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6%;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.logo-link { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; z-index: 1001; position: relative; }
.nav-logo { height: 40px; width: auto; object-fit: contain; display: block; transition: opacity 0.2s; }
.nav-logo:hover { opacity: 0.85; }

nav ul { list-style: none; display: flex; gap: 28px; }
nav ul li a {
  text-decoration: none; color: var(--muted);
  font-size: .88rem; font-weight: 500; letter-spacing: .4px;
  transition: color .2s; position: relative;
}
nav ul li a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .3s;
}
nav ul li a:hover, nav ul li a.active { color: var(--accent); }
nav ul li a.active::after, nav ul li a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 22px; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #0a0a0a; font-weight: 700; font-size: .86rem;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.55); }

/* ════════════════════════════
   HAMBURGER BUTTON
════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 42px; height: 42px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 10px; cursor: pointer;
  z-index: 1001; position: relative; flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.hamburger:hover { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.5); }
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════
   MOBILE FULLSCREEN MENU
════════════════════════════ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(5, 4, 2, 0.98);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 100px 8% 60px;
  opacity: 0; pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.mob-link {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 800; letter-spacing: -.5px;
  color: var(--muted); text-decoration: none;
  padding: 8px 0; width: 100%; text-align: center;
  transition: color 0.2s, transform 0.2s;
}
.mob-link:hover, .mob-link.active { color: var(--accent); transform: translateX(6px); }
.mob-divider { width: 50px; height: 2px; margin: 14px 0; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 2px; }
.mob-cta {
  padding: 14px 48px; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #0a0a0a; font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-block;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 28px rgba(201,168,76,0.35); margin-top: 4px;
}
.mob-socials { display: flex; gap: 10px; margin-top: 22px; }
.mob-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  font-size: .75rem; font-weight: 800; font-family: 'Poppins', sans-serif;
  transition: border-color .2s, color .2s, background .2s;
}
.mob-socials a:hover { border-color: var(--accent); color: var(--accent); background: rgba(201,168,76,0.08); }

/* ════════════════════════════
   PAGE HERO
════════════════════════════ */
.page-hero {
  min-height: 52vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 6% 80px; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(201,168,76,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(240,208,128,0.08) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: var(--border); }
.page-hero h1 {
  font-family: 'Poppines', sans-serif; font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -2px; margin: 12px 0 20px;
}
.page-hero p { font-size: 1.1rem; color: var(--muted); line-height: 1.8; max-width: 560px; margin: 0 auto; }

/* ════════════════════════════
   TICKER
════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  background: linear-gradient(90deg, #7a5c0a, var(--accent), #c9a84c, #7a5c0a);
  padding: 13px 0; white-space: nowrap;
}
.ticker {
  display: inline-block; animation: ticker 28s linear infinite;
  font-family: 'Poppins', sans-serif; font-size: .85rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #0a0a0a;
}
.ticker span { margin: 0 32px; }
.ticker .dot { color: rgba(10,10,10,0.45); }

/* ════════════════════════════
   SHARED SECTION
════════════════════════════ */
.cat-section { padding: 90px 6%; }
.alt-bg { background: var(--bg2); }
.cat-header { margin-bottom: 52px; }
.cat-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cat-icon { font-size: 1.5rem; }
.section-tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.section-title { font-family: 'Poppines', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 620px; line-height: 1.8; font-size: .98rem; }
.grad { background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 60%, #fff8dc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ════════════════════════════
   SERVICES GRID
════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 34px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; gap: 0;
}
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,168,76,0.08), transparent); opacity: 0; transition: opacity .3s; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.45); box-shadow: 0 22px 55px rgba(201,168,76,0.12); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(240,208,128,0.08)); border: 1px solid rgba(201,168,76,0.28); }
.service-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.service-card > p { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: 20px; }
.service-list { list-style: none; margin-top: auto; border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.service-list li::before { content: '✦'; font-size: .5rem; color: var(--accent); flex-shrink: 0; }

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.btn-primary { padding: 14px 34px; border-radius: 50px; background: linear-gradient(135deg, var(--accent), var(--gold)); color: #0a0a0a; font-weight: 700; font-size: .98rem; text-decoration: none; display: inline-block; box-shadow: 0 6px 28px rgba(201,168,76,0.35); transition: transform .2s, box-shadow .2s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 38px rgba(201,168,76,0.55); }
.btn-outline { padding: 14px 34px; border-radius: 50px; border: 1px solid var(--border); color: var(--white); font-weight: 600; font-size: .98rem; text-decoration: none; display: inline-block; backdrop-filter: blur(8px); transition: border-color .2s, background .2s; }
.btn-outline:hover { border-color: var(--accent); background: rgba(201,168,76,0.09); }

/* ════════════════════════════
   CTA SECTION
════════════════════════════ */
.cta-section {
  text-align: center; padding: 100px 6%;
  background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(240,208,128,0.03));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-section::before { content: ''; position: absolute; inset: -100%; background: radial-gradient(ellipse at center, rgba(201,168,76,0.10) 0%, transparent 60%); animation: rotateSlow 14s linear infinite; }
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-family: 'Poppines', sans-serif; font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -1px; margin: 12px 0 16px; }
.cta-section p { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto 36px; line-height: 1.8; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer { padding: 64px 6% 40px; border-top: 1px solid var(--border); background: #050505; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 48px; }
.footer-brand > p { color: var(--muted); font-size: .87rem; line-height: 1.7; max-width: 270px; margin-bottom: 18px; }
.footer-socials-inline { display: flex; gap: 10px; }
.footer-col h5 { font-family: 'Poppins', sans-serif; font-size: .9rem; font-weight: 700; margin-bottom: 16px; color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: .87rem; transition: color .2s; line-height: 1.6; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .82rem; flex-wrap: wrap; gap: 12px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font-size: .78rem; font-weight: 700; transition: border-color .2s, color .2s, background .2s; }
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(201,168,76,0.09); }

/* ════════════════════════════
   ANIMATIONS
════════════════════════════ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes ticker   { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes rotateSlow { to { transform:rotate(360deg); } }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  nav ul   { display: none !important; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .page-hero { min-height: 45vh; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .mob-link { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════
   STEP 1: style.css ke BILKUL END mein paste karo
   ══════════════════════════════════════════ */

.mega-wrap { position: static !important; }
.dropdown-toggle { cursor: pointer; }
.drop-arrow { font-size: .7rem; opacity: .7; margin-left: 2px; }

/* Bridge: padding-top se gap fill hoti hai takey cursor slip na kare */
.mega-wrap::after {
  content: '';
  position: fixed;
  top: 60px; left: 0; right: 0;
  height: 20px;
  z-index: 997;
  display: none;
}
.mega-wrap:hover::after { display: block; }

.mega-menu {
  display: none;
  position: fixed;
  top: 73px; left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  backdrop-filter: blur(20px);
  z-index: 998;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  /* Gap fix: padding-top covers the invisible gap */
  padding-top: 8px;
}
.mega-menu.open { display: block; }

.mega-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr;
  min-height: 300px;
}

.mega-cats {
  border-right: 1px solid rgba(201,168,76,0.1);
  padding: 20px 0;
  display: flex; flex-direction: column;
}
.mega-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 22px; cursor: pointer;
  color: var(--muted); font-size: .9rem; font-weight: 500;
  transition: background .2s, color .2s;
  border-left: 2px solid transparent;
}
.mega-cat-item:hover,
.mega-cat-item.active {
  background: rgba(201,168,76,0.07);
  color: var(--white);
  border-left-color: var(--accent);
}
.mega-cat-left { display: flex; align-items: center; gap: 10px; }
.mega-cat-icon { font-size: 1.1rem; }
.mega-cat-arrow { color: var(--accent); font-size: 1rem; opacity: 0; transition: opacity .2s; }
.mega-cat-item:hover .mega-cat-arrow,
.mega-cat-item.active .mega-cat-arrow { opacity: 1; }

.mega-panels { padding: 28px 32px 32px; }
.mega-panel { display: none; }
.mega-panel.active { display: block; }

.mega-panel-title {
  font-family: 'Syne', sans-serif;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 18px;
}
.mega-sub-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mega-sub-link {
  display: block; padding: 11px 16px;
  color: var(--muted); text-decoration: none;
  font-size: .88rem; font-weight: 400;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .2s;
}
.mega-sub-link:hover {
  color: var(--white);
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.18);
  padding-left: 20px;
}
.mega-footer {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.mega-footer p { font-size: .83rem; color: var(--muted); }
.mega-footer a {
  font-size: .83rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
}
.mega-footer a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .mega-menu { display: none !important; }
}




/* ════════════════════════════
   MOBILE SERVICES ACCORDION
════════════════════════════ */
.mob-services-wrap { width: 100%; }

.mob-services-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 800; letter-spacing: -1px;
  color: var(--muted);
  padding: 8px 0; width: 100%; text-align: center;
  cursor: pointer;
  transition: color .2s;
}
.mob-services-toggle:hover { color: var(--accent); }
.mob-services-toggle.open  { color: var(--accent); }

.mob-arrow {
  transition: transform .3s cubic-bezier(.23,1,.32,1);
  flex-shrink: 0; margin-top: 4px;
}
.mob-services-toggle.open .mob-arrow { transform: rotate(180deg); }

.mob-services-list {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.23,1,.32,1), opacity .3s;
  opacity: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 20px;
}
.mob-services-list.open {
  max-height: 400px;
  opacity: 1;
  padding: 8px 20px 12px;
}

.mob-sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .95rem; font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all .2s;
}
.mob-sub-link:hover {
  color: var(--white);
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.2);
}
.mob-sub-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}