/* ============================================
   CSS Variables & Theme Configuration
   ============================================ */
:root {
  /* Split-Complementary Color Scheme */
  --primary-color: #FF6B35;
  --primary-dark: #E55A2B;
  --primary-light: #FF8559;
  
  --secondary-color: #4ECDC4;
  --secondary-dark: #3DB3AA;
  --secondary-light: #6FD9D1;
  
  --accent-color: #FFE66D;
  --accent-dark: #F4D84D;
  --accent-light: #FFF089;
  
  --tertiary-color: #95E1D3;
  --tertiary-dark: #7BC9BB;
  --tertiary-light: #AEE8DB;
  
  /* Neutral Colors */
  --dark-color: #2D3142;
  --medium-color: #4F5D75;
  --light-color: #BFC0C0;
  --lighter-color: #F8F9FA;
  --white-color: #FFFFFF;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--tertiary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(78, 205, 196, 0.9) 100%);
  
  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  
  --line-height-base: 1.6;
  --line-height-heading: 1.2;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius - Biomorphic Design */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 50px;
  --radius-organic: 60% 40% 30% 70% / 60% 30% 70% 40%;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.2);
  
  /* Transitions - Elastic Animations */
  --transition-base: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-elastic: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: all 0.4s ease-in-out;
  
  /* Z-index */
  --z-header: 1000;
  --z-modal: 2000;
  --z-overlay: 1500;
}

/* ============================================
   Global Styles & Reset
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-color);
  background-color: var(--lighter-color);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--line-height-heading);
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  font-weight: 900;
  letter-spacing: -0.5px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--medium-color);
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* ============================================
   Global Button Styles
   ============================================ */
.button,
.btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
  z-index: 1;
  outline: none;
}

.button::before,
.btn::before,
button::before,
input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.button:hover::before,
.btn:hover::before,
button:hover::before,
input[type="submit"]:hover::before {
  width: 300px;
  height: 300px;
}

.button.is-primary,
.btn.is-primary,
.is-primary {
  background: var(--gradient-primary);
  color: var(--white-color);
  box-shadow: var(--shadow-md);
}

.button.is-primary:hover,
.btn.is-primary:hover,
.is-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button.is-light,
.btn.is-light {
  background: var(--white-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.button.is-light:hover,
.btn.is-light:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button.is-large,
.btn.is-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-bounce {
  animation: btnBounce 2s infinite;
}

@keyframes btnBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-header);
  transition: var(--transition-smooth);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-item {
  font-weight: 500;
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  transition: var(--transition-base);
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: var(--transition-elastic);
  border-radius: var(--radius-sm);
}

.navbar-item:hover {
  color: var(--primary-color);
}

.navbar-item:hover::after {
  width: 80%;
}

.navbar-burger {
  color: var(--primary-color);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(78, 205, 196, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white-color);
}

.hero-title {
  font-size: 4rem;
  color: var(--white-color) !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--white-color) !important;
  font-family: var(--font-body);
  font-weight: 300;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 1.2s ease-out;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--white-color) !important;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.8;
  animation: fadeInUp 1.4s ease-out;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.6s ease-out;
}

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

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: var(--spacing-xxl) var(--spacing-md);
  position: relative;
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: 2.75rem;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.title-underline {
  width: 80px;
  height: 5px;
  background: var(--gradient-primary);
  margin: var(--spacing-sm) auto var(--spacing-md);
  border-radius: var(--radius-xl);
}

.section-description {
  font-size: 1.125rem;
  color: var(--medium-color);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Alternating Section Backgrounds */
.section-about {
  background: var(--white-color);
}

.section-features {
  background: var(--lighter-color);
}

.section-timeline {
  background: var(--white-color);
}

.section-instructors {
  background: var(--lighter-color);
}

.section-research {
  background: var(--white-color);
}

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

.section-contact {
  background: var(--white-color);
}

/* ============================================
   About Section
   ============================================ */
.about-content {
  margin-top: var(--spacing-xl);
}

.image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-elastic);
}

.image-container:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  will-change: transform;
}

.content-box {
  padding: var(--spacing-lg);
  background: var(--white-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stats-container {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--medium-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   Features Section
   ============================================ */
.features-grid {
  margin-top: var(--spacing-xl);
}

.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-elastic);
  background: var(--white-color);
}

.feature-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: var(--shadow-xl);
}

.feature-card .card-image {
  position: relative;
  overflow: hidden;
}

.feature-card .card-image .image-container {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.feature-card .card-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-card .card-content h3 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-sm);
}

.feature-card .card-content p {
  color: var(--medium-color);
  flex-grow: 1;
}

.progress-indicator {
  margin-top: var(--spacing-md);
}

.progress-bar {
  height: 8px;
  background: var(--light-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  transition: width 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  width: var(--progress-width, 0%);
}

.progress-label {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-small);
  color: var(--medium-color);
}

/* ============================================
   Timeline Section
   ============================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: var(--radius-xl);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 30px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 5px solid var(--white-color);
  box-shadow: var(--shadow-md);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: var(--transition-elastic);
}

.timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.3);
  box-shadow: var(--shadow-lg);
}

.timeline-content {
  width: 45%;
  padding: var(--spacing-lg);
  background: var(--white-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-elastic);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.timeline-content p {
  color: var(--medium-color);
  margin-bottom: 0;
}

/* ============================================
   Instructors Section
   ============================================ */
.instructors-grid {
  margin-top: var(--spacing-xl);
}

.instructor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-elastic);
  background: var(--white-color);
  text-align: center;
}

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

.instructor-card .card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.instructor-card .card-image .image-container {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.instructor-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.instructor-card .card-content {
  padding: var(--spacing-lg);
}

.instructor-card .card-content h3 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-xs);
}

.instructor-card .card-content .subtitle {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-body);
}

.instructor-card .card-content p {
  color: var(--medium-color);
  margin-bottom: 0;
}

/* ============================================
   Research Section
   ============================================ */
.research-content {
  padding: var(--spacing-lg);
  background: var(--white-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.research-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.stat-box {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--lighter-color);
  border-radius: var(--radius-md);
  transition: var(--transition-elastic);
}

.stat-box:hover {
  transform: translateX(10px);
  background: var(--gradient-secondary);
}

.stat-icon {
  font-size: 2rem;
}

.stat-text {
  font-weight: 500;
  color: var(--dark-color);
}

/* ============================================
   Resources Section
   ============================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.resource-card {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-lg);
  background: var(--white-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-elastic);
  text-decoration: none;
  color: inherit;
}

.resource-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  background: var(--gradient-secondary);
}

.resource-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.resource-card h3 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-sm);
}

.resource-description {
  color: var(--medium-color);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.resource-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition-base);
}

.resource-card:hover .resource-link {
  color: var(--white-color);
  transform: translateX(5px);
  display: inline-block;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--lighter-color);
  border-radius: var(--radius-md);
  transition: var(--transition-elastic);
}

.contact-item:hover {
  transform: translateX(10px);
  background: var(--gradient-secondary);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.contact-details h4 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-xs);
  font-size: 1.25rem;
}

.contact-details p {
  color: var(--medium-color);
  margin-bottom: 0;
}

.contact-details a {
  color: var(--primary-color);
  transition: var(--transition-base);
}

.contact-details a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-form-container {
  padding: var(--spacing-lg);
  background: var(--white-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form .field {
  margin-bottom: var(--spacing-md);
}

.contact-form .label {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: var(--spacing-xs);
  display: block;
}

.contact-form .input,
.contact-form .textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--light-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-base);
  background: var(--lighter-color);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--white-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form .textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  position: relative;
  width: 100%;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text,
.btn-submit.is-loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loader,
.btn-submit.is-loading .btn-loader {
  display: inline-block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: var(--spacing-xxl) var(--spacing-md) var(--spacing-lg);
}

.footer-title {
  font-size: 1.75rem;
  color: var(--white-color);
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: var(--light-color);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: var(--white-color);
  border-radius: var(--radius-xl);
  font-weight: 500;
  transition: var(--transition-elastic);
  text-align: center;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
  color: var(--white-color);
}

.footer-subtitle {
  font-size: 1.25rem;
  color: var(--white-color);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--light-color);
  transition: var(--transition-base);
  position: relative;
  padding-left: 1rem;
}

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

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 1.5rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact {
  margin-top: var(--spacing-md);
}

.footer-contact p {
  color: var(--light-color);
  margin-bottom: var(--spacing-xs);
}

.footer-contact a {
  color: var(--accent-color);
}

.footer-contact a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--medium-color);
  text-align: center;
}

.footer-bottom p {
  color: var(--light-color);
  margin-bottom: 0;
}

/* ============================================
   Success Page
   ============================================ */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  padding: var(--spacing-md);
}

.success-content {
  text-align: center;
  background: var(--white-color);
  padding: var(--spacing-xxl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  margin-bottom: var(--spacing-lg);
  animation: successBounce 1s ease-out;
}

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

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.success-content p {
  color: var(--medium-color);
  margin-bottom: var(--spacing-xl);
}

/* ============================================
   Privacy & Terms Pages
   ============================================ */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.content-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: var(--white-color);
}

.content-section .content {
  max-width: 900px;
  margin: 0 auto;
}

.content-section h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.content-section h2 {
  color: var(--dark-color);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.content-section h3 {
  color: var(--dark-color);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.content-section p {
  color: var(--medium-color);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.content-section ul,
.content-section ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
  color: var(--medium-color);
}

.content-section li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.8;
}

/* ============================================
   Utility Classes
   ============================================ */
.has-text-centered {
  text-align: center;
}

.is-fullwidth {
  width: 100%;
}

.parallax-image {
  transition: var(--transition-smooth);
  overflow: hidden;
}

.parallax-image img {
  transform: translateY(30px);
}

.parallax-image:hover {
  transform: translateY(-5px);
}

/* Card Centering */
.card,
.item,
.testimonial,
.team-member,
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card .image-container,
.item .image-container,
.testimonial .image-container,
.team-member .image-container,
.product-card .image-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.card img,
.item img,
.testimonial img,
.team-member img,
.product-card img {
  margin: 0 auto;
}

/* ============================================
   Responsive Design
   ============================================ */
@media screen and (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --spacing-xxl: 3rem;
    --spacing-xl: 2rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .button,
  .hero-buttons .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: var(--spacing-lg);
  }
  
  .navbar-menu {
    background: var(--white-color);
    box-shadow: var(--shadow-md);
  }
  
  .instructor-card .card-image .image-container,
  .feature-card .card-image .image-container {
    height: 200px;
  }
}

@media screen and (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .timeline-content {
    padding: var(--spacing-md);
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .button,
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   Accessibility
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .header,
  .footer,
  .hero-buttons,
  .contact-form,
  .navbar-burger {
    display: none;
  }
  
  body {
    background: var(--white-color);
  }
  
  .section {
    page-break-inside: avoid;
  }
}