/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0a1628;
  --navy2: #0f2040;
  --teal: #00b8a0;
  --teal2: #00d4b8;
  --steel: #1e3a5f;
  --light: #f4f7f9;
  --muted: #8a9ab0;
  --white: #ffffff;
  --accent: #ff6b35;
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FORM STATUS BANNER ===== */
.form-status-banner {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  transition:
    max-height var(--transition),
    opacity var(--transition),
    margin-top var(--transition),
    padding var(--transition);
}
.form-status-banner.show {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}
.form-status-banner.success {
  background: rgba(0, 184, 160, 0.12);
  border: 1px solid var(--teal);
  color: var(--teal);
}
.form-status-banner.error {
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--white);
  color: #2d3a4a;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}
a {
  color: var(--teal);
}
a:hover {
  color: var(--teal2);
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
.section-pad {
  padding: 90px 0;
}
.bg-navy {
  background: var(--navy);
}
.bg-navy2 {
  background: var(--navy2);
}
.bg-light {
  background: var(--light);
}
.text-teal {
  color: var(--teal) !important;
}
.text-muted-custom {
  color: var(--muted);
}

/* ===== NAVBAR ===== */
#mainNav {
  background: transparent;
  transition:
    background var(--transition),
    box-shadow var(--transition);
  padding: 18px 15px;
}
#mainNav.scrolled {
  /* background: var(--navy) !important; */
  background: #fff !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  padding: 10px 15px;
}
.navbar-brand img {
  height: 46px;
  transition:
    height var(--transition),
    filter var(--transition);
  filter: brightness(0) invert(1);
}
#mainNav.scrolled .navbar-brand img {
  height: 38px;
  /* Full color logo on solid navy bg — teal reads perfectly, invert navy to white */
  filter: none;
}
.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 16px !important;
  transition: color var(--transition);
}
#mainNav.scrolled .navbar-nav .nav-link {
  color: var(--navy) !important;
}
#mainNav .navbar-nav .nav-link:hover {
  color: var(--teal) !important;
}
.navbar-toggler {
  border-color: var(--teal);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,184,160,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
#home {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 100px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero2.jpg");
  background-size: cover;
  background-position: right center;
  opacity: 0.13;
  transform: scaleX(-1);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 184, 160, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 160, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(0, 184, 160, 0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--teal);
}
.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.btn-teal {
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid var(--teal);
  border-radius: 3px;
  transition: all var(--transition);
  display: inline-block;
}
.btn-teal:hover {
  background: transparent;
  color: var(--teal);
  text-decoration: none;
}
.btn-outline-hero {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  transition: all var(--transition);
  display: inline-block;
}
.btn-outline-hero:hover {
  border-color: var(--white);
  color: var(--white);
  text-decoration: none;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.stat-item {
  text-align: left;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.hero-badge {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  z-index: 2;
  display: none;
}
@media (min-width: 992px) {
  .hero-badge {
    display: block;
  }
}
.hero-img-card {
  background: var(--steel);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  position: relative;
}
.hero-img-card img {
  width: 100%;
  display: block;
  opacity: 0.9;
}
.hero-img-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 184, 160, 0.2), transparent);
  z-index: 1;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--teal);
  padding: 18px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  justify-content: center;
}
.trust-item i {
  font-size: 1.1rem;
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--navy);
}
.section-title.light {
  color: var(--white);
}
.title-underline {
  display: inline-block;
  height: 4px;
  width: 60px;
  background: var(--teal);
  margin: 18px 0 24px;
  border-radius: 2px;
}
.section-intro {
  font-size: 1.05rem;
  color: #4a5d6e;
  line-height: 1.75;
  max-width: 600px;
}

/* ===== SERVICES ===== */
#services {
  background: var(--light);
}
.service-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.13);
}
.service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img {
  transform: scale(1.08);
}
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 22, 40, 0.5)
  );
}
.service-body {
  padding: 20px 22px 24px;
}
.service-body h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-body p {
  font-size: 0.88rem;
  color: #5a6a7a;
  line-height: 1.6;
  margin: 0;
}
.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 184, 160, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 1.1rem;
}

/* ===== ABOUT ===== */
#about {
  background: var(--white);
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  display: block;
  width: 100%;
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--teal);
  color: var(--navy);
  padding: 20px 24px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 184, 160, 0.5);
  line-height: 1.2;
  text-align: center;
}
.about-badge span {
  font-size: 2.6rem;
  display: block;
  line-height: 1;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding: 8px 0;
  font-size: 0.97rem;
  color: #4a5d6e;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-list li i {
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== INDUSTRIES ===== */
#industries {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#industries::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 184, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 160, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.industry-item {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  text-align: center;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.03);
  cursor: default;
}
.industry-item:hover {
  border-color: var(--teal);
  background: rgba(0, 184, 160, 0.08);
  transform: translateY(-4px);
}
.industry-item i {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}
.industry-item h6 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

/* ===== PRODUCTS ===== */
#products {
  background: var(--light);
}
.product-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px;
  border-left: 4px solid var(--teal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: all var(--transition);
  height: 100%;
}
.product-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.13);
  transform: translateY(-4px);
  background: var(--navy);
}
.product-card:hover h5 {
  color: var(--white);
}
.product-card:hover p {
  color: rgba(255, 255, 255, 0.6);
}
.product-card h5 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  transition: color var(--transition);
}
.product-card p {
  transition: color var(--transition);
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.product-tag {
  background: rgba(0, 184, 160, 0.1);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid rgba(0, 184, 160, 0.25);
  transition: all var(--transition);
}
.product-card:hover .product-tag {
  background: rgba(0, 184, 160, 0.2);
  border-color: rgba(0, 184, 160, 0.5);
}
.product-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  position: relative;
}
.product-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 184, 160, 0.15), transparent 60%);
}
.product-img-wrap img {
  height: 380px;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* ===== WHY US ===== */
#why {
  background: var(--light);
}
.why-item {
  padding: 36px 32px;
  border-radius: 6px;
  background: var(--white);
  border-bottom: 4px solid transparent;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  height: 100%;
}
.why-item:hover {
  border-bottom-color: var(--teal);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.why-num {
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
  transition: opacity var(--transition);
}
.why-item:hover .why-num {
  opacity: 0.4;
}
.why-item h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-item p {
  font-size: 0.9rem;
  color: #5a6a7a;
  line-height: 1.65;
  margin: 0;
}

/* ===== CTA BANNER ===== */
#cta {
  background: var(--teal);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
#cta::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -100px;
  right: -100px;
}
#cta::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -80px;
  left: 5%;
}
.cta-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.05;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(10, 22, 40, 0.75);
  margin-top: 12px;
}
.btn-cta {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 2px solid var(--navy);
  border-radius: 3px;
  transition: all var(--transition);
  display: inline-block;
}
.btn-cta:hover {
  background: transparent;
  color: var(--navy);
  text-decoration: none;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--navy2);
}
.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 184, 160, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 184, 160, 0.3);
}
.contact-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 4px;
}
.contact-value {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
.contact-form .form-control {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.95rem;
  padding: 13px 16px;
  transition:
    border-color var(--transition),
    background var(--transition);
}
.contact-form select.form-control {
  padding: 0 12px;
}
.contact-form select.form-control option {
  color: #000;
}
.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 184, 160, 0.15);
  color: var(--white);
}
.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.contact-form label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
#formStatus {
  font-size: 0.9rem;
  margin-top: 12px;
  min-height: 22px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 50px 0 0;
}
.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 280px;
}
.footer-heading {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--teal);
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}
.teal-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 8px;
}

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(0, 184, 160, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  cursor: pointer;
  z-index: 999;
  border: none;
}
#scrollTop.show {
  opacity: 1;
  visibility: visible;
}
#scrollTop:hover {
  background: var(--teal2);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 {
  transition-delay: 0.1s;
}
.fade-up-delay-2 {
  transition-delay: 0.2s;
}
.fade-up-delay-3 {
  transition-delay: 0.3s;
}
.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .section-pad {
    padding: 65px 0;
  }
  .hero-stats {
    gap: 24px;
  }
  .about-badge {
    bottom: 12px;
    right: 12px;
    padding: 16px;
  }
  .about-badge span {
    font-size: 2rem;
  }
  .navbar-nav .nav-link {
    padding: 8px 0 !important;
  }
}
/* Wider breathing room for large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1480px;
  }
}
/* Footer logo — white version on dark bg */
.footer-logo {
  height: 48px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
