/* ============================================================
   enhance.css  –  Visual upgrade layer (loads AFTER style.css)
   Navy + Gold theme ko same rakha hai, bas polish/animation add ki hai.
   ============================================================ */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #D4AF37; color: #0d1035; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #D4AF37; outline-offset: 3px; border-radius: 4px; }

/* ── scroll progress bar ── */
#sp-bar { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, #8B6914, #D4AF37, #E8CD82); box-shadow: 0 0 10px rgba(212,175,55,.7); transition: width .1s linear; }

/* ── header ── */
.topbar { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: box-shadow .3s, padding .3s; }
.topbar.scrolled { box-shadow: 0 8px 30px rgba(13,16,53,.14); }
.topbar-logo img { transition: transform .3s; }
.topbar-logo:hover img { transform: scale(1.04); }
.topbar-nav > li > a { position: relative; }
.topbar-nav > li > a::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #B8860B, #E8CD82); transition: width .3s, left .3s; }
.topbar-nav > li > a:hover::after, .topbar-nav > li > a.active::after { width: 70%; left: 15%; }
.topbar-dropdown { border-radius: 14px !important; box-shadow: 0 24px 60px rgba(13,16,53,.22) !important; }

/* ── hero ── */
.hero-section .hero-title { letter-spacing: -.5px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-img-outer img { transition: transform .6s ease; }
.hero-img-outer { animation: floaty 6s ease-in-out infinite; }
.hero-ring-1 { animation: ringPulse 4s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ringPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,.35); } 50% { box-shadow: 0 0 0 22px rgba(212,175,55,0); } }
.hero-section[style*="hero-bg"] { background-attachment: scroll; }

/* ── section headings ── */
.sec-eyebrow { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; margin-bottom: .75rem; color: #8B6914; -webkit-text-fill-color: #8B6914;
  background: linear-gradient(135deg, #fbf6e9, #f3e6bd); -webkit-background-clip: border-box; background-clip: border-box; border: 1px solid rgba(184,134,11,.3); }
.portfolio-section .sec-eyebrow, .why-section .sec-eyebrow, .cta-section .sec-eyebrow, .hero-section .sec-eyebrow { background: rgba(212,175,55,.12); color: #E8CD82; -webkit-text-fill-color: #E8CD82; border-color: rgba(212,175,55,.35); }
.gold-underline { position: relative; overflow: hidden; }
.gold-underline::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: translateX(-100%); animation: shimmer 3.2s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ── cards ── */
.service-card, .why-item, .process-step, .local-card, .test-card, .port-card, .rel-card { will-change: transform; }
.service-card, .why-item, .local-card { border-radius: 18px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.service-card:hover, .why-item:hover, .local-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(13,16,53,.16), 0 0 0 1px rgba(212,175,55,.45); }
.port-img-wrap { overflow: hidden; }
.port-img-wrap img, .svc-detail-img img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.port-card:hover .port-img-wrap img, .svc-detail-img:hover img { transform: scale(1.08); }
.svc-detail-img img, .about-img-card img { border-radius: 20px; box-shadow: 0 25px 60px rgba(13,16,53,.25); }
img[src$="varsha-working.webp"] { border-radius: 20px; box-shadow: 0 25px 60px rgba(13,16,53,.22); object-fit: cover; }
img[src$="website-designer-varsha.webp"] { object-fit: cover; border-radius: 20px; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: .8rem; font-weight: 600; font-size: .9rem; color: #8B6914; text-decoration: none; }
.svc-more i { transition: transform .25s; }
.service-card:hover .svc-more i { transform: translateX(5px); }

/* ── buttons ── */
.btn-gold-shine, .topbar-cta, .mobile-cta { position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.btn-gold-shine::before, .topbar-cta::before { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .7s; }
.btn-gold-shine:hover::before, .topbar-cta:hover::before { left: 140%; }
.btn-gold-shine:hover, .topbar-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(184,134,11,.4); }

/* ── stats / cta / faq ── */
.stat-number { background: linear-gradient(135deg, #B8860B, #E8CD82, #B8860B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-section { background-size: 200% 200%; animation: ctaFlow 14s ease infinite; }
@keyframes ctaFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.accordion-item { border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; border: 1px solid rgba(184,134,11,.2) !important; transition: box-shadow .3s; }
.accordion-item:hover { box-shadow: 0 10px 30px rgba(13,16,53,.1); }
.accordion-button:not(.collapsed) { background: linear-gradient(135deg, #fbf6e9, #fff) !important; color: #0d1035 !important; box-shadow: none !important; }
.form-control:focus, .form-select:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 .25rem rgba(212,175,55,.25) !important; }

/* ── breadcrumb ── */
.crumb-bar { background: #f7f8fc; border-bottom: 1px solid #e4e7f0; padding: .7rem 0; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.crumb li { display: inline-flex; align-items: center; gap: .4rem; color: #5a5f86; }
.crumb li + li::before { content: '\203A'; color: #B8860B; font-weight: 700; }
.crumb a { color: #0d1035; text-decoration: none; font-weight: 600; }
.crumb a:hover { color: #B8860B; }
.crumb li[aria-current] { color: #8B6914; font-weight: 600; }

/* ── related services (interlinking block) ── */
.related-section { padding: 4.5rem 0; background: linear-gradient(180deg, #fff, #f7f8fc); }
.rel-card { display: flex; flex-direction: column; height: 100%; padding: 1.4rem; border-radius: 18px; background: #fff; text-decoration: none; color: #0d1035;
  border: 1px solid #e4e7f0; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; position: relative; overflow: hidden; }
.rel-card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, #B8860B, #E8CD82); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.rel-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,.6); box-shadow: 0 22px 50px rgba(13,16,53,.14); color: #0d1035; }
.rel-card:hover::before { transform: scaleX(1); }
.rel-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; color: #fff;
  background: linear-gradient(135deg, #0d1035, #1e2560); box-shadow: 0 8px 18px rgba(13,16,53,.25); margin-bottom: 1rem; }
.rel-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.rel-card p { font-size: .9rem !important; color: #5a5f86; margin-bottom: 1rem; flex: 1; }
.rel-go { font-weight: 600; font-size: .88rem; color: #8B6914; display: inline-flex; gap: 6px; align-items: center; }
.rel-go i { transition: transform .25s; } .rel-card:hover .rel-go i { transform: translateX(6px); }
.quick-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2.2rem; }
.quick-links a { padding: .55rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid rgba(184,134,11,.35); color: #0d1035; font-weight: 600; font-size: .88rem; text-decoration: none; transition: all .25s; }
.quick-links a:hover { background: linear-gradient(135deg, #B8860B, #D4AF37); color: #fff; transform: translateY(-2px); }

/* ── in-text contextual links ── */
a.ctx-link { color: #8B6914; font-weight: 600; text-decoration: none; background: linear-gradient(#D4AF37,#D4AF37) 0 100% / 100% 2px no-repeat; transition: background-size .25s, color .25s; }
a.ctx-link:hover { background-size: 100% 100%; color: #0d1035; }
.hero-section a.ctx-link, .cta-section a.ctx-link, .portfolio-section a.ctx-link { color: #E8CD82; }

/* ── floating buttons ── */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1900; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; text-decoration: none; border: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,.28); transition: transform .25s; cursor: pointer; }
.fab:hover { transform: scale(1.1) translateY(-3px); color: #fff; }
.fab-wa { background: #25D366; position: relative; }
.fab-wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.fab-call { background: linear-gradient(135deg, #B8860B, #D4AF37); }
#scrollTop { position: static !important; transform: none; background: #0d1035 !important; color: #fff !important; display: none; font-size: 1.2rem; width: 46px; height: 46px; align-items: center; justify-content: center; }

/* ── reveal helper for inner pages ── */
.reveal { will-change: opacity, transform; }
@media (max-width: 575px) { .fab { width: 48px; height: 48px; font-size: 1.3rem; } .related-section { padding: 3rem 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }

/* ── small additions ── */
.service-card { position: relative; }
.port-body .svc-more { color: #E8CD82; }
.port-body .svc-more:hover { color: #fff; }
.btn-outline-gold-shine.ms-2 { margin-left: .5rem; }

/* mobile: bootstrap g-5 gutter se aane wala horizontal scroll fix */
@media (max-width: 575px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } }

/* ============ LOGO: width auto (sirf height se control) ============ */
.topbar-logo img, .footer-brand img { width: auto !important; max-width: 100%; height: 90px; object-fit: contain; }
.footer-brand img { height: 92px; }
@media (max-width: 575px) { .topbar-logo img { height: 64px; } }

/* ============ SERVICE PAGES ============ */
/* hero */
.hero-section.position-relative { padding-bottom: 5.5rem !important; }
.hero-section .hero-desc, .hero-section .hero-subtitle { text-shadow: 0 2px 12px rgba(0,0,0,.4); }

/* trust bar (hero par overlap) */
.trust-bar { position: relative; z-index: 5; margin-top: -3.2rem; padding: 0 0 1rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 25px 60px rgba(13,16,53,.22); border: 1px solid rgba(212,175,55,.35); }
.trust-item { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1.4rem; position: relative; transition: background .3s; }
.trust-item + .trust-item::before { content: ''; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: #e4e7f0; }
.trust-item:hover { background: #fbf6e9; }
.trust-item i { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #E8CD82;
  background: linear-gradient(135deg, #0d1035, #1e2560); box-shadow: 0 8px 18px rgba(13,16,53,.28); }
.trust-item strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.05rem; color: #0d1035; line-height: 1.2; }
.trust-item span { font-size: .82rem; color: #5a5f86; }
@media (max-width: 991px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(3)::before { display: none; } .trust-item:nth-child(n+3) { border-top: 1px solid #e4e7f0; } }
@media (max-width: 480px) { .trust-item { padding: 1rem; gap: .6rem; } .trust-item i { width: 42px; height: 42px; font-size: 1.1rem; } .trust-item strong { font-size: .92rem; } }

/* alternating section backgrounds */
main section.py-5.bg-light, main section.bg-light { background: linear-gradient(180deg, #f7f8fc 0%, #eef0fa 100%) !important; position: relative; }
main section.py-5.bg-light::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(184,134,11,.18) 1.2px, transparent 1.2px); background-size: 28px 28px; }
main section.py-5.bg-light > .container { position: relative; }
main section.bg-primary { background: linear-gradient(135deg, #060818 0%, #0d1035 45%, #1a2160 100%) !important; position: relative; overflow: hidden; }
main section.bg-primary::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.22), transparent 65%); pointer-events: none; }
main section.bg-primary > .container { position: relative; }

/* cards inside service pages */
.hover-lift, main .service-card, .process-step { position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(0,0,0,.28) !important; }
.hover-lift::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #B8860B, #E8CD82); transform: scaleX(0); transition: transform .4s; }
.hover-lift:hover::after { transform: scaleX(1); }
.svc-icon { transition: transform .4s; }
.hover-lift:hover .svc-icon, .service-card:hover .svc-icon { transform: rotate(-8deg) scale(1.1); }
main h2.fw-bold, main h2.sec-title { letter-spacing: -.3px; }
.ind-pill { transition: all .3s; cursor: default; }
.ind-pill:hover { transform: translateY(-4px) scale(1.03); background: linear-gradient(135deg, #B8860B, #D4AF37) !important; color: #0d1035 !important; border-color: transparent !important; box-shadow: 0 12px 26px rgba(184,134,11,.35); }
.ind-pill:hover i { color: #0d1035 !important; -webkit-text-fill-color: #0d1035 !important; }
#comparison table { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 45px rgba(13,16,53,.12); }
#comparison thead th { background: linear-gradient(135deg, #0d1035, #1e2560) !important; color: #E8CD82 !important; border: 0 !important; }
#comparison tbody tr { transition: background .25s; } #comparison tbody tr:hover { background: #fbf6e9; }
.process-step:hover { transform: translateY(-6px); }

/* showcase */
.showcase-section { padding: 5rem 0; background: #fff; position: relative; overflow: hidden; }
.showcase-section::before { content: ''; position: absolute; width: 480px; height: 480px; left: -160px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.16), transparent 65%); }
.showcase-img { position: relative; padding: 0 0 1rem; }
.showcase-img > img { width: 100%; border-radius: 22px; box-shadow: 0 30px 70px rgba(13,16,53,.3); border: 5px solid #fff; outline: 2px solid rgba(212,175,55,.5); }
.showcase-img .chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font: 600 .8rem 'Poppins', sans-serif;
  color: #0d1035; background: linear-gradient(135deg, #E8CD82, #D4AF37); box-shadow: 0 10px 24px rgba(0,0,0,.28); animation: floaty 5s ease-in-out infinite; }
.chip-1 { top: 8%; left: -14px; } .chip-2 { top: -3%; right: 6%; animation-delay: 1.2s !important; } .chip-3 { bottom: 4%; left: 8%; animation-delay: 2.2s !important; }
.showcase-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.showcase-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .45rem 0; color: #0d1035; font-weight: 500; }
.showcase-list i { color: #B8860B; margin-top: 3px; }
.works-head { margin: 4rem 0 1.2rem; } .works-head h3 { font-size: 1.6rem; color: #0d1035; }
.work-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(13,16,53,.18); }
.work-tile img { width: 100%; display: block; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.work-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,8,24,.92)); }
.work-tile:hover img { transform: scale(1.1); }
.work-cap { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: 2px; transform: translateY(8px); transition: transform .35s; }
.work-cap small { color: #E8CD82; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; font-size: .7rem; }
.work-cap strong { font-family: 'Poppins', sans-serif; font-size: 1rem; }
.work-tile:hover .work-cap { transform: none; }
@media (max-width: 575px) { .chip-1 { left: 4px; } .chip-2 { right: 4px; } .showcase-section { padding: 3rem 0; } }
