/* ========================================
   NEWLEAD Bootstrap 5 Custom Styles
   ======================================== */

:root {
  --primary-red: #dc9200;
  --dark-text: #1a1a1a;
  --muted: #6c757d;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--dark-text);
  overflow-x: hidden;
}

h1, h2, h3, .display-2, .display-4, .display-5 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
    padding-top: 0;
    padding-bottom: 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
    padding-top: 0;
    padding-bottom: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem !important;
  position: relative;
}

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

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary-red);
}

.btn-danger {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: #c4181e;
  border-color: #c4181e;
}

/* Hero */
.hero-section {
  position: relative;
  padding: 6rem 0 8rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.min-vh-75 {
  min-height: 65vh;
}

.hero-title {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title .text-danger {
  color: var(--primary-red) !important;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-social {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.hero-social a {
  text-decoration: none;
  transition: color 0.2s;
}

.hero-social a:hover {
  color: var(--primary-red) !important;
}

/* Letter spacing helper */
.letter-spacing {
  letter-spacing: 0.12em;
}

/* Solutions / Product cards */
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 0.5rem;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

.product-card .card-title {
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Solution grid items */
.solution-item {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.solution-item:hover {
  border-color: rgba(227, 28, 35, 0.15);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.solution-item .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(227, 28, 35, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.4rem;
}

.solution-item h6 {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.35;
}

/* Stats */
.stat-box h3 {
  font-variant-numeric: tabular-nums;
}

/* Industry cards */
.industry-card {
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
}

.industry-card .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industry-card:hover .card-img-top {
  transform: scale(1.04);
}

.industry-card .card-body {
  padding: 1.25rem 1.5rem;
}

/* Testimonials */
.testimonial-card {
  border-radius: 0.75rem;
  transition: transform 0.25s ease;
}

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

.avatar {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact form */
#contactForm .form-control {
  border-radius: 0.375rem;
  padding: 0.7rem 1rem;
}

#contactForm .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(227, 28, 35, 0.15);
}

/* Footer */
footer a:hover {
  color: #fff !important;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 4rem 0 5rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .navbar-nav .nav-link.active::after {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .display-5 {
    font-size: 2rem;
  }
}




/* ========== PARTNERS SECTION ========== */
.partners-section {
  background-color: #f7f7f7;
}

.partners-section .letter-spacing {
  letter-spacing: 0.12em;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem 1.5rem;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo img {
  max-width: 130px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.partner-text small {
  font-size: 0.7rem;
  font-weight: 500;
  display: block;
  margin-top: 2px;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1rem;
  }
  .partner-logo {
    height: 50px;
  }
  .partner-logo img {
    max-width: 110px;
    max-height: 36px;
  }
}

@media (max-width: 575.98px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.nav_logo img{
    width: 120px;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #dc9200;
    --bs-btn-border-color: #dc9200;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #dc9200;
    --bs-btn-hover-border-color: #dc9200;
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #dc9200;
    --bs-btn-active-border-color: #dc9200;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #dc9200;
    --bs-btn-disabled-border-color: #dc9200;
}


.text-danger {
    --bs-text-opacity: 1;
    color: #dc9200 !important;
}



.bg-welly {
  background-image: url('../img/bg-slim.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0a1630; /* fallback */
  color: #fff;
  position: relative;
      border-top: 1px solid #ffffff1c;
}

/* Optional: soft dark overlay so text stays readable */
.bg-welly::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 15, 40, 0.55) 0%,
    rgba(5, 15, 40, 0.35) 50%,
    rgba(5, 15, 40, 0.6) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Make sure content sits above the overlay */
.bg-welly > * {
  position: relative;
  z-index: 1;
}

/* Gold text (matches the logo color in the image) */
.bg-welly .text-gold {
  color: #c9a84c;
}

.bg-welly .text-gold-light {
  color: #e8d5a3;
}





















.bg-welly2 {
  /* background-image: url('../img/bg-slim.jpg'); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;          /* ← parallax effect */
  background-color: #0a1630;             /* fallback */
  color: #fff;
  position: relative;
  overflow: hidden;                      /* prevents horizontal scroll on some browsers */
}

/* Soft dark overlay so text stays readable */
.bg-welly2::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    180deg,
    rgba(5, 15, 40, 0.55) 0%,
    rgba(5, 15, 40, 0.35) 50%,
    rgba(5, 15, 40, 0.6) 100%
  ); */
  pointer-events: none;
  z-index: 0;
}

/* Content stays above the overlay */
.bg-welly2 > * {
  position: relative;
  z-index: 1;
}

/* Gold text helpers */
.bg-welly2 .text-gold {
  color: #c9a84c;
}

.bg-welly2 .text-gold-light {
  color: #e8d5a3;
}

/* ---------- Mobile fix (parallax is often disabled on mobile) ---------- */
@media (max-width: 991.98px) {
  .bg-welly2 {
    background-attachment: scroll;       /* better performance & no lag on phones */
  }
}


.bg-danger {
    --bs-bg-opacity: 1;
    background-color:#dc9200 !important;
}










/* Custom Dropdown Box */
.top-pointer-dropdown {
  position: relative;
  margin-top: 12px; /* Space for the top arrow */
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  overflow: visible !important; /* Ensures the top arrow isn't clipped */
}

/* Top Pointer/Arrow Design using ::before */
.top-pointer-dropdown::before {
  content: "";
  position: absolute;
  top: -6px; /* Position above the dropdown menu */
  left: 20px; /* Distance from the left edge */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff; /* Pointer fill color */
  filter: drop-shadow(0 -2px 1px rgba(0, 0, 0, 0.05)); /* Subtle shadow matching border */
  transition: transform 0.2s ease;
}

/* Desktop Hover & Fade-in Animation */
@media (min-width: 992px) {
  .hover-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }


  .hover-dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease-in-out;
  }

  /* Optional: Slight lift effect on the top pointer on hover */
  .hover-dropdown:hover .top-pointer-dropdown::before {
    transform: translateY(-1px);
  }
}

/* Dropdown Menu Item Styling */
.top-pointer-dropdown .dropdown-item {
  color: #334155;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.top-pointer-dropdown .dropdown-item:hover {
  background-color: #dc92003b;
  color: #333;
}
.dropdown-item:focus, .dropdown-item:hover {
  color: var(--bs-dropdown-link-hover-color);
  background-color: #dc92002b;
}
.btn-danger:hover, .btn-danger:focus {
  background-color: #dc9200;
  border-color: #dc9200;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
  position: absolute;
  top: 48px;
  /* border-radius: 0 0 5px 5px; */
  left: 15px;
  padding: 0;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: #dc9200  !important;
  color: #fff !important;
}

.navbar-expand-lg .navbar-nav .dropdown-menu  li{
  margin-bottom: 5px;
}
.dropdown-item {
    font-size: 15px;
}
.my-4 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.footer_wrapper h6{
  text-transform: uppercase;
}