/* Base Settings and CSS Variables */
:root {
  /* Primary Colors - Analogous Color Scheme */
  --primary-color: #4a2480;
  --secondary-color: #4e5de0;
  --tertiary-color: #3c7fe2;
  --accent-color: #6842e0;
  --highlight-color: #2f55c8;
  
  /* Text Colors */
  --text-dark: #2a2a3a;
  --text-light: #e9eaff;
  --text-muted: #6c7293;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9ff;
  --bg-tertiary: #e9ecff;
  --bg-dark: #1a1a2e;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
  --overlay-dark: rgba(26, 26, 46, 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 30px rgba(0, 0, 0, 0.15);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container Max Width */
  --container-width: 1200px;
}

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

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

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

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

a:hover {
  color: var(--accent-color);
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Section Styles */
section {
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

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

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  color: var(--text-muted);
}

/* Buttons */
.btn, button, input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

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

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo h1 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.nav-menu ul {
  display: flex;
  gap: var(--spacing-md);
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color var(--transition-normal);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--spacing-xl) 0;
  margin-top: 70px;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

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

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}

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

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

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

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

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

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

/* Process Section */
.process {
  background-color: var(--bg-secondary);
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.step-number {
  background: var(--gradient-primary);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.step-content {
  padding-bottom: var(--spacing-md);
}

.process-step:not(:last-child) .step-content::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-color), transparent);
}

/* Projects Section */
.projects-slider {
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform var(--transition-slow);
}

.slide {
  min-width: 100%;
  padding: 0 var(--spacing-sm);
}

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

.prev-slide, .next-slide {
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.prev-slide:hover, .next-slide:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* External Resources Section */
.external-resources {
  background-color: var(--bg-tertiary);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.resource-card {
  background-color: var(--bg-primary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  text-align: center;
}

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

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

.resource-card p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-muted);
}

.resource-card a {
  display: inline-block;
  font-weight: 500;
  color: var(--tertiary-color);
  margin-top: var(--spacing-xs);
  transition: color var(--transition-normal);
}

.resource-card a:hover {
  color: var(--accent-color);
}

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

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

.webinar-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  text-align: center;
}

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

.webinar-date {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

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

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

.webinar-card .btn {
  margin-top: auto;
}

/* Innovation Section */
.innovation {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: var(--spacing-xl) 0;
}

.innovation .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
}

.innovation .container {
  position: relative;
  z-index: 2;
}

.innovation .section-title {
  color: var(--text-light);
}

.innovation-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.accordion-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}

.accordion-header {
  padding: var(--spacing-sm);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
}

.accordion-item.active .accordion-header::after {
  content: '-';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-content p {
  padding: var(--spacing-sm);
  padding-top: 0;
}

/* Press Section */
.press {
  background-color: var(--bg-secondary);
}

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

.press-quote {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.press-quote blockquote {
  position: relative;
  font-style: italic;
  margin-bottom: var(--spacing-sm);
  padding: 0 var(--spacing-sm);
}

.press-quote blockquote::before,
.press-quote blockquote::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent-color);
  position: absolute;
  line-height: 1;
}

.press-quote blockquote::before {
  top: 0;
  left: -10px;
}

.press-quote blockquote::after {
  bottom: -10px;
  right: -10px;
}

.press-quote cite {
  color: var(--text-muted);
  font-style: normal;
  font-weight: 500;
}

/* Insights Section */
.insights {
  background-color: var(--bg-primary);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

/* Events Section */
.events {
  background-color: var(--bg-secondary);
}

.events-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.event {
  display: flex;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.5s ease-out both;
}

.event-date {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 100px;
  margin-right: var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

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

.event-date .year {
  font-size: 0.9rem;
}

.event-content {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  flex-grow: 1;
}

.event-content h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--primary-color);
}

.event-location {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

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

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

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

.contact-details {
  margin-top: var(--spacing-md);
}

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

.contact-label {
  font-weight: 500;
  color: var(--accent-color);
  width: 100px;
}

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

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(78, 93, 224, 0.1);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: var(--spacing-lg);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.footer-logo {
  flex: 1 1 300px;
}

.footer-logo h2 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  flex: 2 1 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-md);
}

.footer-links-column h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.footer-links-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-links-column a {
  color: var(--text-muted);
  transition: color var(--transition-normal);
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.social-links a {
  color: var(--text-muted);
  transition: color var(--transition-normal);
  display: flex;
  align-items: center;
}

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

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

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

.success-page h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.success-page p {
  max-width: 600px;
  margin-bottom: var(--spacing-md);
}

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

.terms-page .container, .privacy-page .container {
  max-width: 800px;
}

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

.terms-page h2, .privacy-page h2 {
  color: var(--secondary-color);
  margin: var(--spacing-md) 0 var(--spacing-sm);
}

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

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
  }

  .hamburger-menu {
    display: flex;
  }

  .event {
    flex-direction: column;
  }

  .event-date {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .event-date .month, .event-date .day, .event-date .year {
    margin: 0 var(--spacing-xs);
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    flex-direction: column;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }

  .process-step:not(:last-child) .step-content::before {
    display: none;
  }
}
.contact-item {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: baseline;
    flex-direction: column;
}