:root {
  --primary: #01325b;
  --secondary: #0073a0;
  --light: #f8f9fa;
  --dark: #212529;
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: #333;
  padding-top: 0;
}

/* Header Styles */
header {
  background: var(--primary);
  transition: var(--transition);
  z-index: 1000;
  padding: 10px 0;
  background-color: var(--light);
}


.navbar-brand img {
  height: 70px;
  transition: var(--transition);
}

/*language switch button EN / FR */
.language-switcher .form-select {
  --bs-form-select-bg-img: url("");
  width: 45px;
  height: 30px;
  text-align: center;
  padding: 0;
  margin-left: 20px;
  line-height: 15px;
  color: var(--primary)
}
.form-select:focus {
  border: none;
  border-radius: none;
  box-shadow: none;
  outline: none
}


@media(max-width: 991.98px) {
  .language-switcher {
    order: 2
  }
  .navbar-toggler {
    order:3
  }
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--primary);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
  width: 100%;
}

.navbar-toggler {
  background-color: var(--primary);
  border: 1px var(var(--primary)) solid
}

/* Carousel Styles */
.carousel-item {
  height: 80vh;
  min-height: 500px;
}

.carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 50, 91, 0.5);
}

.carousel-caption {
  bottom: 30%;
  text-align: center;
}

.carousel-caption h2 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 20px auto 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Section Styling */
.section {
  padding: 100px 0;
}

.section-header {
  position: relative;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about-img {
  height: 280px;
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}
.about-img img {
  height: 100%;
  width: 100%;
  object-fit: contain
}

.about-img:hover {
  transform: translateY(-10px);
}


/* ======= Industry Card Icons ======= */
.industry-card .icon-box {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; 
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.industry-card:hover .icon-box {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.industry-card {
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  margin-bottom: 30px;
  justify-content: center;
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.industry-card .card-img-top {
  height: 180px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.industry-card .card-img-top img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}


.industry-card:hover .card-img-top {
  transform: scale(1.05);
}

.industry-card .card-body {
  text-align: center;
  z-index: 15;
  position: relative;
}

.industry-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.industry-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: var(--primary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Subsidiaries */
.subsidiary-card {
  transition: var(--transition);
  border: none;
  border-radius: 10px;
}

.subsidiary-img-wrapper {
  height: 200px;
  overflow: hidden;
  width: 100%;
}

.subsidiary-img-wrapper img {
  transition: var(--transition);
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.subsidiary-card:hover .subsidiary-img-wrapper img {
  transform: scale(1.1);
}

.subsidiary-content {
  padding: 20px;
}

/* Contact Section */
.contact-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info {
  background: var(--primary);
  color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
}

.footer-top {
  background: rgba(0, 0, 0, 0.2);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  padding: 5px 0;
  display: inline-block;
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.social-icons a {
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
}

/* ======= Responsive Styles ======= */
@media (max-width: 1199.98px) {
  .carousel-caption h2 {
    font-size: 2.5rem;
  }
  .industry-card .icon-box {
    top: -45px;
  }
}

@media (max-width: 991.98px) {
  .carousel-item {
    height: 60vh;
  }

  .carousel-caption h2 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1.25rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Industry Cards */
  .industry-card .card-img-top {
    height: 160px;
    margin-bottom: 0;
  }

  .industry-card .icon-box {
    width: 60px;
    height: 60px;
    top: -34px;

  }
}

@media (max-width: 767.98px) {
  .carousel-item {
    height: 50vh;
  }

  .carousel-caption h2 {
    font-size: 1.75rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .navbar-brand img {
    height: 60px;
  }

  /* Industry Cards */
  .industry-card {
    margin-bottom: 25px;
  }

  .industry-card .card-img-top {
    height: 150px;
  }

  .industry-card .icon-box {
    width: 55px;
    height: 55px;
    bottom: -30px ;
  }

  .industry-card h3 {
    font-size: 1.15rem;
  }
}

@media (max-width: 575.98px) {
  .carousel-item {
    height: 40vh;
  }

  .carousel-caption {
    bottom: 20%;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .carousel-caption .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Industry Cards */
  .industry-card .card-img-top {
    height: 140px;
  }

  .industry-card .icon-box {
    width: 50px; 
    height: 50px;
    top: -27px ;
    /* margin: -25px auto 10px; */
    /* margin: 0px auto 0px; */
    /* position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50% -50%); */
    
  }

  .industry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .industry-card p {
    font-size: 0.85rem;
  }
}

/* Additional Mobile Optimization */
@media (max-width: 400px) {
  .carousel-caption h2 {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .industry-card .card-img-top {
    height: 130px;
  }
}


/*###############################################"*/
/*ABOUT SECTION*/
.company-intro {
    padding: 80px 0;
}
.intro-section {
    margin-bottom: 40px;
}

.intro-img-container {
  height: 100%;
}
.intro-img {
    max-width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.intro-icon {
    font-size: 2rem;
    color: #0073a0;
    margin-right: 15px;
}
.intro-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}
.intro-content {
    padding-left: 30px;
}

.expertise-list {
    list-style-type: none;
    padding-left: 0;
}
.expertise-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}
.expertise-list li:before {
    content: "•";
    color: #0d6efd;
    font-weight: bold;
    position: absolute;
    left: 0;
}
@media (max-width: 767.98px) {
    .intro-content {
        padding-left: 2;
        padding-top: 30px;
    }
    .intro-img-container {
        text-align: center;
    }
    .intro-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .intro-content {
        padding-left: 2;
        padding-top: 30px;
    }
    .intro-img-container img{
        text-align: center;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    .intro-title {
        font-size: 1.5rem;
    }
}