/* CSS Variables for Theme Colors (Triadic Color Scheme) */
:root {
  /* Primary Colors */
  --primary-color: #3273dc;
  --primary-dark: #1a56b8;
  --primary-light: #5f91e6;
  
  /* Secondary Colors (Triadic) */
  --secondary-color: #dc5332;
  --secondary-dark: #b83e1a;
  --secondary-light: #e67f5f;
  
  /* Tertiary Colors (Triadic) */
  --tertiary-color: #32dc73;
  --tertiary-dark: #1ab859;
  --tertiary-light: #5fe69a;
  
  /* Neutral Colors */
  --dark-color: #121b2e;
  --medium-color: #3a4a6d;
  --light-color: #f0f5ff;
  
  /* Glassmorphism Colors */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Text Colors */
  --text-dark: #222;
  --text-medium: #555;
  --text-light: #f5f5f5;
  
  /* Animation Timing */
  --transition-fast: 0.2s;
  --transition-medium: 0.3s;
  --transition-slow: 0.5s;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 50%;
}

/* Base Styles */
html, body {
  scroll-behavior: smooth;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

h1, .title.is-1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2, .title.is-2 {
  font-size: 2.8rem;
  line-height: 1.3;
}

h3, .title.is-3 {
  font-size: 2.25rem;
  line-height: 1.4;
}

h4, .title.is-4 {
  font-size: 1.75rem;
  line-height: 1.5;
}

h5, .title.is-5 {
  font-size: 1.25rem;
  line-height: 1.6;
}

p {
  margin-bottom: 1rem;
}

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

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

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

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

.section-title {
  position: relative;
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
  margin: 0.5rem auto 0;
  border-radius: var(--radius-sm);
}

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

/* Glassmorphism Card Styles */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 42px 0 var(--glass-shadow);
}

/* Button Styles */
.button {
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.button.is-secondary {
  background-color: var(--secondary-color);
  border-color: transparent;
  color: var(--text-light);
}

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

.button.is-tertiary {
  background-color: var(--tertiary-color);
  border-color: transparent;
  color: var(--text-light);
}

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

.glassmorphism-button {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.15);
  color: var(--text-light) !important;
}

.glassmorphism-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px 0 rgba(31, 38, 135, 0.2);
}

.glassmorphism-button.is-outlined {
  background: transparent !important;
  border: 1.5px solid var(--glass-border) !important;
}

/* Form Element Styles */
.input, .textarea, .select select {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
}

.glassmorphism-input {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border) !important;
  color: var(--text-dark) !important;
}

.glassmorphism-select select {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border) !important;
  color: var(--text-dark) !important;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color var(--transition-medium);
}

.navbar {
  background: transparent;
}

.navbar-item {
  color: var(--text-light);
  font-weight: 600;
  transition: color var(--transition-medium);
}

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

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
}

.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;
}

.hero-title, .hero-subtitle {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  color: var(--text-light) !important;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.2s;
}

.hero-subtitle {
  font-size: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.4s;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator .icon {
  color: var(--text-light);
  font-size: 2rem;
}

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

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

/* Innovation Section */
.innovation-section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

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

.innovation-card .card-image {
  overflow: hidden;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

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

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

.innovation-card .card-content {
  flex-grow: 1;
  padding: 1.5rem;
}

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

/* Methodology Section */
.methodology-section {
  position: relative;
  color: var(--text-light);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
  padding: var(--spacing-xl) 0;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 27, 46, 0.85) 0%, rgba(18, 27, 46, 0.7) 100%);
  z-index: 0;
}

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

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

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

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

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

.timeline-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  left: 40px;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--light-color);
  z-index: 100;
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Media Section */
.media-section {
  padding: var(--spacing-xl) 0;
}

.media-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.media-card .card-image {
  overflow: hidden;
  width: 100%;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

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

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

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

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--glass-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  transition: transform var(--transition-medium), background var(--transition-medium);
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

/* Customer Stories Section */
.customer-stories-section {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: var(--spacing-xl) 0;
}

.customer-stories-section .container {
  position: relative;
  z-index: 1;
}

.story-card {
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.company-logo {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 auto;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Insights Section */
.insights-section {
  padding: var(--spacing-xl) 0;
}

.insight-card {
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

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

.insight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.accordion-container {
  margin: 0 auto;
}

.accordion {
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: background var(--transition-medium);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.2);
}

.accordion-header h3 {
  margin: 0;
  color: var(--text-dark);
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-xl) 0;
}

.testimonial-slider {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide:first-child {
  display: block;
}

.testimonial-content {
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 2rem;
}

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

.testimonial-text:before {
  top: -1rem;
  left: 0;
}

.testimonial-text:after {
  bottom: -2.5rem;
  right: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  transition: transform var(--transition-medium);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  transform: scale(1.2);
}

.testimonial-indicators {
  display: flex;
  margin: 0 1rem;
}

.testimonial-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background var(--transition-medium);
}

.testimonial-indicator.active {
  background: var(--primary-color);
}

/* External Resources Section */
.external-resources-section {
  position: relative;
  color: var(--text-light);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
  padding: var(--spacing-xl) 0;
}

.external-resources-section .container {
  position: relative;
  z-index: 1;
}

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

.resource-card {
  height: 100%;
}

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

.resource-links li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.resource-links a {
  color: var(--primary-light);
  font-weight: 600;
  transition: color var(--transition-medium);
}

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

/* Resources Section */
.resources-section {
  position: relative;
  color: var(--text-light);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: var(--spacing-xl) 0;
}

.resources-section .container {
  position: relative;
  z-index: 1;
}

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

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

.resource-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.resource-list .icon {
  margin-right: 0.75rem;
  color: var(--tertiary-color);
  font-size: 1.25rem;
}

/* Careers Section */
.careers-section {
  padding: var(--spacing-xl) 0;
}

.careers-card {
  height: 100%;
}

.careers-info-card {
  height: 100%;
}

.job-listing {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.job-listing:last-child {
  border-bottom: none;
}

.job-description {
  margin-bottom: 1rem;
}

.job-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.benefits-list .icon {
  margin-right: 0.75rem;
  color: var(--tertiary-color);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Contact Section */
.contact-section {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: var(--spacing-xl) 0;
}

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

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

.contact-form-card {
  height: 100%;
  color: var(--text-dark);
}

.contact-form-card .card-content {
  padding: 2rem;
}

.contact-form-card .label {
  color: var(--text-dark);
}

.contact-info-card {
  height: 100%;
  color: var(--text-dark);
}

.contact-info-card .card-content {
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--text-light);
  padding: var(--spacing-lg) 0;
  margin-top: 0;
}

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

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

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

.social-links a {
  color: var(--text-light);
  transition: color var(--transition-medium);
  text-decoration: none;
  font-weight: 600;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-medium);
  text-decoration: none;
}

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

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

.success-content {
  max-width: 600px;
}

/* Modal */
.modal-content {
  max-width: 800px;
  margin: 0 auto;
}

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

/* Media Queries */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 3.5rem;
  }
}

@media screen and (max-width: 768px) {
  h1, .title.is-1 {
    font-size: 2.75rem;
  }
  
  h2, .title.is-2 {
    font-size: 2.25rem;
  }
  
  h3, .title.is-3 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .navbar-menu {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .company-logo {
    margin: 0 auto 1rem;
  }
  
  .testimonial-author {
    flex-direction: column;
  }
  
  .testimonial-author img {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .button {
    margin: 0.5rem 0 !important;
    width: 100%;
  }
  
  .timeline-item {
    padding: 2rem 1rem 2rem 3.5rem;
  }
}