@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Slab:wght@500;700;900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

:root {
  --md-primary: #0D47A1;
  --md-on-primary: #FFFFFF;
  --md-primary-container: #DCEEFF;
  --md-on-primary-container: #001C44;
  --md-secondary: #006A6A;
  --md-on-secondary: #FFFFFF;
  --md-secondary-container: #C2EDED;
  --md-on-secondary-container: #002020;
  --md-tertiary: #C45600;
  --md-on-tertiary: #FFFFFF;
  --md-tertiary-container: #FFE1CC;
  --md-on-tertiary-container: #3D1700;
  --md-error: #BA1A1A;
  --md-background: #F6F8FC;
  --md-on-background: #101418;
  --md-surface: #FFFFFF;
  --md-on-surface: #101418;
  --md-surface-variant: #DDE3EF;
  --md-on-surface-variant: #41474D;
  --md-surface-container-low: #EFF3FA;
  --md-surface-container: #E9EDF5;
  --md-surface-container-high: #E3E8EF;
  --md-surface-container-highest: #DCE2E9;
  --md-outline: #71787E;
  --md-outline-variant: #C1C7CE;
  --md-inverse-surface: #1A2027;
  --md-inverse-on-surface: #EFF0F4;
  --md-inverse-primary: #A8C8FF;
  --shadow-1: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-2: 0 3px 8px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-3: 0 6px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.07);
  --shadow-4: 0 10px 28px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.07);
  --shadow-5: 0 18px 44px rgba(0,0,0,0.14), 0 8px 18px rgba(0,0,0,0.09);
  --shape-xs: 4px;
  --shape-sm: 8px;
  --shape-md: 12px;
  --shape-lg: 16px;
  --shape-xl: 28px;
  --shape-full: 100px;
  --motion-std: 250ms cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--md-background); color: var(--md-on-background); font-family: 'Roboto', sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--md-primary); text-decoration: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--md-surface-container-low); }
::-webkit-scrollbar-thumb { background: var(--md-primary); border-radius: 3px; }

/* ── TOP APP BAR ── */
.top-app-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--md-surface);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--motion-std);
}
.top-app-bar.elevated { box-shadow: var(--shadow-3); }

.app-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px; height: 68px; gap: 8px;
}

/* Logo — image only, no text, full colour */
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img {
    height: 67px;
    width: 222px;
    object-fit: contain;
}

/* Nav list */
.nav-items {
  display: flex; align-items: center; gap: 0;
  list-style: none; flex: 1; justify-content: center;
}
.nav-items > li { position: relative; }

/* Nav links */
.nav-items > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--md-on-surface-variant);
  border-radius: var(--shape-full);
  text-decoration: none;
  transition: background var(--motion-std), color var(--motion-std);
  white-space: nowrap;
}
.nav-items > li > a .material-icons-round { font-size: 16px; transition: transform var(--motion-std); }
.nav-items > li:hover > a .material-icons-round { transform: rotate(180deg); }
.nav-items > li > a:hover,
.nav-items > li:hover > a { background: rgba(13,71,161,0.08); color: var(--md-primary); }
.nav-items > li > a.active { color: var(--md-primary); background: var(--md-primary-container); font-weight: 700; }

/* ── DROPDOWN — must be sibling of <a>, child of <li> ── */
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  margin-top: 8px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--shape-lg);
  box-shadow: var(--shadow-5);
  min-width: 280px; list-style: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--motion-std), transform var(--motion-std), visibility var(--motion-std);
  z-index: 300; overflow: hidden;
}
/* Invisible bridge on the parent li that fills the gap between the link
   and the menu, so moving the cursor down never leaves the hoverable area.
   It only appears (gets height) while the parent is hovered. */
.nav-items > li:has(.nav-dropdown)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 0;
}
.nav-items > li:has(.nav-dropdown):hover::after {
  height: 16px;
}
/* Show on hover OR keyboard focus of the parent li */
.nav-items > li:hover .nav-dropdown,
.nav-items > li:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown > li > a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px;
  color: var(--md-on-surface); font-size: 0.84rem; font-weight: 400;
  text-decoration: none;
  transition: background var(--motion-std), color var(--motion-std);
}
.nav-dropdown > li > a:hover { background: var(--md-primary-container); color: var(--md-primary); }
.nav-dropdown > li > a .material-icons-round { font-size: 18px; color: var(--md-primary); flex-shrink: 0; }
.nav-dropdown > li:not(:last-child) > a { border-bottom: 1px solid var(--md-outline-variant); }

/* CTA button */
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--md-primary); color: #fff !important;
  border-radius: var(--shape-full); font-size: 0.875rem; font-weight: 700;
  white-space: nowrap; box-shadow: var(--shadow-2); flex-shrink: 0;
  text-decoration: none !important;
  transition: background var(--motion-std), box-shadow var(--motion-std);
}
.nav-cta:hover { background: #082F6D; box-shadow: var(--shadow-3); }
.nav-cta .material-icons-round { font-size: 16px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; border-radius: var(--shape-md); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--md-on-surface); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--md-surface); z-index: 199; padding: 12px 16px; overflow-y: auto; flex-direction: column; gap: 2px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--shape-lg); color: var(--md-on-surface); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: background var(--motion-std); }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--md-primary-container); color: var(--md-primary); }
.mobile-nav a .material-icons-round { font-size: 20px; flex-shrink: 0; }
.mobile-nav .nav-section { font-size: 0.7rem; font-weight: 700; color: var(--md-primary); letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 16px 4px; }
.mobile-nav a.indent { padding-left: 44px; font-size: 0.84rem; font-weight: 400; }
.mobile-nav .cta-mobile { background: var(--md-primary); color: #fff !important; justify-content: center; margin-top: 8px; font-weight: 700; border-radius: var(--shape-full); }

.page-body { padding-top: 68px; }

/* ── HERO ── */
.hero { position: relative; overflow: hidden; min-height: 580px; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(13,71,161,0.90) 0%, rgba(13,71,161,0.60) 50%, rgba(0,0,0,0.25) 100%); }
.hero-body { position: relative; z-index: 1; max-width: 1280px; width: 100%; margin: 0 auto; padding: 80px 32px; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: var(--shape-full); background: rgba(255,255,255,0.18); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.35); margin-bottom: 20px; backdrop-filter: blur(6px); }
.hero-chip .material-icons-round { font-size: 15px; }
.hero h1 { font-family: 'Roboto Slab', serif; font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 span { color: #FFD54F; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 560px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%); padding: 56px 32px; color: #fff; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: rgba(255,255,255,0.72); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.92); text-decoration: none; }
.breadcrumb a:hover { color: #FFD54F; text-decoration: underline; }
.breadcrumb .material-icons-round { font-size: 13px; }
.page-hero h1 { font-family: 'Roboto Slab', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: #fff; letter-spacing: -0.02em; margin-bottom: 10px; }
.page-hero h1 span { color: #FFD54F; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.82); max-width: 620px; line-height: 1.65; }

/* ── BUTTONS ── */
.btn-filled, .btn-filled-white, .btn-outlined, .btn-outlined-white, .btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--shape-full);
  font-family: 'Roboto', sans-serif; font-size: 0.875rem; font-weight: 700;
  cursor: pointer; border: none; text-decoration: none;
  transition: all var(--motion-std); white-space: nowrap;
}
.btn-filled { background: var(--md-primary); color: #fff; box-shadow: var(--shadow-1); }
.btn-filled:hover { background: #082F6D; box-shadow: var(--shadow-3); transform: translateY(-1px); }
.btn-filled .material-icons-round { font-size: 18px; }
.btn-filled-white { background: #fff; color: var(--md-primary); box-shadow: var(--shadow-2); }
.btn-filled-white:hover { background: #EEF4FF; box-shadow: var(--shadow-3); transform: translateY(-1px); }
.btn-outlined { background: transparent; color: var(--md-primary); border: 1.5px solid var(--md-primary); }
.btn-outlined:hover { background: var(--md-primary-container); }
.btn-outlined-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.65); }
.btn-outlined-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-text { background: transparent; color: var(--md-primary); padding: 8px 12px; }
.btn-text:hover { background: var(--md-primary-container); }

/* FAB */
.fab { position: fixed; bottom: 80px; right: 28px; z-index: 90; width: 58px; height: 58px; border-radius: 18px; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-3); text-decoration: none; transition: all var(--motion-std); }
.fab:hover { box-shadow: var(--shadow-5); transform: scale(1.08); }

/* ── CARDS ── */
.card { background: var(--md-surface); border-radius: var(--shape-lg); overflow: hidden; }
.card-elevated { box-shadow: var(--shadow-1); transition: box-shadow var(--motion-std), transform var(--motion-std); }
.card-elevated:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.card-outlined { border: 1px solid var(--md-outline-variant); transition: border-color var(--motion-std), box-shadow var(--motion-std); }
.card-outlined:hover { border-color: var(--md-primary); box-shadow: var(--shadow-2); }

/* Service card */
.service-card {
  background: var(--md-surface); border-radius: var(--shape-lg);
  border: 1.5px solid var(--md-outline-variant);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  transition: all var(--motion-std); overflow: hidden;
}
.service-card:hover { border-color: var(--md-primary); box-shadow: var(--shadow-4); transform: translateY(-4px); text-decoration: none; }
.service-card .svc-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.service-card .svc-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card .icon-wrap { width: 48px; height: 48px; border-radius: var(--shape-md); background: var(--md-primary-container); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-card .icon-wrap .material-icons-round { font-size: 24px; color: var(--md-primary); }
.service-card h3 { font-family: 'Roboto Slab', serif; font-size: 0.98rem; font-weight: 700; color: var(--md-on-surface); line-height: 1.3; }
.service-card p { font-size: 0.84rem; color: var(--md-on-surface-variant); line-height: 1.6; flex: 1; }
.service-card .card-link { display: flex; align-items: center; gap: 4px; font-size: 0.84rem; font-weight: 700; color: var(--md-primary); margin-top: 4px; }
.service-card .card-link .material-icons-round { font-size: 18px; }

/* Feature item */
.feature-item { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--md-outline-variant); }
.feature-item:last-child { border-bottom: none; }
.feat-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--shape-md); background: var(--md-tertiary-container); display: flex; align-items: center; justify-content: center; }
.feat-icon .material-icons-round { color: var(--md-tertiary); font-size: 22px; }
.feature-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--md-on-surface); margin-bottom: 3px; }
.feature-item p { font-size: 0.84rem; color: var(--md-on-surface-variant); line-height: 1.55; }

/* Stat card */
.stat-card { background: var(--md-surface); border-radius: var(--shape-lg); padding: 28px 20px; text-align: center; border: 1px solid var(--md-outline-variant); transition: box-shadow var(--motion-std); }
.stat-card:hover { box-shadow: var(--shadow-3); }
.stat-card .stat-number { font-family: 'Roboto Slab', serif; font-size: 2.6rem; font-weight: 900; color: var(--md-primary); line-height: 1; }
.stat-card .stat-label { font-size: 0.79rem; font-weight: 700; color: var(--md-on-surface-variant); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card .stat-desc { font-size: 0.75rem; color: var(--md-outline); margin-top: 4px; }

/* Info panel */
.info-panel { background: var(--md-surface); border-radius: var(--shape-xl); padding: 36px; border: 1px solid var(--md-outline-variant); }

/* ── CONTACT FORM ── */
.md-form-field { margin-bottom: 16px; }
.md-form-field label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--md-on-surface-variant); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.md-form-field input, .md-form-field select, .md-form-field textarea { width: 100%; background: var(--md-surface-container-low); border: 1.5px solid var(--md-outline-variant); border-radius: var(--shape-md); padding: 12px 16px; font-family: 'Roboto', sans-serif; font-size: 0.9rem; color: var(--md-on-surface); outline: none; appearance: none; transition: border-color var(--motion-std), box-shadow var(--motion-std); }
.md-form-field input:focus, .md-form-field select:focus, .md-form-field textarea:focus { border-color: var(--md-primary); box-shadow: 0 0 0 3px rgba(13,71,161,0.10); }
.md-form-field textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
.site-footer { background: var(--md-inverse-surface); color: var(--md-inverse-on-surface); padding: 64px 0 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.4fr; gap: 48px; }
.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo-wrap img { height: 52px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.84rem; color: rgba(241,240,247,0.62); max-width: 260px; line-height: 1.75; }
.footer-tagline strong { color: #FFD54F; display: block; margin-bottom: 4px; font-size: 0.88rem; letter-spacing: 0.04em; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--shape-md); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--md-inverse-on-surface); font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: background var(--motion-std); }
.footer-social a:hover { background: var(--md-primary); color: #fff; }
.footer-col h5 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--md-inverse-primary); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(241,240,247,0.68); font-size: 0.84rem; text-decoration: none; display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; transition: color var(--motion-std); }
.footer-col ul li a:hover { color: #FFD54F; }
.footer-col ul li a .material-icons-round { font-size: 15px; margin-top: 1px; flex-shrink: 0; color: var(--md-inverse-primary); }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.79rem; color: rgba(241,240,247,0.48); }
.footer-bottom span { color: #FFD54F; }

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.top { align-items: start; }
.two-col.reverse > :first-child { order: 2; }
.two-col.reverse > :last-child { order: 1; }

.section-header { margin-bottom: 44px; }
.section-header .label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--md-primary); background: var(--md-primary-container); padding: 4px 14px; border-radius: var(--shape-full); margin-bottom: 12px; }
.section-header h2 { font-family: 'Roboto Slab', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; color: var(--md-on-background); line-height: 1.2; letter-spacing: -0.02em; }
.section-header h2 span { color: var(--md-primary); }
.section-header p { font-size: 0.98rem; color: var(--md-on-surface-variant); margin-top: 10px; max-width: 580px; line-height: 1.65; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: var(--shape-full); font-size: 0.8rem; font-weight: 500; background: var(--md-surface-container); color: var(--md-on-surface-variant); border: 1px solid var(--md-outline-variant); }
.chip-primary { background: var(--md-primary-container); color: var(--md-on-primary-container); border-color: transparent; }
.surface-low { background: var(--md-surface-container-low); }
.surface-mid { background: var(--md-surface-container); }
.divider { height: 1px; background: var(--md-outline-variant); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Image hero backgrounds */
.bg-hero-home { background-image: url("../images/slider.png"); }
.bg-cctv { background-image: url('https://images.unsplash.com/photo-1616763355548-1b606f439f86?auto=format&fit=crop&w=1600&q=80'); }
.bg-access { background-image: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1600&q=80'); }
.bg-fence { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1600&q=80'); }
.bg-barrier { background-image: url('https://images.unsplash.com/photo-1573804633927-bfcbcd909acd?auto=format&fit=crop&w=1600&q=80'); }
.bg-bollard { background-image: url('https://images.unsplash.com/photo-1516475429286-465d815a0df7?auto=format&fit=crop&w=1600&q=80'); }
.bg-it { background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80'); }
.bg-fire { background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80'); }
.bg-control { background-image: url("../images/background.jpg"); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .app-bar-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
}
@media (max-width: 768px) {
  .nav-items, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col, .two-col.reverse { display: flex; flex-direction: column; gap: 32px; }
  .two-col.reverse > :first-child, .two-col.reverse > :last-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 52px 0; }
  .info-panel { padding: 24px 20px; }
  .hero { min-height: 460px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-inner { padding: 0 20px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-inner { padding: 0 16px; }
  .app-bar-inner { padding: 0 16px; }
  .hero-body { padding: 60px 16px; }
}

/* ============================================================
   ADDITIONS — video hero, transparent header, service pages
   ============================================================ */

/* ── Transparent header over hero (homepage), solid on scroll ── */
.top-app-bar.transparent {
  background: transparent;
  box-shadow: none;
}
.top-app-bar.transparent .nav-items > li > a { color: #fff; }
.top-app-bar.transparent .nav-items > li > a:hover,
.top-app-bar.transparent .nav-items > li:hover > a { background: rgba(255,255,255,0.16); color: #fff; }
.top-app-bar.transparent .hamburger span { background: #fff; }
.top-app-bar.transparent.elevated,
.top-app-bar.transparent.solid {
  background: var(--md-surface);
  box-shadow: var(--shadow-3);
}
.top-app-bar.transparent.solid .nav-items > li > a { color: var(--md-on-surface); }
.top-app-bar.transparent.solid .nav-items > li > a:hover,
.top-app-bar.transparent.solid .nav-items > li:hover > a { background: rgba(13,71,161,0.08); color: var(--md-primary); }
.top-app-bar.transparent.solid .nav-items > li > a.active { color: var(--md-primary); background: var(--md-primary-container); }
.top-app-bar.transparent.solid .hamburger span { background: var(--md-on-surface); }

/* When homepage uses a transparent header, hero sits under the bar */
body.home .page-body,
body.home.page-body { padding-top: 0; }

/* ── Bigger logo ── */
.brand img { height: 100px; width: 340px; }
.top-app-bar .app-bar-inner { height: 106px; }
.page-body { padding-top: 106px; }
@media (max-width: 900px) {
  .brand img { height: 72px; width: 248px; }
  .top-app-bar .app-bar-inner { height: 80px; }
  .page-body { padding-top: 80px; }
}

/* ── Video hero (homepage) ── */
.hero-video-wrap { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-video-wrap > video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-video-wrap::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(13,71,161,0.82) 0%, rgba(13,71,161,0.5) 45%, rgba(0,0,0,0.45) 100%);
}
.hero-video-wrap .hero-body { position: relative; z-index: 2; }

/* ── NEW SERVICE PAGE DESIGN — split feature rows ── */
.svc-hero {
  background: var(--md-primary);
  color: #fff;
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.svc-hero::after {
  content: ''; position: absolute; left: -80px; bottom: -160px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.svc-hero .container { position: relative; z-index: 1; }
.svc-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.16);
  padding: 6px 16px; border-radius: var(--shape-full); margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.28);
}
.svc-hero h1 {
  font-family: 'Roboto Slab', serif; font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.02em;
  max-width: 780px;
}
.svc-hero p { color: rgba(255,255,255,0.9); max-width: 620px; margin-top: 16px; font-size: 1.02rem; line-height: 1.7; }
.svc-hero .crumbs { font-size: 0.82rem; color: rgba(255,255,255,0.72); margin-bottom: 22px; }
.svc-hero .crumbs a { color: rgba(255,255,255,0.9); }

/* Split rows: image one side, feature list the other, alternating */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--md-outline-variant);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .fr-media { position: relative; }
.feature-row .fr-media img {
  width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--shape-lg); box-shadow: var(--shadow-4); display: block;
}
.feature-row .fr-media .fr-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--md-primary); color: #fff;
  width: 52px; height: 52px; border-radius: var(--shape-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-3);
}
.feature-row .fr-media .fr-badge .material-icons-round { font-size: 26px; }
.feature-row:nth-child(even) .fr-media { order: 2; }
.feature-row h3 {
  font-family: 'Roboto Slab', serif; font-size: 1.5rem; font-weight: 900;
  color: var(--md-on-background); margin-bottom: 8px; line-height: 1.2;
}
.feature-row .fr-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--md-primary); background: var(--md-primary-container);
  padding: 3px 12px; border-radius: var(--shape-full); margin-bottom: 14px;
}
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 6px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.9rem; color: var(--md-on-surface-variant); line-height: 1.5;
}
.feature-list li .material-icons-round { font-size: 18px; color: var(--md-primary); flex-shrink: 0; margin-top: 1px; }

/* Simple single-column service (no subsections) */
.svc-simple { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 20px 0; }
.svc-simple .fr-media img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--shape-lg); box-shadow: var(--shadow-4); }
.svc-simple .feature-list { grid-template-columns: 1fr; }

/* CTA band on service pages */
.svc-cta {
  background: var(--md-primary-container);
  border-radius: var(--shape-lg);
  padding: 40px 44px; margin: 24px 0 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.svc-cta h4 { font-family: 'Roboto Slab', serif; font-size: 1.3rem; font-weight: 900; color: var(--md-on-primary-container); }
.svc-cta p { color: var(--md-on-surface-variant); font-size: 0.92rem; margin-top: 4px; }

@media (max-width: 900px) {
  .feature-row, .svc-simple { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feature-row:nth-child(even) .fr-media { order: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-row .fr-media img, .svc-simple .fr-media img { height: 260px; }
  .svc-hero { padding: 96px 0 48px; }
}

/* ============================================================
   HERO — black overlay + blue accent
   ============================================================ */
:root {
  --hero-accent: var(--md-primary);        /* company blue */
  --hero-accent-dark: #0A3578;
}

/* Overlay removed — video shows with no tint. Hero text stays legible
   via a soft shadow instead of a darkening layer. */
.hero-video-wrap::after {
  background: transparent !important;
}
.hero-video-wrap .hero-body h1,
.hero-video-wrap .hero-body .hero-desc,
.hero-video-wrap .hero-body .hero-chip {
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6);
}

/* Eyebrow chip — blue accent */
.hero-video-wrap .hero-chip {
  background: rgba(13,71,161,0.30);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.hero-video-wrap .hero-chip .material-icons-round { color: #fff; }

/* Heading stays white; highlighted word in the yellow already defined below */
.hero-video-wrap h1 { color: #fff; }

/* Primary hero CTA — blue fill, white text */
.hero-video-wrap .btn-filled-white {
  background: var(--hero-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13,71,161,0.35);
}
.hero-video-wrap .btn-filled-white:hover {
  background: var(--hero-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}
.hero-video-wrap .btn-filled-white .material-icons-round { color: #fff; }

/* Get-a-Quote nav CTA over the transparent header — blue */
.top-app-bar.transparent:not(.solid) .nav-cta {
  background: var(--hero-accent);
  color: #fff !important;
}
.top-app-bar.transparent:not(.solid) .nav-cta:hover { background: var(--hero-accent-dark); }

/* Active menu item — solid blue background, white text */
.nav-items > li > a.active,
.top-app-bar.transparent.solid .nav-items > li > a.active {
  background: var(--md-primary);
  color: #fff;
  font-weight: 700;
}
/* Active item over the transparent header (before scroll) */
.top-app-bar.transparent:not(.solid) .nav-items > li > a.active {
  background: var(--md-primary);
  color: #fff;
}



/* ============================================================
   NAV CTA GROUP — Customer Support + Employee Login
   ============================================================ */
.nav-cta-group { display: flex; align-items: center; gap: 10px; }
.nav-cta-outline {
  background: transparent !important;
  border: 2px solid var(--md-primary);
  color: var(--md-primary) !important;
}
.nav-cta-outline:hover { background: rgba(13,71,161,0.08) !important; }
/* Over the transparent header (homepage before scroll) — white outline */
.top-app-bar.transparent:not(.solid) .nav-cta-outline {
  border-color: rgba(255,255,255,0.85);
  color: #fff !important;
}
.top-app-bar.transparent:not(.solid) .nav-cta-outline:hover { background: rgba(255,255,255,0.14) !important; }
.cta-mobile-alt { opacity: 0.92; }
@media (max-width: 1180px) {
  .nav-cta-group .nav-cta-outline { display: none; } /* keep bar uncluttered on narrow screens; still in mobile menu */
}

/* ============================================================
   DOWNLOADS PAGE
   ============================================================ */
.dl-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.dl-card {
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--shape-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow var(--motion-std), transform var(--motion-std);
}
.dl-card:hover { box-shadow: var(--shadow-4); transform: translateY(-3px); }
.dl-icon {
  width: 54px; height: 54px; border-radius: var(--shape-md);
  background: var(--md-primary-container); color: var(--md-primary);
  display: flex; align-items: center; justify-content: center;
}
.dl-icon .material-icons-round { font-size: 28px; }
.dl-card h3 { font-family: 'Roboto Slab', serif; font-size: 1.15rem; font-weight: 700; color: var(--md-on-background); }
.dl-card p { font-size: 0.9rem; color: var(--md-on-surface-variant); line-height: 1.55; flex-grow: 1; }
.dl-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--md-on-surface-variant);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dl-btn { justify-content: center; margin-top: 4px; }

/* ============================================================
   PAN INDIA PRESENCE MAP
   ============================================================ */
.india-wrap {
  display: grid; grid-template-columns: minmax(300px, 480px) 1fr;
  gap: 48px; align-items: center; justify-content: center;
}
.india-map { width: 100%; height: auto; }
.india-outline {
  fill: var(--md-primary-container);
  stroke: var(--md-primary);
  stroke-width: 1.6;
  stroke-linejoin: round;
  opacity: 0.9;
}
.india-map .city circle { fill: var(--md-primary); }
.india-map .city text {
  font-size: 11px; font-weight: 600; fill: var(--md-on-background);
  font-family: 'Roboto', sans-serif;
}
.india-map .city.hq circle { fill: #C62828; }
.india-map .city.hq text { fill: #C62828; font-weight: 800; }
.india-map .city.hq .pulse {
  fill: rgba(198,40,40,0.25);
  animation: hq-pulse 2s ease-out infinite;
  transform-origin: center;
}
@keyframes hq-pulse {
  0%   { opacity: 0.7; r: 8; }
  100% { opacity: 0;   r: 20; }
}
.india-cities { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
@media (max-width: 900px) {
  .india-wrap { grid-template-columns: 1fr; gap: 24px; }
  .india-map { max-width: 420px; margin: 0 auto; }
}
