  
.hidden-scroll {
  opacity: 0;
  position: relative;
  transform: translateY(40px);
  transition: all 0.8s 
ease;
}
.visible {
  opacity: 1;
  transform: translateY(0);
}
.banner-skeleton-loader{
  height: 80vh;
  width: 100%;
  background: #e8f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
 }
 .banner-skeleton-loader img{
  display: block;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  height: 120px;
  object-fit: contain;
 }
/* banner css */
  .banner-skeleton-loader{
  height: 80vh;
  width: 100%;
  background: #e8f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
 }
 .banner-skeleton-loader img{
  display: block;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  height: 120px;
  object-fit: contain;
 }
/* banner css */
.banner-section{
  height: 80vh;
  overflow: hidden;
}
#main-slider .splide__track {
  height: 100%;
}
#main-slider .splide__slide img{
  width: 100%;
  height: 80vh;
  object-fit: cover;
  object-position: center;
}
#main-slider.splide{
  position: relative;
  height: 80vh;
}
#main-slider .splide__pagination{
  justify-content: flex-start;
}
#main-slider .splide__pagination {
  bottom: 10%;
  left: 5%;
}
#main-slider .splide__pagination__page{
  opacity: 1 !important;
}
#main-slider .splide__pagination__page.is-active{
  background: #D0BB68 !important;
  transform: scale(1) !important;
  z-index: 1 !important;
}
.banner-text .container {
  height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 100px;
}
.banner-text-box {
   top: 20%;
    max-width: 720px;
    color: #fff;
    margin-bottom: 60px;
    margin-left: 5px;
    margin-right: 5px;
}
.content-home {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 9;
}
.content-home h1 {
  font-size: 42px;
  line-height: 48px;
  font-weight: 500;
  margin-bottom: 16px;
  color:#fff;
}

.content-home p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color:#fff;
}

.content-home button {
  font-family: 'Lato';
  position: relative;
  background: #d0bb68;
  color: #000000;
  padding: 12px 24px;
  font-weight: 600;
  border: 1px solid #23559b;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

.content-home button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559b;
  /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
}

.content-home button:hover {
  color: white;
  /* Text color on hover */
}

.content-home button:hover::before {
  width: 100%;
}

.dots-home {
  position: absolute;
  bottom: 60px;
  left: 70px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.dot-home {
  width: 8px;
  height: 8px;
  background-color: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot-home.active {
  background-color: #d0bb68;
}
.splide.is-initialized,
.splide.is-rendered {
  visibility: visible !important;
}
/* banner css ends */
/* inst css */

.grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
}

.sidebar-home {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  background-color: #23559b;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.main-content-hero {
  flex: 3;
  min-width: 300px;
  position: relative;
  /* border-radius: 8px; */
  overflow: hidden;
  min-height: 500px;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease;
  opacity: 0;
  z-index: 1;
}

.background-image.active {
  opacity: 1;
}

.cards-container-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
  gap: 0;
  background: linear-gradient(to top, #000000a3, #00000033);
}

.card-hero {
  perspective: 1000px;
  height: calc(50vh - 0px / 3);
  border: 1px solid white;
  position: relative;
  border-left: none;
  border-top: none;
  max-height: 360px;
}

.card-inner-hero {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-front-hero,
.card-back-hero {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.card-front-hero {
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  background-color: transparent;
  z-index: 2;
  opacity: 1;
}

.card-back-hero {
  margin: 0;
  background: linear-gradient(90deg, #ffffff 0%, #e4efff 100%);
  color: #333;
  place-items: center;
  z-index: 1;
  opacity: 0;
  flex-direction: column;
  /* transform: rotateY(180deg); */
  border: 1px solid #fff;
  font-size: 0.9rem;
  padding: 20px;
  box-sizing: border-box;
}

/* Hover effect */
.card-hero:hover .card-front-hero {
  opacity: 0;
  z-index: 1;
}

.card-hero:hover .card-back-hero {
  opacity: 1;
  z-index: 2;
}

.card-back-hero h3 {
  color: #23559b;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
}

.card-back-hero p {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.23px;
  text-align: center;
  margin: 30px 0;
  line-height: 22px;
}

.card-back-hero a,
.card-back-hero .mobile-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none;
  background-color: #d0bb68;
  border: 1px solid #23559b;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

/* Specific sizing */
.card-back-hero a {
  width: 168px;
  height: 46px;
  border-radius: 100px;
  padding: 12px 32px;
  font-weight: 600;
}

.card-back-hero .mobile-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  display: none;
}

/* Hover effect background */
.card-back-hero a::before,
.card-back-hero .mobile-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559b;
  /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: inherit;
}

/* Hover styles */
.card-back-hero a:hover,
.card-back-hero .mobile-button:hover {
  color: white;
}

.card-back-hero a:hover::before,
.card-back-hero .mobile-button:hover::before {
  width: 100%;
}

.mobile-button svg {
  display: block;
  /* Removes extra space around SVG */
  width: 24px;
  height: 24px;
}

.section-title {
  font-size: 1.8rem;
  color: #2a5885;
  margin-bottom: 20px;
  text-align: center;
}

/* for sidecard */
#medical-slider {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: inline-block;
}

#medical-slider .splide__slide {
  text-align: left;
  font-size: 24px;
  line-height: 1.5;
  padding: 0;
  word-wrap: break-word;
}

#medical-slider .splide__slide div {
  color: #fff;
  line-height: 28px;
  font-size: 20px;
  word-wrap: break-word;
}

#medical-slider .splide__dots {
  bottom: -40px;
}

/* Custom dots container */
#medical-slider .custom-dots {
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 0;
}

/* Custom dot design */
#medical-slider .custom-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Active dot style */
#medical-slider .custom-dot.active {
  background-color: #d0bb68;
  transform: scale(1.2);
  box-shadow: 0 0 5px rgba(35, 85, 155, 0.5);
}

/* Hover effect */
#medical-slider .custom-dot:hover {
  background: #23559b;
  opacity: 0.8;
}

/* for sidecards */
/* new css */

/* tab section */
/* tab section */
#news-events .tab-component {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 0 0;
}

#news-events .tab-heading {
  padding: 0px 75px;
}

#news-events .tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px;
}

#news-events .tab {
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  color: #666;
  min-width: 200px;
  text-align: center;
  padding: 15px 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 2px solid #cfcfcf;
}

#news-events .tabs li span {
  font-size: 18px;
}

#news-events .tab:hover {
  color: #333;
}

#news-events .tab.active {
  color: #23559b;
  font-weight: 600;
}

#news-events .tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0066cc;
}

#news-events [data-tab-content] {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#news-events [data-tab-content].active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#news-events .explore-more-btn {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 30px;
  transition: background-color 0.3s ease;
}

#news-events .explore-more-btn:hover {
  background-color: #0055aa;
}

#news-events .news-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

#news-events .news-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

#news-events .news-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#news-events .category {
  display: block;
  color: #0066cc;
  font-size: 14px;
  margin-bottom: 8px;
}

#news-events .news-item h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #333;
}

#news-events .date-read .date {
  display: block;
  font-size: 14px;
  padding: 0px;
  color: #23559b;
  font-weight: 700;
  margin-bottom: 0px;
  background-color: transparent;
}

#news-events .date-read .read-more {
  color: #23559b;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  transition: color 0.3s ease;
}

#news-events .read-more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* tab ends */
/* news section */
#news-events .main-news {
  display: flex;
  background-color: #fff;
  padding: 50px 100px;
  gap: 30px;
}

.main-news {
  min-height: 540px;
}

#news-events .news-common {
  display: inline-block;
  width: 30%;
}

.cards-flex2 {
  width: 70%;
}

#news-events .news-common h2 {
  font-weight: 700;
  font-size: 37px;
  line-height: 40px;
  color: #23559b;
}

#news-events .news-common p {
  display: block;
  margin: 30px 0px;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
}

#news-events .news-button {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  color: #000000;
  padding: 10px 40px;
  font-weight: 600;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  margin-top: 50px;
  border: 1px solid #23559b;
  transition: color 0.3s ease-in-out;
  z-index: 1;
}

/* Background wipe effect */
#news-events .news-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #23559b;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
  z-index: -1;
}

/* Initial background */
#news-events .news-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d0bb68;
  z-index: -2;
  border-radius: 25px;
}

/* On hover: background expands and text color changes */
#news-events .news-button:hover::before {
  width: 100%;
}

#news-events .news-button:hover {
  color: white;
}

.news-button-mobile {
  display: none;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-card {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.main-card-image img {
  width: 100%;
  height: 287px;
  object-position: left;
  object-fit: cover;
  border-radius: 20px;
}

.main-card-content {
  padding: 5px 0 20px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.main-card-content p,
.small-card-content p {
  padding: 5px 15px;
  background-color: #e4efff;
  color: #23559b;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  place-content: center;
  border-radius: 30px;
  width: max-content;
}

.main-card h4 {
  font-size: 16px;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 15px;
  color: #000000;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-card p {
  margin-bottom: 0px;
  line-height: 1.5;
}

.main-card .date {
  font-size: 14px;
  font-weight: 700;
  color: #23559b;
  margin-bottom: 8px;
}

.main-card .read-more {
  color: #23559b;
  text-decoration: underline;
  font-size: 14px;
  font-weight: bold;
}

.small-card {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  height: auto;
}

.small-card-image img {
  border-radius: 20px;
  width: 98px;
  object-position: left;
  object-fit: cover;
  height: 98px;
}

.small-card-content {
  padding: 0px 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.small-card h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #383939;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding-right: 25px; */
  gap: 15px;
  margin-bottom: 15px;
}

.small-card .date {
  font-size: 14px;
  font-weight: 700;
  color: #23559b;
  margin-bottom: 8px;
}

.small-card .read-more {
  color: #23559b;
  text-decoration: underline;
  font-size: 14px;
  font-weight: bold;
}

.items-flex {
  width: 100%;
  margin: 0 auto;
}

.items-flex-inner {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(2, 1fr);
}

/* events css */
.event-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 50px;
}

.event-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.event-content {
  width: 100%;
}
.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e4efff;
  padding-bottom: 15px;
}

.event-card:nth-last-child(-n + 2) {
  border-bottom: none;
}

.event-date {
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px 13px;
  background-color: #23559b;
  border-radius: 10px;
  color: #fff;
  height: 64px;
  width: 60px;
  font-size: 17px;
}

.event-content {
  width: 100%;
}

.event-institution {
  width: max-content;
  background-color: #e4efff;
  color: #23559b;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  padding: 3px 12px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 16px;
}

.event-title h4 {
  line-height: 24px;
  font-size: 16px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  text-decoration: underline;
  text-decoration-color: #2a2e6d1f;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  color: #23559b;
}
/* events ends */
.mobile-desktop {
  display: none;
}
.pl-30{
  padding-left: 30px;
}
  .event-card a {
    flex: 1;
    text-decoration: none;
}
@media (max-width: 768px) {
  .splide__track {
    padding: 0 20px;
  }

  .news-card {
    height: auto;
    min-height: 180px;
  }

  .section-description {
    max-width: 100%;
  }
  #main-section-research {
    padding: 1rem 0.6rem !important;
  }
}
/* new css */

/* css */

/* common media */
@media (max-width: 1199px) {
  .cards-container-hero {
    grid-template-columns: repeat(3, 1fr);
    /* Always 2 columns */
  }
}

@media (max-width: 767px) {
  /* banner */
  .content-home {
    margin-left: 0px;
  }

  .dots-home {
    left: 25px;
  }
  .slides-home{
    height: 50vh;
  }
  .slider-home {
    height: 50vh;
  }
  .items-flex-inner {
    grid-template-columns: 1fr;
  }

  .event-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .contact-form {
    width: 100%;
  }

  .stjohns-award-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  #news-events .main-news {
    padding: 15px;
  }

  .small-card-image img {
    border-radius: 8px;
    width: 62px;
    height: 62px;
  }
  section#work-with-us {
    height: 100vh !important;
      background-image: url(../images/bg-w2us-mobile.webp) !important;
      background-size: cover;
      align-items: flex-start !important;
  }
  #work-with-us .content-blue {
    margin-top: 5px;
    max-width: 100% !important;
  }
  #work-with-us .image-container img {
    margin-left: 0 !important;
    margin-bottom: 30px;
  }
  #work-with-us .image-container {
    display: none;
  }
  .stjohns-corporate-home-awards-carousel-controls {
    margin-bottom: 30px !important;
  }
  .contact-content {
    gap: 20px;
  }
  #work-with-us .content-blue p {
    -webkit-line-clamp: 4 !important;
    margin-bottom: 5px !important;
  }
  #work-with-us .content-blue h2 {
    font-size: 18px;
    margin-bottom: 5px !important;
  }
  .desktop-view-all {
    display: none !important;
  }
  .mobile-view-all {
    display: block !important;
  }
  .stjohns-corporate-home-awards-carousel-controls-container {
    justify-content: space-between !important;
  }
  #tab_map .tabs{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 499px) {
  .cards-container-hero {
    grid-template-columns: repeat(2, 1fr);
    /* Always 2 columns */
  }

  .sidebar-home {
    padding-bottom: 40px;
  }

  .card-back-hero h3 {
    font-size: 16px;
  }

  .card-back-hero p {
    font-size: 10px;
  }

  .card-back-hero .desktop-button {
    display: none;
  }

  .card-back-hero .mobile-button {
    display: inline-flex;
  }

  .small-card h4 {
    font-size: 14px;
    color: #000000;
    margin-top: 6px;
  }

  .main-card-content h3,
  .small-card-content h3 {
    font-size: 12px;
    text-align: center;
    place-content: center;
    border-radius: 30px;
  }

  .main-card-content {
    padding: 25px 0;
  }

  .content-home h1 {
    font-size: 32px;
  }

  .stat-card:not(:last-child) {
    padding: 2px 15px;
    margin-bottom: 1rem;
  }
}

.sidebar-home .splide,
#news .splide {
  visibility: visible !important;
}

/* Awards section  */
.stjohns-corporate-home-awards-container {
  max-width: 1440px;
  margin: 0 auto;
}

.stjohns-corporate-home-awards-container h2 {
  font-size: 44px;
  line-height: 48px;
  margin: 40px 0px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color:#23559b;
}

.stjohns-corporate-home-awards-container h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, transparent, #d0bb68, transparent);
}
.awards-starting {
    margin-left: 75px;
    margin-right: 75px;
}
.announcement-img-corporate-new-awards-new {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}

.stjohns-corporate-home-awards-title {
  color: #333366;
  margin-bottom: 30px;
}

.stjohns-corporate-home-awards-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 300px; /* Ensure minimum height for visibility */
}

.stjohns-corporate-home-awards-carousel {
  display: flex;
  transition: transform 0.5s ease;
  gap: 0; /* Remove gap as it's handled by JavaScript */
  min-height: 300px; /* Ensure minimum height for visibility */
}

.stjohns-corporate-home-awards-card {
  padding: 40px;
  background-color: white;
  border-radius: 30px;
  min-width: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  min-height: 300px; /* Ensure minimum height for visibility */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.announcement-img-corporate-new-awards {
    width: 200px;
    height: 100px;
    object-fit: contain;
    object-position: left;

}

.stjohns-corporate-home-awards-card-header {
  margin-bottom: 15px;
}

.stjohns-corporate-home-awards-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-block: 20px;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.2px;
  vertical-align: middle;
}

.stjohns-corporate-home-awards-card-subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  vertical-align: middle;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stjohns-corporate-home-awards-carousel-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 10px;
  position: relative;
  right: 10px;
  margin-bottom: 50px;
}

.stjohns-corporate-home-awards-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d2d2d7;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 32px;
  font-weight: 600;
  color: #00000099;
}

.stjohns-corporate-home-awards-carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stjohns-corporate-home-awards-carousel-btn:not(:disabled):hover {
  background-color: #f0f0f0;
}

.stjohns-corporate-home-awards-view-all {
  color: #333366;
  text-decoration: none;
  font-size: 14px;
  margin-right: 15px;
  display: flex;
  align-items: center;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .stjohns-corporate-home-awards-carousel {
    gap: 0;
  }
  
  .stjohns-corporate-home-awards-card {
    padding: 30px;
    min-height: 250px;
  }
  
  .stjohns-corporate-home-awards-card-title {
    font-size: 18px;
  }
  
  .stjohns-corporate-home-awards-card-subtitle {
    font-size: 14px;
  }
  
  .stjohns-corporate-home-awards-carousel-container {
    min-height: 250px;
  }
  
  .stjohns-corporate-home-awards-carousel {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .stjohns-corporate-home-awards-card {
    padding: 20px;
    min-height: 200px;
  }
  
  .stjohns-corporate-home-awards-card-title {
    font-size: 16px;
  }
  
  .stjohns-corporate-home-awards-card-subtitle {
    font-size: 13px;
  }
  
  .stjohns-corporate-home-awards-carousel-container {
    min-height: 200px;
  }
  
  .stjohns-corporate-home-awards-carousel {
    min-height: 200px;
  }
}

@media (max-width: 1024px) {
  .stjohns-corporate-home-awards-carousel {
    gap: 0px;
  }
  .awards-starting {
    margin-left: 60px;
    margin-right: 60px;
}
  #calendar_id {
    flex-direction: column-reverse;
  }
  #calendar_id .days-grid {
    align-items: center; /* Centers vertically */
    justify-items: center;
  }
  #news-events .tabs {
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents items from wrapping */
    gap: 30px;
  }

  /* Hide scrollbar (optional) */
  #news-events .tabs::-webkit-scrollbar {
    display: none;
  }
  #news-events .main-news {
    padding: 50px 70px;
  }
  #main-section-research {
    flex-direction: column;
  }
  .awards-slider-main {
    margin: 0 !important;
  }
  section#work-with-us {
    background-position: 100% !important;
    background-size: contain !important;
    background-position: right;
  }
  #work-with-us .content-blue {
    padding: 15px 15px 10px 15px !important;
  }
  .contact-content {
    grid-template-columns: 1fr  !important;
  }
  #work-with-us .content-blue p {
    -webkit-line-clamp: 4 !important;
}
}

/* Base Styles */
.well-being-section {
  background-color: #23559b;
  padding: 3rem 0 0 0;
  color: #333;
}

.well-being-container {
  width: calc(100% - 160px);
  margin: 0 auto;
}

/* Header Styles */
.well-being-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.well-being-header h3 {
  font-size: 37px;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 700;
}

.intro-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50%;
}

.stat-card h2 {
  font-size: 2.5rem;
  color: #d0bb68;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stat-card p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .well-being-header h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .well-being-container {
    width: 100%;
  }

  #news-events .tab-heading {
    padding: 0px 10px !important;
  }

  #news-events .main-news {
    padding: 50px 10px !important;
  }
  .well-being-header {
    display: none;
  }
}

@media (max-width: 480px) {
  .well-being-section {
    padding: 2rem 1rem;
  }

  .well-being-header {
    margin-bottom: 2rem;
  }
}

/* Update your existing CSS with these changes */

/* Add right border to all cards except the last in each row */
.stat-card:not(:last-child) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50%;
  border-right: 1px solid #d0bb68;
}

/* Remove border on last card when stacked (mobile view) */
@media (max-width: 767px) {
  .stat-card {
    border-right: none !important;
  }

  .stats-grid {
    gap: 0;
    align-items: center;
  }
  .stat-card h2 {
    color: #ffffff;
  }
  /* Add bottom border instead for mobile */
  .stat-card:not(:last-child) {
    border-bottom: 1px solid transparent;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
  }

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

/* Special cases for different screen sizes */
@media (max-width: 768px) {
  .awards-starting {
    margin-left: 20px;
    margin-right: 20px;
}
  /* For 2 cards: only first gets border */
  .stat-card:nth-child(1):nth-last-child(2),
  .stat-card:nth-child(2):nth-last-child(1) {
    border-right: none;
  }

  .stat-card:nth-child(1):nth-last-child(2) {
    border-right: 1px solid #d0bb68;
  }

  /* For 3 cards: first two get borders */
  .stat-card:nth-child(1):nth-last-child(3),
  .stat-card:nth-child(2):nth-last-child(2),
  .stat-card:nth-child(3):nth-last-child(1) {
    border-right: none;
  }

  .stat-card:nth-child(1):nth-last-child(3),
  .stat-card:nth-child(2):nth-last-child(2) {
    border-right: 1px solid #d0bb68;
  }
  section#work-with-us{
    height: 48vh;

  }
}

/* For 4+ cards - default behavior works (all but last get border) */

.contact-section {
  padding: 100px 0px;
  color: #1d1d1f;
}

/* h2 {
  color: #23559B;
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 10px;
} */

.contact-section h2 {
  font-size: 44px;
  line-height: 48px;
  color: #23559b;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-section .intro-text {
  color: #000;
  width: 50%;
}

.intro-text {
  font-size: 18px;
  margin-bottom: 25px;
}
.contact-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Always 2 columns */
  gap: 50px;
  align-items: flex-start;
}

.map-box iframe {
  width: 100%;
  flex: 1;
  border: 0px solid #f2e8c9;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 2px 8px #d0bb689f;
}
.map-box a:hover {
  text-decoration: underline !important;
  text-decoration-color: #23559b !important;
}
.form-group,
.form-group-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #23559b;
}

.country-code {
  width: 25%;
}

.form-group-row {
  flex-direction: row;
  gap: 15px;
}

.form-group label {
     font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

input,
textarea,
select {
  padding: 10px 12px;
  border: 2px solid #cfcfcf;
  color: #757575;
  border-radius: 8px;
  outline: none;
  appearance: none; /* Removes default styling for better control */
  font-size: 0.95em;
}

textarea {
  resize: vertical;
}

.country-code input {
  background-color: #f3f4f6;
  color: #333;
  font-weight: bold;
  text-align: center;
}

.submit-btn {
  position: relative;
  border: 1px solid #23559b;
  background-color: #d5b65a;
  color: #000000;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  width: 150px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559b;
  /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
}

.submit-btn:hover {
  color: white;
}

.submit-btn:hover::before {
  width: 100%;
}

.address {
  margin-top: 12px;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #23559b;
  width: 90%;
}
.address a {
  text-decoration: underline;
  color: #23559b;
  font-size: 0.95em;
}
.map-box a {
  text-decoration: underline;
  text-decoration-color: #2a2e6d1f;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.location-icon {
  font-size: 1.2em;
}

@media (max-width: 991px) {
  .contact-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .main-news {
    display: grid;
  }

  #news-events .main-news {
    display: grid;
    padding: 50px;
  }

  #news-events .news-common {
    width: 100%;
  }

  .cards-flex2 {
    width: 100%;
  }

  .news-button {
    display: none;
  }

  .news-button-mobile {
    display: block;
    text-decoration: none;
    background: #d0bb68;
    color: black;
    padding: 10px 40px;
    font-weight: 600;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    margin-block: 24px;
    border: 1px solid #23559b;
    width: 168px;
  }

  #news-events .tab-heading {
    padding: 0px 50px;
  }
}

@media screen and (max-width: 450px) {
  .input-box-home {
    font-size: 12px;
    padding: 10px 8px;
  }

  .form-group-row {
    gap: 8px;
  }

  .country-code {
    width: 33%;
  }
}

@media screen and (min-width: 767px) and (max-width: 991px) {
  .well-being-container {
    width: 100%;
  }

  .stat-card {
    padding: 20px;
  }

  .stats-grid {
    gap: 0;
  }
}
/* hero section  */
/* Hero Section Styling */
#hero-section {
  margin: 0 auto;
  padding: 60px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

#hero-section > div:first-child {
  flex: 1 1 55%;
  min-width: 300px;
}
#hero-section > div:first-child img {
  width: 100%;
}
#hero-section .inner {
  width: fit-content;
  padding: 20px;
  height: auto;
  border-radius: 20px;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.1);
}
#hero-section .inner h3 {
  font-size: 16px;
  font-weight: 700;
  color: #23559b;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.hero-content {
  flex: 1 1 40%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

#hero-section h2 {
  font-size: 22px;
  color: #8a8989;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-weight: 700;
}

#hero-section h4 {
  font-size: 32px;
  line-height: 38px;
  color: #23559b;
  font-weight: 700;
  margin-top: 0;
}

#hero-section p {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 0;

  display: -webkit-box;
  -webkit-line-clamp: 4; /* Clamp to 4 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#hero-section a {
  color: #2a2e6d;
  text-underline-offset: 4px;
  font-size: 16px;
  margin-bottom: 50px;
  margin-top: 25px;
  font-weight: 400;
}

#hero-section a:hover {
  font-weight: 500;
}

.accreditations {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eaecef;
}

.accreditations h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.accreditations img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  #hero-section {
    gap: 30px;
    padding: 40px 20px;
    align-items: center;
  }
  #hero-section > div:first-child {
    flex: 1 1 40%;
  }
}

@media (max-width: 768px) {
  #hero-section {
    flex-direction: column;
    padding: 30px 15px;
    gap: 25px;
  }

  #hero-section > div:first-child,
  .hero-content {
    flex: 1 1 100%;
  }

  #hero-section h2 {
    font-size: 22px;
    font-weight: 500;
    color: #8a8989;
  }
  .items-flex-inner {
    grid-template-columns: 1fr;
  }
}
/* research hightlights */
#main-section-research {
display: flex;
    gap: 1rem;
    padding: 2rem 1.9rem;
}

#main-section-research .research-highlights {
  flex: 1.5;
  background: #f4f0e4;
  padding: 30px 15px 30px 30px;
  border-radius: 10px;
}

#main-section-research .research-highlights h2 {
  color: #23559b;
  font-size: 32px;
  line-height: 35px;
  margin-bottom: 1rem;
}

#main-section-research .research-highlights img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

#main-section-research .research-highlights h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

#main-section-research .research-highlights p {
    font-size: 16px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#main-section-research .research-highlights .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#main-section-research .read-more {
  background: #d9b855;
  padding: 12px 30px;
  border: 2px solid #23559b;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}
#main-section-research .read-more {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  color: #000000;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid #23559b;
  transition: color 0.3s ease-in-out;
  z-index: 1;
}

/* Hover background wipe layer */
#main-section-research .read-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #23559b;
  transition: width 0.3s ease-in-out;
  border-radius: 20px;
  z-index: -1;
}

/* Initial background layer */
#main-section-research .read-more::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d9b855;
  z-index: -2;
  border-radius: 20px;
}

/* Hover state */
#main-section-research .read-more:hover::before {
  width: 100%;
}

#main-section-research .read-more:hover {
  color: white;
}

#main-section-research .view-all {
  color: #23559b;
  text-decoration: underline;
  font-size: 17px;
}

#main-section-research .publications {
  flex: 2;
  background: #f4f0e4;
  padding: 0;
  border-radius: 10px;
}

#main-section-research .publications h2 {
  padding-left: 30px;
  padding-top: 25px;
  color: #23559b;
  font-size: 32px;
  margin-bottom: 1rem;
}

#main-section-research .publications p{
  /* padding: 30px; */
}

#main-section-research .publication {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  gap: 10px;
  border-radius: 8px;
  margin-bottom: 1rem;
}
#main-section-research .publication:hover {
  background-color: #fff;
  border-radius: 0;
}
#main-section-research .publication h3 {
  color: #1e4a87;
  font-size: 20px;
  margin: 0 0 10px 0;
}

#main-section-research .publication p {
  font-size: 16px;
  margin-bottom: 0px;

  display: -webkit-box;
    -webkit-line-clamp: 2;       /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#main-section-research .publication .date {
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

#main-section-research .arrow {
  font-size: 21px;
  color: white;
  background: #23559b;
  padding: 5px;
  border-radius: 30%;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
}

#main-section-research .view-all-link {
  text-align: right;
  margin-top: 1rem;
  margin-bottom: 30px;
  margin-right: 25px;
}

#main-section-research .view-all-link a {
  color: #23559b;
  text-decoration: underline;
    font-size: 17px;

}
#main-section-research .arrow svg {
  fill: white;
}
/* bluesection */
section#work-with-us {
  background-image: url(../images/bg-w2us.webp);
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  color: white;
  background-color: #23559b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  gap: 40px;
  /* height: 65vh; */
  position: relative;
}

/* Optional dark overlay for readability */
/* section#work-with-us::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(40, 80, 145, 0.8);
      z-index: 0;
    } */

#work-with-us .content-blue {
  flex: 1;
  max-width: 50%;
  position: relative;
  z-index: 1;
  padding: 80px 70px 80px 50px;
}

#work-with-us .content-blue h2 {
  font-size: 36px;
  line-height: 40px;
  margin-bottom: 20px;
}

#work-with-us .content-blue p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
    /* Ellipsis for 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 6; /* show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#work-with-us .content-blue .btn {
  position: relative;
  display: inline-block;
  background-color: transparent;
  color: #000000;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #23559b;
  transition: color 0.3s ease-in-out;
  overflow: hidden;
  z-index: 1;
}

/* Hover background wipe effect */
#work-with-us .content-blue .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #000000;
  transition: width 0.3s ease-in-out;
  border-radius: 30px;
  z-index: -1;
}

/* Initial background layer */
#work-with-us .content-blue .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e0c56e;
  border-radius: 30px;
  z-index: -2;
}

/* Hover effect */
#work-with-us .content-blue .btn:hover::before {
  width: 100%;
}

#work-with-us .content-blue .btn:hover {
  color: white;
  background:#000000;
}

/*  */

#work-with-us .image-container {
  flex: 1;
  position: relative;
  max-width: 50%;
  z-index: 1;
}

#work-with-us .image-container img {
  margin-left: -50px;
  width: 315px;
  height: 400px;
  border-radius: 20px;
  display: none;
}
/* calendar  */
#calendar_id .calendar-description {
  margin-bottom: 30px;
}

#calendar_id .calendar-description h1 {
  color: #2c3e50;
  margin-bottom: 10px;
}

#calendar_id {
  display: flex;
  gap: 30px;
}

#calendar_id .events-sidebar {
  width: 100%;
  height: auto;
  background: #fff;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
#calendar_id .event-item {
  margin-bottom: 0px;
  padding-bottom: 8px;
}
#calendar_id .event-item p {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  margin-top: 0px;
}
#calendar_id .event-type-badge{
    font-weight: 700;
    line-height: normal;
}
.event-type-badge {
    font-size: 14px;
    color: #969696;
}
#calendar_id .event-item h3 {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  margin: 5px 0 5px 0;
}
#calendar_id .event-item h3 a{
  text-decoration: underline;
  text-decoration-color: #2a2e6d1f;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  color: #23559b;
}
#calendar_id .event-item h3 a:hover{
  text-decoration: underline;
  color: #23559b;
  text-decoration-color: #23559b;
}
#calendar_id .event-date-cal {
  color: #23559b !important;
  font-size: 0.9em;
  background: #dddddd;
  font-weight: 600 !important;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  padding: 10px;
}

#calendar_id .month-calendar {
  width: 100%;
  background: #fff;
  padding: 30px 20px 20px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

#calendar_id .month-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

#calendar_id .month-title {
  font-size: 16px;
  line-height: 20px;
      margin-bottom: 12px;
  font-weight: 400;
  color: #000000;
}

#calendar_id .nav-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000000;
  border: none;
  border-radius: 50%;
  padding: 5px 15px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
  width: 50px;
  height: 50px;
}

#calendar_id .nav-arrow:hover {
  background: #2980b9;
}

#calendar_id .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
}
#calendar_id .weekdays div {
  font-size: 14px;
  color: #858687;
}

#calendar_id .days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
#calendar_id .days-grid > div {
    display: flex;
    align-items: center;   /* vertical center */
    justify-content: center; /* horizontal center */
}
#calendar_id .day {
  padding: 5px 5px;
  text-align: center;
  border-radius: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.2s;
  color: #000000;
  /* height: 50px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#calendar_id .day:hover {
  /* background: #e0e0e0; */
}

#calendar_id .day.today {
  background: #23559b;
  color: white;
  margin: auto;
  font-weight: bold;
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0 !important;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

#calendar_id .day.selected {
  background: #2c3e50;
  color: white;
    margin: auto;
  font-weight: bold;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 !important;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

#calendar_id .day.has-event::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #e74c3c;
  border-radius: 50%;
  /* Position the dot absolutely to avoid affecting layout */
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  /* Remove margin that was causing layout issues */
  margin: 0;
}

#calendar_id .no-events {
  color: #7f8c8d;
  font-style: italic;
}
#calendar_id .event-flex-cal {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  gap: 15px;
} /* //ends */
/* search */
/* research css here */

.awards-slider-main {
  position: relative;
  width: 100%;
  /* max-width: 700px; */
  margin: 0 auto 12px auto;
  overflow: hidden;
}

.awards-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.awards-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0;
  padding-right: 15px;
  text-align: left;
  transition: box-shadow 0.3s;
  border-radius: 8px;
}

.awards-slide img {
  margin-bottom: 1rem;
  border-radius: 8px;
}

.awards-slider-dots {
  display: flex;
  justify-content: left;
  gap: 0.5rem;
  margin: 1rem 0 0 0;
}

.awards-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}

.awards-slider-dot.active {
  background: #d0bb68;
}
/* map fpr contact us */
#tab_map {
  /* box-shadow: rgba(208, 187, 104, 0.624) 0px 2px 8px;institutional-distinctiveness */
  border-radius: 20px;
    box-shadow: 0 2px 8px #d0bb689f;
}
#tab_map .tabs {
  display: flex;
  border-radius: 15px;
}

#tab_map .tab {
  padding: 12px 10px;
  cursor: pointer;
  background-color: #fffae8;
  border-right: none;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  font-size: 14px;
  transition: all 0.3s;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  gap: 10px;
}
#tab_map .tab p {
  font-size: 12px;
}
#tab_map .tab:first-child {
  /* border-right: none */
  border-bottom-left-radius: 15px;
}
#tab_map .tab:last-child {
  /* border-right: none */
  border-bottom-right-radius: 15px;
}

#tab_map .tab.active {
  background-color: #fffae8;
  font-weight: bold;
  /* border-bottom: 2px solid #e74c3c; */
}
#tab_map .tab img {
  background: #ebf3ff;
  padding: 8px;
  border-radius: 8px;
}

#tab_map .tab-content {
  padding: 0px;
  min-height: auto;
}

#tab_map .map-container {
  width: 100%;
  width: 100%;
  background-color: #fffae8;
  position: relative;
  overflow: hidden;
}

#tab_map .map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #fffae8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 18px;
}
.stjohns-corporate-home-awards-container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.stjohns-corporate-home-awards-carousel-controls-container {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 30px;
}
.stjohns-corporate-home-awards-container-header a ,
.stjohns-corporate-home-awards-carousel-controls-container a {
  color:#23559b;
  text-decoration: underline;
  font-size: 17px;
}
.desktop-view-all {
  display: block;
}
.mobile-view-all {
  display: none;
}
/* Modal */
.status-header {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.modal {
  background-color: #e8ebf7;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.success-icon {
  background-color: #4caf50;
}

.error-icon {
  background-color: #f44336;
}

.icon::after {
  content: "";
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.success-icon::after {
  content: "✓";
}

.error-icon::after {
  content: "!";
}

.modal-title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.modal-message {
  font-size: 16px;
  color: #5a6c7d;
  margin-bottom: 30px;
  line-height: 1.4;
}

.done-button {
  background-color: #d4af37;
  color: #333;
  border: none;
  padding: 12px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.done-button:hover {
  background-color: #c19b26;
}

.success-header {
  color: #4285f4;
}

.error-header {
  color: #4285f4;
}

/* modal ends */