/* ============================
   Variables & Root Styles
   ============================ */
:root {
  /* Color Palette - Monochromatic */
  --primary-color: #2a3990;
  --primary-dark: #1a2470;
  --primary-light: #4a59b0;
  --primary-lighter: #6a79d0;
  --primary-lightest: #eef0fa;
  
  --neutral-dark: #212121;
  --neutral: #484848;
  --neutral-light: #757575;
  --neutral-lighter: #bdbdbd;
  --neutral-lightest: #f5f5f5;
  
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  
  --white: #ffffff;
  --black: #000000;
  
  /* Typography */
  --heading-font: 'Space Grotesk', sans-serif;
  --body-font: 'DM Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-circle: 50%;
  
  /* 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 8px 16px rgba(0,0,0,0.1);
  --shadow-xl: 0 12px 24px rgba(0,0,0,0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================
   Global Styles
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

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

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

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-dark);
}

.section-title p {
  font-size: 1.2rem;
  color: var(--neutral-light);
}

/* ============================
   Buttons
   ============================ */
.button,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.button:active,
button:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

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

.button.is-light:hover {
  background-color: var(--primary-lightest);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

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

.button.is-rounded {
  border-radius: 2rem;
}

.button.is-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.button.is-medium {
  padding: 0.875rem 1.75rem;
  font-size: 1.125rem;
}

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

/* ============================
   Header & Navigation
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal);
}

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

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

.navbar-brand h1 {
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.navbar-item {
  padding: 0.5rem 1rem;
  color: var(--neutral-dark);
  font-weight: 500;
  transition: color var(--transition-normal);
}

.navbar-item:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--neutral-dark);
  display: block;
  height: 2px;
  width: 25px;
  position: absolute;
  left: 50%;
  margin-left: -12.5px;
  transition: all var(--transition-normal);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

.navbar-burger span:nth-child(2) {
  top: 50%;
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 8px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================
   Hero Section
   ============================ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 1;
}

.hero-body {
  position: relative;
  width: 100%;
  z-index: 2;
  padding: var(--spacing-xl) 0;
}

.hero-body .title,
.hero-body .subtitle,
.hero-body p {
  color: var(--white);
}

.hero-body .title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-body .subtitle {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-foot {
  position: relative;
  z-index: 2;
  text-align: center;
}

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

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

/* ============================
   Vision Section
   ============================ */
#vision {
  background-color: var(--white);
}

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

.card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
}

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

.card-image {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card-image img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  margin: 0 auto;
}

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

.card-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-dark);
}

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

/* ============================
   Process Section
   ============================ */
#process {
  position: relative;
  background-color: var(--neutral-lightest);
}

.timeline {
  position: relative;
  padding: var(--spacing-md) 0;
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: flex-start;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.timeline-icon {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: bold;
}

.timeline-content {
  width: 45%;
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

/* ============================
   Insights Section
   ============================ */
#insights {
  background-color: var(--white);
}

.stat-widget {
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.stat-widget:hover {
  transform: translateY(-5px);
}

.stat-widget .icon {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.stat-widget h4 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-dark);
}

.stat-widget p {
  color: var(--neutral-light);
  font-size: 1rem;
}

/* ============================
   Case Studies Section
   ============================ */
#case-studies {
  background-color: var(--white);
}

/* ============================
   Webinars Section
   ============================ */
#webinars {
  background-color: var(--neutral-lightest);
}

/* ============================
   Press Section
   ============================ */
#press {
  background-color: var(--white);
}

/* ============================
   Contact Section
   ============================ */
#contact {
  background-color: var(--neutral-lightest);
}

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

.label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--neutral-dark);
}

.input,
.textarea,
.select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-lighter);
  border-radius: var(--border-radius-md);
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--neutral-dark);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.input:focus,
.textarea:focus,
.select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(42, 57, 144, 0.2);
}

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select::after {
  content: '\25BC';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--neutral-light);
}

.textarea {
  resize: vertical;
  min-height: 100px;
}

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

.footer h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.footer p {
  color: var(--neutral-lighter);
  margin-bottom: var(--spacing-sm);
}

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

.footer ul li {
  margin-bottom: var(--spacing-xs);
}

.footer a {
  color: var(--neutral-lighter);
  transition: color var(--transition-normal);
}

.footer a:hover {
  color: var(--white);
  text-decoration: none;
}

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

.social-links a {
  color: var(--neutral-lighter);
  font-weight: 500;
  transition: color var(--transition-normal);
}

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

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

.success-content {
  max-width: 600px;
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-content h1 {
  color: var(--primary-dark);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.success-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
}

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

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--primary-dark);
}

.page-content h2 {
  font-size: 1.8rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
}

.page-content p {
  margin-bottom: var(--spacing-md);
}

/* ============================
   Cookie Consent
   ============================ */
#cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.85);
  color: var(--white);
  padding: var(--spacing-md);
  text-align: center;
  z-index: 9999;
}

#cookieConsent p {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

#acceptCookies {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}

/* ============================
   Utilities
   ============================ */
.is-fullheight {
  min-height: 100vh;
}

.has-text-centered {
  text-align: center;
}

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

.has-background-light {
  background-color: var(--neutral-lightest);
}

.has-background-primary {
  background-color: var(--primary-color);
}

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

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

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

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

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

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

.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  margin-top: -0.75rem;
}

.column {
  flex: none;
  padding: 0.75rem;
}

.is-one-quarter {
  width: 25%;
}

.is-one-third {
  width: 33.3333%;
}

.is-half {
  width: 50%;
}

.is-two-thirds {
  width: 66.6666%;
}

.is-full {
  width: 100%;
}

.is-centered {
  justify-content: center;
}

.is-multiline {
  flex-wrap: wrap;
}

/* ============================
   Responsive Design
   ============================ */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) 0;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-menu.is-active {
    display: flex;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-item {
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-md);
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
}

@media screen and (max-width: 768px) {
  .hero-body .title {
    font-size: 2.5rem;
  }
  
  .hero-body .subtitle {
    font-size: 1.5rem;
  }
  
  .column.is-one-quarter,
  .column.is-one-third,
  .column.is-half,
  .column.is-two-thirds {
    width: 100%;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .card {
    margin-bottom: var(--spacing-md);
  }
}

@media screen and (max-width: 480px) {
  .hero-body .title {
    font-size: 2rem;
  }
  
  .hero-body .subtitle {
    font-size: 1.25rem;
  }
  
  .button {
    width: 100%;
    margin-bottom: var(--spacing-xs);
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .timeline-marker {
    width: 30px;
    height: 30px;
  }
  
  .timeline-icon {
    font-size: 1rem;
  }
}