/* 1. Satoshi Font Faces */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Regular.woff2') format('woff2'),
       url('/fonts/Satoshi-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Medium.woff2') format('woff2'),
       url('/fonts/Satoshi-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Bold.woff2') format('woff2'),
       url('/fonts/Satoshi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Black.woff2') format('woff2'),
       url('/fonts/Satoshi-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Light.woff2') format('woff2'),
       url('/fonts/Satoshi-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Italic.woff2') format('woff2'),
       url('/fonts/Satoshi-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* 2. Base Colors and Font Stack */
body {
  font-family: 'Satoshi', 'Inter', 'Manrope', 'Montserrat', Arial, sans-serif;
  background: #FAF9F6;
  color: #181818;
  font-size: 1.125rem;
  line-height: 1.7;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html, body {
  height: 100%;
  min-height: 100%;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/* 3. Headings */
h1, .display-1, .display-2, .display-3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 4.2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}
h2 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h4, h5, h6 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

h1 {
  font-family: 'Inter', 'Inter Display Placeholder', sans-serif;
  font-size: 80px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -2px;
  text-align: center;
  color: #000000;
  text-decoration: none;
  text-transform: none;
}

/* 4. Paragraphs and Lead */
p, .lead {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: #181818;
  margin-bottom: 1.25rem;
}
.lead {
  font-size: 1.25rem;
  color: #222;
}

/* 5. Section Spacing */
section {
  padding: 60px 0 40px 0;
}

@media (max-width: 767px) {
  h1, .display-1, .display-2, .display-3 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  section {
    padding: 32px 0 24px 0;
  }
}

/* 6. Hero Button (Wone style) */
.btn-wone {
  background: #fff;
  color: #181818;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 1.5rem;
  padding: 0.9rem 2.5rem 0.9rem 2.2rem;
  box-shadow: 0 2px 12px rgba(34,34,34,0.08);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: box-shadow 0.2s, background 0.2s;
}
.btn-wone:hover, .btn-wone:focus {
  background: #f0f0f0;
  box-shadow: 0 4px 24px rgba(34,34,34,0.10);
}
.btn-wone .btn-icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background: #181818;
  border-radius: 50%;
  margin-right: 0.5rem;
  position: relative;
}
.btn-wone .btn-icon::after {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 7. Photographic Cards (rotated, overlapped, shadow) */
.cards-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 40px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
.card-photo {
  width: 240px;
  height: 180px;
  object-fit: cover;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(34,34,34,0.18);
  position: relative;
  z-index: 2;
  transition: transform 0.2s;
}
.card-photo:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.card-photo:nth-child(2) { transform: rotate(-2deg) translateY(0px); }
.card-photo:nth-child(3) { transform: rotate(2deg) translateY(0px); }
.card-photo:nth-child(4) { transform: rotate(6deg) translateY(10px); }

/* 8. Feature Section Divider */
.feature-row {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 1.5rem;
  background: none;
}
.feature-col {
  flex: 1;
  padding: 0 2rem;
}
.feature-divider {
  width: 1px;
  background: #e0e0e0;
  margin: 0 0.5rem;
}

/* 9. Misc */
.bg-light {
  background: #fff !important;
}
.bg-white {
  background: #FAF9F6 !important;
}
.shadow-sm {
  box-shadow: 0 2px 12px rgba(34,34,34,0.03) !important;
}

/* 10. Utility */
.text-center {
  text-align: center !important;
}

.container {
  max-width: 1200px;
}

.photo-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 2rem;
  gap: 0;
  position: relative;
  z-index: 3;
}

.photo-card {
  width: 340px;
  height: 240px;
  object-fit: cover;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(34,34,34,0.18);
  position: relative;
  transition: 
    transform 0.25s cubic-bezier(.4,2,.6,1),
    box-shadow 0.25s cubic-bezier(.4,2,.6,1),
    z-index 0s;
  z-index: 1;
  opacity: 0;
  transform: translateY(60px) scale(0.95) rotate(0deg);
  animation: fanOutPhotoCard 1.2s cubic-bezier(.4,2,.6,1) forwards;
  --final-transform: none;
}
.photo-card:first-child {
  margin-left: 0;
  transform: rotate(-7deg) translateY(18px);
  z-index: 2;
}
.photo-card:nth-child(2) {
  margin-left: -60px;
  transform: rotate(-3deg) translateY(0px);
  z-index: 3;
}
.photo-card:nth-child(3) {
  margin-left: -60px;
  transform: rotate(3deg) translateY(0px);
  z-index: 4;
}
.photo-card:nth-child(4) {
  margin-left: -60px;
  transform: rotate(7deg) translateY(18px);
  z-index: 5;
}

.photo-card:nth-child(1):hover { transform: scale(1.07) rotate(-7deg) translateY(18px); }
.photo-card:nth-child(2):hover { transform: scale(1.07) rotate(-3deg) translateY(0px); }
.photo-card:nth-child(3):hover { transform: scale(1.07) rotate(3deg) translateY(0px); }
.photo-card:nth-child(4):hover { transform: scale(1.07) rotate(7deg) translateY(18px); }

@media (max-width: 900px) {
  .photo-card {
    width: 180px;
    height: 120px;
  }
  .photo-card:nth-child(n+2) {
    margin-left: -30px;
  }
}
@media (max-width: 600px) {
  .photo-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
  }
  .photo-card {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px;
    transform: none !important;
    width: 100% !important;
    max-width: 320px;
    height: auto !important;
  }
  .photo-card:last-child {
    margin-bottom: 0;
  }
}

.photo-card:nth-child(1) { animation-delay: 0.1s; }
.photo-card:nth-child(2) { animation-delay: 0.25s; }
.photo-card:nth-child(3) { animation-delay: 0.4s; }
.photo-card:nth-child(4) { animation-delay: 0.55s; }

@keyframes fanOutPhotoCard {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95) rotate(0deg);
  }
  80% {
    opacity: 1;
    transform: translateY(-10px) scale(1.03) rotate(var(--fan-rotate, 0deg));
  }
  100% {
    opacity: 1;
    transform: var(--final-transform, none);
  }
}

.partners-section {
  background: #232323;
  color: #fff;
  padding: 48px 0;
}
.partners-section h2 {
  color: #fff;
}
.partner-logos {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.partner-logos span {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.8;
}

.photo-row-spacing {
  margin-bottom: 0 !important;
  padding-bottom: 120px !important;
}

.partner-logo {
  height: 30px;
  width: auto;
  margin: 0 16px;
  filter: brightness(0) invert(1) grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
.partner-logo:hover {
  filter: brightness(1.2) invert(0.8) grayscale(0.2);
  opacity: 1;
}
@media (max-width: 600px) {
  .partner-logo {
    height: 20px;
    margin: 0 8px 12px 8px;
  }
}

#hero {
  background: #FAF9F6;
  min-height: 60vh;
  padding-top: 100px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}
.hero-container {
  max-width: 800px;
}
.hero-subtext {
  font-size: 1.25rem;
  color: #181818;
  line-height: 1.5;
}

#about {
  background: #fff;
  padding: 80px 0 40px 0;
}
.about-container {
  max-width: 700px;
}

#services {
  background: #fff;
  padding: 80px 0;
}
.services-subtext {
  font-size: 1.25rem;
  color: #888;
}

#benefits {
  background: #FAF9F6;
  padding: 60px 0;
}
.benefits-container {
  /* No max-width needed, uses default container */
}

#contact {
  background: #fff;
  padding: 60px 0;
}
.contact-container {
  max-width: 800px;
}

.contact-container p {
  color: white;
}

.benefits-list {
  list-style: none;
  font-size: 1.15rem;
  color: #222;
  margin-top: 2rem;
  margin-bottom: 0;
  padding-left: 0;
}
.benefits-list li {
  margin-bottom: 0.75em;
  position: relative;
  padding-left: 2em;
}
.benefits-list li::before {
  content: '\2713';
  color: #181818;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}
.benefits-image {
  max-width: 300px;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: none;
  margin-top: 2rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.1s linear, transform 0.1s linear;
}
.benefits-image.animate-in {
  animation: quebiusZoomPop 0.7s cubic-bezier(.4,2,.6,1) forwards;
}
@keyframes quebiusZoomPop {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .benefits-image {
    margin-top: 2rem;
    opacity:initial;
  }
}
@media (max-width: 767px) {
  #benefits .row {
    flex-direction: column-reverse;
  }
  .benefits-image {
    margin-bottom: 2rem;
  }
}

.benefits-container a {
  color: #865ba5;
  font-weight: bold;
  text-decoration: none;
}
.benefits-container a:hover, .benefits-container a:focus {
  text-decoration: underline;
}

.service-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 4px 32px rgba(34,34,34,0.10), 0 1.5px 6px rgba(134,91,165,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  min-height: unset;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1rem 1rem 1rem;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}
.service-card:hover {
  box-shadow: 0 8px 48px rgba(134,91,165,0.18), 0 2px 8px rgba(34,34,34,0.12);
  transform: translateY(-6px) scale(1.03);
}
.service-card i {
  color: #181818;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .service-card {
    max-width: 220px;
    aspect-ratio: 1 / 1;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
}
@media (max-width: 600px) {
  .service-card {
    max-width: 100%;
    aspect-ratio: unset;
    width: 100%;
  }
}

#benefits.js-animate-benefits .service-card {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

#benefits .service-card.animate-in {
  animation: cardPopUp 0.55s cubic-bezier(.4,2,.6,1) forwards;
}

@keyframes cardPopUp {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  80% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.navbar-nav .nav-link {
  font-family: 'Inter', 'Inter Display Placeholder', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 22.4px;
  margin: 0 1.2rem;
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:active {
  border-bottom: 2px dotted #c92391;
  color: #181818;
  padding-bottom: 2px;
}
.navbar-nav .nav-link:hover:not(.active), .navbar-nav .nav-link:focus:not(.active) {
  color: #865ba5;
}

.contact-container .btn-light {
  background-color: #fff;
  color: #8f3885;
  border: none;
  border-radius: 1.5rem;
  padding: 0.9rem 2.5rem;
  font-weight: 700;
  transition: background-color 0.3s, transform 0.3s;
}

.contact-container .btn-light:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Social Icons */
.footer-socials {
  gap: 0.7rem !important;
}
.footer-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #232326;
  transition: background 0.2s, box-shadow 0.2s;
  margin: 0 2px;
  overflow: hidden;
}
.footer-icon-circle i, .footer-icon-circle .truth-icon {
  color: #fff;
  font-size: 18px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icon-circle .truth-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.footer-icon-circle:hover {
  background: #8f3885;
  box-shadow: 0 2px 8px rgba(143,56,133,0.15);
}
.footer-copyright {
  color: #fff !important;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 767px) {
  .footer-socials {
    justify-content: center !important;
    margin-top: 1rem;
  }
  .footer-copyright {
    font-size: 0.95rem;
  }
}

@keyframes quebiusFlyIn {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  80% {
    opacity: 1;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-img-md {
  max-width: 400px;
  width: 100%;
  height: auto;
  box-shadow:
    0 8px 32px 0 rgba(34,34,34,0.18),
    0 2px 8px 0 rgba(134,91,165,0.12);
}

.service-features {
  font-size: 1.05rem;
  color: #222;
  padding-left: 0.5rem;
  margin-bottom: 0;
}

.services-lead-wide {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Service card pop-up animation */
@keyframes serviceCardPopUp {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  80% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.services-animate-cards .card {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}
.services-animate-cards .card.animate-in {
  animation: serviceCardPopUp 0.55s cubic-bezier(.4,2,.6,1) forwards;
}
.services-animate-cards .card:nth-child(1).animate-in { animation-delay: 0.1s; }
.services-animate-cards .card:nth-child(2).animate-in { animation-delay: 0.25s; }
.services-animate-cards .card:nth-child(3).animate-in { animation-delay: 0.4s; }
.services-animate-cards .card:nth-child(4).animate-in { animation-delay: 0.55s; }
.services-animate-cards .card:nth-child(5).animate-in { animation-delay: 0.7s; }
.services-animate-cards .card:nth-child(6).animate-in { animation-delay: 0.85s; }
.services-animate-cards .card:nth-child(7).animate-in { animation-delay: 1s; }

.why-contact-list {
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.why-contact-list li {
  margin-bottom: 0.7em;
}

.department-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.department-pill {
  background: #fff;
  border: none;
  border-radius: 2rem;
  box-shadow: 0 2px 12px rgba(34,34,34,0.07);
  padding: 0.4rem 1.1rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: #181818;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s;
  outline: none;
  margin-bottom: 0.5rem;
}
.department-pill:hover,
.department-pill:focus {
  background: #f5f0fa;
  color: #865ba5;
  box-shadow: 0 4px 18px rgba(134,91,165,0.13);
}
.department-pill.active {
  background: #865ba5;
  color: #fff;
  box-shadow: 0 4px 18px rgba(134,91,165,0.18);
}

.btn-gradient {
  background: linear-gradient(90deg, #865ba5 0%, #c92391 100%);
  color: #fff !important;
  border: none;
  border-radius: 1.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.9rem 2.5rem;
  box-shadow: 0 2px 12px rgba(134,91,165,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-gradient:hover, .btn-gradient:focus {
  background: linear-gradient(90deg, #c92391 0%, #865ba5 100%);
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(134,91,165,0.18);
  transform: translateY(-2px) scale(1.03);
}

.country-autocomplete {
  position: relative;
  background: #fff;
  z-index: 2;
}
.country-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 4px 24px rgba(34,34,34,0.10);
  z-index: 10;
  padding: 0.25rem 0;
  margin: 0;
  list-style: none;
}
.country-list .dropdown-item {
  padding: 0.6rem 1.2rem;
  font-size: 1.05rem;
  color: #181818;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.country-list .dropdown-item:hover, .country-list .dropdown-item:focus {
  background: #f5f0fa;
  color: #865ba5;
}

.contact-details-list {
  font-size: 1.08rem;
  color: #222;
}
.contact-details-list a {
  color: #865ba5;
  text-decoration: none;
  font-weight: 500;
}
.contact-details-list a:hover {
  text-decoration: underline;
}
.contact-details-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.25rem;
  color: #865ba5;
  background: #f5f0fa;
  border-radius: 50%;
}

.news-card-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f8f9fa;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
}

.news-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
