/* Parent container: holds form (right) and video (left) */
.tucap1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;          /* allow stacking on small screens */
  gap: 2rem;                /* space between form and video */
  background-color: black;
  padding: 2rem;
}

/* Left side: video */




.tucap1-left {
  flex: 1 1 70%;
  max-width: none;          /* Allow to grow freely */
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  position: relative;
  width: 100%;              /* fill parent width */
  max-width: 1200px;        /* increase max-width */
  padding-bottom: 56.25%;   /* 16:9 aspect ratio */
  height: 0;
}






.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Responsive tweaks for smaller screens */
@media (max-width: 1400px) {
  .tucap1 {
    flex-direction: column;
    align-items: center;
  }

  .tucap1-left,
  .tucap1-right {
    max-width: 100%;
    flex: none;           /* reset flex-grow on small screens */
  }
}


.tucap1-right form {
  max-width: 500px;   /* ⬅️ controls form width */
}

.tucap1-right input[type="text"],
.tucap1-right input[type="email"],
.tucap1-right textarea {
  width: 100%;        /* still fills the form width */
  max-width: 600px;   /* same limit as form */
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}






/* top-left navigation */
.top-left-nav {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 2rem);
}

.nav-buttons {
  display: flex;
}

.nav-buttons a {
  margin-right: 15px;
  padding: 8px 16px;
  background-color: blue;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.nav-buttons a:last-child {
  margin-right: 0;
}

.nav-buttons a:hover {
  background-color: blue;
}

.top-left-nav img {
  height: 40px;
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
  max-height: 50px;
}

.logo img {
  height: 40px;
  width: auto;
}

/* TUCAP */
.tucap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: 'Playfair Display', serif;
}

.tucap h1 {
  font-size: 3.5rem;
}

.tucap-left,
.tucap-right {
  flex: 1 1 300px;
  max-width: 50%;
}

.tucap-right img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.tucap-buttons a {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: blue;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

/* TUCAP3 */
.tucap3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.tucap3 h1 {
  font-size: 3.5rem;
}

.tucap3-left,
.tucap3-right {
  flex: 1 1 300px;
  max-width: 50%;
}

.tucap3-left img {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  object-fit: cover;
  position: relative;
  z-index: 3;
}

.tucap3-buttons a {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: black;
  color: white;
  text-decoration: none;
  padding: 0.75rem 3rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

/* circulos */
.circulos {
  padding: 4rem 2rem;
  background-color: #000;
  text-align: center;
  color: #fff;
}

.circulos-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.column {
  flex: 1 1 250px;
}

.icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

/* stats */
.stats {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #000;
  color: white;
  flex-wrap: wrap;
  text-align: center;
}

.stat {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  border: 4px solid blue;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
}

.stat-label {
  font-size: 1rem;
  font-weight: normal;
}

.stat p {
  font-size: 1rem;
  max-width: 90%;
}

/* financiera */
.financiera {
  background-color: white;
  color: black;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 12px;
}

.financiera h2 {
  font-size: 2rem;
  color: orange;
  margin-bottom: 1rem;
}

.financiera h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.financiera p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.financiera-buttons a {
  background-color: blue;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

/* form */
form {
  margin-top: 2rem;
  margin-left: 0rem;
}

form input[type="text"],
form input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1rem;
}

form button[type="submit"] {
  background-color: blue;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #0048a4;
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
  .tucap1, .tucap, .tucap3 {
    flex-direction: column;
    padding: 2rem;
  }

  .tucap1-right, .tucap-left, .tucap-right, .tucap3-left, .tucap3-right {
    max-width: 100%;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .circulos-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .tucap1-left video,
  .tucap1-left img,
  .tucap1-left iframe,
  .tucap-right img,
  .tucap3-left img {
    max-width: 100%;
  }
}

