:root {
  /* Retro split-complementary color scheme */
  --primary-color: #ff5a5f;
  --primary-dark: #e3474c;
  --primary-light: #ff8a8d;
  --secondary-color: #5aff8f;
  --secondary-dark: #47e378;
  --secondary-light: #8affc0;
  --tertiary-color: #5a8fff;
  --tertiary-dark: #4773e3;
  --tertiary-light: #8aabff;
  --neutral-dark: #333333;
  --neutral: #666666;
  --neutral-light: #efefef;
  --white: #ffffff;
  --black: #000000;
  --overlay-dark: rgba(0, 0, 0, 0.7);
  --overlay-light: rgba(255, 255, 255, 0.9);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
  --gradient-neutral: linear-gradient(135deg, var(--neutral-light), var(--neutral));
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
  --border-radius-full: 999px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --font-family-heading: 'Inter', sans-serif;
  --font-family-body: 'IBM Plex Sans', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}

/* Base Styles */
html, body {
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-regular);
  color: var(--neutral-dark);
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--neutral-light);
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

h1, .title.is-1 {
  font-weight: var(--font-weight-black);
  letter-spacing: -0.02em;
}

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

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

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

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

.section {
  padding: var(--spacing-xxl) 0;
}

.container {
  padding: 0 var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography Adaptations */
@media screen and (min-width: 769px) {
  .title.is-1 {
    font-size: 3.5rem;
  }
  
  .title.is-2 {
    font-size: 2.8rem;
  }
  
  .title.is-3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.75rem;
  }
}

/* Button Styles */
.button {
  border-radius: var(--border-radius-full);
  font-weight: var(--font-weight-medium);
  font-family: var(--font-family-heading);
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all var(--transition-slow);
}

.button:hover::after {
  left: 100%;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.button.is-light.is-outlined:hover {
  color: var(--neutral-dark);
  background-color: var(--white);
  transform: translateY(-2px);
}

/* Navbar Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

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

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

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.hero .title, 
.hero .subtitle,
.hero p {
  color: var(--white);
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
  margin-bottom: var(--spacing-lg);
}

.hero-body {
  z-index: 2;
  position: relative;
  padding: calc(var(--spacing-xxl) * 2) 0;
}

.hero-body .column {
  transform: perspective(1000px) rotateY(0deg);
  transition: transform var(--transition-slow);
}

.hero-body:hover .column {
  transform: perspective(1000px) rotateY(2deg);
}

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

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

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

.card-image img {
  transition: transform var(--transition-slow);
}

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

.card-content {
  flex: 1;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
}

/* Image Container */
.image-container {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* About Section */
.about-section {
  position: relative;
  background-color: var(--white);
}

.about-section .content {
  padding-right: var(--spacing-lg);
}

.about-section .image-container {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-medium);
}

.about-section .image-container:hover {
  transform: perspective(1000px) rotateY(0deg);
}

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

.services-section .card {
  margin-bottom: var(--spacing-lg);
}

.services-section .card-content {
  text-align: center;
}

.services-section .title {
  color: var(--primary-color);
}

/* Accolades Section */
.accolades-section {
  background-color: var(--white);
  position: relative;
}

.accolades-section .card {
  text-align: center;
}

.accolades-section .title.is-4 {
  color: var(--tertiary-color);
}

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

.partner-logo {
  padding: var(--spacing-md);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
}

/* Insights/Catalog Section */
.insights-section {
  background-color: var(--white);
}

.insights-section .tabs {
  margin-bottom: var(--spacing-lg);
}

.insights-section .tabs li a {
  color: var(--neutral);
  border-bottom-color: var(--neutral-light);
}

.insights-section .tabs li.is-active a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.insights-section .card-content .subtitle {
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  margin-top: calc(var(--spacing-xs) * -1);
  margin-bottom: var(--spacing-md);
}

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

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

.resource-card .title {
  color: var(--tertiary-color);
}

/* Community Section */
.community-section {
  background-color: var(--white);
}

.community-section .image-container {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.community-section .card {
  text-align: center;
}

.community-section .card-image {
  margin-bottom: var(--spacing-sm);
}

/* Media Section */
.media-section {
  background-color: var(--neutral-light);
}

.media-section .card-content small {
  color: var(--neutral);
}

.media-section .title.is-4 {
  margin-bottom: var(--spacing-md);
  color: var(--tertiary-dark);
}

/* Testimonials */
.clientele-section {
  background-color: var(--white);
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--spacing-md);
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

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

.clientele-section .card {
  text-align: center;
}

.clientele-section .rating {
  color: var(--primary-color);
  margin-top: var(--spacing-sm);
}

/* Careers Section */
.careers-section {
  background-color: var(--neutral-light);
}

.open-positions .box {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.careers-section .image-container {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(5deg);
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
  position: relative;
}

.contact-info p {
  margin-bottom: var(--spacing-sm);
}

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

.social-media .button {
  margin-right: var(--spacing-sm);
}

.contact-form {
  background-color: var(--neutral-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-2deg);
  transition: transform var(--transition-medium);
}

.contact-form:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.contact-form .title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

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

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

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

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

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
}

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

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

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

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

.footer ul li a {
  color: var(--neutral-light);
  transition: color var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.footer hr {
  background-color: var(--neutral);
  margin: var(--spacing-lg) 0;
}

.social-links a {
  color: var(--neutral-light);
  transition: color var(--transition-fast);
  display: inline-block;
  margin-right: var(--spacing-md);
  font-weight: var(--font-weight-medium);
}

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

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

.success-page .content {
  max-width: 600px;
  margin: 0 auto;
}

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

/* Privacy & Terms Pages */
.privacy-page, 
.terms-page {
  padding-top: 100px;
}

/* Animations and Effects */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ScrollReveal Custom Styles */
.reveal-left {
  transform: translateX(-50px);
  opacity: 0;
  transition: all var(--transition-slow);
}

.reveal-right {
  transform: translateX(50px);
  opacity: 0;
  transition: all var(--transition-slow);
}

.reveal-bottom {
  transform: translateY(50px);
  opacity: 0;
  transition: all var(--transition-slow);
}

.reveal-top {
  transform: translateY(-50px);
  opacity: 0;
  transition: all var(--transition-slow);
}

.reveal-scale {
  transform: scale(0.8);
  opacity: 0;
  transition: all var(--transition-slow);
}

.reveal-active {
  transform: translate(0) scale(1);
  opacity: 1;
}

/* 3D Effects */
.card, 
.box, 
.image-container {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero-body {
    padding: var(--spacing-xxl) 0;
  }
  
  .column.is-one-third,
  .column.is-half,
  .column.is-two-thirds {
    padding: 0 var(--spacing-sm);
  }
  
  .card {
    margin-bottom: var(--spacing-md);
  }
  
  .contact-form {
    margin-top: var(--spacing-lg);
  }
}

@media screen and (min-width: 769px) {
  .hero-body {
    min-height: 80vh;
    display: flex;
    align-items: center;
  }
}