: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);
}

 #footersecond p {
     text-align: justify;
}



 header {
     background-color: white;
     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;
}
 .logo {
     transition: transform 0.3s ease;
}
 header:not(.scrolled) .logo {
     margin-left: 2rem;
}
 header.scrolled .logo {
height: 90px;
     margin-left: 3rem;
}
.logo{
    transition: all 0.3s ease;
}
 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;
}
 header.scrolled nav a {
     color: white !important;
}
 nav a:hover {
     background-color: rgba(255, 255, 255, 0.2);
}
 header.scrolled nav a:hover {
     background-color: rgba(255, 255, 255, 0.2);
}
 header img {
     max-height: 90px;
}
 .heros {
     width: 100%;
     height: 700px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     color: white;
     position: relative;
     overflow: hidden;
}
 #hero-image-container {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     z-index: -1;
     transition: background-image 0.5s ease-in-out;
}
 .heros h1, .heros p, .heros .cta-buttons {
     z-index: 1;
     position: relative;
}
 .heros::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.3);
     z-index: 1;
}
 .heros h1 {
     font-size: 3rem;
     margin-bottom: 1rem;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
 .heros p {
     text-align: center;
     font-size: 1.2rem;
     max-width: 800px;
     margin-bottom: 2rem;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
 .cta-buttons {
     margin-top: 20px;
     display: flex;
     gap: 1rem;
}
 .cta-button {
     padding: 10px 20px;
     background-color: var(--color-brand-primary);
     color: white;
     border: none;
     font-size: 1rem;
     border-radius: 2rem;
     cursor: pointer;
     transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     text-decoration: none;
     display: inline-block;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
 .secondary {
     background-color: var(--color-background-white);
     color: var(--color-text-dark);
     border: 1px solid #ccc;
}
 .cta-button:hover {
     background-color: var(--color-brand-primary-dark);
     transform: translateY(-3px);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
 .cta-button.secondary:hover {
     background-color: var(--color-background-light);
     transform: translateY(-3px);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

 .credit-details {
     display: flex;
     flex-direction: column;
     align-items: center;
     padding: 90px 20px !important;
     max-width: 100%;
background: linear-gradient(to bottom, rgb(0 0 0 / 29%) 1% 1%, #26a9df57 14%);}
 .credit-detail-box {
     width: 100%;
     max-width: 800px;
     padding: 30px;
     background-color: var(--color-background-white);
     border-radius: 2rem;
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
     box-sizing: border-box;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     text-align: justify;
     margin-bottom: 2rem;
}
 .credit-detail-box:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
 .credit-header {
     margin-bottom: 20px;
     text-align: center;
     border-bottom: 2px solid var(--color-brand-accent-light);
     padding-bottom: 15px;
}
 .credit-detail-box h2 {
     color: var(--color-brand-primary);
     margin-top: 0;
     margin-bottom: 10px;
     font-size: 1.5rem;
}
 .credit-header p {
     font-size: 1rem;
     color: var(--color-text-medium);
     margin-bottom: 0;
     font-style: italic;
}
 .credit-section {
     margin-bottom: 15px;
     border: 1px solid #e0e0e0;
     border-radius: 2rem;
     overflow: hidden;
}
 .scrolled {
     background-color: white !important;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
 .scrolled nav a:hover {
     background-color: rgba(0, 0, 0, 0.1);
}
 .credit-section h3 {
     background-color: var(--color-brand-accent-light);
     color: white;
     margin: 0;
     padding: 15px 20px;
     cursor: pointer;
     display: flex;
     justify-content: space-between;
     align-items: center;
     transition: background-color 0.3s ease;
     font-size: 1.1rem;
}
 .credit-section h3:hover {
     background-color: var(--color-brand-secondary-blue);
}
 .toggle-icon {
     transition: transform 0.3s ease;
     font-size: 1.2rem;
}
 .credit-section.expanded .toggle-icon {
     transform: rotate(180deg);
}
 .content-hideable {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
     background-color: var(--color-background-white);
}
 .credit-section.expanded .content-hideable {
     max-height: 1000px;
     padding: 20px;
}
 .content-hideable ul {
     list-style-type: disc;
     padding-left: 20px;
     margin: 0;
}
 .content-hideable li {
     margin-bottom: 8px;
     line-height: 1.5;
}
 .content-hideable li strong {
     color: black;
     font-size: 1.1rem;
}
 .contact-button {
     display: inline-block;
     padding: 12px 24px;
     background-color: var(--color-brand-primary);
     color: white;
     text-align: center;
     border-radius: 2rem;
     text-decoration: none;
     font-weight: bold;
     transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     margin-top: 20px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
 .contact-button:hover {
     background-color: var(--color-brand-primary-dark);
     transform: translateY(-3px);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
 .info-info {
     background-color: var(--color-background-white);
     padding: 30px;
     border-radius: 2rem;
     max-width: 93%;
     margin: 40px auto;
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     text-align: justify;
}
 .info-info h2 {
     color: var(--color-brand-primary);
     margin-top: 0;
     margin-bottom: 15px;
     font-size: 1.5rem;
     text-align: center;
}
 .info-info p {
     margin: 10px 0;
     color: var(--color-text-dark);
     line-height: 1.6;
}
 .info-info p:first-child {
     font-weight: bold;
     color: var(--color-brand-primary);
}
 .info-info:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
 .footer-credit-section {
     background-color: #343a40;
     color: white;
     padding: 40px 20px;
     display: flex;
     flex-direction: column;
     gap: 40px;
     align-items: center;
}
 .footer-credit-section h3 {
     margin-bottom: 15px;
     font-size: 1.5rem;
     text-align: center;
}
 .warning-legends {
     background-color: var(--color-background-white);
     color: var(--color-text-dark);
     padding: 30px;
     border-radius: 2rem;
     box-shadow: inset 5px 6px 18px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     max-width: 100%;
     width: 100%;
     box-sizing: border-box;
}
 .warning-legends:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
 .warning-legends h3 {
     color: var(--color-danger);
     margin-top: 0;
     text-align: center;
}
 .warning-legends ul {
     list-style-type: disc;
     padding-left: 20px;
     margin-bottom: 0;
     margin-top: 15px;
}
 .warning-legends li {
     margin-bottom: 10px;
     line-height: 1.6;
}
 .reco-commissions {
     margin-top: 0;
     max-width: 100%;
     width: 100%;
     box-sizing: border-box;
     background-color: #495057;
     border-radius: 2rem;
     padding-bottom: 2rem;
     box-shadow: inset 0px 6px 18px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .reco-commissions:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
 .reco-commissions h3 {
     text-align: center;
     color: white;
     margin-bottom: 20px;
}
 .reco-commissions table {
     width: 100%;
     border-collapse: collapse;
     margin-top: 15px;
}
 .reco-commissions th, .reco-commissions td {
     padding: 12px;
     text-align: left;
     border-bottom: 1px solid #555;
}
 .reco-commissions th {
     background-color: #2b2d30;
     color: white;
     font-weight: bold;
}
 .reco-commissions td {
     background-color: #495057;
     color: var(--color-text-light);
}
 .reco-commissions tbody tr:hover {
     background-color: #343a40;
}
 #footer {
     background-color: var(--color-brand-primary);
     color: white;
     padding: 50px 20px;
}
 .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: #ffffff;
     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;
}
 @media (max-width: 768px) {
     header {
         flex-direction: row;
         align-items: flex-end;
    }
     nav {
         margin-top: 10px;
         padding: 0.5rem;
    }
     nav a {
         margin-left: 0.5rem;
         padding: 0;
    }
     header img {
         height: 40px;
         padding: 0;
    }
     .heros h1 {
         font-size: 3rem;
    }
     .heros p {
         font-size: 1.2rem;
         max-width: 800px;
    }
     .cta-buttons {
         flex-direction: row;
         gap: 1rem;
    }
     .cta-button {
         width: auto;
         text-align: left;
    }
     .credit-details {
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: center;
         gap: 30px;
         padding: 40px 20px;
    }
     .credit-detail-box {
         margin: 0;
    }
     .info-info {
         padding: 30px;
         margin: 40px auto;
    }
     .footer-credit-section {
         padding: 40px 20px;
    }
     .footer-credit-section h3 {
         font-size: 1.5rem;
    }
     .reco-commissions table {
         font-size: 1rem;
    }
     .reco-commissions th, .reco-commissions td {
         padding: 12px;
    }
     .footer-container {
         flex-direction: row;
         align-items: flex-start;
         gap: 30px;
    }
     .footer-section {
         margin: 0;
         text-align: left;
    }
     .footer-section img {
         max-width: 150px;
    }
}
 @media (max-width: 480px) {
     .heros h1 {
         font-size: 1.5rem;
    }
     .heros p {
         font-size: 0.9rem;
    }
     .cta-button {
         width: 100%;
         padding: 10px 15px;
         font-size: 1rem;
    }
     .credit-details {
         padding: 30px 15px;
         gap: 20px;
    }
     .credit-detail-box {
         width: 100%;
         padding: 20px;
    }
     .credit-detail-box h2 {
         font-size: 1.3rem;
    }
     .credit-section h3 {
         font-size: 1rem;
         padding: 12px 15px;
    }
     .contact-button {
         padding: 10px 20px;
         font-size: 1rem;
    }
     .info-info {
         padding: 20px;
    }
     .info-info p {
         font-size: 0.9rem;
    }
     .footer-credit-section h3 {
         font-size: 1.1rem;
    }
     .reco-commissions table {
         font-size: 0.8rem;
    }
     .footer-section h3 {
         font-size: 1.3rem;
    }
     .footer-section p {
         font-size: 0.9rem;
    }
}
 .icon-bullet {
     margin-right: 8px;
     color: #007bff;
}
 .content-hideable ul li {
     padding-left: 0;
     position: relative;
}
 .credit-section ul li {
     list-style-type: none;
}
 #personal-credit, #nomina-credit, #simple-credit, #Tabla {
     scroll-margin-top: 150px;
}
