body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

:root {
    --primary-color: #007bff; /* Darker Blue */
    --secondary-color: #6c757d; /* Silver/Gray */
    --dark-blue: #0A1931;
    --light-blue: #185ADB;
    --accent-teal: #00BCD4;
    --accent-yellow: #FFC107;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-color: #333;
}

.bg-dark {
    background-color: var(--dark-blue) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-primary {
    color: var(--light-blue) !important;
}

.btn-primary {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #144eac;
    border-color: #144eac;
}

.btn-outline-primary {
    color: var(--light-blue);
    border-color: var(--light-blue);
}

.btn-outline-primary:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.nav-link {
    color: var(--white) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-teal) !important;
}

.navbar-brand .site-name {
    color: var(--white);
}

/* .navbar-brand img {
    filter: brightness(0) invert(1);
} */

.hero-section {
    min-height: 80vh;
    position: relative;
    color: var(--white);
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
}

.hero-section .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
}

.about-image-blurred {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
}

.icon-yellow-outline {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.icon-circle-teal {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.card {
    border: none;
    border-radius: 0.5rem;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.btn-link {
    text-decoration: none;
    color: var(--accent-teal);
    padding: 0;
}

.btn-link:hover {
    text-decoration: underline;
    color: var(--light-blue);
}

.accordion-button:not(.collapsed) {
    color: var(--light-blue);
    background-color: var(--light-gray);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item {
    border: none;
}

.accordion-header .accordion-button {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
}

.accordion-button.collapsed {
    background-color: var(--white);
    color: var(--text-color);
}

.accordion-flush .accordion-item .accordion-button {
    border-radius: 0.5rem;
}

#faq-search {
    border-radius: 0.5rem;
    border-color: var(--secondary-color);
}

#faq-search:focus {
    box-shadow: none;
    border-color: var(--light-blue);
}

.faq-item h5 {
    color: var(--dark-blue);
}

.footer-links li a {
    color: var(--secondary-color);
}

.footer-links li a:hover {
    color: var(--white);
}

.modal-header {
    background-color: var(--light-blue);
    color: var(--white);
}

.modal-content {
    border-radius: 0.75rem;
    overflow: hidden;
}

.modal-backdrop.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

.form-check-input:checked {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
}

.cookie-banner {
    z-index: 1050;
    max-width: 350px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.cookie-banner.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Timeline for Siniestros Section */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--light-blue);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

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

.timeline-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 0.5rem;
    position: relative;
    margin-left: calc(50% + 40px);
    width: calc(50% - 60px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: calc(50% + 40px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -20px;
    border-width: 10px 20px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -20px;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent var(--white);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-blue);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-item {
        margin-left: 0 !important;
        margin-bottom: 0.5rem;
    }

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

    .navbar-nav .nav-btn {
        width: 100%;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-section .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .about-image-blurred {
        height: 300px;
        margin-top: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-content {
        margin-left: 80px;
        width: calc(100% - 100px);
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-right: auto;
        margin-left: 80px;
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -20px;
        border-width: 10px 20px 10px 0;
        border-color: transparent var(--white) transparent transparent;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -20px;
        border-width: 10px 20px 10px 0;
        border-color: transparent var(--white) transparent transparent;
    }

    .accordion-button.collapsed.bg-dark {
        background-color: var(--dark-blue) !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 150px;
        padding-bottom: 50px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }

    .navbar-brand .site-name {
        font-size: 1.5rem !important;
    }

    .navbar-brand img {
        height: 30px !important;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .accordion-header .accordion-button {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .footer-accordion .accordion-item {
        border-bottom: none;
    }

    .footer-accordion .accordion-button.collapsed {
        pointer-events: none;
        cursor: default;
    }

    .footer-accordion .accordion-collapse {
        display: block !important;
    }

    .footer-accordion .accordion-body {
        padding-top: 0;
    }

    .footer-accordion .accordion-button::after {
        display: none;
    }
}
/*
 * Base styles for the policy content shell.
 * Sets maximum width, centers the content, and adds top/side margins.
 */
.policyOrbitalShell {
    max-width: 800px; /* Maximum width for content */
    margin: 40px auto; /* Top margin 40px, auto for left/right centering */
    padding: 0 20px; /* Horizontal padding for smaller screens */
    font-family: Arial, sans-serif; /* A common, readable font */
    color: #333; /* Default text color */
}

/*
 * Heading 1 styles
 * Not overly large, provides clear hierarchy.
 */
.policyOrbitalShell h1 {
    font-size: 28px; /* Moderate font size for H1 */
    line-height: 1.2; /* Improved readability */
    margin-top: 1.5em; /* Space above heading */
    margin-bottom: 0.8em; /* Space below heading */
    font-weight: bold; /* Ensure it's bold */
}

/*
 * Heading 2 styles
 * Slightly smaller than H1.
 */
.policyOrbitalShell h2 {
    font-size: 24px; /* Moderate font size for H2 */
    line-height: 1.3;
    margin-top: 1.2em;
    margin-bottom: 0.7em;
    font-weight: bold;
}

/*
 * Heading 3 styles
 * Further reduction in size.
 */
.policyOrbitalShell h3 {
    font-size: 20px; /* Moderate font size for H3 */
    line-height: 1.4;
    margin-top: 1em;
    margin-bottom: 0.6em;
    font-weight: bold;
}

/*
 * Heading 4 styles
 * Approaching body text size, but still distinct.
 */
.policyOrbitalShell h4 {
    font-size: 18px; /* Moderate font size for H4 */
    line-height: 1.5;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

/*
 * Heading 5 styles
 * Typically same size as body text but bold.
 */
.policyOrbitalShell h5 {
    font-size: 16px; /* Same as paragraph, but bold */
    line-height: 1.6;
    margin-top: 0.6em;
    margin-bottom: 0.4em;
    font-weight: bold;
}

/*
 * Paragraph styles
 * Standard readable text.
 */
.policyOrbitalShell p {
    font-size: 16px; /* Base font size for paragraphs */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/*
 * Unordered list styles
 * Adds default list styling and indentation.
 */
.policyOrbitalShell ul {
    list-style-type: disc; /* Standard disc bullets */
    padding-left: 25px; /* Indentation for list items */
    margin-bottom: 1em; /* Space after the list */
    margin-top: 1em; /* Space before the list */
}

/*
 * List item styles
 * Adds spacing between individual list items.
 */
.policyOrbitalShell li {
    font-size: 16px; /* Inherit or set base font size */
    line-height: 1.6; /* Consistent line height */
    margin-bottom: 0.5em; /* Space between list items */
}
footer .text-secondary {
    color: #e8e6e6 !important;
}
main {
    overflow: hidden;
}