:root {
 --primary-color: #047857;
 --primary-dark: #065f46;
 --accent-color: #10b981;
 --accent-dark: #059669;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --footer-bg: #064e3b;
 --footer-text: #a3b3ac;
 --footer-heading: #e5e5e5;
 
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;

 --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 --transition: all 0.3s ease-in-out;
}

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

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

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

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

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

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

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

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 height: 70px;
 transition: var(--transition);
}

.nav {
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 600;
 color: var(--text-dark);
 letter-spacing: -1px;
}

.nav-links {
 display: flex;
 gap: 40px;
 list-style: none;
}

.nav-links a {
 font-weight: 500;
 color: var(--text-light);
 font-size: 0.95rem;
 padding: 8px 0;
 position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
 color: var(--text-dark);
}

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

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 5px 0;
 transition: var(--transition);
}

/* Zen Layout Styles */
.hero-zen {
 min-height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 padding: 100px 0;
 background: var(--bg-white);
}

.hero-zen-content {
 max-width: 700px;
}
.hero-zen-content h1 {
 margin-bottom: 1rem;
}
.hero-zen-content p {
 font-size: 1.25rem;
 color: var(--text-muted);
 max-width: 500px;
 margin: 0 auto 2rem;
}
.hero-zen-line {
 width: 80px;
 height: 2px;
 background-color: var(--primary-color);
 margin: 0 auto;
 animation: expand-line 2s ease-out forwards;
}

@keyframes expand-line {
 0% { width: 0; }
 100% { width: 80px; }
}

.page-header-zen {
 padding: 120px 0 60px;
 text-align: center;
 background-color: var(--bg-light);
}

.page-header-zen h1 {
 font-size: 3rem;
 margin-bottom: 0.5rem;
}

.page-header-zen p {
 font-size: 1.1rem;
 color: var(--text-muted);
}

/* Sections */
.section {
 padding: 80px 0;
}
.section.bg-light {
 background-color: var(--bg-light);
}
.section-header.centered {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 48px;
}
.section-label {
 display: inline-block;
 background-color: var(--accent-color);
 color: white;
 padding: 4px 12px;
 border-radius: var(--radius-lg);
 font-size: 0.8rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.section-title {
 margin-bottom: 1rem;
}
.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 line-height: 1.7;
}

/* Philosophy Section */
.philosophy-section {
 max-width: 800px;
}
.philosophy-text {
 font-size: 1.1rem;
 line-height: 1.8;
 text-align: center;
 color: var(--text-light);
}

/* Vertical Stack Services */
.vertical-stack-services {
 display: flex;
 flex-direction: column;
 gap: 30px;
 max-width: 800px;
 margin: 0 auto;
}
.stack-item {
 display: flex;
 gap: 30px;
 align-items: flex-start;
 padding: 20px;
 border-left: 3px solid var(--primary-color);
 transition: var(--transition);
}
.stack-item:hover {
 background-color: #fff;
 box-shadow: var(--shadow-md);
}
.stack-number {
 font-size: 2.5rem;
 font-weight: 700;
 color: var(--primary-color);
 opacity: 0.5;
 line-height:1;
}
.stack-content h3 {
 margin-bottom: 0.5rem;
}
.stack-content p {
 color: var(--text-muted);
}

/* Minimal Grid */
.minimal-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
 width: 100%;
}
.minimal-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-md);
 overflow: hidden;
 text-align: center;
 transition: var(--transition);
 border: 1px solid var(--border-color);
}
.minimal-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.minimal-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.minimal-card-title {
 font-weight: 600;
 padding: 20px;
 color: var(--text-dark);
 font-size: 1.1rem;
}

.course-card {
 display: flex;
 flex-direction: column;
}
.course-card .minimal-card-title {
 padding: 15px;
 flex-grow: 1;
}
.course-description {
 padding: 0 15px 15px;
 font-size: 0.9rem;
 color: var(--text-muted);
}
.card-btn {
 align-self: center;
 margin-bottom: 20px;
}

.section-cta {
 text-align: center;
 margin-top: 48px;
}

/* Testimonial Zen */
.testimonial-zen-container {
 max-width: 800px;
 margin: 0 auto;
 display: flex;
 flex-direction: column;
 gap: 40px;
}
.testimonial-zen {
 font-style: italic;
 font-size: 1.25rem;
 line-height: 1.7;
 text-align: center;
 border-left: 3px solid var(--accent-color);
 padding-left: 20px;
 color: var(--text-light);
}
.testimonial-zen cite {
 display: block;
 margin-top: 1rem;
 font-style: normal;
 font-weight: 600;
 font-size: 1rem;
 color: var(--text-dark);
}

/* CTA Zen */
.cta-section-zen {
 padding: 60px 0;
 background-color: var(--bg-light);
}
.cta-section-zen .centered {
 text-align: center;
}
.cta-section-zen h2 {
 color: var(--text-dark);
}
.cta-section-zen p {
 max-width: 500px;
 margin: 0 auto 30px;
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 28px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-align: center;
}
.btn-primary {
 background-color: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 color: white;
 transform: translateY(-2px);
}
.btn-accent {
 background-color: var(--accent-color);
 color: white;
}
.btn-accent:hover {
 background-color: var(--accent-dark);
 color: white;
 transform: translateY(-2px);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: white;
}

/* Footer */
.footer {
 background-color: var(--footer-bg);
 color: var(--footer-text);
 padding: 60px 0 30px;
 font-size: 0.9rem;
}
.footer-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 600;
 color: var(--bg-white);
 margin-bottom: 1rem;
 display: block;
}
.footer-description {
 line-height: 1.7;
 max-width: 250px;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: var(--footer-heading);
 margin-bottom: 1.2rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.footer-links, .footer-contact-list {
 list-style: none;
}
.footer-links li, .footer-contact-list li {
 margin-bottom: 10px;
}
.footer-links a, .footer-contact-list a {
 color: var(--footer-text);
}
.footer-links a:hover, .footer-contact-list a:hover {
 color: white;
}
.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
 font-size: 0.85rem;
}
.footer-legal-links {
 display: flex;
 gap: 20px;
}
.footer-legal-links a {
 color: var(--footer-text);
}
.footer-legal-links a:hover {
 color: white;
}

/* About page */
.about-content {
 display: grid;
 grid-template-columns: 1fr 1.2fr;
 gap: 60px;
 align-items: center;
}
.about-image {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
}
.team-member {
 text-align: center;
 background: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.team-member:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-name {
 margin-bottom: 0.5rem;
}
.team-title {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 1rem;
}
.team-bio {
 font-size: 0.9rem;
}

/* Contact page */
.contact-page-layout {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 60px;
}
.contact-details .contact-item {
 margin-bottom: 2rem;
}
.contact-details h3 {
 margin-bottom: 0.5rem;
 font-size: 1.1rem;
 color: var(--primary-color);
}
.form-group {
 margin-bottom: 20px;
}
.form-group label {
 display: block;
 margin-bottom: 8px;
 font-weight: 500;
 color: var(--text-dark);
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px 16px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: inherit;
 font-size: 1rem;
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}
.checkbox-group {
 display: flex;
 align-items: center;
}
.checkbox-group input {
 width: auto;
 margin-right: 10px;
}
.checkbox-group label {
 margin: 0;
 font-weight: 400;
 font-size: 0.9rem;
}
.map-container {
 width: 100%;
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 margin-bottom: 20px;
}
.map-container iframe {
 width: 100%;
 height: 100%;
 border: none;
}
.disclaimer-section p {
 font-size: 0.8rem;
 color: var(--text-muted);
 text-align: center;
}

/* Legal pages */
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
}

/* Thank you page */
.thank-you-section {
 min-height: 50vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.thank-you-section .centered {
 text-align: center;
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: rgba(31, 41, 55, 0.95);
 color: white;
 padding: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 20px;
 z-index: 2000;
 display: none;
 flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; }
.cookie-banner a { color: var(--accent-color); font-weight: 500;}
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* Form validation */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
 animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-5px); }
 to { opacity: 1; transform: translateY(0); }
}
.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}
@keyframes spin {
 to { transform: rotate(360deg); }
}

button[disabled] {
 opacity: 0.7;
 cursor: not-allowed;
}

/* Responsive */
@media (max-width: 992px) {
 .about-content { grid-template-columns: 1fr; }
 .contact-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: 0;
 width: 100%;
 height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 2rem;
 transform: translateX(100%);
 transition: transform 0.3s ease-in-out;
 padding: 2rem;
 }
 .nav-links.active {
 transform: translateX(0);
 }
 .nav-toggle.active span:nth-child(1) {
 transform: translateY(7px) rotate(45deg);
 }
 .nav-toggle.active span:nth-child(2) {
 opacity: 0;
 }
 .nav-toggle.active span:nth-child(3) {
 transform: translateY(-7px) rotate(-45deg);
 }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .footer-bottom { flex-direction: column; text-align: center; }
 .cookie-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-brand { margin: 0 auto; }
}

.course-category {
 margin-bottom: 60px;
}

.category-title {
 border-bottom: 2px solid var(--primary-color);
 padding-bottom: 10px;
 margin-bottom: 30px;
 font-size: 1.8rem;
}