@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* SECCIÓN BASE */
.seccion-img {
    position: relative;
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.fondo-transp {
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(6, 9, 73, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
}


.texto-esc {
    color: white;
    padding: 2rem;
    z-index: 1;
    text-align: center;
}

.texto-esc h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
}

.texto-esc p {
    font-size: 1.5em;
}

/* ----------------------------------------------------- */

.seccion-columnas {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 2rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* COLUMNA IZQUIERDA CON ESTADÍSTICAS */
.columna-imagen {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-box {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
    text-align: center;
}

.stat-box h2 {
    color: #f26522;
    font-size: 2.5em;
    margin: 0;
    font-weight: 700;
}

.stat-box p {
    color: #0b0b3a;
    font-size: 1em;
    font-weight: 600;
    margin: 0.5rem 0 0;
}

/* COLUMNA DE TEXTO */
.texto-columna {
    flex: 2;
    min-width: 300px;
    color: #2e2e3a;
}

.texto-columna h2 {
    color: #0b0b3a;
    font-size: 2.2em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.texto-columna p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1em;
}

.lista-servicios {
    padding-left: 1.5rem;
    list-style: disc;
    color: #2e2e3a;
    line-height: 1.8;
}

/* ---------------------C A R R U S E L------------------- */

.carousel {
  background-color: #161c57bc;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  position: relative;
}

.carousel-title {
  font-size: 2.5em;
  margin-bottom: 2rem;
  font-weight: 700;
}

.carousel-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.carousel-item {
  position: relative;
  width: 300px;
  height: 300px;
  flex: 0 0 auto;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(242, 101, 34, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item:hover .overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  text-align: center;
}

.overlay-content h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
}

.overlay-content p {
  margin-top: 0.5rem;
  font-size: 1em;
}

/*======================================================================================================================================================================================= */

.page-center {
    max-width: 1200px; /* Adjust as needed for content width */
    margin: 0 auto;
    padding: 20px;
}

/* Colors */
.c-darkblue {
    color: #001f4c; /* A dark blue color */
}

.c-orange {
    color: #ff6600; /* An orange color */
}

/* Section Styling */
.teamsReputation-section {
    position: relative;
    padding: 80px 0; /* Adjust padding as needed */
    background-color: #f8f8f8; /* Light background for the section */
    overflow: hidden; /* To contain absolute positioned patterns */
}

.section-entry {
    position: relative;
    z-index: 1; /* Ensure content is above patterns */
}

/* Background Patterns (Cubes) */
.bg-pattern {
    position: absolute;
    opacity: 0.1; /* Adjust opacity as seen in the image */
    z-index: 0;
}

.bg-pattern img {
    display: block;
    width: 100%;
    height: auto;
}

.pattern-cube-1 {
    top: 50px; /* Adjust positioning */
    left: 0;
    width: 150px; /* Adjust size */
}

.pattern-cube-2 {
    top: 50px; /* Adjust positioning */
    right: 0;
    width: 150px; /* Adjust size */
}

.pattern-cube-3 {
    bottom: 50px; /* Adjust positioning */
    left: 0;
    width: 150px; /* Adjust size */
}

.pattern-cube-4 {
    bottom: 50px; /* Adjust positioning */
    right: 0;
    width: 150px; /* Adjust size */
}

/* Section Header */
.entry-header {
    text-align: center;
    margin-bottom: 50px; /* Space below the header */
}

.entry-header .h2 {
    font-size: 2.5em; /* Adjust font size */
    font-weight: bold;
    margin: 0;
}

/* Competitive Edges - Items Section */
.teamsReputation-items {
    display: flex;
    justify-content: space-around;
    gap: 30px; /* Space between items */
    margin-bottom: 80px; /* Space above products section */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.teamsReputation-item {
    width: 30%; /* Approximately one-third width for three items */
    min-width: 280px; /* Minimum width for responsiveness */
    perspective: 1000px; /* For 3D flip effect */
    height: 250px; /* Fixed height for consistency, adjust as needed */
    display: flex; /* To center content vertically */
    align-items: center; /* To center content vertically */
    justify-content: center; /* To center content horizontally */
}

.teamsReputation-item .flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teamsReputation-item.hover .flipper {
    transform: rotateY(180deg);
}

.teamsReputation-item .front,
.teamsReputation-item .back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.teamsReputation-item .front {
    background-color: #fff;
    color: #333;
}

.teamsReputation-item .back {
    background-color: #001f4c; /* Dark blue background for back */
    color: #fff;
    transform: rotateY(180deg);
}

.teamsReputation-item .item-icon {
    margin-bottom: 15px;
}

.teamsReputation-item .item-icon img {
    width: 60px; /* Adjust icon size */
    height: auto;
}

.teamsReputation-item .item-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
}

.teamsReputation-item .cta-wrap {
    margin-top: 10px;
}

.teamsReputation-item .cta-text {
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teamsReputation-item .cta-text .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #ff6600; /* Orange arrow */
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.teamsReputation-item .cta-text:hover .arrow {
    transform: translateX(5px); /* Arrow moves on hover */
}

.teamsReputation-item .item-desc {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Products Section */
.products-section {
    background-color: #fff; /* White background for this section */
    padding: 50px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-nav span {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-weight: bold;
    color: #555;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.product-nav span.active {
    background-color: #ff6600; /* Orange active tab */
    color: #fff;
    border-color: #ff6600;
}

.products {
    padding: 0 20px;
}

.product-item-wrap {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.product-item-wrap.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap; /* Allow columns to stack on smaller screens */
}

.product-col {
    flex: 1;
    min-width: 300px; /* Minimum width for each column */
}

.product-col.product-left {
    text-align: center;
}

.product-name {
    font-size: 2em;
    color: #001f4c;
    margin-bottom: 20px;
}

.product-img {
    margin-bottom: 20px;
}

.product-img img {
    max-width: 100%;
    height: auto;
    border-radius: 5px; /* Slightly rounded corners for images */
}

.product-desc {
    line-height: 1.6;
    color: #555;
}

.product-desc p {
    margin-bottom: 15px;
}

.product-desc ul {
    list-style-type: disc;
    margin-left: 20px;
    padding: 0;
}

.product-desc ul li {
    margin-bottom: 5px;
}

.product-desc a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

.product-desc a:hover {
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6600; /* Orange button */
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #e65c00; /* Slightly darker orange on hover */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .teamsReputation-item {
        width: 45%; /* Two items per row */
    }
}

@media (max-width: 768px) {
    .teamsReputation-items {
        flex-direction: column;
        align-items: center;
    }
    .teamsReputation-item {
        width: 90%; /* One item per row */
        max-width: 350px; /* Limit width */
    }
    .product-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .product-col {
        min-width: unset; /* Remove min-width */
        width: 100%;
    }
    .product-desc ul {
        text-align: left; /* Align list items to left even if parent is centered */
        margin-left: auto;
        margin-right: auto;
        max-width: fit-content;
    }
}

@media (max-width: 480px) {
    .entry-header .h2 {
        font-size: 2em;
    }
    .product-nav span {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

