/* ==========================================================================
   Ssb Infra Vizen — Main Stylesheet
   ========================================================================== */

:root {
  --primary: #0096D6;
  --primary-dark: #007bb3;
  --navy: #102A43;
  --charcoal: #3A4046;
  --light-gray: #F2F4F6;
  --pale-blue: #EAF6FD;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(16, 42, 67, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 42, 67, 0.10);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .heading-font {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
}

p { color: #4B535B; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-pale { background-color: var(--pale-blue); }
.bg-light-gray { background-color: var(--light-gray); }
.bg-navy { background-color: var(--navy); color: #D9E4EC; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }

.section-intro { max-width: 720px; }
.section-intro p { font-size: 1.05rem; }

/* Buttons */
.btn-brand {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-brand:hover { background-color: var(--primary-dark); color: var(--white); transform: translateY(-1px); }

.btn-outline-brand {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 0.72rem 1.55rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.btn-outline-brand:hover { background-color: rgba(255,255,255,0.12); color: var(--white); }

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  padding: 0.6rem 1.3rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-outline-navy:hover { background-color: var(--navy); color: var(--white); }

/* Navbar */
.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand-custom img { height: 42px; width: auto; }

.site-navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.site-navbar .nav-link {
  color: var(--charcoal);
  font-weight: 600;
  margin: 0 0.5rem;
}
.site-navbar .nav-link.active,
.site-navbar .nav-link:hover { color: var(--primary); }

.nav-call-btn {
  background-color: var(--primary);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 0.55rem 1.1rem !important;
  font-weight: 700;
}
.nav-call-btn:hover { background-color: var(--primary-dark); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--pale-blue) 0%, var(--white) 100%);
  padding: 5.5rem 0;
}
.hero h1 { font-size: 2.6rem; line-height: 1.2; }
.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.hero-stats .stat-label { font-size: 0.9rem; color: #6B7280; }

/* Cards */
.card-brand {
  background: var(--white);
  border: 1px solid #E7ECF1;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-brand:hover { box-shadow: var(--shadow-md); border-color: #D5E6F0; }

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: var(--pale-blue);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

/* How it works */
.step-card { text-align: left; padding: 1.75rem; }
.step-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Why choose us */
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #E7ECF1;
}
.why-item:last-child { border-bottom: none; }
.why-icon { color: var(--primary); font-size: 1.3rem; margin-top: 0.2rem; }

/* Brand logos */
.brand-logo-card {
  background: var(--white);
  border: 1px solid #E7ECF1;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo-card img { max-width: 100%; height: auto; opacity: 0.85; }

/* FAQ / Accordion */
.accordion-button {
  font-weight: 600;
  color: var(--navy);
}
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--pale-blue);
}
.accordion-button:focus { box-shadow: none; border-color: var(--primary); }

/* CTA band */
.cta-band {
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
}

/* Alternating service sections */
.service-block { padding: 3.5rem 0; border-bottom: 1px solid #E7ECF1; }
.service-block:last-of-type { border-bottom: none; }
.service-block img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: auto; }
.service-points { list-style: none; padding-left: 0; margin-top: 1rem; }
.service-points li { padding-left: 1.6rem; position: relative; margin-bottom: 0.6rem; color: #4B535B; }
.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* Contact page */
.contact-card {
  background: var(--white);
  border: 1px solid #E7ECF1;
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
  height: 100%;
}
.contact-card .icon-badge { margin-bottom: 0.9rem; }

.contact-form label { font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 6px;
  border: 1px solid #D6DCE2;
  padding: 0.65rem 0.9rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 150, 214, 0.15);
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: #B7C4CF;
  padding: 3.5rem 0 1.5rem;
}
.site-footer h5 { color: var(--white); margin-bottom: 1.1rem; }
.site-footer a { color: #B7C4CF; }
.site-footer a:hover { color: var(--white); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #8FA0AD;
}
.disclaimer-text { font-size: 0.85rem; color: #8FA0AD; }

/* Responsive tweaks */
@media (max-width: 767px) {
  .hero { padding: 3rem 0; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { justify-content: center; }
  .section { padding: 3.5rem 0; }
  .cta-band { padding: 2rem 1.5rem; text-align: center; }
}

/* Accessibility: visible focus */
a:focus-visible, button:focus-visible, .btn-brand:focus-visible, .btn-outline-brand:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
