:root {
  --sg-navy:   #0a1f4b;
  --sg-red:    #ac151c;
  --sg-red2:   #c9181f;
  --sg-white:  #ffffff;
  --sg-light:  #f5f7fc;
  --sg-dark:   #111827;
  --sg-muted:  #6b7280;
  --sg-border: rgba(10, 31, 75, 0.12);
  
}


.sg-banner {
  position: relative;
  min-height: 800px;
  background: url('../assects/doorcloser.webp') center / cover no-repeat;
  display: flex;
  align-items: flex-end;   /* content anchored to bottom */
  overflow: hidden;
}

/* Gradient overlay - only covers bottom 60%, photo clear at top */
.sg-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 31, 75, 0.88) 0%,
    rgba(10, 31, 75, 0.30) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.sg-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
}

/* Red pill tag above heading */
.sg-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sg-red);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 1rem;
  animation: sgFadeUp 0.5s ease both;
}
.sg-banner-tag span {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  display: block;
}

/* Banner heading */
.sg-banner h1,
.sg-banner h2 {

  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  animation: sgFadeUp 0.6s 0.1s ease both;
}
.sg-banner h1 em,
.sg-banner h2 em { color: var(--sg-red); font-style: normal; }

/* Banner sub-description */
.sg-banner-sub {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 0.9rem;
  animation: sgFadeUp 0.7s 0.2s ease both;
}

/* Button row */
.sg-banner-btns {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
  animation: sgFadeUp 0.7s 0.3s ease both;
}

/* Primary CTA button */
.sg-btn-primary {
  padding: 12px 28px;
  background: var(--sg-red);
  color: #fff;
 
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.sg-btn-primary:hover { background: var(--sg-red2); transform: translateY(-1px); }

/* Outline button */
.sg-btn-outline {
  padding: 11px 28px;
  background: transparent;
  color: #fff;
 
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.sg-btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ============================================================
   SHARED LAYOUT UTILITIES
   ============================================================ */
.sg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Section labels */
.sg-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sg-red);
  margin-bottom: 0.8rem;
}

/* Section heading */
.sg-title {
 
  font-weight: 400;
  color: var(--sg-navy);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.sg-title .hl { color: var(--sg-red); }

/* Body text */
.sg-body {
  font-size: 0.97rem;
  color: var(--sg-muted);
  line-height: 1.8;
}
.sg-body p { margin-bottom: 0.9rem; }

/* Image card */
.sg-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.sg-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.sg-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--sg-navy);
  color: #fff;
  padding: 10px 18px;
  border-left: 3px solid var(--sg-red);
  font-size: 0.82rem;
  font-weight: 400;
  border-radius: 2px;
}

/* Bullet list */
.sg-list {
  list-style: none;
  margin-top: 1.4rem;
  padding: 0;
}
.sg-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sg-border);
  font-size: 0.93rem;
  color: var(--sg-dark);
  line-height: 1.65;
}
.sg-list li:last-child { border-bottom: none; }
.sg-list-dot {
  width: 8px;
  height: 8px;
  background: var(--sg-red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.sg-list strong { color: var(--sg-navy); }

/* ============================================================
   SECTION: FORM + CONTENT - .sg-form-section
   Form itself is unchanged; only the wrapper gets new styling
   ============================================================ */
.sg-form-section {
  padding: 5.5rem 0;
  background: var(--sg-light);
}

/* Wrapper card around the existing form - add this div in HTML */
.sg-form-card {
  background: #fff;
  border-top: 4px solid var(--sg-red);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.sg-form-card h3 {
 
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sg-navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.4rem;
}

/* Form fields inside card (matches static design; nested hero card chrome is stripped via style.css) */
.sg-form-card .form-label.sib-form-label,
.sg-form-card .form-label.hero-form-label {
  color: var(--sg-navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  margin-bottom: 0.35rem;
}

.sg-form-card .form-control.sib-form-control,
.sg-form-card .form-control.hero-form-control {
  border-radius: 4px;
  border: 1px solid var(--sg-border);
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  color: var(--sg-dark);
}

.sg-form-card .form-control.sib-form-control:focus,
.sg-form-card .form-control.hero-form-control:focus {
  border-color: var(--sg-navy);
  box-shadow: 0 0 0 3px rgba(10, 31, 75, 0.12);
}

.sg-form-card .form-check-label.sib-form-check-label,
.sg-form-card .form-check-label.hero-form-check-label {
  color: var(--sg-navy);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: none;
}

.sg-form-card .hero-form-check-input:checked,
.sg-form-card .sib-form-check-input:checked {
  background-color: var(--sg-navy);
  border-color: var(--sg-navy);
}

.sg-form-card .btn-1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.25rem;
  padding: 12px 22px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--sg-red);
  border: 2px solid var(--sg-red);
}

.sg-form-card .btn-1:hover {
  color: #fff;
  background: var(--sg-red2);
  border-color: var(--sg-red2);
}

/* ============================================================
   SECTION: BENEFITS - .sg-benefits
   ============================================================ */
.sg-benefits {
  padding: 5.5rem 0;
  background: #fff;
}

/* ============================================================
   SECTION: CUSTOM FIT - .sg-customfit
   ============================================================ */
.sg-customfit {
  padding: 5.5rem 0;
  background: var(--sg-light);
}

/* ============================================================
   SECTION: DARK (GLASS TYPES) - .sg-dark-strip  [NEW]
   ============================================================ */
.sg-dark-strip {
  padding: 5rem 0;
  background: var(--sg-navy);
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.sg-dark-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.sg-dark-inner { position: relative; z-index: 2; }

.sg-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.sg-dark-col h3 {
 
  font-size: 1.55rem;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--sg-red);
}
.sg-dark-col p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  font-size: 0.93rem;
  margin-bottom: 0.8rem;
}

/* ============================================================
   SECTION: PROCESS STEPS - .sg-process  [NEW]
   ============================================================ */
.sg-process {
  padding: 5.5rem 0;
  background: #fff;
}

.sg-process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

/* Horizontal connector line */
.sg-process-row::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--sg-red), var(--sg-navy));
  z-index: 0;
}

.sg-pstep {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.sg-pnum {
  width: 54px;
  height: 54px;
  background: var(--sg-navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--sg-navy);
  transition: background 0.2s, box-shadow 0.2s;
}
.sg-pstep:hover .sg-pnum {
  background: var(--sg-red);
  box-shadow: 0 0 0 2px var(--sg-red);
}

.sg-pstep h4 {
 
  font-size: 1rem;
  font-weight: 400;
  color: var(--sg-navy);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}
.sg-pstep p {
  font-size: 0.8rem;
  color: var(--sg-muted);
  line-height: 1.6;
}

/* ============================================================
   SECTION: GALLERY - .sg-gallery-section
   ============================================================ */
.sg-gallery-section {
  padding: 5rem 0;
  background: var(--sg-light);
}

.sg-gallery-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sg-gallery-item {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  position: relative;
}
.sg-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.sg-gallery-item:hover img { transform: scale(1.07); }

/* ============================================================
   SECTION: FAQ - .sg-faq
   ============================================================ */
.sg-faq {
  padding: 5.5rem 0;
  background: #fff;
}

.sg-faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.sg-faq-header p {
  font-size: 0.97rem;
  color: var(--sg-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.sg-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.sg-faq-item { border-bottom: 1px solid var(--sg-border); }

.sg-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 0;
 
  font-size: 1rem;
  font-weight: 400;
  color: var(--sg-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sg-faq-icon {
  width: 28px;
  height: 28px;
  background: var(--sg-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  transition: background 0.2s, transform 0.3s;
}
.sg-faq-item.open .sg-faq-icon {
  background: var(--sg-red);
  transform: rotate(45deg);
}

.sg-faq-a {
  font-size: 0.93rem;
  color: var(--sg-muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.3s;
  padding-bottom: 0;
}
.sg-faq-item.open .sg-faq-a {
  max-height: 300px;
  padding-bottom: 1.2rem;
}

/* ============================================================
   SCROLL REVEAL
   Add class "sg-reveal" to any element you want to animate in.
   Optional stagger: sg-d1 (0.1s), sg-d2 (0.2s), sg-d3 (0.3s)
   ============================================================ */
.sg-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sg-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.sg-d1 { transition-delay: 0.1s; }
.sg-d2 { transition-delay: 0.2s; }
.sg-d3 { transition-delay: 0.3s; }

@keyframes sgFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sg-grid-2    { grid-template-columns: 1fr; gap: 2rem; }
  .sg-dark-grid { grid-template-columns: 1fr; }
  .sg-process-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .sg-process-row::before { display: none; }
  .sg-gallery-grid { grid-template-columns: 1fr 1fr; }
  .sg-banner { min-height: 420px; }
}

@media (max-width: 640px) {
  .sg-process-row  { grid-template-columns: 1fr; }
  .sg-gallery-grid { grid-template-columns: 1fr; }
  .sg-img-wrap img { height: 260px; }
  .sg-banner-btns  { flex-direction: column; }
}
