:root{
  --zblue: #2c85ff;
  --zwhite: #ffffff;
}

body{
  background-color: var(--zblue);
}
.section {
  padding: 2rem;
  height: 70vh; 
  background-color: var(--zwhite);
}

.hero-section {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: url(../assets/images/home-vista1.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* controls curve depth */
}



.hero-section-content {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;;
}

.hero-section-content h1 { 
  color: var(--zwhite);
  width: 70%;
  margin: 0 auto;
  font-size: 3rem;

}

.hero-section-content p { 
  font-size: 1.3rem;
  max-width: 600px;
  margin: 2rem auto;
  line-height: 1.6;
  color: var(--zwhite)
}

.services-btn {
  background-color: var(--zblue);
  color: white;
  padding: 1rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.services-btn:hover {
  background-color: #005fa3;
}

.brand-carousel {
  position: relative;
  z-index: 1;
  margin-top: 8rem;
  display: flex;
  justify-content: center; /* centers the logos */
  gap: 2rem;
  padding: 1rem;
  background-color: var(--zblue);
  border-radius: 40px;
}

.brand-carousel img {
  height: 60px;
}

#logo-Dell{
  padding: 0.3rem;
}
#logo-VMware{
  padding: 0.8rem;
}
#logo-Lenovo{
  padding: 0.3rem;
}
#logo-Google{
  padding: 0.3rem;
}
#logo-IBM{
  padding: 0.2rem;
}
#logo-Pure{
  padding: 0.3rem;
}






/* About Section */
.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  
  background: var(--zwhite);
}

.about-container {
  display: flex;
  max-width: 1400px;
  width: 70%;
  align-items: center;
  height: 100%;
}

.about-image, .about-content {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.about-image{
  flex: 0 0 60%;
}

.about-content {
  flex: 0 0 40%;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--zblue);
  align-self: flex-start;
}

.about-content span{
  font-size: 2rem;
  font-weight: 800;
  color: var(--zblue3);
}

.about-content p {
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: justify;
}

.about-stats {
  display: flex;
  gap: 30px;
  width: 100%;
  justify-content: space-around;
}

.stat {
  text-align: center;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat span {
  font-size: 2.5rem;
  color: var(--zblue);
  text-align: center;
}

.about-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0077ff;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.3s;
}

.about-btn:hover {
  background: #005fcc;
}










.services-section{
  display: flex;
  justify-content: center;
}

#services{
  scroll-margin-top: 80px;
}

.solutions-container {
  width: 70%;             /* inner content constrained */
}

.solutions-section {
  width: 100%;            /* section spans full page */
  padding: 4rem 0;
}

/* Header row: title + button */
.solutions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.solutions-header h2{
  font-size: 2rem;
  font-weight: 800;
  color: var(--zblue);
}

.solutions-header span{
  font-size: 2rem;
  font-weight: 800;
  color: var(--zblue3);
}
.see-more-btn {
  background-color: #007bff;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.3s;

}

.see-more-btn:hover {
  background-color: #0056b3;
}

/* Grid of solutions */
.solutions-grid {
  justify-self: center;
  display: flex;
  width: 100%;
  height: 500px;            /* at least 40% of viewport height */
  overflow: hidden;
  gap: 5px;
}

.solution-grid-item{
  flex: 1;
  transition: flex 0.4s ease, box-shadow 0.3s ease;
  position: relative;
}
.solution-grid-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 80, 0.5); /* dark blue light */
  transition: background 0.3s ease;
  z-index: 1;
  border-radius: 12px;
}


.solution-grid-item:hover{
  flex: 1.24;
  box-shadow: 0 0 15px rgba(0, 128, 255, 0.7);
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0);
}

.solutions-grid:hover .solution-grid-item:not(:hover){
  flex: 0.92;
}

.solution-grid-item:hover::after{
  background-color: rgb(0, 128, 255, 0.6);
  
}


.solutions-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fills frame, no empty space */
  display: block;
  border-radius: 12px;

}

.solution-text {
  position: absolute;

  color: #fff;
  text-align: center;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.6);
  max-width: 80%;
  pointer-events: none; /* keeps hover on card */

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.solution-text h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.solution-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}








.why-choose-us-section{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh;
  height: fit-content;
  transition: all 1s ease;
}
.why-choose-us {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-items: center;  
  gap: 2rem;
  max-width: 70%;
  margin-bottom: 20px;
}

.why-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.why-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color:var(--zblue);
}
.why-text span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--zblue3);
}

.why-text p {
  font-size: 1rem;
  color: #000;
  text-align: justify;
}

.why-text .btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background: #007bff;
  font-weight: bold;
  color: white;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.3s;

}

.why-text .btn:hover {
  background: #0056b3;
}

.why-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
}

.why-cards .card:nth-child(odd){
  transform: translateY(-20px);
}

.why-cards .card:nth-child(even){
  transform: translateY(20px);
}

.why-cards .card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-cards .card img {
  width: 80px;
  margin-bottom: 1rem;
}

.why-cards .card h3{
  text-align: left;
}


.why-choose-us-section.active{
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}



.card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.why-details{
  width: 100%;
  padding: 0 2rem;
  background-color: transparent;

  max-height: 0;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
}
.why-details.active{
  padding: 2rem;
  max-height: 2500px;
}


.detail{
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);

  border-radius: 20px;
  width: 70%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: 
    max-height 2s ease, 
    opacity 2s ease, 
    transform 2s ease, 
    padding 2s ease;
  padding: 0 2rem;
}

.detail.active{
  max-height: 2500px;
  opacity: 1;
  transform: translateY(0);
  padding: 2rem;
}

.detail *{
  text-align: justify;
}

.detail h2{
  color: var(--zblue);
  font-weight: 800;
}

.detail h3{
  padding: 1rem 0;
  color: var(--zblue3);
  font-weight: 600;
}

.detail h4{
  color: var(--zblue);
  font-weight: 600;
}



.last{
  padding-top: 1rem;
}

.detail ul{
  padding-left: 1.5rem;
}

.info3-brands{
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

}

.info3-brands img{
  height: 50px;
  border: black solid 1px;
  border-radius: 10px;
  cursor: pointer;
}

.info3-brands img:hover{
  transform: scale(1.1);
}

#info3-vmware{
  padding: 0.5rem;
}

#info3-pure{
  padding: 0 0.5rem;
}

#info3-ibm{
  padding: 0.2rem 0.5rem;
}

#info3-aws{
  padding: 0.3rem 0.2rem 0 0.2rem;
}



.info3_brand_logos.active {
  box-shadow: 0 10px 6px rgba(0,0,0,0.25);
}



.detail-portafolio-data{
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 10px;
 
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: 
    max-height 1s ease, 
    opacity 1s ease, 
    transform 1s ease, 
    padding 1s ease;
  padding: 0 2rem;
}

.detail-portafolio-data.active{
  max-height: 2500px;
  opacity: 1;
  transform: translateY(0);
  padding: 1rem;
  margin-top: 1rem;
  
}
































/* Section container */
.news-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  transition: all 1s ease;
  height: 90vh;
}

.news-section.active{
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* Top row (title + button) */
.news-header {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid #777;
  margin-bottom: 1rem;

}

.news-header h2  {
  padding-bottom: 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--zblue);
}

.news-header span  {
  font-size: 2rem;
  font-weight: 800;
  color: var(--zblue3);
}

.news-btn {
  padding: 0.5rem 1.2rem;
  background: #0073e6;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

.news-content {
  display: flex;
  width: 70%;
  box-sizing: border-box;
  flex: 1;
  min-height: 0;
}

.news-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(8, 0.4fr); 
  grid-template-rows: repeat(11, 0.4fr);
  gap: 1rem;
  min-height: 0;
  box-sizing: border-box;
}

.news-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35)
}

.news-card img {
  object-fit: cover;
  height: 100%;
}

.news-card .topic {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1rem;
  padding: 6px;
  border-radius: 3px;
}

.news-meta {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  padding:  clamp(4px, 1vw, 10px);
  color: #fff;
  background: rgba(0, 0, 80, 0.8);

}
.news-meta {
  font-size: 1.2rem;
}
.news-meta p{
  margin-top: 8px;
  font-size: 1rem;
}

/* Different sizes */
#news-zenware-evento {
  grid-column: 1/6;
  grid-row: 7/12;
}

#news-zenware-briefing{
  grid-column: 6/9;
  grid-row: 1/12;
}

#news-1 {
  grid-column: 1/6;
  grid-row: 1/4;
}

#news-2 {
  grid-column: 1/6;
  grid-row: 4/7;
}











/* Testimonials Section */
.testimonials-section {
  max-width: 100%;
  padding: 4rem 0;
  text-align: center;
  background: var(--zblue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonials-title {
  font-size: 2rem;
  margin-bottom: 4rem;
  width: 70%;
}

/* Container for 2 cards */
.testimonials-container {
  width: 70%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  
}

/* Individual Card */
.testimonial-card {
  flex: 0 0 45%;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #555;
}

.client-info {
  align-self: flex-start;
}

.client-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.client-info p {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}