/* =========================================
   GLOBAL
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #111;
}

a {
  text-decoration: none;
}
.auth-loading {
  visibility: hidden;
}
/* =========================================
   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;
  }

}
@media (max-width: 768px) {
  .services-hero {
    height: auto;
    padding: 80px 0;
    background-attachment: scroll;
  }

  .services-hero h1 {
    font-size: 30px;
  }

  .hero-content {
    max-width: 100%;
  }
}
/* =========================================
   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;
  }

  .hero-content{
    max-width:100%;
  }

}
/* =========================================
   MOBILE ABOUT SECTION
========================================= */

@media (max-width:768px){

  .about-section{
    padding:60px 20px;
  }

  .about-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .about-text h2{
    font-size:28px;
    margin-bottom:20px;
  }

  .about-text p{
    font-size:15px;
    line-height:1.8;
  }

  .about-image img{
    border-radius:16px;
  }

}
/* =========================================
   MOBILE TEAM SECTION
========================================= */

@media (max-width:768px){

  .team-section{
    padding:70px 20px;
  }

  .section-title{
    font-size:28px;
    margin-bottom:40px;
  }

  .team-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .team-card{
    padding:28px 22px;
  }

  .team-card h3{
    font-size:20px;
  }

  .team-card p{
    font-size:14px;
    line-height:1.7;
  }

}
/* =========================================
   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)
========================================= */

/* 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);
}
/* =========================================
   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/hero3.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;
}

.hero-badge {
  margin-top: 25px;
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  font-size: 13px;
  backdrop-filter: blur(6px);
}

/* =========================================
   ANIMATION
========================================= */
@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
  .services-hero {
    height: auto;
    padding: 80px 0;
    background-attachment: scroll;
  }

  .services-hero h1 {
    font-size: 30px;
  }

  .hero-content {
    max-width: 100%;
  }
}


/* ABOUT */

section {
  margin-bottom: 40px;
}
.about-section {
  padding: 100px 0;
  background: linear-gradient(to right, #ffffff 60%, #f4f7fb 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}





.about-image img {
  width: 100%;
  border-radius: 10px;
}

.about-list {
  margin-top: 20px;
  line-height: 2;
}

.about-list {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}

.about-list i {
  color: #f97316;
  font-size: 16px;
  background: #fff7ed;
  padding: 8px;
  border-radius: 6px;
}

/* TEAM */

.team-section {
  padding: 100px 0;
  background: #0f1a2c;
  text-align: center;
  color: white;
}

.section-title {
  margin-bottom: 60px;
  font-size: 28px;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */
.team-card {
  background: white;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 15px;
  padding: 30px 20px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* HOVER EFFECT */
.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: #ff7a00;
}

/* AVATAR */
.avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden; /* This crops the image into the circle */
  border: 3px solid #ff7a00;
  box-sizing: border-box;
  display: flex; /* Ensures image centers perfectly */
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
   object-position: top; 
  /* ADD THIS: This makes the zoom smooth */
image-rendering: auto;
  transition: transform 0.3s ease-in-out; 
}

/* ONLY for this specific avatar */


/* IMAGE ZOOM */
.team-card:hover .avatar img {
  transform: scale(1.1);
}


/* NAME */
.team-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #111827;
}

/* ROLE */
.role {
  color: #ff7a00;
  font-size: 13px;
  margin-bottom: 12px;
}

/* DESCRIPTION */
.team-card p {
  font-size: 14px;
    color: #374151;
  line-height: 1.5;
}

/* 🔥 GLOW EFFECT ON HOVER */
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,122,0,0.2), transparent 70%);
  opacity: 0;
  transition: 0.4s;
}

.team-card:hover::before {
  opacity: 1;
}

.credentials{
  font-size:13px;
  font-weight:600;
  color:#666;
  margin-bottom:12px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* 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);
}
.about-list li:hover {
  transform: translateX(5px);
  transition: 0.3s;
}

@media (max-width: 900px) {

  .about-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {

  .team-grid {
    grid-template-columns: 1fr;
  }

  .services-hero h1 {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .about-section {
    padding: 50px 20px;
  }

  .team-section {
    padding: 50px 20px;
  }
}
/* =========================================
   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 {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff7a00;
  color: white;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 50%;
}


.collab-section{
  padding:100px 0;
  background:#f8fafc;
  text-align:center;
}

.collab-intro{
  max-width:700px;
  margin:0 auto 50px;
  color:#555;
  line-height:1.8;
  font-size:15px;
}