/* CSS Variables */
:root {
  /* Brutalist Color Palette - Complementary Scheme */
  --primary-color: #ff3e3e; /* Vivid Red */
  --primary-dark: #cc2929; /* Darker Red */
  --secondary-color: #3e9fff; /* Complementary Blue */
  --secondary-dark: #2970cc; /* Darker Blue */
  --accent-color: #ffd23e; /* Accent Yellow */
  --accent-dark: #cc9929; /* Darker Yellow */
  --dark-color: #2d2d2d; /* Near Black */
  --light-color: #f9f9f9; /* Off White */
  --gray-color: #6c757d; /* Medium Gray */
  --light-gray: #e9ecef; /* Light Gray */
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Merriweather', serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --content-padding: 1.5rem;
  
  /* Brutalist Design Elements */
  --border-radius: 0; /* Sharp corners */
  --box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.8); /* Harsh shadows */
  --btn-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
  --card-tilt: -2deg; /* Slight tilt for asymmetric balance */
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

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

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mb-6 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mt-6 {
  margin-top: 4rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

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

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

.navbar-burger {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark-color);
  transition: all var(--transition-fast);
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all var(--transition-medium);
}

.navbar-item {
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-family: var(--heading-font);
  color: var(--dark-color);
  position: relative;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.navbar-item:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.navbar-item:hover:after {
  width: 80%;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  position: relative;
}

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
  transform: translateX(-100px);
  opacity: 0;
  animation: slideInRight 1s forwards 0.5s;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  transform: translateX(-100px);
  opacity: 0;
  animation: slideInRight 1s forwards 0.8s;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 1s forwards 1.1s;
}

.hero .buttons {
  display: flex;
  gap: 1rem;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 1s forwards 1.4s;
}

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

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

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  animation: bounce 2s infinite;
  cursor: pointer;
}

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

/* Button Styles */
.button {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  user-select: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 3px solid transparent;
  box-shadow: var(--btn-shadow);
  cursor: pointer;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255,255,255,0.1);
  transition: all 0.3s ease-out;
  z-index: -1;
}

.button:hover::before {
  width: 100%;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
}

.button.is-white.is-outlined {
  background-color: transparent;
  color: white;
  border-color: white;
}

.button.is-white.is-outlined:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
}

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

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

.features-section .card {
  height: 100%;
  border-radius: var(--border-radius);
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: rotate(var(--card-tilt));
  background-color: white;
  margin-bottom: 30px;
}

.features-section .card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.8);
}

.features-section .card-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-section .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.features-section .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.features-section .card-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.features-section .card-content h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.features-section .card-content .content {
  flex: 1;
}

/* Resources Section */
.resources-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  position: relative;
}

.resources-section .card {
  height: 100%;
  border-radius: var(--border-radius);
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: rotate(calc(var(--card-tilt) * -1));
  background-color: white;
  margin-bottom: 30px;
}

.resources-section .card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.8);
}

.resources-section .card-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resources-section .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.resources-section .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: var(--dark-color);
}

.resources-section .card-content h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
}

.resources-section .card-content h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.resources-section .card-content .content {
  flex: 1;
}

.external-resources {
  position: relative;
  padding: 3rem;
  border: 3px solid white;
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.2);
}

.external-card {
  height: 100%;
  padding: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-medium);
}

.external-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(255, 210, 62, 0.3);
  transform: translateY(-5px);
}

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

.webinars-section .card {
  height: 100%;
  border-radius: var(--border-radius);
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: rotate(var(--card-tilt));
  background-color: white;
  margin-bottom: 30px;
}

.webinars-section .card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.8);
}

.webinars-section .card-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.webinars-section .card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.webinars-section .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.webinars-section .webinar-date {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.webinars-section .card-content h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
}

.webinars-section .card-content h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.webinars-section .card-content .content {
  flex: 1;
}

/* Events Section */
.events-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  position: relative;
}

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

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: white;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.timeline-marker {
  position: absolute;
  background-color: var(--accent-color);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  left: 50%;
  margin-left: -10px;
  transition: all var(--transition-medium);
  z-index: 10;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.5);
  background-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 62, 62, 0.5);
}

.timeline-content {
  width: 100%;
}

.timeline-content .card {
  border-radius: var(--border-radius);
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-medium);
  background-color: white;
  margin-bottom: 30px;
  transform: rotate(calc(var(--card-tilt) * -1));
}

.timeline-content .card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.3);
}

.timeline-content .card-content {
  padding: 1.5rem;
  color: var(--dark-color);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  padding: 1rem;
  height: 100%;
  font-family: var(--heading-font);
  text-align: center;
}

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

.event-date .month {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Partners Section */
.partners-section {
  background-color: var(--light-color);
  position: relative;
}

.partners-section .card {
  height: 100%;
  border-radius: var(--border-radius);
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: rotate(var(--card-tilt));
  background-color: white;
  margin-bottom: 30px;
}

.partners-section .card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.8);
}

.partners-section .card-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-section .card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.partners-section .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.partners-section .card-content h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
}

.partners-section .card-content h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.partners-section .card-content .content {
  flex: 1;
}

/* Contact Section */
.contact-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  position: relative;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

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

.contact-form-container {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 3px solid white;
  box-shadow: var(--box-shadow);
  transform: rotate(calc(var(--card-tilt) * -1));
  transition: all var(--transition-medium);
}

.contact-form-container:hover {
  transform: rotate(0deg);
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.2);
}

.contact-form .label {
  margin-bottom: 0.5rem;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--dark-color);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.8);
  border-color: var(--primary-color);
}

.contact-form .checkbox a {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer h3 {
  color: white;
  position: relative;
  display: inline-block;
}

.footer h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

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

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
  padding-left: 5px;
}

.social-links {
  display: flex;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: white;
  margin-right: 1rem;
  transition: all var(--transition-fast);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}

.social-links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-medium);
}

.social-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.social-links a:hover:after {
  width: 100%;
}

.newsletter input {
  border: 2px solid var(--light-gray);
  background-color: transparent;
  color: white;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  box-shadow: none;
}

.newsletter .button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  box-shadow: none;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--light-gray);
}

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

.success-content {
  max-width: 800px;
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
}

.success-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

/* Privacy & Terms pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-content, .terms-content {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  :root {
    --card-tilt: -1deg;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-menu.is-active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
    margin-left: 0;
  }
  
  .timeline-content {
    margin-left: 40px;
  }
  
  .event-date {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.25rem;
  }
  
  .hero .buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero .button {
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .features-section .card,
  .resources-section .card,
  .webinars-section .card,
  .partners-section .card {
    transform: none;
  }
  
  .contact-form-container {
    transform: none;
  }
}

/* AOS Animation Styles */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  
  &.aos-animate {
    opacity: 1;
  }
}

[data-aos="fade-up"] {
  transform: translateY(50px);
  
  &.aos-animate {
    transform: translateY(0);
  }
}

[data-aos="fade-down"] {
  transform: translateY(-50px);
  
  &.aos-animate {
    transform: translateY(0);
  }
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
  
  &.aos-animate {
    transform: translateX(0);
  }
}

[data-aos="fade-left"] {
  transform: translateX(50px);
  
  &.aos-animate {
    transform: translateX(0);
  }
}

/* Initialize AOS */
document.addEventListener('DOMContentLoaded', function() {
  AOS.init({
    duration: 800,
    easing: 'ease-in-out',
    once: true,
    mirror: false
  });
  
  // Mobile menu toggle
  const burger = document.querySelector('.navbar-burger');
  const menu = document.querySelector('.navbar-menu');
  
  burger.addEventListener('click', function() {
    burger.classList.toggle('is-active');
    menu.classList.toggle('is-active');
  });
});