@import url("../fonts/stylesheet.css");

:root {
  --crl-primary: #00396f;
  --crl-secondary: #0072f0;
}

body {
  font-family: "Lama Sans";
  background-color: #fff;
  color: #65625d;
}

a {
  color: #676767;
  text-decoration: none;
}

a:hover {
  color: var(--crl-primary);
  text-decoration: none;
}

/*  */
.btn-primary {
  background-color: var(--crl-primary);
  border: none;
}

.btn-primary:hover {
  background-color: var(--crl-secondary);
  border: none;
}

.text-primary {
  color: var(--crl-secondary) !important;
}

.text-primary2 {
  color: var(--crl-primary) !important;
}

.text-justify {
  text-align: justify;
}

.text-dark {
  color: #00396f !important;
}

.bg-light {
  background-color: #f2f8fd !important;
}

.head-section {
  margin-bottom: 40px;
}

.head-section h3 {
  font-size: 22px;
}

.menu-side {
  width: 100%;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1050;
  position: absolute;
  background-color: white;
  height: 100dvh;
  top: 0;
  right: 0;
  padding: 20px;
}

.menu-side li a {
  color: #495057;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  display: block;
}

.menu-side a:hover {
  background-color: #e9ecef;
  color: #212529;
}

#close-menu {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--crl-primary);
  color: white;
  margin: auto;
  display: grid;
  place-content: center;
  margin-bottom: 10px;
}

#close-menu:hover {
  background-color: var(--crl-secondary);
  cursor: pointer;
}

#lang-desktop,
#lang-mobile {
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  z-index: 1000;
  min-width: 100px;
  display: none;
}

#lang-desktop.show-menu,
#lang-mobile.show-menu {
  display: block;
}

#lang-desktop li a,
#lang-mobile li a {
  padding: 8px 12px;
  color: #495057;
  text-decoration: none;
  display: block;
}

#lang-desktop li a:hover,
#lang-mobile li a:hover {
  background-color: #e9ecef;
  color: #212529;
}

.show-menu {
  transform: translateX(0);
}

.hero-section {
  height: 606px;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.hero-section h1 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 30px;
}

.hero-section h2 {
  font-weight: 300;
}

/* About Section */

.about-section {
  padding: 60px 0;
}

.about-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #1e1e1e;
}

.about-section .inner {
  font-size: 15px;
  font-weight: 300;
}

.number-box {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.number-box h3 {
  font-size: 40px;
  font-weight: bold;
}

.number-box p {
  font-size: 18px;
  font-weight: 300;
}

.service-box {
  transform: skewX(5deg);
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(221, 236, 248, 0.1);
  height: 100%;
  margin-inline: 20px;
  overflow: hidden;
}

.service-box .inner {
  transform: skewX(-5deg);
}

.service-box .inner img {
  height: 170px;
  width: 110%;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

.service-box .inner h3,
.service-box .inner p {
  padding: 0 20px;
  margin-inline-end: 20px;
}

.service-box .inner h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e1e1e;
}

.service-box .inner p {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 20px;
}

.service-box .inner a.btn {
  margin-inline-end: 40px;
  margin-bottom: 20px;
}

.choose-box {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px 40px;
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
  font-weight: 200;
}

.choose-box h4 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 16px;
}

.image-box {
  padding: 0 !important;
}

.choose-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.projects-slider img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.projects-slider .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 20%);
  border-radius: 10px;
}

.projects-slider .swiper-slide {
  scale: 0.8;
}

.projects-slider .swiper-slide-active {
  scale: 1;
  transition: all 0.3s ease-in-out;
}

.projects-slider .swiper-slide-active::before {
  opacity: 0;
}

.projects-slider .button-next,
.projects-slider .button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  scale: 0.7;
}

.projects-slider .button-next {
  left: 10px;
}

.projects-slider .button-prev {
  right: 10px;
}

.partner-box {
  height: 100px;
  width: 100%;
  object-fit: scale-down;
  border: 1px solid #dfdddd;
  border-radius: 5px;
}

footer {
  background-color: #000;
  color: white;
  padding: 50px 0;
}

footer a {
  color: white;
}

footer a:hover {
  text-decoration: underline;
  color: white;
}

footer h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

footer h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer .social-icons {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 16px;
}

footer .social-icons a {
  font-size: 20px;
  color: white;
}

.form-section > img.position-absolute {
  width: 290px;
  top: -170px;
  left: 0;
  right: 0;
  margin-inline: auto;
}

.form-section h2 {
  text-align: center;
  width: 70% !important;
  margin-inline: auto;
  line-height: 1.5;
  margin-bottom: 50px;
}

.form-section {
  overflow: hidden;
}

.career h3 {
  font-size: 16px;
  font-weight: 300;
  color: #1e1e1e;
}

.career h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  width: min(150px, 100%, 200px);
  color: var(--crl-primary);
}

.career .form-section h2 {
  width: 100%;
}

.form-control,
.form-select {
  background-color: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #c9c9c9;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--crl-primary);
  background-color: transparent;
}

.file-input label[for="file"] {
  display: block;
  text-align: center;
  border: 2px dashed var(--crl-primary);
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.file-input label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-input input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

textarea {
  resize: none;
}

.hidden {
  display: block;
}

.contact-info {
  border-bottom: 1px solid #ddd;
  margin-bottom: 40px;
}

.contact-info figure img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.contact-info h6.mb-3 {
  color: var(--crl-primary);
}

.nav-tabs {
  margin-bottom: 30px;
}

.nav-tabs .nav-link {
  border-block: none;
  border-inline: none;
  color: #000;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border-bottom: 1px solid var(--crl-primary);
  color: var(--crl-primary);
}

.pranche-office img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 16px;
}
.service-box .inner > span {
  background: var(--crl-primary);
  color: #fff;
  position: absolute;
  inset-inline-start: 50px;
  top: 20px;
  display: block;
  padding: 5px 16px;
  border-radius: 8px;
}

.history-slider .content {
  background: #f2f8fd;
  border: 1px solid #1e1e1e;
  padding: 22px;
  border-radius: 8px;
  position: relative;
}

.history-slider img {
  height: 480px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: -20px;
}

.history-slider .swiper-pagination {
  width: 70px;
  inset-inline-start: 0;
  position: static;
}

.history-slider .swiper-scrollbar {
  scale: 0.8;
  background: #bce1ff;
  position: static;
}

.history-slider .swiper-scrollbar-drag {
  background: #00396f !important;
}

.history-slider .swiper-slide:not(.swiper-slide-active) .content {
  position: relative;
  inset-inline-end: 170px;
}

.history-slider .swiper-slide .content {
  position: relative;
  margin-inline-start: 90px;
  inset-inline-end: 90px;
  padding-block-end: 70px;
}
.controller {
  width: 190px;
  position: absolute;
  bottom: 14px;
  inset-inline-start: 16px;
}

#menu-dropdown {
  position: relative;
  padding-inline-start: 15px;
  list-style-type: none;
  display: none;
}

[data-id="menu-dropdown"] > a::after {
  content: "";
  display: block;
  background: url('data:image/svg+xml;charset=utf-8,<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M11.7797 1.68933L7.43306 6.036C6.91973 6.54933 6.07973 6.54933 5.56639 6.036L1.21973 1.68933" stroke="%23676767" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> </svg>');
  width: 13px;
  height: 8px;
}

[data-id="menu-dropdown"] > a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

#menu-dropdown.show {
  display: block;
}

.services-block .item img {
  height: 109px;
  object-fit: scale-down;
}

.success-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  padding: 40px 20px;
}

.feature-item h3.text-black {
  line-height: 1.8;
}

@media (min-width: 992px) {
  .hidden {
    display: none;
  }

  .menu-side {
    transform: translateX(0);
    position: static;
    height: auto;
    min-width: auto;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    background: transparent;
    margin-inline-start: 40px;
    align-items: center;
    width: fit-content;
  }

  .menu-side #menu-links {
    display: flex;
    gap: 9px;
    margin-bottom: 0;
    font-size: 15px;
    border: 1px solid #dfdddd;
    border-radius: 16px;
  }

  #close-menu {
    display: none;
  }

  [data-id="lang-desktop"] {
    margin-inline-start: 14px;
    margin-inline-end: 20px;
  }

  .menu-side a.btn.btn-primary.mt-auto {
    margin: 0 !important;
  }

  .hero-section {
    height: 800px;
  }

  .hero-section h1,
  .hero-section h2 {
    font-size: 55px;
  }

  .about-section .col-md-5 h3 {
    font-size: 31px;
    color: #1e1e1e;
  }

  .about-section .inner {
    font-size: 18px;
  }

  .company-numbers {
    margin-top: 30px;
  }

  .number-box {
    min-height: 250px;
  }

  .number-box h3 {
    font-size: 60px;
  }

  .number-box p {
    font-size: 28px;
  }

  .service-box .inner img {
    height: 300px;
  }

  .head-section h2 {
    font-size: 26px;
    margin-top: 6px;
  }

  .projects-slider img {
    height: 440px;
  }

  .choose-box {
    min-height: 270px;
    padding: 80px 70px;
  }

  .choose-box h4 {
    font-weight: 500;
    font-size: 38px;
  }

  .choose-box img {
    height: 270px;
  }

  .head-section h3 {
    font-size: 50px;
  }

  .who-to-choose-us .head-section small {
    margin-top: 30px;
    display: block;
  }

  footer ul {
    display: grid;
    grid-template-columns: 50% 50%;
  }

  .career h4.d-none.d-md-block {
    position: absolute;
    color: #00396f;
    top: 120px;
    width: 330px;
    font-size: 51px;
    inset-inline-end: 50%;
    transform: translateX(-50%);
    text-align-last: left;
  }

  .career h3 {
    margin-bottom: 100px;
    font-size: 22px;
  }

  .form-section h2 {
    text-align: start;
    width: auto !important;
  }

  .form-section > img.position-absolute {
    left: auto;
    width: 410px;
    top: -30px;
  }
  .company-tabs button {
    border: none;
    background: transparent;
    display: block;
    padding: 6px;
    width: 100%;
    text-align: start;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    font-size: 21px;
  }

  .company-tabs button.active {
    color: #00396f;
    border-color: #00396f;
    font-size: 22px;
  }

  .about.career h4.d-none.d-md-block {
    width: 400px;
  }

  .history-slider .swiper-slide .content {
    padding-block-end: 40px;
  }

  [data-id="menu-dropdown"] > a {
    gap: 10px;
  }

  #menu-dropdown {
    position: absolute;
    background: #fff;
    inset-inline-start: 0;
    min-width: 290px;
    border-radius: 8px;
    padding: 0;
  }
  .success-section {
    padding: 88px 75px;
    line-height: 1.8;
  }
}
