:root {
  /* Primary Colors */
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #4834d4;
  
  /* Secondary Colors */
  --secondary: #00b894;
  --secondary-light: #55efc4;
  --secondary-dark: #00a380;
  
  /* Accent Colors */
  --accent: #ff7675;
  --accent-light: #ff9f9f;
  --accent-dark: #e84c4c;
  
  /* Neutral Colors */
  --dark: #2d3436;
  --dark-medium: #636e72;
  --light-medium: #b2bec3;
  --light: #dfe6e9;
  --white: #ffffff;
  
  /* Shadow Colors */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgba(45, 52, 54, 0.15);
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-rounded: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  
  /* Box Shadows for Neomorphism */
  --neumorphism-light: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light);
  --neumorphism-pressed: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
  --neumorphism-flat: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-dark));
  --gradient-dark-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

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

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

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

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

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

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

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

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

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

.section-padding {
  padding: var(--spacing-xl) 0;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
  font-size: 1.1rem;
  color: var(--dark-medium);
}

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

/* Utility Classes */
.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-light {
  color: var(--light) !important;
}

.text-dark {
  color: var(--dark) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-dark {
  background-color: var(--dark) !important;
}

/* Neumorphic Card Base */
.card {
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphism-flat);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--neumorphism-light);
}

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

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

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

.card-content {
  padding: var(--spacing-md);
  width: 100%;
  text-align: center;
}

/* Button Styles */
.btn, 
button, 
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: var(--neumorphism-flat);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: 0;
}

.btn:hover::before {
  left: 100%;
}

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

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

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

.btn-secondary:hover {
  background: var(--secondary-dark);
  box-shadow: var(--neumorphism-light);
  color: var(--white);
}

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

.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: var(--neumorphism-light);
  color: var(--white);
}

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

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Form Elements */
input, 
textarea, 
select {
  width: 100%;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: none;
  background-color: var(--light);
  box-shadow: inset 3px 3px 5px var(--shadow-dark), inset -3px -3px 5px var(--shadow-light);
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  box-shadow: inset 3px 3px 5px var(--shadow-dark), inset -3px -3px 5px var(--shadow-light), 0 0 0 3px rgba(108, 92, 231, 0.1);
}

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

.navbar {
  padding: 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary) !important;
}

.navbar-nav {
  display: flex;
  align-items: center;
}
.navbar-toggler{
background: #000;
}
.nav-link {
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  color: var(--dark) !important;
  font-weight: 600;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-medium), left var(--transition-medium);
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

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

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

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.hero-title {
  color: var(--white);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

/* Games Section */
.games-section {
  background-color: var(--light);
}

.game-card {
  height: 100%;
}

.progress-container {
  margin: var(--spacing-sm) 0;
}

.progress {
  height: 10px;
  border-radius: var(--radius-sm);
  background-color: var(--light-medium);
  box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
  margin-bottom: 5px;
}

.progress-bar {
  background: var(--gradient-secondary);
  border-radius: var(--radius-sm);
}

.progress-text {
  font-size: 0.8rem;
  color: var(--dark-medium);
}

.game-title {
  font-size: 1.5rem;
  margin: var(--spacing-sm) 0;
  color: var(--primary);
}

.game-description {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

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

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

.timeline-item {
  padding: var(--spacing-md) 0;
  position: relative;
  width: 50%;
  left: 0;
  padding-right: var(--spacing-md);
  box-sizing: border-box;
}

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

.timeline-dot {
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background: var(--primary);
  border: 4px solid var(--light);
  border-radius: var(--radius-rounded);
  top: calc(var(--spacing-md) + 10px);
  box-shadow: var(--neumorphism-flat);
  z-index: 1;
}

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

.timeline-content {
  position: relative;
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphism-flat);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.timeline-content h4 {
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
  font-style: italic;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--white);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--neumorphism-flat);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 250px;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--neumorphism-light);
}

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

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  transform: translateY(100%);
  transition: transform var(--transition-medium);
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.gallery-overlay p {
  color: var(--light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Case Studies Section */
.case-studies-section {
  background-color: var(--light);
}

.case-study-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.case-study-card .card-image {
  height: 300px;
}

.case-study-card h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.case-study-card p {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

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

.resource-cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

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

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

.resource-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: var(--spacing-sm);
  transition: all var(--transition-fast);
}

.resource-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--white);
}

/* Pricing Section */
.pricing-section {
  background-color: var(--light);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform var(--transition-medium);
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-light);
  position: relative;
  z-index: 1;
}

.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.pricing-card .card-header {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: var(--spacing-sm) 0;
}

.pricing-card .price span {
  font-size: 1rem;
  opacity: 0.8;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md);
  text-align: center;
}

.feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-medium);
}

.feature-list li:last-child {
  border-bottom: none;
}

/* Webinars Section */
.webinars-section {
  background-color: var(--white);
}

.webinar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.webinar-card .card-image {
  height: 250px;
}

.webinar-date {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.webinar-card h3 {
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.webinar-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
  color: var(--dark-medium);
  width: 100%;
}

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

.contact-info {
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphism-flat);
  height: 100%;
}

.info-item {
  margin-bottom: var(--spacing-md);
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
}

.contact-form-container {
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphism-flat);
  height: 100%;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background-color: var(--white);
}

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

.footer-title {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-sm);
}

.footer-description {
  color: var(--light-medium);
  margin-bottom: var(--spacing-md);
}

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

.social-links a {
  color: var(--light);
  transition: color var(--transition-fast);
  font-weight: 600;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: var(--spacing-md);
}

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

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

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

.newsletter-form {
  margin-top: var(--spacing-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
}

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

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

.success-container {
  max-width: 600px;
  padding: var(--spacing-lg);
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphism-flat);
}

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

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

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

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

.privacy-container,
.terms-container {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphism-flat);
  padding: var(--spacing-lg);
}

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

.privacy-section,
.terms-section {
  margin-bottom: var(--spacing-md);
}

.privacy-section h3,
.terms-section h3 {
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
    padding-left: 70px;
  }
  
  .timeline-dot {
    left: 15px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 15px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .footer-links {
    columns: 1;
  }
  
  .webinar-details {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: var(--spacing-lg) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .social-links {
    flex-wrap: wrap;
  }
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Custom Script Initialization */
document.addEventListener('DOMContentLoaded', function() {
  // Initialize AOS
  AOS.init({
    duration: 800,
    easing: 'ease-in-out',
    once: true
  });
  
  // Smooth scrolling for navigation
  document.querySelectorAll('a[href^="#"]').forEach(anchor => {
    anchor.addEventListener('click', function(e) {
      e.preventDefault();
      document.querySelector(this.getAttribute('href')).scrollIntoView({
        behavior: 'smooth'
      });
    });
  });
  
  // Header scroll effect
  const header = document.querySelector('.header-section');
  window.addEventListener('scroll', () => {
    if (window.scrollY > 50) {
      header.classList.add('scrolled');
    } else {
      header.classList.remove('scrolled');
    }
  });
});