/* === CSS Variables === */
:root {
  /* Triadic Color Scheme */
  --primary-color: #4a6fd4;
  --secondary-color: #d44a6f;
  --tertiary-color: #6fd44a;

  /* Variations */
  --primary-dark: #3a5ec0;
  --primary-light: #7b93e0;
  --secondary-dark: #b03a5a;
  --secondary-light: #e57a97;
  --tertiary-dark: #5ab03a;
  --tertiary-light: #90e57a;

  /* Neutrals */
  --dark: #333333;
  --dark-medium: #555555;
  --medium: #777777;
  --light-medium: #999999;
  --light: #e5e5e5;
  --very-light: #f8f8f8;
  --white: #ffffff;

  /* Shadows */
  --neomorphic-shadow-small: 5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 0.7);
  --neomorphic-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
    -8px -8px 16px rgba(255, 255, 255, 0.7);
  --neomorphic-shadow-pressed: inset 4px 4px 8px rgba(0, 0, 0, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 0.7);

  /* Border radius */
  --border-radius-small: 8px;
  --border-radius-medium: 12px;
  --border-radius-large: 20px;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Work Sans", sans-serif;

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

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

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

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

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--dark-medium);
}

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

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

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--medium);
  margin-bottom: var(--spacing-lg);
}

.title-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 0 auto 2rem;
  border-radius: 2px;
}

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

/* === Neomorphic Elements === */
.neomorphic-card {
  background-color: var(--very-light);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-shadow);
  padding: var(--spacing-md);
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.12),
    -10px -10px 20px rgba(255, 255, 255, 0.8);
}

.neomorphic-btn {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-small);
  font-weight: 500;
  border: none;
  box-shadow: var(--neomorphic-shadow-small);
  transition: all var(--transition-normal);
  text-align: center;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.neomorphic-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width var(--transition-normal);
  z-index: -1;
}

.neomorphic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.15),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.neomorphic-btn:hover::before {
  width: 100%;
}

.neomorphic-btn:active {
  transform: translateY(0);
  box-shadow: var(--neomorphic-shadow-pressed);
}

.neomorphic-btn-outline {
  background-color: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: var(--border-radius-small);
  font-weight: 500;
  transition: all var(--transition-normal);
  text-align: center;
  display: inline-block;
}

.neomorphic-btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.neomorphic-btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.neomorphic-input {
  background-color: var(--very-light);
  border: none;
  border-radius: var(--border-radius-small);
  padding: 12px 15px;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 0.7);
  transition: all var(--transition-normal);
  width: 100%;
}

.neomorphic-input:focus {
  outline: none;
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.12),
    inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  border: 1px solid var(--primary-light);
}

.neomorphic-modal {
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-shadow);
  border: none;
}

.neomorphic-header {
  background-color: var(--very-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
}

/* === Header === */
.header-area {
  padding: 15px 0;
  background-color: var(--white);
}

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

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition-normal);
}

.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link:hover::after {
  width: 70%;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  box-shadow: var(--neomorphic-shadow-small);
  border-radius: var(--border-radius-small);
}

.navbar-toggler:focus {
  box-shadow: var(--neomorphic-shadow-pressed);
  outline: none;
}

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

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

.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  animation: fadeInUp 1.5s ease;
  padding-top: 14rem;
}

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

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* === Vision Section === */
.vision-section {
  position: relative;
  overflow: hidden;
}

.vision-image-container {
  overflow: hidden;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-shadow);
}

.vision-image-container img {
  transition: transform var(--transition-slow);
  width: 100%;
  object-fit: cover;
}

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

.vision-content {
  padding: var(--spacing-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision-values {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--spacing-md);
}

.value-item {
  display: flex;
  align-items: center;
  background-color: var(--very-light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-small);
  box-shadow: var(--neomorphic-shadow-small);
  transition: transform var(--transition-normal);
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.12),
    -6px -6px 12px rgba(255, 255, 255, 0.8);
}

.value-item i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* === Statistics Section === */
.statistics-section {
  position: relative;
}

.stat-card {
  text-align: center;
  transition: transform var(--transition-normal);
  padding: var(--spacing-md);
}

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

.stat-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--white);
  font-size: 2rem;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--neomorphic-shadow-small);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-title {
  color: var(--dark-medium);
  font-weight: 500;
}

.testimonial-card {
  margin-top: var(--spacing-lg);
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark-medium);
  position: relative;
  padding: 0 var(--spacing-md);
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  line-height: 1;
}

.testimonial-text::before {
  top: -10px;
  left: 0;
}

.testimonial-text::after {
  bottom: -40px;
  right: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: var(--spacing-md);
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--neomorphic-shadow-small);
  margin-right: 1rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

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

/* === Instructors Section === */
.instructor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: var(--border-radius-small);
  margin-bottom: var(--spacing-md);
}

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

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

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

.instructor-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.instructor-bio {
  margin-bottom: var(--spacing-md);
  color: var(--dark-medium);
}

.instructor-specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
}

.instructor-specialties span {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* === Resources Section === */
.resources-section {
  position: relative;
}

.resource-card {
  height: 100%;
  padding: var(--spacing-md);
}

.resource-card h3 {
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

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

.resource-list li {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--light);
  transition: transform var(--transition-normal);
}

.resource-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.resource-list li:hover {
  transform: translateX(5px);
}

.resource-list a {
  display: block;
  color: var(--dark);
  text-decoration: none;
}

.resource-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.resource-description {
  font-size: 0.9rem;
  color: var(--medium);
  margin-bottom: 0;
}

/* === Media Section === */
.media-section {
  position: relative;
}

.media-featured {
  margin-bottom: var(--spacing-md);
}

.video-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-small);
  margin-bottom: var(--spacing-md);
}

.video-container img {
  width: 100%;
  transition: transform var(--transition-normal);
}

.video-container:hover img {
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(2px);
}

.play-button i {
  font-size: 3rem;
  color: var(--white);
}

.play-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.1);
}

.featured-content {
  padding: 0 var(--spacing-sm);
}

.gallery-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--spacing-sm);
  height: 100%;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--border-radius-small);
  position: relative;
}

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

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

/* === Events Section === */
.events-section {
  position: relative;
}

.event-card {
  display: flex;
  height: 100%;
  overflow: hidden;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-sm);
  min-width: 100px;
  border-top-left-radius: var(--border-radius-medium);
  border-bottom-left-radius: var(--border-radius-medium);
}

.event-date .day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 1.2rem;
  font-weight: 500;
}

.event-content {
  padding: var(--spacing-md);
  flex-grow: 1;
}

.event-content h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.event-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--medium);
  font-size: 0.9rem;
}

.event-meta span {
  display: flex;
  align-items: center;
}

.event-meta i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

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

/* === Contact Section === */
.contact-section {
  position: relative;
}

.contact-info-card,
.contact-form-card {
  height: 100%;
}

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

.contact-list li {
  display: flex;
  margin-bottom: var(--spacing-md);
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list i {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  box-shadow: var(--neomorphic-shadow-small);
}

.contact-list h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-list p {
  margin-bottom: 0;
}

.contact-map {
  overflow: hidden;
  border-radius: var(--border-radius-small);
  box-shadow: var(--neomorphic-shadow-small);
}

.contact-form h3 {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.form-check-input {
  margin-top: 0.3rem;
}

/* === Footer === */
.footer-section {
  background-color: var(--dark);
  color: var(--light);
  padding-top: var(--spacing-xl);
  position: relative;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--light);
  transition: color var(--transition-normal);
}

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

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

.footer-links li {
  margin-bottom: 0.5rem;
}

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

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

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

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--light-medium);
}

.footer-contact i {
  color: var(--primary-light);
  margin-right: 0.75rem;
}

.footer-contact a {
  color: var(--light-medium);
}

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

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

.footer-bottom p {
  margin-bottom: 0;
  color: var(--light-medium);
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

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

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

/* === Modal Styles === */
.modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: none;
  padding: 0.5rem 1.5rem 1.5rem;
}

/* === Cookie Consent === */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 15px;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  padding: 5px 20px 5px 0;
  color: white;
  flex: 1;
}

.cookie-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.cookie-btn:hover {
  background-color: var(--primary-dark);
}

/* === Utilities === */
.text-center {
  text-align: center;
}

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

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

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

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

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--tertiary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--neomorphic-shadow);
  animation: pulse 2s infinite;
}

/* === Terms/Privacy Pages === */
.legal-page {
  padding-top: 120px;
  padding-bottom: var(--spacing-xl);
}

.legal-content {
  background-color: var(--white);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-shadow);
  padding: var(--spacing-lg);
}

.legal-content h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.legal-content h3 {
  color: var(--dark);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

/* === Media Queries === */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: var(--spacing-lg) 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    min-width: auto;
    width: 100%;
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
    padding: var(--spacing-xs);
    gap: 0.5rem;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: var(--spacing-sm);
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: var(--spacing-md) 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-text::before,
  .testimonial-text::after {
    font-size: 2rem;
  }

  .testimonial-text::after {
    bottom: -30px;
  }
}
