* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #4B7FFF;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --dark-text: #222;
  --light-text: #fff;
  --accent-red: #E74C3C;
  --border-gray: #ddd;
  --sage-green: #7a9b8e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
}

/* FLOATING SIDE MENU */
.floating-menu {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
}

.floating-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-menu-item > span:first-child {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-menu-item.active > span:first-child {
  background-color: var(--primary-blue);
}

.floating-menu-item:not(.active) > span:first-child {
  background-color: var(--dark-bg);
}

.floating-menu-item:hover > span:first-child {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.floating-menu-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-text);
  text-align: center;
  line-height: 1.4;
  writing-mode: horizontal-tb;
  max-width: 80px;
  white-space: normal;
}

.floating-menu-item.active .floating-menu-label {
  color: var(--primary-blue);
}

/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 5%;
  background-color: var(--light-bg);
  animation: fadeIn 0.8s ease-out;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1rem;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-content p:first-of-type {
  font-weight: 600;
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

.btn {
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: #3a63d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(75, 127, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-text);
  border: 2px solid var(--dark-text);
}

.btn-secondary:hover {
  background-color: var(--dark-text);
  color: var(--light-text);
}

.btn-dark {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.btn-dark:hover {
  background-color: #333;
}

.badge {
  display: inline-block;
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  animation: slideIn 0.8s ease-out 0.2s backwards;
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--dark-bg);
  width: 24px;
  border-radius: 4px;
}

.company-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

/* VISION SECTION */
.vision-header {
  padding-top: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.vision-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.vision-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 4rem 5%;
  background-color: var(--light-bg);
}

.vision-questions {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.vision-questions h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.vision-questions ul {
  list-style: none;
}

.vision-questions li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
  font-size: 0.9rem;
}

.vision-questions li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.vision-values {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 3rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision-value {
  margin-bottom: 3rem;
  animation: slideUp 0.6s ease-out backwards;
}

.vision-value:nth-child(1) { animation-delay: 0.1s; }
.vision-value:nth-child(2) { animation-delay: 0.2s; }
.vision-value:nth-child(3) { animation-delay: 0.3s; }
.vision-value:nth-child(4) { animation-delay: 0.4s; }

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

.vision-value h4 {
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.vision-value p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.7;
}

/* CASE STUDIES SECTION */
.case-studies {
  padding: 4rem 5%;
  background-color: white;
}

.case-studies-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.case-studies-header::before,
.case-studies-header::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 2px;
  background-color: var(--accent-red);
}

.case-studies-header::before {
  left: 0;
}

.case-studies-header::after {
  right: 0;
}

.case-studies-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-red);
  display: inline-block;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.case-card {
  background-color: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.case-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.case-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-label {
  display: inline-block;
  background-color: var(--sage-green);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.case-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-text);
  line-height: 1.3;
}

.case-card-description {
  color: #666;
  font-size: 0.9rem;
  margin-top: auto;
}

.carousel-dots-case {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.case-cta {
  display: inline-block;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  width: 100%;
  text-decoration: none;
}

.case-cta:hover {
  background-color: var(--accent-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(231, 76, 60, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .floating-menu {
    right: 1rem;
  }

  .hero {
      grid-template-columns: 1fr;
      padding: 3rem 4%;
  }

  .hero-content h1 {
      font-size: 2.5rem;
  }

  .vision-section {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  .case-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .floating-menu {
    right: 0.5rem;
    top: auto;
    bottom: 2rem;
    flex-direction: row;
    transform: none;
    gap: 1rem;
  }

  .floating-menu-item > span:first-child {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .floating-menu-label {
    font-size: 0.65rem;
  }

  .hero-content h1 {
      font-size: 2rem;
  }

  .button-group {
      flex-direction: column;
  }

  .btn {
      width: 100%;
      text-align: center;
  }

  .vision-value h4 {
      font-size: 1.5rem;
  }

  .case-studies-header::before,
  .case-studies-header::after {
      display: none;
  }
}