:root {
  --soeyda-brand: var(--primary);
  --soeyda-brand-rgb: var(--primary-rgb);
  --soeyda-brand-dark: var(--primary-dark, var(--primary));
  --soeyda-brand-deep: var(--primary-deep, #0f172a);
  --navy: #0f172a;
  --cream: #f8fafc;
  --frontend-copy-size: 1.06rem;
  --frontend-copy-size-lg: 1.18rem;
}

body {
  font-family: var(--font-body);
  background: #fff;
  color: #0f172a;
  font-size: 17px;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.serif {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0;
}

.section-tag {
  font-family: var(--font-heading);
  color: var(--primary);
  letter-spacing: .16em;
}

.btn-primary,
.btn-primary-fill {
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.btn-outline {
  border-radius: 6px;
  border-color: rgba(15, 23, 42, .18);
  color: #0f172a;
}

.btn-outline:hover,
.btn-outline-white:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.topbar {
  display: none !important;
  background:
    linear-gradient(90deg, rgba(var(--primary-deep-rgb), .98), rgba(var(--primary-dark-rgb), .96)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
  color: rgba(255, 255, 255, .88) !important;
  letter-spacing: .03em !important;
  padding: 7px 0 !important;
}

.soeyda-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.soeyda-topbar-contact,
.soeyda-topbar-social,
.soeyda-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.soeyda-topbar-actions {
  gap: 12px;
  margin-left: auto;
}

.soeyda-topbar-social {
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.soeyda-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
  letter-spacing: .02em;
}

.soeyda-topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
}

.soeyda-topbar-social a:hover {
  background: #fff !important;
  border-color: #fff;
  color: var(--primary) !important;
}

.soeyda-topbar-social a:hover i {
  color: var(--primary) !important;
}

.topbar .soeyda-topbar-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  min-height: 32px;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff !important;
  color: var(--primary-dark) !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.topbar .soeyda-topbar-donate i {
  color: var(--primary) !important;
  font-size: 12px;
}

.topbar .soeyda-topbar-donate:hover {
  background: var(--primary) !important;
  border-color: rgba(255, 255, 255, .9);
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
  transform: translateY(-2px);
}

.topbar .soeyda-topbar-donate:hover i {
  color: #fff !important;
}

.topbar a,
.topbar i {
  color: rgba(255, 255, 255, .9) !important;
}

.topbar a:hover {
  color: #fff !important;
}

.front-lang-toggle {
  background: #fff !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, .14) !important;
}

#site-nav,
#site-nav.scrolled {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

#site-nav .logo-text,
#site-nav.scrolled .logo-text {
  color: #0f172a !important;
}

#site-nav .logo-sub,
#site-nav.scrolled .logo-sub {
  color: var(--primary) !important;
}

#site-nav .hamburger-bar,
#site-nav.scrolled .hamburger-bar {
  background: #0f172a !important;
}

.navlnk,
#site-nav.scrolled .navlnk {
  height: auto !important;
  padding: 10px 12px !important;
  border-radius: 6px;
  color: #0f172a !important;
  font-family: var(--font-heading);
  font-size: 13px !important;
  font-weight: 700 !important;
}

.navlnk::after {
  display: none !important;
}

.navlnk:hover,
.navlnk.active,
.nav-item:hover .navlnk,
#site-nav.scrolled .navlnk:hover,
#site-nav.scrolled .navlnk.active {
  background: rgba(var(--primary-rgb), .09) !important;
  color: var(--primary) !important;
}

.dropdown-menu {
  min-width: 315px !important;
  padding: 10px !important;
  border-top: 2px solid var(--primary) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .11) !important;
}

.dropdown-link {
  border-radius: 6px !important;
  font-weight: 700 !important;
}

.dropdown-section-label {
  color: var(--primary) !important;
  font-family: var(--font-heading);
  letter-spacing: .12em !important;
}

.mega-menu {
  border: 1px solid rgba(15, 23, 42, .1) !important;
  border-top: 3px solid var(--primary) !important;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14) !important;
}

.mega-menu-intro {
  background: rgba(var(--primary-rgb), .06) !important;
}

.mega-menu-intro-title,
.mega-col-head {
  color: #0f172a !important;
}

.mega-menu-intro-desc,
.mega-link-desc {
  color: #64748b !important;
}

.mega-menu-corner {
  border-bottom-color: var(--primary) !important;
}

.mega-link:hover {
  background: rgba(var(--primary-rgb), .08) !important;
}

.mega-link-title {
  color: #0f172a !important;
}

.mega-link:hover .mega-link-title {
  color: var(--primary) !important;
}

.search-icon-btn {
  border-radius: 6px !important;
  color: #0f172a !important;
  background: rgba(15, 23, 42, .04) !important;
}

.search-icon-btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

#mob-menu {
  background: #0f172a !important;
}

.mob-section-title {
  color: rgba(255, 255, 255, .48) !important;
}

.mob-link,
.mob-contact-item {
  color: rgba(255, 255, 255, .78) !important;
}

.mob-link:hover,
.mob-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .08) !important;
}

.page-hero,
.listing-hero {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), .82), rgba(var(--primary-rgb), .56)),
    var(--default-hero-image) center/cover no-repeat !important;
}

.page-hero-bg,
.listing-hero-bg {
  opacity: .36 !important;
}

.page-hero-overlay,
.listing-hero-overlay {
  background:
    linear-gradient(90deg, rgba(var(--primary-rgb), .86), rgba(var(--primary-rgb), .48)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 20px) !important;
}

.page-hero .section-tag,
.listing-hero-kicker {
  background: rgba(255, 255, 255, .1) !important;
  color: #fff !important;
  border-radius: 6px !important;
  border-color: rgba(255, 255, 255, .18) !important;
}

.listing-hero-panel,
.listing-metric-card,
.native-card,
.principle-card,
.faq-accordion,
.home-story-card,
.home-event-card,
.home-research-card {
  border-radius: 8px !important;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .08) !important;
}

.soeyda-contact-cards,
.soeyda-contact-departments {
  background: #fff !important;
}

.soeyda-contact-main {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

.soeyda-contact-cards .hover-lift,
.soeyda-contact-departments .hover-lift {
  border-radius: 8px !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  border-top: 4px solid var(--primary) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07) !important;
}

.soeyda-contact-main input,
.soeyda-contact-main select,
.soeyda-contact-main textarea {
  border-radius: 6px !important;
  border-color: rgba(148, 163, 184, .36) !important;
}

.soeyda-contact-main input:focus,
.soeyda-contact-main select:focus,
.soeyda-contact-main textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12) !important;
}

.soeyda-footer,
footer.soeyda-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(var(--primary-deep-rgb), .98), #07111f 58%, #030712 100%) !important;
}

.soeyda-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(var(--primary-rgb), .18), transparent 34%);
  pointer-events: none;
}

.soeyda-footer > div {
  position: relative;
  z-index: 1;
}

.soeyda-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: center;
  margin: -28px 0 44px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: linear-gradient(115deg, rgba(var(--primary-rgb), .96), rgba(var(--primary-dark-rgb), .9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.soeyda-footer-cta span {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.soeyda-footer-cta h2 {
  max-width: 780px;
  margin: 0;
  color: #fff !important;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.soeyda-footer-newsletter {
  min-width: 0;
  width: 100%;
}

.soeyda-footer-newsletter-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 6px 6px 6px 18px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(3, 7, 18, .22);
}

.soeyda-footer-newsletter-control > i {
  color: var(--primary) !important;
  font-size: 15px;
}

.soeyda-footer-newsletter-control input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: none !important;
  font-size: .96rem;
  font-weight: 600;
}

.soeyda-footer-newsletter-control input::placeholder {
  color: #64748b;
}

.soeyda-footer-newsletter-control button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(var(--primary-rgb), .26);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.soeyda-footer-newsletter-control button:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  box-shadow: 0 9px 20px rgba(var(--primary-rgb), .34);
  transform: translateY(-2px);
}

.soeyda-footer-newsletter-message {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .7) !important;
  font-size: .76rem;
}

.soeyda-footer-newsletter-message.is-success {
  color: #fff !important;
  font-weight: 700;
}

.soeyda-footer .grid {
  gap: 18px !important;
}

.soeyda-footer .grid > div {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(8px);
}

.soeyda-footer h6 {
  color: #fff !important;
  letter-spacing: .16em !important;
}

.soeyda-footer p,
.soeyda-footer span,
.soeyda-footer a {
  color: rgba(255, 255, 255, .62) !important;
}

.soeyda-footer a:hover {
  color: #fff !important;
}

.soeyda-footer .frontend-logo-footer {
  max-width: min(100%, 260px);
}

.soeyda-footer .grid + div {
  padding: 22px 0 !important;
}

.scroll-toggle-btn,
.scroll-progress-bar {
  background: var(--primary) !important;
}

@media (max-width: 900px) {
  .soeyda-footer-cta {
    grid-template-columns: 1fr;
    margin-top: -18px;
    padding: 22px;
  }

  .soeyda-footer-newsletter-control {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .soeyda-footer-newsletter-control button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 991px) {
  #site-nav {
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  }

  .navlnk {
    padding: 8px 10px !important;
  }
}

@media (min-width: 768px) {
  .topbar {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .soeyda-topbar-inner {
    justify-content: center;
  }

  .soeyda-topbar-social {
    display: none;
  }
}
