/* === CSS Variables === */
:root {
  /* Corporate color scheme with complementary colors */
  --primary-color: #3a55b4;
  --primary-dark: #2a3f8c;
  --primary-light: #5672d3;
  --secondary-color: #ff9a3c;
  --secondary-dark: #e07b1f;
  --secondary-light: #ffb66e;
  --accent-color: #2ebfa5;
  --accent-dark: #1d9e87;
  --accent-light: #4fdcc2;
  
  /* Neutral colors */
  --dark-color: #1a2236;
  --dark-medium: #2d3748;
  --medium-color: #4a5568;
  --light-medium: #a0aec0;
  --light-color: #e2e8f0;
  --white-color: #ffffff;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--medium-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white-color);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

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

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

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

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

/* === Typography Utilities === */
.title {
  margin-bottom: var(--spacing-sm);
}

.subtitle {
  color: var(--medium-color);
  margin-top: -1rem;
  margin-bottom: var(--spacing-md);
}

.has-text-centered {
  text-align: center;
}

.has-text-white {
  color: var(--white-color) !important;
}

.is-size-4, .is-size-5 {
  margin-bottom: var(--spacing-sm);
}

/* === Button Styles === */
.button {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.button:hover, .button:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.button.is-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 1px solid var(--primary-color);
}

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

.button.is-info {
  background-color: var(--accent-color);
  color: var(--white-color);
  border: 1px solid var(--accent-color);
}

.button.is-info:hover, .button.is-info:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.is-outlined {
  background-color: transparent;
  border: 1px solid currentColor;
}

.button.is-link.is-outlined {
  color: var(--primary-color);
}

.button.is-info.is-outlined {
  color: var(--accent-color);
}

.button.is-danger.is-outlined {
  color: #e53e3e;
}

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

.button.is-info.is-outlined:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
}

.button.is-danger.is-outlined:hover {
  background-color: #e53e3e;
  color: var(--white-color);
}

.button.is-large {
  font-size: 1.25rem;
  padding: 0.875rem 1.75rem;
}

.button.is-medium {
  font-size: 1.125rem;
  padding: 0.625rem 1.25rem;
}

.button.is-fullwidth {
  width: 100%;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.buttons.is-centered {
  justify-content: center;
}

/* === Navigation === */
.navbar {
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  background: var(--white-color);
}

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

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

.navbar-burger {
  display: none;
  cursor: pointer;
  height: 3.25rem;
  width: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--medium-color);
  display: block;
  height: 1px;
  width: 16px;
  position: absolute;
  left: calc(50% - 8px);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 6px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50%);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 6px);
}

.navbar-menu {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
}

.navbar-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--medium-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

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

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

.hero.is-fullheight {
  min-height: 100vh;
}

.hero-body {
  padding: var(--spacing-xl) 0;
  z-index: 2;
  display: flex;
  flex: 1;
  align-items: center;
}

.hero-body .title, 
.hero-body .subtitle,
.hero-body p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-foot {
  padding-bottom: var(--spacing-md);
  z-index: 2;
}

.custom-scroll-down {
  animation: bounce 2s infinite;
}

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

.custom-scroll-down a {
  display: inline-block;
  color: var(--white-color);
  font-size: 2rem;
}

/* === About Us Section === */
.progress-container {
  margin-top: var(--spacing-md);
}

.progress {
  height: 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--light-color);
  margin-bottom: var(--spacing-md);
}

.progress.is-primary::-webkit-progress-value {
  background-color: var(--primary-color);
}

.progress.is-info::-webkit-progress-value {
  background-color: var(--accent-color);
}

.progress.is-success::-webkit-progress-value {
  background-color: var(--secondary-color);
}

/* === Vision Section === */
.vision-box {
  background-color: var(--white-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--primary-color);
  padding: var(--spacing-md);
  transition: transform var(--transition-medium);
}

.vision-box:hover {
  transform: translateY(-5px);
}

.timeline-container {
  position: relative;
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: -30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid var(--white-color);
  box-shadow: var(--shadow-sm);
}

.timeline-marker::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: var(--light-medium);
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item:last-child .timeline-marker::before {
  display: none;
}

.timeline-content h4 {
  margin-bottom: 0.25rem;
}

.timeline-content p {
  margin-top: 0;
}

/* === Gallery Section === */
.custom-slider {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.slider-container {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.slide {
  min-width: 100%;
  transition: transform var(--transition-medium);
}

.slide figure {
  margin: 0;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

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

.prev-slide, .next-slide {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
}

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

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

.card-image {
  position: relative;
  overflow: hidden;
  height: 250px; /* Fixed height for card images */
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.card.h-100 {
  height: 100%;
}

/* Special styling for primary cards */
.card.is-primary {
  border-top: 5px solid var(--primary-color);
  background: linear-gradient(135deg, rgba(58, 85, 180, 0.1), rgba(58, 85, 180, 0.05));
}

/* === Community Section === */
.content h3.title {
  margin-top: var(--spacing-md);
}

/* === Pricing Section === */
.pricing-card {
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: var(--spacing-md) 0;
  color: var(--primary-color);
}

.pricing-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* === FAQ Section === */
.faq-item {
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--light-color);
  padding-bottom: var(--spacing-md);
}

.faq-question {
  cursor: pointer;
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 1000px;
  transition: max-height var(--transition-medium);
  overflow: hidden;
}

/* === Contact Section === */
.contact-form-container {
  background-color: var(--white-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-md);
}

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

.contact-form .label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form .input, 
.contact-form .textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus, 
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 85, 180, 0.2);
  outline: none;
}

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

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.contact-item .icon {
  margin-right: 0.75rem;
}

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

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

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

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

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

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

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

/* === Utilities === */
.mb-5 {
  margin-bottom: var(--spacing-md);
}

.mb-6 {
  margin-bottom: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-md);
}

.mt-6 {
  margin-top: var(--spacing-lg);
}

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

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

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

/* === Media Queries === */
@media (max-width: 1023px) {
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white-color);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    padding: 1rem;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-burger {
    display: block;
    margin-left: auto;
  }
  
  .navbar-end {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-item {
    padding: 0.75rem 0;
  }
  
  .columns {
    flex-direction: column;
  }
  
  .column {
    width: 100% !important;
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 767px) {
  .hero {
    text-align: center;
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .subtitle.is-3 {
    font-size: 1.75rem;
  }
}

/* === Additional Styles === */
/* Parallax effect */
.has-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Asymmetric balance layout elements */
.asymmetric-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-md);
}

.asymmetric-container.reversed {
  grid-template-columns: 1.5fr 1fr;
}

/* Glassmorphism effect */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Additional page specific styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--light-color);
}

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

.terms-page, .privacy-page {
  padding-top: 100px; /* Prevent header overlap */
}

/* Columns utility classes */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -0.75rem;
}

.columns.is-multiline {
  flex-wrap: wrap;
}

.column {
  padding: 0.75rem;
  flex: none;
}

.column.is-full {
  width: 100%;
}

.column.is-half {
  width: 50%;
}

.column.is-one-third {
  width: 33.3333%;
}

.column.is-two-thirds {
  width: 66.6666%;
}

.column.is-one-quarter {
  width: 25%;
}

.column.is-three-quarters {
  width: 75%;
}

.has-background-light {
  background-color: var(--light-color);
}

.has-background-primary-light {
  background-color: rgba(58, 85, 180, 0.1);
}

.has-background-info-light {
  background-color: rgba(46, 191, 165, 0.1);
}

.has-background-dark {
  background-color: var(--dark-color);
}

/* Animate.css Integration */
.animate__animated {
  animation-duration: 1s;
}

.animate__fadeInDown, 
.animate__fadeInUp, 
.animate__bounceIn {
  animation-fill-mode: both;
}

/* Helper classes for delayed animations */
[data-animation-delay="0.2s"] {
  animation-delay: 0.2s;
}

[data-animation-delay="0.4s"] {
  animation-delay: 0.4s;
}

[data-animation-delay="0.6s"] {
  animation-delay: 0.6s;
}