
/* =========================================================
   SAIS COMMON STYLES
   Global + Header + Footer
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

:root {
  --sais-navy: #08153a;
  --sais-blue: #178fd2;
  --sais-blue2: #2276d5;
  --sais-light: #f5f9fd;
  --sais-muted: #5e7592;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
 margin:0;
  font-family:'Outfit';
  color:var(--text);
  background:#fff;
  font-size:14px;
}

button,
input,
select,
textarea {
  font: inherit;
}


/* =========================================================
   COMMON HEADER
   ========================================================= */

.sais-header {
  width: 100%;
  height: 74px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 5.8%;
  gap: 30px;
  position: relative;
  z-index: 1100;
  animation: saisHeaderIn 0.6s ease both;
}


/* ---------- LOGO ---------- */
.sais-brand {
  width: 130px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.sais-brand img {
  width: 78px;
  height: 42px;
  object-fit: contain;
  display: block;
}


/* ---------- NAVIGATION ---------- */

.sais-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 29px;
}

.sais-nav a {
  color: #28517e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 28px 0 25px;
  white-space: nowrap;
  position: relative;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.sais-nav a:hover {
  color: #0e79c8;
  transform: translateY(-1px);
}

.sais-nav a.active {
  color: #0e79c8;
}


/* ---------- ACTIVE NAV LINE ---------- */

.sais-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 2px;
  background: #219bd8;
  border-radius: 2px;
}


/* ---------- DROPDOWN CARET ---------- */

.sais-caret {
  display: inline-block;
  margin-left: 5px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #476b90;
  transform: translateY(2px);
  transition: transform 0.25s ease;
}

.sais-nav a:hover .sais-caret {
  transform: translateY(3px);
}


/* ---------- CONSULTATION BUTTON ---------- */

.sais-cta {
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  padding: 13px 22px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    #15acd9,
    #2677d6
  );
  box-shadow:
    0 5px 13px rgba(35, 123, 207, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.sais-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 18px rgba(35, 123, 207, 0.35);
}

.sais-cta:active {
  transform: translateY(0);
}


/* =========================================================
   COMMON FOOTER
   Graphy-inspired SAIS card structure
   ========================================================= */

.sais-footer {
  width: 100%;
  background: #f7f8fa;
  padding: 40px 5.2% 45px;
  color: #08153a;
  animation: saisFooterReveal 0.8s
    cubic-bezier(.22, 1, .36, 1) both;
}
/* =========================================================
   FOOTER MAIN CARD
   ========================================================= */
.sais-footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 34px;
  padding: 62px 60px 0;
  box-shadow:
    0 18px 45px rgba(8, 21, 58, 0.06);

  display: grid;
  grid-template-columns:
    minmax(320px, 1.7fr)
    minmax(130px, 1fr)
    minmax(130px, 1fr)
    minmax(130px, 1fr)
    minmax(130px, 1fr);
  column-gap: 45px;
  position: relative;
}
/* =========================================================
   FOOTER BRAND
   ========================================================= */
.sais-footer-logo {
  min-width: 0;
}
.sais-footer-logo img {
  width: 92px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 25px;
}
/* ---------- DESCRIPTION ---------- */
.sais-footer-description {
  max-width: 390px;
  margin: 0 0 24px;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
}
/* =========================================================
   SOCIAL ICONS
   ========================================================= */
.sais-socials {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
}
.sais-socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
border: 1px solid #178fd2;
  color: #178fd2;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}
.sais-socials a:hover {
  color: #fff;
 background: linear-gradient(
    135deg,
    #178fd2,
    #2276d5
  );
  transform: translateY(-3px);
}
/* =========================================================
   FOOTER COLUMNS
   ========================================================= */
.sais-footer-column {
  min-width: 0;
}
.sais-footer-column h4 {
  margin: 0 0 21px;
  color: #101828;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.sais-footer-column a {
  display: block;
  width: fit-content;
  margin-bottom: 13px;
  color: #667085;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.sais-footer-column a:hover {
  color: #178fd2;
  transform: translateX(2px);
}

/* =========================================================
   FOOTER BOTTOM ROW
   ========================================================= */
.sais-footer-copy {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 29px 0 27px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #667085;
  font-size: 11px;
  line-height: 1.5;
}
/* ---------- COPYRIGHT ---------- */
.sais-footer-copy-left {
  margin: 0;
  color: #667085;
  font-size: 11px;
}
/* ---------- LEGAL LINKS ---------- */
.sais-footer-copy-right {
  display: flex;
  align-items: center;
  gap: 30px;
}
.sais-footer-copy-right a {
  color: #667085;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.sais-footer-copy-right a:hover {
  color: #178fd2;
}
/* =========================================================
   HEADER ANIMATION
   ========================================================= */
@keyframes saisHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   FOOTER ANIMATION
   ========================================================= */
@keyframes saisFooterReveal {

  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .sais-header {
    padding: 0 4%;
    gap: 20px;
  }

  .sais-nav {
    gap: 17px;
  }

  .sais-nav a {
    font-size: 11px;
  }

  .sais-cta {
    padding: 11px 16px;
    font-size: 11px;
  }


  /* Footer */

  .sais-footer {
    padding: 55px 4%;
  }

  .sais-footer-inner {
    grid-template-columns:
      1.5fr
      1fr
      1fr;

    gap: 40px;

    padding: 48px 42px 0;

    border-radius: 28px;
  }

  .sais-footer-logo {
    grid-column: 1 / -1;
  }

  .sais-footer-description {
    max-width: 520px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

  /* ---------- HEADER ---------- */

  .sais-header {
    height: auto;
    min-height: 65px;

    flex-wrap: wrap;

    padding: 10px 18px;

    gap: 10px;
  }


  .sais-brand {
    width: auto;
  }

  .sais-brand img {
    width: 72px;
    height: 38px;
  }


  .sais-cta {
    margin-left: auto;

    padding: 10px 15px;

    font-size: 10px;
  }


  /* ---------- MOBILE NAV ---------- */

  .sais-nav {
    order: 3;

    width: 100%;

    margin: 0;

    display: flex;

    gap: 22px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
  }

  .sais-nav::-webkit-scrollbar {
    display: none;
  }

  .sais-nav a {
    flex: 0 0 auto;

    padding: 9px 0 10px;

    font-size: 10px;
  }

  .sais-nav a.active::after {
    bottom: 3px;
  }


  /* =====================================================
     MOBILE FOOTER
     ===================================================== */

  .sais-footer {
    padding: 40px 16px 25px;
  }

  .sais-footer-inner {
    grid-template-columns: 1fr 1fr;

    gap: 32px 24px;

    padding: 38px 25px 0;

    border-radius: 24px;
  }

  .sais-footer-logo {
    grid-column: 1 / -1;
  }

  .sais-footer-logo img {
    width: 85px;

    margin-bottom: 20px;
  }

  .sais-footer-description {
    max-width: 100%;

    font-size: 12px;

    line-height: 1.6;
  }

  .sais-footer-column h4 {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .sais-footer-column a {
    font-size: 11px;
    margin-bottom: 11px;
  }
  /* ---------- BOTTOM ROW ---------- */
  .sais-footer-copy {
    margin-top: 30px;
    padding: 23px 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .sais-footer-copy-right {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}
/* =========================================================
   SMALL MOBILE
   ========================================================= */
@media (max-width: 400px) {
  .sais-header {
    padding-left: 14px;
    padding-right: 14px;
  }
  .sais-cta {
    padding: 9px 12px;
  }
  .sais-nav {
    gap: 18px;
  }
  .sais-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px 0;
  }
  .sais-footer-copy-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

}



/* =========================================================
   COMMON NAV DROPDOWNS
   Solutions + Products + Company + Insights
   ========================================================= */

.sais-nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
  height:100%;
}

.sais-nav-dropdown > .sais-nav-parent{
  display:flex;
  align-items:center;
  gap:0;
  height:100%;
}

.sais-nav-dropdown > .sais-nav-parent .sais-caret{
  margin-left:5px;
  margin-bottom: 4px;

}

.sais-nav-menu{
  position:absolute;
  top:calc(100% - 1px);
  left:50%;
  transform:translate(-50%, -10px);
  min-width:225px;
  padding:9px;
  background:rgba(255,255,255,.99);
  border:1px solid #e3e8ef;
  border-radius:14px;
  box-shadow:0 18px 42px rgba(8,21,58,.15);
  display:flex;
  flex-direction:column;
  gap:2px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index:1100;
}

.sais-nav-menu::before{
  content:"";
  position:absolute;
  top:-6px;
  left:50%;
  width:12px;
  height:12px;
  background:#fff;
  border-left:1px solid #e3e8ef;
  border-top:1px solid #e3e8ef;
  transform:translateX(-50%) rotate(45deg);
}

.sais-nav-dropdown:hover .sais-nav-menu,
.sais-nav-dropdown:focus-within .sais-nav-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%, 0);
}

.sais-nav-menu a{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  width:100%;
  min-height:38px;
  margin:0;
  padding:9px 12px;
  border-radius:9px;
  color:#28517e !important;
  background:transparent;
  font-size:12px;
  font-weight:600;
  line-height:1.25;
  white-space:nowrap;
  text-decoration:none;
  transform:none !important;
  transition:background .18s ease, color .18s ease, padding-left .18s ease;
}

.sais-nav-menu a::after{
  display:none !important;
}

.sais-nav-menu a:hover,
.sais-nav-menu a:focus-visible{
  background:#edf7ff;
  color:#0e79c8 !important;
  padding-left:16px;
  outline:none;
}

.sais-nav-menu a.sais-nav-current{
  color:#0e79c8 !important;
  background:#f1f8fd;
}

.sais-nav-dropdown:hover > .sais-nav-parent,
.sais-nav-dropdown:focus-within > .sais-nav-parent{
  color:#0e79c8;
}

.sais-nav-dropdown:hover > .sais-nav-parent .sais-caret,
.sais-nav-dropdown:focus-within > .sais-nav-parent .sais-caret{
  transform:translateY(3px);
}

.sais-nav-menu-products{
  min-width:230px;
}

@media (max-width:1000px){
  .sais-nav-menu{min-width:205px}
  .sais-nav-menu a{font-size:11px}
}

@media (max-width:650px){
  .sais-nav-dropdown{
    flex:0 0 auto;
    height:auto;
  }

  .sais-nav-dropdown > .sais-nav-parent{
    height:auto;
    padding:9px 0 10px;
  }

  .sais-nav-menu{
    position:fixed;
    top:116px;
    left:auto;
    right:18px;
    transform:translateY(-8px);
    min-width:210px;
    max-height:calc(100vh - 135px);
    overflow-y:auto;
  }

  .sais-nav-dropdown:hover .sais-nav-menu,
  .sais-nav-dropdown:focus-within .sais-nav-menu{
    transform:translateY(0);
  }

  .sais-nav-menu::before{
    left:auto;
    right:28px;
  }
}

@media (prefers-reduced-motion:reduce){
  .sais-nav-menu,
  .sais-nav-menu a{
    transition:none;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}