/* ============================================================
   TALION GRAFFIX — Global Stylesheet
   Brand: Blue #4AAFE8, Orange/Gold #E8873A, Dark #1a1a2e
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --blue: #4AAFE8;
  --orange: #E8873A;
  --dark: #0d0d1a;
  --dark2: #1a1a2e;
  --dark3: #16213e;
  --mid: #2a2a4a;
  --light: #e8e8f0;
  --white: #ffffff;
  --gradient-blue: linear-gradient(135deg, #4AAFE8, #2980b9);
  --gradient-orange: linear-gradient(135deg, #E8873A, #c0392b);
  --gradient-dark: linear-gradient(135deg, #0d0d1a, #1a1a2e);
  --glow-blue: 0 0 20px rgba(74,175,232,0.5);
  --glow-orange: 0 0 20px rgba(232,135,58,0.5);
  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Lato', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,175,232,0.2);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  height: 60px;
  background: rgba(13,13,26,0.99);
  box-shadow: 0 2px 30px rgba(74,175,232,0.15);
}

.nav-logo img {
  height: 50px;
  object-fit: contain;
  transition: height 0.3s;
}
.navbar.scrolled .nav-logo img { height: 40px; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  position: relative;
  transition: color 0.3s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--blue);
  transition: left 0.3s, right 0.3s;
}

.nav-menu a:hover { color: var(--blue); }
.nav-menu a:hover::after,
.nav-menu a.active::after { left: 10%; right: 10%; }
.nav-menu a.active { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px !important;
  transition: background 0.3s, box-shadow 0.3s !important;
}
.nav-cta:hover {
  background: var(--orange) !important;
  box-shadow: var(--glow-orange) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SLIDESHOW BANNER
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 75px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active { opacity: 1; }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,26,0.75) 0%,
    rgba(26,26,46,0.5) 50%,
    rgba(74,175,232,0.1) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8%;
  max-width: 800px;
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-title span { color: var(--blue); }

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(232,232,240,0.85);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.6s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slide indicators */
.slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.6rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.slide-dot.active {
  background: var(--blue);
  box-shadow: var(--glow-blue);
  width: 24px;
  border-radius: 4px;
}

/* Diagonal bottom edge */
.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--dark);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 15;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--blue);
  color: var(--dark);
}
.btn-primary:hover {
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn-secondary:hover {
  background: var(--orange);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 5rem 8%; }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-title span { color: var(--blue); }

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(232,232,240,0.7);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 3rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto 3rem; }

/* Divider line */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-blue);
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}
.centered .divider { margin: 1rem auto 1.5rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--dark2);
  border: 1px solid rgba(74,175,232,0.15);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  border-color: rgba(74,175,232,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74,175,232,0.1);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.card-text {
  font-size: 0.9rem;
  color: rgba(232,232,240,0.65);
  line-height: 1.7;
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================================
   SERVICES LIST
   ============================================================ */
.services-list {
  list-style: none;
}
.services-list li {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(232,232,240,0.8);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s;
}
.services-list li:hover { color: var(--blue); }
.services-list li::before {
  content: '▸';
  color: var(--orange);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  border-top: 1px solid rgba(74,175,232,0.2);
  border-bottom: 1px solid rgba(74,175,232,0.2);
  padding: 4rem 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(74,175,232,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(232,232,240,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(74,175,232,0.15);
  padding: 4rem 8% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 55px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(232,232,240,0.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}
.social-link:hover { transform: translateY(-3px); }
.social-link.fb { background: #1877f2; color: #fff; }
.social-link.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); color: #fff; }
.social-link.tt { background: #000; color: #fff; border: 1px solid #fff; }
.social-link.wa { background: #25d366; color: #fff; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(74,175,232,0.2);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(232,232,240,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-col ul li a::before { content: '›'; color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  color: rgba(232,232,240,0.55);
}
.footer-contact-item span:first-child {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.footer-contact-item a {
  color: rgba(232,232,240,0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p, .footer-bottom a {
  font-size: 0.8rem;
  color: rgba(232,232,240,0.35);
  text-decoration: none;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  margin-top: 75px;
  position: relative;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
}

/* ============================================================
   WHATSAPP FLOAT — Bottom Right (primary action)
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #1ebe57, #128c3e);
  border-radius: 50px;
  padding: 0.7rem 1.2rem 0.7rem 0.8rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all 0.3s ease;
  animation: pulse-wa 2.5s infinite;
  border: 1px solid rgba(255,255,255,0.15);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,0.7);
}
.wa-float .wa-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-float .wa-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.wa-float .wa-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.wa-float .wa-text strong {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
}
.wa-float .wa-text small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
}
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,0.8); }
}


   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(74,175,232,0.1);
  border-bottom: 1px solid rgba(74,175,232,0.1);
  padding: 2.5rem 8%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232,232,240,0.5);
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--dark2);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,13,26,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* Placeholder gallery item */
.gallery-placeholder {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(74,175,232,0.3);
  font-size: 3rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,232,240,0.7);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark2);
  border: 1px solid rgba(74,175,232,0.2);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,175,232,0.1);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 1rem 8%;
  background: var(--dark2);
  border-bottom: 1px solid rgba(74,175,232,0.1);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
}
.breadcrumb ol li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb ol li + li::before { content: '›'; color: var(--orange); }
.breadcrumb ol li a { color: rgba(232,232,240,0.5); text-decoration: none; transition: color 0.3s; }
.breadcrumb ol li a:hover { color: var(--blue); }
.breadcrumb ol li:last-child { color: var(--blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 3rem 5%; }
  .nav-menu {
    position: fixed;
    top: 75px; left: 0; right: 0;
    background: rgba(13,13,26,0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { padding: 0.7rem 1rem; font-size: 1rem; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-content { padding: 0 5%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { text-align: center; justify-content: center; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.bg-dark2 { background: var(--dark2); }
.bg-dark3 { background: var(--dark3); }
.alt-section { background: var(--dark2); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.w-100 { width: 100%; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accent line decoration */
.accent-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-right: 0.8rem;
  vertical-align: middle;
}

/* Image with overlay effect */
.img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.img-wrap:hover img { transform: scale(1.05); }
.img-wrap .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,175,232,0.2), rgba(232,135,58,0.2));
  opacity: 0;
  transition: opacity 0.3s;
}
.img-wrap:hover .img-overlay { opacity: 1; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--dark2);
  padding: 5rem 8%;
}

.stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.stars span {
  color: #f5a623;
  font-size: 1.1rem;
  line-height: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: var(--dark3);
  border: 1px solid rgba(74,175,232,0.12);
  border-radius: 10px;
  padding: 1.8rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  border-color: rgba(74,175,232,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(74,175,232,0.1);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.92rem;
  color: rgba(232,232,240,0.75);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.1rem;
}
.testimonial-role {
  font-size: 0.78rem;
  color: rgba(232,232,240,0.45);
  font-family: var(--font-body);
}

/* Source badge */
.testimonial-source {
  position: absolute;
  top: 1.2rem;
  left: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232,232,240,0.3);
}
.testimonial-source .source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.source-google .source-dot { background: #4285f4; }
.source-facebook .source-dot { background: #1877f2; }
.source-direct .source-dot { background: var(--orange); }

/* Overall rating summary bar */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: var(--dark);
  border: 1px solid rgba(74,175,232,0.15);
  border-radius: 10px;
  padding: 1.8rem 2.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.rating-big {
  text-align: center;
}
.rating-big .rating-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}
.rating-big .rating-stars {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  margin: 0.4rem 0 0.3rem;
}
.rating-big .rating-stars span { color: #f5a623; font-size: 1.3rem; }
.rating-big .rating-count {
  font-size: 0.78rem;
  color: rgba(232,232,240,0.45);
  font-family: var(--font-heading);
}

.rating-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.08);
}

.rating-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rating-platform-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
}
.rating-platform-item .plat-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(232,232,240,0.6);
  width: 80px;
}
.rating-platform-item .plat-stars {
  display: flex;
  gap: 0.15rem;
}
.rating-platform-item .plat-stars span { color: #f5a623; font-size: 0.85rem; }
.rating-platform-item .plat-count {
  font-size: 0.75rem;
  color: rgba(232,232,240,0.35);
}

/* Google Reviews Live Embed placeholder */
.google-reviews-embed {
  background: var(--dark3);
  border: 1px dashed rgba(74,175,232,0.25);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}
.google-reviews-embed h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(232,232,240,0.5);
  margin-bottom: 0.5rem;
}
.google-reviews-embed p {
  font-size: 0.82rem;
  color: rgba(232,232,240,0.3);
}

/* Testimonials responsive */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .rating-summary { flex-direction: column; gap: 1rem; }
  .rating-divider { width: 60px; height: 1px; }
}

/* ============================================================
   RESPONSIVE — COMPREHENSIVE DEVICE SCALING
   ============================================================ */

/* ── Large Desktop (1400px+) ── */
@media (min-width: 1400px) {
  section { padding: 5rem 12%; }
  .stats-bar { padding: 2.5rem 12%; }
  .cta-banner { padding: 5rem 12%; }
  .footer { padding: 5rem 12% 2rem; }
  .breadcrumb { padding: 1rem 12%; }
  .testimonials-section { padding: 5rem 12%; }
  .hero-content { padding: 0 12%; max-width: 900px; }
}

/* ── Standard Desktop (1024px–1400px) — already well handled ── */

/* ── Small Laptop / Large Tablet Landscape (900px–1024px) ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(2rem, 5vw, 3.5rem); }
  /* Two column grids become full width */
  section > div[style*="grid-template-columns:1fr 1fr"],
  section > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  /* Flip image order on mobile for better reading flow */
  .img-wrap { height: 300px !important; order: -1; }
}

/* ── Tablet Portrait (768px–900px) ── */
@media (max-width: 900px) {
  section { padding: 3.5rem 6%; }
  .stats-bar { padding: 2rem 6%; }
  .cta-banner { padding: 3rem 6%; }
  .footer { padding: 3rem 6% 1.5rem; }
  .breadcrumb { padding: 1rem 6%; }
  .testimonials-section { padding: 3.5rem 6%; }
  .hero-content { padding: 0 6%; }
  .gallery-real { grid-template-columns: repeat(2, 1fr); }
  /* Contact grid */
  div[style*="grid-template-columns:1.2fr 1fr"],
  div[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Vehicle/exterior project grids */
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .rating-summary { flex-direction: column; gap: 1.2rem; }
  .rating-divider { width: 60px; height: 1px; }
}

/* ── Mobile Landscape (580px–768px) ── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-menu {
    position: fixed;
    top: 75px; left: 0; right: 0;
    background: rgba(13,13,26,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.4rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74,175,232,0.15);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { padding: 0.7rem 1rem; font-size: 1rem; width: 100%; }
  .nav-menu li { width: 100%; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-banner { height: 85vh; min-height: 520px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; gap: 0.8rem; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .hero-content { padding: 0 5%; }

  /* Sections */
  section { padding: 3rem 5%; }
  .stats-bar { padding: 1.8rem 5%; }
  .cta-banner { padding: 2.5rem 5%; }
  .footer { padding: 2.5rem 5% 1.5rem; }
  .breadcrumb { padding: 0.8rem 5%; }
  .testimonials-section { padding: 3rem 5%; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.8rem; }

  /* Section titles */
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* CTA buttons */
  .cta-banner .btn-row { flex-direction: column; align-items: center; }
  .cta-banner .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Chapter 8 vehicle grid */
  .vehicle-type-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-real { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }

  /* Lightbox nav on mobile */
  #lb-prev { left: 0.3rem; width: 38px; height: 38px; font-size: 1.2rem; }
  #lb-next { right: 0.3rem; width: 38px; height: 38px; font-size: 1.2rem; }
}

/* ── Mobile Portrait (up to 580px) ── */
@media (max-width: 580px) {
  /* Hero even more compact */
  .hero-banner { height: 90vh; }
  .hero-tag { font-size: 0.72rem; }
  .hero-title { font-size: clamp(1.6rem, 9vw, 2.2rem); line-height: 1.1; }
  .slide-dots { bottom: 1rem; }

  /* Stats compact */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 2rem; }

  /* Sections tighter */
  section { padding: 2.5rem 4%; }

  /* Cards */
  .card { padding: 1.4rem; }
  .card-icon { font-size: 2rem; }

  /* Testimonials */
  .testimonial-card { padding: 1.4rem; }
  .rating-summary { padding: 1.2rem 1.5rem; }
  .rating-big .rating-number { font-size: 2.8rem; }

  /* Gallery single column */
  .gallery-real { grid-template-columns: 1fr; }

  /* WhatsApp pill collapses to icon only */
  .wa-float .wa-text { display: none; }
  .wa-float { padding: 0.75rem; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }

  /* Social sidebar smaller */
  
  
  
  .wa-float { right: 0.8rem; bottom: 1.2rem; }

  /* Chapter 8 grid single column */
  .vehicle-type-grid { grid-template-columns: 1fr; }

  /* Filter bars wrap nicely */
  .filter-bar { gap: 0.5rem; }
  .filter-btn { font-size: 0.75rem; padding: 0.4rem 0.9rem; }

  /* Form grid single column */
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ── Very Small Mobile (up to 380px — iPhone SE etc.) ── */
@media (max-width: 380px) {
  .hero-title { font-size: 1.5rem; }
  .section-title { font-size: 1.4rem; }
  .navbar { padding: 0 1rem; }
  section { padding: 2rem 4%; }
  .btn { padding: 0.65rem 1.2rem; font-size: 0.82rem; }
}

/* ── Touch device improvements ── */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets on touch screens */
  .nav-menu a { padding: 0.9rem 1rem; min-height: 44px; }
  .btn { min-height: 44px; }
  .filter-btn { min-height: 40px; }
  .slide-dot { width: 12px; height: 12px; }
  .slide-dot.active { width: 28px; }
  /* Remove hover states that don't work on touch */
  .card:hover { transform: none; }
  .g-item:hover { transform: none; }
  .g-item:hover img { transform: none; }
  /* Always show overlay on touch */
  .g-overlay { opacity: 1; }
  .g-zoom { opacity: 1; }
}

/* ── Print styles ── */
@media print {
  .navbar, .wa-float, 
  body { background: #fff; color: #000; }
  .section-title, .card-title { color: #000; }
  section { padding: 1rem 0; }
}

/* ── Safe area insets (iPhone X+ notch) ── */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
  }
  .wa-float {
    bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
    right: max(2rem, env(safe-area-inset-right));
  }
  
}

/* ============================================================
   ACCREDITATIONS & TRUST BADGES
   ============================================================ */
.accreditations-strip {
  background: var(--dark);
  border-top: 1px solid rgba(74,175,232,0.1);
  border-bottom: 1px solid rgba(74,175,232,0.1);
  padding: 2.5rem 8%;
  overflow: hidden;
}

.accreditations-strip .section-label {
  display: block;
  text-align: center;
  margin-bottom: 1.8rem;
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.accred-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem 1rem;
  background: var(--dark2);
  border: 1px solid rgba(74,175,232,0.12);
  border-radius: 10px;
  transition: all 0.3s ease;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
}
.accred-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.accred-badge:hover {
  border-color: rgba(74,175,232,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74,175,232,0.08);
}
.accred-badge:hover::before { transform: scaleX(1); }

.accred-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.accred-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.accred-sub {
  font-size: 0.7rem;
  color: rgba(232,232,240,0.4);
  line-height: 1.4;
  font-family: var(--font-body);
}

/* Colour variants for each badge */
.accred-blue .accred-icon   { background: rgba(74,175,232,0.12); }
.accred-orange .accred-icon { background: rgba(232,135,58,0.12); }
.accred-green .accred-icon  { background: rgba(37,211,102,0.1); }
.accred-gold .accred-icon   { background: rgba(245,166,35,0.12); }
.accred-purple .accred-icon { background: rgba(155,89,182,0.12); }

/* Pending badge — slightly muted */
.accred-badge.pending {
  opacity: 0.6;
  border-style: dashed;
}
.accred-badge.pending .accred-sub { color: var(--orange); }

@media (max-width: 1024px) {
  .accred-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .accred-grid { grid-template-columns: repeat(2, 1fr); }
  .accreditations-strip { padding: 2rem 5%; }
}
@media (max-width: 380px) {
  .accred-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.tc-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 0 3.5rem;
}

.tc-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.tc-slide {
  padding: 0 0.75rem;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Ensure cards fill slide height evenly */
.tc-slide .testimonial-card {
  height: 100%;
  margin: 0;
}

/* Prev / Next buttons */
.tc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark2);
  border: 1px solid rgba(74,175,232,0.25);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}
.tc-btn:hover {
  background: var(--blue);
  color: var(--dark);
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(74,175,232,0.35);
}
.tc-prev { left: 0; }
.tc-next { right: 0; }

/* Dot indicators */
.tc-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(74,175,232,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.tc-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* Tighten carousel padding on mobile */
@media (max-width: 768px) {
  .tc-prev { left: 0; }
  .tc-next { right: 0; }
  .tc-slide { padding: 0 0.4rem; }
}
