/* Common styles */
.section-padding {
  padding: 7rem 4.5rem;
}

.section-num {
  display: none;
  position: absolute;
  top: 3rem;
  right: 3rem;
  font-family: "Kode Mono", monospace;
  opacity: 0.2;
  font-weight: 400;
  font-size: 1.375;
  z-index: 9999;
}

.main-title {
  font-weight: 400;
  font-size: 2.625rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.description-text {
  opacity: 0.7;
  font-size: 1.063rem;
  line-height: 140%;
}
.full-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
}

.home-hero .banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 500;
  color: #fff;
  opacity: 1;
}

.home-hero .banner .logo {
  min-width: 50%;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.home-hero .banner .title {
  font-weight: 500;
  font-size: 2.8rem;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.home-hero .banner .subtitle {
  opacity: 1;
  font-weight: 600 !important;
  font-size: 2rem;
  line-height: 140%;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

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

/* UnicornStudio Animation Styles */
.unicorn-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000; /* Fallback background */
}

.unicorn-canvas {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments for UnicornStudio canvas */
.unicorn-canvas > div {
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.unicorn-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  object-fit: cover !important;
  display: block !important;
}

/* JavaScript state classes */
.js-disabled .js-enabled-only {
  display: none !important;
}

.js-disabled .js-disabled-only {
  display: block;
}

body:not(.js-disabled) .js-disabled-only {
  display: none !important;
}

body:not(.js-disabled) .js-enabled-only {
  display: block;
}

/* Fallback for UnicornStudio failure */
.unicorn-failed .js-enabled-only {
  display: none !important;
}

.unicorn-failed .js-disabled-only {
  display: block !important;
}

/* Loading Animation Styles */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.js-fallback-active {
  display: block !important;
  opacity: 1 !important;
}

/* Animation Loading States */
.animation-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Smooth transitions for fallback images */
.hero-img,
.mission-img,
.team-img {
  transition: opacity 0.8s ease-in-out;
}

/* Enhanced unicorn animation transitions */
.unicorn-animation {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.unicorn-animation.loaded {
  opacity: 1;
}

.home-about {
  position: relative;
  margin-top: 100vh;
  display: flex;
  flex-wrap: wrap;
  padding: 7rem 4.5rem;
}

.home-about .main-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0.5;
}

.home-about .main-text h1 {
  font-weight: 400;
  font-size: 1.485rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.home-about .main-text p,
.home-about .additional-info .details .key,
.home-about .additional-info .details .value {
  opacity: 0.7;
  font-size: 1.063rem;
  line-height: 140%;
}

.home-about .additional-info {
  height: 300px;
  flex: 0.5;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.home-about .additional-info .details {
  width: 100%;
  display: flex;
  gap: 0.8rem;
}

.home-about .additional-info .details .key {
  display: flex;
  justify-content: flex-end;
  flex: 0.5;
  opacity: 0.4;
}

.home-about .additional-info .details .value {
  flex: 0.5;
  opacity: 0.8;
}

/* Style for details with only key (no value) */
.home-about .additional-info .details .key:only-child {
  flex: 1;
  justify-content: center;
  opacity: 0.7;
}

.home-mission,
.home-team {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 4rem 4.5rem;
}

.mission-img,
.team-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.home-mission .text,
.home-team .text {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 80%;
}

.home-mission .text {
  margin-top: 8rem;
}
.home-team .text {
  margin-top: 2rem;
  z-index: 3;
}

.home-mission .text h1,
.home-team .text .title {
  font-size: 2.625rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.home-mission .text h1 {
  text-transform: uppercase;
}
.home-team .text .title {
  margin-bottom: 0.5rem;
}

.home-mission .text .subtitle {
  max-width: 60%;
  font-size: 1.063rem;
  line-height: 140%;
  margin-bottom: 2rem;
}

.home-mission .text .description {
  font-size: 1.879rem;
  line-height: 140%;
}

.home-mission .text .description u {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-ethics,
.home-partners {
  position: relative;
  padding: 7rem 4.5rem;
  min-height: 100vh;
}

.home-ethics .ethics-header h1,
.home-partners .main-title {
  text-transform: uppercase;
  font-size: 2.625rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.home-partners .main-subtitle {
  font-size: 1.8rem;
  max-width: 60%;
  margin-bottom: 1rem;
}

.home-ethics .ethics-header .desc,
.home-partners > .description {
  opacity: 0.7;
  font-size: 1.063rem;
  line-height: 140%;
  max-width: 62%;
}

.home-partners > .description {
  max-width: 50%;
  margin-bottom: 0.6rem;
}

.home-partners .content-container {
  margin-top: 3.5rem;
  position: relative;
  border: 1px solid #cecece;
  padding: 4rem 2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-partners .content-container .action-text-container {
  width: 60%;
}

.home-partners .content-container .action-text {
  max-width: 80%;
  font-size: 1.1rem;
  line-height: 140%;
  opacity: 0.7 !important;
}

.home-partners .action-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-partners .contact a {
  font-size: 1.6rem;
  color: #000;
  line-height: 140%;
}

.home-partners .switch-buttons {
  position: absolute;
  top: -15%;
  left: 0;
  background: #f6f6f6;
  border: 0.5px solid #000000;
  border-radius: 11px;
  display: inline-flex;
  width: fit-content;
  padding: 0.313rem;
}

.home-partners .switch-buttons .partnership-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 1.25rem 3.125rem;
  font-weight: 400;
  font-size: 1.938rem;
  color: #000000;
  opacity: 0.7;
  border: none;
  background: #f6f6f6;
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}

.home-partners .switch-buttons .partnership-btn:not(:last-child) {
  margin-right: 0.4rem;
}

.home-partners .switch-buttons .partnership-btn.active {
  background-color: #0ab692;
  color: #ffffff;
  opacity: 1;
}

.home-partners .switch-buttons .partnership-btn:hover {
  background-color: #a6e0d3;
}

.home-ethics .ethics-header .desc-1,
.ethics-header .desc-2 {
  margin-bottom: 1rem;
}

.home-ethics .principles-container {
  margin-top: 2rem;
  background-color: #f6f6f6;
  padding: 2.5rem;
  padding-bottom: 6rem;
}

.home-ethics .principles-container h2 {
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 3rem;
}

.home-ethics .principles-container h2 {
  text-align: center;
  font-size: 1.25rem;
}

.home-ethics .principles-container .principles-grid {
  display: flex;
  justify-content: center;
  column-gap: 2rem;
  flex-wrap: wrap;
}

.home-ethics .principles-container .principles-grid .col {
  flex: 0.45;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.home-ethics .principles-container .principles-grid .col .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-ethics .principles-container .principles-grid .col .item .text h3,
.home-ethics .principles-container .principles-grid .col .item .text p {
  opacity: 0.7;
  line-height: 140%;
  font-weight: 400;
}

.home-ethics .principles-container .principles-grid .col .item .text h3 {
  font-size: 1.563rem;
  margin-bottom: 0.2rem;
}

.home-ethics .principles-container .principles-grid .col .item .text p {
  font-size: 1.063rem;
}

.home-ethics footer,
.home-partners footer {
  padding: 6rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-ethics footer p,
.home-partners footer p {
  opacity: 0.7;
  font-weight: 300;
  line-height: 140%;
  font-size: 1.879rem;
  max-width: 70%;
}

.home-service-offering {
  padding: 7rem 4.5rem;
  min-height: 80vh;
  background-color: #f6f6f6;
  position: relative;
}

.home-service-offering .main-title {
  font-weight: 400;
  font-size: 2.625rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.home-service-offering .services {
  display: flex;
  column-gap: 1rem;
}

.home-service-offering .services .service-card {
  cursor: default;
  border: 0.5px solid #000000;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.813rem 1.063rem;
  flex: 1;
  min-height: 360px;
  justify-content: flex-start;
  will-change: transform;
  overflow: hidden;
}

.home-service-offering .services .service-card:hover {
  justify-content: flex-start;
}

.home-service-offering .services .service-card .service-icon {
  width: 4.8rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(210%);
  transform-origin: center;
  will-change: transform;
}

.home-service-offering .services .service-card .service-title {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(240%);
  transform-origin: left center;
  will-change: transform;
}

.home-service-offering .services .service-card:hover .service-icon {
  transform: translateY(0);
}

.home-service-offering .services .service-card:hover .service-title {
  transform: translateY(0);
}

.home-service-offering .services .service-card .service-title {
  font-weight: 400;
  font-size: 1.688rem;
  max-width: 70%;
}

.home-service-offering .services .service-card .service-desc {
  line-height: 140%;
  font-size: 0.938rem;
  opacity: 0;
  transform: translateY(220px);
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.home-service-offering .services .service-card:hover .service-desc {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  overflow: visible;
}

.home-service-offering .learn-more-section {
  position: relative;
  margin-top: 3rem;
  z-index: 1;
}

.home-service-offering .animated-text {
  font-size: 1.879rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.2;
  position: absolute;
  left: 0;
  bottom: 8rem;
  transform: none;
  z-index: 0;
  white-space: nowrap;
  display: flex;
  width: max-content;
  animation: animatedTextScrollLoop 30s linear infinite;
  pointer-events: none;
}

@keyframes animatedTextScrollLoop {
  0% {
    transform: translateX(0) translateY(-50%);
  }
  100% {
    transform: translateX(-50%) translateY(-50%);
  }
}

@keyframes animatedTextScroll {
  0% {
    transform: translateX(100%) translateY(-50%);
  }
  100% {
    transform: translateX(-100%) translateY(-50%);
  }
}

.home-service-offering .learn-more-section .learn-more-title {
  font-size: 1.063rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.home-service-offering .learn-more-section .learn-more-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 7px;
  border: 0.5px solid #000000;
  padding: 1.25rem 3.125rem;
  outline: none;
  font-size: 1.938rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  background-color: #f6f6f6;
  z-index: 999;
  transition: box-shadow 0.2s;
}

.home-service-offering .learn-more-section .learn-more-button img {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-service-offering .learn-more-section .learn-more-button:hover img {
  transform: translateX(10px);
}

.home-team::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.home-team .text .subtitle {
  font-size: 1.719rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 140%;
  max-width: 60%;
}

.home-team .text .description,
.home-team .text .list li {
  font-size: 1.063rem;
  font-weight: 400;
  line-height: 140%;
  opacity: 0.9;
}

.home-team .text .desc-1 {
  margin-bottom: 1rem;
}
.home-team .text .list li {
  margin-left: 2rem;
}
.home-team .text .list {
  margin-bottom: 2.5rem;
}

.home-team .text .join-team-button {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid #ffffff;
  cursor: pointer;
  gap: 0.5rem;
  border-radius: 7px;
  padding: 1.25rem 3.125rem;
  outline: none;
  font-size: 1.938rem;
  font-weight: 400;
  color: #fff;
  background-color: transparent;
  transition: box-shadow 0.2s;
}

.home-team .text .join-team-button img {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-team .text .join-team-button:hover img {
  transform: translateX(10px);
}

.home-contacts {
  padding: 7rem 4.5rem;
  min-height: 50vh;
}

.home-contacts .title {
  font-size: 2.625rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.home-contacts .subtitle {
  font-size: 1.063rem;
  opacity: 0.7;
  line-height: 140%;
  max-width: 50%;
}

.home-contacts .contacts {
  width: 100%;
  display: flex;
  align-items: center;
  column-gap: 4rem;
  margin-top: 3rem;
}

.home-partners .download-pgp-key {
  display: flex;
  gap: 0.5rem;
}

.home-partners .contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-partners .contact .content {
  display: flex;
  flex-direction: column;
}

.home-partners .download-pgp-key .label {
  font-size: 0.875rem;
  opacity: 0.5;
  line-height: 140%;
}

.home-partners .download-pgp-key a {
  font-size: 1rem;
  color: #000;
  line-height: 140%;
}

.home-partners .download-pgp-key-button {
  margin-top: 0.5rem;
  width: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0.563rem 1.375rem;
  gap: 0.5rem;
  background: #f6f6f6;
  border: 0.5px solid #000000;
  line-height: 140%;
  font-weight: 400;
  opacity: 0.7;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
======================================== */

@media screen and (min-width: 768px) and (max-width: 999px) {
  .home-partners .content-container {
    padding-top: 4rem !important;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1300px) {
  .home-partners .content-container .action-text {
    max-width: 100%;
  }
  .home-partners .content-container .action-text-container {
    max-width: 50%;
  }
  .home-partners .content-container {
    padding-top: 4rem !important;
  }
}

/* Tablet and small desktop styles */
@media screen and (max-width: 1024px) {
  .section-padding {
    padding: 5rem 3rem;
  }

  .main-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .home-about {
    padding: 5rem 3rem;
  }

  .home-mission,
  .home-team {
    padding: 3rem 3rem;
  }

  .home-ethics,
  .home-partners {
    padding: 5rem 3rem;
  }

  .home-service-offering {
    padding: 5rem 3rem;
  }

  .home-contacts {
    padding: 5rem 3rem;
  }

  /* Home Partners tablet adjustments */
  .home-partners .switch-buttons {
    top: -12%;
  }

  .home-partners .content-container {
    padding: 3.5rem 2rem;
  }

  .home-partners .content-container .action-text-container {
    width: 65%;
  }

  /* Tablet adjustments for UnicornStudio */
  .unicorn-canvas {
    width: 100%;
    height: 100vh;
  }

  .unicorn-canvas > div {
    width: 100% !important;
    height: 100vh !important;
  }

  .home-partners .main-subtitle {
    max-width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .home-about .additional-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../../assets/images/bg/home-about.svg") no-repeat center;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
  }
}

@media screen and (max-width: 1400px) {
  .home-service-offering .services .service-card {
    min-height: 400px;
  }

  .home-service-offering .services .service-card .service-icon {
    transform: translateY(250%);
  }

  .home-service-offering .services .service-card .service-title {
    transform: translateY(280%);
  }
}

@media screen and (max-width: 1200px) {
  .home-service-offering .services {
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  .home-service-offering .services::-webkit-scrollbar {
    display: none;
  }

  /* Home Service Offering */
  .home-service-offering {
    padding: 3rem 1.5rem;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .home-service-offering .main-title {
    font-size: 1.8rem;
  }

  .home-service-offering .services .service-card {
    min-width: 280px;
    max-width: 280px;
    min-height: 380px;
    flex-shrink: 0;
    padding: 1.5rem 1rem;
    justify-content: flex-start;
    touch-action: auto;
    pointer-events: auto;
  }

  .home-service-offering .services .service-card .service-icon {
    transform: translateY(230%);
  }

  .home-service-offering .services .service-card .service-title {
    font-size: 1.4rem;
    max-width: 100%;
    transform: translateY(260%);
  }

  /* Disable all animations on icon, title, and description for mobile */
  .home-service-offering .services .service-card .service-icon,
  .home-service-offering .services .service-card .service-title,
  .home-service-offering .services .service-card .service-desc {
    transition: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  .home-service-offering .services .service-card .service-desc {
    /* Always show description on mobile */
    opacity: 1;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    margin-top: 0.8rem;
  }

  /* Disable all hover effects */
  .home-service-offering .services .service-card:hover {
    justify-content: flex-start;
  }

  .home-service-offering .services .service-card:hover .service-icon,
  .home-service-offering .services .service-card:hover .service-title,
  .home-service-offering .services .service-card:hover .service-desc {
    transform: none !important;
  }

  .home-service-offering .learn-more-section {
    margin-top: 2rem;
  }

  .home-service-offering .learn-more-section .learn-more-button {
    font-size: 1.4rem;
    padding: 1rem 2rem;
  }

  .home-service-offering .animated-text {
    font-size: 1.2rem;
    bottom: 4rem;
  }

  .home-contacts .title {
    font-size: 1.8rem;
  }

  .home-contacts .subtitle {
    max-width: 100%;
    font-size: 1rem;
  }

  .home-contacts .contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
  }

  .home-partners .download-pgp-key a {
    font-size: 1.4rem;
  }
}

/* Mobile styles */

@media screen and (max-width: 768px) {
  .section-num {
    display: none;
  }

  .animated-text {
    display: none !important;
  }

  .section-padding {
    padding: 3rem 1.5rem;
  }

  .main-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .description-text {
    font-size: 1rem;
  }

  /* Home Hero - ensure it looks good on mobile */
  .home-hero {
    height: 100vh;
  }

  .hero-img {
    object-position: center center;
  }

  /* Mobile responsive adjustments for UnicornStudio */
  .unicorn-animation {
    padding: 0;
  }

  .unicorn-canvas {
    min-height: 100vh;
  }

  .unicorn-canvas > div {
    min-height: 100vh !important;
  }

  .home-hero .banner .title {
    font-size: 2.2rem;
  }

  .home-hero .banner .subtitle {
    font-size: 1.4rem;
  }

  /* Home About */
  .home-about {
    padding: 3rem 1.5rem;
    flex-direction: column;
    gap: 2rem;
  }

  .home-ethics {
    position: relative;
    padding: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .home-ethics .ethics-header,
  .home-ethics footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .home-about .main-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
  }

  .home-about .main-text h1 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .home-about .main-text p {
    font-size: 1rem;
  }

  .home-about .additional-info {
    height: auto;
    flex: 1;
    padding: 2rem 0;
    position: relative;
  }

  /* Left align single key detail on mobile - match regular keys */
  .home-about .additional-info .details .key:only-child {
    flex: initial;
    justify-content: flex-start;
  }

  /* Home Mission */
  .home-mission {
    position: relative;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
  }

  .home-mission .text {
    margin-top: 0;
    max-width: 100%;
  }

  .home-mission .text h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
  }

  .home-mission .text .subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .home-mission .text .description {
    font-size: 1rem;
  }

  /* Home Team */
  .home-team {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    height: auto;
    min-height: 60vh;
  }

  .home-team .text {
    margin-top: 1rem;
    max-width: 100%;
  }

  .home-team .text .title {
    font-size: 1.8rem;
  }

  .home-team .text .subtitle {
    font-size: 1.2rem;
    max-width: 100%;
  }

  .home-team .text .description,
  .home-team .text .list li {
    font-size: 1rem;
  }

  .home-team .text .join-team-button {
    font-size: 1.4rem;
    padding: 1rem 2rem;
  }

  .home-ethics .ethics-header h1 {
    font-size: 1.8rem;
  }

  .home-ethics .ethics-header .desc {
    max-width: 100%;
    font-size: 1rem;
  }

  .home-ethics .principles-container .principles-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .home-ethics .principles-container .principles-grid .col {
    flex: 1;
  }

  .home-ethics .principles-container .principles-grid .col .item .text h3 {
    font-size: 1.3rem;
  }

  .home-ethics .principles-container .principles-grid .col .item .text p {
    font-size: 1rem;
  }

  .home-ethics footer p {
    font-size: 1.3rem;
    max-width: 100%;
  }

  /* Home Partners */
  .home-partners {
    padding: 3rem 1.5rem;
  }

  .home-partners .main-title {
    font-size: 1.8rem;
  }

  .home-partners .main-subtitle {
    font-size: 1.4rem;
    max-width: 100%;
  }

  .home-partners > .description {
    max-width: 100%;
    font-size: 1rem;
  }

  .home-partners .content-container {
    margin-top: 3rem;
    padding: 4rem 1.5rem 3rem 1.5rem !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .home-partners .content-container .action-text-container {
    width: 100%;
    order: 2;
  }

  .home-partners .action-contact {
    width: 100%;
    order: 3;
  }

  .home-partners .switch-buttons {
    top: -8%;
    padding: 0.313rem;
    position: absolute;
    order: 1;
  }

  .home-partners .content-container .action-text-container {
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }

  .home-partners .switch-buttons .partnership-btn {
    padding: 0.6rem 1.5rem;
    font-weight: 400;
    font-size: 1.2rem;
  }

  .home-partners .download-pgp-key a {
    font-size: 1rem;
  }

  .home-partners .contact a {
    font-size: 1.2rem;
  }

  .home-about .additional-info .details .key {
    display: flex;
    justify-content: flex-start;
  }

  .home-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../../assets/images/bg/home-about.svg") no-repeat center;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
  }

  .home-about .additional-info .details .key {
    flex: initial;
  }

  .home-about .additional-info .details .value {
    flex: initial;
  }

  /* Style for details with only key (no value) in responsive */
  .home-about .additional-info .details .key:only-child {
    flex: initial;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 1100px) {
  .home-hero .banner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
  }

  .home-hero .banner .logo {
    min-width: 250px;
  }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
  .section-padding {
    padding: 2rem 1rem;
  }

  .main-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .home-about .main-text h1 {
    font-size: 1.1rem;
  }

  .home-mission,
  .home-team {
    padding: 1.5rem 1rem;
  }

  .home-team {
    min-height: 70vh;
  }

  .home-mission {
    min-height: 100vh;
  }

  .home-mission .text h1,
  .home-team .text .title {
    font-size: 1.5rem;
  }

  .home-mission .text .subtitle,
  .home-team .text .subtitle {
    font-size: 1rem;
  }

  .home-team .text .join-team-button {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
  }

  .home-ethics,
  .home-partners,
  .home-service-offering,
  .home-contacts {
    padding: 2rem 1rem;
  }

  .home-service-offering {
    overflow-y: hidden;
  }

  .home-ethics .ethics-header h1,
  .home-partners .main-title,
  .home-service-offering .main-title,
  .home-contacts .title {
    font-size: 1.5rem;
  }

  .home-partners .main-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .home-partners .content-container {
    padding: 2.5rem 1rem;
  }

  
  .home-partners .content-container .action-text-container {
    display: flex;
    justify-content: center;
    text-align: center;
  }


  .home-partners .switch-buttons {
    top: -6%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }

  .home-partners .switch-buttons .partnership-btn {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
  }

  .home-service-offering .services .service-card {
    min-width: 250px;
    max-width: 250px;
    flex-shrink: 0;
    padding: 1.2rem 0.8rem;
  }

  .home-service-offering .services .service-card .service-title {
    font-size: 1.2rem;
  }

  .home-service-offering .learn-more-section .learn-more-button {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
  }

  /* Small mobile adjustments for UnicornStudio */
  .unicorn-canvas {
    min-height: 100vh;
  }

  .unicorn-canvas > div {
    min-height: 100vh !important;
  }
}

/* ========================================
   LARGE SCREEN OPTIMIZATION (1900px+)
======================================== */
@media screen and (min-width: 1900px) {
  /* Container max-width and centering for very large screens */
  .home-about,
  .home-ethics,
  .home-partners,
  .home-service-offering,
  .home-contacts {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-mission,
  .home-team {
    position: relative;
  }

  .home-mission .text,
  .home-team .text {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4.5rem;
    padding-right: 4.5rem;
  }

  /* Optimize padding for very large screens */
  .section-padding,
  .home-about,
  .home-ethics,
  .home-partners,
  .home-service-offering,
  .home-contacts {
    padding-left: 6rem;
    padding-right: 6rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .home-mission,
  .home-team {
    padding-left: 6rem;
    padding-right: 6rem;
  }

  /* Typography optimization for large screens */
  .main-title {
    font-size: 2.8rem;
    max-width: 1200px;
  }

  .home-mission .text .description {
    font-size: 2rem;
    max-width: 1000px;
  }

  .home-about .main-text h1 {
    font-size: 1.6rem;
  }

  .home-ethics .ethics-header h1,
  .home-partners .main-title {
    font-size: 2.8rem;
    max-width: 1200px;
  }

  .home-partners .main-subtitle {
    font-size: 2.2rem;
  }

  /* Home Partners large screen optimizations */
  .home-partners {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-partners .content-container {
    max-width: 1400px;
    margin: 4rem auto 0 auto;
    padding: 5rem 3rem;
  }

  .home-partners .switch-buttons {
    top: -10%;
  }

  .home-partners .switch-buttons .partnership-btn {
    padding: 1.5rem 4rem;
    font-size: 2.2rem;
  }

  .home-mission .text h1,
  .home-team .text .title {
    font-size: 2.8rem;
    max-width: 1200px;
  }

  /* Service cards optimization */
  .home-service-offering .services {
    max-width: 1600px;
    margin: 0 auto;
    gap: 3rem;
  }

  .home-service-offering .services .service-card {
    min-height: 400px;
  }

  .home-service-offering .services .service-card .service-icon {
    transform: translateY(250%);
  }

  .home-service-offering .services .service-card .service-title {
    transform: translateY(280%);
  }

  /* Ethics principles grid optimization */
  .home-ethics .principles-container {
    max-width: 1400px;
    margin: 3rem auto 0 auto;
    padding: 3rem 4rem 6rem;
  }

  .home-ethics .principles-container .principles-grid {
    max-width: 1200px;
    margin: 0 auto;
    column-gap: 4rem;
  }

  /* Contact section optimization */
  .home-contacts {
    max-width: 1200px;
  }

  .home-contacts .contacts {
    margin: 2rem auto 0 auto;
  }

  /* About section additional info optimization */
  .home-about .additional-info {
    max-width: 500px;
    margin-left: auto;
  }

  /* Team section button optimization */
  .home-team .text .join-team-button {
    min-width: 300px;
    max-width: 500px;
    padding: 1.2rem 2.5rem;
    white-space: nowrap;
    font-size: 1.8rem;
  }

  /* Team section text positioning */
  .home-team .text {
    margin-top: 8rem;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
  }

  /* Hero section text optimization */
  .home-hero .text {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4.5rem;
  }

  /* UnicornStudio canvas optimization for large screens */
  .unicorn-canvas {
    max-width: 2400px;
    margin: 0 auto;
  }
}
