/* =========================================
   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;
}
/* =========================================
   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){

  .services-hero{
    height:auto;
    padding:140px 20px 70px;
  }

  .services-hero h1{
    font-size:32px;
    line-height:1.3;
  }

  .hero-desc{
    font-size:15px;
  }

}
/* =========================================
   MOBILE CONTACT
========================================= */

@media (max-width:768px){

  .contact-section{
    padding:60px 20px;
  }

  .contact-container{
    grid-template-columns:1fr;
    gap:25px;
  }

  .contact-form{
    padding:25px;
  }

  .contact-info{
    padding:30px 25px;
  }

  .form-row{
    flex-direction:column;
    gap:15px;
  }

  .btn-primary{
    width:100%;
    justify-content:center;
  }

}
/* 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;
  list-style: none;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}

/* 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/hero6.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;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .services-hero {
    background-attachment: scroll;
  }
}

/* =========================================
   CONTACT SECTION (UNIQUE DESIGN)
========================================= */
.contact-section {
  padding: 100px 20px;
  background: linear-gradient(to bottom, #f4f6f9, #eef2f7);
}

/* NEW LAYOUT (not equal columns) */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

/* LEFT INFO PANEL */
.contact-info {
  background: #0f1a2c;
  color: white;
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* orange side accent */
.contact-info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #ff7a00;
}

/* title */
.contact-info h3 {
  margin-bottom: 25px;
  font-size: 22px;
}

/* INFO ITEMS */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item i {
  background: rgba(255,255,255,0.1);
  color: #ff7a00;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  min-width: 45px;
  text-align: center;
}

.info-item p {
  color: #cbd5e1;
  font-size: 14px;
}

.info-item{
  display:flex;
  align-items:flex-start;
  gap:15px;

  width:100%;
}

.info-item i{
  flex-shrink:0;
}

.info-item div{
  flex:1;
  min-width:0;
}
/* HOURS BOX */
.hours {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
}

.hours p {
  color: #cbd5e1;
}

.email-link {
  position: relative;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
}

.email-link{
  display:block;

  width:100%;

  white-space:normal;

  overflow-wrap:anywhere;
  word-break:break-word;
}

.info-item{
  display:flex;
  align-items:flex-start;
  gap:15px;

  width:100%;
}

.info-item i{
  flex-shrink:0;
}

.info-item div{
  flex:1;
  min-width:0;
}

.email-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #ff7a00;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

.email-link:hover::after {
  width: 100%;
}
/* =========================================
   FORM (MODERN CARD)
========================================= */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* FORM ROW */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}

/* INPUTS */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;

  transition: 0.3s;
}

/* FOCUS EFFECT */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #ff7a00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,122,0,0.15);
}

/* TEXTAREA */
.contact-form textarea {
  min-height: 130px;
  resize: none;
}

/* BUTTON */
.btn-primary {
  background: linear-gradient(135deg, #ff7a00, #ff9a3d);
  color: white;

  border: none;
  padding: 14px 24px;
  border-radius: 30px;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,122,0,0.3);
}

/* SUCCESS MESSAGE */
.contact-form .review-success {
  margin-top: 15px;
  color: #16a34a;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }
}
/* =========================================
 drawing tool css
========================================= */
.btn-draw {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;

  color: #ff7a00;
  font-weight: 500;

  border: 1px dashed #ff7a00;
  padding: 10px 15px;
  border-radius: 8px;

  transition: 0.3s;
}

.btn-draw:hover {
  background: #ff7a00;
  color: white;
}
/* =========================================
 Help css
========================================= */
.helper-text {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

/* =========================================
  file upload
========================================= */
.file-upload {
  margin: 15px 0;
}

.file-upload label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #444;
}

.file-upload input {
  width: 100%;
  padding: 10px;
  border: 1px dashed #ccc;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
}

.file-upload input:hover {
  border-color: #ff7a00;
}




/* =========================================
   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;
  }
}

.cart-icon {
  font-size: 20px;
  margin-left: 15px;
}
.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%;
}

