

/* HERO WRAPPER - Homepage specific */
.header-wrapper {
  background: url("/ASSETS/jorge-ramirez-_zrJMDHVUxc-unsplash.jpg") 
              no-repeat center center/cover; 
  color: white;
  position: relative;
  min-height: 100vh;
  width: 100%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
}

/* HERO SECTION */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 90vh;
  padding: 50px;
  position: relative;
  z-index: 5;
}

.hero-texts {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-section hr {
  width: 1px;
  height: 150px;
  margin-left: 50px;
  background: rgb(255, 255, 255);
  border: none;
}

.hero-texts p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-left: 70px;
  position: relative;
  bottom: 180px;
}

.hero-texts button {
  padding: 12px 25px;
  border-radius: 5px;
  border: none;
  background: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  margin-left: 70px;
  position: relative;
  bottom: 180px;
  font-family: "Poppins", sans-serif;
}

.hero-texts button:hover {
  background: #333;
  color: white;
}

/* COMPANIES SECTION - Homepage specific */
.companies {
  text-align: center;
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.companies p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #333;
}

.companies p a {
  color: #003366;
  text-decoration: none;
  font-weight: 600;
}

.companies p a:hover {
  text-decoration: underline;
}

.companies h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 20px;
}

.companies hr {
  width: 100px;
  height: 3px;
  background-color: #003366;
  border: none;
  margin: 0 auto 50px auto;
}

/* Subcompanies Flexbox Layout */
.subcompanies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.company-card {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.company-card img {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.company-card h3 {
  color: #003366;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.company-card p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.company-card button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.company-card button:hover {
  background-color: #1a4d80;
}

/* FEATURED PROJECTS SECTION - Homepage specific */
.featured {
  text-align: center;
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.featured h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 20px;
}

.featured hr {
  width: 100px;
  height: 3px;
  background-color: #003366;
  border: none;
  margin: 0 auto 50px auto;
}

.featured-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 350px;
  max-width: 380px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-img h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 51, 102, 0.8);
  color: white;
  margin: 0;
  padding: 15px 20px;
  font-size: 1.1rem;
  text-align: left;
}

.card-texts {
  padding: 25px 20px;
  text-align: left;
}

.card-texts h1 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 15px;
  line-height: 1.3;
}

.card-texts p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 1rem;
}

.card-texts button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.card-texts button:hover {
  background-color: #1a4d80;
}

/* VIDEO PLAY BOX SECTION - Homepage specific */
.videoplaybox {
  width: 100%;
}

.videoplaybox video {
  width: 100%;
  border-radius: 20px;
  height: 70vh;
  object-fit: cover;
  padding: 20px;
  display: block;
}

/* LATEST INSIGHTS SECTION - Homepage specific */
.latestinsights {
  text-align: center;
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.latestinsights h1 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 20px;
}

.latestinsights hr {
  width: 100px;
  height: 3px;
  background-color: #003366;
  border: none;
  margin: 0 auto 50px auto;
}

.insights-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.insights-cards .card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 350px;
  max-width: 380px;
  overflow: hidden;
}

.insights-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-video {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insights-cards .card:hover .card-video video {
  transform: scale(1.05);
}

.card-video h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 51, 102, 0.8);
  color: white;
  margin: 0;
  padding: 15px 20px;
  font-size: 1.1rem;
  text-align: left;
}

/* CTA SECTION - Homepage specific */
.cta-section {
  position: relative;
  width: 100%;
}

.cta-section img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  padding: 20px;
  display: block;
}

.cta-text {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: white;
  padding: 25px;
  max-width: 600px;
}

.cta-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.cta-text p {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 1rem;
}

.cta-text button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.cta-text button:hover {
  background-color: #1a4d80;
}

/* Homepage Specific Responsive */
@media (max-width: 768px) {
  .hero-section {
    justify-content: center;
    text-align: center;
    padding: 30px;
  }
  
  .hero-texts hr {
    margin: 0 auto;
  }
  
  .hero-texts p,
  .hero-texts button {
    margin-left: 0;
    position: static;
  }
  
  .companies, .featured, .latestinsights {
    padding: 50px 15px;
  }
  
  .companies h1, .featured h1, .latestinsights h1 {
    font-size: 2rem;
  }
  
  .subcompanies, .featured-cards, .insights-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .card, .company-card {
    min-width: 100%;
    max-width: 500px;
  }
  
  .cta-text {
    position: relative;
    left: 0;
    transform: none;
    text-align: center;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .companies, .featured, .latestinsights {
    padding: 40px 10px;
  }
  
  .companies h1, .featured h1, .latestinsights h1 {
    font-size: 1.8rem;
  }
  
  .companies p {
    font-size: 1.1rem;
  }
  
  .company-card {
    padding: 30px 20px;
  }
  
  .card-img, .card-video {
    height: 200px;
  }
  
  .card-texts {
    padding: 20px 15px;
  }
  
  .card-texts h1 {
    font-size: 1.3rem;
  }
}