
:root {
    --primary: #E27D60;
    --secondary: #85CDCA;
    --accent: #E8A87C;
    --dark: #41B3A3;
    --background: #F9F7F3;
    --text: #2D3B4E;
    --light: #FFFFFF;
    --highlight: #C38D9E;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark);
}

.bg-text {
  background-color: var(--text);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-background {
  background-color: var(--background);
}


.nav-link {
    color: var(--text);
    font-weight: 500;
    padding-bottom: 0.25rem;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover:after, 
.nav-link.active:after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.mobile-nav-link.active {
    color: var(--primary);
    font-weight: 700;
}


.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-light {
    display: inline-block;
    background-color: var(--light);
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: 2px solid var(--light);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-light:hover {
    background-color: transparent;
    color: var(--light);
}

.btn-outline-light {
    display: inline-block;
    background-color: transparent;
    color: var(--light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: 2px solid var(--light);
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary.disabled, 
.btn-secondary.disabled, 
.btn-outline.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text);
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.hero {
    position: relative;
    overflow: hidden;
}


.quiz-container {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
}

.quiz-state {
    display: none;
}

.quiz-state.active {
    display: block;
}

.quiz-progress {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.quiz-progress-bar {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.5s ease;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: var(--secondary);
}

.quiz-option.selected {
    border-color: var(--primary);
    background-color: rgba(226, 125, 96, 0.1);
}

.quiz-option-text {
    margin-left: 0.5rem;
}

.anchor-type {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.savings-container {
    background-color: #e2e8f0;
    border-radius: 9999px;
    height: 1.5rem;
    margin: 1rem 0;
    overflow: hidden;
}

.savings-progress {
    background-color: var(--primary);
    height: 100%;
    width: 0;
    border-radius: 9999px;
    transition: width 1.5s ease;
}

.recommendations li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.recommendations li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}


.practice-step {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--light);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}


.service-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-container {
    width: 4rem;
    height: 4rem;
    background-color: rgba(226, 125, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.service-features {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    position: relative;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: var(--primary);
    font-weight: bold;
}


.case-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-result {
    font-weight: 600;
    color: var(--primary);
}


.event-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 0.5rem;
}

.event-date {
    background-color: var(--primary);
    color: var(--light);
    text-align: center;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    width: 5rem;
}

.day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.month {
    font-size: 0.875rem;
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary);
    color: var(--light);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-details {
    margin-top: 1rem;
}

.event-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.event-detail i {
    color: var(--primary);
    width: 1.5rem;
    margin-right: 0.5rem;
}


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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background-color: #e2e8f0;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #cbd5e0;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 0.5rem;
    top: 0.25rem;
    width: 0.25rem;
    height: 0.5rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 1.5rem;
    color: var(--primary);
    margin-right: 0.5rem;
}

.iti {
    width: 100%;
}


.footer-title {
    color: var(--light);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--primary);
}

.cookie-settings-button {
    color: var(--light);
    opacity: 0.8;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: left;
}

.cookie-settings-button:hover {
    opacity: 1;
}


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

.modal-content {
    background-color: var(--light);
    margin: 10vh auto;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    margin-top: 1rem;
}


.cookie-consent {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#cookie-accept-all {
    background-color: var(--primary);
    color: var(--light);
}

#cookie-settings {
    background-color: #e2e8f0;
    color: var(--text);
}

#cookie-reject-all {
    background-color: #a0aec0;
    color: var(--light);
}

#cookie-accept-all:hover {
    background-color: #d16a4d;
}

#cookie-settings:hover {
    background-color: #cbd5e0;
}

#cookie-reject-all:hover {
    background-color: #8d99a8;
}

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

.cookie-modal-content {
    background-color: var(--light);
    margin: 10vh auto;
    width: 90%;
    max-width: 600px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

#cookie-modal-close {
    font-size: 1.75rem;
    font-weight: 700;
    color: #a0aec0;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

#cookie-modal-close:hover {
    color: var(--primary);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.cookie-category-label {
    display: flex;
    padding: 1rem;
    cursor: pointer;
}

.cookie-category-label input[type="checkbox"] {
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.cookie-category-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookie-category-info p {
    font-size: 0.875rem;
    color: #64748b;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

#cookie-save-preferences, #cookie-accept-all-modal {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#cookie-save-preferences {
    background-color: #e2e8f0;
    color: var(--text);
}

#cookie-accept-all-modal {
    background-color: var(--primary);
    color: var(--light);
}

#cookie-save-preferences:hover {
    background-color: #cbd5e0;
}

#cookie-accept-all-modal:hover {
    background-color: #d16a4d;
}


.result-stat {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.program-tabs {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}

.tab-button {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

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

.tab-content.active {
    display: block;
}

.program-details {
    margin-top: 1.5rem;
}

.program-detail {
    margin-bottom: 1.5rem;
}

.program-detail h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.program-detail ul {
    padding-left: 1.5rem;
}

.program-detail li {
    margin-bottom: 0.25rem;
}

.program-image-container {
    position: relative;
}

.program-cta {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    border-top: 2px solid var(--primary);
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    display: flex;
    margin-bottom: 1.5rem;
}

.benefit-list i {
    color: var(--primary);
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.25rem;
}

.benefit-list h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.package-selector {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.package-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.package-filter {
    padding: 1rem;
    background-color: #f1f5f9;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 220px;
}

.package-filter.active {
    background-color: var(--primary);
    color: var(--light);
}

.package-set {
    display: none;
}

.package-set.active {
    display: block;
}

.package-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
}

.package-card.featured {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.package-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: var(--light);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.package-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.package-features {
    list-style: none;
    padding: 1.5rem;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i {
    margin-right: 0.75rem;
    width: 1rem;
    text-align: center;
}

.package-features .fa-check {
    color: var(--primary);
}

.package-features .fa-times {
    color: #cbd5e0;
}

.included-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.included-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(226, 125, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.additional-feature {
    display: flex;
    align-items: flex-start;
}

.additional-feature i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.additional-feature h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}


.case-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-button {
    padding: 0.5rem 1rem;
    background-color: #f1f5f9;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button.active {
    background-color: var(--primary);
    color: var(--light);
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.search-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-button:hover {
    color: var(--primary);
}

.case-full-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.case-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-person {
    font-style: italic;
    color: #64748b;
    margin-bottom: 1rem;
}

.case-section {
    margin-bottom: 1.5rem;
}

.case-section h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.case-section ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.case-section li {
    margin-bottom: 0.25rem;
}

.case-quote {
    font-style: italic;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    margin-top: 1.5rem;
    color: #64748b;
}

.resource-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.resource-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(226, 125, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.resource-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.resource-link:after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.75rem;
}


.event-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sort-container {
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background-color: var(--light);
}

.featured-event-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 0.5rem;
    position: relative;
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
}

.featured-event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.featured-event-content {
    display: flex;
    padding: 1.5rem;
}

.featured-event-content .event-date {
    flex-shrink: 0;
    margin-right: 1.5rem;
    height: fit-content;
}

.featured-event-content .event-date .year {
    font-size: 0.75rem;
    opacity: 0.8;
}

.event-info {
    flex-grow: 1;
}

.event-item {
    display: flex;
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.event-date-container {
    background-color: var(--primary);
    color: var(--light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    text-align: center;
}

.event-date-container .event-type {
    margin-top: 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.event-details-container {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-meta {
    margin-top: 1rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.event-meta-item i {
    color: var(--primary);
    width: 1.5rem;
}

.timeline-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.timeline-button {
    padding: 0.5rem 1rem;
    background-color: #f1f5f9;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-button.active {
    background-color: var(--primary);
    color: var(--light);
}

.past-event-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.past-event-date {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.past-event-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.past-event-type {
    padding: 0.25rem 0.5rem;
    background-color: var(--secondary);
    color: var(--light);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.past-event-type.free {
    background-color: var(--accent);
}

.past-event-attendance {
    color: #64748b;
}

.event-type.online {
    background-color: var(--secondary);
}

.event-type.offline {
    background-color: var(--dark);
}

.event-type.free {
    background-color: var(--accent);
}

.newsletter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: none;
    font-size: 1rem;
}

.newsletter-benefits {
    color: var(--light);
}

.benefit-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.benefit-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.event-modal-details {
    background-color: #f1f5f9;
    padding: 1rem;
    border-radius: 0.5rem;
}

.event-modal-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.event-modal-detail i {
    color: var(--primary);
    width: 1.5rem;
    margin-right: 0.5rem;
}

.event-registration-modal .contact-details {
    background-color: #f1f5f9;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.event-registration-modal .contact-details p {
    margin-bottom: 0.5rem;
}


.contact-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.contact-card-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.contact-card-header h3 {
    font-weight: 600;
    margin: 0;
}

.map-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.direction-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.direction-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(226, 125, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.direction-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.department-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.department-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(226, 125, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.department-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.department-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.department-contact i {
    color: var(--primary);
    width: 1.5rem;
    margin-right: 0.5rem;
}

.faq-container {
    background-color: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-weight: 600;
    margin: 0;
}

.faq-icon i {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: none;
}

.faq-question.active {
    background-color: #f8fafc;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}


.thank-you-section {
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thank-you-container {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 3rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.thank-you-message {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.next-steps {
    margin: 2rem 0;
    text-align: left;
}

.next-steps h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-info h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.thank-you-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}


.legal-page {
    background-color: var(--background);
    min-height: 100vh;
}

.legal-container {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.legal-date {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.legal-toc {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.legal-toc h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-toc ol {
    padding-left: 1.5rem;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    color: var(--text);
    text-decoration: none;
}

.legal-toc a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem 0;
}

.legal-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem 0;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-details-legal {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem 0;
    font-size: 0.875rem;
}

.cookie-table th, .cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.cookie-table th {
    background-color: #f8fafc;
    font-weight: 600;
}

.cookie-category-description {
    margin-bottom: 2rem;
}

.cookie-category-description h3 {
    color: var(--primary);
}


@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date-container {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 1rem;
    }
    
    .event-date {
        flex-direction: row;
        align-items: center;
        width: auto;
        padding: 0.5rem;
        background: none;
    }
    
    .day {
        margin-right: 0.25rem;
    }
    
    .featured-event-content {
        flex-direction: column;
    }
    
    .featured-event-content .event-date {
        margin-bottom: 1rem;
        margin-right: 0;
        width: 5rem;
    }
    
    .thank-you-container, .legal-container {
        padding: 1.5rem;
    }
    
    .legal-title {
        font-size: 1.75rem;
    }
    
    .package-card.featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .program-tabs .tab-content {
        padding: 1rem;
    }
    
    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
    }
    
    .program-image-container {
        margin-top: 1.5rem;
    }
    
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}