/* Base Variables */
:root {
  /* Color Scheme - Analogous */
  --primary-color: #2a73e8;
  --primary-light: #5e9cf1;
  --primary-dark: #1855b3;
  
  --secondary-color: #3d50e0;
  --secondary-light: #6b7be9;
  --secondary-dark: #29379e;
  
  --accent-color: #2ae8b2;
  --accent-light: #6df1cc;
  --accent-dark: #15b389;
  
  --neutral-light: #f8f9fb;
  --neutral-medium: #e5e9f0;
  --neutral-dark: #333844;
  --neutral-darker: #1a1d24;
  
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Shadows & Effects */
  --box-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-rounded: 50%;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
}

/* Base Styles */
html, body {
  font-family: var(--font-body);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--neutral-light);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

p {
  margin-bottom: var(--space-md);
}

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

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

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

/* Container for sections */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Buttons Global Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
  text-decoration: none;
}

.button:active {
  transform: translateY(1px);
  box-shadow: var(--box-shadow-sm);
}

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

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

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

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

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

/* Header & Navigation */
.header {
  position: relative;
  width: 100%;
  z-index: 100;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.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.5));
  z-index: 1;
}

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

.hero .title,
.hero .subtitle {
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title.is-1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.hero .subtitle.is-3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Section Styling */
.section {
  padding: var(--space-xxl) 0;
}

.section.is-medium {
  padding: var(--space-xl) 0;
}

.section .title {
  color: var(--text-dark);
  position: relative;
}

.section .subtitle {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

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

.section.has-background-dark {
  background-color: var(--neutral-dark);
  color: var(--text-light);
}

/* Card Styling */
.card {
  display: flex;
  flex-direction: column;
  background: var(--text-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  /* height: 100%; */
  align-items: center;
  text-align: center;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.card .title {
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.card .content {
  color: var(--text-dark);
  flex-grow: 1;
}

/* Process Cards */
.process-card {
  position: relative;
}

.process-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-color));
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.process-card:hover::after {
  opacity: 1;
}

/* Gallery Cards */
.gallery-card .image-container {
  height: 250px;
}

.gallery-card .card-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Inspiration Cards */
.inspiration-card {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  color: var(--text-light);
}

.inspiration-card .title,
.inspiration-card .content {
  color: var(--text-light);
}

.inspiration-card .button {
  margin-top: var(--space-md);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

.inspiration-card .button:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Case Study Cards */
.case-study-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow-lg);
}

.case-study-card .card-image {
  height: 100%;
}

.case-study-card .image-container {
  height: 100%;
}

.case-study-card .has-text-weight-bold {
  color: var(--primary-color);
  font-style: italic;
  margin-top: var(--space-md);
}

/* Testimonial Cards */
.testimonial-card {
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--neutral-medium) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.testimonial-card .media {
  align-items: center;
}

.testimonial-card .title {
  margin-bottom: 0;
}

.testimonial-card .content {
  font-style: italic;
  position: relative;
  padding-left: var(--space-md);
  border-left: 3px solid var(--primary-color);
}

/* Innovation Cards */
.innovation-card {
  background-color: var(--text-light);
  overflow: hidden;
}

.innovation-card .card-content {
  padding: var(--space-lg);
}

.innovation-card .title {
  position: relative;
}

.innovation-card .title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Contact Form Card */
.contact-form-card {
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--neutral-medium) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow-lg);
}

.contact-form-card .card-content {
  padding: var(--space-xl);
}

.contact-form-card .field {
  margin-bottom: var(--space-lg);
}

.contact-form-card .label {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 500;
}

.contact-form-card .input,
.contact-form-card .textarea,
.contact-form-card .select select {
  border-radius: var(--radius-md);
  border: 2px solid var(--neutral-medium);
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

.contact-form-card .input:focus,
.contact-form-card .textarea:focus,
.contact-form-card .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

/* Footer */
.footer {
  background-color: var(--neutral-darker);
  color: var(--text-light);
  padding: var(--space-xl) 0;
}

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

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

.footer ul li {
  margin-bottom: var(--space-sm);
}

.footer a {
  color: var(--neutral-medium);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

.social-links a {
  display: inline-block;
  margin-right: var(--space-md);
  color: var(--text-light);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* Success Page */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--neutral-medium) 100%);
}

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

/* Privacy & Terms Pages */
.privacy-content,
.terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--space-xxl);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
  animation: slideUp 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

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

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

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

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

.mr-3 {
  margin-right: 0.75rem !important;
}

/* Read More Links */
.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: var(--space-xs);
  transition: transform var(--transition-normal);
}

.read-more:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .section {
    padding: var(--space-xl) 0;
  }
  
  .hero .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero .title.is-1 {
    font-size: 2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.25rem;
  }
  
  .card {
    margin-bottom: var(--space-lg);
  }
  
  .image-container {
    height: 200px;
  }
}

/* AOS Animation Overrides */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Particles Animation */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Bulma Overrides */
.navbar-menu.is-active {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}