/* Root variables */
:root {
  /* Primary colors - Pastel Neo-Brutalist scheme */
  --primary-color: #f4eefa;
  --secondary-color: #d0e0fb;
  --accent-color: #93c5fd;
  --accent-dark: #3b82f6;
  --text-color: #333340;
  --text-light: #565668;
  --text-dark: #1a1a2e;
  --white: #ffffff;
  --black: #1a1a1a;

  /* Shadows and effects */
  --shadow-sm: 3px 3px 0px rgba(0, 0, 0, 0.1);
  --shadow-md: 6px 6px 0px rgba(0, 0, 0, 0.1);
  --shadow-lg: 10px 10px 0px rgba(0, 0, 0, 0.1);
  --neumorphic-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
  --neumorphic-inset: inset 6px 6px 12px #d1d1d1, inset -6px -6px 12px #ffffff;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Typography */
  --font-family-heading: 'Montserrat', sans-serif;
  --font-family-body: 'Merriweather', serif;

  /* Sizes */
  --header-height: 80px;
  --container-padding: 20px;
}

/* Base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family-body);
  color: var(--text-color);
  background-color: var(--primary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--text-dark);
  margin-bottom: 0.8em;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2em;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color var(--transition-medium);
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Button styles */
.btn, button, input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--accent-dark);
  border-radius: var(--radius-sm);
  background-color: var(--accent-dark);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-sm);
  transform: translate(-2px, -2px);
}

.btn:hover, button:hover, input[type="submit"]:hover {
  transform: translate(0, 0);
  box-shadow: none;
  text-decoration: none;
}

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

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

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all var(--transition-medium);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo a {
  color: var(--text-dark);
  text-decoration: none;
}

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

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: var(--text-dark);
  font-family: var(--font-family-heading);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-medium);
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-dark);
  transition: width var(--transition-medium);
}

.nav-menu li a:hover {
  color: var(--accent-dark);
}

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition-medium);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  padding: 180px 0 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 20px auto 0;
}

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

/* Services Section */
.services {
  background-color: var(--white);
}

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

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

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

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

.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: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-content h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card-content p {
  margin-bottom: 20px;
  color: var(--text-color);
  flex-grow: 1;
}

.card .btn-small {
  align-self: center;
  margin-top: auto;
}

/* About Section */
.about {
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

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

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

.about-text {
  flex: 1;
}

.stats-widgets {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
}

.stat-widget {
  text-align: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 120px;
  margin: 10px;
  transition: transform var(--transition-medium);
}

.stat-widget:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 10px;
  font-family: var(--font-family-heading);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Process Section */
.process {
  background-color: var(--white);
}

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

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.step-content {
  padding-bottom: 30px;
}

.step-content h3 {
  margin-bottom: 10px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 30px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: var(--accent-color);
  z-index: 1;
}

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

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 40px 0;
}

.partner-logo {
  flex-basis: 150px;
  height: 80px;
  padding: 15px;
  background-color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium);
}

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

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partners-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

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

.resource-card {
  background-color: var(--primary-color);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.resource-card p {
  margin-bottom: 20px;
}

.resource-card a {
  font-weight: 600;
  position: relative;
}

.resource-card a::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left var(--transition-medium);
}

.resource-card a:hover::after {
  margin-left: 10px;
}

/* Instructors Section */
.instructors {
  background-color: var(--secondary-color);
}

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

.instructor-position {
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--font-family-heading);
}

/* Innovation Section */
.innovation {
  background-color: var(--white);
  overflow: hidden;
}

.innovation-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.innovation-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.innovation-text {
  flex: 1;
}

.innovation-text ul {
  margin: 20px 0;
  padding-left: 20px;
}

.innovation-text li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
}

.innovation-text li::before {
  content: '•';
  color: var(--accent-dark);
  font-weight: bold;
  position: absolute;
  left: 0;
}

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

.innovation-slider h3 {
  text-align: center;
  margin-bottom: 30px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.slider-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.slider-item {
  flex: 0 0 100%;
  padding: 20px;
  background-color: var(--primary-color);
  text-align: center;
}

.slider-item img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 15px;
  border-radius: var(--radius-sm);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
}

.slider-prev,
.slider-next {
  background: var(--accent-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color var(--transition-medium);
}

.slider-prev:hover,
.slider-next:hover {
  background-color: var(--text-dark);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition-medium);
}

.slider-dots span.active {
  background-color: var(--accent-dark);
}

/* Careers Section */
.careers {
  background-color: var(--secondary-color);
}

.careers-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.careers-text {
  flex: 2;
}

.careers-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.vacancy {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: transform var(--transition-medium);
}

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

.vacancy h4 {
  margin-bottom: 10px;
  color: var(--accent-dark);
}

.careers-text ul {
  margin: 20px 0 30px;
  padding-left: 20px;
}

.careers-text li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
}

.careers-text li::before {
  content: '•';
  color: var(--accent-dark);
  font-weight: bold;
  position: absolute;
  left: 0;
}

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

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-item p {
  color: var(--text-light);
}

.contact-item a {
  color: var(--accent-dark);
  transition: color var(--transition-medium);
}

.contact-item a:hover {
  color: var(--text-dark);
}

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

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

.contact-form h3 {
  margin-bottom: 20px;
  text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--accent-color);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.checkmark {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 2px solid var(--accent-color);
  border-radius: 3px;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--accent-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-info {
  flex-basis: 300px;
}

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

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.footer-nav,
.footer-legal,
.footer-social {
  flex-basis: 200px;
}

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

.footer h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  margin-top: 10px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-medium);
  text-decoration: none;
}

.footer ul li a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-social ul {
  display: flex;
  gap: 15px;
}

.footer-social ul li a {
  display: inline-block;
  padding: 8px 0;
  transition: transform var(--transition-medium);
}

.footer-social ul li a:hover {
  transform: translateY(-3px);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 500px;
  padding: 30px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-medium);
}

.close-modal:hover {
  color: var(--text-dark);
}

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

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

.success-icon {
  font-size: 4rem;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

/* Privacy & Terms Pages */
.privacy-content,
.terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2,
.terms-content h2 {
  margin-top: 40px;
}

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

.privacy-content ul,
.terms-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.privacy-content li,
.terms-content li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.privacy-content li::before,
.terms-content li::before {
  content: '•';
  color: var(--accent-dark);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Animation helper classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

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

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

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

/* Morphing Animations */
.morph-bg {
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* AOS animations enhancements */
[data-aos] {
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Media Queries */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .about-content,
  .innovation-content,
  .careers-content,
  .contact-content {
    flex-direction: column;
  }

  .about-image,
  .about-text,
  .innovation-image,
  .innovation-text,
  .careers-text,
  .careers-image,
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-info,
  .footer-nav,
  .footer-legal,
  .footer-social {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.3rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: height var(--transition-medium);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    height: auto;
    padding: 20px 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 15px 0;
  }

  .burger-menu {
    display: flex;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid,
  .instructors-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .card {
    max-width: 350px;
    margin: 0 auto;
  }

  .partners-logos {
    gap: 20px;
  }

  .partner-logo {
    flex-basis: 120px;
    height: 60px;
  }

  .stat-widget {
    flex: 0 0 calc(50% - 20px);
  }

  .hero-content h2 {
    font-size: 2rem;
  }
}
html,body{
  overflow-x: hidden;
}