/* ==========================================================================
   JALBAGOLA / SMART TECH SERVICES - ENTERPRISE TECH & TRUCK ART DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Cultural Truck Art Color Palette */
  --truck-yellow: #ffe600;
  --truck-gold: #ffc400;
  --truck-orange: #ff5722;
  --truck-red: #d50000;
  --truck-dark-red: #7f0000;
  --truck-cyan: #00f2fe;
  --truck-blue: #0077c2;
  --truck-green: #00c853;
  --truck-pink: #ff007f;
  --truck-magenta: #e60039;

  /* Typography Design Tokens */
  --font-display: 'Space Grotesk', 'Outfit', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-urdu-calligraphy: 'Gulzar', 'Noto Nastaliq Urdu', serif;

  /* Architectural Layout Tokens */
  --border-radius-card: 20px;
  --border-radius-btn: 10px;
  --shadow-truck: 0 10px 25px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  /* Warm, vibrant truck body gradient - eliminating dull dark background */
  background: radial-gradient(circle at 50% 18%, #ff8a00 0%, #e52d27 45%, #b31217 80%, #680004 100%);
  background-attachment: fixed;
  color: #ffffff;
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;

  /* Multi-layer Outer Truck Art Border as instructed in diagram */
  border: 16px solid var(--truck-yellow);
  outline: 8px dashed var(--truck-cyan);
  outline-offset: -12px;
}

/* Subtle ambient texture on background */
.bg-ambient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 25%, rgba(255, 230, 0, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(255, 0, 127, 0.12) 0%, transparent 50%);
  z-index: 0;
}

.site-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 16px 50px;
}

/* ==========================================================================
   HEADER PIC (DECORATIVE TRUCK ART EYES CROWN OVER HEADER)
   ========================================================================== */
.header-eyes-crown {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px auto 14px;
  max-width: 580px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--truck-gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 230, 0, 0.5);
  background: #000;
}

.header-eyes-crown img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.header-eyes-crown:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   MAIN BANNER (BANNER HEADING + JALBAGOLA MAIN TEXT + SCND TEXT)
   ========================================================================== */
header.main-banner {
  text-align: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #ff007f 0%, #ff5722 25%, #ffe600 50%, #00e676 75%, #00b0ff 100%);
  background-size: 300% 300%;
  animation: rainbowFlow 8s ease infinite;
  border-radius: 22px;
  padding: 26px 20px 22px;
  border: 6px solid var(--truck-yellow);
  box-shadow: 0 14px 35px rgba(0,0,0,0.6), inset 0 0 18px rgba(255,255,255,0.6);
  position: relative;
}

@keyframes rainbowFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Banner Top Heading Tag */
.banner-heading-tag {
  display: inline-block;
  background: #ffffff;
  color: var(--truck-magenta);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 32px;
  border-radius: 50px;
  border: 3px solid var(--truck-gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-bottom: 14px;
}

/* Banner Main Text (JALBAGOLA) */
h1.banner-main-text {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 
    5px 5px 0 var(--truck-dark-red),
    -3px -3px 0 #004d40,
    0 0 30px #ffe600;
  line-height: 1.1;
  margin-bottom: 8px;
}

.urdu-branding {
  display: block;
  font-family: var(--font-urdu-calligraphy);
  font-size: 2.3rem;
  color: #fff9c4;
  margin-top: 4px;
  text-shadow: 3px 3px 6px #000;
}

/* Banner Second Text */
p.banner-scnd-text {
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.85);
  max-width: 900px;
  margin: 0 auto;
}

.brand-legal-note {
  display: inline-block;
  background: rgba(0, 0, 0, 0.45);
  color: #fffde7;
  border: 1px dashed var(--truck-gold);
  padding: 3px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

/* ==========================================================================
   SUBJECT LINE (TICKER / MARQUEE RIBBON)
   ========================================================================== */
.subject-line-ribbon {
  background: linear-gradient(90deg, #ffd600, #ff6d00, #ff1744, #ff6d00, #ffd600);
  color: #050505;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  padding: 11px 0;
  border-top: 5px solid var(--truck-cyan);
  border-bottom: 5px solid var(--truck-cyan);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  margin-bottom: 26px;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeShift 26s linear infinite;
}

@keyframes marqueeShift {
  0% { transform: translateX(50%); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   MAIN BUTTONS (TRUCK ART NAVIGATION)
   ========================================================================== */
nav.main-buttons-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 10px 0 35px;
}

.truck-btn {
  background: linear-gradient(180deg, #ffea00 0%, #ff9100 100%);
  color: #121212;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  padding: 12px 26px;
  border-radius: var(--border-radius-btn);
  text-decoration: none;
  border: 4px solid #ffffff;
  outline: 3px solid var(--truck-red);
  box-shadow: 5px 5px 0 var(--truck-dark-red), 0 8px 16px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.truck-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--truck-dark-red), 0 12px 22px rgba(0,0,0,0.6);
  background: linear-gradient(180deg, var(--truck-cyan) 0%, #00b0ff 100%);
  color: #ffffff;
  outline-color: var(--truck-yellow);
}

/* ==========================================================================
   HERO SHOWCASE PANEL (DIL SAY PAKISTAN PANEL)
   ========================================================================== */
.hero-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: 24px;
  border: 6px solid var(--truck-gold);
  box-shadow: var(--shadow-truck);
  margin-bottom: 40px;
}

.hero-img-box {
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
  background: #000;
}

.hero-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-img-box:hover img {
  transform: scale(1.05);
}

.hero-content {
  padding: 10px;
}

.hero-badge {
  display: inline-block;
  background: var(--truck-pink);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  border: 2px solid #ffffff;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-transform: uppercase;
}

.hero-content h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--truck-yellow);
  text-shadow: 3px 3px 0 var(--truck-dark-red);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  margin-bottom: 22px;
}

/* ==========================================================================
   METRICS & TRUCK EMBLEMS STRIP
   ========================================================================== */
.truck-badges-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  margin: 30px 0 45px;
}

.badge-round {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.55);
  border: 5px dashed var(--truck-yellow);
  position: relative;
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.badge-round:hover {
  transform: rotate(8deg) scale(1.08);
}

.b-pink { background: radial-gradient(circle, #ff007f, #880e4f); transform: rotate(-4deg); }
.b-green { background: radial-gradient(circle, #00e676, #1b5e20); transform: rotate(5deg); }
.b-blue { background: radial-gradient(circle, #00b0ff, #0d47a1); transform: rotate(-5deg); }
.b-orange { background: radial-gradient(circle, #ff9100, #bf360c); transform: rotate(4deg); }

.badge-round span.b-title {
  font-size: 1.15rem;
  line-height: 1.2;
  text-shadow: 1px 1px 2px #000;
}

.badge-round span.b-sub {
  font-size: 0.82rem;
  color: var(--truck-yellow);
  font-weight: 800;
  margin-top: 4px;
}

/* ==========================================================================
   SERVICES & CARDS SECTION (PRESERVING ALL ART CARDS)
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  margin: 50px 0 30px;
}

.section-title {
  display: inline-block;
  background: linear-gradient(90deg, #ff1744 0%, #ff9100 50%, #ffea00 100%);
  color: #121212;
  font-family: var(--font-display);
  padding: 12px 45px;
  border-radius: 50px;
  font-size: 2.3rem;
  font-weight: 900;
  border: 5px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  text-shadow: 1px 1px 0 #fff;
  text-transform: uppercase;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.art-card {
  background: linear-gradient(145deg, #fff3e0 0%, #ffe0b2 100%);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  border: 6px solid var(--truck-gold);
  outline: 4px solid var(--truck-red);
  box-shadow: var(--shadow-truck);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.art-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  outline-color: var(--truck-cyan);
}

.card-top-tag {
  background: var(--truck-dark-red);
  color: var(--truck-yellow);
  text-align: center;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  border-bottom: 3px solid var(--truck-gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.card-img-holder {
  height: 270px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.art-card:hover .card-img-holder img {
  transform: scale(1.08);
}

.card-body {
  padding: 20px;
  color: #1a1a1a;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--truck-dark-red);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 16px;
}

.card-btn {
  align-self: center;
  background: var(--truck-green);
  color: #ffffff;
  border: 2px solid #004d40;
  padding: 8px 24px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.2s;
  text-transform: uppercase;
}

.card-btn:hover {
  background: var(--truck-pink);
  border-color: #880e4f;
  transform: scale(1.06);
}

/* ==========================================================================
   HANGING CHAINS & BUMPER FOOTER
   ========================================================================== */
.hangings-bar {
  display: flex;
  justify-content: space-around;
  overflow: hidden;
  padding: 10px 0 0;
  margin-top: 40px;
}

.pendant {
  width: 14px;
  height: 42px;
  background: repeating-linear-gradient(
    0deg,
    #ffd600,
    #ffd600 6px,
    #ff1744 6px,
    #ff1744 12px,
    #00e5ff 12px,
    #00e5ff 18px
  );
  border-radius: 7px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
  position: relative;
}

.pendant::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 2px;
  width: 10px;
  height: 10px;
  background: #ffc107;
  border-radius: 50%;
  border: 1px solid #000;
}

footer.truck-bumper-footer {
  margin-top: 45px;
  background: linear-gradient(180deg, #d50000 0%, #880e4f 100%);
  border: 6px solid var(--truck-gold);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.5);
}

.bumper-reflectors {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.reflector {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 12px rgba(255,255,255,0.85);
}
.ref-yellow { background: #ffe600; }
.ref-red { background: #ff1744; }
.ref-cyan { background: #00e5ff; }

.footer-poetry {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--truck-yellow);
  text-shadow: 2px 2px 5px #000;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 1rem;
  color: #ffe0b2;
}

@media (max-width: 900px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }
  h1.banner-main-text {
    font-size: 2.8rem;
  }
}