  body {
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .form-card {
        width: 100% !important;
        max-width: auto;
        margin: 0 auto;
        background-color: #eeeeee;
        padding: 40px 26px;
        border: none;
      }
      .custom-modal {
        max-width: 100%;
        width: 1200px;
      }

      .modal-header {
        border-bottom: none !important;
      }

      .modal-header h5 {
        color: #0f5e8b;
        text-align: center;
        font-family: "Inter";
        font-size: 32px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin: auto !important;
      }

      .modal-header button {
        margin: 0 !important;
      }

      .modal-body iframe {
        height: 100%;
      }

      .vh_100 {
        height: 90vh !important;
      }


      .navbar-wrapper {
        background-color: #0f5e8b;
        display: flex;
        width: 100%;
        justify-content: space-between;
      }

      .navbar-wrapper nav {
        max-width: 1440px;
        margin: 0 auto;

        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
      }

      .logo img {
        height: 36px;
      }

      .nav-links {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
      }

      .nav-links li {
        margin-left: 20px;
        text-align: center;
      }

      .nav-links a:hover {
        color: #96e4ff;
        text-decoration: none;
        font-weight: 500;
      }

      .nav-links a:active {
        color: #96e4ff;
        text-decoration: none;
        font-weight: 500;
      }

      .nav-links button {
        text-decoration: none;
        border: none;
        background-color: transparent;
        color: #fff;
        text-align: center;
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }

      .nav-links button:hover {
        color: #96e4ff;
        text-decoration: none;
        font-weight: 500;
      }

      .nav-links button:active {
        color: #96e4ff;
        text-decoration: none;
        font-weight: 500;
      }

      .nav-links a {
        text-decoration: none;
        color: #fff;
        text-align: center;
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }

      .burger-menu {
        display: none;
        cursor: pointer;
      }

      .bar {
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
      }

      .slider-outer {
        background-color: #e2f7ff;
        width: 100%;
        display: flex;

        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .slider-wrapper {
        width: 100%;
        max-width: 996px;
        padding: 100px 0;

        display: flex;
        flex-direction: column;
      }

      .slider-hero {
        padding-bottom: 26px;
      }

      .slider-hero h1 {
        color: #0f5e8b;
        font-family: "Playfair Display";
        font-size: 48px;
        font-style: normal;
        font-weight: 800;
        line-height: 52px;
        /* 108.333% */
      }

      .slide p {
        color: #000;
        font-family: "Inter";
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
        /* 140% */
      }

      .slide h1 {
        color: #fff;
        text-align: center;
        font-family: "Playfair Display";
        font-size: 60px;
        font-style: normal;
        font-weight: 800;
        position: absolute;
        top: 40%;
        left: 50%;
        line-height: 80px;
        transform: translate(-50%, -50%);
      }

      .carousel-indicators {
        position: absolute;
        bottom: 10% !important;
        left: 50%;
        margin: 0;
        /*transform: translateX(-50%);*/
      }

      .indicator {
        display: inline-block;
        width: 10px;
        height: 10px;
        background-color: #ccc;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
      }

      .indicator.active {
        background-color: #333;
      }

      .contact-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 80px 0;
      }

      .contact {
        width: 100%;
        max-width: 1200px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .contact h1 {
        color: #0f5e8b;
        text-align: center;
        font-family: "Playfair Display";
        font-size: 48px;
        max-width: 1080px;
        font-style: normal;

        font-weight: 800;
        line-height: 52px;
        /* 108.333% */
      }

      .contact p {
        font-family: "Inter";
        font-size: 20px;
        font-weight: 400;
        line-height: 23.44px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        margin-bottom: 36px;
        max-width: 800px;
      }

      .contact-left {
        width: 100%;
        max-width: 1200px;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
      }

      .contact-left h1 {
        color: #0f5e8b;
        text-align: center;
        font-family: "Playfair Display";
        font-size: 48px;
        max-width: 1080px;
        font-style: normal;
        margin-left: 50px;
        margin-right: 50px;
        font-weight: 800;
        line-height: 52px;
        /* 108.333% */
      }

      .contact-left p {
        font-family: "Inter";
        font-size: 20px;
        font-weight: 400;
        line-height: 23.44px;
        margin-left: 50px;
        margin-right: 50px;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 36px;
        max-width: 900px;
      }

      .botones-left {
        display: flex;
        flex-direction: row;
        margin-left: 50px;
        margin-right: 50px;
      }

      .botones-left a {
        background: #000000 !important;
        border-radius: 0;
        color: #fff;
        transition: 0.3s;
      }

      .botones-left a:hover {
        background-color: #e5e5e5 !important;
        color: black;
      }

      .botones-left a:first-child:hover {
        background-color: #96e4ff !important;
        color: black;
      }

      .botones a {
        font-size: 18px;
        margin: 5px 10px;
        padding: 8px 25px;
        background: #000;
        border-radius: 0;
        color: #fff;
        transition: 0.3s;
        width: 226px;
      }

      .botones a:hover {
        background-color: #e5e5e5 !important;
        color: black;
      }

      .botones a:first-child:hover {
        background-color: #96e4ff !important;
        color: black;
      }

      .botones a:first-child {
        background: #0f5e8b !important;
        border-radius: 0;
        width: 158px;
      }

      .certifications-container {
        max-width: 1200px;
        margin: 0 auto;
        font-family: "Inter";
        background-color: #f3f3f3;
      }

      .certification-list {
        gap: 36px;
        display: flex;
        flex-direction: column;
        padding: 50px;
        list-style: none;
      }

      .certifications-ul {
        display: flex;
        text-align: left;
      }

      .certifications-ul ul li::marker {
        color: #0f5e8b;
      }

      .certification-list li {
        color: #000;
        font-family: "Inter";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        background-repeat: no-repeat;
        background-position: 0 left;
        text-align: left;
        padding-left: 60px;
      }

      .certification-list li::before {
        content: "";
        display: inline-block;
        width: 32px;
        height: 32px;
        position: relative;
        left: -40px;
        top: 15px;
        background-image: url("https://registration.the-8agency.com/media/images/Group_287777.original.png");
        background-repeat: no-repeat;
        background-position: 0 left;
        background-size: cover;
        margin-right: -30px;
      }

      .big-title {
        text-align: center;
        font-family: "Playfair Display";
        font-size: 48px;
        font-style: normal;
        font-weight: 800;
      }

      .certifications-header {
        background-color: #0f5e8b;
        padding: 60px 196px;
        text-align: center;
        color: #fff;
      }

      .certifications-header p {
        font-size: 20px;
        font-family: "Inter";
      }

      .certifications {
        display: flex;
        margin: 68px auto 0px;
        flex-wrap: wrap;
        justify-content: space-around;
        background-color: #f3f3f3;
      }

      .certifications-2 {
        margin: 60px auto;
      }

      .certification {
        flex: 1 1 40%;
        text-align: center;
        margin: 35px auto 10px;
      }

      .certification-details {
        margin: 0 100px;
      }

      .line {
        border-right: 1px solid #666;
        height: 212px;
        margin: 0px auto;
      }

      .line-h {
        margin-top: 42px;
        border-right: none;
        border-bottom: 1px solid #666 !important;
        max-width: 840px;
        width: 80%;
        margin: 42px auto 0;
        height: 1px !important;
      }

      .certification-details h3 {
        color: #000;
        text-align: center;
        font-family: "Playfair Display";
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 33.995px;
        padding-bottom: 50px;
        margin: 0;
        /* 94.43% */
      }

      .certification img {
        max-width: 100%;
        height: auto;
        max-height: 170px;
        margin-bottom: 10px;
        margin-top: 40px;
      }

      .form-container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 100px 20px;
      }

      .tab-content > div {
        display: none;
        gap: 36px;
      }

      .tab-content .active {
        display: block;
      }

      .tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
      }

      .tabs button {
        width: 100%;
        color: #0f5e8b;
        text-align: center;
        font-family: "Playfair Dipslay";
        font-size: 44px;
        padding: 18px 15px;
        font-style: normal;
        font-weight: 700;

        line-height: normal;
      }

      .tab {
        padding: 10px 15px;
        border: none;
        background-color: #fff;
        outline: none;
        border: 4px solid transparent;
      }

      .tab.active {
        background-color: #fff;
        color: #0f5e8b;
        border-bottom: 4px solid #0f5e8b;
        outline: none;
        transition: 0.3s;
      }

      .tab-content {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
      }

      .tab-content form input {
        width: 100%;
        padding: 12px 30px;
        margin: 18px 0;
        border: 2px solid #0f5e8b;
      }

      .tab-content form p {
        margin-top: 80px;
        margin-bottom: 40px;
        color: #000;
        font-family: "Inter";
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }

      .file-selector {
        color: #979797;
      }

      .file-selector::file-selector-button {
        background-color: #0f5e8b;
        color: white;
        border: none;
        padding: 3px 10px;
        margin-right: 10px;
        transition: 0.3s;
        border: 1px solid transparent;
      }

      .file-selector::file-selector-button:hover {
        border: 1px solid #0f5e8b;
        background-color: white;
        color: #0f5e8b;
      }

      .tab-content form button {
        display: block;
        padding: 20px 116px;
        justify-content: center;
        align-items: center;
        align-self: flex-end;
        border: none;
        gap: 10px;
        margin-left: auto;
        margin-right: 0;
        background-color: #0f5e8b;
        color: #fff;
        text-align: center;
        font-family: "Inter";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        border: 1px solid transparent;
        transition: 0.3s;
      }

      .tab-content form button:hover {
        border: 1px solid #0f5e8b;
        background-color: white;
        color: #0f5e8b;
      }

      .tab-content form input::placeholder {
        color: #979797;
      }

      .tab-content form textarea {
        width: 100%;
        padding: 12px 30px;
        margin: 18px 0px;
        min-height: 52px;
        max-height: 450px;
        border: 2px solid #0f5e8b;
      }

      .tab-content form textarea::placeholder {
        color: #979797;
      }

      .tab-content form {
        display: none;
        gap: 36px;
      }

      .tab-content .active {
        display: block;
      }

      .footer-wrapper {
        width: 100%;
        background-color: #0f5e8b;
        display: flex;
        justify-content: center;
      }

      .footer-container {
        max-width: 1200px;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 38px 0px;
      }

      .footer-left-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
      }
      .leyenda {
        padding: 7%;
        color: #fff;
        font-size: 1.2rem;
      }
      .leyenda1 {
        width: 35%;
      }

      .footer-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        border-bottom: 1px solid #fff;
      }

      .footer-left-info img {
        width: 195px;
      }

      .footer-text {
        color: #fff;
        font-family: "Inter";
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 130%;
      }

      .map {
        padding-left: 40px;
        padding-bottom: 26px;
      }

      .contact-link {
        padding-top: 15px;
      }

      .contact-link a {
        color: #fff;
        font-family: "Inter";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
        /* 18.2px */
        padding-left: 12px;
      }

      .contact-link a:hover {
        color: #fff !important;
      }

      .footer-tyc {
  display: flex;
  flex-direction: column; /* apila los links verticalmente */
  gap: 10px; /* separación uniforme */
  margin-top: 20px; /* espacio desde la sección de la izquierda */
}

.footer-tyc a {
  color: #fff;
  font-family: "Inter";
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  margin: 0; /* eliminamos top/position que rompe el mobile */
}

.footer-tyc a:hover {
  color: #fff;
}


      .footer-contact {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
      }

      .footer-contact-left {
        display: flex;
        flex-direction: row;
        gap: 46px;
      }

      .footer-contact-right {
        display: flex;
        gap: 28px;
      }

      .footer-contact-right img {
        width: 28px;
        margin-top: 14px;
      }

      .cards-wrapper {
        width: 100%;
        margin-bottom: 5%;
        display: flex;
        justify-content: center;
      }

      .cards-container {
        width: 100%;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        gap: 26px;
      }

      .cards {
        display: flex;
        flex-direction: row;
        gap: 24px;
      }

      .w40 {
        width: 40%;
      }

      .w60 {
        width: 60%;
      }

      .upper-left img {
        max-width: 486px;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .bottom-right img {
        max-width: 486px;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .upper-right {
        background-color: #093650;
        display: flex;
        flex-direction: column;
        text-align: left;
        align-items: left;
        justify-content: center;
        vertical-align: middle;
        padding: 0 70px;
      }

      .upper-right h1 {
        color: #fff;
        font-family: "Playfair Display";
        font-size: 48px;
        font-style: normal;
        font-weight: 600;
        line-height: 52px;
        margin-bottom: 12px;
        margin-top: 32px;
      }

      .upper-right p {
        color: #fff;
        font-family: "Inter";
        font-size: 20px;
        font-style: normal;
        padding: 0;
        margin-top: 40px;
        font-weight: 400;
        line-height: 28px;
        max-width: 468px;
        max-height: 120px;
        /* 140% */
      }

      .upper-right button {
        display: inline-flex;
        padding: 8px 18px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        background-color: #00a7e1;
        width: 160px;
        border: none;
        margin-top: 40px;
        margin-bottom: 40px;
        color: #fafafa;
        text-align: center;
        font-family: "Inter";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        transition: 0.3s;
        /* 133.333% */
      }

      .upper-right button:hover {
        background-color: #fff;
        color: #00a7e1;
      }

      .bottom-left h1 {
        color: #fff;
        font-family: "Playfair Display";
        font-size: 48px;
        font-style: normal;
        font-weight: 600;
        line-height: 52px;
        margin-bottom: 12px;
        margin-top: 32px;
      }

      .bottom-left p {
        color: #fff;
        font-family: "Inter";
        font-size: 20px;
        font-style: normal;
        padding: 0;
        margin-top: 40px;
        font-weight: 400;
        line-height: 28px;
        max-width: 468px;
        max-height: 120px;
        /* 140% */
      }

      .bottom-left button {
        display: inline-flex;
        padding: 8px 18px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        background-color: #00a7e1;
        width: 160px;
        border: none;
        margin-top: 40px;
        margin-bottom: 40px;
        color: #fafafa;
        text-align: center;
        font-family: "Inter";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;

        line-height: 24px;
        transition: 0.3s;
        /* 133.333% */
      }

      .bottom-left button:hover {
        background-color: #fff;
        color: #00a7e1;
      }

      .bottom-left {
        background-color: #292d32;
        display: flex;
        flex-direction: column;
        text-align: left;
        align-items: left;
        justify-content: center;
        padding: 0 70px;
        max-width: 100%;
      }

      .bottom-right img {
        max-width: 486px;
        width: 100%;
      }

      /* MEDIA QUERIES */

      @media screen and (max-width: 1440px) {
        .footer-container {
          padding-left: 50px;
          padding-right: 50px;
        }

        .navbar-wrapper nav {
          padding-left: 50px;
          padding-right: 50px;
        }

        .slider-container {
          margin: 0 50px;
        }

        .slider-hero h1 {
          margin: 0 50px;
        }

        .contact h1 {
          margin-left: 50px;
          margin-right: 50px;
        }

        .contact p {
          margin-left: 60px;
          margin-right: 60px;
        }

        .cards-container {
          margin-left: 50px;
          margin-right: 50px;
        }
      }

      @media screen and (max-width: 1080px) {
        .certifications-header {
          padding: 60px 140px;
        }

        .burger-menu {
          display: block;
        }

        .nav-links {
          display: none;
          flex-direction: column;
          position: absolute;
          top: 50px;
          width: 100%;
          right: 0;
          background-color: #f0f0f0;
          padding: 10px;
        }

        .nav-links.active {
          display: flex;
          z-index: 1000;
          background-color: #0f5e8b;
          gap: 15px;
          width: 100%;
          padding-top: 30px;
        }

        .navbar-wrapper nav {
          padding-left: 15px;
          padding-right: 15px;
        }

        .slider-wrapper {
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 35px;
          padding: 60px 0;
        }

        .slider-hero {
          margin: 0 50px;
          text-align: center;
        }

        .certification-details {
          margin: 0 60px;
        }
      }

      @media screen and (max-width: 768px) {
        .footer-left-info {
          flex-direction: column;
        }
         .footer-info {
    flex-direction: column; /* apila logo/mapa + links */
    gap: 20px;
  }

  .footer-tyc {
    flex-direction: row; /* puedes ponerlos en fila si quieres */
    flex-wrap: wrap; /* que se ajusten si son largos */
    gap: 10px;
    margin-top: 10px;
  }

        .certifications-ul {
          flex-direction: column;
        }

        .map {
          padding-left: 0px;
          padding-top: 30px;
        }

        .contact {
          margin: 0 30px;
        }

        .contact-left {
          margin: 0 30px;
        }

        .logo img {
          height: 25px;
        }

        .certification {
          flex: 1 1 100%;
          margin: 35px auto;
        }

        .line {
          border-right: none;
          border-bottom: 1px solid #666 !important;
          width: 80%;
          margin: 0;
          height: 1px !important;
        }

        .line-h {
          margin-top: 0px;
        }

        .certifications :first-child {
          border: none !important;
        }

        .certifications-header {
          padding: 60px 90px;
        }

        .certifications-header p {
          font-size: 18px;
        }

        .big-title {
          font-size: 36px;
        }

        .tab-content form p {
          text-align: center;
          margin: 40px 0;
        }

        .footer-contact {
          flex-direction: column;
          text-align: center;
          justify-content: center;
          align-items: center;
        }

        .slider-container {
          max-width: 90%;
        }

        .slide img {
          width: 100%;
          max-width: 100%;
        }

        .cards {
          flex-direction: column;
          gap: 0px;
        }

        .reversed {
          flex-direction: column-reverse !important;
        }

        .w40 {
          width: 100%;
          max-width: 100%;
        }

        .w60 {
          box-sizing: border-box;
          width: 100%;
          max-width: 100%;
        }

        .bottom-right img {
          max-width: 100%;
        }

        .upper-left img {
          max-width: 100%;
        }

        .bottom-left {
          padding-left: 30px;
          padding-right: 30px;
        }

        .upper-right {
          padding-left: 30px;
          padding-right: 30px;
        }

        .bottom-left h1 {
          line-height: 100%;
          font-size: 38px;
        }

        .upper-right h1 {
          line-height: 100%;
          font-size: 38px;
        }

        .bottom-left p {
          line-height: 100%;
          font-size: 15px;
          height: fit-content;
        }

        .upper-right p {
          line-height: 100%;
          font-size: 15px;
          height: fit-content;
        }

        .upper-right button {
          margin-top: 25px;
          line-height: 100%;
          font-size: 15px;
        }

        .bottom-left button {
          margin-top: 25px;
          line-height: 100%;
          font-size: 15px;
        }
      }

      @media screen and (max-width: 500px) {
        .footer-info {
          flex-direction: column;
          justify-content: center;
          align-items: center;
          text-align: center;
        }

        .footer-tyc {
          margin-bottom: 26px;
        }

        .footer-tyc a {
          position: inherit;
        }

        .footer-contact-left {
          flex-direction: column;
          gap: 00px;
        }

        .certifications-header {
          padding: 60px 20px;
        }

        .certifications-header p {
          font-size: 16px;
        }

        .footer-container {
          padding-left: 25px;
          padding-right: 25px;
        }

        .big-title {
          font-size: 26px;
        }

        .slider-hero h1 {
          font-size: 46px;
          line-height: 100%;
        }

        .contact h1 {
          font-size: 28px;
          line-height: 100%;
        }

        .contact-left h1 {
          font-size: 28px;
          line-height: 100%;
        }

        .tab-content form button {
          display: block;
          padding: 20px 66px;
        }
      }

      #form1 iframe,
      #form2 iframe {
        min-height: 700px;
      }