/* Base Variables */
:root {
  /* Primary Colors (Neo-Brutalism Triadic Scheme) */
  --color-primary: #FF3C5A; /* Vivid Red */
  --color-primary-dark: #CC2E48;
  --color-secondary: #3CFF5A; /* Electric Green */
  --color-secondary-dark: #2ECC48;
  --color-tertiary: #3C5AFF; /* Deep Blue */
  --color-tertiary-dark: #2E48CC;
  
  /* Neutral Colors */
  --color-black: #0D0D0D;
  --color-dark-gray: #333333;
  --color-mid-gray: #666666;
  --color-light-gray: #CCCCCC;
  --color-off-white: #F7F7F7;
  --color-white: #FFFFFF;
  
  /* Background Colors */
  --bg-light: #F2F2F2;
  --bg-dark: #121212;
  --bg-accent: #F5E9FF;
  
  /* Overlay Colors */
  --overlay-dark: rgba(0, 0, 0, 0.7);
  --overlay-light: rgba(255, 255, 255, 0.8);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* 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);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container widths */
  --container-width-sm: 540px;
  --container-width-md: 720px;
  --container-width-lg: 960px;
  --container-width-xl: 1140px;
}

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

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

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

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

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--color-black);
}

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

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

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

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

p {
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

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

/* Sections */
section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

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

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

/* Buttons */
.btn, button, input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-medium);
  box-shadow: 4px 4px 0 var(--color-black);
  position: relative;
  text-decoration: none;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-black);
}

.btn:active, button:active, input[type="submit"]:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--color-black);
}

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

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

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

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  color: var(--color-black);
}

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

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

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

.header.scrolled {
  padding: var(--spacing-sm) 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  max-width: 60px;
}

.logo img {
  height: auto;
  width: 100%;
}

.nav-desktop {
  display: block;
}

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

.nav-desktop a {
  color: var(--color-dark-gray);
  font-weight: 500;
  position: relative;
  padding: var(--spacing-sm) 0;
}

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

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

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

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.burger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--color-dark-gray);
  transition: all var(--transition-medium);
}

.burger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--color-white);
  padding-top: 80px;
  transition: right var(--transition-slow);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
}

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

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-mobile a {
  color: var(--color-dark-gray);
  font-weight: 500;
  font-size: 1.25rem;
}

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

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

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

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

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

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

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

/* About Us Section */
.about-us {
  background-color: var(--bg-light);
  padding: var(--spacing-xxl) 0;
}

.about-content {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image .image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--color-secondary);
  position: relative;
}

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

.about-image:hover img {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.stats-container {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.stat {
  text-align: center;
}

.stat .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1.1;
}

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

/* Services Section */
.services {
  padding: var(--spacing-xxl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

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

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

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

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

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

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

.card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-black);
}

.price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin: var(--spacing-md) 0;
}

/* Why Us Section */
.why-us {
  background-color: var(--bg-accent);
  padding: var(--spacing-xxl) 0;
}

.why-us-content {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.why-text {
  flex: 1.2;
}

.why-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.why-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: -8px 8px 0 var(--color-tertiary);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

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

.feature-icon {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-tertiary);
}

/* Instructors Section */
.instructors {
  padding: var(--spacing-xxl) 0;
}

.instructors-slider {
  display: flex;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  gap: var(--spacing-lg);
}

.instructor-card {
  min-width: calc(33.333% - var(--spacing-lg));
  flex: 0 0 calc(33.333% - var(--spacing-lg));
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-medium);
}

.instructor-card:hover {
  transform: translateY(-10px);
}

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

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

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

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

.position {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  font-style: italic;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.slider-controls button {
  background-color: var(--color-white);
  color: var(--color-dark-gray);
  border: 2px solid var(--color-light-gray);
}

.slider-controls button:hover {
  background-color: var(--color-tertiary);
  border-color: var(--color-tertiary);
  color: var(--color-white);
}

/* External Resources Section */
.external-resources {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

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

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

.resource-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.resource-card .card-content {
  padding: var(--spacing-lg);
  text-align: center;
  color: var(--color-dark-gray);
}

.resource-card h3 {
  color: var(--color-tertiary);
}

/* Research Section */
.research {
  padding: var(--spacing-xxl) 0;
}

.research-content {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.research-text {
  flex: 1.2;
}

.research-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.research-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: 8px 8px 0 var(--color-primary);
}

.research-highlights {
  margin-top: var(--spacing-lg);
}

.research-item {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium);
}

.research-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.research-item h4 {
  color: var(--color-tertiary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

/* Success Stories Section */
.success-stories {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-accent);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.story-role {
  color: var(--color-primary);
  font-weight: 500;
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

/* History Section */
.history {
  padding: var(--spacing-xxl) 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

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

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 30px;
  position: relative;
  margin-bottom: var(--spacing-xl);
  width: 50%;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 30px;
  padding-right: 0;
  left: 50%;
}

.timeline-year {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: var(--color-tertiary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  top: 0;
  right: -40px;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-white);
}

.timeline-item:nth-child(even) .timeline-year {
  left: -40px;
  right: auto;
}

.timeline-content {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  max-width: 80%;
  transition: transform var(--transition-medium);
}

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

.timeline-content h3 {
  color: var(--color-tertiary);
}

/* FAQ Section */
.faq {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

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

.accordion-item {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  background-color: var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--color-off-white);
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  flex: 1;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  background-color: var(--color-white);
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.accordion-item.active .accordion-content {
  padding: 0 var(--spacing-md) var(--spacing-md);
  max-height: 1000px;
}

/* News Section */
.news {
  padding: var(--spacing-xxl) 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.news-date {
  font-size: 0.9rem;
  color: var(--color-mid-gray);
  margin-bottom: var(--spacing-sm);
}

/* Accolades Section */
.accolades {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-accent);
}

.accolades-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.accolade {
  flex: 0 0 calc(33.333% - var(--spacing-xl));
  min-width: 250px;
  text-align: center;
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.accolade img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
}

.accolade h3 {
  color: var(--color-tertiary);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}

/* Contact Section */
.contact {
  padding: var(--spacing-xxl) 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  font-size: 1.75rem;
}

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

.info-icon {
  font-size: 1.5rem;
  margin-right: var(--spacing-md);
  color: var(--color-tertiary);
}

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

.map-container img {
  width: 100%;
  height: auto;
}

.contact-form h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  font-size: 1.75rem;
}

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

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

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-tertiary);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.checkbox-group input {
  width: auto;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--color-white);
  padding-top: var(--spacing-xxl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.footer-about {
  grid-column: span 1;
}

.footer-about img {
  margin-bottom: var(--spacing-md);
}

.footer-links, .footer-social {
  grid-column: span 1;
}

.footer-newsletter {
  grid-column: span 1;
}

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

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

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

.footer a {
  color: var(--color-light-gray);
  transition: color var(--transition-fast);
}

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

.footer-social a {
  display: inline-block;
  padding: var(--spacing-xs) 0;
  position: relative;
  transition: transform var(--transition-fast);
}

.footer-social a:hover {
  transform: translateX(5px);
}

.footer-newsletter form {
  display: flex;
  margin-top: var(--spacing-md);
}

.footer-newsletter input {
  flex: 1;
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
  border: none;
}

.footer-newsletter button {
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  box-shadow: none;
}

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

/* Success, Terms, Privacy Pages */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl);
}

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

.terms-page, .privacy-page {
  padding-top: 100px; /* Header offset */
  padding-bottom: var(--spacing-xxl);
}

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

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

.terms-page h2, .privacy-page h2 {
  color: var(--color-primary);
  margin-top: var(--spacing-xl);
}

/* Media Queries */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-about, .footer-links, .footer-social, .footer-newsletter {
    grid-column: span 1;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content, 
  .why-us-content,
  .research-content {
    flex-direction: column;
  }
  
  .about-image, 
  .why-image,
  .research-image {
    margin-bottom: var(--spacing-lg);
    width: 100%;
    max-width: 600px;
  }
  
  .about-text, 
  .why-text,
  .research-text {
    width: 100%;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .instructors-slider {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .instructor-card {
    min-width: calc(50% - var(--spacing-lg));
    flex: 0 0 calc(50% - var(--spacing-lg));
  }
  
  .timeline-item, 
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 100px;
    padding-right: 0;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-year, 
  .timeline-item:nth-child(even) .timeline-year {
    left: 0;
    right: auto;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .stats-container {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-about, .footer-links, .footer-social, .footer-newsletter {
    grid-column: span 1;
  }
  
  .accolades-grid {
    flex-direction: column;
  }
  
  .accolade {
    flex: 0 0 100%;
  }
  
  .instructor-card {
    min-width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-newsletter form {
    flex-direction: column;
  }
  
  .footer-newsletter input {
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-newsletter button {
    border-radius: var(--border-radius-md);
    width: 100%;
  }
}

/* Success Page Styles */
.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(--bg-light);
}

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

.success-icon {
  font-size: 5rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

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

.success-message {
  margin-bottom: var(--spacing-lg);
}

.success-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.fade-in {
  animation: fadeIn var(--transition-slow) forwards;
}

.slide-up {
  animation: slideUp var(--transition-slow) forwards;
}

.slide-in-right {
  animation: slideInRight var(--transition-slow) forwards;
}

/* Lazy Load Images */
[data-src] {
  opacity: 0;
  transition: opacity var(--transition-medium);
}

[data-src].loaded {
  opacity: 1;
}