/*
* AppriseDyst - Educational Platform for Petroleum Sector
* A modern responsive CSS using neuromorphism and biomorphic design elements
* with pastel color scheme and springy animations
*/

:root {
  /* Color Variables */
  --color-primary: #6a8d92; /* Soft teal */
  --color-primary-dark: #547277;
  --color-primary-light: #8ca8ac;
  
  --color-secondary: #e8b7a9; /* Soft peach */
  --color-secondary-dark: #d19b8d;
  --color-secondary-light: #f4d1c7;
  
  --color-accent: #a6dcef; /* Soft blue */
  --color-accent-dark: #7fc5e8;
  --color-accent-light: #c9eaf7;
  
  --color-neutral-dark: #3c4e51;
  --color-neutral: #70878a;
  --color-neutral-light: #d0dfe1;
  --color-neutral-lighter: #f0f6f7;
  
  --color-success: #a0cdaf;
  --color-warning: #f2d5a7;
  --color-error: #e7a6a6;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Neuromorphic Shadows */
  --neuro-shadow-small: 5px 5px 10px rgba(174, 174, 192, 0.15), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --neuro-shadow: 8px 8px 16px rgba(174, 174, 192, 0.2), -8px -8px 16px rgba(255, 255, 255, 0.9);
  --neuro-shadow-large: 12px 12px 24px rgba(174, 174, 192, 0.25), -12px -12px 24px rgba(255, 255, 255, 0.95);
  --neuro-shadow-inset: inset 3px 3px 6px rgba(174, 174, 192, 0.2), inset -3px -3px 6px rgba(255, 255, 255, 0.9);
  
  /* Border Radius */
  --border-radius-small: 8px;
  --border-radius-medium: 12px;
  --border-radius-large: 20px;
  --border-radius-round: 50%;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Transitions */
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-quick: all 0.3s var(--transition-bounce);
  --transition-medium: all 0.5s var(--transition-bounce);
  --transition-slow: all 0.8s var(--transition-smooth);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background-color: var(--color-neutral-lighter);
  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-sm);
  color: var(--color-neutral-dark);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
  border-radius: var(--border-radius-small);
}

h3 {
  font-size: 1.75rem;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--spacing-sm);
}

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

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

section {
  padding: var(--spacing-lg) 0;
  position: relative;
}

.section-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  color: var(--color-neutral);
}

/* Buttons */
.btn-primary, .btn-secondary, button, input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--border-radius-medium);
  cursor: pointer;
  transition: var(--transition-quick);
  box-shadow: var(--neuro-shadow-small);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--neuro-shadow);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--neuro-shadow-inset);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--color-secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--neuro-shadow);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: var(--neuro-shadow-inset);
}

/* Read more links */
.read-more {
  display: inline-block;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
  color: var(--color-primary);
}

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

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

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neuro-shadow);
  overflow: hidden;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

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

.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: var(--transition-medium);
}

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

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

.card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

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

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  z-index: 1001;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--color-neutral-dark);
  text-decoration: none;
}

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

.logo span {
  font-weight: 700;
  color: var(--color-primary);
}

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

.nav-menu li {
  margin: 0 var(--spacing-sm);
}

.nav-menu a {
  color: var(--color-neutral-dark);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-menu a:hover::after, .nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

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

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 80px; /* Space for the fixed header */
  overflow: hidden;
}

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

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

.hero-content {
  max-width: 600px;
  animation: fadeInUp 1s var(--transition-bounce) forwards;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: white;
}

.hero-content .btn-primary {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  animation: bounceIn 1.2s var(--transition-bounce) forwards;
}

/* About Section */
.about {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.about:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('image/about-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--neuro-shadow);
  transition: var(--transition-medium);
}

.about-image img:hover {
  transform: translateY(-5px);
  box-shadow: var(--neuro-shadow-large);
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding: 0 var(--spacing-md);
}

/* Services Section */
.services {
  background-color: var(--color-neutral-lighter);
  overflow: hidden;
}

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

/* Courses Section */
.courses {
  background-color: white;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--spacing-lg);
}

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

.history:after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--color-primary-light);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

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

.history-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary));
  border-radius: var(--border-radius-small);
}

.timeline-item {
  padding: var(--spacing-md) 0;
  position: relative;
}

.timeline-content {
  position: relative;
  width: 45%;
  margin-left: auto;
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neuro-shadow);
}

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

.timeline-content:before {
  content: '';
  position: absolute;
  top: 20px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: white;
  transform: rotate(45deg);
  box-shadow: var(--neuro-shadow-small);
}

.timeline-item:nth-child(even) .timeline-content:before {
  left: -15px;
  right: auto;
}

.year {
  position: absolute;
  top: -25px;
  right: 0;
  padding: 5px 10px;
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
  border-radius: var(--border-radius-small);
}

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

.timeline-image {
  margin-top: var(--spacing-sm);
  width: 100%;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--neuro-shadow-small);
}

.timeline-image img {
  width: 100%;
  height: auto;
  transition: var(--transition-medium);
}

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

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-item {
  padding: var(--spacing-md);
}

.testimonial-content {
  display: flex;
  align-items: center;
  background-color: var(--color-neutral-lighter);
  border-radius: var(--border-radius-large);
  padding: var(--spacing-md);
  box-shadow: var(--neuro-shadow);
  transition: var(--transition-medium);
}

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

.testimonial-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius-round);
  overflow: hidden;
  margin-right: var(--spacing-md);
  box-shadow: var(--neuro-shadow-small);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-round);
}

.testimonial-text {
  flex: 1;
}

.testimonial-text p {
  font-style: italic;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text h4 {
  margin-bottom: 5px;
  color: var(--color-primary);
}

.testimonial-text span {
  font-size: 0.9rem;
  color: var(--color-neutral);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.prev-btn, .next-btn {
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-round);
  margin: 0 var(--spacing-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--neuro-shadow-small);
  transition: var(--transition-quick);
}

.prev-btn:after, .next-btn:after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
  transition: var(--transition-quick);
}

.prev-btn:after {
  transform: rotate(135deg);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--neuro-shadow);
}

.prev-btn:hover:after, .next-btn:hover:after {
  border-color: white;
}

/* Team Section */
.team {
  background-color: var(--color-neutral-lighter);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

/* Resources Section */
.resources {
  background-color: white;
}

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

.resources .card-content ul {
  list-style: none;
}

.resources .card-content li {
  margin-bottom: 10px;
}

/* Partners Section */
.partners {
  background-color: var(--color-neutral-lighter);
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

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

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--neuro-shadow-large);
}

.partner-item img {
  max-width: 200px;
  height: auto;
  margin-bottom: var(--spacing-sm);
  transition: var(--transition-medium);
}

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

/* Careers Section */
.careers {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.careers:before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--color-accent-light);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

.careers-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.careers-image {
  flex: 1;
  min-width: 300px;
}

.careers-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--neuro-shadow);
  transition: var(--transition-medium);
}

.careers-image img:hover {
  transform: translateY(-5px);
  box-shadow: var(--neuro-shadow-large);
}

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

.career-benefits {
  margin: var(--spacing-md) 0;
  list-style: none;
}

.career-benefits li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.career-benefits li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-round);
}

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

.contact:after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 400px;
  height: 400px;
  background-color: var(--color-secondary-light);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border-radius: var(--border-radius-large);
  padding: var(--spacing-md);
  box-shadow: var(--neuro-shadow);
}

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

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

.form-group input, 
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: none;
  background-color: var(--color-neutral-lighter);
  border-radius: var(--border-radius-medium);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-quick);
  box-shadow: var(--neuro-shadow-inset);
}

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

.form-toggle {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 15px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-neutral-light);
  transition: var(--transition-quick);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-quick);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

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

.info-item {
  background-color: white;
  border-radius: var(--border-radius-large);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--neuro-shadow);
}

.info-map {
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--neuro-shadow);
}

.info-map img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-medium);
}

.info-map:hover img {
  transform: scale(1.05);
}

/* Gallery Section */
.gallery {
  background-color: white;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-image {
  position: relative;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--neuro-shadow);
  transition: var(--transition-medium);
}

.gallery-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--neuro-shadow-large);
}

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

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

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-medium);
}

.gallery-image:hover .image-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.gallery-prev, .gallery-next {
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-round);
  margin: 0 var(--spacing-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--neuro-shadow-small);
  transition: var(--transition-quick);
}

.gallery-prev:after, .gallery-next:after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
  transition: var(--transition-quick);
}

.gallery-prev:after {
  transform: rotate(135deg);
}

.gallery-prev:hover, .gallery-next:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--neuro-shadow);
}

.gallery-prev:hover:after, .gallery-next:hover:after {
  border-color: white;
}

/* FAQ Section */
.faq {
  background-color: var(--color-neutral-lighter);
}

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

.faq-item {
  background-color: white;
  border-radius: var(--border-radius-medium);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--neuro-shadow);
  overflow: hidden;
}

.faq-question {
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  flex: 1;
}

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

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

.toggle-icon:before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.toggle-icon:after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

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

.faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-md);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.footer {
  background-color: var(--color-neutral-dark);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

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

.footer-logo span {
  color: var(--color-primary-light);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.links-column {
  min-width: 150px;
  margin-bottom: var(--spacing-md);
}

.links-column h3 {
  color: var(--color-primary-light);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}

.links-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links-column li {
  margin-bottom: 10px;
}

.links-column a {
  color: var(--color-neutral-light);
  transition: var(--transition-quick);
}

.links-column a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  color: var(--color-neutral-light);
  padding: 8px 12px;
  border-radius: var(--border-radius-medium);
  transition: var(--transition-quick);
  background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  color: white;
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.copyright {
  color: var(--color-neutral-light);
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--color-neutral-lighter);
}

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

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--color-success);
  border-radius: var(--border-radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon:after {
  content: '';
  width: 30px;
  height: 15px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(-45deg);
}

/* Terms and Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px; /* Space for the fixed header */
}

.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-large);
  box-shadow: var(--neuro-shadow);
}

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Biomorphic design elements */
.bio-shape-1, .bio-shape-2, .bio-shape-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
}

.bio-shape-1 {
  top: -150px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--color-primary-light);
  opacity: 0.1;
  animation: float 8s infinite alternate;
}

.bio-shape-2 {
  bottom: -100px;
  left: -150px;
  width: 350px;
  height: 350px;
  background-color: var(--color-secondary-light);
  opacity: 0.1;
  animation: float 12s infinite alternate-reverse;
}

.bio-shape-3 {
  top: 30%;
  left: 10%;
  width: 200px;
  height: 200px;
  background-color: var(--color-accent-light);
  opacity: 0.1;
  animation: float 10s infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .history-timeline:before {
    left: 30px;
  }
  
  .timeline-content {
    width: 85%;
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .timeline-content:before {
    left: -15px;
    right: auto;
  }
  
  .year {
    left: -60px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .year {
    left: -60px;
    right: auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .hamburger {
    display: block;
  }
  
  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    transition: var(--transition-quick);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navigation.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu li {
    margin: var(--spacing-sm) 0;
  }
  
  .about-content, 
  .careers-content, 
  .contact-content {
    flex-direction: column;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .social-links {
    margin-bottom: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .container {
    width: 95%;
  }
  
  .timeline-content {
    width: 80%;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .testimonial-content {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    margin: 0 auto var(--spacing-sm);
  }
}