/* Main Variables */
:root {
  /* Split-complementary color scheme */
  --primary-color: #4a69bd; /* Main blue */
  --secondary-color: #9b59b6; /* Purple */
  --accent-color-1: #e67e22; /* Orange */
  --accent-color-2: #27ae60; /* Green */
  --dark-bg: #2c3e50;
  --light-bg: #f5f7fa;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #7f8c8d;
  --card-bg: #ffffff;
  --footer-bg: #1e272e;
  
  /* Shadows and effects */
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  --card-radius: 12px;
  --button-radius: 30px;
  
  /* Typography */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Transitions */
  --transition-slow: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-medium: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-fast: 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
}

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

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

.title, .subtitle {
  font-family: var(--heading-font);
}

/* Retro styling elements */
.retro-border {
  border: 3px solid var(--primary-color);
  box-shadow: 8px 8px 0 var(--accent-color-1);
  transition: all var(--transition-medium);
}

.retro-border:hover {
  box-shadow: 12px 12px 0 var(--accent-color-1);
  transform: translate(-4px, -4px);
}

.retro-card {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

/* Distorted grid elements */
.distorted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 30px;
  transform: perspective(1000px) rotateX(2deg);
}

.distorted-grid > * {
  transform: perspective(1000px) rotateY(-2deg);
  transition: transform var(--transition-medium);
}

.distorted-grid > *:hover {
  transform: perspective(1000px) rotateY(0);
}

/* Header & Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-medium);
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

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

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 27, 161, 0.7), rgba(29, 209, 161, 0.7));
  z-index: 1;
  opacity: 0.8;
}

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

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .animated-button {
  overflow: hidden;
  position: relative;
  transition: all var(--transition-medium);
}

.hero .animated-button:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  top: 0;
  left: -100%;
  transform: skewX(-30deg);
  transition: all var(--transition-medium);
}

.hero .animated-button:hover:before {
  left: 100%;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

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

/* Process Section */
.process-section {
  padding: 5rem 1.5rem;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(74, 105, 189, 0.1);
  border-radius: 50%;
  z-index: 0;
}

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

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

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

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

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

.process-card .card-content {
  flex: 1;
  padding: 1.5rem;
  background-color: var(--card-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-card .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.process-card .title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color-1);
  margin-top: 0.5rem;
}

/* Case Studies Section */
.case-studies-section {
  padding: 5rem 1.5rem;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.case-studies-section .title,
.case-studies-section .subtitle {
  color: var(--text-light);
}

.case-study-card {
  height: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
}

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

.case-study-card .card-image {
  overflow: hidden;
}

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

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

.case-study-card .card-content {
  flex: 1;
  padding: 1.5rem;
  background-color: var(--card-bg);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-study-card .title {
  color: var(--primary-color);
}

.stats-widget {
  background-color: rgba(74, 105, 189, 0.1);
  border-radius: 8px;
  padding: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-item p:first-child {
  color: var(--accent-color-1);
  font-weight: bold;
}

/* Clientele Section */
.clientele-section {
  padding: 5rem 1.5rem;
  background-color: var(--light-bg);
}

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

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

.client-logo img {
  max-height: 80px;
  max-width: 100%;
  filter: grayscale(100%);
  transition: filter var(--transition-medium);
}

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

.testimonial-slide {
  padding: 2rem 0;
}

.testimonial-slide .card {
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow);
  background-color: var(--card-bg);
}

.testimonial-slide .card-content {
  padding: 2rem;
}

.testimonial-slide p {
  font-style: italic;
  position: relative;
}

.testimonial-slide p::before {
  content: '"';
  font-size: 4rem;
  color: rgba(74, 105, 189, 0.2);
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: var(--heading-font);
}

/* Team Section */
.team-section {
  padding: 5rem 1.5rem;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.team-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(230, 126, 34, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.team-card {
  height: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

.team-card .card-content {
  flex: 1;
  padding: 1.5rem;
  background-color: var(--card-bg);
  width: 100%;
  text-align: center;
}

.team-card .title {
  color: var(--primary-color);
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.icon-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Awards Section */
.awards-section {
  padding: 5rem 1.5rem;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

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

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

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

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

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

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

.award-card .card-content {
  flex: 1;
  padding: 1.5rem;
  background-color: var(--card-bg);
  color: var(--text-dark);
}

.award-card .title {
  color: var(--primary-color);
}

.award-card .subtitle {
  color: var(--accent-color-1);
}

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

.resource-card {
  height: 100%;
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
}

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

.resource-card .card-content {
  flex: 1;
  padding: 1.5rem;
  background-color: var(--card-bg);
}

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

.resource-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-links li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.resource-links li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color-1);
  font-weight: bold;
}

.resource-links a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.resource-links a:hover {
  color: var(--accent-color-1);
  text-decoration: underline;
}

/* Success Stories Section */
.success-stories-section {
  padding: 5rem 1.5rem;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.success-stories-section .title,
.success-stories-section .subtitle {
  color: var(--text-light);
}

.story-card {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

.story-card .card-content {
  padding: 1.5rem;
  background-color: var(--card-bg);
  color: var(--text-dark);
}

.story-card .title {
  color: var(--primary-color);
}

.story-card .subtitle {
  color: var(--text-muted);
}

.success-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.success-stats .tag {
  font-size: 0.9rem;
}

/* Events Calendar Section */
.events-section {
  padding: 5rem 1.5rem;
  background-color: var(--light-bg);
}

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

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

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

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

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

.event-card .card-content {
  flex: 1;
  padding: 1.5rem;
  background-color: var(--card-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card .title {
  color: var(--primary-color);
}

.event-date, .event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.event-date .icon, .event-location .icon {
  color: var(--accent-color-1);
}

/* Contact Section */
.contact-section {
  padding: 5rem 1.5rem;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: rgba(155, 89, 182, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.contact-info-card, .contact-form-card {
  height: 100%;
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.contact-info-card:hover, .contact-form-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.contact-info-card .card-content, .contact-form-card .card-content {
  padding: 2rem;
  background-color: var(--card-bg);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info .icon {
  color: var(--accent-color-1);
}

.contact-form-card .title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.contact-form .input, .contact-form .textarea, .contact-form .select select {
  border-radius: 8px;
  box-shadow: none;
  border: 2px solid rgba(74, 105, 189, 0.2);
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus, .contact-form .textarea:focus, .contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px rgba(74, 105, 189, 0.2);
}

.contact-form .button {
  height: 50px;
  font-weight: 600;
  border-radius: var(--button-radius);
}

/* Social media links in contact section */
.social-links a.button {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
  padding: 3rem 1.5rem;
}

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

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

.footer a:hover {
  color: var(--accent-color-1);
}

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

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

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

.footer .social-links a:hover {
  color: var(--accent-color-1);
}

/* Buttons */
.button {
  font-family: var(--heading-font);
  font-weight: 600;
  border-radius: var(--button-radius);
  transition: all var(--transition-medium);
}

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

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

.button.is-link {
  background-color: var(--accent-color-1);
  border-color: transparent;
}

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

.animated-button {
  position: relative;
  overflow: hidden;
}

.animated-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.animated-button:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

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

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

.success-page .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.success-page .button {
  margin-top: 2rem;
}

/* Privacy and Terms pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: 3rem;
}

.privacy-page .container, .terms-page .container {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.privacy-page h2, .terms-page h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-page p, .terms-page p {
  margin-bottom: 1.5rem;
}

/* Read more links */
.read-more-link {
  display: inline-block;
  color: var(--accent-color-1);
  font-weight: 600;
  margin-top: 1rem;
  transition: color var(--transition-fast);
  position: relative;
}

.read-more-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: margin-left var(--transition-fast);
}

.read-more-link:hover {
  color: var(--primary-color);
}

.read-more-link:hover::after {
  margin-left: 0.75rem;
}

/* Animation for elements appearing on scroll */
[data-aos] {
  opacity: 0;
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Cookie consent popup */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--text-light);
  padding: 20px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
}

#cookieConsent p {
  margin-bottom: 15px;
}

#cookieConsent a {
  color: var(--accent-color-1);
  text-decoration: underline;
}

#acceptCookies {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--secondary-color);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .hero-body {
    padding: 6rem 1.5rem;
  }
  
  .navbar-menu {
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
  }
  
  .navbar-menu.is-active {
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
  }
  
  .distorted-grid {
    grid-template-columns: 1fr;
  }
  
  .columns.is-multiline > .column {
    padding: 1rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .success-stats {
    flex-direction: column;
  }
  
  .success-stats .tag {
    margin-bottom: 0.5rem;
  }
}

@media screen and (max-width: 1024px) {
  .columns.is-multiline > .column {
    padding: 1rem;
  }
}