@charset "utf-8";

/* Estilos generales */
body {
  padding-top: 0;
  background: #fff;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 400;
  color: #64686d;
  line-height: 26px;
  direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  color: #272727;
}

a {
  color: #c4bcb8;
  -webkit-transition: color 400ms, background-color 400ms;
  -moz-transition: color 400ms, background-color 400ms;
  -o-transition: color 400ms, background-color 400ms;
  transition: color 400ms, background-color 400ms;
}

a:hover, a:focus {
  text-decoration: none;
  color: #1d2b41;
}

/* Header y navegación */
.navbar.navbar-default {
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  background: rgba(29, 43, 65, 0.8);
  position: absolute;
  width: 100%;
  z-index: 100;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.navbar-header a.navbar-brand {
  display: inline-block;
  height: 70px;
  padding: 15px 0;
}

.navbar-default .navbar-nav > li > a {
  color: #fff;
  padding: 30px 15px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li:hover > a {
  color: #c4bcb8;
  background: none;
}

.navbar-default .navbar-nav > li.active > a:after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: #c4bcb8;
}

/* Hero Header */
.hero-header-area {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #313131;
  overflow: hidden;
  z-index: 9;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 10;
}

/* Main Slider con fondo a pantalla completa */
#main-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#main-slider .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #313131;
}

#main-slider #banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Oscurecer ligeramente la imagen para mejorar la visibilidad del logo y menú */
}

#main-slider .banner_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 350px;
  z-index: 10;
}

.hero-logo {
  max-width: 300px;
  height: auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menú inferior */
.hero-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(29, 43, 65, 0.8);
  padding: 15px 0;
  z-index: 10;
}

.hero-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.hero-menu li {
  display: inline-block;
  margin: 0 20px;
}

.hero-menu li a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-menu li a:hover,
.hero-menu li.active a {
  color: #c4bcb8;
}

/* Sticky Header */
.sticky-header {
  background-color: #1d2b41;
  height: 70px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky-header.visible {
  transform: translateY(0);
}

.sticky-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.sticky-header .logo {
  height: 50px;
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sticky-menu li {
  margin: 0 15px;
}

.sticky-menu li a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sticky-menu li a:hover,
.sticky-menu li.active a {
  color: #c4bcb8;
}

/* Secciones */
.section-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 50px;
  position: relative;
  text-align: center;
}

/* Sección Acerca de */
#about {
  position: relative;
  min-height: 100vh;
  text-align: right;
  overflow: hidden;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Oscurecer la imagen para mejorar la legibilidad del texto */
}

.about-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  color: #fff;
}

#about_text {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#about .section-title {
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.about_features {
  position: relative;
  z-index: 2;
  padding: 50px 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.feature-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  min-height: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(62, 193, 213, 0.3);
}

.feature-icon {
  margin-left: 20px;
  font-size: 30px;
  color: #c4bcb8;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: rgba(62, 193, 213, 0.1);
  border-radius: 50%;
  margin-top: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  background: rgba(62, 193, 213, 0.2);
  transform: scale(1.1);
}

.feature-content {
  flex: 1;
}

.feature-content p {
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

.feature-title {
  color: #c4bcb8;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  padding-bottom: 10px;
}

.feature-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: #c4bcb8;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  padding-right: 25px;
  position: relative;
}

.values-list li:before {
  content: '\f00c';
  font-family: 'FontAwesome';
  position: absolute;
  right: 0;
  color: #c4bcb8;
}

.service-box {
  margin: 15px 0;
  direction: rtl;
}

.service-box .pull-left {
  margin-left: 20px;
  margin-right: 0;
}

.service-box .media-body p {
  font-size: 16px;
  line-height: 1.6;
}

/* Sección Partners */
#partner {
  padding: 80px 0;
  background: #f5f5f5;
}

.partners-carousel {
  overflow: hidden;
  position: relative;
}

.partners-slider {
  display: flex;
  width: max-content;
  position: relative;
  transition: transform 0.1s linear;
}

.single-partner {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.single-partner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.single-partner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.single-partner.white-logo img {
  filter: invert(23%) sepia(98%) saturate(1645%) hue-rotate(194deg) brightness(96%) contrast(101%) !important;
}

/* Sección Servicios */
#services {
  padding: 100px 0;
  background: #303030 url(./slider6.jpg) no-repeat center center;
  background-size: cover;
  color: #fff;
  position: relative;
}

#services:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

#services .container {
  position: relative;
  z-index: 2;
}

#services .section-title {
  margin-bottom: 50px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-container {
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .services-container .col-sm-6:first-child {
    margin-bottom: 20px;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  min-height: 230px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(62, 193, 213, 0.3);
}

.service-icon {
  font-size: 30px;
  color: #c4bcb8;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: rgba(62, 193, 213, 0.1);
  border-radius: 50%;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(62, 193, 213, 0.2);
  transform: scale(1.1);
}

.service-title {
  color: #c4bcb8;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.service-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #c4bcb8;
}

.service-desc {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Affiliated Companies Section */

.affiliated-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.logo-item {
  /*background: #ffffff;*/
  border-radius: 10px;
  padding: 15px;
  width: calc(16.666% - 20px);
  min-width: 120px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-item:hover {
  /*background: #ffffff;*/
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(62, 193, 213, 0.5);
}

.logo-item img {
  max-width: 100%;
  max-height: 70px;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .logo-item {
    width: calc(33.333% - 20px);
  }
}

@media (max-width: 767px) {
  .logo-item {
    width: calc(50% - 20px);
  }
}

/* Footer */
.footer-area {
  padding: 40px 0;
  background: #1d2b41;
  color: #ffffff;
}

.footer-head p {
  color: #d9d0c7;
}

.footer-head h4 {
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 2px;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.footer-logo {
  padding-bottom: 20px;
}

.footer-logo .logo-img {
  max-width: 200px;
}

.footer-icons ul li {
  display: inline-block;
}

.footer-icons ul li a {
  border: 1px solid #ffffff;
  color: #ffffff;
  display: block;
  font-size: 20px;
  height: 50px;
  line-height: 48px;
  margin-right: 8px;
  text-align: center;
  width: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-icons ul li a:hover {
  color: #c4bcb8;
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-contacts p {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-contacts p span {
  color: #ffffff;
  font-weight: 700;
}

.footer-area-bottom {
  background: #141e2f;
  padding: 15px 0;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-header-area {
    height: auto;
    min-height: 100vh;
  }
  
  .hero-logo {
    max-width: 200px;
  }
  
  .hero-menu {
    flex-wrap: wrap;
  }
  
  .hero-menu li {
    margin: 5px 10px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .service {
    min-height: auto;
  }
  
  #footer {
    text-align: center;
  }
}