/* 
* PsicoFinanzas - Main Stylesheet
* Theme: Artesanal / Handcrafted
* Author: Web Architect
* Version: 1.0
* Last Update: June 23, 2025
*/

/* -----------------------------
  Table of Contents:
  1. Base Styles
  2. Typography
  3. Layout & Containers
  4. Header & Navigation
  5. Cookie Consent
  6. Hero Section
  7. Content Sections
  8. Cards & Components
  9. Forms
  10. Footer
  11. Glossary
  12. Legal Pages
  13. Thank You Page
  14. Media Queries
----------------------------- */

/* -----------------------------
  1. Base Styles
----------------------------- */
:root {
    --primary: #4A6D7C;
    --secondary: #D6A05C;
    --accent: #8C3B3B;
    --light: #F5F1E8;
    --dark: #2A363B;
    --background: #FBF7F0;
    --text: #333333;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-padding: 20px;
    --section-spacing: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

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

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

button, .button {
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
}

ul, ol {
    list-style-position: inside;
}

section {
    padding: 50px 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* -----------------------------
  2. Typography
----------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75em;
}

h2 {
    font-size: 2rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5em;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-underline {
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    margin: 15px auto 30px;
    position: relative;
}

.section-underline::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--accent);
    left: -15px;
    top: 0;
}

/* -----------------------------
  3. Layout & Containers
----------------------------- */
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.grid-container {
    display: grid;
    grid-gap: 30px;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* -----------------------------
  4. Header & Navigation
----------------------------- */
.site-header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav li {
    margin: 0 15px;
    position: relative;
}

.desktop-nav li:last-child {
    margin-right: 0;
}

.desktop-nav a {
    display: block;
    padding: 8px 0;
    color: var(--dark);
    position: relative;
    font-weight: 500;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width var(--transition-medium);
}

.desktop-nav a:hover::after,
.desktop-nav li.active a::after {
    width: 100%;
}

.desktop-nav li.active a {
    color: var(--accent);
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-nav {
    display: none;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    color: var(--dark);
    font-weight: 500;
    border-bottom: 1px solid var(--light);
}

.mobile-nav li.active a {
    color: var(--accent);
    font-weight: 700;
}

/* -----------------------------
  5. Cookie Consent
----------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.cookie-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: var(--border-radius-md);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

.cookie-options {
    margin: 20px 0;
}

.cookie-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    font-weight: 700;
    margin-left: 10px;
}

.cookie-option p {
    margin: 5px 0 0 25px;
    font-size: 0.9em;
    color: #666;
}

.cookie-preferences-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* -----------------------------
  6. Hero Section
----------------------------- */
.hero-section {
    padding: 0;
}

.hero-background {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(42, 54, 59, 0.7), rgba(42, 54, 59, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    color: #fff;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.legal-banner {
    background-color: var(--dark);
}

/* -----------------------------
  7. Content Sections
----------------------------- */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.insights-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.insights-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(214, 160, 92, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.insight-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefits-section {
    background-color: #fff;
}

.benefits-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.benefits-image {
    flex: 1;
}

.benefits-list {
    flex: 1;
}

.benefit-item {
    display: flex;
    margin-bottom: 30px;
}

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

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.benefit-text {
    flex: 1;
}

.benefit-text h3 {
    margin-bottom: 10px;
}

.education-section {
    background-color: var(--light);
    position: relative;
}

.education-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.education-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--secondary);
}

.education-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-form-section {
    background-color: #fff;
    position: relative;
}

.contact-form-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(74, 109, 124, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Articles Section */
.articles-section {
    background-color: #fff;
}

.article-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-button {
    background: none;
    border: none;
    padding: 8px 15px;
    margin: 0 5px 10px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

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

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.article-excerpt {
    margin-bottom: 20px;
}

.article-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    font-size: 0.8rem;
    background-color: var(--light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Case Studies Section */
.case-studies-section {
    background-color: var(--light);
}

.case-study {
    display: flex;
    margin-bottom: 50px;
    background-color: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.case-study:last-child {
    margin-bottom: 0;
}

.case-study.reverse {
    flex-direction: row-reverse;
}

.case-study-image {
    flex: 1;
    min-height: 350px;
    max-width: 40%;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    flex: 1.5;
    padding: 30px;
}

.case-study-intro {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary);
}

.detail-item {
    margin-bottom: 20px;
}

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

.detail-label {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

/* Research Section */
.research-section {
    background-color: #fff;
}

.research-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.research-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-medium);
}

.research-card:hover {
    transform: translateY(-5px);
}

.research-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.research-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.research-meta span {
    display: flex;
    align-items: center;
}

.research-meta i {
    margin-right: 5px;
}

/* Recommendations Section */
.recommendations-section {
    background-color: var(--light);
}

.recommendations-list {
    max-width: 900px;
    margin: 0 auto;
}

.recommendation-item {
    display: flex;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 20px;
}

.recommendation-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 20px;
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
}

.recommendation-content {
    flex: 1;
}

.recommendation-author {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Theories Section */
.theories-section {
    background-color: #fff;
}

.theories-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.theory-card {
    background-color: var(--light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.theory-header {
    background-color: var(--primary);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
}

.theory-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.theory-header h3 {
    color: #fff;
    margin-bottom: 0;
}

.theory-content {
    padding: 25px;
}

.theory-intro {
    font-weight: 500;
    margin-bottom: 20px;
}

.theory-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.theory-principle h4,
.theory-application h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Theory Comparison Section */
.theory-comparison-section {
    background-color: var(--light);
}

.table-scroll {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9em;
    min-width: 650px;
}

.comparison-table thead tr {
    background-color: var(--primary);
    color: #fff;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.comparison-table tbody tr:nth-of-type(even) {
    background-color: rgba(245, 241, 232, 0.5);
}

.comparison-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--primary);
}

/* Interdisciplinary Section */
.interdisciplinary-section {
    background-color: #fff;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.discipline-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.discipline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary);
    transition: width var(--transition-medium);
}

.discipline-card:hover {
    transform: translateY(-5px);
}

.discipline-card:hover::before {
    width: 10px;
}

.discipline-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Contact Info Section */
.contact-info-section {
    background-color: #fff;
}

.contact-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: var(--light);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.contact-note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/* Map Section */
.map-section {
    background-color: var(--light);
}

.map-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-info {
    display: flex;
    gap: 30px;
}

.map-info-card {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.map-image {
    flex: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.direction-item {
    display: flex;
    margin-bottom: 20px;
}

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

.direction-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.direction-text h4 {
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.faq-question {
    background-color: var(--light);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    flex: 1;
    font-size: 1.1rem;
}

.faq-toggle {
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-toggle i {
    font-size: 1.2rem;
    color: var(--primary);
}

.faq-toggle .fa-minus {
    display: none;
}

.faq-item.active .faq-toggle .fa-plus {
    display: none;
}

.faq-item.active .faq-toggle .fa-minus {
    display: inline-block;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* -----------------------------
  8. Cards & Components
----------------------------- */
.ui.button.primary {
    background-color: var(--primary);
    color: #fff;
}

.ui.button.primary:hover {
    background-color: #3a5a68;
}

.ui.button.secondary {
    background-color: var(--secondary);
    color: #fff;
}

.ui.button.secondary:hover {
    background-color: #c48e4d;
}

.submit-button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
}

/* -----------------------------
  9. Forms
----------------------------- */
.ui.form .field {
    margin-bottom: 20px;
}

.ui.form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.ui.form input[type="text"],
.ui.form input[type="email"],
.ui.form input[type="tel"],
.ui.form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: 'Raleway', sans-serif;
    transition: border-color var(--transition-fast);
}

.ui.form input[type="text"]:focus,
.ui.form input[type="email"]:focus,
.ui.form input[type="tel"]:focus,
.ui.form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.ui.checkbox {
    display: flex;
    align-items: flex-start;
}

.ui.checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

.ui.checkbox label {
    font-weight: 400;
}

/* Custom styling for intl-tel-input */
.iti {
    width: 100%;
}

.iti__flag-container {
    z-index: 5;
}

/* -----------------------------
  10. Footer
----------------------------- */
.site-footer {
    background-color: var(--dark);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-nav h4,
.footer-legal h4,
.footer-contact h4 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-legal a {
    color: #ddd;
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--secondary);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 4px;
    color: var(--secondary);
}

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

/* -----------------------------
  11. Glossary
----------------------------- */
.glossary-section {
    background-color: var(--light);
}

.glossary-search {
    max-width: 600px;
    margin: 0 auto 30px;
    display: flex;
}

#glossary-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-family: 'Raleway', sans-serif;
}

#glossary-search-button {
    padding: 0 20px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
}

.glossary-navigation {
    margin-bottom: 30px;
}

.alphabet-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.alphabet-link {
    display: inline-block;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: var(--dark);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.alphabet-link:hover,
.alphabet-link.active {
    background-color: var(--primary);
    color: #fff;
}

.alphabet-link[data-letter="all"] {
    width: auto;
    padding: 0 15px;
    border-radius: 18px;
}

.glossary-terms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.glossary-term {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.glossary-term h3 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
}

/* -----------------------------
  12. Legal Pages
----------------------------- */
.legal-content-section {
    background-color: #fff;
    padding: 60px 0;
}

.legal-content {
    display: flex;
    gap: 40px;
}

.legal-toc {
    flex: 0 0 250px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background-color: var(--light);
    padding: 25px;
    border-radius: var(--border-radius-md);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.legal-toc h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.legal-toc ul {
    list-style: none;
}

.legal-toc li {
    margin-bottom: 10px;
}

.legal-toc a {
    display: block;
    padding: 5px 0;
    transition: color var(--transition-fast);
}

.legal-toc a:hover {
    color: var(--accent);
}

.legal-sections {
    flex: 1;
}

.legal-section {
    margin-bottom: 40px;
}

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

.legal-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.legal-section h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 10px;
}

.cookie-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    min-width: 500px;
}

.cookie-table thead tr {
    background-color: var(--primary);
    color: #fff;
    text-align: left;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
}

.cookie-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.cookie-table tbody tr:nth-of-type(even) {
    background-color: rgba(245, 241, 232, 0.5);
}

.cookie-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--primary);
}

/* -----------------------------
  13. Thank You Page
----------------------------- */
.thank-you-section {
    background-color: #fff;
    padding: 80px 0;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.thank-you-message {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.next-steps {
    margin-top: 50px;
}

.next-steps-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.next-step-option {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.next-step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.next-step-option h3 {
    margin-bottom: 15px;
}

.next-step-option p {
    margin-bottom: 20px;
}

/* -----------------------------
  14. Media Queries
----------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 50px;
        --container-padding: 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .theories-container,
    .glossary-terms {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        flex-direction: column;
    }
    
    .legal-toc {
        flex: 0 0 auto;
        position: static;
        max-height: none;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 40px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-background {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content,
    .benefits-content {
        flex-direction: column;
    }
    
    .about-image,
    .benefits-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .insight-card,
    .education-card {
        padding: 20px;
    }
    
    .case-study {
        flex-direction: column;
    }
    
    .case-study.reverse {
        flex-direction: column;
    }
    
    .case-study-image {
        max-width: 100%;
        height: 250px;
    }
    
    .map-info {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .hero-background {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .insights-grid,
    .education-content,
    .articles-grid,
    .research-cards,
    .disciplines-grid,
    .contact-info-container,
    .next-steps-options {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin: 0 auto 15px;
    }
    
    .benefit-text {
        text-align: center;
    }
    
    .glossary-terms {
        grid-template-columns: 1fr;
    }
    
    .cookie-modal-content {
        padding: 20px 15px;
    }
}