/*----------------------------------------
  Srivensoftech LLC - site customizations
  Loaded after assets/css/main.css
----------------------------------------*/

/* ---------- Brand logo ---------- */
/* The logo artwork has an opaque white background, so it sits on a white
   badge that reads cleanly on the blue header shape and the navy footer,
   off-canvas menu and search overlay. */
.site-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 12px;
  line-height: 0;
  background-color: var(--tv-common-white);
  border-radius: 12px 0 12px 0;
  box-shadow: 0 4px 14px rgba(10, 22, 94, 0.16);
}
.site-logo img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  /* trim the empty margin above and below the artwork */
  aspect-ratio: 3.75 / 1;
  object-fit: cover;
  object-position: center;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .tv-header-logo .site-logo {
    padding: 5px 10px;
  }
}
@media (max-width: 575px) {
  .tv-header-logo .site-logo {
    padding: 5px 9px;
  }
  .tv-header-logo .site-logo img {
    width: 165px;
  }
}
.tv-footer-widget-logo .site-logo img {
  width: 230px;
}
.itoffcanvas__logo .site-logo img {
  width: 190px;
  height: auto;
}
.search__logo .site-logo img {
  width: 180px;
}

/* ---------- Header top bar ---------- */
/* Phone is shown at every breakpoint; remove the trailing divider when it
   is the only visible item. */
@media (max-width: 991px) {
  .tv-header-top-list-box ul li:first-child {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
  }
}
.tv-header-top-list-box ul li span a {
  white-space: nowrap;
}

/* ---------- Contact page ---------- */
.tv-contact-wrap .tv-contact-right-wrap h2 {
  font-size: 40px;
}
@media (max-width: 1199px) {
  .tv-contact-wrap .tv-contact-right-wrap h2 {
    font-size: 28px;
  }
}
.tv-contact-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tv-contact-info-list li {
  margin-bottom: 4px;
}
.tv-contact-info-list li:last-child {
  margin-bottom: 0;
}
.tv-contact-info-list a,
.tv-contact-info-list span {
  display: flex;
  align-items: baseline;
  color: var(--tv-text-body);
  overflow-wrap: anywhere;
}
.tv-contact-info-list a:hover {
  color: var(--tv-theme-1);
}
.tv-contact-info-list i {
  flex-shrink: 0;
  width: 18px;
  margin-right: 8px;
  color: var(--tv-theme-1);
}

/* ---------- Floating call button ---------- */
.floating-call {
  position: fixed;
  right: 30px;
  bottom: 24px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 16px;
  font-family: var(--tv-ff-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--tv-common-white);
  background-color: var(--tv-theme-1);
  border-radius: 18px 0 18px 0;
  box-shadow: 0 8px 24px rgba(43, 77, 255, 0.35);
}
.floating-call i {
  font-size: 18px;
}
.floating-call:hover,
.floating-call:focus {
  color: var(--tv-common-white);
  background-color: var(--tv-heading-primary);
}
/* keep the theme's back-to-top button clear of the call button */
.scroll-top.open {
  bottom: 96px;
}
@media (max-width: 767px) {
  .floating-call {
    right: 16px;
    bottom: 16px;
    width: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}


/*leadership*/

/* ---------- Founder & Co-Founder section (About page) ---------- */
/* Every rule is scoped under .svl-leadership. */
.svl-leadership {
  --svl-ink: #060d3a;
  --svl-navy: #0a165e;
  --svl-blue: #2b4dff;
  --svl-sky: #a9b8ff;
  --svl-text: #e9ecff;
  --svl-muted: #c3cbf2;
  --svl-line: rgba(169, 184, 255, 0.22);
  --svl-gold: #ecb014;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 130px;
  color: var(--svl-text);
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(43, 77, 255, 0.35) 0%, rgba(43, 77, 255, 0) 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(43, 77, 255, 0.22) 0%, rgba(43, 77, 255, 0) 70%),
    linear-gradient(160deg, var(--svl-navy) 0%, var(--svl-ink) 100%);
}
/* fine architectural grid in the background */
.svl-leadership::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--svl-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--svl-line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.svl-leadership .svl-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 64px;
}
.svl-leadership .svl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--tv-ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--svl-sky);
}
.svl-leadership .svl-eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--svl-gold), var(--svl-sky));
}
.svl-leadership .svl-title {
  margin: 0;
  font-family: var(--tv-ff-heading);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.svl-leadership .svl-title strong {
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff 0%, var(--svl-sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svl-leadership .svl-lede {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--svl-line);
  font-family: var(--tv-ff-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--svl-muted);
}
.svl-leadership .svl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svl-leadership .svl-grid > li {
  display: flex;
}
.svl-leadership .svl-profile {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 420px;
  padding: 40px 44px 44px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--svl-line);
  border-radius: 4px 40px 4px 40px;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}
/* light sweep across the top edge */
.svl-leadership .svl-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--svl-gold), var(--svl-sky), transparent);
  transform: scaleX(0.25);
  transform-origin: left;
  opacity: 0.7;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}
/* oversized outline initials as a watermark */
.svl-leadership .svl-profile::after {
  content: attr(data-initials);
  position: absolute;
  right: -12px;
  bottom: -58px;
  font-family: var(--tv-ff-heading);
  font-size: 240px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(169, 184, 255, 0.16);
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svl-leadership .svl-profile:hover,
.svl-leadership .svl-profile:focus-within {
  transform: translateY(-6px);
  border-color: rgba(169, 184, 255, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(43, 77, 255, 0.25) inset;
}
.svl-leadership .svl-profile:hover::before,
.svl-leadership .svl-profile:focus-within::before {
  transform: scaleX(1);
  opacity: 1;
}
.svl-leadership .svl-profile:hover::after,
.svl-leadership .svl-profile:focus-within::after {
  transform: translateX(-10px);
}
.svl-leadership .svl-profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
}
.svl-leadership .svl-index {
  font-family: var(--tv-ff-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--svl-sky);
}
.svl-leadership .svl-index span {
  color: var(--svl-gold);
}
/* monogram badge with a slowly orbiting ring */
.svl-leadership .svl-monogram {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4f6bff 0%, var(--svl-blue) 45%, #1a2fa8 100%);
  box-shadow: 0 18px 40px -12px rgba(43, 77, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.svl-leadership .svl-monogram::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(169, 184, 255, 0.5);
  animation: svl-orbit 28s linear infinite;
}
.svl-leadership .svl-monogram::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--svl-gold);
  box-shadow: 0 0 12px rgba(236, 176, 20, 0.8);
  transform-origin: 4px 70px;
  animation: svl-orbit 14s linear infinite;
}
.svl-leadership .svl-monogram span {
  font-family: var(--tv-ff-heading);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.svl-leadership .svl-profile-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.svl-leadership .svl-role {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 14px;
  font-family: var(--tv-ff-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--svl-ink);
  background: linear-gradient(90deg, #ffffff, #dfe5ff);
  border-radius: 999px;
}
.svl-leadership .svl-name {
  margin: 0;
  font-family: var(--tv-ff-heading);
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.svl-leadership .svl-name span {
  display: block;
  font-weight: 200;
  color: var(--svl-sky);
}
.svl-leadership .svl-rule {
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 28px;
  background: var(--svl-gold);
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svl-leadership .svl-profile:hover .svl-rule,
.svl-leadership .svl-profile:focus-within .svl-rule {
  width: 120px;
}
.svl-leadership .svl-foot {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.svl-leadership .svl-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 2px;
  font-family: var(--tv-ff-body);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid var(--svl-line);
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.svl-leadership .svl-link i {
  color: var(--svl-gold);
}
.svl-leadership .svl-link:hover,
.svl-leadership .svl-link:focus {
  gap: 18px;
  color: #ffffff;
  border-color: var(--svl-gold);
}
.svl-leadership .svl-link:focus-visible {
  outline: 2px solid var(--svl-gold);
  outline-offset: 6px;
  border-radius: 2px;
}
@keyframes svl-orbit {
  to { transform: rotate(360deg); }
}
/* CSS-only scroll reveal. Browsers without scroll-driven animations
   simply show the content. Uses `translate` so the hover `transform`
   still works. */
@keyframes svl-rise {
  from { opacity: 0; translate: 0 36px; }
  to { opacity: 1; translate: 0 0; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .svl-leadership .svl-reveal {
      animation: svl-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
@media (max-width: 1199px) {
  .svl-leadership .svl-profile {
    padding: 36px 34px 40px;
  }
}
@media (max-width: 991px) {
  .svl-leadership {
    padding: 100px 0 110px;
  }
  .svl-leadership .svl-head {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }
  .svl-leadership .svl-grid {
    gap: 24px;
  }
  .svl-leadership .svl-profile {
    min-height: 380px;
  }
  .svl-leadership .svl-monogram {
    width: 96px;
    height: 96px;
  }
  .svl-leadership .svl-monogram::after {
    transform-origin: 4px 62px;
  }
  .svl-leadership .svl-monogram span {
    font-size: 32px;
  }
  .svl-leadership .svl-profile::after {
    font-size: 200px;
  }
}
@media (max-width: 767px) {
  .svl-leadership {
    padding: 80px 0 90px;
  }
  .svl-leadership .svl-grid {
    grid-template-columns: 1fr;
  }
  .svl-leadership .svl-profile {
    min-height: 0;
    padding: 32px 26px 36px;
    border-radius: 4px 28px 4px 28px;
  }
  .svl-leadership .svl-profile-top {
    margin-bottom: 36px;
  }
  .svl-leadership .svl-lede {
    font-size: 16px;
    padding-left: 18px;
  }
}
@media (max-width: 400px) {
  .svl-leadership .svl-monogram {
    width: 84px;
    height: 84px;
  }
  .svl-leadership .svl-monogram::after {
    transform-origin: 4px 56px;
  }
  .svl-leadership .svl-monogram span {
    font-size: 28px;
  }
  .svl-leadership .svl-profile::after {
    font-size: 160px;
    bottom: -38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svl-leadership .svl-monogram::before,
  .svl-leadership .svl-monogram::after {
    animation: none;
  }
  .svl-leadership .svl-profile,
  .svl-leadership .svl-profile::before,
  .svl-leadership .svl-profile::after,
  .svl-leadership .svl-rule,
  .svl-leadership .svl-link {
    transition: none;
  }
  .svl-leadership .svl-profile:hover,
  .svl-leadership .svl-profile:focus-within {
    transform: none;
  }
}
