/* Variables */
:root {
  --color-primary: #FF5A5F;
  --color-primary-dark: #E04347;
  --color-secondary: #3D5AF1;
  --color-secondary-dark: #2A3EB1;
  --color-tertiary: #22CAAC;
  --color-tertiary-dark: #17A089;
  --color-accent: #FFB400;
  --color-accent-dark: #E09C00;
  --color-light: #F8F9FA;
  --color-dark: #212529;
  --color-gray: #6C757D;
  --color-gray-light: #E9ECEF;
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 25px rgba(0, 0, 0, 0.1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--color-secondary);
  transition: all 0.3s var(--transition-smooth);
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--transition-smooth);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  font-weight: 500;
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s var(--transition-bounce);
}

.navbar-item:hover::after {
  width: 80%;
  left: 10%;
}

/* Button Styles */
.button {
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s var(--transition-bounce);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(1px);
}

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

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

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

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

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

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-image::after {
  content: '';
  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-content {
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 80px;
}

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

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--transition-bounce);
}

.animate-in.active {
  opacity: 1;
  transform: translateY(0);
}

.hero .animate-in:nth-child(1) { transition-delay: 0.1s; }
.hero .animate-in:nth-child(2) { transition-delay: 0.3s; }
.hero .animate-in:nth-child(3) { transition-delay: 0.5s; }
.hero .animate-in:nth-child(4) { transition-delay: 0.7s; }

/* Methodology Section */
.methodology {
  background-color: var(--color-light);
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.2);
  transition: all 0.3s var(--transition-bounce);
}

.timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 0 10px rgba(255, 180, 0, 0.2);
}

.timeline-content {
  position: relative;
  width: 45%;
  margin-left: auto;
  padding-left: 2rem;
}

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

.timeline-item .card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--transition-smooth);
  background-color: white;
  border: none;
}

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

.timeline-item .card-content {
  padding: 1.5rem;
}

/* Services Section */
.services {
  background-color: white;
  padding: 5rem 0;
}

.service-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--transition-smooth);
  border: none;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

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

.service-card p {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Resources Section */
.resources {
  background-color: var(--color-light);
  padding: 5rem 0;
}

.resource-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--transition-smooth);
  border: none;
  background-color: white;
}

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

.resource-card .card-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Customer Stories / Testimonials */
.customer-stories {
  background-color: white;
  padding: 5rem 0;
}

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

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--transition-smooth);
}

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

.testimonial-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--transition-smooth);
  border: none;
  height: 100%;
}

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

.testimonial-card .card-content {
  padding: 1.5rem;
}

.testimonial-card .media-left .image {
  overflow: hidden;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.testimonial-card .media-left img {
  transition: transform 0.3s var(--transition-smooth);
}

.testimonial-card:hover .media-left img {
  transform: scale(1.1);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-smooth);
  z-index: 10;
}

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

.carousel-button.prev {
  left: 0;
}

.carousel-button.next {
  right: 0;
}

/* Gallery Section */
.gallery {
  background-color: var(--color-light);
  padding: 5rem 0;
}

.gallery-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--transition-smooth);
  border: none;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.gallery-card .card-content {
  padding: 1.5rem;
  background-color: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Clientele Section */
.clientele {
  background-color: white;
  padding: 5rem 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 1rem;
  transition: all 0.3s var(--transition-bounce);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s var(--transition-smooth);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

/* Webinars Section */
.webinars {
  background-color: var(--color-light);
  padding: 5rem 0;
}

.webinar-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--transition-smooth);
  border: none;
  position: relative;
}

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

.webinar-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.date-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.webinar-card .card-content {
  padding: 1.5rem;
  padding-top: 2.5rem;
}

.webinar-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-light);
}

.webinar-meta p {
  margin-bottom: 0.5rem;
}

/* Success Stories Section */
.success-stories {
  background-color: white;
  padding: 5rem 0;
}

.success-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--transition-smooth);
  border: none;
}

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

.success-card .card-content {
  padding: 1.5rem;
}

.success-card .media-left .image {
  overflow: hidden;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.success-card .media-left img {
  transition: transform 0.3s var(--transition-smooth);
}

.success-card:hover .media-left img {
  transform: scale(1.1);
}

/* Contact Section */
.contact {
  background-color: var(--color-light);
  padding: 5rem 0;
}

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

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

.info-item .icon {
  margin-right: 1rem;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-form-container {
  padding: 2rem;
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
}

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

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-gray-light);
  transition: all 0.3s var(--transition-smooth);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 90, 95, 0.2);
}

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

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

.footer .title {
  color: white;
}

.footer p {
  color: var(--color-gray-light);
}

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

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

.footer ul li a {
  color: var(--color-gray-light);
  transition: all 0.3s var(--transition-smooth);
}

.footer ul li a:hover {
  color: white;
  padding-left: 5px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  transition: all 0.3s var(--transition-bounce);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.newsletter .input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: none;
}

.newsletter .button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray-light);
}

/* Cookie Consent */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.cookie-content .button {
  align-self: flex-end;
}

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--color-light);
}

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

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-tertiary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
}

/* Privacy & Terms Pages */
.privacy-page, 
.terms-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.privacy-content, 
.terms-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: 85%;
    margin-left: 60px;
    padding-left: 0;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
    padding-right: 0;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero .title.is-1 {
    font-size: 2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .timeline-content {
    width: 80%;
    margin-left: 50px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50px;
  }
  
  .webinar-date {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 1rem;
    display: inline-block;
  }
  
  .webinar-card .card-content {
    padding-top: 1.5rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-item .icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .contact-info, 
  .contact-form-container {
    padding: 1rem;
  }
}