/* Small brand and content additions layered on top of the downloaded template CSS. */

#header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

#header .logo > a:first-child {
  display: flex;
  flex: 0 0 auto;
}

#header .logo img {
  display: block;
  flex: 0 0 78px;
  width: 78px !important;
  height: 78px !important;
  max-width: none !important;
  padding: 0;
  border-radius: 50%;
  object-fit: cover;
}

.vijay-wordmark {
  display: block;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.04;
  white-space: nowrap;
}

.vijay-wordmark small {
  display: block;
  /* margin-top: 5px; */
  color: #8fe2ef;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

#header .navbar .top > ul:first-child {
  margin-bottom: 2px;
}

.search-item {
  position: relative;
}

.search-bar {
  display: flex;
  align-items: stretch;
  margin: 0 0 0 30px;
}

.search-bar input {
  width: 220px;
  height: 32px;
  padding: 5px 12px;
  border: 0;
  color: #333;
  background: #fff;
  font-size: 13px;
}

.search-bar button {
  width: 42px;
  height: 32px;
  border: 0;
  color: #fff;
  background: #1283cf;
  cursor: pointer;
}

#searchResults {
  position: absolute;
  top: 37px;
  right: 0;
  z-index: 1001;
  display: none;
  width: 262px;
  max-height: 280px;
  overflow-y: auto;
  padding: 5px 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

#searchResults.is-open {
  display: block;
}

#searchResults li a,
#searchResults li.search-hint {
  display: block;
  padding: 7px 12px;
  color: #18304f;
  font-size: 12px;
  line-height: 1.35;
}

#searchResults li a:hover {
  color: #012970;
  background: #eaf1ff;
}

#header .home-link img {
  width: 18px;
  height: 18px;
  border-radius: 0;
  object-fit: contain;
}

.header-bg {
  background-position: center;
}

.header-bg .title2,
.header-bg .title3 {
  text-transform: none;
}

#hero .carousel-item {
  background-position: center top;
}

#hero .carousel-item::before {
  background: linear-gradient(to top, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .48) 34%, rgba(0, 0, 0, .05) 72%);
}

#hero {
  height: calc(100vh + 140px);
  min-height: 820px;
}

.marquee-images {
  overflow: hidden;
  padding: 10px 0;
  background: #eee;
}

.marquee-images .imgbox {
  width: max-content;
  min-width: 100%;
  margin: 0;
  justify-content: flex-start;
  gap: 20px;
  padding: 0 18px;
  animation: none;
  transition: none;
  will-change: transform;
}

.marquee-images .imgbox img {
  flex: 0 0 165px;
  width: 165px;
  height: 78px;
  max-width: none;
  padding: 5px 8px;
  object-fit: contain;
}

.marquee {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcb132;
}

.marquee p {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.source-about-image {
  width: 100%;
  height: 315px;
  object-fit: cover;
}

.source-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.source-admission-image {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.work-right-text {
  background: #f5f5f5;
}

.work-right-text h2 {
  color: #0f3448;
}

.work-right-text p {
  color: #333;
}

.work-right-text h5 {
  color: #444;
  font-size: 17px;
  line-height: 1.6;
}

.work-right-text .ready-btn {
  border-color: #3EC1D5;
  background: #3EC1D5;
  color: #fff;
}

.work-right-text .ready-btn:hover {
  border-color: #0f3448;
  background: #0f3448;
  color: #fff;
}

.source-news-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid #e2e2e2;
  background: #fff;
}

.source-news-card h4 {
  color: #444;
  font-size: 20px;
}

.source-news-card .date {
  color: #d92655;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-link-card .team-img img {
  height: 190px;
  object-fit: cover;
}

.quick-link-card .team-content h4 {
  margin-bottom: 5px;
}

.source-testimonial {
  max-width: 800px;
  margin: 0 auto;
  padding: 22px 0 4px;
}

.source-testimonial p {
  color: #eee;
  font-size: 17px;
  font-style: italic;
  text-align: center;
}

.source-testimonial h4 {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.source-footer-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.source-footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.source-footer-gallery img {
  width: 100%;
  height: 76px;
  object-fit: cover;
}

.source-page-image {
  width: 100%;
  max-height: 430px;
  margin-bottom: 18px;
  object-fit: cover;
}

.source-page-list {
  padding: 0 0 15px 18px;
  list-style: disc;
}

.source-page-list li {
  margin-bottom: 7px;
}

.source-callout {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 4px solid #d92655;
  background: #f8f8f8;
}

.source-callout h5 {
  margin-bottom: 8px;
  color: #444;
}

.source-program-grid .single-blog {
  min-height: 100%;
}

.source-program-grid .blog-text p {
  min-height: 88px;
}

.source-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.source-gallery-grid a {
  display: block;
  overflow: hidden;
}

.source-gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}

.source-gallery-grid a:hover img {
  transform: scale(1.04);
}

.source-contact-note {
  padding: 18px;
  background: #eef8ff;
}

.php-email-form .form-status {
  display: block;
  min-height: 20px;
  margin-top: 8px;
  color: #16835e;
  font-weight: 700;
}

.source-simple-page .blog-text h4 {
  margin-top: 4px;
}

.source-simple-page .blog-text h5 {
  margin-top: 25px;
}

@media (max-width: 1199px) {
  #hero {
    height: calc(100vh + 70px);
    min-height: 700px;
  }

  #header .logo img {
    flex-basis: 52px;
    width: 52px !important;
    height: 52px !important;
  }

  .vijay-wordmark {
    font-size: 18px;
  }

  .vijay-wordmark small {
    font-size: 10px;
  }

  .search-bar {
    margin-left: 0;
  }

  .source-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #hero {
    height: calc(100vh + 70px);
    min-height: 620px;
  }

  #header .logo {
    gap: 8px;
  }

  #header .logo img {
    flex-basis: 48px;
    width: 48px !important;
    height: 48px !important;
  }

  .vijay-wordmark {
    max-width: 220px;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
  }

.vijay-wordmark small {
  display: block;
  margin-top: 2px;
}

  .search-bar input {
    width: 150px;
  }

  .marquee-images {
    padding: 8px 12px;
    overflow: hidden;
  }

  .marquee-images .imgbox {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    gap: 28px;
    padding: 0 12px;
  }

  .marquee-images .imgbox img {
    flex-basis: 135px;
    width: 135px;
    height: 64px;
    max-width: none;
  }

  .source-about-image,
  .source-card-image {
    height: 240px;
  }

  .work-right-text {
    min-height: 300px;
  }

  .source-gallery-grid {
    grid-template-columns: 1fr;
  }

  .source-gallery-grid img {
    height: 240px;
  }
}

/* Modern visual layer shared by the home page and all inner pages. */
:root {
  --svvcop-ink: #12364a;
  --svvcop-blue: #165a91;
  --svvcop-teal: #16a6b8;
  --svvcop-pink: #d92655;
  --svvcop-gold: #f0b23d;
  --svvcop-mist: #f4f8fb;
  --svvcop-line: #dce8ee;
  --svvcop-shadow: 0 14px 38px rgba(18, 54, 74, .10);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--svvcop-mist);
  color: #425568;
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #fff;
  background: var(--svvcop-pink);
}

a,
button,
input,
textarea,
select {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(22, 166, 184, .35);
  outline-offset: 3px;
}

#header {
  background: rgba(18, 67, 111, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 8px 24px rgba(7, 34, 53, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#header.header-scrolled {
  background: rgba(12, 53, 91, .98);
  box-shadow: 0 10px 28px rgba(7, 34, 53, .20);
}

#header .container {
  gap: 20px;
}

#header .logo a {
  text-decoration: none;
}

.navbar a {
  border-radius: 6px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  background: rgba(255, 255, 255, .10);
}

.navbar .dropdown ul {
  border: 1px solid var(--svvcop-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--svvcop-shadow);
}

.head_bottom {
  background: rgba(8, 42, 70, .84);
  border-top-color: rgba(255, 255, 255, .18);
}

.search-bar {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(7, 34, 53, .12);
}

.search-bar input:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(22, 166, 184, .35);
}

#hero .carousel-item {
  transition: opacity .8s ease-in-out;
}

#hero h2,
#hero p {
  text-shadow: 0 3px 16px rgba(0, 0, 0, .35);
}

#hero .btn-get-started,
.ready-btn,
.sus-btn {
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(18, 54, 74, .14);
}

#hero .btn-get-started:hover,
.ready-btn:hover,
.sus-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(18, 54, 74, .20);
}

.marquee-images {
  border-bottom: 1px solid #d9e2e8;
  box-shadow: 0 4px 14px rgba(18, 54, 74, .06);
}

.marquee {
  min-height: 42px;
  border-bottom: 1px solid rgba(18, 54, 74, .12);
}

.marquee p {
  letter-spacing: .1px;
}

.area-padding,
.blog-inner {
  padding-top: 82px;
  padding-bottom: 82px;
}

.section-headline h2,
.section-title h3 {
  color: var(--svvcop-ink);
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-headline h2::after {
  bottom: -14px;
  width: 54px;
  height: 3px;
  border: 0;
  background: var(--svvcop-teal);
}

.well-left,
.well-middle,
.source-news-card,
.single-blog,
.quick-link-card,
.source-callout,
.source-contact-note,
.page-head-blog {
  border: 1px solid var(--svvcop-line);
  border-radius: 8px;
  box-shadow: var(--svvcop-shadow);
}

.well-left,
.well-middle,
.source-news-card,
.single-blog,
.quick-link-card,
.page-head-blog {
  background: #fff;
}

.well-left,
.well-middle {
  height: 100%;
}

.well-left {
  overflow: hidden;
}

.well-middle {
  display: flex;
  align-items: center;
  padding: 36px;
}

.well-middle .single-well {
  width: 100%;
}

.well-middle .sec-head {
  color: var(--svvcop-ink);
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

.source-about-image,
.source-card-image,
.source-admission-image {
  transition: transform .45s ease, filter .45s ease;
}

.well-left:hover .source-about-image,
.single-blog:hover .source-card-image,
.quick-link-card:hover .team-img img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.reviews-area {
  background: #eaf4f7;
}

.work-right-text {
  border-left: 1px solid #d5e4e9;
}

.work-right-text h2 {
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.source-program-grid > [class*="col-"],
#Department .row > [class*="col-"] {
  margin-bottom: 24px;
}

.source-news-card,
.single-blog,
.quick-link-card,
.source-callout {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.source-news-card:hover,
.source-program-grid .single-blog:hover,
.quick-link-card:hover,
.source-callout:hover {
  border-color: rgba(22, 166, 184, .55);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(18, 54, 74, .15);
}

.source-news-card h4,
.single-blog .blog-text h4,
.single-blog .blog-text h5,
.source-callout h5 {
  color: var(--svvcop-ink);
  font-family: "Raleway", sans-serif;
  font-weight: 800;
}

.source-news-card h4 a,
.single-blog .blog-text h4 a,
.team-content h4 a {
  color: inherit;
}

.source-news-card h4 a:hover,
.single-blog .blog-text h4 a:hover,
.team-content h4 a:hover {
  color: var(--svvcop-pink);
}

.single-blog-img,
.quick-link-card .team-img,
.source-gallery-grid a {
  overflow: hidden;
  border-radius: 7px 7px 0 0;
}

.source-program-grid .single-blog {
  overflow: hidden;
  padding-bottom: 22px;
}

.source-program-grid .single-blog .blog-meta,
.source-program-grid .single-blog .blog-text,
.source-program-grid .single-blog > .ready-btn {
  margin-left: 22px;
  margin-right: 22px;
}

.source-program-grid .single-blog .blog-meta {
  margin-top: 18px;
}

.source-program-grid .single-blog .ready-btn {
  margin-top: 8px;
}

.source-callout {
  border-left: 4px solid var(--svvcop-pink);
  background: #fff;
}

.source-page-list li::marker {
  color: var(--svvcop-teal);
}

.header-bg {
  min-height: 300px;
  padding-top: 190px;
  padding-bottom: 34px;
  border-bottom: 5px solid var(--svvcop-gold);
}

.header-bg::before {
  background: rgba(21, 83, 129, .86);
}

.header-bg .title2,
.header-bg .title3 {
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.header-bg .title2 {
  font-family: "Raleway", sans-serif;
  font-size: 38px;
  font-weight: 800;
}

.header-bg .title3 {
  font-size: 17px;
  font-weight: 600;
}

.blog-page {
  background: var(--svvcop-mist);
}

.blog-page .page-head-blog {
  overflow: hidden;
  margin-bottom: 24px;
}

.blog-page .page-head-blog > h5,
.blog-page .page-head-blog > p,
.blog-page .page-head-blog > .footer-contacts {
  margin-left: 22px;
  margin-right: 22px;
}

.blog-page .page-head-blog > h5:first-of-type {
  margin-top: 22px;
  color: var(--svvcop-ink);
  font-family: "Raleway", sans-serif;
  font-weight: 800;
}

.blog-page .single-blog {
  padding: 34px;
  background: #fff;
}

.blog-page .blog-text > h4:first-child {
  margin-top: 0;
  color: var(--svvcop-ink);
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.blog-page .blog-text h5 {
  margin-top: 30px;
  color: var(--svvcop-blue);
  font-family: "Raleway", sans-serif;
  font-weight: 800;
}

.blog-page .table {
  overflow: hidden;
  border-color: var(--svvcop-line);
  border-radius: 6px;
}

.blog-page .table thead th,
.blog-page .table th {
  color: var(--svvcop-ink);
  background: #eaf4f7;
}

.blog-page .table td,
.blog-page .table th {
  padding: 13px 15px;
  vertical-align: middle;
}

.source-gallery-grid {
  gap: 16px;
}

.source-gallery-grid a {
  border: 1px solid var(--svvcop-line);
  box-shadow: 0 8px 20px rgba(18, 54, 74, .08);
}

.source-gallery-grid a:hover {
  border-color: var(--svvcop-teal);
  box-shadow: 0 14px 30px rgba(18, 54, 74, .16);
  transform: translateY(-3px);
}

.php-email-form input,
.php-email-form textarea,
.php-email-form select {
  border: 1px solid var(--svvcop-line);
  border-radius: 6px;
  box-shadow: none;
}

.php-email-form input:focus,
.php-email-form textarea:focus,
.php-email-form select:focus {
  border-color: var(--svvcop-teal);
  box-shadow: 0 0 0 3px rgba(22, 166, 184, .13);
}

.contact-area {
  background: #eaf4f7;
}

.contact-icon .single-icon {
  min-height: 150px;
  padding: 28px 20px;
  border: 1px solid var(--svvcop-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--svvcop-shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}

.contact-icon .single-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(18, 54, 74, .15);
}

.contact-icon .single-icon i {
  color: var(--svvcop-teal);
}

footer {
  border-top: 5px solid var(--svvcop-gold);
}

.footer-area {
  background: var(--svvcop-ink);
}

.footer-head p,
.footer-head h4,
.footer-logo h2,
.footer-contacts p,
.footer-head a {
  color: rgba(255, 255, 255, .82);
}

.footer-head h4,
.footer-logo h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
}

.footer-head a:hover {
  color: #fff;
}

.footer-icons ul li a {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.footer-area-bottom {
  background: #0b293c;
}

.footer-area-bottom p,
.footer-area-bottom .credits {
  color: rgba(255, 255, 255, .72);
}

.reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1199px) {
  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover > a {
    background: transparent;
  }

  .header-bg {
    padding-top: 150px;
  }
}

@media (max-width: 768px) {
  .area-padding,
  .blog-inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .well-middle {
    margin-top: 22px;
    padding: 26px;
  }

  .well-middle .sec-head {
    font-size: 21px;
  }

  .work-right-text {
    border-left: 0;
    border-top: 1px solid #d5e4e9;
  }

  .header-bg {
    min-height: 250px;
    padding-top: 120px;
  }

  .header-bg .title2 {
    font-size: 30px;
  }

  .header-bg .title3 {
    font-size: 14px;
  }

  .blog-page .single-blog {
    padding: 24px 20px;
  }

  .blog-page .blog-text > h4:first-child {
    font-size: 24px;
  }

  .reveal-target {
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal-target {
    opacity: 1;
    transform: none;
  }
}

/* Keep image blocks tight and predictable across every page. */
img {
  display: block;
  max-width: 100%;
  vertical-align: middle;
}

.well-left .single-well > a,
.single-blog-img > a,
.quick-link-card .team-img > a,
.source-footer-gallery a,
.blog-page .left-blog {
  display: block;
  margin: 0;
  padding: 0;
}

.source-about-image,
.source-card-image,
.source-admission-image,
.blog-page .left-blog > img,
.source-footer-gallery img {
  display: block;
  width: 100%;
}

.source-about-image,
.source-card-image,
.source-admission-image,
.blog-page .left-blog > img {
  object-position: center;
}

.source-news-card {
  min-height: 0;
}

.source-program-grid .single-blog {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.source-program-grid .single-blog .blog-text {
  flex: 1 1 auto;
}

.source-program-grid .blog-text p {
  min-height: 0;
}

.source-program-grid .single-blog > .ready-btn {
  align-self: flex-start;
}

.quick-link-card {
  height: 100%;
  overflow: hidden;
}

.quick-link-card .team-img,
.quick-link-card .team-img > a {
  width: 100%;
}

.blog-page .left-blog {
  overflow: hidden;
  background: #fff;
}

.blog-page .left-blog > img {
  height: 260px;
  margin: 0;
  object-fit: cover;
}

.source-footer-gallery a {
  min-width: 0;
}

.source-footer-gallery img {
  height: 76px;
  object-fit: cover;
}

.source-gallery-grid a {
  aspect-ratio: 4 / 3;
}

.source-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .blog-page .left-blog > img {
    height: 220px;
  }

  .source-footer-gallery img {
    height: 70px;
  }
}

/* Header alignment and responsive navigation. */
body {
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  #header,
  #header.header-scrolled {
    background: rgba(18, 67, 111, .96) !important;
  }

  #navbar,
  #navbar.navbar-mobile {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    margin-left: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  #navbar.navbar-mobile > .top {
    display: flex;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  #navbar.navbar-mobile .top > ul {
    position: static;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #navbar.navbar-mobile .top > ul:first-child {
    width: auto;
    margin-bottom: 2px;
  }

  #navbar.navbar-mobile .top ul ul {
    position: absolute;
    display: block;
    width: auto;
    margin: 3px 0 0;
    padding: 10px 0;
    border: 1px solid var(--svvcop-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--svvcop-shadow);
  }

  #navbar.navbar-mobile .mobile-nav-toggle {
    display: none;
  }

  #header > .container {
    max-width: 1500px;
    min-height: 100px;
  }

  #header > .container > #navbar {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-end;
  }

  #navbar > .top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
  }

  #navbar > .top > ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 2px;
  }

  #navbar > .top > ul:first-child {
    width: auto;
    margin-bottom: 2px;
  }

  #navbar > .top > ul:first-child a {
    padding: 5px 9px;
    font-size: 12px;
  }

  #navbar > .top > ul:nth-child(2) a {
    padding: 10px 6px;
    font-size: 12px;
  }

  #navbar > .top > ul:nth-child(2) .home-link {
    padding-left: 5px;
    padding-right: 5px;
  }

  #navbar .search-bar {
    margin-left: 0;
  }

  .head_bottom .container {
    height: auto;
  }

  .bottom-navbar .top > ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
    gap: 2px;
  }

  .bottom-navbar .top > ul > li > a {
    padding: 7px 12px;
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  #header > .container {
    width: 100%;
    min-height: 70px;
    padding-right: 18px;
    padding-left: 18px;
  }

  #header .logo {
    position: relative;
    z-index: 1001;
  }

  #header > .container > #navbar {
    width: auto;
    margin-left: auto;
  }

  #navbar:not(.navbar-mobile) > .top {
    display: none;
  }

  #navbar .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
  }

  #navbar.navbar-mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: none;
    max-width: none;
    margin: 0;
    padding: 76px 16px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(8, 36, 58, .98);
    z-index: 999;
  }

  #navbar.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 18px;
    right: 18px;
    margin: 0;
    border-color: rgba(255, 255, 255, .42);
  }

  #navbar.navbar-mobile > .top {
    display: block;
    width: 100%;
    min-height: calc(100% - 10px);
  }

  #navbar.navbar-mobile .top > ul {
    position: static;
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 6px 0;
    border: 1px solid rgba(220, 232, 238, .9);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  }

  #navbar.navbar-mobile .top > ul > li {
    border-bottom: 1px solid #edf2f5;
  }

  #navbar.navbar-mobile .top > ul > li:last-child {
    border-bottom: 0;
  }

  #navbar.navbar-mobile .top > ul > li > a,
  #navbar.navbar-mobile .top > ul > li > a:focus {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    color: var(--svvcop-ink);
    font-size: 14px;
    white-space: normal;
  }

  #navbar.navbar-mobile .top > ul > li > a:hover,
  #navbar.navbar-mobile .top > ul > li > a.active,
  #navbar.navbar-mobile .top > ul > li:hover > a {
    color: var(--svvcop-pink);
    background: #f3f8fa;
  }

  #navbar.navbar-mobile .top > ul > li.search-item {
    padding: 10px 12px;
  }

  #navbar.navbar-mobile .search-bar {
    width: 100%;
    margin: 0;
  }

  #navbar.navbar-mobile .search-bar input {
    width: 100%;
    flex: 1 1 auto;
  }

  #navbar.navbar-mobile #searchResults {
    top: 57px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  #navbar.navbar-mobile .top > ul > li.dropdown > ul,
  #navbar.navbar-mobile .top > ul > li.dropdown > ul ul,
  #navbar.navbar-mobile .top > ul > li.dropdown > ul.dropdown-active {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: none;
    width: auto;
    margin: 0 10px 8px;
    padding: 0;
    border: 0;
    border-top: 1px solid #e4edf1;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    background: #f7fafb;
    box-shadow: none;
  }

  #navbar.navbar-mobile .top > ul > li.dropdown > ul.dropdown-active,
  #navbar.navbar-mobile .top > ul > li.dropdown > ul ul.dropdown-active {
    display: block;
  }

  #navbar.navbar-mobile .top > ul > li.dropdown > ul li {
    min-width: 0;
    margin: 0;
    border-left: 0;
    border-bottom: 1px solid #e4edf1;
  }

  #navbar.navbar-mobile .top > ul > li.dropdown > ul li:last-child {
    border-bottom: 0;
  }

  #navbar.navbar-mobile .top > ul > li.dropdown > ul a,
  #navbar.navbar-mobile .top > ul > li.dropdown > ul a:focus {
    min-height: 40px;
    padding: 9px 14px;
    color: #385568;
    font-size: 13px;
    white-space: normal;
  }

  #navbar.navbar-mobile .top > ul > li.dropdown > ul ul {
    margin-right: 8px;
    margin-left: 18px;
    background: #eef6f8;
  }
}

@media (max-width: 420px) {
  #header > .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .vijay-wordmark {
    max-width: 176px;
    font-size: 14px;
  }

  .vijay-wordmark small {
    font-size: 8px;
  }

  #navbar.navbar-mobile {
    padding-right: 12px;
    padding-left: 12px;
  }

  #navbar.navbar-mobile .mobile-nav-toggle {
    right: 12px;
  }
}

/* Final polish: keep every call-to-action readable and every card image framed. */
a.ready-btn,
button.ready-btn,
.ready-btn,
a.sus-btn,
button.sus-btn,
.sus-btn,
#hero .btn-get-started {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  min-height: 42px;
  padding: 10px 24px !important;
  border: 1px solid var(--svvcop-teal) !important;
  border-radius: 6px !important;
  background: var(--svvcop-teal) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none !important;
  text-transform: none;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 9px 20px rgba(18, 54, 74, .16);
}

a.ready-btn:hover,
a.ready-btn:focus,
button.ready-btn:hover,
button.ready-btn:focus,
.ready-btn:hover,
.ready-btn:focus,
a.sus-btn:hover,
a.sus-btn:focus,
button.sus-btn:hover,
button.sus-btn:focus,
.sus-btn:hover,
.sus-btn:focus,
#hero .btn-get-started:hover,
#hero .btn-get-started:focus {
  border-color: var(--svvcop-ink) !important;
  background: var(--svvcop-ink) !important;
  color: #fff !important;
  outline: 0;
}

.source-news-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.source-news-card p {
  margin-bottom: 18px;
}

.source-news-card .ready-btn {
  align-self: flex-start;
  margin-top: auto;
}

.quick-link-card .team-img {
  aspect-ratio: 4 / 3;
  background: #f6fafc;
}

.quick-link-card .team-img > a {
  height: 100%;
}

.quick-link-card .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.quick-link-card .team-img img[src*="pharma-ignite"] {
  object-fit: contain;
  padding: 0;
  background: #fff;
}

.quick-link-card .team-content {
  padding: 14px 10px 16px;
}

.quick-link-card .team-content h4 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.25;
}

.quick-link-card .team-content p {
  margin: 0;
}

.quick-link-card .team-content p a {
  color: var(--svvcop-teal);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  .source-news-card {
    min-height: 0;
  }

  .quick-link-card .team-img {
    aspect-ratio: 16 / 11;
  }
}

/* Desktop header layout: brand on top, navigation from the lower-left edge. */
@media (min-width: 1200px) {
  #header,
  #header.header-scrolled {
    min-height: 160px;
    background: rgba(18, 67, 111, .98) !important;
  }

  #header > .container {
    position: relative;
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    min-height: 160px;
    padding: 14px 44px 8px;
    gap: 0;
  }

  #header .logo {
    flex: 0 0 auto;
    min-height: 72px;
    align-items: center;
    padding: 0;
  }

  #header .logo img {
    flex-basis: 74px;
    width: 74px !important;
    height: 74px !important;
  }

  .vijay-wordmark {
    font-size: 21px;
    line-height: 1.05;
  }

  .vijay-wordmark small {
    font-size: 11px;
  }

  #header > .container > #navbar,
  #header > .container > #navbar.navbar-mobile {
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    align-items: stretch;
  }

  #navbar > .top,
  #navbar.navbar-mobile > .top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #navbar > .top > ul,
  #navbar.navbar-mobile .top > ul {
    width: 100%;
    gap: 7px;
  }

  #navbar > .top > ul:first-child,
  #navbar.navbar-mobile .top > ul:first-child {
    position: absolute;
    top: 18px;
    right: 44px;
    width: auto;
    margin: 0;
    justify-content: flex-end;
    gap: 6px;
  }

  #navbar > .top > ul:first-child a,
  #navbar.navbar-mobile .top > ul:first-child a {
    padding: 7px 10px;
    font-size: 14px;
    line-height: 1.2;
  }

  #navbar .search-bar {
    margin-left: 0;
  }

  #navbar .search-bar input {
    width: 250px;
    height: 34px;
    font-size: 14px;
  }

  #navbar .search-bar button {
    height: 34px;
  }

  #navbar > .top > ul:nth-child(2),
  #navbar.navbar-mobile .top > ul:nth-child(2) {
    justify-content: flex-start;
    margin: 8px 0 0;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  #navbar > .top > ul:nth-child(2) > li > a,
  #navbar > .top > ul:nth-child(2) > li > a:focus,
  #navbar.navbar-mobile .top > ul:nth-child(2) > li > a,
  #navbar.navbar-mobile .top > ul:nth-child(2) > li > a:focus {
    min-height: 36px;
    padding: 8px 7px;
    font-size: 14px;
    line-height: 1.15;
    white-space: nowrap;
  }

  #navbar > .top > ul:nth-child(2) .home-link,
  #navbar.navbar-mobile .top > ul:nth-child(2) .home-link {
    padding-right: 8px;
    padding-left: 8px;
  }

  #navbar .dropdown ul a,
  #navbar.navbar-mobile .dropdown ul a {
    font-size: 14px;
    line-height: 1.25;
  }

  #hero {
    margin-top: 132px;
    height: calc(100vh + 8px);
    min-height: 680px;
  }

  .header-bg {
    padding-top: 222px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #header > .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  #navbar > .top > ul:first-child,
  #navbar.navbar-mobile .top > ul:first-child {
    right: 24px;
  }

  #navbar .search-bar input {
    width: 205px;
  }

  #navbar > .top > ul,
  #navbar.navbar-mobile .top > ul {
    gap: 3px;
  }

  #navbar > .top > ul:nth-child(2) > li > a,
  #navbar > .top > ul:nth-child(2) > li > a:focus,
  #navbar.navbar-mobile .top > ul:nth-child(2) > li > a,
  #navbar.navbar-mobile .top > ul:nth-child(2) > li > a:focus {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 12.8px;
  }

  .vijay-wordmark {
    font-size: 23px;
  }
}

@media (max-width: 1199px) {
  #navbar.navbar-mobile .top > ul > li > a,
  #navbar.navbar-mobile .top > ul > li > a:focus {
    font-size: 15px;
  }

  #navbar.navbar-mobile .top > ul > li.dropdown > ul a,
  #navbar.navbar-mobile .top > ul > li.dropdown > ul a:focus {
    font-size: 14px;
  }
}

.source-management-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.source-management-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--svvcop-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 54, 74, .08);
}

.source-management-card img {
  width: 118px;
  height: 132px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center top;
  background: #f7fafb;
}

.source-management-card h5 {
  margin: 0 0 4px;
  color: var(--svvcop-ink);
  font-size: 17px;
  font-weight: 800;
}

.source-management-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--svvcop-pink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-management-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .source-management-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .source-management-card {
    grid-template-columns: 1fr;
  }

  .source-management-card img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
  }
}

/* Inner page side images should show the complete photo without cropping faces. */
.blog-page .left-blog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: #fff;
}

.blog-page .left-blog > img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .blog-page .left-blog {
    min-height: 0;
  }

  .blog-page .left-blog > img {
    max-height: none;
  }
}

.source-departments-area {
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.source-departments-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 248, 250, .92);
  pointer-events: none;
}

.source-departments-area > .container {
  position: relative;
  z-index: 1;
}

.source-department-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.source-department-card h4 {
  margin-bottom: 8px;
}

.source-department-card .ready-btn {
  margin-top: auto;
  align-self: flex-start;
}
