
/* =========================================
   GLOBAL
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #111;
}

a {
  text-decoration: none;
}

/* =========================================
   CONTAINER (MAIN ALIGNMENT SYSTEM)
========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
/* =========================================
   NAVBAR (ALIGNED WITH CONTAINER)
========================================= */
.navbar {
  width: 100%;
  z-index: 10;
}

/* =========================================
   MOBILE HERO
========================================= */

@media (max-width:768px){

  .products-hero{
    height:auto;
    padding:140px 20px 70px;
  }

  .products-hero h1{
    font-size:32px;
    line-height:1.3;
  }

  .hero-desc{
    font-size:15px;
  }

}
/* =========================================
   MOBILE FILTERS
========================================= */

@media (max-width:768px){

  .filters{
    margin-top:-30px;
    padding:20px;
    border-radius:16px;
  }

  .filters-container{
    flex-direction:column;
    gap:14px;
  }

  .filters input,
  .filters select,
  .filters button{
    width:100%;
  }

}
/* =========================================
   MOBILE PROJECTS GRID
========================================= */

@media (max-width:768px){

  .products-page{
    padding:50px 20px;
  }

  .products-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .product-card-v2,
  .product-card{
    border-radius:16px;
  }

  .product-image img{
    height:220px;
  }

  .product-body{
    padding:18px;
  }

  .product-details{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

}
/* =========================================
   MOBILE CTA
========================================= */

@media (max-width:768px){

  .cta-section{
    padding:70px 20px;
  }

  .cta-section h2{
    font-size:28px;
    line-height:1.3;
  }

  .cta-section p{
    font-size:15px;
  }

  .cta-section .btn-primary{
    width:100%;
    max-width:300px;
  }

}
/* DROPDOWN WRAPPER */
.dropdown {
  position: relative;
}

/* MENU */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;

  min-width: 100px;
  padding: 10px 0;

  background: rgba(15, 26, 44, 0.96);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.25);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.25s ease;
  z-index: 100;
}

/* SHOW */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ITEMS */
.dropdown-menu li {
  list-style: none;
}

/* LINKS */
.dropdown-menu a {
  display: block;
  padding: 12px 18px;

  color: #e2e8f0;
  font-size: 14px;

  transition: 0.25s ease;
}

/* HOVER */
.dropdown-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: #ff7a00;
}
.navbar.transparent {
  position: absolute;
  top: 0;
  color: white;
}

.navbar.dark {
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(10px);
  color: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 🔥 IMPORTANT: alignment happens here */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO CONTAINER */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 🔥 NEW ICON (CIRCLE + ENGINEERING STYLE) */
.logo-icon {
  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  color: white;
  font-size: 14px;

  position: relative;
  overflow: hidden;
}

/* subtle engineering lines (unique touch) */
.logo-icon::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: rgba(255,255,255,0.3);
  transform: rotate(45deg);
}

.logo-icon::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  transform: rotate(-45deg);
}

/* TEXT */
.logo-text strong {
  font-size: 16px;
}

.logo-text small {
  font-size: 10px;
  color: #aaa;
}
/* =========================================
   NAVBAR MENU (CLEAN + UNIQUE)
========================================= */



/* =========================================
   GLOBAL
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #111;
}

a {
  text-decoration: none;
}

/* =========================================
   CONTAINER (MAIN ALIGNMENT SYSTEM)
========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
/* =========================================
   NAVBAR (ALIGNED WITH CONTAINER)
========================================= */
.navbar {
  width: 100%;
  z-index: 10;
}
/* =========================================
   MOBILE NAVBAR
========================================= */

.menu-toggle{
  display:none;
}

@media (max-width:768px){

  .navbar{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:999;
  }

  .navbar .container{
    height:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 20px;

    flex-wrap:wrap;
  }

  /* LOGO */
  .logo-text small{
    display:none;
  }

  /* HAMBURGER */
  .menu-toggle{
    display:block;
    font-size:32px;
    color:white;
    cursor:pointer;
  }

  /* NAV */
  nav{
    width:100%;
    display:none;

    background:#0f1a2c;

    margin-top:20px;
    padding:20px 0;

    border-radius:14px;
  }

  nav.active{
    display:block;
  }

  .navbar ul{
    flex-direction:column;
    align-items:center;

    gap:20px;

    margin:0;
  }

  .btn-devis{
    display:none;
  }

}
/* =========================================
   MOBILE HERO
========================================= */

@media (max-width:768px){

  .products-hero{
    height:auto;
    padding:140px 20px 70px;
  }

  .products-hero h1{
    font-size:32px;
    line-height:1.3;
  }

  .hero-desc{
    font-size:15px;
  }

}
/* =========================================
   MOBILE FILTERS
========================================= */

@media (max-width:768px){

  .filters{
    margin-top:-30px;
    padding:20px;
    border-radius:16px;
  }

  .filters-container{
    flex-direction:column;
    gap:14px;
  }

  .filters input,
  .filters select,
  .filters button{
    width:100%;
  }

}
/* =========================================
   MOBILE PROJECTS GRID
========================================= */

@media (max-width:768px){

  .products-page{
    padding:50px 20px;
  }

  .products-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .product-card-v2,
  .product-card{
    border-radius:16px;
  }

  .product-image img{
    height:220px;
  }

  .product-body{
    padding:18px;
  }

  .product-details{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

}
/* =========================================
   MOBILE CTA
========================================= */

@media (max-width:768px){

  .cta-section{
    padding:70px 20px;
  }

  .cta-section h2{
    font-size:28px;
    line-height:1.3;
  }

  .cta-section p{
    font-size:15px;
  }

  .cta-section .btn-primary{
    width:100%;
    max-width:300px;
  }

}
/* DROPDOWN WRAPPER */
.dropdown {
  position: relative;
}

/* MENU */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;

  min-width: 220px;
  padding: 10px 0;

  background: rgba(15, 26, 44, 0.96);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.25);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.25s ease;
  z-index: 100;
}

/* SHOW */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ITEMS */
.dropdown-menu li {
  list-style: none;
}

/* LINKS */
.dropdown-menu a {
  display: block;
  padding: 12px 18px;

  color: #e2e8f0;
  font-size: 14px;

  transition: 0.25s ease;
}

/* HOVER */
.dropdown-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: #ff7a00;
}
.navbar.transparent {
  position: absolute;
  top: 0;
  color: white;
}

.navbar.dark {
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(10px);
  color: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 🔥 IMPORTANT: alignment happens here */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO CONTAINER */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 🔥 NEW ICON (CIRCLE + ENGINEERING STYLE) */
.logo-icon {
  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  color: white;
  font-size: 14px;

  position: relative;
  overflow: hidden;
}

/* subtle engineering lines (unique touch) */
.logo-icon::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: rgba(255,255,255,0.3);
  transform: rotate(45deg);
}

.logo-icon::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  transform: rotate(-45deg);
}

/* TEXT */
.logo-text strong {
  font-size: 16px;
}

.logo-text small {
  font-size: 10px;
  color: #aaa;
}
/* =========================================
   NAVBAR MENU (CLEAN + UNIQUE)
========================================= */

/* MENU LAYOUT */
.navbar ul {
  display:flex;
  align-items:center;

  list-style:none;

  gap:28px;

  margin:0;
  padding:0;
}

@media (min-width:769px){

  nav{
    flex:1;
    display:flex;
    justify-content:center;
  }

}

/* LINKS */
.navbar a {
  position: relative;
  color: inherit;
  font-size: 14px;
  padding: 5px 0;
  transition: 0.3s ease;
}

/* 🔥 UNDERLINE ANIMATION (CENTER OUT) */
.navbar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ff7a00;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

/* HOVER + ACTIVE */
.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* =========================================
   BUTTON (UNIQUE STYLE)
========================================= */

.btn-devis {
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);
  padding: 10px 22px;
  border-radius: 30px;
  color: white;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* HOVER EFFECT */
.btn-devis:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,122,0,0.4);
}


/* SMALL TITLE */
.hero-tag {
  color: #ff7a00;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* =========================================
   PRODUCTS HERO (FIXED - MATCH SERVICES)
========================================= */
.products-hero {
  height: 380px;

  display: flex;
  align-items: center;

  /* SAME STYLE AS SERVICES (important) */
  background:
    linear-gradient(110deg, rgba(5,15,35,0.9) 35%, rgba(5,15,35,0.6) 100%),
    url("../images/products/blueprint.jpg") center/cover no-repeat;

  color: white;
  position: relative;
  overflow: hidden;

  animation: fadeInHero 1s ease-in-out;
}

/* REMOVE overlay div effect (cleaner) */
.products-hero .overlay {
  display: none;
}

/* subtle pattern (keep - it's good) */
.products-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 6px
  );

  pointer-events: none;
}

/* ALIGN LIKE SERVICES */
.products-hero .container {
  width: 100%;
}

/* HERO CONTENT */
.products-hero .hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;

  text-align: left; /* 🔥 IMPORTANT FIX */
}

/* TITLE */
.products-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* ORANGE LINE */
.products-hero h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, #ff7a00, transparent);
  margin-top: 15px;
}

/* DESCRIPTION */
.products-hero .hero-desc {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.6;
}



.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* INFO */
.product-info {
  padding: 15px;
}

.product-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 14px;
  color: #555;
}

/* PRICE */
.product-info strong {
  color: #0077cc;
}
.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* 🔥 THIS FIXES EVERYTHING */
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.product-meta {
  font-size: 13px;
  color: #444;
  margin-top: 5px;
}

.product-info .btn-primary {
  margin-top: 10px; /* 🔥 push it away */
  align-self: flex-start; /* keeps it clean left */
}
/* DETAILS */
.details {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: #444;
}
/* FILTERS */
.filters {
  position: relative;
  z-index: 10;
  background: white;
  padding: 20px;
  margin-top: -50px; /* pulls it slightly over hero */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.filters-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filters input,
.filters select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.filters button {
  background: #ff7a00;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

/* GRID */
.products-page {
  padding: 60px 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}


/* LOAD MORE */
.load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more button {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: black;
  color: white;
  cursor: pointer;
}

.product-body {
  padding: 15px;
}

.product-price span {
  color: #ff7a00;
  font-weight: bold;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 10px 15px;
  background: #ff7a00;
  color: white;
  border-radius: 20px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  margin-top: 10px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 20px;
  text-align: center;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}


/* CONTAINER */
#result {
  max-width: 600px;
  margin: 30px auto;
}

/* TOTAL CARD */
.total-card {
  background: linear-gradient(135deg, #111, #222);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
}

.total-card h1 {
  font-size: 28px;
  margin-top: 10px;
}

/* COST ITEMS */
.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.cost-item:hover {
  transform: translateX(5px);
  background: #f9f9f9;
}


/* =========================================
   FOOTER (FULL CLEAN VERSION)
========================================= */

.footer {
  background: linear-gradient(135deg, #0f1a2c 80%, #ff7a00);
  color: #ccc;
  padding: 60px 20px;
}

/* GRID */
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* TITLES */
.footer h4 {
  color: white;
  margin-bottom: 15px;
}

/* =========================================
   LOGO (MATCH NAVBAR STYLE)
========================================= */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  color: white;
  font-size: 13px;

  position: relative;
  overflow: hidden;
}

/* subtle engineering lines */
.footer .logo-icon::before,
.footer .logo-icon::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: rgba(255,255,255,0.2);
}

.footer .logo-icon::before {
  transform: rotate(45deg);
}

.footer .logo-icon::after {
  transform: rotate(-45deg);
}

.footer .logo-text strong {
  color: white;
  font-size: 16px;
}

/* =========================================
   LINKS (UNDERLINE ANIMATION)
========================================= */

.footer a {
  position: relative;
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

/* underline animation */
.footer a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #ff7a00;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

/* hover */
.footer a:hover::after {
  width: 100%;
}

.footer a:hover {
  color: white;
}

/* spacing */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

/* =========================================
   CONTACT TEXT
========================================= */
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 12px;
  font-size: 14px;
  color: #ccc;
}

.footer-contact p i {
  width: 18px;
  color: #ff7a00;
  font-size: 15px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 16px;

  transition: 0.3s ease;
}

.footer-social a:hover {
  background: #ff7a00;
  transform: translateY(-3px);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;

  position: relative;
  width: fit-content;

  color: #ccc;
  margin-bottom: 12px;
  font-size: 14px;

  transition: 0.3s ease;
}

.footer-contact-link i {
  color: #ff7a00;
  font-size: 15px;
}

/* =========================================
   BOTTOM BAR
========================================= */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}




/* =========================================
   PRODUITS STYLE (CATALOG / MARKETPLACE 🔥)
========================================= */

.produits {
  background: white;
  padding: 100px 80px;
}
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.product-card-v2 {
  background: white;
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.product-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* IMAGE */
.product-card-v2 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* BODY */
.product-body {
  padding: 18px;
}

/* TITLE */
.product-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

/* PRICE */
.product-price {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

.product-price span {
  color: #0077cc; /* 🔵 blue like your example */
  font-weight: 700;
  font-size: 16px;
}

/* DETAILS GRID */
.product-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* EACH ITEM */
.product-details div {
  text-align: center;
  font-size: 12px;
  color: #666;
}

.product-details strong {
  display: block;
  font-size: 14px;
  color: #222;
}



/* =========================================
   PRODUITS + OVERLAY + BADGE 🔥
========================================= */
/* BADGE */
.plan-badge {
  position: absolute;
  top: 15px;
  left: 15px;

  background: linear-gradient(135deg, #ff7a00, #ff9a3c);
  color: white;

  padding: 6px 14px;
  border-radius: 20px;

  font-size: 12px;
  font-weight: 600;

  z-index: 3;

  box-shadow: 0 5px 15px rgba(255,122,0,0.4);
}
/* IMAGE WRAPPER */
.product-image {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ZOOM like projets */
.product-card-v2:hover .product-image img {
  transform: scale(1.08);
}

/* DARK OVERLAY */
.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}

/* OVERLAY BUTTON */
.product-card-v2 .overlay-btn {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.45);

  opacity: 0;
  transition: 0.3s;
}

.product-card-v2:hover .overlay-btn {
  opacity: 1;
}

/* BUTTON SAME STYLE */
.product-card-v2 .btn-view {
  background: #ff7a00; /* keep brand */
  color: white;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;

  transform: translateY(20px);
  transition: 0.3s;
}

.product-card-v2:hover .btn-view {
  transform: translateY(0);
}

/* KEEP BADGE SAME AS PROJECTS */
.product-card-v2 .plan-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
}

/* CARD HOVER (SOFT) */
.product-card-v2 {
  transition: 0.3s ease;
}

.product-card-v2:hover {
  transform: translateY(-8px);
}

/* 🔵 KEEP BLUE PRICE (GOOD CHOICE) */
.product-price span {
  color: #ff7a00;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .products {
    padding: 60px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
/* IMAGE WRAPPER */
.product-image {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* OVERLAY DARK */
.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1; /* 🔥 important */
}

/* OVERLAY BUTTON CONTAINER */
.product-card-v2 .overlay-btn {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.5);

  opacity: 0;
  transition: 0.3s ease;

  z-index: 2; /* 🔥 above image */
}

/* SHOW ON HOVER */
.product-card-v2:hover .overlay-btn {
  opacity: 1;
}

/* BUTTON */
.product-card-v2 .btn-view {
  background: #ff7a00;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;

  transform: translateY(15px);
  opacity: 0;

  transition: 0.3s ease;

  z-index: 3; /* 🔥 top */
}

/* BUTTON ANIMATION */
.product-card-v2:hover .btn-view {
  transform: translateY(0);
  opacity: 1;
}
/* FOOTER CENTER */
.products-footer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* BUTTON STYLE (CLEAN OUTLINE) */
.bttn-catalogue {
  border: 2px solid #ddd;
  padding: 14px 30px;
  border-radius: 40px;

  font-size: 14px;
  font-weight: 600;

  color: #333;
  text-decoration: none;

  transition: all 0.3s ease;
}

/* 🔥 HOVER (YOUR BRAND ORANGE) */
.bttn-catalogue:hover {
  border-color: #ff7a00;
  color: #ff7a00;

  transform: translateY(-2px);
}

.bttn-catalogue:hover {
  box-shadow: 0 5px 15px rgba(255,122,0,0.2);
}
/* =================================================
   TESTIMONIALS (ENGINEERING STYLE)
================================================= */

.testimonials{
  padding:100px 80px;
  background:linear-gradient(to bottom, #f9fafb, #eef2f7);
  text-align:center;
}

/* SLIDER */
.testimonial-slider{
  position:relative;
  overflow:hidden;
  margin-top:40px;
}

.testimonial-track{
  display:flex;
  gap:25px;
  transition:transform .5s ease;
}

/* CARD */
.testimonial-card{
  min-width:300px;
  max-width:300px;
  background:#fff;
  padding:28px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  text-align:left;
  border-top:4px solid #ff7a00; /* 🔥 engineering accent */
}

.review-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.review-header img{
  width:45px;
  height:45px;
  border-radius:50%;
}

/* NAME */
.review-header h4{
  margin:0;
  font-size:14px;
}

/* STARS */
.stars{
  color:#ff7a00;
  font-size:14px;
}

/* TEXT */
.testimonial-card p{
  color:#555;
  font-size:14px;
}

/* BUTTONS */
.slider-btn{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  background:#ff7a00;
  color:#fff;
  border:none;
  font-size:18px;
  padding:10px 14px;
  cursor:pointer;
  border-radius:6px;
  z-index:2;
}

.slider-btn.prev{
  left:-10px;
}

.slider-btn.next{
  right:-10px;
}

/* LIKE BUTTON */
.like-btn{
  margin-top:12px;
  border:none;
  background:none;
  cursor:pointer;
  color:#777;
  font-size:13px;
}

.like-btn:hover{
  color:#ff7a00;
}


/* =================================================
   REVIEW FORM (ENGINEERING STYLE)
================================================= */

.review-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:80px 20px;
  background:#f5f5f5;
  min-height:100vh;
}

.review-box{
  background:#fff;
  padding:45px;
  border-radius:10px;
  max-width:540px;
  width:100%;
  box-shadow:0 10px 35px rgba(0,0,0,0.08);
  border-top:4px solid #ff7a00; /* 🔥 branding */
}

/* TITLE */
.review-box h2{
  text-align:center;
  font-size:26px;
  margin-bottom:6px;
}

/* LOGO */
.review-logo{
  width:60px;
  display:block;
  margin:10px auto 15px auto;
}

/* SUBTITLE */
.review-sub{
  text-align:center;
  color:#777;
  margin-bottom:25px;
  font-size:14px;
}

/* FORM */
.review-box form{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* LABEL */
.review-box label{
  font-size:14px;
  font-weight:600;
}

/* INPUT */
.review-box textarea,
.review-box input{
  width:100%;
  padding:14px;
  border-radius:6px;
  border:1px solid #ddd;
  font-size:14px;
  outline:none;
}

.review-box textarea:focus,
.review-box input:focus{
  border-color:#ff7a00;
}

/* TEXTAREA */
.review-box textarea{
  min-height:110px;
  resize:none;
}

/* STAR RATING */
.star-rating{
  display:flex;
  justify-content:center;
  gap:8px;
  font-size:28px;
  margin-bottom:10px;
  flex-direction:row-reverse;
}

.star-rating input{
  display:none;
}

.star-rating label{
  color:#ddd;
  cursor:pointer;
  transition:0.2s;
}

/* HOVER */
.star-rating label:hover,
.star-rating label:hover ~ label{
  color:#ff7a00;
}

/* SELECTED */
.star-rating input:checked ~ label{
  color:#ff7a00;
}

/* SUBMIT */
.review-submit{
  margin:15px auto 0 auto;
  background:#ff7a00;
  color:#fff;
  border:none;
  padding:12px 28px;
  border-radius:6px;
  font-size:15px;
  cursor:pointer;
  transition:0.3s;
}

.review-submit:hover{
  background:#e86d00;
}

/* NOTE */
.review-note{
  text-align:center;
  font-size:12px;
  color:#999;
  margin-top:12px;
}

/* SUCCESS */
.review-success{
  display:none;
  margin:20px auto;
  padding:12px 18px;
  background:#e8f9ee;
  color:#0f5132;
  border:1px solid #badbcc;
  border-radius:8px;
  text-align:center;
  width:fit-content;
}

/* =================================================
   RATING SUMMARY
================================================= */

.rating-summary{
  text-align:center;
  margin-top:15px;
  margin-bottom:40px;
}

.rating-summary h3{
  font-size:28px;
  font-weight:700;
  color:#111;
}

.rating-summary p{
  font-size:14px;
  color:#777;
}

/* =========================================
   TESTIMONIAL FORM (ENGINEERING)
========================================= */

.testimonial-form{
  padding:100px 20px;
  background:#f9f9f9;
  text-align:center;
}

/* TITLE */
.testimonial-form h2{
  font-size:32px;
  margin-bottom:10px;
}

.testimonial-form p{
  color:#777;
  margin-bottom:40px;
  font-size:14px;
}

/* FORM */
.testimonial-form form{
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:18px;
  background:white;
  padding:35px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  border-top:4px solid #ff7a00; /* 🔥 branding */
}

/* INPUTS */
.testimonial-form input,
.testimonial-form textarea{
  padding:14px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:14px;
  outline:none;
  transition:0.3s;
}

/* FOCUS EFFECT */
.testimonial-form input:focus,
.testimonial-form textarea:focus{
  border-color:#ff7a00;
}

/* TEXTAREA */
.testimonial-form textarea{
  min-height:120px;
  resize:none;
}

/* STAR RATING (OPTIONAL ADD 🔥) */
.testimonial-form .star-rating{
  display:flex;
  justify-content:center;
  gap:8px;
  font-size:26px;
  flex-direction:row-reverse;
}

.testimonial-form .star-rating input{
  display:none;
}

.testimonial-form .star-rating label{
  color:#ddd;
  cursor:pointer;
  transition:0.2s;
}

.testimonial-form .star-rating label:hover,
.testimonial-form .star-rating label:hover ~ label{
  color:#ff7a00;
}

.testimonial-form .star-rating input:checked ~ label{
  color:#ff7a00;
}

/* BUTTON */
.testimonial-form button{
  padding:14px;
  background:#ff7a00;
  color:white;
  border:none;
  border-radius:6px;
  cursor:pointer;
  font-size:15px;
  transition:0.3s;
}

.testimonial-form button:hover{
  background:#e86d00;
}

/* SUCCESS MESSAGE */
.testimonial-success{
  display:none;
  margin-top:20px;
  color:#0f5132;
  background:#e8f9ee;
  padding:12px;
  border-radius:6px;
  font-size:14px;
}
/* ⭐ HOMEPAGE STARS */
.star-icon {
  color: #ff7a00; /* 🔥 orange */
  font-size: 24px;
  margin-right: 6px;
}

#ratingValue {
  font-weight: 700;
  font-size: 22px;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-v2 {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.product-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-details div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-details small {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* EMPTY STATE */
/* EMPTY STATE - FULL SECTION CENTERED */
.no-products {
  width: 100%;
  min-height: 300px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background: transparent;
  padding: 80px 20px;
}

/* ICON */
.no-products::before {
  content: "😕";
  font-size: 48px;
  margin-bottom: 15px;
}

/* TITLE */
.no-products h3 {
  font-size: 26px;
  color: #1e293b;
  margin-bottom: 10px;
  font-weight: 600;
}

/* TEXT */
.no-products p {
  color: #64748b;
  font-size: 16px;
  max-width: 400px;
}

/* OPTIONAL ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* FEATURES */
.features-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-block textarea {
  width: 100%;
  min-height: 70px;
  resize: vertical;
}

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff7a00;
  color: white;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 50%;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);
  color: white; /* 🔥 THIS FIXES IT */
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

/* REMOVE BLUE + PURPLE STATES */
.btn-primary:visited,
.btn-primary:active,
.btn-primary:hover {
  color: white;
}
.product-card a {
  color: #6b46c1; /* purple/brand color */
  font-weight: 500;
  text-decoration: none;
}

.product-card a:hover {
  text-decoration: underline;
}

/* CTA */
/* CTA SECTION */
.cta-section {
  width: 100%;
  margin: 0;
  padding: 80px 20px;

  background: linear-gradient(
    120deg,
    #ff7a00 0%,
    #ff7a00 40%,
    #0f1a2c 100%
  );

  color: white;
  text-align: center;

  position: relative;
  overflow: hidden;
}

/* remove global section gap issue */
section {
  margin-bottom: 0;
}

/* GLOW BACKGROUND */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}

/* CONTENT LAYER */
.cta-section .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* TITLE */
.cta-section h2 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* TEXT */
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
}

/* BUTTON */
.cta-section .btn-primary {
  display: inline-block;
  background: white;
  color: #ff7a00;

  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;

  transition: all 0.3s ease;
}

/* BUTTON HOVER */
.cta-section .btn-primary:hover {
  background: #0f1a2c;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================================
   PROJECT SKELETON LOADING
========================================= */
.project-skeleton {
  height: 350px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;

  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.project-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #f1f5f9 25%,
    #e2e8f0 50%,
    #f1f5f9 75%
  );

  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* =========================================
   SMALL PHONE FIXES
========================================= */

@media (max-width:480px){

  .product-details{
    grid-template-columns:1fr;
  }

  .product-body{
    padding:16px;
  }

  .products-hero h1{
    font-size:28px;
  }

  .filters{
    padding:16px;
  }

}

/* LINKS */
.navbar a {
  position: relative;
  color: inherit;
  font-size: 14px;
  padding: 5px 0;
  transition: 0.3s ease;
}

/* 🔥 UNDERLINE ANIMATION (CENTER OUT) */
.navbar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ff7a00;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

/* HOVER + ACTIVE */
.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* =========================================
   BUTTON (UNIQUE STYLE)
========================================= */

.btn-devis {
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);
  padding: 10px 22px;
  border-radius: 30px;
  color: white;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* HOVER EFFECT */
.btn-devis:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,122,0,0.4);
}


/* SMALL TITLE */
.hero-tag {
  color: #ff7a00;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* =========================================
   PRODUCTS HERO (FIXED - MATCH SERVICES)
========================================= */
.products-hero {
  height: 380px;

  display: flex;
  align-items: center;

  /* SAME STYLE AS SERVICES (important) */
  background:
    linear-gradient(110deg, rgba(5,15,35,0.9) 35%, rgba(5,15,35,0.6) 100%),
    url("../images/products/blueprint.jpg") center/cover no-repeat;

  color: white;
  position: relative;
  overflow: hidden;

  animation: fadeInHero 1s ease-in-out;
}

/* REMOVE overlay div effect (cleaner) */
.products-hero .overlay {
  display: none;
}

/* subtle pattern (keep - it's good) */
.products-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 6px
  );

  pointer-events: none;
}

/* ALIGN LIKE SERVICES */
.products-hero .container {
  width: 100%;
}

/* HERO CONTENT */
.products-hero .hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;

  text-align: left; /* 🔥 IMPORTANT FIX */
}

/* TITLE */
.products-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* ORANGE LINE */
.products-hero h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, #ff7a00, transparent);
  margin-top: 15px;
}

/* DESCRIPTION */
.products-hero .hero-desc {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.6;
}




.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* INFO */
.product-info {
  padding: 15px;
}

.product-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 14px;
  color: #555;
}

/* PRICE */
.product-info strong {
  color: #0077cc;
}
.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* 🔥 THIS FIXES EVERYTHING */
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.product-meta {
  font-size: 13px;
  color: #444;
  margin-top: 5px;
}

.product-info .btn-primary {
  margin-top: 10px; /* 🔥 push it away */
  align-self: flex-start; /* keeps it clean left */
}
/* DETAILS */
.details {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: #444;
}
/* FILTERS */
.filters {
  position: relative;
  z-index: 10;
  background: white;
  padding: 20px;
  margin-top: -50px; /* pulls it slightly over hero */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.filters-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filters input,
.filters select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.filters button {
  background: #ff7a00;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

/* GRID */
.products-page {
  padding: 60px 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}


/* LOAD MORE */
.load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more button {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: black;
  color: white;
  cursor: pointer;
}

.product-body {
  padding: 15px;
}

.product-price span {
  color: #ff7a00;
  font-weight: bold;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 10px 15px;
  background: #ff7a00;
  color: white;
  border-radius: 20px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  margin-top: 10px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 20px;
  text-align: center;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}


/* CONTAINER */
#result {
  max-width: 600px;
  margin: 30px auto;
}

/* TOTAL CARD */
.total-card {
  background: linear-gradient(135deg, #111, #222);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
}

.total-card h1 {
  font-size: 28px;
  margin-top: 10px;
}

/* COST ITEMS */
.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.cost-item:hover {
  transform: translateX(5px);
  background: #f9f9f9;
}


/* =========================================
   FOOTER (FULL CLEAN VERSION)
========================================= */

.footer {
  background: linear-gradient(135deg, #0f1a2c 80%, #ff7a00);
  color: #ccc;
  padding: 60px 20px;
}

/* GRID */
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* TITLES */
.footer h4 {
  color: white;
  margin-bottom: 15px;
}

/* =========================================
   LOGO (MATCH NAVBAR STYLE)
========================================= */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  color: white;
  font-size: 13px;

  position: relative;
  overflow: hidden;
}

/* subtle engineering lines */
.footer .logo-icon::before,
.footer .logo-icon::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: rgba(255,255,255,0.2);
}

.footer .logo-icon::before {
  transform: rotate(45deg);
}

.footer .logo-icon::after {
  transform: rotate(-45deg);
}

.footer .logo-text strong {
  color: white;
  font-size: 16px;
}

/* =========================================
   LINKS (UNDERLINE ANIMATION)
========================================= */

.footer a {
  position: relative;
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

/* underline animation */
.footer a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #ff7a00;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

/* hover */
.footer a:hover::after {
  width: 100%;
}

.footer a:hover {
  color: white;
}

/* spacing */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

/* =========================================
   CONTACT TEXT
========================================= */
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 12px;
  font-size: 14px;
  color: #ccc;
}

.footer-contact p i {
  width: 18px;
  color: #ff7a00;
  font-size: 15px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 16px;

  transition: 0.3s ease;
}

.footer-social a:hover {
  background: #ff7a00;
  transform: translateY(-3px);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;

  position: relative;
  width: fit-content;

  color: #ccc;
  margin-bottom: 12px;
  font-size: 14px;

  transition: 0.3s ease;
}

.footer-contact-link i {
  color: #ff7a00;
  font-size: 15px;
}

/* =========================================
   BOTTOM BAR
========================================= */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}




/* =========================================
   PRODUITS STYLE (CATALOG / MARKETPLACE 🔥)
========================================= */

.produits {
  background: white;
  padding: 100px 80px;
}
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.product-card-v2 {
  background: white;
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.product-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* IMAGE */
.product-card-v2 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* BODY */
.product-body {
  padding: 18px;
}

/* TITLE */
.product-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

/* PRICE */
.product-price {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

.product-price span {
  color: #0077cc; /* 🔵 blue like your example */
  font-weight: 700;
  font-size: 16px;
}

/* DETAILS GRID */
.product-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* EACH ITEM */
.product-details div {
  text-align: center;
  font-size: 12px;
  color: #666;
}

.product-details strong {
  display: block;
  font-size: 14px;
  color: #222;
}



/* =========================================
   PRODUITS + OVERLAY + BADGE 🔥
========================================= */
/* BADGE */
.plan-badge {
  position: absolute;
  top: 15px;
  left: 15px;

  background: linear-gradient(135deg, #ff7a00, #ff9a3c);
  color: white;

  padding: 6px 14px;
  border-radius: 20px;

  font-size: 12px;
  font-weight: 600;

  z-index: 3;

  box-shadow: 0 5px 15px rgba(255,122,0,0.4);
}
/* IMAGE WRAPPER */
.product-image {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ZOOM like projets */
.product-card-v2:hover .product-image img {
  transform: scale(1.08);
}

/* DARK OVERLAY */
.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}

/* OVERLAY BUTTON */
.product-card-v2 .overlay-btn {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.45);

  opacity: 0;
  transition: 0.3s;
}

.product-card-v2:hover .overlay-btn {
  opacity: 1;
}

/* BUTTON SAME STYLE */
.product-card-v2 .btn-view {
  background: #ff7a00; /* keep brand */
  color: white;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;

  transform: translateY(20px);
  transition: 0.3s;
}

.product-card-v2:hover .btn-view {
  transform: translateY(0);
}

/* KEEP BADGE SAME AS PROJECTS */
.product-card-v2 .plan-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
}

/* CARD HOVER (SOFT) */
.product-card-v2 {
  transition: 0.3s ease;
}

.product-card-v2:hover {
  transform: translateY(-8px);
}

/* 🔵 KEEP BLUE PRICE (GOOD CHOICE) */
.product-price span {
  color: #ff7a00;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .products {
    padding: 60px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
/* IMAGE WRAPPER */
.product-image {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* OVERLAY DARK */
.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1; /* 🔥 important */
}

/* OVERLAY BUTTON CONTAINER */
.product-card-v2 .overlay-btn {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.5);

  opacity: 0;
  transition: 0.3s ease;

  z-index: 2; /* 🔥 above image */
}

/* SHOW ON HOVER */
.product-card-v2:hover .overlay-btn {
  opacity: 1;
}

/* BUTTON */
.product-card-v2 .btn-view {
  background: #ff7a00;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;

  transform: translateY(15px);
  opacity: 0;

  transition: 0.3s ease;

  z-index: 3; /* 🔥 top */
}

/* BUTTON ANIMATION */
.product-card-v2:hover .btn-view {
  transform: translateY(0);
  opacity: 1;
}
/* FOOTER CENTER */
.products-footer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* BUTTON STYLE (CLEAN OUTLINE) */
.bttn-catalogue {
  border: 2px solid #ddd;
  padding: 14px 30px;
  border-radius: 40px;

  font-size: 14px;
  font-weight: 600;

  color: #333;
  text-decoration: none;

  transition: all 0.3s ease;
}

/* 🔥 HOVER (YOUR BRAND ORANGE) */
.bttn-catalogue:hover {
  border-color: #ff7a00;
  color: #ff7a00;

  transform: translateY(-2px);
}

.bttn-catalogue:hover {
  box-shadow: 0 5px 15px rgba(255,122,0,0.2);
}
/* =================================================
   TESTIMONIALS (ENGINEERING STYLE)
================================================= */

.testimonials{
  padding:100px 80px;
  background:linear-gradient(to bottom, #f9fafb, #eef2f7);
  text-align:center;
}

/* SLIDER */
.testimonial-slider{
  position:relative;
  overflow:hidden;
  margin-top:40px;
}

.testimonial-track{
  display:flex;
  gap:25px;
  transition:transform .5s ease;
}

/* CARD */
.testimonial-card{
  min-width:300px;
  max-width:300px;
  background:#fff;
  padding:28px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  text-align:left;
  border-top:4px solid #ff7a00; /* 🔥 engineering accent */
}

.review-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.review-header img{
  width:45px;
  height:45px;
  border-radius:50%;
}

/* NAME */
.review-header h4{
  margin:0;
  font-size:14px;
}

/* STARS */
.stars{
  color:#ff7a00;
  font-size:14px;
}

/* TEXT */
.testimonial-card p{
  color:#555;
  font-size:14px;
}

/* BUTTONS */
.slider-btn{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  background:#ff7a00;
  color:#fff;
  border:none;
  font-size:18px;
  padding:10px 14px;
  cursor:pointer;
  border-radius:6px;
  z-index:2;
}

.slider-btn.prev{
  left:-10px;
}

.slider-btn.next{
  right:-10px;
}

/* LIKE BUTTON */
.like-btn{
  margin-top:12px;
  border:none;
  background:none;
  cursor:pointer;
  color:#777;
  font-size:13px;
}

.like-btn:hover{
  color:#ff7a00;
}


/* =================================================
   REVIEW FORM (ENGINEERING STYLE)
================================================= */

.review-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:80px 20px;
  background:#f5f5f5;
  min-height:100vh;
}

.review-box{
  background:#fff;
  padding:45px;
  border-radius:10px;
  max-width:540px;
  width:100%;
  box-shadow:0 10px 35px rgba(0,0,0,0.08);
  border-top:4px solid #ff7a00; /* 🔥 branding */
}

/* TITLE */
.review-box h2{
  text-align:center;
  font-size:26px;
  margin-bottom:6px;
}

/* LOGO */
.review-logo{
  width:60px;
  display:block;
  margin:10px auto 15px auto;
}

/* SUBTITLE */
.review-sub{
  text-align:center;
  color:#777;
  margin-bottom:25px;
  font-size:14px;
}

/* FORM */
.review-box form{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* LABEL */
.review-box label{
  font-size:14px;
  font-weight:600;
}

/* INPUT */
.review-box textarea,
.review-box input{
  width:100%;
  padding:14px;
  border-radius:6px;
  border:1px solid #ddd;
  font-size:14px;
  outline:none;
}

.review-box textarea:focus,
.review-box input:focus{
  border-color:#ff7a00;
}

/* TEXTAREA */
.review-box textarea{
  min-height:110px;
  resize:none;
}

/* STAR RATING */
.star-rating{
  display:flex;
  justify-content:center;
  gap:8px;
  font-size:28px;
  margin-bottom:10px;
  flex-direction:row-reverse;
}

.star-rating input{
  display:none;
}

.star-rating label{
  color:#ddd;
  cursor:pointer;
  transition:0.2s;
}

/* HOVER */
.star-rating label:hover,
.star-rating label:hover ~ label{
  color:#ff7a00;
}

/* SELECTED */
.star-rating input:checked ~ label{
  color:#ff7a00;
}

/* SUBMIT */
.review-submit{
  margin:15px auto 0 auto;
  background:#ff7a00;
  color:#fff;
  border:none;
  padding:12px 28px;
  border-radius:6px;
  font-size:15px;
  cursor:pointer;
  transition:0.3s;
}

.review-submit:hover{
  background:#e86d00;
}

/* NOTE */
.review-note{
  text-align:center;
  font-size:12px;
  color:#999;
  margin-top:12px;
}

/* SUCCESS */
.review-success{
  display:none;
  margin:20px auto;
  padding:12px 18px;
  background:#e8f9ee;
  color:#0f5132;
  border:1px solid #badbcc;
  border-radius:8px;
  text-align:center;
  width:fit-content;
}

/* =================================================
   RATING SUMMARY
================================================= */

.rating-summary{
  text-align:center;
  margin-top:15px;
  margin-bottom:40px;
}

.rating-summary h3{
  font-size:28px;
  font-weight:700;
  color:#111;
}

.rating-summary p{
  font-size:14px;
  color:#777;
}

/* =========================================
   TESTIMONIAL FORM (ENGINEERING)
========================================= */

.testimonial-form{
  padding:100px 20px;
  background:#f9f9f9;
  text-align:center;
}

/* TITLE */
.testimonial-form h2{
  font-size:32px;
  margin-bottom:10px;
}

.testimonial-form p{
  color:#777;
  margin-bottom:40px;
  font-size:14px;
}

/* FORM */
.testimonial-form form{
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:18px;
  background:white;
  padding:35px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  border-top:4px solid #ff7a00; /* 🔥 branding */
}

/* INPUTS */
.testimonial-form input,
.testimonial-form textarea{
  padding:14px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:14px;
  outline:none;
  transition:0.3s;
}

/* FOCUS EFFECT */
.testimonial-form input:focus,
.testimonial-form textarea:focus{
  border-color:#ff7a00;
}

/* TEXTAREA */
.testimonial-form textarea{
  min-height:120px;
  resize:none;
}

/* STAR RATING (OPTIONAL ADD 🔥) */
.testimonial-form .star-rating{
  display:flex;
  justify-content:center;
  gap:8px;
  font-size:26px;
  flex-direction:row-reverse;
}

.testimonial-form .star-rating input{
  display:none;
}

.testimonial-form .star-rating label{
  color:#ddd;
  cursor:pointer;
  transition:0.2s;
}

.testimonial-form .star-rating label:hover,
.testimonial-form .star-rating label:hover ~ label{
  color:#ff7a00;
}

.testimonial-form .star-rating input:checked ~ label{
  color:#ff7a00;
}

/* BUTTON */
.testimonial-form button{
  padding:14px;
  background:#ff7a00;
  color:white;
  border:none;
  border-radius:6px;
  cursor:pointer;
  font-size:15px;
  transition:0.3s;
}

.testimonial-form button:hover{
  background:#e86d00;
}

/* SUCCESS MESSAGE */
.testimonial-success{
  display:none;
  margin-top:20px;
  color:#0f5132;
  background:#e8f9ee;
  padding:12px;
  border-radius:6px;
  font-size:14px;
}
/* ⭐ HOMEPAGE STARS */
.star-icon {
  color: #ff7a00; /* 🔥 orange */
  font-size: 24px;
  margin-right: 6px;
}

#ratingValue {
  font-weight: 700;
  font-size: 22px;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-v2 {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.product-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-details div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-details small {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* EMPTY STATE */
/* EMPTY STATE - FULL SECTION CENTERED */
.no-products {
  width: 100%;
  min-height: 300px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background: transparent;
  padding: 80px 20px;
}

/* ICON */
.no-products::before {
  content: "😕";
  font-size: 48px;
  margin-bottom: 15px;
}

/* TITLE */
.no-products h3 {
  font-size: 26px;
  color: #1e293b;
  margin-bottom: 10px;
  font-weight: 600;
}

/* TEXT */
.no-products p {
  color: #64748b;
  font-size: 16px;
  max-width: 400px;
}

/* OPTIONAL ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* FEATURES */
.features-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-block textarea {
  width: 100%;
  min-height: 70px;
  resize: vertical;
}

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff7a00;
  color: white;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 50%;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #ff7a00, #ff9a3c);
  color: white; /* 🔥 THIS FIXES IT */
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

/* REMOVE BLUE + PURPLE STATES */
.btn-primary:visited,
.btn-primary:active,
.btn-primary:hover {
  color: white;
}
.product-card a {
  color: #6b46c1; /* purple/brand color */
  font-weight: 500;
  text-decoration: none;
}

.product-card a:hover {
  text-decoration: underline;
}

/* CTA */
/* CTA SECTION */
.cta-section {
  width: 100%;
  margin: 0;
  padding: 80px 20px;

  background: linear-gradient(
    120deg,
    #ff7a00 0%,
    #ff7a00 40%,
    #0f1a2c 100%
  );

  color: white;
  text-align: center;

  position: relative;
  overflow: hidden;
}

/* remove global section gap issue */
section {
  margin-bottom: 0;
}

/* GLOW BACKGROUND */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}

/* CONTENT LAYER */
.cta-section .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* TITLE */
.cta-section h2 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* TEXT */
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
}

/* BUTTON */
.cta-section .btn-primary {
  display: inline-block;
  background: white;
  color: #ff7a00;

  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;

  transition: all 0.3s ease;
}

/* BUTTON HOVER */
.cta-section .btn-primary:hover {
  background: #0f1a2c;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================================
   PROJECT SKELETON LOADING
========================================= */
.project-skeleton {
  height: 350px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;

  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.project-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #f1f5f9 25%,
    #e2e8f0 50%,
    #f1f5f9 75%
  );

  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* =========================================
   SMALL PHONE FIXES
========================================= */

@media (max-width:480px){

  .product-details{
    grid-template-columns:1fr;
  }

  .product-body{
    padding:16px;
  }

  .products-hero h1{
    font-size:28px;
  }

  .filters{
    padding:16px;
  }

}