:root {
  /* Color scheme */
  --primary-color: #3a7bd5;
  --primary-dark: #2a5f9e;
  --primary-light: #6fa3e8;
  --secondary-color: #00d1b2;
  --secondary-dark: #00a68c;
  --secondary-light: #25e6c5;
  --accent-color: #7e57c2;
  --accent-dark: #5e35b1;
  --accent-light: #b085f5;
  
  /* Text colors */
  --text-dark: #2c3e50;
  --text-medium: #546e7a;
  --text-light: #78909c;
  --text-white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(31, 38, 135, 0.37);
  --glass-blur: 8px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Borders */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Global styles */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
}

p {
  margin-bottom: 1rem;
}

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

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

/* Glassmorphism */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

/* Button styles */
.button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: all var(--transition-medium);
}

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

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

.button.is-light {
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
}

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

.button.is-rounded {
  border-radius: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition-medium);
  padding: 1rem 0;
  background-color: #78909c;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  background-color: transparent;
}

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

.header.scrolled .navbar-item {
  color: var(--text-dark);
}

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

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

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  transition: color var(--transition-fast);
}

.header.scrolled .logo {
  color: var(--primary-color);
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero .title,
.hero .subtitle {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero .buttons {
  margin-top: 2rem;
}

/* Services Section */
.services {
  padding: var(--space-lg) 0;
}

.services .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.services .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.services .content {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.services .has-text-right {
  margin-top: auto;
}

.services .card-image {
  overflow: hidden;
}

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

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

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

/* Team Section */
.team {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--space-lg) 0;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(58, 123, 213, 0.85) 0%, rgba(0, 209, 178, 0.85) 100%);
}

.team .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.team .card-content {
  flex-grow: 1;
  padding: 1.5rem;
}

.team .card-image {
  overflow: hidden;
}

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

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

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

/* Innovation Section */
.innovation {
  padding: var(--space-lg) 0;
}

.innovation-card {
  margin-bottom: var(--space-md);
}

.innovation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 1rem;
}

.innovation .media {
  align-items: flex-start;
}

/* Gallery Section */
.gallery {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--space-lg) 0;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(126, 87, 194, 0.85) 0%, rgba(58, 123, 213, 0.85) 100%);
}

.image-card {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-md);
  cursor: pointer;
}

.image-card figure {
  margin: 0;
}

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

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-medium);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.overlay-content h3,
.overlay-content p {
  color: var(--text-white);
  margin: 0;
}

/* Portfolio Section */
.portfolio {
  padding: var(--space-lg) 0;
}

.portfolio .card {
  height: 100%;
  margin-bottom: var(--space-md);
}

.portfolio .media {
  align-items: center;
}

.portfolio .media-left {
  margin-right: 1.5rem;
}

.portfolio .image {
  overflow: hidden;
  border-radius: 50%;
}

/* Contact Section */
.contact {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--space-lg) 0;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 209, 178, 0.85) 0%, rgba(58, 123, 213, 0.85) 100%);
}

.contact-form {
  padding: 2rem;
  margin-bottom: var(--space-md);
}

.contact-form .label {
  font-weight: 500;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: transparent;
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25);
}

.contact-info {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  color: var(--text-white);
  margin-right: 1rem;
}

.working-hours {
  margin-top: 2rem;
}

/* Media Section */
.media-section {
  padding: var(--space-lg) 0;
}

.media-section .card {
  height: 100%;
  margin-bottom: var(--space-md);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--text-white);
  padding: 3rem 0 1.5rem;
}

.footer-title {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.footer-subtitle {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.social-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  color: var(--text-white);
}

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

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

.newsletter-form .input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25);
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Resources section */
.resources .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resources .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resources .content {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.resources .has-text-right {
  margin-top: auto;
}

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

/* Privacy & Terms pages */
.privacy-content,
.terms-content {
  padding-top: 100px;
}

/* Animation */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fade"] {
  transform: translateY(0);
}

[data-animate="slide"] {
  transform: translateY(20px);
}

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

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .navbar-item {
    color: var(--text-dark);
  }
  
  .innovation-icon {
    width: 60px;
    height: 60px;
  }
  
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.25rem !important;
  }
}

/* Navbar burger menu */
.navbar-burger {
  color: var(--text-white);
}

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

/* Custom hamburger menu styles */
.navbar-burger span {
  height: 2px;
}

/* Utilities */
.has-text-primary {
  color: var(--primary-color) !important;
}

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