@font-face {
     font-family: 'osande';
     src: url('fonts/osande.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
     font-display: swap;
}
 :root {
     --color-brand-primary: #04509E;
     --color-brand-primary-dark: #043F8D;
     --color-brand-accent-light: #26A9DF;
     --color-brand-secondary-blue: #1C94D1;
     --color-accent-yellow: #ffb612;
     --color-text-dark: #333;
     --color-text-medium: #666;
     --color-text-light: #eee;
     --color-background-light: #f8f8f8;
     --color-background-white: #ffffff;
     --color-danger: #d9534f;
}
 body, html {
     margin: 0;
     padding: 0;
     font-family: system-ui !important;
     line-height: 1.6;
     color: var(--color-text-dark);
}
 header {
      background-color: white !important;
     padding: 1rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;
     box-sizing: border-box;
     transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
 header:not(.scrolled) .logo {
     transform: scale(1.2);
}
 nav {
     background-color: var(--color-brand-primary);
     padding: 1rem;
     border-radius: 2rem;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
 nav a {
     margin-left: 1rem;
     text-decoration: none;
     font-size: 1.4rem;
     color: var(--color-background-white);
     transition: all 0.3s ease;
     padding: 0.5rem 1rem;
     border-radius: 1.5rem;
}
 button {
     border-radius: 2rem !important;
     transition: all 0.3s ease !important;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     cursor: pointer;
}
header img{
    transition: all 0.3s ease;
}
 button:hover {
     transform: scale(1.05);
    box-shadow: 0 15px 39px -5px #26A9FD55;}
 .scrolled header {
     background-color: var(--color-background-white) !important;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.scrolled header > img{
    height: 90px;
    margin-left:3rem !important;
}
 nav a:hover {
     background-color: rgba(255, 255, 255, 0.2);
}
 .scrolled nav a {
     color: white !important;
}
 header.scrolled nav a:hover {
     background-color: rgba(255, 255, 255, 0.2);
}
 .logo {
     transition: transform 0.3s ease;
}
 .scrolled .logo {
     transform: scale(1);
}
 .hero, .heros {
     background-size: cover;
     background-position: center;
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center;
     color: var(--color-background-white);
     padding-top: 60px;
     position: relative;
}
 .heros {
     background-image: url('img/fircoba2.jpg');
}
 .hero::before, .heros::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.3);
     z-index: 1;
}
 .hero h1, .hero p, .heros h1, .heros p, .cta-buttons {
     position: relative;
     z-index: 2;
}
 .hero h1 {
     font-size: 3rem;
     margin-bottom: 1rem;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
 .hero p {
     font-size: 1.2rem;
     max-width: 800px;
     margin-bottom: 2rem;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
 .cta-buttons {
     display: flex;
     gap: 1rem;
}
 .cta-button {
     padding: 0.75rem 1.5rem;
     border: none;
     border-radius: 5px;
     font-size: 1rem;
     cursor: pointer;
     transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     text-decoration: none;
     display: inline-block;
}
 .primary {
     background-color: var(--color-brand-primary);
     color: var(--color-background-white);
}
 .primary:hover {
     background-color: var(--color-brand-primary-dark);
     transform: translateY(-3px);
     box-shadow: 0 12px 25px -5px #26A9FD55;;
}
 .secondary {
     background-color: var(--color-background-white);
     color: var(--color-text-dark);
     border: 1px solid #ccc;
}
 .secondary:hover {
     background-color: #f0f0f0;
     transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px #26A9FD55;}
 @keyframes changeBackground {
     0% {
         background-image: url('img/middle-aged-hispanic-business-people.jpg');
    }
     16.66% {
         background-image: url('img/fircoba4.jpg');
    }
     33.33% {
         background-image: url('img/fircoba5.jpg');
    }
     50% {
         background-image: url('img/confident-latin-business-leader-portrait-young-businesswoman-suit-glasses-posing-with-arms-folded-looking-camera-smiling-female-leadership-concept.jpg');
    }
     66.66% {
         background-image: url('img/Blue and White Modern Minimalist Financial Business and Consulting Website Facebook Ad.png');
    }
     83.33% {
         background-image: url('img/fircoba1.jpg');
    }
     100% {
         background-image: url('img/fircoba3.jpg');
    }
}
 .info-section {
     padding: 80px 20px;
     background-color: var(--color-background-light);
     position: relative;
}
 .info-container {
     display: flex;
     justify-content: space-around;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
     position: relative;
     flex-wrap: wrap;
     gap: 30px;
}
 .info-box {
     background-color: white;
     border-radius: 2rem;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     padding: 30px;
     width: 300px;
     z-index: 2;
     transition: all 0.3s ease, box-shadow 0.3s ease;
     text-align: justify;
}
.modal{
    transition: height 0.3s ease;
    height: 340px;
    overflow: hidden;
        background-color: #04509E !important;
    color: white !important;
    transition: all 0.4s ease;
    bottom: 20px !important;
    right: 20px !important;
}
.modal .close{
    color: rgb(255, 43, 43);
}
.modal p{
    color: white !important;
}
.modal:hover{
    height: 340px;
    border-radius: 0.7rem !important;
    background-color: #1C94D1 !important;
    color: white !important;
}
.modal h2{
    border-radius: 3rem !important;
    background-color: white;
    max-width: fit-content;
    padding-left: 2rem;
    padding-right: 2rem;
}
.modalSleep{
    height: 44px;
    padding-top: 9px !important;
    background-color: white !important;
}
 .info-box:hover {
     border-radius: 3rem;
     transform: translateY(-15px);
     background-color: #26A9DD;
     color: white;
     z-index: 999;
    box-shadow: 0 15px 39px -5px #26A9FD55;}

#mision:hover,
#valores:hover,
#vision:hover {
    transform: scale(1.3);
}
.welcome-content p{
    text-align: justify;
}
.info-container:hover .info-box:not(:hover) {
    transform: scale(0.8);
}
.info-box:hover h3{
    border-radius: 2rem;
    background-color: white;
    padding-left: 7.5rem;
    padding-right: 7.5rem;
}
 .info-box h3 {
    border-radius: 1rem;
    max-width: fit-content;
     color: var(--color-brand-primary);
     margin-top: 0;
     margin-bottom: 15px;
     text-align: center;
     transition: all 0.5s ease-in-out;
}
 .connector {
     position: absolute;
     top: 50%;
     left: 25%;
     right: 25%;
     height: 2px;
     background-color: var(--color-brand-primary);
     z-index: 1;
     transition: all 0.3s ease;
}
 .connector:before, .connector:after {
     content: '';
     position: absolute;
     width: 10px;
     height: 10px;
     background-color: var(--color-brand-primary);
     border-radius: 50%;
     top: -4px;
}
 .connector:before {
     left: 0;
}
 .connector:after {
     right: 0;
}
 .connector:hover {
     height: 4px;
     background-color: var(--color-brand-primary);
}
 .connector:hover:before, .connector:hover:after {
     width: 12px;
     height: 12px;
     top: -5px;
     background-color: var(--color-accent-yellow);
}
 .separator {
     width: 50%;
     margin: 50px auto;
     height: 2px;
     background-color: var(--color-text-light);
}
 .credit-section {
     padding: 80px 20px;
     background-color: var(--color-background-white);
     display: flex;
     justify-content: space-around;
     align-items: center;
     flex-wrap: wrap;
     max-width: 1200px;
     margin: 0 auto;
     position: relative;
     overflow: hidden;
     gap: 30px;
}
 .credit-section:before, .credit-section:after {
     content: '';
     position: absolute;
     width: 150px;
          background: radial-gradient(circle, #043F8D 0%, rgba(0, 0, 0, 0) 70%);
     height: 150px;
     border-radius: 50%;
     opacity: 0.3;
     z-index: 0;
}
 .credit-section:before {
     bottom: -50px;
     left: -50px;
}
 .credit-section:after {
     bottom: -50px;
     right: -50px;
}
 .credit-box {
     width: 300px;
     margin: 0;
     text-align: center;
     padding: 30px;
     border-radius: 2rem;
     background-color: var(--color-background-white);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease, box-shadow 0.3s ease;
     position: relative;
     z-index: 1;
}
 .credit-box img {
     width: 100%;
     border-radius: 8px;
     margin-bottom: 20px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
 .credit-box:hover {
     border-radius: 3rem;
     transform: translateY(-15px);
box-shadow: 0 12px 25px -5px #26A9FD55;}
 .credit-box h3 {
     color: var(--color-brand-primary);
     margin-bottom: 10px;
}
 .credit-box p {
     color: var(--color-text-medium);
}
 .credit-box .learn-more {
     margin-top: 15px;
     font-weight: bold;
     color: var(--color-brand-primary);
     cursor: pointer;
     transition: all 0.3s ease;
     border-radius: 2rem;
     display: inline-block;
     padding: 10px 15px;
}
 .credit-box .learn-more:hover {
     transform: scale(1.05);
     text-decoration: underline;
     color: var(--color-brand-accent-light);
     background-color: rgba(4, 80, 158, 0.1);
}
 .contact-section {
     padding: 80px 20px;
     background-color: var(--color-background-light);
}
 .contact-flex-container {
     display: flex;
     flex-direction: row;
     justify-content: space-between;
     max-width: 900px;
     margin: 0 auto;
     gap: 30px;
     flex-wrap: wrap;
}
 .contact-container, .map-container {
     background-color: var(--color-background-white);
     padding: 30px;
     border-radius: 2rem;
     box-shadow: 7px 6px 18px rgba(0, 0, 0, 0.1);
     flex: 1;
     max-width: 100%;
     transition: all 0.3s ease, box-shadow 0.3s ease;
}
 .contact-container:hover {
     transform: translateY(-10px);
box-shadow: 0 12px 25px -5px #26A9FD55;}
 .map-container:hover {
     transform: translateY(-10px);
box-shadow: 0 12px 25px -5px #26A9FD55;}
 .contact-container h2, .map-container h2 {
     text-align: center;
     color: var(--color-brand-primary);
     margin-bottom: 20px;
}
 .contact-container label {
     display: block;
     margin-bottom: 8px;
     font-weight: bold;
     color: var(--color-text-dark);
}
 .contact-container input[type="text"], .contact-container input[type="tel"], .contact-container input[type="email"], .contact-container select, .contact-container textarea {
     width: 100%;
     padding: 10px;
     margin-bottom: 20px;
     border: 1px solid #ccc;
     border-radius: 20px;
     font-size: 1rem;
     box-sizing: border-box;
}
 .contact-container textarea {
     resize: vertical;
}
 .contact-container button {
     display: block;
     width: 100%;
     padding: 12px;
     background-color: var(--color-brand-primary);
     color: var(--color-background-white);
     border: none;
     border-radius: 5px;
     font-size: 1.1rem;
     cursor: pointer;
     transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
 .contact-container button:hover {
     background-color: var(--color-brand-primary-dark);
     transform: translateY(-3px);
box-shadow: 0 12px 25px -5px #26A9FD55;}
 .map-container iframe {
     width: 100%;
     height: 400px;
     border-radius: 2.5rem;
     border: none;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
}
 .map-container iframe:hover {
     border-radius: 0.5rem;
}
 .welcome-section {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 80px 20px;
     background-color: var(--color-background-white);
     flex-wrap: wrap;
     max-width: 1200px;
     margin: 0 auto;
     gap: 40px;
}
 .welcome-content {
     flex: 1;
     padding-right: 0;
     min-width: 300px;
}
 .welcome-content h2 {
     color: var(--color-text-dark);
     font-size: 2.5rem;
     margin-bottom: 20px;
}
 .welcome-content p {
     color: var(--color-text-medium);
     margin-bottom: 20px;
}
 .know-more-btn {
     display: inline-block;
     padding: 12px 24px;
     background-color: var(--color-brand-primary);
     color: var(--color-background-white);
     text-decoration: none;
     border-radius: 5px;
     transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     font-size: 1.1rem;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
 .know-more-btn:hover {
     background-color: var(--color-brand-primary-dark);
     transform: translateY(-3px);
box-shadow: 0 12px 25px -5px #26A9FD55;}
 .welcome-image {
     flex: 1;
     position: relative;
     min-width: 300px;
}
 .welcome-image img {
     max-width: 100%;
     border-radius: 9rem 1.5rem 9rem 1.5rem;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
     transition: all 0.5s ease;
}
 .welcome-image img:hover {
     transform: scale(1.05);
     border-radius: 1rem;
box-shadow: 0 12px 25px -5px #26A9FD55;}
 .welcome-image::before {
     content: '';
     position: absolute;
     top: -20px;
     right: -20px;
     width: 100px;
     height: 100px;
     background-image: radial-gradient(#26abfdd7 20%, transparent 20%);
     background-size: 15px 15px;
     z-index: 1;
     opacity: 0.5;
}
 #nueva-seccion {
     background-color: var(--color-background-white);
     text-align: center;
     position: relative;
     padding-top: 1rem;
     padding-bottom: 1rem;
}
 #nueva-seccion .container {
     background-color: var(--color-background-white);
     max-width: 1000px;
     margin: 0 auto;
}
 #nueva-sección h2 {
     color: var(--color-brand-primary);
     margin-bottom: 20px;
     font-size: 2.5rem;
}
 #nueva-sección p {
     color: var(--color-text-medium);
     font-size: 1.1rem;
     margin-bottom: 20px;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
}
 #nueva-sección a {
     color: var(--color-brand-primary);
     text-decoration: none;
     font-weight: bold;
     transition: color 0.3s ease;
}
 #nueva-sección a:hover {
     text-decoration: underline;
     color: var(--color-accent-yellow);
}
 #footer {
     padding: 50px 20px;
     background-color: var(--color-brand-primary);
     color: var(--color-background-white);
     text-align: center;
}
 .footer-container {
     display: flex;
     justify-content: space-between;
     max-width: 1200px;
     margin: 0 auto;
     flex-wrap: wrap;
     gap: 30px;
}
 .footer-section {
     flex: 1;
     margin: 0;
     min-width: 200px;
     text-align: justify;
}
 .footer-section h3 {
     color: white;
     margin-bottom: 15px;
     font-size: 1.5rem;
}
 .footer-section p {
     color: var(--color-text-light);
     margin-bottom: 10px;
     font-size: 0.95rem;
}
 .footer-section a {
     color: var(--color-background-white);
     text-decoration: none;
     transition: color 0.3s ease;
}
 .footer-section a:hover {
     text-decoration: underline;
     color: var(--color-accent-yellow);
}
 .footer-section img {
     max-width: 150px;
     margin-bottom: 10px;
     padding: 10px;
}
 .modal {
     display: none;
     position: fixed;
     z-index: 1000;
     right: 20px;
     bottom: 20px;
     width: 90%;
     max-width: 400px;
     background-color: var(--color-background-white);
     color: var(--color-text-dark);
     border: none;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
     padding: 20px;
     border-radius: 2.5rem !important;
     font-family: Arial, sans-serif;
     animation: fadeIn 0.5s ease-out;
}
 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translate(20px, 20px);
    }
     to {
         opacity: 1;
         transform: translate(0, 0);
    }
}
 #Nosotros {
     scroll-margin-top: 100px;
}
 .modal-content h2 {
     font-size: 1.3rem;
     margin-bottom: 15px;
     text-align: center;
     color: var(--color-danger);
}
 .modal ul {
     list-style-type: disc;
     padding-left: 20px;
     margin-bottom: 15px;
}
 .modal li {
     margin-bottom: 8px;
     line-height: 1.5;
}
 .modal strong p {
     text-align: center;
     margin-top: 15px;
     color: var(--color-brand-primary);
}
 .close {
     color: #aaa;
     float: right;
     font-size: 24px;
     font-weight: bold;
     cursor: pointer;
     transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
     position: absolute;
     top: 10px;
     right: 15px;
     background-color: transparent;
     border: none;
     padding: 5px;
     border-radius: 2rem;
     display: flex;
     align-items: center;
     justify-content: center;
     width: 30px;
     height: 30px;
}
 .close:hover, .close:focus {
     color: var(--color-danger);
     text-decoration: none;
     transform: rotate(90deg);
     outline: none;
     background-color: rgba(217, 83, 79, 0.1);
}
 @media (max-width: 768px) {
     header {
         flex-direction: row;
         align-items: flex-end;
    }
     nav {
         margin-top: 10px;
         padding: 0.5rem;
    }
     #Nosotros {
         scroll-margin-top: 20px;
    }
     nav a {
         font-size: 1rem;
         margin-left: 0.5rem;
         padding: 0;
    }
     header img {
         height: 40px;
         padding: 0;
    }
     .hero h1 {
         font-size: 2rem;
    }
     .modal {
         right: -12px !important;
         width: 77% !important;
    }
     .hero p {
         font-size: 1rem;
         max-width: 100%;
    }
     .cta-buttons {
         flex-direction: column;
         align-items: center;
         gap: 0.8rem;
    }
     .cta-button {
         text-align: center;
    }
     .info-container {
         flex-direction: column;
         align-items: center;
         gap: 20px;
    }
     .info-box {
         width: 90%;
         max-width: 400px;
    }
     .connector {
         display: none;
    }
     .credit-section {
         gap: 20px;
    }
     .credit-box {
         width: 90%;
         max-width: 300px;
    }
     .contact-flex-container {
         flex-direction: column;
         gap: 20px;
    }
     .contact-container, .map-container {
         max-width: 100%;
         margin-bottom: 0;
    }
     .contact-container input[type="text"], .contact-container input[type="tel"], .contact-container input[type="email"], .contact-container select, .contact-container textarea {
         font-size: 0.9rem;
         padding: 8px;
    }
     .contact-container button {
         font-size: 1rem;
         padding: 10px;
    }
     .welcome-content h2 {
         font-size: 1.8rem;
    }
     .welcome-content p {
         font-size: 0.9rem;
    }
     .know-more-btn {
         padding: 10px 20px;
         font-size: 1rem;
    }
     #nueva-seccion .container {
         padding: 30px;
    }
     #nueva-sección h2 {
         font-size: 2rem;
    }
     #nueva-sección p {
         font-size: 1rem;
    }
     .footer-section h3 {
         font-size: 1.3rem;
    }
     .footer-section p {
         font-size: 0.9rem;
    }
}
 @media (max-width: 480px) {
     .hero h1 {
         font-size: 1.5rem;
    }
     .hero p {
         font-size: 0.9rem;
    }
     .cta-button {
         width: 100%;
         padding: 10px 15px;
         font-size: 1rem;
    }
     .info-box, .credit-box {
         padding: 20px;
    }
     .contact-container input[type="text"], .contact-container input[type="tel"], .contact-container input[type="email"], .contact-container select, .contact-container textarea {
         font-size: 0.9rem;
         padding: 8px;
    }
     .contact-container button {
         font-size: 1rem;
         padding: 10px;
    }
     .welcome-content h2 {
         font-size: 1.8rem;
    }
     .welcome-content p {
         font-size: 0.9rem;
    }
     .know-more-btn {
         padding: 10px 20px;
         font-size: 1rem;
    }
     #nueva-seccion .container {
         padding: 30px;
    }
     #nueva-sección h2 {
         font-size: 2rem;
    }
     #nueva-sección p {
         font-size: 1rem;
    }
     .footer-section h3 {
         font-size: 1.3rem;
    }
     .footer-section p {
         font-size: 0.9rem;
    }
}
