:root {
  --navy: #07345d;
  --navy2: #0d477f;
  --orange: #f28a25;
  --text: #18344f;
  --muted: #5d6b78;
  --soft: #f5f7fa;
  --light-bg: #f8fafc;
  --border-color: #eef2f6;
  --shadow-sm: 0 2px 8px rgba(7, 52, 93, 0.05);
  --shadow-md: 0 6px 20px rgba(7, 52, 93, 0.08);
  --shadow-lg: 0 12px 30px rgba(7, 52, 93, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* NAVBAR & BRAND LOGO */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #eef1f4;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  z-index: 1030;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand img {
  width: 64px;
  height: 58px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.nav-link {
  color: #202d39 !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0.85rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--orange) !important;
}

.nav-link.active {
  color: var(--navy) !important;
  border-bottom: 2px solid var(--orange);
}

.navbar-toggler {
  border: 1px solid #d0d7de;
  padding: 6px 10px;
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(7, 52, 93, 0.15);
}

/* BUTTONS */
.btn-brand {
  background: var(--navy);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.72rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--navy);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-brand:hover, .btn-brand:focus {
  background: #052646;
  color: #ffffff;
  border-color: #052646;
  box-shadow: 0 4px 12px rgba(7, 52, 93, 0.25);
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 8px;
  padding: 0.72rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-brand:hover, .btn-outline-brand:focus {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1.45rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-orange:hover, .btn-orange:focus {
  background: #d97718;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(242, 138, 37, 0.3);
  transform: translateY(-1px);
}

/* HERO SECTION */
.hero {
  min-height: 460px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 48%, rgba(255, 255, 255, 0.25) 65%), url('../assets/hero-office.jpg') center right/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.05) 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  padding: 60px 0 50px;
  max-width: 610px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: #31546f;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 2.85rem;
  line-height: 1.15;
  font-weight: 800;
  color: #12395f;
  margin: 12px 0 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy2);
}

.hero p {
  color: #445564;
  line-height: 1.65;
  max-width: 560px;
  font-size: 1rem;
}

.hero-side {
  position: absolute;
  right: 4%;
  top: 48px;
  z-index: 3;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.15;
  text-align: left;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  background: rgba(7, 52, 93, 0.65);
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* FEATURE STRIP */
.feature-strip {
  background: #ffffff;
  position: relative;
  z-index: 5;
  box-shadow: 0 6px 25px rgba(15, 35, 55, 0.08);
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

.feature {
  padding: 20px 18px;
  border-right: 1px solid #e5e8ec;
  display: flex;
  gap: 14px;
  align-items: center;
}

.feature:last-child {
  border-right: 0;
}

.icon-circle {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #eaf3fb;
  color: #0d5c9e;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
}

/* STATS SECTION */
.stats {
  background: #f5f7fa;
  border-radius: 14px;
  margin: 32px auto 42px;
  padding: 24px 16px;
  border: 1px solid #e2e8f0;
}

.stat {
  border-right: 1px solid #dce2e8;
  padding: 8px 12px;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  font-size: 1.85rem;
  color: #0d477f;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.stat small {
  color: #566673;
  font-weight: 600;
  font-size: 0.9rem;
}

/* SECTIONS */
.section {
  padding: 36px 0 52px;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: #365e7c;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #12395f;
}

/* SERVICE CARDS */
.service-card {
  height: 100%;
  border: 1px solid rgba(13, 71, 127, 0.08);
  border-radius: 12px;
  padding: 26px 22px;
  background: #edf7ff;
  box-shadow: 0 4px 18px rgba(10, 35, 60, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(10, 35, 60, 0.09);
}

.service-card.green { background: #eef8f0; border-color: rgba(40, 167, 69, 0.12); }
.service-card.orange { background: #fff3e8; border-color: rgba(242, 138, 37, 0.12); }
.service-card.purple { background: #f3f0fb; border-color: rgba(111, 66, 193, 0.12); }

.service-card .service-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  color: #51616f;
  line-height: 1.6;
  font-size: 0.92rem;
  flex-grow: 1;
}

.service-card a {
  font-weight: 700;
  color: #153f63;
  font-size: 0.9rem;
  margin-top: 12px;
  display: inline-block;
}

.service-card a:hover {
  color: var(--orange);
  transform: translateX(3px);
}

/* ABOUT SECTION */
.about-img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 290px;
  box-shadow: var(--shadow-sm);
}

.about-copy {
  padding: 8px 10px;
}

.value-list {
  border-left: 1px solid #e1e5e9;
  padding-left: 25px;
}

.value-item {
  margin-bottom: 22px;
}

.value-item:last-child {
  margin-bottom: 0;
}

.value-item .vicon {
  color: #1670ad;
  font-size: 1.4rem;
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 4px 0;
}

.value-item p {
  font-size: 0.88rem;
  color: #596b79;
  margin: 0;
}

/* INDUSTRY CARDS */
.industry {
  padding: 16px 12px;
  text-align: center;
  color: #394c5c;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #eef2f6;
  height: 100%;
  transition: all 0.25s ease;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.industry:hover {
  background: #ffffff;
  border-color: #d0dbe5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
  color: var(--navy);
}

.industry .ind-icon {
  font-size: 1.8rem;
  color: #11619a;
  margin-bottom: 6px;
  line-height: 1;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(120deg, #07345d, #0c426f);
  color: #ffffff;
  padding: 40px 0;
}

.cta h2 {
  font-size: 1.85rem;
  font-weight: 800;
}

/* FOOTER */
footer {
  background: #ffffff;
  padding: 26px 0;
  border-top: 1px solid #e5e8eb;
}

.footer-brand img {
  width: 64px;
  height: 48px;
  object-fit: contain;
}

.footer-brand .brand-name {
  font-size: 1.35rem;
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(120deg, #07345d, #0e4b78);
  color: #ffffff;
  padding: 54px 0;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-top: 4px;
}

.page-hero p {
  max-width: 720px;
  color: #dbe8f2;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* CONTACT PAGE */
.contact-card {
  border: 1px solid #e4e9ee;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(10, 35, 60, 0.04);
}

.contact-card .cicon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #edf6fc;
  color: #0d5c9e;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.form-control, .form-select {
  padding: 0.78rem 0.95rem;
  border-radius: 8px;
  border-color: #d8e0e6;
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: #3779a8;
  box-shadow: 0 0 0 0.2rem rgba(30, 105, 155, 0.12);
}

/* MEDIA QUERIES FOR TABLET & MOBILE RESPONSIVENESS */

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef2f6;
  }
  
  .nav-link {
    padding: 0.65rem 1rem !important;
    border-radius: 8px;
    font-weight: 600;
  }
  
  .nav-link.active {
    background-color: rgba(7, 52, 93, 0.06);
    border-bottom: none !important;
    border-left: 3px solid var(--orange);
  }

  .navbar-nav .btn-brand {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: 480px;
    background-position: 65% center;
  }

  .hero-side {
    display: none;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .feature {
    border-right: 1px solid #e5e8ec;
    border-bottom: 1px solid #e5e8ec;
  }
  
  .feature:nth-child(2n) {
    border-right: 0;
  }
  
  .feature:nth-child(3), .feature:nth-child(4) {
    border-bottom: 0;
  }

  .about-img {
    max-height: 320px;
    min-height: auto;
  }

  .about-copy {
    padding: 10px 0;
  }

  .value-list {
    border-left: 0;
    border-top: 1px solid #e1e5e9;
    padding-left: 0;
    padding-top: 24px;
    margin-top: 12px;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    width: 64px;
    height: 52px;
    object-fit: contain;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .hero {
    min-height: auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 100%), url('../assets/hero-office.jpg') center center/cover no-repeat;
  }

  .hero:after {
    display: none;
  }

  .hero-copy {
    padding: 42px 0 36px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-copy .d-flex {
    flex-direction: column;
    width: 100%;
    gap: 10px !important;
  }

  .hero-copy .btn {
    width: 100%;
    text-align: center;
  }

  .stats {
    padding: 16px 8px;
    margin: 24px auto 32px;
  }

  .stat {
    border-right: 1px solid #dce2e8;
    border-bottom: 1px solid #dce2e8;
    padding: 14px 8px;
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(3), .stat:nth-child(4) {
    border-bottom: 0;
  }

  .stat strong {
    font-size: 1.6rem;
  }

  .section {
    padding: 28px 0 38px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .page-hero {
    padding: 38px 0;
  }

  .page-hero h1 {
    font-size: 1.85rem;
  }

  .cta {
    text-align: center;
    padding: 32px 0;
  }

  .cta .btn-orange {
    width: 100%;
    margin-top: 10px;
  }

  footer {
    text-align: center;
  }

  footer .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .footer-brand img {
    width: 64px;
    height: 44px;
    object-fit: contain;
  }

  .navbar-brand img {
    width: 64px;
    height: 48px;
    object-fit: contain;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .feature {
    padding: 14px 10px;
    gap: 10px;
  }

  .feature b {
    font-size: 0.88rem;
  }

  .icon-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 20px 18px;
  }

  .contact-card {
    padding: 18px;
  }

  .form-control, .form-select {
    font-size: 16px; /* Prevents auto-zoom on mobile safari */
  }
}
