/* Base Styles and Variables */
:root {
  --primary-color: #3a86ff;
  --primary-dark: #2970e0;
  --secondary-color: #ff8c42;
  --secondary-dark: #e57835;
  --accent-color: #ffca3a;
  --accent-dark: #e6b82f;
  --light-color: #f8f9fa;
  --gray-light: #e9ecef;
  --gray-color: #6c757d;
  --dark-color: #333333;
  --text-color: #222222;
  --white: #ffffff;
  --black: #000000;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 15px;
  --border-radius-sm: 8px;
  --box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1), -8px -8px 15px rgba(255, 255, 255, 0.7);
  --box-shadow-sm: 5px 5px 10px rgba(0, 0, 0, 0.05), -5px -5px 10px rgba(255, 255, 255, 0.5);
  --inner-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.1), inset -3px -3px 5px rgba(255, 255, 255, 0.7);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #5e9bff);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ffaa6b);
  --gradient-overlay: linear-gradient(135deg, rgba(58, 134, 255, 0.7), rgba(255, 140, 66, 0.7));
  --gradient-dark-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1rem;
}

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

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

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

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

/* Button Styles */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  box-shadow: var(--box-shadow);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
}

.btn:active,
button:active,
input[type="submit"]:active {
  box-shadow: var(--inner-shadow);
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #5e9bff, var(--primary-color));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(58, 134, 255, 0.2);
}

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

.btn-secondary:hover {
  background: linear-gradient(135deg, #ffaa6b, var(--secondary-color));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 140, 66, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more:hover::after {
  background-color: var(--secondary-color);
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(248, 249, 250, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  padding: 5px 0;
  background-color: rgba(248, 249, 250, 0.95);
}

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

.logo a {
  display: flex;
  flex-direction: column;
  color: var(--dark-color);
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.logo span {
  font-size: 0.8rem;
  color: var(--gray-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

.main-nav li {
  margin-left: 20px;
}

.main-nav a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.main-nav a:hover {
  background-color: rgba(58, 134, 255, 0.1);
  color: var(--primary-color);
}

.main-nav a.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.burger-menu {
  display: none;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
}

.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: var(--gradient-overlay);
  z-index: -1;
}

.hero-content {
  color: var(--white);
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.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: 20px;
  text-align: center;
  flex: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Accordion */
.accordion {
  margin-top: 15px;
  width: 100%;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  color: var(--primary-color);
  font-weight: 500;
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.accordion-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.accordion.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion.active .accordion-content {
  max-height: 500px;
  padding-top: 10px;
}

.accordion-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.accordion-content li {
  margin-bottom: 5px;
}

/* Instructors Section */
.instructors-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.instructor-title {
  color: var(--gray-color);
  font-style: italic;
  margin-bottom: 15px;
}

/* Resources Section */
.resources-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.resource-card {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.resource-card p {
  flex: 1;
}

.resource-card a {
  display: inline-block;
  margin-top: 15px;
  font-weight: 500;
  align-self: flex-start;
}

/* Sustainability Section */
.sustainability-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #e4e7eb, #f5f7fa);
}

.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.sustainability-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sustainability-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sustainability-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

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

/* Accolades Section */
.accolades-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.accolades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.accolade-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.accolade-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.accolade-image {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.accolade-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

/* Media Section */
.media-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.media-item {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.media-item:hover img {
  transform: scale(1.05);
}

.media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: var(--gradient-dark-overlay);
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
}

.media-item:hover .media-overlay {
  opacity: 1;
}

.media-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--white);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.contact-text {
  flex: 1;
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background-color: #f9f9f9;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  transition: var(--transition);
}

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

.map-container {
  margin-top: 50px;
}

.map-container h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 400px;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-logo h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #aaa;
}

.footer-links h3,
.footer-social h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 1.5px;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-social li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-social a {
  color: #ddd;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
}

.footer-social a::before {
  content: "→";
  margin-right: 5px;
  opacity: 0;
  transition: var(--transition);
}

.footer-social a:hover::before {
  opacity: 1;
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 50px 20px;
}

.success-icon {
  width: 120px;
  height: 120px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.success-icon svg {
  width: 60px;
  height: 60px;
  fill: var(--white);
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.success-message {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
}

.success-actions {
  display: flex;
  gap: 15px;
}

/* Privacy and Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 120px;
  padding-bottom: 60px;
}

.privacy-content,
.terms-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.privacy-content h1,
.terms-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.privacy-content h2,
.terms-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.privacy-content p,
.terms-content p {
  margin-bottom: 20px;
}

.privacy-content ul,
.terms-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.privacy-content li,
.terms-content li {
  margin-bottom: 10px;
}

/* About Page Styles */
.about-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 50vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.about-hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.about-section {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Timeline styles */
.timeline-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
}

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

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 10px 40px;
  box-sizing: border-box;
}

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

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

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

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

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

.timeline-content {
  position: relative;
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-year {
  position: absolute;
  top: 0;
  font-weight: bold;
  color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-year {
  right: 0;
  transform: translateX(calc(100% + 15px));
}

.timeline-item:nth-child(even) .timeline-year {
  left: 0;
  transform: translateX(calc(-100% - 15px));
}

/* Team section */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
  height: 300px;
  width: 100%;
  overflow: hidden;
}

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

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

.team-content {
  padding: 20px;
  text-align: center;
  flex: 1;
}

.team-title {
  color: var(--gray-color);
  margin-bottom: 10px;
}

/* Cookie Consent */
#cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(33, 33, 33, 0.9);
  color: var(--white);
  padding: 15px;
  text-align: center;
  z-index: 9999;
}

#cookie-consent p {
  margin-bottom: 10px;
}

#cookie-consent a {
  color: var(--accent-color);
}

#accept-cookies {
  background-color: var(--accent-color);
  color: var(--dark-color);
  border: none;
  padding: 8px 15px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

#accept-cookies:hover {
  background-color: var(--accent-dark);
}

/* Animations */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.morph-animation {
  animation: morphing 8s ease-in-out infinite;
}


/* Dynamic Color Transitions */
@keyframes colorTransition {
  0% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(30deg);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}

.btn-primary:hover,
.btn-secondary:hover {
  animation: colorTransition 3s infinite;
}

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

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

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

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .services-grid,
  .resources-grid,
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item::after {
    left: 21px;
  }
  
  .timeline-item:nth-child(odd)::after {
    right: auto;
  }
  
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    right: auto;
    left: 0;
    transform: translateX(0);
    top: -30px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(248, 249, 250, 0.95);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav li {
    margin: 10px 0;
  }
  
  .burger-menu {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .success-actions {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-grid,
  .instructors-grid,
  .resources-grid,
  .sustainability-grid,
  .accolades-grid,
  .media-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .privacy-content,
  .terms-content {
    padding: 20px;
  }
}