/* ===== ROOT VARIABLES ===== */
:root {
  /* Primary color palette - monochromatic blue scheme */
  --primary-color: #1e4786;
  --primary-light: #2e5ca0;
  --primary-lighter: #3e6fb9;
  --primary-dark: #14345f;
  --primary-darker: #0a1b32;
  
  /* Accent colors */
  --accent-color: #6195d8;
  --accent-light: #8fb6e8;
  --accent-dark: #427ac7;
  
  /* Text colors */
  --text-dark: #333333;
  --text-darker: #222222;
  --text-light: #ffffff;
  --text-muted: #777777;
  
  /* Background colors */
  --bg-light: #f5f8fd;
  --bg-white: #ffffff;
  --bg-dark: #0a1b32;
  --bg-muted: #e9eff8;
  
  /* Card and component colors */
  --card-bg: #ffffff;
  --card-border: #e6e6e6;
  --card-shadow: rgba(0, 0, 0, 0.05);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  --gradient-overlay: linear-gradient(to bottom, rgba(10, 27, 50, 0.7), rgba(10, 27, 50, 0.5));
  --gradient-text: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  /* Border radius */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  --radius-circle: 50%;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

.navbar {
  background-color: #e6e6e6 !important;
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-darker);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-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;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(odd) {
  background-color: var(--bg-light);
}

.section:nth-child(even) {
  background-color: var(--bg-white);
}

/* Section titles */
.title {
  position: relative;
  margin-bottom: 2.5rem;
}

.title.is-2 {
  margin-bottom: 3rem;
}

.title.is-2:after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto 0;
}

/* ===== BUTTONS ===== */
.button {
  transition: all var(--transition-medium);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  position: relative;
  overflow: hidden;
}

.button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  transform: skewX(-15deg);
}

.button:hover:before {
  left: 100%;
}

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

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

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

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

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

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

/* ===== NAVBAR ===== */
.navbar {
  padding: 1rem 0;
  transition: all var(--transition-medium);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-small);
}

.navbar-brand {
  font-family: 'Archivo Black', sans-serif;
}

.navbar-brand .title {
  margin-bottom: 0;
}

.navbar-item {
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  color: var(--text-dark);
}

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

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

.navbar-menu.is-active {
  box-shadow: var(--shadow-medium);
}

@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--bg-white);
  }
  
  .navbar-item {
    text-align: center;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  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: -1;
  transform: scale(1.05);
  transition: transform var(--transition-slow);
}

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

.hero-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 2;
}

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

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

/* Particles Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* ===== MISSION SECTION ===== */
.mission-image-container {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  position: relative;
}

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

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

/* ===== HISTORY SECTION ===== */
.history-section {
  background-color: var(--bg-light);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

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

.timeline-item {
  padding: 2rem 0;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-small);
  z-index: 10;
}

.timeline-content {
  width: 45%;
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 2rem;
}

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

.timeline-content .heading {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  .timeline:before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
  }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background-color: var(--bg-white);
}

.feature-card {
  height: 100%;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: var(--radius-medium);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-small);
  display: flex;
  flex-direction: column;
}

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

.feature-card .card-image {
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

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

.feature-card .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* ===== RESOURCES SECTION ===== */
.resources-section {
  background: var(--bg-light);
  position: relative;
}

.resource-links {
  margin-top: 2rem;
}

.resource-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  height: 100%;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.resource-card .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.resource-card p {
  margin-bottom: 1.5rem;
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies-section {
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-medium);
  width: 100%;
}

.carousel-item {
  min-width: 100%;
  padding: 0 1rem;
}

.case-study-card {
  height: 100%;
  border-radius: var(--radius-medium);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
}

.case-study-card .card-image {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.case-study-card .card-content {
  padding: 2rem;
  flex: 1;
}

.case-study-card .title {
  color: var(--primary-color);
}

.case-study-card .subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.carousel-control:hover {
  background-color: var(--primary-light);
}

.prev-button {
  left: 1rem;
}

.next-button {
  right: 1rem;
}

/* ===== CLIENTELE SECTION ===== */
.clientele-section {
  background-color: var(--bg-light);
}

.client-group {
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-container {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

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

.client-group:hover .icon-container img {
  transform: scale(1.05);
}

.client-group .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  background-color: var(--bg-white);
  position: relative;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: transform var(--transition-medium);
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
}

.pricing-header .title {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0;
  font-family: 'Archivo Black', sans-serif;
}

.pricing-features {
  padding: 2rem;
  flex: 1;
}

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

.pricing-features li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li:before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.pricing-footer {
  padding: 2rem;
  background-color: var(--bg-light);
  text-align: center;
}

.pricing-footer p {
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: var(--bg-light);
  position: relative;
}

.contact-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  padding: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.map-container {
  height: 300px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

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

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

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

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

.footer p {
  color: var(--text-light);
  opacity: 0.8;
}

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

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

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

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

.social-links a {
  margin-right: 1rem;
  font-weight: 500;
}

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

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1rem;
  z-index: 9999;
}

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

.cookie-content p {
  margin: 0 2rem 0 0;
  color: var(--text-light);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  text-align: center;
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

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

/* ===== PRIVACY & TERMS PAGES ===== */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero-body {
    min-height: 80vh;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin: 0 0 1rem 0;
  }
  
  .contact-container {
    padding: 1.5rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .hero-body {
    min-height: 90vh;
  }
}

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

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

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

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

/* Particle animation */
@keyframes particle-animation {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) translateX(100px);
  }
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particle-animation 8s infinite linear;
}

/* Dynamic color transitions */
.dynamic-color {
  background-image: linear-gradient(
    45deg,
    var(--primary-color) 0%,
    var(--primary-light) 25%,
    var(--accent-color) 50%,
    var(--primary-light) 75%,
    var(--primary-color) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}