/* ==========================================================================
   Evercrest Impex Ltd. - Executive Design System (2026 Theme)
   ========================================================================== */

:root {
  --navy: #0b2b72;
  --navy-dark: #06183f;
  --navy-light: #1642a4;
  --gold: #b77917;
  --gold-light: #d7a446;
  --gold-glow: rgba(183, 121, 23, 0.12);
  --ink: #0f172a;
  --muted: #64748b;
  --soft-bg: #f8fafc;
  --card-border: #e2e8f0;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header Navigation Bar */
.navbar {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  transition: all 0.3s ease;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img.header-icon {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar-brand img.header-logo {
  height: 70px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
}

.navbar .nav-link {
  color: var(--navy-dark);
  font-weight: 650;
  font-size: 13px !important;
  padding: 4px 6px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  display: inline-block !important;
  word-break: keep-all !important;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--gold);
  background-color: rgba(183, 121, 23, 0.06);
}

.btn-nav-profile {
  font-size: 13px !important;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 0.4rem;
  white-space: nowrap !important;
  background: var(--gold);
  color: #ffffff;
  border: 1px solid var(--gold);
  box-shadow: 0 2px 8px rgba(183, 121, 23, 0.2);
  transition: all 0.2s ease;
}

.btn-nav-profile:hover {
  background: #9b6411;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(183, 121, 23, 0.3);
}

.btn-brand {
  background: var(--gold);
  color: #ffffff;
  border: 1px solid var(--gold);
  padding: 0.75rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(183, 121, 23, 0.2);
}

.btn-brand:hover {
  background: #9b6411;
  color: #ffffff;
  border-color: #9b6411;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(183, 121, 23, 0.3);
}

.btn-outline-brand {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 0.75rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 700;
  background: transparent;
}

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

/* Subpage Header Banner */
.page-hero {
  margin-top: 54px;
  position: relative;
  background: var(--navy-dark);
  padding: 85px 0 65px;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.page-hero-title {
  color: #ffffff !important;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
  max-width: 750px;
  line-height: 1.6;
}

.eyebrow-hero {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--gold-light);
  background: rgba(215, 164, 70, 0.18);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  border: 1px solid rgba(215, 164, 70, 0.35);
}

/* Eyebrows & Section Typography */
.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  border: 1px solid rgba(183, 121, 23, 0.22);
}

.section-space {
  padding: 90px 0;
}

.bg-soft {
  background: var(--soft-bg);
}

.section-title {
  font-weight: 850;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 700px;
}

/* Hero Slider Section */
.hero-slider-section {
  margin-top: 54px;
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-slide-item {
  min-height: 600px;
  position: relative;
  display: flex !important;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  padding-top: 65px;
  padding-bottom: 85px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.14;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 650px;
  line-height: 1.6;
}

.hero-infographic-card {
  position: relative;
  z-index: 3;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(215, 164, 70, 0.35);
  background: #ffffff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-infographic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(183, 121, 23, 0.22);
}

.hero-infographic-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating Performance Stats Strip */
.floating-stat-strip {
  position: relative;
  z-index: 10;
  margin-top: -45px;
  margin-bottom: 25px;
}

.stat-glass-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.stat-glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11, 43, 114, 0.1);
  border-color: var(--gold-light);
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 850;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-dark);
  margin-top: 0.4rem;
}

/* Service Cards */
.service-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.85rem 1.5rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 43, 114, 0.1);
  border-color: rgba(183, 121, 23, 0.35);
}

.icon-box-lg {
  width: 52px;
  height: 52px;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: rgba(183, 121, 23, 0.12);
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
}

.service-card:hover .icon-box-lg {
  background: var(--navy);
  color: #ffffff;
}

.card-step-number {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1rem;
  font-weight: 850;
  color: #cbd5e1;
}

/* Product Cards */
.product-card-modern {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-modern:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Executive Team Cards */
.team-card-modern {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(11, 43, 114, 0.1);
  border-color: var(--gold);
}

.team-avatar-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(11, 43, 114, 0.22);
  border: 3px solid #ffffff;
  outline: 2.5px solid var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}

.team-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-dark);
  margin-bottom: 0.2rem;
}

.team-role-pill {
  display: inline-block;
  background: var(--gold-glow);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(183, 121, 23, 0.2);
}

.team-contact-info {
  border-top-color: #e2e8f0 !important;
}

.team-contact-link {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  word-break: break-all;
}

.team-contact-link:hover {
  color: var(--gold);
}

/* Partner & Client Badges */
.partner-badge-modern {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 0.65rem;
  padding: 0.8rem 1rem;
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.partner-badge-modern:hover {
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(183, 121, 23, 0.12);
}

.partner-badge-modern i {
  color: var(--gold);
  font-size: 1rem;
}

.serve-box-modern {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 0.85rem;
  padding: 1.35rem 0.85rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-dark);
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.serve-box-modern:hover {
  background: var(--navy-dark);
  color: #ffffff;
  border-color: var(--navy-dark);
  transform: translateY(-4px);
}

.serve-box-modern:hover i {
  color: var(--gold-light) !important;
}

/* Quote Card & CTA Banner */
.quote-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf2 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(183, 121, 23, 0.06);
  border-top: 1px solid rgba(183, 121, 23, 0.12);
  border-right: 1px solid rgba(183, 121, 23, 0.12);
  border-bottom: 1px solid rgba(183, 121, 23, 0.12);
}

.cta-banner-modern {
  background: linear-gradient(125deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  border-radius: 1.2rem;
  padding: 3.25rem 2.75rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(7, 29, 79, 0.25);
}

/* Footer Styling */
footer {
  background: #06183f;
  color: rgba(255, 255, 255, 0.78);
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

footer a {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-logo {
  background: #ffffff;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  max-width: 200px;
}

/* Responsive Styles */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link {
    font-size: 13px !important;
    padding: 3px 4px !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
    border-radius: 0.6rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
  }

  .navbar .nav-link {
    font-size: 0.95rem;
    padding: 0.6rem 0.75rem !important;
    white-space: normal !important;
    border-bottom: 1px solid #f1f5f9;
  }

  .btn-nav-profile {
    width: 100%;
    justify-content: center;
    margin-top: 0.85rem;
  }

  .hero-slide-item {
    min-height: 500px;
  }

  .hero-content-wrap {
    padding-top: 45px;
    padding-bottom: 55px;
  }

  .section-space {
    padding: 60px 0;
  }
}