/* Variables */
:root {
  /* Color scheme */
  --primary-color: #7027A0;
  --primary-light: #9A4EBC;
  --primary-dark: #541E7A;
  --secondary-color: #FF6B6B;
  --secondary-light: #FF8E8E;
  --secondary-dark: #E84F4F;
  --tertiary-color: #4CC9F0;
  --tertiary-light: #7AD7F5;
  --tertiary-dark: #2AABDD;
  --background-color: #F0F2F5;
  --card-background: rgba(255, 255, 255, 0.7);
  --text-color: #333333;
  --text-light: #666666;
  --text-dark: #111111;
  --text-white: #FFFFFF;
  --success-color: #4CAF50;
  --error-color: #F44336;
  --warning-color: #FF9800;
  --info-color: #2196F3;
  
  /* Shadows and effects */
  --card-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  --button-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  --glass-blur: blur(10px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Animation */
  --transition-speed: 0.3s;
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

p {
  margin-bottom: var(--spacing-md);
}

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

a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

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

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Glass Card Effect */
.glass-card {
  background: var(--card-background);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius-md);
  border: var(--glass-border);
  box-shadow: var(--card-shadow);
  padding: var(--spacing-lg);
  transition: transform var(--transition-speed) var(--transition-timing), 
              box-shadow var(--transition-speed) var(--transition-timing);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}

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

/* Button styles */
.button, 
button, 
input[type='submit'] {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-speed) var(--transition-timing);
  box-shadow: var(--button-shadow);
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin: var(--spacing-sm);
}

.button:hover, 
button:hover, 
input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.button:active, 
button:active, 
input[type='submit']:active {
  transform: translateY(1px);
}

.button.is-primary, 
button.is-primary, 
input[type='submit'].is-primary {
  background-color: var(--primary-color);
  color: white;
}

.button.is-primary:hover, 
button.is-primary:hover, 
input[type='submit'].is-primary:hover {
  background-color: var(--primary-light);
}

.button.is-secondary, 
button.is-secondary, 
input[type='submit'].is-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.button.is-secondary:hover, 
button.is-secondary:hover, 
input[type='submit'].is-secondary:hover {
  background-color: var(--secondary-light);
}

.button.is-outlined, 
button.is-outlined, 
input[type='submit'].is-outlined {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button.is-outlined:hover, 
button.is-outlined:hover, 
input[type='submit'].is-outlined:hover {
  background-color: var(--primary-color);
  color: white;
}

.button.is-light, 
button.is-light, 
input[type='submit'].is-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: var(--glass-blur);
}

.button.is-light:hover, 
button.is-light:hover, 
input[type='submit'].is-light:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Glass Button Effect */
.glass-button {
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
  padding: var(--spacing-sm) 0;
}

.navbar.is-transparent {
  background-color: transparent;
}

.navbar.is-scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-burger {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.navbar-menu {
  display: flex;
}

.navbar-end {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar-item {
  padding: 0.5rem 1rem;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}
section:nth-of-type(1) {
  padding-top: 100px;
}

.navbar.is-scrolled .navbar-item {
  color: var(--text-color);
}

.navbar-item:hover {
  color: var(--primary-light);
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .navbar-burger {
    display: block;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
  }
  
  .navbar-item {
    padding: 0.75rem 1rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: var(--spacing-lg);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-white);
  animation: bounce 2s infinite;
  z-index: 2;
}

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

/* Mission Section */
.mission-section {
  background-color: var(--background-color);
}

.mission-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mission-image {
  margin-bottom: var(--spacing-lg);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
}

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

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

.mission-text {
  max-width: 800px;
}

@media (min-width: 768px) {
  .mission-content {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-xl);
  }
  
  .mission-image {
    flex: 0 0 40%;
    margin-bottom: 0;
  }
  
  .mission-text {
    flex: 1;
  }
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e0e5ec 100%);
}

.card {
  height: 100%;
  transition: transform var(--transition-speed) var(--transition-timing);
}

.card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  margin-bottom: var(--spacing-md);
}

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

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.card-content h3 {
  margin-bottom: var(--spacing-sm);
}

/* Process Section */
.process-section {
  background-color: var(--background-color);
  padding: var(--spacing-xxl) 0;
}

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

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: var(--spacing-xl);
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: 0 0 0 5px rgba(112, 39, 160, 0.2);
  z-index: 1;
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--card-shadow);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  width: 2px;
  height: calc(100% - 50px);
  background-color: var(--primary-light);
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, #e0e5ec 0%, #f5f7fa 100%);
}

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

.team-card .card-image {
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.team-card .image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--spacing-md);
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.team-card .subtitle {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

/* Events Section */
.events-section {
  background-color: var(--background-color);
}

.events-slider {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-lg);
}

.events-track {
  display: flex;
  transition: transform 0.5s ease-out;
}

.event-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-md);
}

.event-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-slide:hover .event-image img {
  transform: scale(1.1);
}

.event-content {
  text-align: center;
  max-width: 600px;
}

.event-date {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.slider-controls button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: background-color 0.3s ease;
}

.slider-controls button:hover {
  background-color: var(--primary-light);
}

@media (min-width: 768px) {
  .event-slide {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  
  .event-image {
    flex: 0 0 40%;
    margin-right: var(--spacing-lg);
    margin-bottom: 0;
  }
  
  .event-content {
    flex: 1;
    text-align: left;
  }
}

/* Resources Section */
.resources-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e0e5ec 100%);
}

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

.resource-card .button {
  margin-top: auto;
  align-self: flex-start;
}

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

.testimonial-card {
  text-align: center;
  height: 100%;
  position: relative;
  padding-top: 60px;
}

.testimonial-avatar {


  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.testimonial-text::before, 
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  top: -15px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -25px;
  right: -10px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
}

/* Partners Section */
.partners-section {
  background-color: var(--background-color);
  text-align: center;
}

.partners-carousel {
  margin-top: var(--spacing-lg);
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-10px);
}

.partner-logo img {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: var(--spacing-sm);
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.partner-logo p {
  font-weight: bold;
  color: var(--text-color);
  margin-top: var(--spacing-sm);
}

/* Clientele Section */
.clientele-section {
  background: linear-gradient(135deg, #e0e5ec 0%, #f5f7fa 100%);
}

.client-card {
  height: 100%;
}

/* Contact Section */
.contact-section {
  background-color: var(--background-color);
  padding-bottom: var(--spacing-xxl);
}

.contact-form {
  width: 100%;
}

.field {
  margin-bottom: var(--spacing-md);
}

.label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: bold;
}

.input, .textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-md);
  transition: border-color 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
}

.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(112, 39, 160, 0.2);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.info-item {
  margin-bottom: var(--spacing-lg);
}

.info-item h3 {
  color: var(--primary-color);
}

.map-container {
  margin-top: auto;
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

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

/* Footer */
.footer {
  background-color: #2c1e4a;
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer h3 {
  color: white;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer p {
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.7);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: var(--spacing-sm);
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: white;
  text-decoration: none;
}

.social-links {
  margin-top: var(--spacing-md);
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-right: var(--spacing-sm);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: white;
  text-decoration: none;
}

.newsletter-form {
  margin-top: var(--spacing-md);
}

.has-addons {
  display: flex;
}

.control {
  flex: 1;
}

.control.is-expanded {
  flex-grow: 1;
}

.copyright {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

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

.success-content {
  max-width: 600px;
  padding: var(--spacing-xl);
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
}

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

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  min-height: 100vh;
  background-color: var(--background-color);
}

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

/* Responsive Styles */
@media (max-width: 1023px) {
  .columns:not(.is-desktop) {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
  }
  
  .columns:not(.is-desktop):last-child {
    margin-bottom: -0.75rem;
  }
  
  .column {
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero-body {
    padding: var(--spacing-xl) var(--spacing-md);
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .contact-info {
    margin-top: var(--spacing-xl);
  }
}

@media (max-width: 479px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .timeline-item {
    padding-left: 0;
    padding-top: 60px;
  }
  
  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

/* Apply animations */
.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-slideInUp {
  animation: slideInUp 1s ease forwards;
}

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

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

/* Delay classes */
.delay-1 {
  animation-delay: 0.2s;
}

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

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

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

/* 3D Transform Effects */
.card, 
.team-card, 
.testimonial-card, 
.resource-card, 
.client-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover .card-image,
.team-card:hover .card-image,
.resource-card:hover .card-image,
.client-card:hover .card-image {
  transform: translateZ(20px);
}

.card:hover .card-content h3,
.team-card:hover .card-content h3,
.resource-card:hover .card-content h3,
.client-card:hover .card-content h3,
.testimonial-card:hover .testimonial-author {
  transform: translateZ(15px);
  color: var(--primary-color);
}

/* Read more links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding-right: 20px;
  transition: all 0.3s ease;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}

.read-more:hover {
  color: var(--primary-dark);
  padding-right: 25px;
}

.read-more:hover::after {
  right: -5px;
}