* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.mission-vision-values {
    margin-top: 50px;
    background-color: rgb(242, 234, 228);
    padding: 4rem 2rem;
}

.mission-vision-values h2 {
    font-size: 2.5rem;
    color: #922017;
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.mission-vision-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.mission-card, .vision-card, .values-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: justify;
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.mission-card h3, .vision-card h3, .values-card h3 {
    color: #e22223;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-style: italic;
    text-align: center;
}

.truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.values-card ul {
    text-align: center;
    list-style: none;
    padding: 0;
}

#language-toggle:hover {
    color: #e22223;
    background-color: rgba(217, 142, 72, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; 
    background: white;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .nav-logo {
    height: 60px; 
    width: auto;
    margin-left: 3rem;
    margin-right: 4rem;
  }
  
  .nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 0rem;
  }
  
  .nav-left, .nav-right {
    display: flex;
    align-items: center;
  }
  
  .nav-left {
    flex: 3;
    justify-content: flex-start;
    gap: 0.75rem;
  }
  
  .nav-right {
    flex: 1;
    justify-content: flex-end;
    gap: 0.5rem; 
  }
  
  .nav-links a, 
  .nav-links p,
  .dropdown-toggle {
    white-space: nowrap;
    padding: 0.35rem;
    color: rgb(89, 61, 43);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem; 
    min-width: max-content;
  }

  .nav-links a:hover{
    color: #e22223;
    background-color: rgba(226, 34, 35, 0.1);
    border-radius: 5px;
  }
  .nav-links p:hover{
    color: #e22223;
    background-color: rgba(226, 34, 35, 0.1);
    border-radius: 5px;
  }

  .menu-link {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
}

.menu-item:hover .submenu {
    display: block;
}

.submenu-item {
    padding: 0.5rem 1rem;
}


@media (max-width: 768px) {
    .menu {
        display: flex;
        flex-direction: column;
    }

    .menu-item {
        position: relative;
    }

    .submenu {
        display: none;
        position: static;
        background-color: #fff;
        box-shadow: none;
        width: 100%;
    }

    .menu-item:focus-within .submenu,
    .menu-item:active .submenu {
        display: block;
    }

    .submenu-item {
        padding: 0.75rem 1rem;
        font-size: 14px;
        border-bottom: 1px solid #ddd;
    }

    .submenu-item:last-child {
        border-bottom: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }
    .nav-left, .nav-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-left {
        margin-bottom: 1rem;
    }
    .nav-links li {
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .nav {
        padding: 1rem 2rem;
    }


}

.fixed-box {
    position: static; 
    width: 100%;
    padding: 2rem;    
    color: white;    
    text-align: center;
  }

@media (max-width: 768px) {

    .fixed-box {
        position: relative;
        width: 100%;
        padding: 8rem 1rem;
        height: 399%;
        transition: height 0.3s ease-out;
    }
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background-color: #f5f5f5;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab {
    padding: 12px 24px;
    background: white;
    border: 1px solid #ccc;
    cursor: pointer;
    white-space: nowrap;
    color: rgb(89, 61, 43);
    font-weight: 500;
    border-radius: 0; 
}

.tab:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.tab:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.section {
    display: none;
}
.section.active {
    display: block;
}
.tab.active {
    background-color: #007bff;
    color: white;
}

.currency-grid {
    display: flex;
    overflow: hidden; 
    gap: 10px;
    padding: 10px;
    background: #f5f5f5;
    position: relative;
    width: 100%;
}

.currency-slider {
    display: flex;
    gap: 10px;
    animation: scrollBanner 100s linear infinite; 
}

.currency-card {
    flex: 0 0 250px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

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

@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


.currency-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.currency-header img {
    width: 100%;
    height: 150px;
    object-fit: cover; 
    border-radius: 8px; 
}

.rate-row {
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    margin: 10px 0; 
    color: #333; 
}


@media (max-width: 768px) {
    
    .currency-grid {
        grid-template-columns: 1fr;
    }
    .tab {
        padding: 10px 16px;
        font-size: 0.9em;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem;
}

.headerh {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 30px;
}

.titleh {
    font-size: clamp(2rem, 5vw, 4rem);
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
}

.services1 {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.services2 {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}



.tagline {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #ff9800;
    color: white;
    padding: 12px 24px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    display: inline-block;  
    margin-left: -400px; 
}

.cta-button:hover {
    background-color: #e68900;
}

.logo-bottom-left, 
.logo-bottom-right {
    width: 90px;  /* Ajusta el tamaño según necesites */
    height: auto;
    position: absolute;
    bottom: 75px;  /* Ajusta la distancia desde el fondo */
}

.logo-bottom-left {
    left: 50px;  /* Pegado a la esquina inferior izquierda */
}

.logo-bottom-right {
    right: 50px; /* Pegado a la esquina inferior derecha */
}


.logo-bottom-left1, 
.logo-bottom-right1 {
    width: 90px;  /* Ajusta el tamaño según necesites */
    height: auto;
    position: absolute;
    bottom: 75px;  /* Ajusta la distancia desde el fondo */
}

.logo-bottom-left1 {
    left: 50px;  /* Pegado a la esquina inferior izquierda */
}

.logo-bottom-right1 {
    right: 50px; /* Pegado a la esquina inferior derecha */
}

@media (max-width: 768px) {
    .containerhero1 {
        padding: 1px;
        text-align: center;
        height: 1000px;
    }

    .headerh{
        margin-top: 19%;
    }

    .services2 {
        font-size: 1rem;
        text-decoration: none;
    }

    .logo-bottom-left1, 
    .logo-bottom-right1 {
        width: 90px;
        bottom: 20px;
    }

    .logo-bottom-left, 
    .logo-bottom-right {
        width: 90px;
    }
    .cta-button {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero {
    height: calc(100vh - 60px);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/fondo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
}

.hero1 {
    height: calc(100vh - 60px);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/reunion.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
}

.hero2 {
    height: calc(100vh - 60px);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/reunion1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
}

.containerhero { 
    display: inline-block;
    max-width: 90vw;
    margin: 0 auto;
}

.containerhero1 { 
    display: inline-block;
    max-width: 90vw;
    margin: 0 auto;
}

.class-title {
    font-size: clamp(2rem, 5vw, 4rem); 
    letter-spacing: clamp(5px, 1vw, 10px); 
    font-style: italic;
    border-right: 5px solid;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: 
        typing-erase 10s infinite,
        cursor .8s step-end infinite;
}

@keyframes cursor {
    from, to { border-color: transparent }
    50% { border-color: currentColor; }
}

@keyframes typing-erase {
    0%, 100% { width: 0 }
    20%, 40% { width: 100% }
}


@media screen and (max-width: 768px) {
    .class-title{
        font-size: 2rem;
        letter-spacing: 5px;
        white-space: normal;
        width: 100%;
        border-right: none;
        animation: none;
    }

    #hero-btn {
        bottom: 89px !important; 
    }
}

#hero-btn {
    position: absolute;
    bottom: 100px;
    padding: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
    display: inline-block;
}



#hero-btn:hover {
    background: #0056b3;
}

.class-p {
    font-size: 1.5rem;
}

.offices {
    margin-top: 50px;
    background-color: rgb(242, 234, 228);
    padding: 4rem 2rem;
}

.offices h2 {
    font-size: 2.5rem;
    color: #922017;
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.office-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.office-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.office-card img {
    height: 120px;
    margin-bottom: 1.5rem;
}

.office-logo-small {
    width: 90px; 
    height: auto; 
}

.office-card h3 {
    color: #e22223;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.more-info {
    display: inline-block;
    color: #e22223;
    text-decoration: none;
    font-weight: 500;
}

.about {
    margin-top: 50px;
    background-color: #DBE7F3;
    background-size: cover;
    padding: 8rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    height: 100vh; 
}

.about-content {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/junta.jpg');
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem; 
    border-radius: 15px;
    text-align: center; 
    height: auto; 
}

.about-content1 {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/professional-services.jpg');
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem; 
    border-radius: 15px;
    text-align: center; 
    height: auto; 
}

.about-content2 {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/relationship.jpg');
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem; 
    border-radius: 15px;
    text-align: center; 
    height: auto; 
}

.about-text {
    text-align: left;
    color: white;
}

.about h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.about p {
    font-size: 1.5rem;
    line-height: 1.8;
}

.clients {
    margin-top: 50px;
    background-color: rgb(242, 234, 228);
    padding: 4rem 2rem; 
    overflow: hidden;
    position: relative;
}

.clients h2 {
    font-size: 2.5rem;
    color: rgb(89, 61, 43);
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.clients-grid {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll 50s linear infinite;
}

.clients-card {
    width: 200px; 
    height: 200px; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.clients-card img {
    width: 85%; 
    height: 100%;
    object-fit: contain; 
}

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

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}





.more-info {
    display: inline-block;
    color: #e22223;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #e22223;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.more-info:hover {
    background-color: #e22223; 
    color: white;
    text-decoration: none;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border: 5px solid white;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.contact-section {
    background-color: #DBE7F3;
    padding: 2rem;
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    gap: 0.5rem;
    border-radius: 8px; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
}



.tab-button {
    flex: 1;
    padding: 1.2rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 500;
    color: black;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #e22223;
}

.tab-button.active {
    background: #DBE7F3;
    color: #922017;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    color: #1a2a9f;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-item p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-form {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-us{
    font-size: 2.5rem;
    color: #922017;
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.contact-form label {
    display: block;
    color: #1a2a9f;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #1a2a9f;
}

.submit-btn {
    background: #922017;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: span 2;
    justify-self: start;
}

.submit-btn:hover {
    background: #e22223;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tabs {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        flex-wrap: nowrap;
    }

    .tab-button {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .content-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-info {
        background: #f8f9fa;
        padding: 1.5rem;
        border-radius: 8px;
        order: 1;
    }

    .contact-form {
        display: flex;
        flex-direction: column; 
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        gap: 1rem;
        order: 2; 
    }

    .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }


    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .form-group label {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .submit-btn {
        background: #922017;
        color: white;
        padding: 1rem;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
        text-align: center;
    }

    .submit-btn:hover {
        background: #e22223;
    }
}

@keyframes appear {
    from {
      opacity: 0;
      scale: 0.5;
    }
    to {
      opacity: 1;
      scale: 1;
    }
  }
  
  .block {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  .map-section {
    margin-top: 50px;
    background-color: rgb(242, 234, 228);
    padding: 4rem 2rem;
}

.map-section h2 {
    font-size: 2.5rem;
    color: rgb(89, 61, 43);
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.map-info-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.map-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.info-container {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/edificio.jpg');
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 400px;
}

.info-container h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.info-container p {
    font-size: 1rem;
    color: white;
    text-align: center;
}
.services {
    margin-top: 50px;
    background-color: rgb(242, 234, 228);
    padding: 4rem 2rem; 
}

.services h2 {
    font-size: 2.5rem;
    color: rgb(89, 61, 43);
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.service-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    height: 150px; 
    margin-bottom: 1.5rem;
    object-fit: cover; 
    border-radius: 5px;
}
.footer {
    background: #f4f4f4;
    padding: 2rem 4rem;
    color: rgb(89, 61, 43);
    font-size: 1rem;
    margin-top: 4rem;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    margin-right: 2rem;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer a {
    text-decoration: none;
    color: rgb(89, 61, 43);
    font-weight: 500;
}

.footer a:hover {
    color: #e22223;
    background-color: rgba(226, 34, 35, 0.1);
    border-radius: 5px;
    padding: 0.3rem;
}

.footer p {
    text-decoration: none;
    color: rgb(89, 61, 43);
    font-weight: 500;
}

.footer p:hover {
    color: #e22223;
    background-color: rgba(226, 34, 35, 0.1);
    border-radius: 5px;
    padding: 0.3rem;
}
.footer-bottom {
    margin-top: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
        text-align: center; 
    }

    .footer-columns {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        width: 100%;
    }

    .footer-column {
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center; 
    }

    .footer-column:last-child {
        margin-bottom: 0;
    }

    .container1 {
        max-width: 1200px;
        margin-top: 25% !important;
        margin: 0 auto;
        padding: 0 20px;
    }

    .container1 p {
        font-size: 17px;
    }
    
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container1 main {
    margin-top: 50%;
    padding: 40px 0;
}

.legal-section {
    background-color: #f5f5f5;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container1 h1 {
    color: #003366;
    margin-top: 10%;
    font-size: 32px;
    margin-bottom: 30px;
    border-bottom: 2px solid #dddddd;
    padding-bottom: 10px;
}

.container1 h2 {
    color: #003366;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.container1 p {
    margin-bottom: 20px;
}

.highlight {
    background-color: #fffde7;
    padding: 15px;
    border-left: 4px solid #b31942;
    margin: 20px 0;
}

.notice {
    max-width: 1200px;
    margin-top: 2% !important;
    margin: 2rem auto;
    padding: 0 1rem;
}
.noticias-videos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.noticias-section, .videos-section {
    flex: 1;
    min-width: 300px;
}
.section-title {
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
    font-size: 32px;
    margin-bottom: 1rem;
    color: #2c3e50;
}
.noticia, .video {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.noticia-img, .video-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.noticia-contenido, .video-info {
    padding: 1rem;
}
.noticia-titulo, .video-titulo {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}
.noticia-fecha, .video-fecha {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.noticia-resumen {
    color: #333;
    line-height: 1.5;
}
.video-play {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.leer-mas, .ver-video {
    display: inline-block;
    margin-top: 1rem;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}
@media (max-width: 768px) {
    .noticias-videos-container {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
}

/* pagina de canada y mexico */
.logo {
    max-width: 400px;
    margin: 20px auto;
}
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    margin-top: 6%;
}

.title {
    font-size: 2em;
    color: #333;
    margin-bottom: 40px;
}
.description {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}
.schedule-button {
    background-color: white;
    color: #e22223;
    border: 2px solid #e22223; 
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
    margin-top: 20px;
}
.schedule-button:hover {
    background-color: #e22223;
    color: white;
}

.cards-container {
    display: flex; 
    flex-wrap: wrap; 
    max-width: 900px; 
}

.card {
    bottom: 20px; 
    width: 300px;
    padding: 1rem;
    background-color: white;
    border-radius: 8px; 
    text-align: center;
    margin-left: 50px;


}

.card img {
    width: 80%;
    border-radius: 8px 8px 0 0; 
}

.card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: rgb(89, 61, 43);
}

.card .more-info {
    display: inline-block;
    margin-top: 0.5rem;
    color: #e22223;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #e22223;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.card .more-info:hover {
    background-color: #e22223;
    color: white;
    text-decoration: none;
}

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

.hidden {
    display: none;
}



.consulting-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.consulting-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.consulting-card img {
    height: 150px; 
    width: 500px;
    margin-bottom: 1.5rem;
    object-fit: cover; 
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }


    .hero {
        padding: 0 1rem;
        height: 80vh;
    }

    .hero h1 {
        font-size: 2.5rem; 
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1.2rem; 
    }

    .about {
        height: auto;
        padding: 4rem 1rem;
    }

    .about-content {
        padding: 2rem 1rem;
    }

    .about h2 {
        font-size: 2rem; 
    }

    .about p {
        font-size: 1.2rem; 
        line-height: 1.6;
    }

    .offices {
        padding: 2rem 1rem;
    }

    .office-card h3,
    .service-card h3 {
        font-size: 1.5rem;
    }

    .mission-vision-grid {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }

    .mission-card, .vision-card, .values-card {
        width: 100%; 
    }

    .map-info-container {
        display: flex;
        flex-direction: column; 
        gap: 1rem;
    }

}

.carousel-controls {
    display: none;
}

.clients-carousel-controls {
    display: none;
}

/* Carrucel servicios */
@media (max-width: 780px) {
    .service-grid {
        display: flex;
        position: relative;
        width: 100%;
        overflow: hidden;    
        margin: 0 auto;
    }

    .service-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%; 
        height: 300px; 
        position: relative;
        transition: transform 0.3s ease-in-out;
        padding: 1rem;
        box-sizing: border-box;
    }

    .service-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .service-grid .service-card {
        position: absolute;
        left: 0;
        right: 0;
        transform: translateX(100%);
    }

    .service-grid .service-card:first-child {
        position: relative;
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        padding: 0.5rem;
    }

    .carousel-button {
        background-color: #e22223;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        cursor: pointer;
        z-index: 2;
        transition: background-color 0.3s ease;
    }

    .carousel-button:hover {
        background-color: rgb(150, 105, 43);
    }
}

/* carrucel clientes */
@media (max-width: 780px) {
    .video-section1 {
        flex: 1;
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .video-container1 {
        width: 100%;
        aspect-ratio: 16/10;
        background-color: #f0f0f0;
    }
}

/* pagina de canada y mexico */

    .title {
        font-size: 2em; 
    }

    .content {
        padding: 15px;
        width: 95%;
    }

    .schedule-button {
        padding: 12px 25px; 
        font-size: 14px;
    }
    .more-info {
        font-size: 14px;
    }

    .logo {
        max-width: 70%;
    }

    .content {
        width: 100%;
        padding: 1rem;
    }

    .language-selector {
        width: 100%;
        text-align: center;
        position: relative;
    }

    #language-toggle {
        width: 100%;
        padding: 0.5rem;
        text-align: center;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    #language-dropdown {
        position: static;
        width: 100%;
        margin: 0.5rem 0;
        box-shadow: none;
        border: 1px solid #eee;
    }

    #language-dropdown li {
        text-align: center;
        padding: 0.75rem;
        border-bottom: 1px solid #eee;
    }



.office-grid,
.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.office-card img,
.service-card img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
}

.contact-us {
    flex-direction: column;
}

.contact-info,
.contact-form {
    max-width: 100%;
    margin: 0 auto;
}

.hero,
.about-content {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*meeting*/

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 8%;
}

.page-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    width: 100%;
}

.meeting-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.video-section {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
}

.calendar-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.appointment-details {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.company-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}


.appointment-title {
    font-size: 1rem;
    color: #333;
}

.calendar {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.current-month {
    font-size: 1.2rem;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 15px;
}

.day-label {
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
}

.time-selector {
    text-align: center;
    margin-bottom: 15px;
}

.timezone {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.time-slot {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.time-slot:hover {
    background-color: #f0f0f0;
}

.time-slot.selected {
    background-color: #333;
    color: white;
}

.time-slot.disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.form-container {
    display: none;
    margin-top: 15px;
}

.form-container.visible {
    display: block;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-container button {
    width: 80%; 
    padding: 8px;
    font-size: 1rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-container {
        margin-top: 18%;
    }   
    .meeting-layout {
        flex-direction: column;
        align-items: center;
    }

    .video-section,
    .calendar-container {
        width: 100%;
        max-width: 100%;
    }
}

.floating-button {
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #e22223;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.floating-button:hover {
    background-color: #b81a1b;
}