/* ===== CSS VARIABLES ===== */
:root {
  /* Monochromatic Color Palette - Blue Base */
  --primary-color: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-darker: #1e40af;
  
  --secondary-color: #64748b;
  --secondary-light: #94a3b8;
  --secondary-dark: #475569;
  
  --accent-color: #06b6d4;
  --accent-light: #22d3ee;
  --accent-dark: #0891b2;
  
  --neutral-100: #f8fafc;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  --white: #ffffff;
  --black: #000000;
  
  /* Glassmorphism Colors */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.15);
  --glass-bg-dark: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(31, 38, 135, 0.37);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--neutral-600) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(6, 182, 212, 0.6) 100%);
  
  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--neutral-700);
  background: var(--gradient-glass);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-800);
  margin-bottom: var(--spacing-sm);
}

.title.is-1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.title.is-2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.title.is-3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

.title.is-4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 600;
}

.subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--neutral-600);
  margin-bottom: var(--spacing-md);
}

.subtitle.is-3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.subtitle.is-4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.subtitle.is-6 {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* Text Colors */
.has-text-white { color: var(--white) !important; }
.has-text-dark { color: var(--neutral-800) !important; }
.has-text-grey { color: var(--neutral-500) !important; }
.has-text-grey-dark { color: var(--neutral-600) !important; }

/* Text Sizes */
.is-size-5 { font-size: 1.125rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -0.75rem;
}

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

.column.is-one-third {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}

.column.is-two-thirds {
  flex: 0 0 66.667%;
  max-width: 66.667%;
}

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

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

.is-vcentered {
  align-items: center;
}

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

/* ===== SECTIONS ===== */
.section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.glass-section {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass-morphism {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-xl);
}

.glass-card {
  background: var(--glass-bg-light);
  /* backdrop-filter: blur(15px); */
  /* -webkit-backdrop-filter: blur(15px); */
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-xl);
  background: var(--glass-bg);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-normal);
}

.navbar-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-item {
  color: var(--neutral-700);
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-weight: 500;
}

.navbar-item:hover {
  color: var(--primary-color);
  background: var(--glass-bg);
  transform: translateY(-2px);
}

.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.navbar-burger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--neutral-700);
  margin: 3px 0;
  transition: all var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
  overflow: hidden;
}

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

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--white) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-15deg);
  transition: all var(--transition-slow);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) translateZ(50px);
}

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

/* ===== BUTTONS ===== */
.button,
.btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.glass-button {
  background: var(--glass-bg-light);
  /* backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px); */
  border: 1px solid var(--glass-border);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.glass-button:hover {
  background: var(--glass-bg);
  transform: translateY(-3px) translateZ(20px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

.button.is-large {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1.125rem;
}

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

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

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

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: var(--shadow-xl);
}

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

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

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

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

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

/* ===== FORMS ===== */
.field {
  margin-bottom: var(--spacing-md);
}

.label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--neutral-700);
}

.input,
.textarea,
.glass-input {
  width: 100%;
  /* padding: var(--spacing-sm); */
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  background: var(--glass-bg-light);
  /* backdrop-filter: blur(10px); */
  -webkit-backdrop-filter: blur(10px);
  color: var(--neutral-700);
  transition: all var(--transition-fast);
}

.input:focus,
.textarea:focus,
.glass-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.select {
  position: relative;
}

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

.select select {
  width: 100%;
  /* padding: var(--spacing-sm); */
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  background: var(--glass-bg-light);
  color: var(--neutral-700);
}

/* ===== TESTIMONIALS ===== */
.testimonials-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.accordion-header:hover {
  background: var(--glass-bg);
}

.accordion-toggle {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 500px;
}

.accordion-content img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--spacing-2xl) 0 var(--spacing-md) 0;
}

.footer .title,
.footer h3,
.footer h4 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.social-links a {
  color: var(--neutral-400);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.is-active {
  display: flex;
}

.modal-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 1;
}

.modal-card-head {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-card-body {
  padding: var(--spacing-md);
}

.modal-card-foot {
  padding: var(--spacing-md);
  border-top: 1px solid var(--neutral-200);
  text-align: right;
}

.delete {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-500);
}

/* ===== SUCCESS PAGE STYLES ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glass);
  background-attachment: fixed;
}

.success-content {
  text-align: center;
  padding: var(--spacing-2xl);
}

/* ===== PRIVACY & TERMS PAGE STYLES ===== */
.content-page {
  padding-top: 100px;
}

.content-page .container {
  max-width: 800px;
}

.content-page .content {
  background: var(--glass-bg-light);
  /* backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px); */
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  margin: var(--spacing-md) 0;
}

.contact-form{
  width: 100%;
}

/* ===== UTILITY CLASSES ===== */
.has-text-centered {
  text-align: center;
}

.mt-4 { margin-top: var(--spacing-md); }
.mt-5 { margin-top: var(--spacing-lg); }
.mt-6 { margin-top: var(--spacing-xl); }
.mb-4 { margin-bottom: var(--spacing-md); }
.mb-6 { margin-bottom: var(--spacing-xl); }
.mr-3 { margin-right: var(--spacing-sm); }

/* ===== READ MORE LINKS ===== */
.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.read-more::after {
  content: ' →';
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* ===== 3D ANIMATIONS ===== */
@keyframes float3d {
  0%, 100% {
    transform: translateY(0) rotateX(0deg);
  }
  50% {
    transform: translateY(-20px) rotateX(5deg);
  }
}

.floating-3d {
  animation: float3d 6s ease-in-out infinite;
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.rotating-3d {
  animation: rotate3d 20s linear infinite;
}

/* ===== ASYMMETRIC BALANCE LAYOUTS ===== */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-md);
  align-items: start;
}

.asymmetric-offset {
  transform: translateY(var(--spacing-md));
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
  .columns {
    flex-direction: column;
  }
  
  .column.is-one-third,
  .column.is-two-thirds,
  .column.is-one-quarter,
  .column.is-three-quarters {
    flex: 1;
    max-width: 100%;
  }
  
  .hero-image {
    transform: none;
    margin-top: var(--spacing-md);
  }
  
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-offset {
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    flex-direction: column;
    padding: var(--spacing-sm);
  }
  
  .navbar-menu.is-active {
    display: flex;
  }
  
  .navbar-burger {
    display: flex;
  }
  
  .navbar-end {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .hero {
    text-align: center;
  }
  
  .buttons {
    justify-content: center;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .accordion-content img {
    height: 120px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero-body {
    padding: var(--spacing-lg) 0;
  }
  
  .card-content {
    padding: var(--spacing-sm);
  }
  
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .button.is-large {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Force GPU acceleration for smooth animations */
.glass-card,
.hero-image,
.button,
.card {
  transform: translateZ(0);
  will-change: transform;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .buttons,
  .modal {
    display: none !important;
  }
  
  .hero {
    background: none !important;
  }
  
  .glass-card,
  .glass-morphism {
    background: var(--white) !important;
    border: 1px solid var(--neutral-300) !important;
  }
}