/* Base Variables and Reset */
:root {
  /* Primary Colors */
  --primary-color: #3366ff;
  --primary-dark: #2952cc;
  --primary-light: #668cff;
  
  /* Secondary Colors */
  --secondary-color: #ff6633;
  --secondary-dark: #cc5229;
  --secondary-light: #ff8c66;
  
  /* Accent Colors */
  --accent-color: #33cc99;
  --accent-dark: #29a37a;
  --accent-light: #66d9b3;
  
  /* Neutral Colors */
  --dark: #2a2d34;
  --light: #f5f7fa;
  --gray: #a0a0a0;
  --light-gray: #e0e0e0;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  --hero-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  
  /* Shadows */
  --neumorphic-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --inset-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.05), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-medium: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

/* Global Styles */
body {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1rem;
}

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

/* Button Styles */
.button {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out;
}

.button:hover::after {
  width: 300px;
  height: 300px;
}

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

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

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

/* Card Styles */
.card {
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

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

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

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

/* Section Styling */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header .title {
  position: relative;
  display: inline-block;
}

.section-header .title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-fast);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  position: relative;
  transition: color var(--transition-fast);
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-medium), left var(--transition-medium);
}

.navbar-item:hover::after {
  width: 100%;
  left: 0;
}

.navbar-burger {
  width: 3rem;
  height: 3rem;
}

.navbar-burger span {
  height: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-body {
  z-index: 2;
  padding: 4rem 1.5rem;
}

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

.scrolldown-arrow {
  position: relative;
  width: 30px;
  height: 50px;
  margin: 0 auto;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scrolldown-arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-left: 2px solid var(--light);
  border-bottom: 2px solid var(--light);
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Services Section */
.services-section {
  background-color: var(--light);
}

.service-card {
  text-align: center;
  padding: 1.5rem;
  height: 100%;
}

.service-card .card-image {
  margin-bottom: 1.5rem;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Methodology Section */
.methodology-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--light);
  position: relative;
}

.methodology-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.methodology-section .container {
  position: relative;
  z-index: 2;
}

.methodology-timeline {
  position: relative;
  padding: 2rem 0;
}

.methodology-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-gradient);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-gradient);
  box-shadow: 0 0 0 4px rgba(51, 102, 255, 0.2);
}

.timeline-content {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  margin-bottom: 1rem;
}

/* Team Section */
.team-section {
  background-color: var(--light);
}

.team-card {
  text-align: center;
  height: 100%;
}

.team-card .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card .title {
  margin-top: 1rem;
}

.team-card .subtitle {
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Case Studies Section */
.case-studies-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.case-study-card {
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
  height: 100%;
}

.case-study-card .title {
  margin-bottom: 0.5rem;
}

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

.case-study-card .content {
  margin-bottom: 1rem;
}

.tag {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
}

/* Resources Section */
.resources-section {
  background-color: var(--light);
}

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

.resource-card h3 {
  margin-bottom: 1rem;
}

/* Partners Section */
.partners-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
}

.partners-section .container {
  position: relative;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  background-color: var(--light);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--neumorphic-shadow);
  padding: 1.5rem;
  transition: transform var(--transition-medium);
}

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

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

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light);
}

.testimonial-card {
  height: 100%;
}

.testimonial-card .media-left .image {
  margin-right: 1.5rem;
}

.testimonial-card .media-left img {
  border-radius: 50%;
}

.testimonial-card .media-content .title {
  margin-bottom: 0.25rem;
}

.testimonial-card .media-content .subtitle {
  color: var(--gray);
  margin-bottom: 1rem;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.testimonial-slide {
  width: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity var(--transition-medium);
  padding: 1rem;
}

.testimonial-slide:first-child {
  opacity: 1;
  position: relative;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Workshops Section */
.workshops-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.workshops-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.workshops-section .container {
  position: relative;
  z-index: 2;
}

.workshops-section .title,
.workshops-section .subtitle {
  color: var(--light);
}

.workshop-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.workshop-card .card-image {
  height: 200px;
  overflow: hidden;
}

.workshop-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-card .title {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.workshop-card .subtitle {
  color: var(--gray);
  margin-bottom: 1rem;
}

.workshop-details {
  margin-top: 1.5rem;
}

.workshop-details p {
  margin-bottom: 0.5rem;
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--light);
}

.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card .card-image {
  height: 200px;
  overflow: hidden;
}

.portfolio-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card .title {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.portfolio-card .subtitle {
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-form-container {
  background-color: var(--light);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

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

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

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

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 5rem 1.5rem 2rem;
}

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

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--light-gray);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

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

.social-links a {
  color: var(--light-gray);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.copyright {
  margin-top: 2rem;
  color: var(--gray);
  font-size: 0.9rem;
}

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

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

.success-page-content .title {
  margin-bottom: 1.5rem;
}

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

/* Privacy & Terms Pages */
.legal-page {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.legal-page-content {
  background-color: var(--light);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

.legal-page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-page-content p {
  margin-bottom: 1.5rem;
}

.legal-page-content ul,
.legal-page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
}

/* Utility Classes */
.has-text-centered {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 2.5rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 2.5rem;
}

/* Animation and Transition Effects */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

/* Delayed Animations */
.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}