
:root {
    --primary: #1A5276;
    --secondary: #D68910;
    --background: #F4F6F7;
    --text: #2C3E50;
    --light-text: #FFFFFF;
    --border: #E5E7E9;
    --success: #27AE60;
    --warning: #E67E22;
    --error: #C0392B;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --padding-section: 3rem 0;
}


body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--secondary);
    text-decoration: underline;
}


.main-content {
    flex: 1;
    padding: var(--padding-section);
    min-height: 70vh;
}

.section {
    padding: var(--padding-section);
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}


.site-header {
    background-color: var(--primary);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 50px;
    margin-right: 1rem;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
    color: var(--secondary);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}


.site-footer {
    background-color: var(--primary);
    color: var(--light-text);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-text);
    margin-right: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.footer-info {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
}


.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: var(--transition);
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #154360;
    border-color: #154360;
    color: var(--light-text);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--light-text);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #B27401;
    border-color: #B27401;
    color: var(--light-text);
    text-decoration: none;
}

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

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary);
    color: var(--light-text);
    text-decoration: none;
}


.card {
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.card-text {
    margin-bottom: 1.5rem;
}


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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(26, 82, 118, 0.25);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.25rem;
    box-shadow: var(--box-shadow);
}


.workspace-container {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem -0.5rem;
}

.panel {
    flex: 1 1 300px;
    margin: 0.5rem;
    background: #fff;
    border-radius: 0.25rem;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.panel-title {
    margin: 0;
    font-size: 1.25rem;
}

.panel-controls {
    display: flex;
}

.panel-control {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.panel-control:hover {
    color: var(--primary);
}

.panel-body {
    overflow-y: auto;
}


.article {
    margin-bottom: 2rem;
}

.article-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.article-featured-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}

.article-content {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--border);
    color: var(--text);
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary);
    color: var(--light-text);
    text-decoration: none;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(1fr));
    grid-gap: 1.5rem;
}


.hero-section {
    position: relative;
    background-color: var(--primary);
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: var(--light-text);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


.feature {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-title {
    margin-bottom: 0.5rem;
}


.stats-section {
    background-color: var(--primary);
    color: var(--light-text);
    padding: 3rem 0;
    text-align: center;
}

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

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}


.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::after {
    content: '';
    display: table;
    clear: both;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--secondary);
    border-radius: 50%;
    left: 50%;
    top: 1.5rem;
    margin-left: -8px;
    z-index: 1;
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}


.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    color: var(--light-text);
    padding: 1rem;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-text {
    flex: 1;
    margin-right: 1rem;
}

.cookie-text a {
  color: var(--secondary);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-settings-content {
    background-color: #fff;
    border-radius: 0.25rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-settings-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}


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

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

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

.bg-secondary {
    background-color: var(--secondary) !important;
    color: var(--light-text) !important;
}

.rounded {
    border-radius: 0.25rem !important;
}

.shadow {
    box-shadow: var(--box-shadow) !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}


@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .site-header .grid-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        float: right;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        float: right;
    }
    
    .timeline-dot {
        left: 31px;
    }
    
    .cookie-consent {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}


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

.fade-in {
    animation: fadeIn 0.5s ease-in;
}


.iti {
    width: 100%;
}


.map-container {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


.panel.draggable {
    cursor: move;
}

.panel-resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    cursor: se-resize;
    background: linear-gradient(135deg, transparent 50%, var(--secondary) 50%, var(--secondary) 100%);
}


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


table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: var(--background);
    font-weight: 600;
}

tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}


.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}


.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--text);
    color: var(--light-text);
    text-align: center;
    border-radius: 0.25rem;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


@media print {
    .site-header,
    .site-footer,
    .cookie-consent,
    .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
        background-color: #fff;
        color: #000;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}