body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9fafb;
    color: #212529;
    margin: 0;
}

/* Basic utility styles */
h1, h2, h3, h4, h5 {
    font-weight: 700;
}

a {
    text-decoration: none;
}

.btn {
  border-radius: 0 !important; /* Use !important if needed to override Bootstrap's default styles */
}

@media (min-width: 1280px) {
    .container {
    max-width: 1280px;
    }
}

/* === NAVBAR === */
.navbar-custom {
    background: transparent;
    padding: var(--nav-padding-y, 1rem) var(--nav-padding-x, 2rem);
    transition: all 0.3s ease;
}

.navbar-brand {
  position: relative;
  display: inline-block;
  width: auto;
  height: 48px; /* match your logo height */
}

.navbar-brand img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  transition: opacity 0.3s ease;
}

/* Initial states */
.logo-light {
  opacity: 1;
}

.logo-dark {
  opacity: 0;
}

/* When navbar is scrolled */
.navbar.scrolled .logo-light {
  opacity: 0;
}

.navbar.scrolled .logo-dark {
  opacity: 1;
}

/* Example: Sticky with blur effect when scrollin g */
.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar-custom.scrolled .nav-link {
  color: black !important;
}

.navbar-custom.scrolled .navbar-toggler-icon {
  filter: invert(1);
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #ED1C24 !important;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  #navbarNav .navbar-nav {
    align-items: start !important;
    text-align: start;
    gap: 0.5rem; /* spacing between items */
    margin-top: 0.5rem;
  }

  #navbarNav .nav-item {
    margin-right: 0 !important;
  }

  #navbarNav .btn {
    width: 100%; /* make the button align nicely with links */
    margin-top: 0.5rem;
  }
}

.footer-link {
  color: #fff !important;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #dc3545 !important; /* red hover color */
}

/* MAIN PAGE */
.hero {
  height: 100vh;
  background: url("images/hero-back.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

/* Optional: add a soft dark overlay for text visibility */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Logo wall */
.customer-logos {
  row-gap: 1rem;            /* vertical spacing between rows */
}

/* Each logo image */
.logo-img {
  max-height: 48px;         /* ← keeps every logo small */
  max-width: 140px;         /* ← prevents super wide logos */
  width: auto;              /* preserve aspect ratio */
  height: auto;
  object-fit: contain;
  display: block;

  filter: grayscale(100%);  /* grayscale by default */
  opacity: 0.8;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
}

.logo-img:hover {
  filter: none;             /* show color on hover */
  opacity: 1;
  transform: translateY(-2px);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem; /* smaller icon size */
  flex-shrink: 0; /* prevents shrinking when text wraps */
}

/* ABOUT PAGE */
/* --- About Section Styling --- */
.about-section .hero-about {
  height: 80vh; 
  background: url("images/about-back.jpg") center/cover no-repeat;
}

.about-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
}

.about-section .experience-badge {
  bottom: 0px;
  left: 0px;
  width: 120px;
}

.about-section .col-lg-6 {
  position: relative;
  overflow: hidden; /* hides cropped sides */
  height: 100%;     /* matches parent column height */
}

.about-section .col-lg-6 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills full height, crops sides */
  object-position: 70% center; /* adjust focus: left, right, top, bottom, or percentage */
  border-radius: 8px;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .about-section .hero-about {
    height: auto;
    padding: 100px 0;
  }

  .about-section .experience-badge {
    position: relative;
    margin-top: 20px;
    left: 0;
  }
}

/* === TEAM SECTION === */
.team-section .team-card {
  position: relative;
  text-align: left;
  overflow: hidden;
}

/* Default and hover images stacked */
.team-section .team-photo {
  width: 100%;
  height: 750px;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid #dc3545;
  border-radius: 0;
  background-color: #f8f9fa;
  display: block;
  transition: opacity 0.4s ease;
}

/* Large version */
.team-section .team-photo-large {
  width: 100%;
  height: 750px;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid #dc3545;
  border-radius: 0;
  background-color: #f8f9fa;
  transition: opacity 0.4s ease;
}

/* Layering */
.team-section .team-photo-front {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.team-section .team-photo-back {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}

/* Hover effect (image swap) */
.team-section .team-card:hover .team-photo-front {
  opacity: 0;
}

.team-section .team-card:hover .team-photo-back {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .team-section .team-photo {
    height: 240px;
  }

  .team-section .team-photo-large {
    height: 300px;
  }
}


.cta-section .cta-image {
  width: 100%;
  height: 296.4px;
  object-fit: cover;
  object-position: center;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .cta-section .cta-image {
    height: 220px;
  }

  .cta-section .bg-danger {
    text-align: center;
  }
}

/* ===== FLUOLUXUS TIMELINE FIXED ===== */
.flx-tl__wrap {
  position: relative;
  display: grid;
  row-gap: 4rem;
  padding: 0 1rem;
}

.flx-tl__wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #f1b8be;
}

.flx-tl__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  column-gap: 2rem;
}

.flx-tl__card {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  max-width: 560px;
  width: 100%;
}

.flx-left .flx-tl__card {
  grid-column: 1;
  justify-self: end;
}
.flx-right .flx-tl__card {
  grid-column: 3;
  justify-self: start;
}

.flx-tl__dot {
  grid-column: 2;
  justify-self: center;
  width: 14px;
  height: 14px;
  border: 3px solid #dc3545;
  background: #fff;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(220,53,69,.08);
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  /* Hide the dots completely */
  .flx-tl__dot {
    display: none !important;
  }

  /* Shift timeline line slightly left for a clean margin */
  .flx-tl__wrap::before {
    left: 0;
    transform: none;
    width: 2px;
    background: #dc3545;
  }

  /* Stack everything neatly */
  .flx-tl__row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;  /* right align */
    position: relative;
  }

  /* All cards take full width but aligned to the right */
  .flx-tl__card {
    width: 90%;
    max-width: 600px;
    text-align: left;
  }
}


/* Solutions section */
.solutions-hero {
  background: url('images/solutions-back.jpg') center center / cover no-repeat;
  min-height: 100vh;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.solutions-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* dark overlay for contrast */
  z-index: 1;
}

/* Bring text & image forward */
.solutions-hero .container {
  position: relative;
  z-index: 2;
}

/* Inner image box */
.hero-inner-img {
  max-width: 800px;
  margin: 0 auto; /* centers image */
}

/* Responsive */
@media (max-width: 992px) {
  .solutions-hero {
    padding: 6rem 1.5rem;
    text-align: center;
  }

  .hero-inner-img {
    margin-top: 2rem;
  }
}

.card-img-top {
    height: 260px;
    object-fit: cover;
    border-bottom: 3px solid #dc3545;
}

@media (max-width: 768px) {
    .card-img-top {
        height: 200px;
    }
}

/* Section spacing adjustments */
section .row + .row {
  margin-top: 5rem;
}

/* Image uniformity */
section img {
  object-fit: cover;
  height: 320px;
}

/* Responsive */
@media (max-width: 768px) {
  section img {
    height: auto;
  }
}

/* === Process Section === */
.process-section {
  background-color: #fff;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #e5e5e5;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fff;
}

.process-item:hover,
.process-item.active {
  border-color: #ed1c24;
  background-color: #fff6f6;
}

.process-number {
  background-color: #ed1c24;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-image img {
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 991.98px) {
  .process-section .row {
    flex-direction: column;
  }

  .process-image {
    margin-top: 2rem;
  }

  .process-image h5,
  .process-image p {
    text-align: left;
  }
}


/* CUSTOMERS SECTION */
.customers-hero {
  background: url('images/customers-back.jpg') center center / cover no-repeat;
  min-height: 100vh;              /* take full screen height */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;        /* content starts from top area */
  padding: 7rem 1rem 5rem;        /* top space for navbar overlap, bottom space after video */
}

/* Dark overlay */
.customers-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content on top of overlay */
.customers-hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Video wrapper */
.customers-video-wrapper {
  max-width: 1000px;               /* smaller video width */
  margin: 2rem auto 0;            /* space above video, can also add bottom if needed */
  border-radius: 6px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .customers-hero {
    padding: 6rem 1rem 4rem;      /* slightly tighter on mobile */
  }

  .customers-video-wrapper {
    max-width: 100%;              /* full width on mobile */
  }
}


/* === CLIENT SECTION === */
.client-box {
  background: #fff;
  width: 100%;
  aspect-ratio: 1 / 1;       /* makes it perfectly square */
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Logo stays full color */
.client-logo {
  max-width: 70%;             /* fixed width inside box */
  max-height: 70%;            /* keeps height consistent */
  object-fit: contain;
  transition: all 0.4s ease;
}

.client-box:hover .client-logo {
  transform: scale(1.03);
}

/* White Gradient Overlay */
.overlay-gradient {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.7), transparent); */
  background: linear-gradient(to top, rgba(56, 56, 56, 0.95), rgba(153, 153, 153, 0.7), transparent);
  color: #000;
  display: flex;
  justify-content: center;
  align-items: end;
  opacity: 0;
  transition: all 0.45s ease;
}

.client-box:hover .overlay-gradient {
  bottom: 0;
  opacity: 1;
}

/* Overlay Text */
.overlay-gradient span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .client-box {
    height: 140px;
  }

  .overlay-gradient span {
    font-size: 0.9rem;
  }
}
  
/* Responsive */
@media (max-width: 576px) {
  .customers-hero {
    min-height: 60vh;
    text-align: center;
    padding: 4rem 1rem;
  }
}

/* Contact PAGE */
.contact-intro-divider {
  width: 36px;
  height: 2px;
  background: #dc3545;
}

.contact-intro .contact-card {
  background: #f2f4f6;           /* soft grey like your mock */
  border: 1px solid #e9ecef;     /* subtle edge */
}

.contact-intro .icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  font-size: 1.25rem;
}

.contact-intro .contact-link {
  color: #dc3545;
  text-decoration: none;
  font-weight: 600;
}

.contact-intro .contact-link:hover {
  text-decoration: underline;
}

/* Responsive headline sizing */
@media (max-width: 768px) {
  .contact-intro h1 {
    font-size: 2.25rem; /* down from display-3 for mobile */
  }
}

/* Contact Form Section */
.contact-form-section {
  background-color: #fff;
}

.map-wrapper {
  height: 100%;
  min-height: 450px;
}

.contact-form .form-label {
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form .form-control {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

.contact-form .form-check-label a {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .map-wrapper {
    min-height: 300px;
  }
  .contact-form .card-body {
    padding: 2rem;
  }
}
