:root {
  --primary-blue: #004de6;
  --primary-red: #ee1c35;
  --dark-navy: #0a1128;
  --text-body: #5c6670;
  --text-dark: #1a1d21;
  --bg-light: #f0f4f8;
  --bg-gray: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(10, 17, 40, 0.08);
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Top bar */
.top-bar {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 10px 0;
}

.top-bar a {
  color: #fff;
}

.top-bar i {
  color: var(--primary-red);
  margin-right: 8px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  text-transform: capitalize;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-red);
}

.btn-primary-scn {
  background: var(--primary-red);
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}

.btn-primary-scn:hover {
  background: #d01028;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-scn {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: var(--radius);
}

.btn-outline-scn:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Section titles */
.section-label {
  color: var(--primary-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--primary-red);
  margin-right: 10px;
  vertical-align: middle;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #eef3fb 0%, #f8fafc 55%, #e8eef8 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  color: var(--primary-blue);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.hero-illustration {
  margin-top: 2rem;
}

/* Welcome overlap box */
.welcome-wrap {
  margin-top: -80px;
  position: relative;
  z-index: 5;
  padding-bottom: 40px;
}

.welcome-card {
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  min-height: 200px;
}

.welcome-card .years-box {
  background: var(--primary-red);
  color: var(--white);
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  font-family: Montserrat, sans-serif;
}

.welcome-card .welcome-body {
  flex: 1;
  padding: 2rem 2.5rem;
  min-width: 260px;
}

.welcome-card .welcome-body h2 {
  color: var(--primary-blue);
  font-size: 1.5rem;
}

/* Stats */
.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-box h3 {
  color: var(--primary-red);
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

/* Service cards */
.services-section {
  background: var(--bg-gray);
  padding: 80px 0;
}

.service-card {
  background: var(--white);
  padding: 2rem 1.75rem 3rem;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card .icon-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background: var(--primary-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.service-card h4 {
  margin-top: 0.5rem;
  font-size: 1.15rem;
}

.service-card a.read-more {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Red CTA strip */
.red-cta {
  background: var(--primary-red);
  color: var(--white);
  padding: 0;
}

.red-cta .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.red-cta .cta-text {
  flex: 1;
  padding: 4rem 3rem;
  min-width: 280px;
}

.red-cta .cta-text h2,
.red-cta .cta-text h3 {
  color: var(--white);
}

.red-cta .cta-image {
  flex: 0 0 45%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  min-width: 280px;
}

.red-cta ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.red-cta ul li {
  padding: 0.4rem 0;
  padding-left: 1.75rem;
  position: relative;
}

.red-cta ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
}

/* Projects */
.project-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.project-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.project-item .project-caption {
  background: var(--primary-red);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Why choose */
.feature-icon-box {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon-box .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(0, 77, 230, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Process steps */
.process-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.process-step {
  text-align: center;
  padding: 1rem;
}

.process-step .step-num {
  width: 80px;
  height: 80px;
  border: 3px solid var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Testimonials */
.testimonial-section {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 40, 0.88);
}

.testimonial-section .container {
  position: relative;
  z-index: 1;
}

.testimonial-section .section-title,
.testimonial-section .section-label {
  color: var(--white);
}

.testimonial-section .section-label::before {
  background: var(--primary-red);
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.testimonial-card .stars {
  color: #f5a623;
  margin-bottom: 1rem;
}

/* Team */
.team-card {
  text-align: center;
  margin-bottom: 2rem;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Pricing */
.pricing-card {
  background: var(--white);
  border: 1px solid #e8ecf2;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card.featured {
  border-color: var(--primary-red);
  transform: scale(1.03);
}

.pricing-card .price {
  font-size: 2.5rem;
  color: var(--primary-red);
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary-red);
}

/* Guarantee bar */
.guarantee-bar {
  padding: 50px 0;
  background: var(--white);
}

.guarantee-item {
  text-align: center;
  padding: 1rem;
}

.guarantee-item i {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

/* Pre-footer CTA */
.pre-footer-cta {
  background: var(--primary-red);
  padding: 50px 0;
  text-align: center;
}

.pre-footer-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--dark-navy), var(--primary-blue));
  padding: 70px 0 60px;
  color: var(--white);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.breadcrumb-scn {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.breadcrumb-scn a {
  color: rgba(255, 255, 255, 0.9);
}

/* Content pages */
.content-section {
  padding: 70px 0;
}

.content-section.legal {
  padding: 60px 0 80px;
}

.content-section.legal h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  color: var(--primary-blue);
}

.content-section.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* Forms */
.form-scn .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.form-scn .form-control,
.form-scn .form-select {
  border: 1px solid #d5dbe3;
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
}

.form-scn .form-control:focus,
.form-scn .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 77, 230, 0.15);
}

.form-scn .form-control.is-invalid {
  border-color: #dc3545;
}

.form-check-scn {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.form-check-scn input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary-red);
  cursor: pointer;
}

.form-check-scn .invalid-feedback {
  flex-basis: 100%;
  margin-left: 0;
  padding-left: calc(20px + 0.65rem);
}

.form-check-scn label {
  margin: 0;
  line-height: 1.5;
  cursor: pointer;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback {
  display: block;
}

.form-success-msg {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.form-success-msg.show {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 60px;
}

.site-footer h3,
.site-footer h6 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: var(--primary-red);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.footer-about img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 8px;
  color: var(--white) !important;
  transition: background 0.2s;
}

.social-links a:hover {
  background: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 0;
  font-size: 0.875rem;
}

.footer-legal a {
  margin-right: 1rem;
}

.footer-legal a::after {
  content: "|";
  margin-left: 1rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal a:last-child::after {
  display: none;
}

/* Utilities */
.bg-light-scn {
  background: var(--bg-gray);
}

.img-cover {
  width: 100%;
  object-fit: cover;
}

.shadow-scn {
  box-shadow: var(--shadow);
}

@media (max-width: 991px) {
  .welcome-wrap {
    margin-top: 0;
  }

  .red-cta .cta-image {
    flex: 1 1 100%;
    min-height: 220px;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 767px) {
  .welcome-card .years-box {
    flex: 1 1 100%;
  }

  .hero-section {
    padding: 40px 0 30px;
  }
}