/* === Variables === */
:root {
  /* Color Palette */
  --primary-color: #34495e;
  --primary-dark: #2c3e50;
  --primary-light: #3d5a7d;
  --secondary-color: #2ecc71;
  --secondary-dark: #27ae60;
  --secondary-light: #42d982;
  --accent-color: #e74c3c;
  --accent-dark: #c0392b;
  --accent-light: #ff6b6b;
  --neutral-dark: #333333;
  --neutral-medium: #777777;
  --neutral-light: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --overlay-dark: rgba(0, 0, 0, 0.7);
  --overlay-medium: rgba(0, 0, 0, 0.5);
  --overlay-light: rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --heading-font: 'Archivo Black', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

/* === Global Styles === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.section-title {
  position: relative;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 1rem auto 0;
}

/* === Header & Navigation === */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
  transition: all var(--transition-normal);
  z-index: 1000;
}

.navbar.is-fixed-top {
  padding: 0.5rem 0;
}

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

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

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

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

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

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

/* === 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;
}

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

.hero-body {
  padding: 10rem 0;
  z-index: 2;
}

.hero-title, .hero-subtitle, .hero-text {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-text {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeIn 1.2s ease;
}

/* === Services Section === */
.service-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

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

.card-content p {
  color: var(--neutral-medium);
  flex: 1;
}

/* === Methodology Section === */
.methodology-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.methodology-image {
  margin-bottom: 2rem;
  text-align: center;
}

.methodology-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.methodology-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--primary-color);
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* === Instructors Section === */
.instructor-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.instructor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.instructor-card .card-image {
  height: 350px;
}

.instructor-card .card-content h3 {
  margin-bottom: 0.25rem;
}

.instructor-card .subtitle {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* === External Resources Section === */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.resource-card p {
  color: var(--neutral-medium);
  margin-bottom: 1.5rem;
  flex: 1;
}

.resource-card .button {
  margin-top: auto;
}

/* === Clientele Section === */
.client-logos {
  margin-bottom: 3rem;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.sector-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.sector-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sector-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.sector-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.sector-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.sector-item p {
  color: var(--neutral-medium);
}

/* === Media Section === */
.media-card {
  height: 100%;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.media-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.media-card .subtitle {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.publication-date {
  color: var(--neutral-medium);
  font-style: italic;
  margin-top: 1rem;
}

.video-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.video-container img {
  width: 100%;
  transition: transform var(--transition-normal);
}

.video-container:hover img {
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--overlay-medium);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background var(--transition-normal);
}

.play-button .icon {
  color: var(--white);
  font-size: 3rem;
}

.video-container:hover .play-button {
  background: var(--primary-color);
}

/* === Portfolio Section === */
.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.portfolio-card .card-image {
  height: 220px;
}

.portfolio-card .card-content h3 {
  margin-bottom: 0.25rem;
}

.portfolio-card .subtitle {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* === Testimonials Section === */
.testimonial-card {
  height: 100%;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.testimonial-card .card-content {
  display: flex;
  gap: 1.5rem;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 100px;
}

.testimonial-avatar img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-content {
  flex: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--neutral-dark);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: var(--neutral-medium);
  font-size: 0.9rem;
}

/* === News Section === */
.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.news-card .card-image {
  height: 220px;
}

.news-date {
  color: var(--neutral-medium);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.news-card p {
  color: var(--neutral-medium);
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-card .button {
  align-self: flex-start;
}

/* === Blog Section === */
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.blog-card .card-image {
  height: 200px;
}

.blog-date {
  color: var(--neutral-medium);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.blog-card p {
  color: var(--neutral-medium);
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-card .button {
  align-self: flex-start;
}

/* === Contact Section === */
.contact-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

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

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

.contact-form .input,
.contact-form .textarea {
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 73, 94, 0.2);
}

.contact-info {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  height: 100%;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item .icon {
  color: var(--secondary-color);
}

.contact-map {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.contact-map img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-normal);
}

.contact-map:hover img {
  transform: scale(1.03);
}

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

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

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

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

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

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

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

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

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
  text-decoration: none;
  display: inline-block;
  padding: 0.3rem 0;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

/* === Cookie Popup === */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--overlay-dark);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
}

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

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
}

.cookie-button {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: background var(--transition-normal);
}

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

/* === Button Styles === */
.button {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

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

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

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

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

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

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

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

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

.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--neutral-light);
}

.success-content {
  max-width: 600px;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Responsive Adjustments === */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-body {
    padding: 6rem 0;
  }
  
  .testimonial-card .card-content {
    flex-direction: column;
  }
  
  .testimonial-avatar {
    margin-bottom: 1rem;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
}

.contact-info-item strong {
color: #fff !important;
}