/*
 * CapitalEduca - Custom Styles
 * Author: CapitalEduca Development Team
 * Version: 1.0.0
 */

/* ========================================
   Table of Contents:
   1. General Styles
   2. Typography
   3. Header Styles
   4. Footer Styles
   5. Cookie Consent Banner
   6. Hero Section
   7. About Section
   8. Services Section
   9. Modules Preview Section
   10. Workshop Section
   11. Contact Form Section
   12. Diagonal Sections & Paper Effects
   13. Thank You Page
   14. Inner Pages - Common
   15. Education Page
   16. Modules Page
   17. Contact Page
   18. Legal Pages
   19. Media Queries
   ======================================== */

/* ========================================
   1. General Styles
   ======================================== */
:root {
    --primary-color: #3A5683;
    --secondary-color: #D9A566;
    --accent-color: #E67E22;
    --background-main: #F9F5F0;
    --background-secondary: #FFFFFF;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --emphasis-color: #145DA0;
    --success-color: #27AE60;
    --warning-color: #E74C3C;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --header-height: 80px;
    --footer-background: #2C3E50;
    --footer-text: #ECF0F1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-main);
    overflow-x: hidden;
}

/* Utility Classes */
.separator {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 20px 0 30px;
    position: relative;
}

.separator::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    left: 70px;
    top: 0;
}

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

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: all 0.4s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-hero {
    padding: 12px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
    box-shadow: var(--shadow-medium);
}

/* Prevent image overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Section Padding */
section {
    padding: 100px 0;
    position: relative;
}

/* Container with paper texture */
.container {
    position: relative;
    z-index: 2;
}

/* ========================================
   2. Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h2.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

/* ========================================
   3. Header Styles
   ======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    height: var(--header-height);
    backdrop-filter: blur(10px);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
    height: 70px;
}

.navbar {
    padding: 0;
    height: 100%;
}

.navbar-brand {
    padding: 0;
}

.logo {
    height: 50px;
    transition: height var(--transition-fast);
}

.scrolled .logo {
    height: 40px;
}

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

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 30px 15px !important;
    transition: all var(--transition-fast);
    position: relative;
}

.scrolled .nav-link {
    padding: 25px 15px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-fast);
}

.scrolled .nav-link::after {
    bottom: 20px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}

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

/* Hamburger Menu */
.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ========================================
   4. Footer Styles
   ======================================== */
.main-footer {
    background-color: var(--footer-background);
    color: var(--footer-text);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--background-main);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.footer-brand {
    margin-bottom: 25px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-contact {
    margin-bottom: 30px;
}

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

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

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--footer-text);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

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

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

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

.footer-hours li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.footer-hours li::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary-color);
}

.footer-disclaimer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========================================
   5. Cookie Consent Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    backdrop-filter: blur(10px);
}

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

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

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

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

.btn-details {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}

.btn-details:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-details {
    display: none;
    margin: 15px 0;
    background-color: rgba(0, 0, 0, 0.02);
    padding: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-category {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.cookie-category label {
    font-weight: 500;
    margin-left: 10px;
    cursor: pointer;
}

.cookie-category p {
    margin: 5px 0 0 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn-cookie {
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-reject {
    background-color: #f5f5f5;
    color: var(--text-primary);
}

.btn-reject:hover {
    background-color: #e0e0e0;
}

.btn-accept-selected {
    background-color: var(--primary-color);
    color: white;
}

.btn-accept-selected:hover {
    background-color: var(--emphasis-color);
}

.btn-accept-all {
    background-color: var(--success-color);
    color: white;
}

.btn-accept-all:hover {
    background-color: #219653;
}

.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
    transform: scale(0);
}

.cookie-settings-btn.show {
    opacity: 1;
    transform: scale(1);
}

.cookie-settings-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.cookie-settings-btn i {
    font-size: 1.5rem;
}

/* ========================================
   6. Hero Section
   ======================================== */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: var(--header-height);
    background-color: var(--primary-color);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.8));
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-medium);
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.5s;
}

.hero-content:hover {
    transform: perspective(1000px) rotateX(2deg);
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Paper cut effect at bottom of hero */
.paper-cut {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--background-main);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
}

/* ========================================
   7. About Section
   ======================================== */
.about-section {
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
    background-color: var(--background-main);
}

.about-content {
    padding-right: 30px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.about-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
}

.about-features li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--secondary-color);
}

.about-image-container {
    position: relative;
    padding: 20px;
}

.about-image {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    transform: rotate(2deg);
    transition: transform var(--transition-medium);
}

.about-image:hover {
    transform: rotate(0);
}

.paper-decoration {
    position: absolute;
    background-color: var(--secondary-color);
    opacity: 0.1;
    z-index: -1;
    border-radius: var(--border-radius-sm);
}

.paper-decoration-1 {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    transform: rotate(-5deg);
}

.paper-decoration-2 {
    width: 60%;
    height: 70%;
    bottom: 0;
    right: 0;
    transform: rotate(8deg);
    background-color: var(--primary-color);
}

/* ========================================
   8. Services Section
   ======================================== */
.services-section {
    background-color: var(--background-secondary);
    position: relative;
}

.service-cards {
    margin-top: 50px;
}

.service-card {
    background-color: var(--background-main);
    border-radius: var(--border-radius-md);
    padding: 30px;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    overflow: hidden;
    margin-bottom: 30px;
    z-index: 1;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.service-image {
    margin: -30px -30px 25px -30px;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    overflow: hidden;
    height: 220px;
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.paper-fold {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--background-main);
    bottom: 0;
    right: 0;
    transform: rotate(45deg) translate(30px, 30px);
    box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.05);
    z-index: 0;
}

/* ========================================
   9. Modules Preview Section
   ======================================== */
.modules-preview-section {
    background-color: var(--background-main);
    position: relative;
    overflow: hidden;
}

.modules-row {
    margin-top: 50px;
    margin-bottom: 50px;
}

.module-card {
    background-color: var(--background-secondary);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
    position: relative;
}

.module-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.module-card:hover .module-image img {
    transform: scale(1.1);
}

.module-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 2;
}

.module-content {
    padding: 30px;
}

.module-content h3 {
    margin-bottom: 15px;
}

.module-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.module-details {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    flex-wrap: wrap;
}

.module-details li {
    margin-right: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.module-details li i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.paper-tear {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--background-main);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 25% 0, 37% 100%, 56% 0, 68% 100%, 84% 0);
    z-index: 3;
}

/* ========================================
   10. Workshop Section
   ======================================== */
.workshop-section {
    background-color: var(--background-secondary);
    position: relative;
}

.workshop-image-container {
    position: relative;
    padding: 20px;
}

.workshop-image {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    transform: rotate(-2deg);
    transition: transform var(--transition-medium);
}

.workshop-image:hover {
    transform: rotate(0);
}

.paper-decoration-3 {
    width: 70%;
    height: 85%;
    bottom: 0;
    left: 0;
    transform: rotate(5deg);
}

.paper-decoration-4 {
    width: 60%;
    height: 70%;
    top: 0;
    right: 0;
    transform: rotate(-8deg);
    background-color: var(--primary-color);
}

.workshop-content {
    padding-left: 30px;
}

.workshop-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-text p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* ========================================
   11. Contact Form Section
   ======================================== */
.contact-form-section {
    background-color: var(--background-main);
    position: relative;
}

.contact-form-container {
    background-color: var(--background-secondary);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(58, 86, 131, 0.05);
    transform: translate(50%, -50%) rotate(45deg);
    z-index: 0;
}

.contact-form-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(217, 165, 102, 0.05);
    transform: translate(-50%, 50%) rotate(45deg);
    z-index: 0;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-control, .form-select {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    padding: 10px 15px;
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(58, 86, 131, 0.25);
}

.form-check-label {
    font-size: 0.9rem;
}

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

/* ========================================
   12. Diagonal Sections & Paper Effects
   ======================================== */
.diagonal-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.diagonal-section::before,
.diagonal-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 80px;
    left: 0;
    z-index: -1;
    background-color: inherit;
}

.diagonal-section::before {
    top: -40px;
    clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 100%);
}

.diagonal-section::after {
    bottom: -40px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

/* ========================================
   13. Thank You Page
   ======================================== */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
    background-color: var(--background-main);
}

.thank-you-container {
    background-color: var(--background-secondary);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you-icon i {
    color: var(--success-color);
    font-size: 3rem;
}

.thank-you-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.thank-you-details {
    background-color: rgba(58, 86, 131, 0.05);
    padding: 25px;
    border-radius: var(--border-radius-md);
    text-align: left;
    margin-bottom: 30px;
}

.thank-you-details p {
    margin-bottom: 10px;
}

.thank-you-details ul {
    padding-left: 20px;
}

.thank-you-details ul li {
    margin-bottom: 10px;
}

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

.thank-you-fold {
    position: absolute;
    width: 100px;
    height: 100px;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%) rotate(45deg);
    background-color: var(--background-main);
    z-index: 0;
}

/* ========================================
   14. Inner Pages - Common
   ======================================== */
.page-title-section {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: var(--header-height);
    background-color: var(--primary-color);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.8));
    z-index: 1;
}

.page-title-content {
    position: relative;
    z-index: 2;
}

.page-title {
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
}

.breadcrumb-item, 
.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   15. Education Page
   ======================================== */
.intro-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.intro-content {
    padding-right: 30px;
}

.key-points {
    margin-top: 30px;
}

.key-point {
    display: flex;
    margin-bottom: 25px;
}

.key-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.key-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.key-text p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.intro-image-container {
    position: relative;
    padding: 20px;
}

.intro-image {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    transform: rotate(2deg);
    transition: transform var(--transition-medium);
}

.intro-image:hover {
    transform: rotate(0);
}

.principles-section {
    background-color: var(--background-secondary);
}

.principles-row {
    margin-top: 50px;
}

.principle-card {
    background-color: var(--background-main);
    border-radius: var(--border-radius-md);
    padding: 30px;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    overflow: hidden;
    margin-bottom: 30px;
}

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

.principle-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.principle-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.principle-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.principle-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.principle-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.principle-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.areas-section {
    background-color: var(--background-main);
}

.area-card {
    background-color: var(--background-secondary);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
    position: relative;
}

.area-image {
    height: 250px;
    overflow: hidden;
}

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

.area-card:hover .area-image img {
    transform: scale(1.1);
}

.area-content {
    padding: 30px;
}

.area-content h3 {
    margin-bottom: 15px;
}

.area-content p {
    color: var(--text-primary);
}

.area-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.area-content ul li {
    margin-bottom: 10px;
}

.education-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    padding: 0 40px;
}

.education-quote::before,
.education-quote::after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    color: var(--secondary-color);
    opacity: 0.3;
}

.education-quote::before {
    left: 0;
    top: -20px;
}

.education-quote::after {
    right: 0;
    bottom: -40px;
}

.approach-section {
    background-color: var(--background-secondary);
}

.approach-content {
    padding-left: 30px;
}

.approach-features {
    margin-top: 30px;
}

.approach-feature {
    display: flex;
    margin-bottom: 25px;
}

.approach-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.approach-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.approach-text p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.approach-image-container {
    position: relative;
    padding: 20px;
}

.approach-image {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    transform: rotate(-2deg);
    transition: transform var(--transition-medium);
}

.approach-image:hover {
    transform: rotate(0);
}

.resources-section {
    background-color: var(--background-main);
}

.resources-row {
    margin-top: 50px;
}

.resource-card {
    background-color: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 30px;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    margin-bottom: 30px;
    text-align: center;
}

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

.resource-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.resource-icon i {
    color: var(--primary-color);
    font-size: 2rem;
}

.resource-card h3 {
    margin-bottom: 15px;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: left;
}

.resource-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.resource-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.resource-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
}

.disclaimer-box {
    background-color: rgba(231, 76, 60, 0.05);
    border-left: 4px solid var(--warning-color);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
}

.disclaimer-box h4 {
    color: var(--warning-color);
    margin-bottom: 10px;
}

.disclaimer-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========================================
   16. Modules Page
   ======================================== */
.modules-overview-section {
    padding-top: 120px;
    padding-bottom: 100px;
}

.modules-overview {
    max-width: 900px;
    margin: 0 auto;
}

.modules-benefits {
    margin-top: 50px;
    background-color: rgba(58, 86, 131, 0.03);
    padding: 30px;
    border-radius: var(--border-radius-md);
}

.benefit-item {
    text-align: center;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.benefit-item h4 {
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.module-details-container {
    background-color: rgba(58, 86, 131, 0.03);
    border-radius: var(--border-radius-md);
    margin-bottom: 25px;
    overflow: hidden;
}

.module-details-header {
    background-color: rgba(58, 86, 131, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.module-details-header h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.module-details-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.module-details-toggle:hover {
    color: var(--secondary-color);
}

.module-details-content {
    padding: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.module-details-content h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.module-details-content p {
    margin-bottom: 20px;
}

.module-details-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.module-details-content ul li {
    margin-bottom: 8px;
}

.module-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    flex-wrap: wrap;
}

.module-facts li {
    margin-right: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.module-facts li i {
    margin-right: 8px;
    color: var(--secondary-color);
}

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

.workshops-section {
    background-color: var(--background-main);
}

.workshops-content {
    background-color: var(--background-secondary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.workshops-list {
    margin-top: 30px;
}

.workshop-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.workshop-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.workshop-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.workshop-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.workshop-content {
    flex: 1;
    padding-left: 0;
}

.workshop-content h4 {
    margin-bottom: 10px;
}

.workshop-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.workshop-details {
    display: flex;
    flex-wrap: wrap;
}

.workshop-details span {
    margin-right: 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.workshop-details span i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.workshops-note {
    margin: 30px 0;
    padding: 15px 20px;
    background-color: rgba(58, 86, 131, 0.05);
    border-radius: var(--border-radius-md);
}

.workshops-note p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.workshops-cta {
    margin-top: 30px;
}

.disclaimer-section {
    background-color: var(--background-secondary);
}

/* ========================================
   17. Contact Page
   ======================================== */
.contact-info-section {
    padding-top: 120px;
    padding-bottom: 80px;
}

.contact-cards {
    margin-top: 50px;
}

.contact-card {
    background-color: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 30px;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    text-align: center;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.contact-card-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-card-icon i {
    color: var(--primary-color);
    font-size: 2rem;
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-image-container {
    position: relative;
    padding: 20px;
}

.contact-image {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    transform: rotate(2deg);
    transition: transform var(--transition-medium);
}

.contact-image:hover {
    transform: rotate(0);
}

.map-section {
    background-color: var(--background-main);
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
}

.map-frame {
    position: relative;
    padding: 20px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
}

.transport-section {
    background-color: var(--background-secondary);
}

.transport-container {
    max-width: 800px;
    margin: 0 auto;
}

.transport-options {
    margin-top: 40px;
}

.transport-option {
    display: flex;
    margin-bottom: 30px;
}

.transport-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(58, 86, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.transport-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.transport-details h4 {
    margin-bottom: 10px;
}

.transport-details p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* International telephone input */
.iti {
    width: 100%;
}

/* ========================================
   18. Legal Pages
   ======================================== */
.legal-title-section {
    height: 300px;
    background-image: none;
    background-color: var(--primary-color);
}

.update-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.legal-content-section {
    padding: 80px 0;
}

.legal-content {
    background-color: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 50px;
    box-shadow: var(--shadow-light);
}

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

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

.legal-section h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.legal-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.legal-section p {
    margin-bottom: 15px;
}

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

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

.cookie-table {
    margin: 20px 0 30px;
}

.cookie-table th {
    background-color: rgba(58, 86, 131, 0.1);
    color: var(--primary-color);
}

/* ========================================
   19. Media Queries
   ======================================== */
/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .diagonal-section {
        padding: 70px 0;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .module-details {
        flex-direction: column;
    }
    
    .module-details li {
        margin-right: 0;
    }
    
    .workshop-item {
        flex-direction: column;
    }
    
    .workshop-icon {
        margin-bottom: 15px;
    }
    
    .legal-content {
        padding: 30px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        margin-bottom: 10px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .about-content, 
    .workshop-content,
    .approach-content,
    .intro-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .workshop-content,
    .approach-content {
        padding-left: 0;
        margin-top: 50px;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-medium);
        margin-top: 15px;
    }
    
    .nav-link {
        padding: 15px !important;
    }
    
    .scrolled .nav-link {
        padding: 15px !important;
    }
    
    .nav-link::after {
        bottom: 10px;
    }
    
    .scrolled .nav-link::after {
        bottom: 10px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-image-container,
    .intro-image-container,
    .workshop-image-container,
    .approach-image-container,
    .contact-image-container {
        transform: perspective(1000px) rotateY(5deg);
        transition: transform var(--transition-medium);
    }
    
    .about-image-container:hover,
    .intro-image-container:hover,
    .workshop-image-container:hover,
    .approach-image-container:hover,
    .contact-image-container:hover {
        transform: perspective(1000px) rotateY(0);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}