/* ================ Variables & Reset ================ */
:root {
  /* Tetrad Color Scheme */
  --primary-color: #FF5722; /* Orange */
  --secondary-color: #2196F3; /* Blue */
  --tertiary-color: #4CAF50; /* Green */
  --quaternary-color: #9C27B0; /* Purple */
  
  /* Darker variations */
  --primary-dark: #E64A19;
  --secondary-dark: #1976D2;
  --tertiary-dark: #388E3C;
  --quaternary-dark: #7B1FA2;
  
  /* Lighter variations */
  --primary-light: #FFCCBC;
  --secondary-light: #BBDEFB;
  --tertiary-light: #C8E6C9;
  --quaternary-light: #E1BEE7;
  
  /* Neutral colors */
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --light-gray: #E0E0E0;
  --medium-gray: #9E9E9E;
  --dark-gray: #424242;
  --black: #212121;
  
  /* Biomorphic shapes */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --border-radius-xxl: 48px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Container widths */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
}

/* ================ Base Styles ================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--black);
  background-color: var(--off-white);
  overflow-x: hidden;
}

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

h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

ul {
  list-style: none;
}

/* ================ Container ================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
  font-size: 2.5rem;
  color: var(--black);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: var(--spacing-md) auto 0;
  border-radius: var(--border-radius-sm);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  font-size: 1.1rem;
  color: var(--dark-gray);
}

/* ================ Buttons ================ */
.btn, 
button, 
input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn:hover, 
button:hover, 
input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-tertiary {
  background-color: var(--tertiary-color);
  color: var(--white);
}

.btn-tertiary:hover {
  background-color: var(--tertiary-dark);
  color: var(--white);
  text-decoration: none;
}

/* ================ Header & Navigation ================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md) 0;
  transition: all 0.3s ease;
}

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
}

.desktop-nav ul {
  display: flex;
  gap: var(--spacing-lg);
}

.desktop-nav a {
  color: var(--dark-gray);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: var(--spacing-sm) 0;
  position: relative;
}

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

.desktop-nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.mobile-menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-icon span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark-gray);
  margin: 3px 0;
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-nav a {
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  padding: var(--spacing-sm) 0;
}

.mobile-nav a:hover {
  color: var(--primary-color);
}

/* ================ Hero Section ================ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 0;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
}

/* ================ Methodology Section ================ */
.methodology {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.methodology::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--primary-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.methodology::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--secondary-light);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.2;
  z-index: 0;
}

.methodology-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  position: relative;
  z-index: 2;
}

.methodology-text {
  flex: 1;
  min-width: 300px;
}

.methodology-text p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.methodology-stats {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.stat-item {
  text-align: center;
  margin: var(--spacing-md);
}

.progress-circle {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--spacing-md);
}

.circular-chart {
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: var(--light-gray);
  stroke-width: 2.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  animation: progress 1.5s ease-out forwards;
}

.stat-item:nth-child(1) .circle {
  stroke: var(--primary-color);
}

.stat-item:nth-child(2) .circle {
  stroke: var(--secondary-color);
}

.stat-item:nth-child(3) .circle {
  stroke: var(--tertiary-color);
}

.percentage {
  fill: var(--dark-gray);
  font-family: var(--font-heading);
  font-size: 0.5rem;
  text-anchor: middle;
  font-weight: bold;
}

.stat-item h3 {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-top: var(--spacing-sm);
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.methodology-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: var(--spacing-lg);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

/* ================ History Section ================ */
.history {
  background-color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.history::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 300px;
  height: 300px;
  background-color: var(--quaternary-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.2;
  z-index: 0;
}

.history-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  position: relative;
  z-index: 2;
}

.history-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.history-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.history-image:hover img {
  transform: scale(1.02);
}

.history-text {
  flex: 1;
  min-width: 300px;
}

.history-text p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  color: var(--dark-gray);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
  z-index: 2;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 var(--spacing-lg);
  box-sizing: border-box;
  margin-bottom: var(--spacing-xl);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  position: relative;
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

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

/* ================ Instructors Section ================ */
.instructors {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.instructors::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background-color: var(--tertiary-light);
  border-radius: 50% 50% 50% 70% / 50% 50% 70% 60%;
  opacity: 0.2;
  z-index: 0;
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  position: relative;
  z-index: 2;
}

.instructors .card {
  background-color: var(--white);
  height: 100%;
}

.instructors .card-image {
  width: 100%;
  height: 300px;
}

.instructor-position {
  color: var(--medium-gray);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-links a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* ================ External Resources Section ================ */
.external-resources {
  background-color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.resource-card {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.resource-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  font-size: 1.3rem;
}

.resource-card p {
  color: var(--dark-gray);
  margin-bottom: var(--spacing-lg);
}

.resource-link {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  margin-top: auto;
}

.resource-link:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
}

/* ================ Partners Section ================ */
.partners {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 350px;
  height: 350px;
  background-color: var(--secondary-light);
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  opacity: 0.2;
  z-index: 0;
}

.partners-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xxl);
  position: relative;
  z-index: 2;
}

.partner-item {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-item:hover {
  transform: translateY(-10px);
}

.partner-item img {
  max-width: 200px;
  max-height: 100px;
  margin-bottom: var(--spacing-md);
  object-fit: contain;
}

.partner-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.partner-item p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

.partners-testimonials {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.partners-testimonials h3 {
  text-align: center;
  color: var(--black);
  margin-bottom: var(--spacing-xl);
  font-size: 1.8rem;
}

.testimonial {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding: 0 var(--spacing-md);
  text-align: center;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  line-height: 1;
}

.testimonial-content::before {
  top: -20px;
  left: 0;
}

.testimonial-content::after {
  bottom: -40px;
  right: 0;
  transform: rotate(180deg);
}

.testimonial-content p {
  font-style: italic;
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--primary-color);
  margin-bottom: 0;
}

.author-info p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ================ Contact Section ================ */
.contact {
  background-color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 350px;
  height: 350px;
  background-color: var(--quaternary-light);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.2;
  z-index: 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  position: relative;
  z-index: 2;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.info-icon {
  margin-right: var(--spacing-md);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  font-size: 1.2rem;
}

.info-content p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

.map-container {
  margin-top: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ================ Footer ================ */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--tertiary-color), var(--quaternary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 2rem;
}

.footer-logo p {
  color: var(--light-gray);
}

.footer h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.3rem;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

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

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a,
.footer-legal a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-social .social-links {
  justify-content: flex-start;
}

.footer-social .social-links a {
  color: var(--light-gray);
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.footer-social .social-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
}

.footer-bottom p {
  color: var(--medium-gray);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ================ Success Page ================ */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--spacing-xl);
  background-color: var(--off-white);
}

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

.success-page p {
  max-width: 600px;
  margin-bottom: var(--spacing-xl);
  font-size: 1.2rem;
  color: var(--dark-gray);
}

/* ================ Privacy & Terms Pages ================ */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.privacy-page .container,
.terms-page .container {
  max-width: 800px;
}

.privacy-page h1,
.terms-page h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.privacy-page h2,
.terms-page h2 {
  color: var(--secondary-color);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  font-size: 1.8rem;
}

.privacy-page p,
.terms-page p {
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
  line-height: 1.7;
}

.privacy-page ul,
.terms-page ul {
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-lg);
  list-style-type: disc;
}

.privacy-page li,
.terms-page li {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

/* ================ Media Queries ================ */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .methodology-content,
  .history-content {
    flex-direction: column;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-icon {
    display: flex;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .instructors-grid,
  .resources-grid,
  .partners-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .methodology-stats {
    flex-direction: column;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll-dependent animations */
[data-scroll] {
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

[data-scroll="in"] {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll="out"] {
  opacity: 0;
  transform: translateY(100px);
}

/* Cookie Consent Styling */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.85) !important;
  color: white !important;
  padding: 20px !important;
  text-align: center !important;
}

#acceptCookies {
  background-color: var(--tertiary-color) !important;
  color: white !important;
  padding: 10px 20px !important;
  border: none !important;
  margin-top: 10px !important;
  cursor: pointer !important;
  border-radius: var(--border-radius-sm) !important;
}

#acceptCookies:hover {
  background-color: var(--tertiary-dark) !important;
}