/* 
==============================================
FINANZAS ESENCIALES - MAIN STYLESHEET
==============================================
*/

/*
 * TABLE OF CONTENTS
 * 
 * 1. Base Styles & Typography
 * 2. Layout & Structure
 * 3. Header & Navigation
 * 4. Hero Section
 * 5. Cards & Content Blocks
 * 6. Section Styling
 * 7. Forms & Inputs
 * 8. Buttons & CTAs
 * 9. Footer
 * 10. Cookie Consent
 * 11. Utilities & Helper Classes
 * 12. Animations & Effects
 * 13. Media Queries
 */

/*--------------------------------------------------------------
1. Base Styles & Typography
--------------------------------------------------------------*/
:root {
    /* Main color palette */
    --primary-color: #1A1E2E;
    --secondary-color: #2C3852;
    --accent-color-1: #FF7D3B;
    --accent-color-2: #4ECDC4;
    --accent-color-3: #F9C80E;
    --background-color: #121420;
    --text-color: #E6E8E9;
    --text-muted: #9DA5B4;
    --success-color: #2ECC71;
    --danger-color: #E74C3C;
    
    /* Typography */
    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'Inter', sans-serif;
    
    /* Spacing */
    --section-spacing: 6rem;
    --element-spacing: 2rem;
    
    /* Borders & Shadows */
    --border-radius: 0.5rem;
    --card-border-radius: 0.8rem;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --strong-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Z-index levels */
    --z-back: -1;
    --z-normal: 1;
    --z-front: 10;
    --z-modal: 100;
    --z-toast: 1000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1rem;
}

li {
  color: var(--text-muted);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

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

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

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

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

/*--------------------------------------------------------------
2. Layout & Structure
--------------------------------------------------------------*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

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

.bg-gradient {
    background: linear-gradient(170deg, var(--primary-color) 0%, var(--background-color) 100%);
    position: relative;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544V0h.284zM0 5.373l25.456 25.455-1.414 1.415L0 8.2V5.374zm0 5.656l22.627 22.627-1.414 1.414L0 13.86v-2.83zm0 5.656l19.8 19.8-1.415 1.413L0 19.514v-2.83zm0 5.657l16.97 16.97-1.414 1.415L0 25.172v-2.83zM0 28l14.142 14.142-1.414 1.414L0 30.828V28zm0 5.657L11.314 44.97 9.9 46.386l-9.9-9.9v-2.828zm0 5.657L8.485 47.8 7.07 49.212 0 42.143v-2.83zm0 5.657l5.657 5.657-1.414 1.415L0 47.8v-2.83zm0 5.657l2.828 2.83-1.414 1.413L0 53.456v-2.83zM54.627 60L30 35.373 5.373 60H8.2L30 38.2 51.8 60h2.827zm-5.656 0L30 41.03 11.03 60h2.828L30 43.858 46.142 60h2.83zm-5.656 0L30 46.686 16.686 60h2.83L30 49.515 40.485 60h2.83zm-5.657 0L30 52.343 22.344 60h2.83L30 55.172 34.828 60h2.83zM32 60l-2-2-2 2h4zM59.716 0l-28 28 1.414 1.414L60 2.544V0h-.284zM60 5.373L34.544 30.828l1.414 1.415L60 8.2V5.374zm0 5.656L37.373 33.656l1.414 1.414L60 13.86v-2.83zm0 5.656l-19.8 19.8 1.415 1.413L60 19.514v-2.83zm0 5.657l-16.97 16.97 1.414 1.415L60 25.172v-2.83zM60 28L45.858 42.142l1.414 1.414L60 30.828V28zm0 5.657L48.686 44.97l1.415 1.415 9.9-9.9v-2.828zm0 5.657L51.515 47.8l1.414 1.413 7.07-7.07v-2.83zm0 5.657l-5.657 5.657 1.414 1.415L60 47.8v-2.83zm0 5.657l-2.828 2.83 1.414 1.413L60 53.456v-2.83zM39.9 16.385l1.414-1.414L30 3.658 18.686 14.97l1.415 1.415 9.9-9.9 9.9 9.9zm-2.83 2.828l1.415-1.414L30 9.313 21.515 17.8l1.414 1.413L30 11.8l7.07 7.414v-.002zm-2.827 2.83l1.414-1.416L30 14.97l-5.657 5.657 1.414 1.415L30 17.8l4.243 4.242zm-2.83 2.827l1.415-1.414L30 20.626l-2.828 2.83 1.414 1.414L30 23.456l1.414 1.414zM56.87 59.414L58.284 58 30 29.716 1.716 58l1.414 1.414L30 32.544l26.87 26.87z' fill='%23262c3e' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-color-2), var(--accent-color-1), var(--accent-color-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

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

.section-title {
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, var(--accent-color-2), var(--accent-color-1));
    margin-bottom: 1.5rem;
}

.divider.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
3. Header & Navigation
--------------------------------------------------------------*/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-front);
    padding: 1rem 0;
    transition: background-color var(--transition-medium), padding var(--transition-medium);
    background-color: rgba(18, 20, 32, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(18, 20, 32, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
}

.navbar-toggler:hover {
    color: var(--accent-color-1);
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--accent-color-2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color-2), var(--accent-color-1));
    transition: width var(--transition-medium);
}

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

/*--------------------------------------------------------------
4. Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-back);
}

.hero-content {
    position: relative;
    z-index: var(--z-normal);
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

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

.hero-image {
    border-radius: var(--card-border-radius);
    box-shadow: var(--strong-shadow);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform var(--transition-medium);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--accent-color-2);
    border-radius: var(--card-border-radius);
    z-index: -1;
    opacity: 0.6;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--accent-color-1);
    border-radius: var(--card-border-radius);
    z-index: -1;
    opacity: 0.6;
}

/* Page header style (for inner pages) */
.page-header {
    position: relative;
    padding: 8rem 0 4rem;
    text-align: center;
    background-color: var(--primary-color);
    overflow: hidden;
}

/*--------------------------------------------------------------
5. Cards & Content Blocks
--------------------------------------------------------------*/
.card {
    background-color: var(--secondary-color);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: none;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--strong-shadow);
}

.card-body {
    padding: 2rem;
}

.card-title {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-image-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

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

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color-2);
    background: rgba(78, 205, 196, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--accent-color-2);
    margin-right: 0.5rem;
}

.content-block {
    margin-bottom: 2rem;
}

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

.content-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.content-list li::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color-1);
    font-size: 0.8rem;
}

/* Focus Areas Cards */
.focus-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--secondary-color), var(--primary-color));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, var(--accent-color-2), transparent);
    opacity: 0.1;
    transition: opacity var(--transition-medium);
}

.focus-card:hover::before {
    opacity: 0.2;
}

/* Methodology Points */
.methodology-point,
.philosophy-point {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.point-number {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color-1);
    opacity: 0.8;
    margin-right: 1.5rem;
    line-height: 1;
}

.point-content {
    flex: 1;
}

.point-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Methodology Image */
.methodology-image-container,
.philosophy-image-container,
.cultural-image-container,
.educator-image-container,
.program-image-container {
    position: relative;
}

.methodology-accent,
.philosophy-accent,
.cultural-accent,
.educator-accent,
.program-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color-2);
    border-radius: var(--card-border-radius);
    z-index: -1;
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.principle-card {
    background-color: rgba(44, 56, 82, 0.5);
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    text-align: center;
    position: relative;
    transition: transform var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.principle-card:hover {
    transform: translateY(-10px);
}

.principle-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color-1);
}

/* Education Principles Cards */
.principle-edu-card {
    background-color: rgba(44, 56, 82, 0.5);
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    position: relative;
    transition: transform var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.principle-edu-card:hover {
    transform: translateY(-10px);
}

.principle-number {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color-2);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.principle-edu-card h3 {
    margin-bottom: 1rem;
}

.principle-edu-card p {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.principle-edu-card .principle-icon {
    font-size: 2rem;
    margin-top: auto;
    color: var(--accent-color-2);
    align-self: flex-end;
}

/* Program Options */
.option-card {
    background-color: rgba(44, 56, 82, 0.5);
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    position: relative;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--strong-shadow);
}

.option-featured {
    background: linear-gradient(145deg, rgba(44, 56, 82, 0.8), rgba(26, 30, 46, 0.8));
    border: 1px solid var(--accent-color-2);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.1);
}

.option-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background-color: var(--accent-color-1);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.option-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.option-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.option-features li i {
    color: var(--accent-color-2);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
}

.option-footer {
    margin-top: auto;
}

/* Resource Cards */
.resource-card {
    background-color: rgba(44, 56, 82, 0.3);
    padding: 2rem;
    border-radius: var(--card-border-radius);
    transition: transform var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

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

.resource-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color-3);
    background: rgba(249, 200, 14, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color-2);
    font-weight: 500;
    margin-top: 1rem;
}

.resource-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.resource-link:hover i {
    transform: translateX(5px);
}

/* Contact Features */
.contact-features {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-color-2);
    margin-right: 1.5rem;
    background: rgba(78, 205, 196, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
}

.feature-text p {
    margin-bottom: 0;
}

/* Modules Timeline */
.modules-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.modules-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color-2), var(--accent-color-1));
    opacity: 0.6;
}

.module-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 4rem;
}

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

.module-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, var(--accent-color-2), var(--accent-color-1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 1;
}

.module-content {
    background-color: rgba(44, 56, 82, 0.5);
    border-radius: var(--card-border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.module-title {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.module-duration {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: rgba(78, 205, 196, 0.1);
    color: var(--accent-color-2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.module-topics {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.module-topics li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.module-topics li i {
    color: var(--accent-color-2);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
}

.module-outcomes {
    background-color: rgba(255, 125, 59, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
}

.module-outcomes h4 {
    color: var(--accent-color-1);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.module-outcomes p {
    margin-bottom: 0;
}

/* Teaching Method Cards */
.method-card {
    background-color: rgba(44, 56, 82, 0.5);
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    height: 100%;
    position: relative;
    transition: transform var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.method-card:hover {
    transform: translateY(-10px);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color-3);
    background: rgba(249, 200, 14, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.method-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.method-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color-2);
    font-size: 0.9rem;
}

/* Accordion */
.accordion {
    margin-bottom: 2rem;
}

.accordion-item {
    background-color: rgba(44, 56, 82, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background-color: rgba(44, 56, 82, 0.5);
    color: var(--text-color);
    font-weight: 500;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color var(--transition-fast);
    position: relative;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(78, 205, 196, 0.1);
    color: var(--accent-color-2);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(78, 205, 196, 0.3);
}

.accordion-button::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f107';
    background-image: none;
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem;
    background-color: rgba(18, 20, 32, 0.5);
}

/* Pedagogy Diagram */
.pedagogy-diagram {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 0;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.center-circle {
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, var(--primary-color), var(--background-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    border: 3px solid var(--accent-color-2);
    text-align: center;
}

.center-circle h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.diagram-elements {
    position: relative;
    height: 600px;
}

.diagram-element {
    position: absolute;
    width: 300px;
    background-color: rgba(44, 56, 82, 0.7);
    border-radius: var(--card-border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.element-1 {
    top: 0;
    left: 0;
}

.element-2 {
    top: 0;
    right: 0;
}

.element-3 {
    bottom: 0;
    left: 0;
}

.element-4 {
    bottom: 0;
    right: 0;
}

.element-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color-1);
}

.element-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.element-points {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.element-points li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.element-points li::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color-2);
    font-size: 0.8rem;
}

/* Learning Cycle */
.learning-cycle {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
}

.cycle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.center-content {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    text-align: center;
    color: var(--primary-color);
}

.center-content i {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.center-content span {
    font-weight: 600;
    line-height: 1.2;
}

.cycle-phase {
    position: absolute;
    width: 200px;
}

.phase-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.phase-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.phase-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.phase-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.phase-5 {
    top: 25%;
    left: 15%;
}

.phase-inner {
    background-color: rgba(44, 56, 82, 0.7);
    border-radius: var(--card-border-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phase-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: var(--accent-color-2);
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 36px;
}

.phase-inner h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Role List */
.role-list {
    list-style: none;
    padding: 0;
}

.role-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.role-list li i {
    font-size: 1.5rem;
    color: var(--accent-color-3);
    margin-right: 1.5rem;
    background: rgba(249, 200, 14, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.role-list li div h4 {
    margin-bottom: 0.5rem;
}

.role-list li div p {
    margin-bottom: 0;
}

/* Evolution Timeline */
.evolution-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.evolution-stage {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 40px;
}

.evolution-stage:last-child {
    margin-bottom: 0;
}

.stage-connector {
    position: absolute;
    left: 15px;
    top: 30px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, var(--accent-color-2), var(--accent-color-1));
    opacity: 0.6;
}

.stage-content {
    background-color: rgba(44, 56, 82, 0.5);
    border-radius: var(--card-border-radius);
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stage-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 20px;
    height: 2px;
    background-color: var(--accent-color-2);
}

.stage-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stage-icon {
    font-size: 1.8rem;
    color: var(--accent-color-2);
    margin-right: 1.5rem;
    background: rgba(78, 205, 196, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stage-header h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.stage-indicators {
    margin-top: 1.5rem;
}

.indicator {
    margin-bottom: 1rem;
}

.indicator-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.indicator-bar {
    height: 6px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.indicator-progress {
    height: 100%;
    background: linear-gradient(to right, var(--accent-color-2), var(--accent-color-1));
    border-radius: 3px;
}

/* Cultural Aspects */
.cultural-aspects {
    margin-top: 2rem;
}

.aspect-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.aspect-icon {
    font-size: 1.5rem;
    color: var(--accent-color-3);
    margin-right: 1.5rem;
    background: rgba(249, 200, 14, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aspect-content h4 {
    margin-bottom: 0.5rem;
}

.aspect-content p {
    margin-bottom: 0;
}

/* Contact Info */
.contact-info-card {
    background-color: rgba(44, 56, 82, 0.5);
    border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
    padding: 3rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-right: none;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color-2);
    margin-right: 1.5rem;
    background: rgba(78, 205, 196, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
}

.contact-text p {
    margin-bottom: 0;
}

.contact-note {
    padding: 1.5rem;
    background-color: rgba(255, 125, 59, 0.1);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.contact-note h4 {
    color: var(--accent-color-1);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-note p {
    margin-bottom: 0;
}

.map-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(44, 56, 82, 0.8), rgba(44, 56, 82, 0));
    pointer-events: none;
}

/* FAQ on Contact Page */
.faq-item {
    margin-bottom: 2.5rem;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color-2);
}

.faq-item p {
    margin-bottom: 0;
}

/* Thanks Page */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    position: relative;
}

.thanks-container {
    background-color: rgba(44, 56, 82, 0.5);
    border-radius: var(--card-border-radius);
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.thanks-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Legal Document */
.legal-document {
    background-color: rgba(44, 56, 82, 0.3);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color-2);
}

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

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

.legal-section table {
    margin: 1.5rem 0;
}

/*--------------------------------------------------------------
6. Section Styling
--------------------------------------------------------------*/
/* CTA Section */
.cta-section {
    position: relative;
    padding: 5rem 0;
}

.cta-container {
    background-color: rgba(44, 56, 82, 0.5);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Disclaimer Section */
.disclaimers {
    padding: 3rem 0;
    background-color: rgba(18, 20, 32, 0.8);
}

.disclaimer-box {
    border: 1px solid rgba(255, 125, 59, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    background-color: rgba(255, 125, 59, 0.05);
}

.disclaimer-box h4 {
    color: var(--accent-color-1);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.disclaimer-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Additional Info Section */
.additional-info {
    padding: 4rem 0;
    background-color: rgba(26, 30, 46, 0.5);
}

.info-block {
    text-align: center;
    padding: 2rem;
    height: 100%;
}

.info-icon {
    font-size: 2rem;
    color: var(--accent-color-2);
    margin-bottom: 1.5rem;
}

.info-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-block p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
7. Forms & Inputs
--------------------------------------------------------------*/
.contact-form-container {
    background-color: rgba(26, 30, 46, 0.5);
    border-radius: var(--card-border-radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-label {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    background-color: rgba(18, 20, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-color);
    padding: 0.8rem 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    background-color: rgba(18, 20, 32, 0.8);
    border-color: var(--accent-color-2);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-select {
    background-color: rgba(18, 20, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-color);
    padding: 0.8rem 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-select:focus {
    background-color: rgba(18, 20, 32, 0.8);
    border-color: var(--accent-color-2);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.2);
}

.form-check-input {
    background-color: rgba(18, 20, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.form-check-input:focus {
    border-color: var(--accent-color-2);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.2);
}

.form-check-label {
    color: var(--text-muted);
}

/* IntlTelInput customization */
.iti {
    width: 100%;
}

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

.iti__selected-flag {
    background-color: rgba(18, 20, 32, 0.7) !important;
}

.iti__country-list {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

/*--------------------------------------------------------------
8. Buttons & CTAs
--------------------------------------------------------------*/
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--accent-color-2), var(--accent-color-1));
    border: none;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover, 
.btn-primary:focus {
    background: linear-gradient(to right, var(--accent-color-1), var(--accent-color-2));
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-color);
}

.btn-outline-light:hover, 
.btn-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
    color: var(--text-color);
}

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

.btn-secondary:hover, 
.btn-secondary:focus {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-success {
    background-color: var(--success-color);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-success:hover, 
.btn-success:focus {
    background-color: #27ae60;
    color: var(--primary-color);
}

/*--------------------------------------------------------------
9. Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: var(--primary-color);
    padding: 5rem 0 0;
    position: relative;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-family: var(--heading-font);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color-2), var(--accent-color-1));
}

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

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

.footer-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color-2);
    padding-left: 5px;
}

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

.footer-contact li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--accent-color-2);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    margin-top: 4rem;
}

.copyright {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
10. Cookie Consent
--------------------------------------------------------------*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1.5rem 0;
    z-index: var(--z-toast);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner h5 {
    margin-bottom: 0.5rem;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-categories {
    margin-bottom: 1.5rem;
}

.cookie-categories .form-check {
    padding-left: 2rem;
}

.cookie-categories .form-check-input {
    margin-left: -2rem;
}

.form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
}

.form-switch .form-check-input:checked {
    background-color: var(--accent-color-2);
    border-color: var(--accent-color-2);
}

.modal-content {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-close {
    color: var(--text-color);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E") center/1em auto no-repeat;
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

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

/*--------------------------------------------------------------
11. Utilities & Helper Classes
--------------------------------------------------------------*/
.text-center {
    text-align: center;
}

.text-start {
    text-align: left;
}

.text-end {
    text-align: right;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

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

.justify-content-center {
    justify-content: center !important;
}

.flex-column {
    flex-direction: column !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.mt-auto {
    margin-top: auto !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.rounded {
    border-radius: var(--border-radius) !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

/*--------------------------------------------------------------
12. Animations & Effects
--------------------------------------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.animate-slideUp {
    animation: slideUp 0.8s ease-in-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/*--------------------------------------------------------------
13. Media Queries
--------------------------------------------------------------*/
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    h1, .display-4 {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    .hero-section .lead {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .section-spacing {
        padding: 4rem 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .methodology-point, .philosophy-point {
        flex-direction: column;
    }
    
    .point-number {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .cta-container {
        padding: 2rem;
    }
    
    .footer-heading {
        margin-top: 2rem;
    }
    
    .cookie-banner .btn {
        margin-top: 1rem;
        width: 100%;
    }
    
    .diagram-element {
        position: relative;
        width: 100%;
        margin-bottom: 1.5rem;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .diagram-elements {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .diagram-center {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 0 auto 2rem;
    }
    
    .pedagogy-diagram {
        padding: 2rem 0;
    }
    
    .cycle-phase {
        position: relative;
        width: 100%;
        margin-bottom: 1.5rem;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }
    
    .cycle-center {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 0 auto 2rem;
    }
    
    .learning-cycle {
        height: auto;
        display: flex;
        flex-direction: column;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 991.98px) {
    h1, .display-4 {
        font-size: 3rem;
    }
    
    .hero-section {
        padding: 7rem 0 5rem;
    }
    
    .section-spacing {
        padding: 5rem 0;
    }
    
    .diagram-element {
        width: 250px;
    }
    
    .element-1 {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .element-2 {
        top: 140px;
        right: 0;
    }
    
    .element-3 {
        bottom: 140px;
        left: 0;
    }
    
    .element-4 {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .diagram-elements {
        height: 900px;
    }
    
    .cycle-phase {
        width: 180px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
    
    .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        background-color: var(--primary-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-medium), opacity var(--transition-medium), visibility var(--transition-medium);
    }
    
    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .nav-item {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .nav-link {
        padding: 0.7rem 0;
    }
    
    .contact-info-card {
        border-radius: var(--card-border-radius);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .map-container {
        margin-top: 2rem;
        border-radius: var(--card-border-radius);
        overflow: hidden;
    }
}

/* Fixed header spacing adjustment */
body {
    padding-top: 80px;
}

@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
}