:root {
  /* Primary colors */
  --primary-color: #6a11cb;
  --primary-dark: #4a0d91;
  --primary-light: #8d3dff;
  
  /* Secondary colors */
  --secondary-color: #2575fc;
  --secondary-dark: #1a56c4;
  --secondary-light: #4a91ff;
  
  /* Accent colors */
  --accent-color: #ff9100;
  --accent-dark: #e67e00;
  --accent-light: #ffb14d;
  
  /* Neutral colors */
  --dark: #1a1a2e;
  --medium: #3a3a5a;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Gradient combinations */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--medium) 100%);
  --gradient-light: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index layers */
  --z-negative: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

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

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

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

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

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

/* Utility Classes */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section-title {
  position: relative;
  padding-bottom: var(--spacing-md);
}

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(106, 17, 203, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(106, 17, 203, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(106, 17, 203, 0);
  }
}

.animate-element {
  opacity: 0;
}

.animated {
  opacity: 1;
}

.animated[data-animation="fadeInUp"] {
  animation: fadeInUp var(--transition-normal) forwards;
}

.animated[data-animation="fadeInLeft"] {
  animation: fadeInLeft var(--transition-normal) forwards;
}

.animated[data-animation="fadeInRight"] {
  animation: fadeInRight var(--transition-normal) forwards;
}

.animated[data-animation="fadeIn"] {
  animation: fadeIn var(--transition-normal) forwards;
}

/* Navbar Styles */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--medium);
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent;
}

.navbar-brand .title {
  margin-bottom: 0;
}

.navbar-burger {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 0;
}

.hero-body {
  z-index: var(--z-normal);
  position: relative;
}

.hero .title, 
.hero .subtitle, 
.hero p {
  color: var(--white) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-normal);
  animation: fadeInUp var(--transition-slow) infinite alternate;
}

.hero-scroll-indicator .icon {
  color: var(--white);
  font-size: 2rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover .icon {
  opacity: 1;
}

.pulse-button {
  animation: pulse 2s infinite;
}

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

.service-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.service-card .card-image {
  overflow: hidden;
}

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

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

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

.service-card .content {
  flex-grow: 1;
  margin-bottom: var(--spacing-lg);
}

.service-card .progress-container {
  margin-top: var(--spacing-md);
}

.service-card .progress {
  height: 8px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.service-card .progress::-webkit-progress-bar {
  background-color: var(--light);
}

.service-card .progress::-webkit-progress-value {
  background: var(--gradient-primary);
}

.service-card .button {
  margin-top: auto;
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
  padding: var(--spacing-xxl) 0;
}

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

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

.timeline-item {
  padding: var(--spacing-lg) 0;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: var(--spacing-xl);
}

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

.timeline-marker {
  position: absolute;
  background: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -12px;
}

.timeline-content {
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
    padding-left: 70px;
  }
  
  .timeline-item:nth-child(odd) .timeline-marker, 
  .timeline-item:nth-child(even) .timeline-marker {
    left: 15px;
  }
}

/* Insights Section */
.insights-section {
  background-color: var(--white);
  padding: var(--spacing-xxl) 0;
}

.insight-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.insight-card .card-image {
  overflow: hidden;
}

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

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

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

.insight-card .content {
  flex-grow: 1;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: var(--spacing-md);
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.read-more .icon {
  margin-left: var(--spacing-xs);
  transition: transform var(--transition-fast);
}

.read-more:hover .icon {
  transform: translateX(5px);
}

/* Resources Section */
.resources-section {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
  padding: var(--spacing-xxl) 0;
}

.resource-card {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.resource-card h3 {
  margin-bottom: var(--spacing-sm);
}

.resource-card p {
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.resource-card .button {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resource-card .button .icon {
  margin-left: var(--spacing-xs);
  transition: transform var(--transition-fast);
}

.resource-card:hover .button .icon {
  transform: translateX(5px);
}

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

.instructor-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.instructor-card .card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
}

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

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

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

.instructor-card .content {
  flex-grow: 1;
}

.instructor-card .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.instructor-card .tag {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  margin: 0 var(--spacing-xs) var(--spacing-xs) 0;
  font-weight: 500;
}

/* Community Section */
.community-section {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
  padding: var(--spacing-xxl) 0;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.testimonial-content {
  flex-grow: 1;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.testimonial-content p {
  font-style: italic;
}

.testimonial-content::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--primary-light);
  opacity: 0.2;
  position: absolute;
  top: -40px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-md);
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  font-weight: 700;
  margin-bottom: 0;
}

.author-info p {
  margin-bottom: 0;
  color: var(--medium);
}

.community-stats {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-box {
  text-align: center;
  padding: var(--spacing-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.stat-label {
  font-weight: 600;
  color: var(--medium);
  display: block;
}

/* Clientele Section */
.clientele-section {
  background-color: var(--white);
  padding: var(--spacing-xxl) 0;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-md);
  height: 120px;
  opacity: 0.7;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

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

/* Careers Section */
.careers-section {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
  padding: var(--spacing-xxl) 0;
}

.career-image {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.career-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.career-content {
  height: 100%;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
}

.career-listings {
  margin-top: var(--spacing-md);
}

.career-item {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.career-item:last-child {
  border-bottom: none;
}

.career-item h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

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

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

.contact-info {
  margin-bottom: var(--spacing-xl);
}

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

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: var(--spacing-md);
  margin-top: var(--spacing-xs);
}

.contact-item h3 {
  margin-bottom: var(--spacing-xs);
}

.contact-item p {
  margin-bottom: var(--spacing-xs);
}

.contact-form-container {
  background-color: var(--light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form .label {
  font-weight: 600;
  color: var(--medium);
}

.contact-form .input, 
.contact-form .textarea {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form .input:focus, 
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.2);
}

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

.footer h3 {
  color: var(--white);
}

.footer p {
  color: var(--light);
  opacity: 0.8;
}

.footer-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--light);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--light);
  opacity: 0.8;
  margin-right: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.social-links a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.copyright {
  font-size: 0.875rem;
  opacity: 0.7;
}

hr {
  background-color: rgba(255, 255, 255, 0.1);
  margin: var(--spacing-lg) 0;
}

/* Modal Gallery */
.modal-gallery {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.modal-gallery img {
  width: 100%;
  border-radius: var(--radius-md);
}

.modal-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.modal-prev, 
.modal-next {
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin: 0 var(--spacing-md);
  transition: background var(--transition-fast);
}

.modal-prev:hover, 
.modal-next:hover {
  background: var(--white);
}

/* Button Styles */
.button {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.button.is-primary {
  background: var(--gradient-primary);
  border-color: transparent;
}

.button.is-primary:hover {
  background: var(--gradient-primary);
  filter: brightness(1.1);
}

.button.is-primary.is-outlined {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.button.is-primary.is-outlined:hover {
  background: var(--primary-color);
  color: var(--white);
}

.button.is-light.is-outlined {
  border-color: var(--white);
  color: var(--white);
}

.button.is-light.is-outlined:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.success-container {
  max-width: 600px;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .contact-info {
    margin-bottom: var(--spacing-lg);
  }
  
  .career-image {
    margin-bottom: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

.image.is-1by1, .image.is-square {
  width: 100%;
  height: 100%;
}