body {
  transition: background-color 0.3s, color 0.3s;
}
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #fff;
}

p {
  font-weight: 400;
  color: #ccc;
}
.text-pink {
  color: #f083da !important;
}

.dark-mode body {
  background-color: #212529;
  color: #fff;
}
.headerContainer {
  padding-top: 10.5rem;
  background-image: url('../img/home-office-4996834_1280.jpg');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 30rem;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
  overflow: hidden;
}
.header-curve {
  pointer-events: none;
  display:block; 
  width:100%; 
  height:95px; 
  position:absolute; 
  bottom:0; 
  left:0;
}
.card {
  transition: background-color 0.3s, color 0.3s;
}
.cardsTabs{
  padding: 1rem;
}
.carousel-inner {
  min-height: 600px; 
  max-height: 600px;
}

.carousel-item img {
  max-height: 380px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}
  .carousel-control-prev,
.carousel-control-next {
  width: 7%;
   top: 50%;
  transform: translateY(-50%);
}
.card:hover {
  transform: scale(1.02);
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.card-body a{
  text-decoration: none;
}

a:hover {
  color: #6c63ff;
  text-decoration: none;
}

section .carousel .carousel-control-prev {
  left: -8.5% !important;
}

section .carousel .carousel-control-next {
  right: -8.5% !important;
}
.headerContainer .container{
  width: 45%;
}
h1.display-4 {
  font-weight: bold;
  color: white;
  background-color: #212529;
  opacity: 0.5;
}
p.lead{
  font-size: 2rem;
  font-weight: bold;
}
.colorWhite{
  color: white;
}
.tech-diagram {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  min-height: 250px;
}
.text-front{
  color: rgb(120, 105, 255);
}
.text-back{
  color: #198754;
}
.diagram-divider {
  width: 4px;
  height: 200px;
  background: linear-gradient(180deg, #0d6efd 0%, #198754 100%);
  border-radius: 2px;
}
.cvs{
  width: 27%;
  justify-content: space-between;
}
.uxuinone{
  display: none;
}
.cvs a.btn-secondary:hover{
  color: #ffff;
}
ul.contactList li{
  text-decoration: none;
  list-style-type: none;
}
ul.contactList li a{
  text-decoration: none;
}

/* Modo claro pastel */
[data-bs-theme="light"] .lead{
  /* background: #fb71bd;
  opacity: 0.8; */
  color: #fb71bd;
}

[data-bs-theme="light"] .headerContainer{
  background-image: url('../img/laptop-2562361_1280.jpg');
  background-position: bottom;
}
.headerContainer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 33, 33, 0.39); 
  z-index: 1;
}

.headerContainer > * {
  position: relative;
  z-index: 2;
}
[data-bs-theme="light"] .uxuinone{
  /* display: block;
  color: #0f7eb5; */
  display: block;
  color: #fff;
  background: #ff95bde0;
}

[data-bs-theme="light"] h2, h4 {
  color: #70bcff;
}
[data-bs-theme="light"] p {
  color: #282f35;
}

[data-bs-theme="light"] .card {
  background-color: #ffffff !important;
  /* border: 1px solid #ffd6d6;
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.3); */
  color: #333;
}

[data-bs-theme="light"] .card-title {
  color: #ff69b4;
}

[data-bs-theme="light"] .btn-secondary {
  background-color: #ffb6b6;
  border: none;
}

[data-bs-theme="light"] .btn-secondary:hover {
  background-color: #f984a1;
  color: #ffff;
}


[data-bs-theme="light"] section {
  background-color: #fffafc;
}

[data-bs-theme="light"] footer {
  background-color: #ffe4e1;
  color: #333;
}
/* [data-bs-theme="light"]
.carousel-control-prev,
[data-bs-theme="light"]
.carousel-control-next{
  background: #f083da;
  width: 50px;
  height: 50px;
  border-radius: 30px;
} */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(100%);
}


@media (max-width: 767px) {
  .headerContainer .container{
    width: 100%;
  }
  .diagram-divider {
    width: 60%;
    height: 4px;
    margin: 2rem auto;
    background: linear-gradient(90deg, #0d6efd 0%, #198754 100%);
  }
  .contactList li{
    list-style: none;
  }
  .contactList li a{
    text-decoration: none;
    color: black;
  }
  .contactList li a:hover{
    text-decoration: none;
    color: #007bff;
  }
  .carousel-item .row > [class^="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .carousel-inner {
    padding: 0 1rem;
    max-height: max-content;
  }
  .container{
    max-height: max-content;
  }

  .card img {
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }

  .card {
    margin-bottom: 1rem;
  }
  .contactList li {
  font-size: 0.95rem;
  word-break: break-word;
  }
  .cvs{
    width: 90%;
  }

  footer p {
    font-size: 0.85rem;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  /* Header */
  .display-4 {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 1.25rem;
  }

  /* Navbar */
  .navbar-brand {
    font-size: 1.5rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 8px 16px;
  }

  /* Carrusel de proyectos */
  .carousel-item .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .card img {
    max-height: 250px;
    object-fit: cover;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-body {
    padding: 1.2rem;
  }
  .carousel-inner{
    max-height: max-content;
  }

  /* Secciones */
  section {
    padding: 3rem 2rem;
  }

  /* Contacto y footer */
  .contactList li {
    font-size: 1rem;
  }
  .cvs{
    width: 45%;
  }

  footer p {
    font-size: 0.9rem;
  }
}
