/* =========================================
   GLOBAL
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #111;
}

a {
  text-decoration: none;
}

/* =========================================
   CONTAINER (MAIN ALIGNMENT SYSTEM)
========================================= */
.container {
  width: 100%;
  max-width: 1400px;
  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;
}


/* 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)
========================================= */

/* 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);
}

/* =========================================
   SERVICES HERO (ALIGNED)
========================================= */
/* =========================================
   HERO SECTION (UNIQUE + CLEAN)
========================================= */
.services-hero {
  height: 380px;

  display: flex;
  align-items: center;

  /* Dark engineering tone (more unique than Base44) */
  background:
    linear-gradient(110deg, rgba(5,15,35,0.85) 40%, rgba(5,15,35,0.65) 100%),
    url("../images/hero7.jpg") center/cover no-repeat;

  color: white;
  position: relative;
  overflow: hidden;

  animation: fadeInHero 1s ease-in-out;
}

/* Subtle pattern overlay (makes it look premium) */
.services-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 content with your global container */
.services-hero .container {
  width: 100%;
}

/* =========================================
   HERO CONTENT
========================================= */
.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

/* SMALL TITLE */
.hero-tag {
  color: #ff7a00;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* MAIN TITLE */
.services-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* ORANGE ACCENT LINE (DIFFERENT FROM BASE44) */
.services-hero h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, #ff7a00, transparent);
  margin-top: 15px;
}

/* DESCRIPTION */
.hero-desc {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================
   ANIMATION
========================================= */
@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   MOBILE HERO
========================================= */

@media (max-width:768px){

  .services-hero{
    height:auto;

    padding:140px 20px 70px;

    background-attachment:scroll;
  }

  .services-hero h1{
    font-size:32px;
    line-height:1.3;
  }

  .hero-desc{
    font-size:15px;
    line-height:1.7;
  }

  .hero-content{
    max-width:100%;
  }

}

/* =========================================
   SERVICES LIST (PREMIUM + UNIQUE)
========================================= */
.services-list {
  padding: 110px 0;
  background: linear-gradient(to bottom, #f4f6f9, #eef1f5);
}

/* ROW LAYOUT */
.service-row {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-bottom: 130px;
  position: relative;
}

/* Alternate layout */
.service-row.reverse {
  flex-direction: row-reverse;
}

/* =========================================
   TEXT SIDE
========================================= */
.service-text {
  flex: 1;
  max-width: 520px;
}

/* ICON */
.service-icon {
  width: 55px;
  height: 55px;

  background: linear-gradient(135deg, #ff7a00, #ff9a3d);
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;
  margin-bottom: 20px;

  font-size: 20px;

  box-shadow: 0 10px 25px rgba(255,122,0,0.3);
}

/* TITLE */
.service-text h3 {
  font-size: 30px;
  margin-bottom: 12px;
  position: relative;
}

/* subtle underline accent */
.service-text h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #ff7a00;
  margin-top: 10px;
}

/* DESCRIPTION */
.service-text p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* LIST */
.service-text ul {
  list-style: none;
  margin-bottom: 25px;
}

.service-text ul li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #444;
}

/* Custom bullet */
.service-text ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #ff7a00;
  font-size: 18px;
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #ff7a00, #ff9a3d);
  padding: 12px 24px;
  color: white;
  border-radius: 30px;
  font-size: 14px;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255,122,0,0.35);
}

/* =========================================
   IMAGE SIDE (🔥 UNIQUE PART)
========================================= */
.service-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

/* ORANGE BACKGROUND BLOCK (makes it unique) */
.service-image::before {
  content: "";
  position: absolute;

  width: 80%;
  height: 80%;

  background: linear-gradient(135deg, #ff7a00, #ff9a3d);

  top: 30px;
  left: -30px;

  border-radius: 25px;
  z-index: 1;
}

/* Reverse side fix */
.service-row.reverse .service-image::before {
  left: auto;
  right: -30px;
}

/* IMAGE */
.service-image img {
  width: 100%;
  max-width: 520px;
  height: 320px;
  object-fit: cover;

  border-radius: 25px;

  position: relative;
  z-index: 2;

  box-shadow: 0 25px 50px rgba(0,0,0,0.2);

  transition: 0.4s;
}

/* hover effect */
.service-image img:hover {
  transform: scale(1.04) rotate(-1deg);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .service-row {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .service-row.reverse {
    flex-direction: column;
  }

  .service-text {
    max-width: 100%;
  }

  .service-image::before {
    display: none;
  }

  .service-image img {
    height: auto;
  }
}


/* =========================================
   SCROLL ANIMATIONS
========================================= */

/* initial hidden state */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}



/* directions */
.animate-left {
  transform: translateX(-80px);
}

.animate-right {
  transform: translateX(80px);
}

/* visible state */
.animate.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* =========================================
   CTA (UNIQUE + PREMIUM STYLE)
========================================= */
.cta {
  position: relative;
  padding: 100px 20px;

  background: #0f1a2c; /* dark engineering tone */
  color: white;

  text-align: center;
  overflow: hidden;
}

/* subtle grid pattern (engineering feel) */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 60px
  );

  pointer-events: none;
}

/* orange glow accent */
.cta::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: #ff7a00;
  filter: blur(120px);

  top: -100px;
  right: -100px;

  opacity: 0.4;
}

/* content stays above effects */
.cta h2,
.cta p,
.cta a {
  position: relative;
  z-index: 2;
}

/* TITLE */
.cta h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

/* TEXT */
.cta p {
  color: #cbd5e1;
  margin-bottom: 30px;
  font-size: 15px;
}

/* BUTTON (more premium) */
.btn-secondary {
  background: linear-gradient(135deg, #ff7a00, #ff9a3d);
  color: white;

  padding: 14px 28px;
  border-radius: 40px;

  font-weight: 500;
  letter-spacing: 0.5px;

  transition: 0.3s;
}

/* hover effect */
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,122,0,0.4);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .service-row {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .service-row.reverse {
    flex-direction: column;
  }

  .service-text {
    max-width: 100%;
  }

  .service-image img {
    height: auto;
  }
}
.service-text {
  transition-delay: 0.1s;
}

.service-image {
  transition-delay: 0.3s;
}
/* =========================================
   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;
}

.footer a::after{
  pointer-events:none;
}

	

/* =========================================
   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;
  }
}

.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%;
}



/* =========================================
   MOBILE SERVICES SECTION
========================================= */

@media (max-width:768px){

  .services-list{
    padding:70px 20px;
  }

  .service-row{
    gap:35px;

    margin-bottom:80px;
  }

  .service-text{
    text-align:left;
  }

  .service-text h3{
    font-size:28px;
    line-height:1.3;
  }

  .service-text p{
    font-size:15px;
    line-height:1.8;
  }

  .service-text ul li{
    font-size:14px;
    line-height:1.7;
  }

  .service-icon{
    width:52px;
    height:52px;

    font-size:18px;
  }

}

/* =========================================
   MOBILE SERVICE IMAGES
========================================= */

@media (max-width:768px){

  .service-image{
    width:100%;
  }

  .service-image img{
    width:100%;

    height:240px;

    border-radius:18px;

    object-fit:cover;
  }

}
/* =========================================
   MOBILE BUTTONS
========================================= */

@media (max-width:768px){

  .btn-primary,
  .btn-secondary{
    width:100%;

    max-width:300px;

    text-align:center;
  }

}
/* =========================================
   MOBILE CTA
========================================= */

@media (max-width:768px){

  .cta{
    padding:70px 20px;
  }

  .cta h2{
    font-size:28px;
    line-height:1.3;
  }

  .cta p{
    font-size:15px;
    line-height:1.7;
  }

}

/* =========================================
   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;
  }

}




