/* ===== Variables ===== */
:root {
  /* Color Scheme */
  --primary-color: #ff7e00;
  --primary-dark: #e36b00;
  --primary-light: #ffaa52;
  --secondary-color: #1e58ff;
  --secondary-dark: #0a3fd9;
  --secondary-light: #5c85ff;
  --dark-color: #292929;
  --light-color: #f9f9f9;
  --gray-color: #6c757d;
  --gray-light: #e0e0e0;
  --gray-dark: #343a40;
  --white: #ffffff;
  --black: #000000;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  
  /* Typography */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Shadows & Effects */
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
  --neo-brutalism-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
  
  /* Spacing */
  --section-spacing: 5rem 0;
  --element-spacing: 2rem;
  
  /* Borders */
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --border-width: 2px;
  --border-color: var(--dark-color);
}

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

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

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

p {
  margin-bottom: 1rem;
}

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

/* ===== Layout & Container ===== */
.section {
  padding: 5rem 0;
  position: relative;
}

/* ===== Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .navbar {
  min-height: 70px;
}

.header .navbar-item {
  font-family: var(--heading-font);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.navbar-burger {
  height: 4rem;
  width: 4rem;
}

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

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-body {
  z-index: 2;
}

.hero .title, 
.hero .subtitle {
  color: var(--white) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero .title.animate-visible,
.hero .subtitle.animate-visible,
.hero p.animate-visible,
.hero .buttons.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero p {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero .buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

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

/* ===== Button Styles ===== */
.button {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-width: var(--border-width);
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--neo-brutalism-shadow);
}

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

.button.is-light:hover {
  background-color: var(--light-color);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--neo-brutalism-shadow);
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
  border-radius: var(--border-radius);
}

.button:hover::after {
  transform: scale(1);
}

/* ===== Card Styles ===== */
.card {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: var(--border-width) solid var(--gray-light);
}

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

.card.pricing-card.featured {
  transform: scale(1.05);
  border-color: var(--primary-color);
  z-index: 2;
}

.card.pricing-card.featured:hover {
  transform: scale(1.08);
}

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

.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  text-align: center;
}

.card .title {
  margin-top: 0.5rem;
  color: var(--dark-color);
}

.card .subtitle {
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.card .content {
  margin-bottom: 1.5rem;
}

/* ===== Timeline Styles ===== */
.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-content {
  width: 80%;
  margin: 0 auto;
}

/* ===== Projects Section ===== */
.projects-section {
  background-color: var(--light-color);
}

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

/* ===== Research Section ===== */
.research-section {
  background-color: var(--light-color);
}

/* ===== Resources Section ===== */
.resources-section {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

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

.resource-links li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.5rem;
}

.resource-links li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
}

.resource-links a {
  color: var(--white);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* ===== Community Section ===== */
.community-section {
  background-color: var(--light-color);
}

/* ===== Webinars Section ===== */
.webinars-section {
  position: relative;
  color: var(--white);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

.pricing-card {
  text-align: center;
  border: var(--border-width) solid var(--gray-light);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
  font-family: var(--heading-font);
}

.benefits-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-bottom: 1.5rem;
}

.benefits-list li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 2rem;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* ===== Team Section ===== */
.team-section {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.team-card {
  text-align: center;
  overflow: hidden;
}

.team-card .image {
  border-radius: 0;
  overflow: hidden;
}

.team-card img {
  transition: transform 0.5s ease;
}

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

/* ===== Events Section ===== */
.events-section {
  background-color: var(--light-color);
}

.event-card {
  height: 100%;
}

/* ===== Contact Section ===== */
.contact-section {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.contact-section .card {
  background-color: rgba(255, 255, 255, 0.95);
}

.contact-section .label {
  color: var(--dark-color);
}

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

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

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

.footer-links a {
  color: var(--gray-light);
  transition: color 0.3s ease;
}

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

.footer-social {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}

.footer-social li {
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-social a {
  color: var(--gray-light);
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-social a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

.newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.newsletter .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Additional Pages ===== */
.privacy-page, .terms-page {
  padding-top: 100px;
}

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

/* ===== Animation ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: 100%;
    padding-left: 60px;
  }
  
  .card.pricing-card.featured {
    transform: scale(1);
  }
  
  .card.pricing-card.featured:hover {
    transform: scale(1.03);
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.2rem !important;
  }
  
  .section {
    padding: 3rem 0;
  }
}