/* ===================================
   NEWTON PRISM - GEOMETRIC STRUCTURED DESIGN
   CSS Reset & Base Styles
   =================================== */

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

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

body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* ===================================
   GEOMETRIC COLOR SYSTEM
   =================================== */

:root {
  --primary-blue: #2C5F8D;
  --primary-dark: #1a3a54;
  --secondary-orange: #E67E22;
  --secondary-dark: #c96515;
  --accent-cream: #F4E4C1;
  --accent-light: #fdf7ea;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6a6a6a;
  --border-gray: #d0d0d0;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --shadow-light: rgba(44, 95, 141, 0.1);
  --shadow-medium: rgba(44, 95, 141, 0.2);
  --shadow-dark: rgba(44, 95, 141, 0.3);
}

/* ===================================
   TYPOGRAPHY - ANGULAR & STRUCTURED
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-blue);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text-medium);
}

strong {
  font-weight: 700;
  color: var(--text-dark);
}

/* ===================================
   CONTAINER & LAYOUT - GRID STRUCTURE
   =================================== */

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

/* MANDATORY FLEXBOX LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ===================================
   HEADER - GEOMETRIC NAVIGATION
   =================================== */

header {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary-blue);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px var(--shadow-light);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-blue);
  border-bottom-color: var(--secondary-orange);
}

/* ===================================
   MOBILE MENU - SLIDE-IN NAVIGATION
   =================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  background: var(--primary-blue);
  color: var(--bg-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--shadow-medium);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--primary-blue);
  z-index: 1200;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -5px 0 20px var(--shadow-dark);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--bg-white);
  color: var(--primary-blue);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--bg-white);
  padding: 12px 16px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--secondary-orange);
  transform: translateX(8px);
}

/* ===================================
   HERO SECTION - ANGULAR GEOMETRY
   =================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--secondary-orange);
  opacity: 0.1;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: var(--accent-cream);
  opacity: 0.1;
  clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.hero h1 {
  color: var(--bg-white);
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.subheadline {
  font-size: 20px;
  line-height: 1.6;
  color: var(--accent-cream);
  margin-bottom: 16px;
}

.value-prop {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 600;
}

/* ===================================
   BUTTONS - GEOMETRIC STYLING
   =================================== */

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--secondary-orange);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
  background: transparent;
  color: rgb(230, 125, 34);
  border: 2px solid rgb(230, 125, 34);
}

.btn-secondary:hover {
  background: var(--bg-white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.trust-badge {
  font-size: 14px;
  color: var(--accent-cream);
  font-weight: 600;
  margin-top: 16px;
}

/* ===================================
   SECTIONS - STRUCTURED LAYOUTS
   =================================== */

.problem-solution,
.services-overview,
.methodology-preview,
.benefits,
.testimonials,
.cta-final {
  padding: 60px 20px;
}

.problem-solution {
  background: var(--bg-light);
}

.section-intro {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 32px;
  text-align: center;
}

.problem-statement {
  font-size: 22px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.pain-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.pain-points li {
  background: var(--bg-white);
  padding: 16px 20px;
  border-left: 4px solid var(--secondary-orange);
  box-shadow: 0 2px 8px var(--shadow-light);
  font-weight: 600;
  color: var(--text-dark);
}

.solution-intro {
  text-align: center;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-medium);
}

/* ===================================
   SERVICE CARDS - GEOMETRIC GRID
   =================================== */

.services-grid,
.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.service-card,
.course-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  background: var(--bg-white);
  border: 2px solid var(--border-gray);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-orange) 100%);
}

.service-card:hover,
.course-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px var(--shadow-medium);
  transform: translateY(-4px);
}

.service-card h3,
.course-card h3 {
  color: var(--primary-blue);
  margin-bottom: 16px;
  font-size: 22px;
}

.service-card p,
.course-card p {
  color: var(--text-medium);
  margin-bottom: 16px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary-orange);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 16px;
}

.level {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* ===================================
   METHODOLOGY - GEOMETRIC PRINCIPLES
   =================================== */

.methodology-preview {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-white) 100%);
}

.methodology-headline {
  font-size: 20px;
  color: var(--secondary-orange);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

.principles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.principle {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background: var(--bg-white);
  padding: 32px;
  text-align: center;
  border: 2px solid var(--primary-blue);
  position: relative;
  margin-bottom: 20px;
}

.principle::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-orange);
}

.principle h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.principle p {
  color: var(--text-medium);
  font-size: 15px;
}

/* ===================================
   BENEFITS LIST - STRUCTURED
   =================================== */

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

.benefits h2 {
  color: var(--bg-white);
  text-align: center;
  margin-bottom: 32px;
}

.benefits-list {
  max-width: 800px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefits-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  border-left: 4px solid var(--secondary-orange);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bg-white);
}

.results-summary {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-cream);
}

/* ===================================
   TESTIMONIALS - READABLE CARDS
   =================================== */

.testimonials {
  background: var(--bg-light);
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  background: var(--bg-white);
  padding: 32px;
  border-left: 4px solid var(--secondary-orange);
  box-shadow: 0 4px 16px var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
}

.testimonial-card .author {
  font-style: normal;
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 14px;
  margin-top: auto;
}

.stats {
  text-align: center;
  font-size: 16px;
  color: var(--text-medium);
  font-weight: 600;
  margin-bottom: 24px;
}

/* ===================================
   FINAL CTA - STRONG CONVERSION
   =================================== */

.cta-final {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--bg-white);
  text-align: center;
  padding: 80px 20px;
}

.cta-final h2 {
  color: var(--bg-white);
  font-size: 42px;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 18px;
  color: var(--accent-cream);
  margin-bottom: 16px;
}

.urgency {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-orange);
  margin-bottom: 32px;
}

.contact-info {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

/* ===================================
   PAGE HERO - SUBPAGES
   =================================== */

.page-hero {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-white) 100%);
  padding: 60px 20px 40px;
  border-bottom: 3px solid var(--primary-blue);
}

.breadcrumb {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary-blue);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.page-hero .subheadline {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 700px;
}

/* ===================================
   CONTENT SECTIONS - VARIOUS LAYOUTS
   =================================== */

.story,
.philosophy,
.team,
.achievements,
.location,
.methodology-overview,
.scientific-backing,
.application,
.results,
.featured-story,
.metrics,
.before-after,
.industries,
.long-term {
  padding: 60px 20px;
}

.story,
.methodology-overview,
.featured-story {
  background: var(--bg-light);
}

.achievements-list,
.results-list,
.metrics-list,
.curriculum-list,
.principles-list,
.techniques-list,
.hours-list,
.trust-list,
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.achievements-list li,
.results-list li,
.metrics-list li,
.curriculum-list li,
.principles-list li,
.techniques-list li {
  background: var(--bg-white);
  padding: 16px 20px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 2px 8px var(--shadow-light);
  font-weight: 600;
  color: var(--text-dark);
}

/* ===================================
   PHASES - STRUCTURED LAYOUT
   =================================== */

.phases {
  background: var(--bg-white);
  padding: 60px 20px;
}

.phase {
  background: var(--bg-light);
  padding: 40px;
  margin-bottom: 32px;
  border: 2px solid var(--border-gray);
  position: relative;
}

.phase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary-orange);
}

.phase h2 {
  color: var(--primary-blue);
  margin-bottom: 16px;
}

/* ===================================
   COMPARISON GRID
   =================================== */

.comparison-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.comparison {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background: var(--bg-white);
  padding: 24px;
  border: 2px solid var(--border-gray);
  margin-bottom: 20px;
}

.comparison h3 {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.comparison p {
  font-size: 16px;
  color: var(--primary-blue);
  font-weight: 700;
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-options,
.contact-form-section,
.consultation,
.office-hours {
  padding: 60px 20px;
}

.options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.option {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background: var(--accent-light);
  padding: 32px;
  text-align: center;
  border: 2px solid var(--primary-blue);
  margin-bottom: 20px;
}

.option h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.option strong {
  color: var(--secondary-orange);
}

.response-time {
  text-align: center;
  font-weight: 700;
  color: var(--secondary-orange);
  margin-top: 32px;
}

.form-info {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 40px;
  border: 2px solid var(--border-gray);
}

.form-fields-list ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
}

.form-fields-list li {
  padding: 12px;
  background: var(--bg-white);
  border-left: 3px solid var(--primary-blue);
}

.note,
.submit-info {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 16px;
}

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

.consultation h2 {
  color: var(--bg-white);
}

.consultation p,
.consultation ul {
  color: var(--bg-white);
}

.consultation ul {
  max-width: 600px;
  margin: 24px auto;
}

.consultation li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.consultation li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--secondary-orange);
  font-weight: 700;
}

.location-info {
  max-width: 600px;
  margin: 0 auto;
}

.hours-list {
  max-width: 500px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-gray);
  margin-bottom: 8px;
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq {
  padding: 60px 20px;
  background: var(--bg-light);
}

.faq-item {
  background: var(--bg-white);
  padding: 24px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 2px 8px var(--shadow-light);
}

.faq-item h3 {
  color: var(--primary-blue);
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* ===================================
   LEGAL PAGES
   =================================== */

.legal-page {
  padding: 40px 20px 60px;
}

.legal-page .container {
  max-width: 900px;
}

.last-updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-gray);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 24px;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin: 24px 0 12px;
}

.legal-section ul {
  margin: 16px 0;
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 8px;
  color: var(--text-medium);
}

/* ===================================
   THANK YOU PAGE
   =================================== */

.thank-you-hero,
.thank-you-page {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-white) 100%);
}

.thank-you-hero h1,
.thank-you-page h1 {
  font-size: 48px;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

.confirmation,
.message {
  font-size: 20px;
  color: var(--secondary-orange);
  font-weight: 700;
  margin-bottom: 16px;
}

.reassurance {
  font-size: 16px;
  color: var(--text-medium);
}

.next-steps,
.meanwhile,
.email-confirmation,
.contact-alternatives,
.trust-signals {
  padding: 60px 20px;
}

.next-steps {
  background: var(--bg-white);
}

.steps-list {
  counter-reset: step-counter;
  max-width: 600px;
  margin: 32px auto;
}

.steps-list li {
  counter-increment: step-counter;
  padding: 20px 20px 20px 60px;
  background: var(--bg-light);
  margin-bottom: 16px;
  position: relative;
  border-left: 4px solid var(--primary-blue);
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--primary-blue);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.timeline {
  text-align: center;
  font-weight: 700;
  color: var(--secondary-orange);
  margin-top: 24px;
}

.suggestions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.suggestion {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background: var(--bg-white);
  padding: 32px;
  border: 2px solid var(--border-gray);
  text-align: center;
  margin-bottom: 20px;
}

.suggestion h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.suggestion .btn-secondary {
  margin-top: 16px;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.suggestion .btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--bg-white);
}

.email-confirmation {
  background: var(--accent-light);
}

.return-home {
  margin: 32px 0;
}

.additional-links {
  margin-top: 48px;
}

.additional-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 24px auto 0;
}

.additional-links li {
  background: var(--bg-white);
  padding: 12px 20px;
  border: 1px solid var(--border-gray);
  text-align: center;
}

.additional-links a {
  color: var(--primary-blue);
  font-weight: 600;
}

.additional-links a:hover {
  color: var(--secondary-orange);
}

.social-proof {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

/* ===================================
   FOOTER - STRUCTURED LAYOUT
   =================================== */

footer {
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: var(--accent-cream);
  font-size: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: var(--secondary-orange);
  padding-left: 8px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -4px 20px var(--shadow-dark);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-text {
  flex: 1 1 300px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

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

.cookie-btn {
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-accept {
  background: var(--secondary-orange);
  color: var(--bg-white);
}

.cookie-accept:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.cookie-reject {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-settings {
  background: transparent;
  color: var(--accent-cream);
  border: 2px solid var(--accent-cream);
}

.cookie-settings:hover {
  background: var(--accent-cream);
  color: var(--primary-dark);
}

/* Cookie Settings Modal */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--bg-white);
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  padding: 40px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  color: var(--primary-blue);
  transform: rotate(90deg);
}

.cookie-category {
  padding: 20px;
  background: var(--bg-light);
  margin-bottom: 16px;
  border-left: 4px solid var(--primary-blue);
}

.cookie-category h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-blue);
}

.cookie-category p {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 48px;
  height: 24px;
  cursor: pointer;
}

.cookie-toggle input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-toggle label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cookie-save {
  flex: 1;
  padding: 12px 24px;
  background: var(--primary-blue);
  color: var(--bg-white);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-save:hover {
  background: var(--primary-dark);
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

@media (max-width: 768px) {
  /* Typography adjustments */
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 32px; }
  
  /* Show mobile menu */
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
  }
  
  /* Header adjustments */
  .header-content {
    padding: 12px 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  /* Hero section */
  .hero {
    padding: 60px 20px;
  }
  
  .hero::before,
  .hero::after {
    width: 150px;
    height: 150px;
  }
  
  /* Button groups */
  .cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }
  
  /* Service and course cards */
  .service-card,
  .course-card,
  .testimonial-card,
  .principle,
  .comparison,
  .option,
  .suggestion {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Text-image sections */
  .text-image-section {
    flex-direction: column;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-col {
    flex: 1 1 100%;
  }
  
  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Modal adjustments */
  .cookie-modal-content {
    padding: 24px;
    max-height: 90vh;
  }
  
  /* Spacing adjustments */
  .section {
    padding: 32px 16px;
    margin-bottom: 40px;
  }
  
  .hero,
  .cta-final,
  .page-hero {
    padding: 48px 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .container {
    padding: 0 30px;
  }
  
  .service-card,
  .course-card {
    flex: 1 1 calc(50% - 24px);
  }
  
  .principle,
  .comparison {
    flex: 1 1 calc(50% - 24px);
  }
  
  h1 { font-size: 42px; }
  .hero h1 { font-size: 48px; }
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */

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

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

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

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
  outline: 3px solid var(--secondary-orange);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  #cookie-banner,
  #cookie-modal {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none; }
.visible { display: block; }

/* End of CSS */