/* === Variables === */
:root {
  /* Base Colors - Neutral Palette */
  --color-primary: #474B63;
  --color-primary-dark: #32344c;
  --color-primary-light: #6c6f85;
  --color-secondary: #b8a386;
  --color-secondary-dark: #9a8969;
  --color-secondary-light: #d4c2a6;
  --color-accent: #cf6766;
  --color-accent-dark: #b24e4d;
  --color-accent-light: #e48c8b;
  
  /* Background Colors */
  --color-bg-light: #f5f5f5;
  --color-bg-white: #ffffff;
  --color-bg-dark: #2a2b36;
  
  /* Text Colors */
  --color-text-dark: #333333;
  --color-text-light: #f5f5f5;
  --color-text-muted: #777777;
  
  /* Border Colors */
  --border-color: rgba(0, 0, 0, 0.1);
  
  /* Shadows */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-slow: 0.5s ease-in-out;
  --transition-medium: 0.3s ease-in-out;
  --transition-fast: 0.15s ease-in-out;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
}

/* === Base Styles === */
html, body {
  font-family: 'Roboto', sans-serif;
  color: var(--color-text-dark);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

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

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

section {
  padding: 4rem 0;
}

.section {
  position: relative;
}

/* === Helper Classes === */
.has-shadow {
  box-shadow: var(--shadow-medium);
}

.has-radius {
  border-radius: var(--border-radius-md);
}

/* === Layout === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === Navbar === */
.navbar {
  box-shadow: var(--shadow-small);
  background-color: var(--color-bg-white);
  padding: 0.75rem 0;
  transition: all var(--transition-medium);
}

.navbar-item {
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-dark);
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  transition: color var(--transition-fast);
}

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

.navbar-brand .title {
  color: var(--color-primary);
}

/* === Button Styles === */
.button {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-small);
}

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

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

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

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

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

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

.button.is-rounded {
  border-radius: 50px;
}

/* === Hero Section === */
.hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--color-text-light);
}

/* === Services Section === */
.service-card {
  transition: transform var(--transition-medium);
}

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

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

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

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

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

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

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

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

/* === Insights Section === */
#insights .card-content h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
}

/* === External Resources Section === */
#external-resources {
  background-color: var(--color-bg-light);
}

#external-resources .card {
  height: 100%;
}

#external-resources ul {
  list-style: none;
  padding-left: 0;
}

#external-resources ul li {
  margin-bottom: 0.75rem;
}

#external-resources ul li a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
  display: inline-block;
  padding: 0.25rem 0;
}

#external-resources ul li a:hover {
  color: var(--color-accent);
}

/* === Partners Section === */
#partners .card {
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

#partners .image-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Gallery Section === */
#gallery {
  background-color: var(--color-bg-light);
}

#gallery .card {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

#gallery .image-container {
  height: 200px;
  overflow: hidden;
}

/* === Portfolio Section === */
#portfolio .card-content h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* === Events Calendar Section === */
#events {
  background-color: var(--color-bg-light);
}

#events .card {
  height: 100%;
}

.event-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.event-item:last-child {
  border-bottom: none;
}

.event-item p:first-child {
  color: var(--color-primary);
}

/* === Contact Section === */
#contact form .field {
  margin-bottom: 1.5rem;
}

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

#contact form .input,
#contact form .textarea,
#contact form .select select {
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-fast);
}

#contact form .input:focus,
#contact form .textarea:focus,
#contact form .select select:focus {
  border-color: var(--color-primary);
}

#contact .image-container {
  height: 350px;
  margin-top: 1rem;
}

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

.footer h3 {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.footer p, 
.footer ul li {
  color: rgba(255, 255, 255, 0.8);
}

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

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

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

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

.footer .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-text-light);
}

.footer .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-secondary-light);
  transition: color var(--transition-fast);
}

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

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

/* === Privacy & Terms Pages === */
.page-content {
  padding-top: 100px;
  padding-bottom: 4rem;
}

/* === Responsive Styles === */
@media (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-medium);
  }
  
  .navbar-burger {
    color: var(--color-primary);
  }
}

@media (max-width: 768px) {
  .hero-body {
    padding: 4rem 1rem;
  }
  
  .hero .title {
    font-size: 2.5rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .image-container {
    height: 180px;
  }
  
  #gallery .image-container {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.25rem !important;
  }
  
  h2.title.is-2 {
    font-size: 1.75rem !important;
  }
  
  .card-content h3 {
    font-size: 1.25rem;
  }
  
  .image-container {
    height: 160px;
  }
  
  #gallery .image-container {
    height: 140px;
  }
}

/* Animation for buttons */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.button.is-primary.is-large {
  animation: pulse 3s infinite;
}

/* Smooth transitions for all interactive elements */
.card, .button, .navbar-item, a, img {
  transition: all var(--transition-medium);
}
*{
  opacity: 1 !important;
}