/* =============================================
   SG BRAKE SHOE — Bootstrap Theme v2
   Clean White + Deep Navy + Amber Accent
   Mobile-First, Bootstrap-powered
   ============================================= */

:root {
  --sg-navy: #0f1c2e;
  --sg-navy-2: #162436;
  --sg-navy-3: #1e3248;
  --sg-amber: #f5a623;
  --sg-amber-dark: #d4861a;
  --sg-red: #e63946;
  --sg-light: #f7f9fc;
  --sg-border: #e4eaf2;
  --sg-text: #374151;
  --sg-muted: #6b7280;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(15,28,46,0.08);
  --shadow-md: 0 8px 24px rgba(15,28,46,0.12);
  --shadow-lg: 0 20px 48px rgba(15,28,46,0.18);
  --font: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--sg-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font); }

/* ============ UTILITY ============ */
.text-sg { color: var(--sg-amber) !important; }
.bg-sg   { background: var(--sg-amber) !important; }
.sg-light { background: var(--sg-light); }

.section-pad { padding: 80px 0; }
@media (max-width: 768px) { .section-pad { padding: 56px 0; } }

.section-h {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--sg-navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.section-sub {
  color: var(--sg-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

.sg-label {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sg-amber);
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ============ BUTTONS ============ */
.btn-sg {
  background: var(--sg-amber);
  color: var(--sg-navy);
  font-weight: 700;
  border: none;
  transition: all 0.2s ease;
}
.btn-sg:hover {
  background: var(--sg-amber-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}

.btn-outline-sg {
  border: 1.5px solid var(--sg-navy);
  color: var(--sg-navy);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-outline-sg:hover {
  background: var(--sg-navy);
  color: #fff;
}

/* ============ NAVBAR ============ */
.sg-navbar {
  background: rgba(15, 28, 46, 0.97);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s ease;
}

.sg-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.brand-badge {
  background: var(--sg-amber);
  color: var(--sg-navy);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 900;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.brand-title {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
}

.brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-top: 2px;
}

.sg-navbar .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sg-navbar .nav-link:hover,
.sg-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}

.sg-navbar .nav-link.active {
  color: var(--sg-amber) !important;
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }

/* ============ HERO ============ */
.hero-section {
  background: linear-gradient(135deg, #0f1c2e 0%, #1a3055 60%, #0f2a45 100%);
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(245,166,35,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,0.05) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, auto, 50px 50px, 50px 50px;
  pointer-events: none;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.0;
  color: #fff;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-n {
  font-family: var(--font);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sg-amber);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-l {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* Hero Wheel */
.hero-wheel-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(245,166,35,0.2);
}

.hw-ring-1 {
  width: 340px; height: 340px;
  animation: spin-slow 30s linear infinite;
  border-style: dashed;
  border-color: rgba(245,166,35,0.15);
}

.hw-ring-2 {
  width: 220px; height: 220px;
  animation: spin-slow 18s linear infinite reverse;
  border-color: rgba(245,166,35,0.25);
}

.hw-center {
  width: 100px; height: 100px;
  background: rgba(245,166,35,0.12);
  border: 1.5px solid rgba(245,166,35,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-gentle 3s ease-in-out infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulse-gentle {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0.2); }
  50% { box-shadow: 0 0 0 16px rgba(245,166,35,0); }
}

.hw-tag {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 100px;
}

.hw-tag-1 { top: 20px; left: 10px; animation: float-tag 3s ease-in-out infinite; }
.hw-tag-2 { right: 0px; top: 50%; transform: translateY(-50%); animation: float-tag 3s 1s ease-in-out infinite; }
.hw-tag-3 { bottom: 30px; left: 20px; animation: float-tag 3s 0.5s ease-in-out infinite; }

@keyframes float-tag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hw-tag-2 {
  animation: float-tag-2 3s 1s ease-in-out infinite;
}
@keyframes float-tag-2 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 6px)); }
}

/* ============ MARQUEE ============ */
.sg-marquee {
  background: var(--sg-amber);
  overflow: hidden;
  padding: 13px 0;
}

.sg-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.sg-marquee-track span {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sg-navy);
  white-space: nowrap;
}

.sg-marquee-track i {
  color: rgba(15,28,46,0.35);
  font-size: 8px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ WHY CARDS ============ */
.why-card {
  background: #fff;
  border: 1.5px solid var(--sg-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s ease;
  cursor: default;
}

.why-card:hover {
  border-color: var(--sg-amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px; height: 52px;
  background: rgba(245,166,35,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--sg-amber);
  margin-bottom: 16px;
}

.why-card h5 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sg-navy);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--sg-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============ PRODUCT CARDS ============ */
.prod-card {
  background: #fff;
  border: 1.5px solid var(--sg-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
}

.prod-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--sg-amber);
  transform: translateY(-4px);
}

.prod-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

@media (min-width: 768px) { .prod-thumb { height: 180px; font-size: 3.5rem; } }

.thumb-1 { background: linear-gradient(135deg, #e8f4f8, #c5dce9); color: #2a6080; }
.thumb-2 { background: linear-gradient(135deg, #f0ede8, #d9c9b0); color: #7a5c2e; }
.thumb-3 { background: linear-gradient(135deg, #e8f5e9, #b8ddc0); color: #2e7d32; }
.thumb-4 { background: linear-gradient(135deg, #f3e8f5, #d4b8d9); color: #6a2f7a; }
.thumb-5 { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.thumb-6 { background: linear-gradient(135deg, #e8eaf6, #c5cae9); color: #283593; }
.thumb-7 { background: linear-gradient(135deg, #fce4ec, #f8bbd9); color: #880e4f; }
.thumb-8 { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); color: #00695c; }
.thumb-9 { background: linear-gradient(135deg, #fafafa, #e0e0e0); color: #424242; }

.prod-body {
  padding: 16px;
}

.prod-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--sg-amber-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.prod-body h6 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--sg-navy);
  margin-bottom: 4px;
}

.prod-body p {
  font-size: 12px;
  color: var(--sg-muted);
  line-height: 1.55;
  margin: 0;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 60px 0;
  background: var(--sg-light);
}

.cta-card {
  background: linear-gradient(135deg, var(--sg-navy) 0%, var(--sg-navy-3) 100%);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 576px) { .cta-card { padding: 32px 24px; } }

/* ============ FOOTER ============ */
.sg-footer {
  background: var(--sg-navy);
}

.footer-heading {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li,
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.5;
}

.footer-links a:hover { color: var(--sg-amber); }

.footer-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social:hover {
  background: var(--sg-amber);
  border-color: var(--sg-amber);
  color: var(--sg-navy);
}

/* ============ PAGE HERO ============ */
.page-hero {
  background: linear-gradient(135deg, var(--sg-navy) 0%, var(--sg-navy-3) 100%);
  padding: 120px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.page-hero-title {
  font-family: var(--font);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
}

.page-hero-title .accent { color: var(--sg-amber); }

.page-hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.75;
  margin-top: 16px;
}

/* ============ SERVICES PAGE ============ */
.service-card-new {
  background: #fff;
  border: 1.5px solid var(--sg-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
}

.service-card-new:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--sg-amber);
  transform: translateY(-4px);
}

.service-card-new .thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.service-card-new .body {
  padding: 20px;
}

.service-card-new .body h5 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sg-navy);
  margin-bottom: 6px;
}

.service-card-new .body p {
  font-size: 13px;
  color: var(--sg-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============ ABOUT PAGE ============ */
.about-stat-box {
  text-align: center;
  padding: 32px 16px;
  background: #fff;
  border: 1.5px solid var(--sg-border);
  border-radius: var(--radius);
  transition: all 0.25s;
}

.about-stat-box:hover { border-color: var(--sg-amber); box-shadow: var(--shadow-md); }

.about-stat-num {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--sg-amber);
  letter-spacing: -1.5px;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 13px;
  color: var(--sg-muted);
  font-weight: 500;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sg-border);
}

.timeline-item:last-child { border: none; }

.timeline-year {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  background: var(--sg-amber);
  color: var(--sg-navy);
  padding: 4px 10px;
  border-radius: 6px;
  height: fit-content;
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-text {
  font-size: 14px;
  color: var(--sg-muted);
  line-height: 1.65;
  padding-top: 4px;
}

.value-card-new {
  padding: 28px;
  background: #fff;
  border: 1.5px solid var(--sg-border);
  border-radius: var(--radius);
  transition: all 0.25s;
}

.value-card-new:hover { border-color: var(--sg-amber); box-shadow: var(--shadow-md); }

.value-num {
  font-family: var(--font);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(245,166,35,0.15);
  letter-spacing: -2px;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.value-card-new h5 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--sg-navy);
  margin-bottom: 8px;
}

.value-card-new p {
  font-size: 14px;
  color: var(--sg-muted);
  margin: 0;
  line-height: 1.65;
}

/* ============ CONTACT PAGE ============ */
.contact-info-card {
  background: #fff;
  border: 1.5px solid var(--sg-border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-icon-box {
  width: 44px; height: 44px;
  background: rgba(245,166,35,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--sg-amber);
  flex-shrink: 0;
}

.form-card {
  background: #fff;
  border: 1.5px solid var(--sg-border);
  border-radius: var(--radius);
  padding: 36px;
}

@media (max-width: 576px) { .form-card { padding: 24px 20px; } }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sg-navy);
  margin-bottom: 6px;
}

.form-control, .form-select {
  background: var(--sg-light);
  border: 1.5px solid var(--sg-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--sg-text);
  padding: 10px 14px;
  transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
  background: #fff;
  border-color: var(--sg-amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
  outline: none;
}

.form-control::placeholder { color: #adb5bd; }

.btn-submit-new {
  background: var(--sg-amber);
  color: var(--sg-navy);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-submit-new:hover {
  background: var(--sg-amber-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}

/* ============ BREADCRUMB ============ */
.sg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.sg-breadcrumb a { color: rgba(255,255,255,0.5); font-size: 13px; text-decoration: none; }
.sg-breadcrumb a:hover { color: var(--sg-amber); }
.sg-breadcrumb span { color: rgba(255,255,255,0.25); font-size: 12px; }
.sg-breadcrumb .current { color: rgba(255,255,255,0.8); font-size: 13px; }

/* ============ AOS-like fade-in ============ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE FIXES ============ */
@media (max-width: 576px) {
  .hero-stats { gap: 16px; padding: 14px 16px; }
  .stat-n { font-size: 1.4rem; }
  .hero-headline { letter-spacing: -1px; }
}
