:root{
  --bg: #07090c;
  --panel: rgba(255,255,255,0.06);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --line: rgba(255,255,255,0.12);
  --accent: #c6a15b;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* iOS tap highlight */
a, button{ -webkit-tap-highlight-color: transparent; }

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .92; }

.container{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* ================= HEADER ================= */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(7,9,12,0.85), rgba(7,9,12,0));
  backdrop-filter: blur(8px);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo{
  height: 55px;
  width: auto;
  display: block;
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Burger */
.burger{
  width: 48px; height: 40px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.burger span{
  display: block;
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}
.burger:focus{
  outline: 2px solid rgba(198,161,91,0.5);
  outline-offset: 2px;
}

/* ================= LANGUAGE DROPDOWN ================= */

.lang{
  position: relative;
  z-index: 10000;
}

.lang-btn{
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.lang-btn .chevron{
  font-size: 12px;
  opacity: .85;
}

.lang-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 170px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7,9,12,0.98);
  overflow: hidden;
  z-index: 10001;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.lang-item{
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.lang-item:hover{
  background: rgba(255,255,255,0.08);
}

/* ================= SIDEBAR ================= */

.sidebar{
  position: fixed;
  top: 0; right: -340px;
  width: 320px; height: 100vh;
  background: rgba(7,9,12,0.98);
  border-left: 1px solid var(--line);
  z-index: 1100;
  transition: right .25s ease;
  padding: 90px 24px 24px;
}
.sidebar.open{ right: 0; }

.sidebar-nav{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.sidebar-nav a{
  display: block;
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
}
.sidebar-nav a:hover{
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
}
.sidebar-nav a.active{
  border-color: rgba(198,161,91,0.35);
  background: rgba(198,161,91,0.10);
}

/* Publications parent button – iOS reset */
.menu-parent{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;

  background-color: rgba(0,0,0,0) !important;
  color: var(--text) !important;
  border: 1px solid transparent !important;

  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  box-shadow: none !important;

  font: inherit !important;
  line-height: 1.2;
  text-align: left !important;

  cursor: pointer;
  pointer-events: auto !important;
  user-select: none;
}

.menu-parent span{ flex: 1; }

.menu-parent:hover{
  border-color: var(--line) !important;
  background: rgba(255,255,255,0.04) !important;
}
.menu-parent:active{
  background: rgba(255,255,255,0.06) !important;
}

.menu-parent i{
  font-size: 12px;
  opacity: .85;
  transition: transform .2s ease;
}
.menu-parent.open i{ transform: rotate(180deg); }

.submenu{
  display: grid;
  gap: 10px;
  margin-top: 2px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.10);
}
.submenu[hidden]{ display: none !important; }

.submenu a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  background: rgba(255,255,255,0.02);
}
.submenu a:hover{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
}

.backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
}

/* ================= SECTIONS + ANIMATIONS ================= */

.section{
  padding-top: 90px;
  position: relative;
  overflow: hidden; /* keep for background animations */
}

.bg-layer{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(0) scale(1.03);
  transition: transform 950ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  z-index: 0;
}

.hero .bg-layer{ background-image: url("../img/bg-hero.jpg"); }
.services .bg-layer{ background-image: url("../img/bg-services.jpg"); }
.team .bg-layer{ background-image: url("../img/bg-team.jpg"); }
.contact .bg-layer{ background-image: url("../img/bg-contact.jpg"); }
.footer .bg-layer{ background-image: url("../img/bg-footer.jpg"); }

.section-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  pointer-events: none;
  z-index: 1;
}

.content-layer{
  position: relative;
  z-index: 2;
  transform: translateY(0);
  opacity: 1;
  transition: transform 850ms cubic-bezier(.2,.9,.2,1), opacity 650ms ease;
  will-change: transform, opacity;
}

/* JS states */
.section.prep .content-layer{
  transform: translateY(35px);
  opacity: 0;
}
.section.prep .bg-layer{
  transform: translateY(8%) scale(1.03);
}
.section.is-active .content-layer{
  transform: translateY(0);
  opacity: 1;
}
.section.is-active .bg-layer{
  transform: translateY(0) scale(1.03);
}
.section.is-leaving .content-layer{
  transform: translateY(45px);
  opacity: 0.2;
}
.section.is-leaving .bg-layer{
  transform: translateY(-10%) scale(1.03);
}

/* ================= TYPOGRAPHY ================= */

h1{
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h2{
  font-size: clamp(22px, 2.6vw, 40px);
  margin: 0 0 10px;
}
h3{
  margin: 0 0 10px;
  font-size: 18px;
}

.lead{
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto 18px;
  max-width: 860px;
}

.section-head{
  text-align: center;
  margin-bottom: 22px;
}
.section-head p{
  color: var(--muted);
  max-width: 880px;
  margin: 10px auto 0;
  line-height: 1.7;
}

.muted{ color: var(--muted); }

/* HERO layout */
.center{
  text-align: center;
  display: grid;
  place-items: center;
  height: calc(100vh - 90px);
}

/* ✅ remove the “country pill buttons” completely */
.hero-tags{ display: none !important; }

/* ================= SERVICES ================= */

.services-sub{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 16px;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}
.services-sub h3{
  margin: 0 0 10px;
  font-size: 20px;
}
.services-sub p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ✅ KEY FIX: allow inner scrolling for long Services content (prevents “stuck”) */
.services .content-layer{
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 6px;
  overscroll-behavior: contain;
}

/* Optional scrollbar styling */
.services .content-layer::-webkit-scrollbar{ width: 10px; }
.services .content-layer::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}
.services .content-layer::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.05);
}

/* Equal height cards (Option B JS sets heights) */
.equalize-card{ height: auto; }

.grid-2 .card{ grid-column: span 6; }
@media(max-width: 860px){
  .grid-2 .card{ grid-column: span 12; }
}

.subcard-title{
  font-size: 18px;
  margin: 0 0 10px;
}

/* ================= CARDS / GRIDS ================= */

.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: start;
}

.card{
  grid-column: span 6;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card p, .card li{
  color: var(--muted);
  line-height: 1.7;
}

.card ul{
  margin: 0;
  padding-left: 18px;
}

.card h4.subhead{
  margin: 10px 0 8px;
  font-size: 16px;
  color: rgba(255,255,255,0.90);
}

@media(max-width: 860px){
  .card{ grid-column: span 12; }
  .services-sub{ width: min(1100px, calc(100% - 48px)); }
  .services .content-layer{
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

/* ================= TEAM ================= */

.team-list{ display: grid; gap: 18px; }

.team-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

.team-photo{
  width: 160px;
  height: 160px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.team-photo img{ width: 100%; height: 100%; object-fit: cover; }

.team-photo .team-ph{
  display: none;
  font-weight: 800;
  color: rgba(255,255,255,0.88);
}
.team-photo.placeholder .team-ph{ display: block; }

.role{
  color: rgba(198,161,91,0.90);
  font-weight: 650;
  margin: 0 0 10px;
}

.team-body p{
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.team-meta{
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.team-meta i{ color: rgba(198,161,91,0.90); margin-right: 8px; }

@media(max-width: 860px){
  .team-row{ grid-template-columns: 1fr; }
  .team-photo{ width: 110px; height: 110px; }
}

/* ================= CONTACT ================= */

.contact-split{
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 16px;
  align-items: start;
}

.contact-left{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

.contact-block{
  display: grid;
  gap: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item{
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-item i{
  color: rgba(198,161,91,0.90);
  margin-top: 3px;
}

.contact-strong{
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  margin-bottom: 4px;
}

.phones{
  display: grid;
  gap: 8px;
}
.phones a{ color: rgba(255,255,255,0.88); }
.phones a:hover{ opacity: .9; }

.contact-people{ display: none !important; }

.contact-right{
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

.map{
  width: 100%;
  height: 320px;
  min-height: 320px;
  border: 0;
  display: block;
  filter: saturate(0.95) contrast(1.05);
}

@media(min-width: 1200px){
  .map{ height: 340px; min-height: 340px; }
}

@media(max-width: 960px){
  .contact-split{ grid-template-columns: 1fr; }
  .map{ min-height: 320px; height: 320px; }
}

/* ================= FOOTER ================= */

.footer{ padding-top: 90px; }

.footer-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 26px;
}

.footer-col h3{
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.footer-logo{
  height: 34px;
  width: auto;
  margin-bottom: 12px;
  opacity: .95;
}

.footer-contact p{
  color: var(--muted);
  margin: 10px 0;
  line-height: 1.6;
}
.footer-contact i{
  color: rgba(198,161,91,0.90);
  margin-right: 10px;
}

.footer-links-list{ display: grid; gap: 12px; }

.footer-links-list a{
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-links-list a:hover{ color: rgba(255,255,255,0.90); }

.social-row{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.social-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.social-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255,255,255,0.95);
  color: rgba(0,0,0,0.80);
}

/* ================= FOOTER BOTTOM (CENTER FIX) ================= */

.footer-bottom{
  position: relative;
  z-index: 9999;                 /* stay above fullPage stuff */
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 16px 0;
}

.footer-bottom-inner{
  width: 100% !important;        /* ✅ full width */
  margin: 0 auto !important;
  padding: 0 16px;
  text-align: center !important; /* ✅ real center */
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.5;
  display: block !important;     /* ✅ stop flex splitting */
}

.footer-bottom-inner .powered{
  color: rgba(198,161,91,0.95);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;           /* ✅ keep on one line */
}

.footer-bottom-inner .powered:hover{
  text-decoration: underline;
}

@media(max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ================= fullPage.js dots ================= */

#fp-nav ul li a span,
.fp-slidesNav ul li a span{
  background: rgba(255,255,255,0.60) !important;
}
#fp-nav ul li a.active span{
  background: var(--accent) !important;
}

/* ✅ Hide “Made with fullPage.js” watermark */
.fp-watermark{
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
