:root {
  --navy: #0B1F3A;
  --green: #18A558;
  --blue: #2F80ED;
  --slate: #6B7280;
  --light: #F2F4F7;
  --white: #ffffff;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background-color: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.btn {
  font-family: 'Montserrat', sans-serif;
}

/* Navbar — white background with dark blue logo */
.navbar {
  background: var(--white);
  padding: 0.6rem 0;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid #e5e7eb;
}

.navbar.scrolled {
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.1);
}

.navbar-brand {
  padding: 0;
}

.navbar-brand .logo-img {
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green) !important;
}

.navbar-toggler {
  border-color: var(--navy);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(11, 31, 58, 0.15);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #132d52 50%, #0a2847 100%);
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(24, 165, 88, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

.hero-logo-full {
  height: 72px;
  width: auto;
  max-width: 340px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.hero-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero .tagline {
  color: var(--green);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-primary-custom {
  background: var(--green);
  border: none;
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  background: #14924d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 165, 88, 0.35);
}

.btn-outline-custom {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

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

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-stat {
  text-align: center;
  padding: 1rem;
}

.hero-stat .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
}

.hero-stat .label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Section common */
section {
  padding: 5rem 0;
}

.section-label {
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 700px;
}

.bg-light-custom {
  background-color: var(--light);
}

/* Pillars */
.pillar-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.1);
  border-color: var(--green);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: rgba(24, 165, 88, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--green);
  font-size: 1.5rem;
}

.pillar-card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0;
}

/* Challenge cards */
.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.challenge-item:last-child {
  border-bottom: none;
}

.challenge-item i {
  color: var(--green);
  font-size: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Approach steps */
.approach-step {
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
}

.approach-step .step-num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}

.approach-step h6 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.approach-step p {
  color: var(--slate);
  font-size: 0.85rem;
  margin: 0;
}

/* Service cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  height: 100%;
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
  border-color: var(--blue);
}

.service-card .icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), #1a3a5c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  color: var(--slate);
  font-size: 0.85rem;
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* Industry pills */
.industry-pill {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.industry-pill:hover {
  border-color: var(--green);
  background: rgba(24, 165, 88, 0.04);
}

.industry-pill i {
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  display: block;
}

.industry-pill h6 {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.industry-pill p {
  color: var(--slate);
  font-size: 0.78rem;
  margin: 0;
}

/* Portfolio */
.portfolio-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-card h5 {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.portfolio-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 0;
}

/* Delivery timeline */
.delivery-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-left: 2px solid var(--green);
  margin-left: 1rem;
  padding-left: 2rem;
  position: relative;
}

.delivery-step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.delivery-step .step-title {
  font-weight: 600;
  color: var(--navy);
}

.delivery-step p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0;
}

/* Why us */
.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  border-left: 4px solid var(--green);
  height: 100%;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.06);
}

.why-card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0;
}

/* Vision Mission */
.vision-box {
  background: linear-gradient(135deg, var(--navy) 0%, #132d52 100%);
  border-radius: 16px;
  padding: 3rem;
  color: var(--white);
}

.vision-box h3 {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 1rem;
}

.vision-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.promise-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: rgba(24, 165, 88, 0.08);
  border: 1px solid rgba(24, 165, 88, 0.2);
  height: 100%;
}

.promise-card h4 {
  color: var(--green);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.promise-card p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, #14924d 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 6px;
  border: none;
  transition: all 0.3s;
}

.btn-white:hover {
  background: var(--light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--green);
}

.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-visual {
    margin-top: 3rem;
  }

  section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero-badges span {
    font-size: 0.72rem;
  }

  .vision-box {
    padding: 2rem 1.5rem;
  }

  .navbar-brand .logo-img {
    height: 38px;
    max-width: 210px;
  }
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #132d52 100%);
  padding: 120px 0 60px;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 {
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto;
}

.contact-section {
  padding: 4rem 0 5rem;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.08);
}

.contact-form-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(24, 165, 88, 0.15);
}

.contact-form-card textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.captcha-box {
  background: var(--light);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.captcha-question {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: 2px;
  user-select: none;
}

.captcha-refresh {
  color: var(--green);
  cursor: pointer;
  font-size: 1.1rem;
  border: none;
  background: none;
  padding: 0;
  line-height: 1;
}

.captcha-refresh:hover {
  color: #14924d;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
}

.contact-info-card h4 {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  color: var(--green);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.contact-info-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.contact-info-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--green);
}

.form-success {
  display: none;
  background: rgba(24, 165, 88, 0.1);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #0d6836;
  font-weight: 500;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid #dc3545;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #842029;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.form-error.d-block {
  display: block;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

@media (max-width: 767.98px) {
  .contact-form-card {
    padding: 1.5rem;
  }
}
