/* === Base Variables and Reset === */
:root {
  /* Primary Colors - Split-Complementary Scheme */
  --primary-color: #2C4A8C; /* Deep Blue */
  --primary-light: #4B6CA9;
  --primary-dark: #1A3571;
  
  /* Complementary Colors */
  --accent-color-1: #B85C3C; /* Orange-Red */
  --accent-color-2: #40A182; /* Teal */
  
  /* Neutral Colors */
  --neutral-dark: #333333;
  --neutral-medium: #6D7278;
  --neutral-light: #E1E4E8;
  --neutral-lighter: #F5F7FA;
  
  /* Typography */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Shadows */
  --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-hard: 0 10px 40px rgba(0, 0, 0, 0.2);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
  --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

/* === Typography Enhancements === */
.title {
  font-weight: 700;
}

.title.is-1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.title.is-3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.title.is-4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.title.is-5 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.subtitle {
  font-weight: 400;
  color: var(--neutral-medium);
}

.is-size-4 {
  font-size: 1.5rem;
}

.is-size-5 {
  font-size: 1.25rem;
}

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

.has-text-white {
  color: #FFFFFF !important;
}

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

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

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

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

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

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

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

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

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

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

.column.is-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.column.is-4 {
  flex: 0 0 33.33333%;
  max-width: 33.33333%;
}

.column.is-5 {
  flex: 0 0 41.66667%;
  max-width: 41.66667%;
}

.column.is-7 {
  flex: 0 0 58.33333%;
  max-width: 58.33333%;
}

.column.is-10 {
  flex: 0 0 83.33333%;
  max-width: 83.33333%;
}

.column.is-one-third {
  flex: 0 0 33.33333%;
  max-width: 33.33333%;
}

.column.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.column.is-two-thirds {
  flex: 0 0 66.66667%;
  max-width: 66.66667%;
}

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

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

.columns.is-vcentered {
  align-items: center;
}

/* === Header & Navigation === */
.navbar {
  background-color: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-medium);
}

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

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

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

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

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

.navbar-menu {
  display: flex;
  margin-left: auto;
}

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

.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: 24px;
  position: absolute;
  left: 50%;
  margin-left: -12px;
  transition: all var(--transition-medium);
}

.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;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: -1;
}

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

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  animation: float 15s infinite linear;
  z-index: -1;
}

.hero-particles::before {
  top: 20%;
  left: 20%;
  animation-duration: 25s;
}

.hero-particles::after {
  top: 70%;
  left: 70%;
  width: 15px;
  height: 15px;
  animation-duration: 35s;
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(100vw, 100vh);
    opacity: 0;
  }
}

/* === Buttons & Form Elements === */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-medium);
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.button.is-light:hover {
  background-color: var(--neutral-light);
  transform: translateY(-2px);
}

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

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

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

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

.button.is-light.is-outlined:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.button.is-medium {
  font-size: 1.1rem;
  padding: 0.75rem 1.75rem;
}

.buttons {
  display: flex;
  gap: 1rem;
}

/* === Form Styles === */
.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--neutral-dark);
}

.control {
  position: relative;
  width: 100%;
}

.input, .textarea, .select select {
  background-color: white;
  border: 2px solid var(--neutral-light);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  width: 100%;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(75, 108, 169, 0.2);
}

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

.select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  pointer-events: none;
  color: var(--neutral-medium);
}

.select.is-fullwidth {
  width: 100%;
}

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

/* === Cards & Projects === */
.card {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.projects-section {
  background-color: var(--neutral-lighter);
}

/* === Case Studies === */
.case-studies-section {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.case-study {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-medium);
  margin-bottom: var(--spacing-lg);
}

.before-after-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  max-height: 600px;
}

.before-after-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  height: 100%;
  width: 2px;
  background-color: var(--primary-light);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-md);
  padding-left: 2rem;
}

.timeline-marker {
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(44, 74, 140, 0.2);
}

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

.timeline-content .heading {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

/* === About Section === */
.about-section {
  position: relative;
  background-color: white;
}

/* === Careers Section === */
.careers-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* === Resources Section === */
.resources-section {
  background-color: white;
}

/* === Contact Section === */
.contact-section {
  background-color: var(--neutral-lighter);
  position: relative;
}

.contact-form-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

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

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

.footer p {
  color: var(--neutral-light);
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

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

.footer-links a:hover {
  color: white;
}

/* === Cookie Consent === */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.9);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

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

.cookie-content p {
  color: white;
  margin: 0;
  padding-right: 1rem;
}

/* === Modal === */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  overflow: hidden;
  outline: 0;
}

.modal.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: 0 auto;
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 2rem;
}

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

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

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

.privacy-content, .terms-content {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
}

/* === Responsive Design === */
@media screen and (max-width: 1023px) {
  .column.is-3, 
  .column.is-4, 
  .column.is-5,
  .column.is-7,
  .column.is-one-third,
  .column.is-half,
  .column.is-two-thirds {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .column.is-10 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-medium);
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
    width: 100%;
  }
  
  .navbar-item {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  
  .hero .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .column.is-3, 
  .column.is-4, 
  .column.is-5,
  .column.is-7,
  .column.is-one-third,
  .column.is-half,
  .column.is-two-thirds,
  .column.is-10 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .hero .title.is-1 {
    font-size: 2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.25rem;
  }
  
  .buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .case-study {
    padding: var(--spacing-md);
  }
  
  .timeline::before {
    left: 5px;
  }
  
  .timeline-marker {
    width: 12px;
    height: 12px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

/* === Animation Utilities === */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

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

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

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

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

[data-aos].aos-animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}