  
.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;
}
.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 */
.quote-box {
  position: relative;
  padding: 16px;
  /* background: linear-gradient(to right, #f9f9f9, #e6f0ff); */
  /* Optional light background */
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.quote-left,
.quote-right {
  color: gray;
  font-size: 50px;
  font-weight: bold;
  position: absolute;
}

.quote-left {
  top: 30px;
  left: -10px;
}

.quote-right {
  bottom: 30px;
  right: -10px;
}

.quote-content h3 {
  font-size: 24px;
  color: #23559b;
  margin-bottom: 1rem;
}

.quote-content p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.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: 20px;
  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: 16px;
  letter-spacing: 0.23px;
  text-align: center;
  margin: 30px 0;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 6; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-back-hero a,
.card-back-hero .mobile-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #383939;
  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: 24px;
  font-size: 18px;
  word-wrap: break-word;
}

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

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

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

/* Active dot style */
#medical-slider .splide__pagination__page.is-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 */
#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;
  padding: 0px;
  font-size: 14px;
  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: #383939;
  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: 25px 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: 15px;
  margin-bottom: 15px;
  color: #383939;
  line-height: 24px;
}

.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: #333;
  margin-top: 5px;
}

.date-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding-right: 25px; */
  gap: 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;
}

/* events ends */
.mobile-desktop {
  display: none;
}
.contact-phone-number{
  display: flex;
  gap:5px;
  align-items: center;
}
.contact-phone-number-separator{
  margin-top: 12px;
  color: #23559b;
}
.app-contact{
  margin-top: 10px;
}
.app-contact h4{
      font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}
@media (max-width: 768px) {
  .splide__track {
    padding: 0 20px;
  }

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

  .section-description {
    max-width: 100%;
  }
  #news-events .tab {
    min-width: 180px;
  }
  .grid-container{
    display: grid !important;
  }
  .stats-grid{
        grid-template-columns: repeat(2, 1fr) !important;
  }
  .stat-card:nth-child(even)::after {
  display: none;
}
.card-back-hero{
  padding: 10px;
}
}

.splide.is-initialized,
.splide.is-rendered {
  visibility: visible !important;
}

/* new css */

/* css */

/* common media */
@media (max-width: 1199px) {
  .cards-container-hero {
    grid-template-columns: repeat(3, 1fr);
    /* Always 2 columns */
  }
  .awards-starting {
    margin-left: 25px!important;
    margin-right: 25px!important;
}
}

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

  .dots-home {
    left: 25px;
  }
  .slides-home{
    height: 50vh;
  }
  .slider-home {
    height: 50vh;
  }
  .items-flex {
    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;
  }
  #news-events .tab {
    min-width: auto;
  }
  .quote-left {
    top: 10px;
    left: -15px;
}
.quote-right {
    bottom: 5px;
    right: 0px;
}
}

@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;
    line-height: 12px;
  }

  .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;
}

#medical-slider .splide__pagination__page {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
  border: none;
}

#medical-slider .splide__pagination__page .splide__pagination.is-active {
  background: #d0bb68;
}

/* Awards section  */
.awards-starting {
  margin-left: 75px;
  margin-right: 75px;
}

.stjohns-corporate-home-awards-container {
  max-width: 2000px;
  margin: 0 auto;
}

.stjohns-corporate-home-awards-container h2 {
  font-size: 44px;
  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);
}

.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;
}

.stjohns-corporate-home-awards-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  /* gap: 20px; */
}

.stjohns-corporate-home-awards-card {
  padding: 40px;
  background-color: white;
  border-radius: 30px;
  min-width: 0;
  flex-shrink: 0;
  margin-left: 20px;
}

.announcement-img-corporate-new-awards {
  height: 87px;
    object-fit: contain;
    object-position: center;
}

.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: 21px;
  letter-spacing: 0px;
  vertical-align: middle;
}

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

.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: 15px;
  }

  .stjohns-corporate-home-awards-card {
    padding: 20px;
  }

  .stjohns-corporate-home-awards-card-title {
    font-size: 18px;
  }

  .stjohns-corporate-home-awards-card-subtitle {
    font-size: 14px;
  }
  .stjohns-corporate-home-awards-carousel-controls {
    right: 40px;
  }
}

@media (max-width: 1024px) {
  .stjohns-corporate-home-awards-carousel {
    gap: 0px;
  }
  .stjohns-corporate-home-awards-carousel-container {
    overflow: auto; /* keep scrolling */
    -ms-overflow-style: none;  /* IE & old Edge */
    scrollbar-width: none;     /* Firefox */
}

.stjohns-corporate-home-awards-carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
  #news-events .main-news {
    min-height: 540px;
  }

  .well-being-section img {
    height: 525px !important;
  }

  .main-card-image img {
    width: 100%;
    height: 170px;
  }

  .small-card-image img {
    width: 100px;
    height: 74px;
  }
  .items-flex-inner {
    gap: 15px;
  }
  #news-events .main-news {
    padding: 50px 70px;
  }
}

/* Base Styles */
.well-being-section {
  background: url(../images/well-being.png) no-repeat center;
  position: relative;
  background-color: #23559b;
  padding: 0;
  color: #333;
}

.well-being-section img {
  height: 458px;
  width: 100%;
}

.well-being-container {
  /* position: absolute; */
  top: 0;
  background-color: #23559b9e;
  padding: 60px 60px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

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

.well-being-header h3 {
  font-size: 37px;
  margin-bottom: 1rem;
  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: 1rem;
}

.stat-card {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* Needed for positioning ::after */
  padding-right: 20px;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 70%;
  width: 1px;
  background-color: #d0bb68;
}

.stat-card:nth-child(4)::after,
.stat-card:last-child::after {
    display: none;
}
.stat-card h2 {
  font-size: 40px;
  color: #d0bb68;
  margin-bottom: 15px;
  font-weight: 700;
}

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

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

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

  .awards-starting {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .stjohns-corporate-home-awards-carousel {
    gap: 12px;
  }

  .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;
  }
  #news-events .tab {
    width: auto;
  }
  .tab-content {
    display: none;
    padding: 25px 5px 20px 5px !important;
  }
   .announcements-date span{
    font-size: 12px !important;
  }
  .announcements-date span a{
    font-size: 12px !important;
  }
  .stats-grid {
        grid-template-columns: repeat(1, 1fr) !important;
  }
}

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

  .well-being-header {
    margin-bottom: 2rem;
  }
  .quote-box {
    padding: 5px;
  }
  .stjohns-corporate-home-awards-card{
            margin-left: 8px;
        margin-right: 8px;
  }
      .stjohns-corporate-home-awards-carousel {
        gap: 0px;
                margin-left: -10px;
    }

}

/* Update your existing CSS with these changes */
/* 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: 1rem;
    margin-bottom: 1rem;
  }

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

/* Special cases for different screen sizes */
@media (min-width: 768px) {
  /* 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;
  }
}

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

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

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

.contact-section h2 {
  font-size: 44px;
}

.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: 30px;
  align-items: flex-start;
}

.map-box iframe {
  width: 100%;
  flex: 1;
  border: 0px solid #f2e8c9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 2px 8px #d0bb689f;
}

.map-box a {
  text-decoration: underline;
  text-decoration-color: #2a2e6d1f;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.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: 10px;
  width: 100%;
}

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

.country-code {
  width: 25%;
}

/* Enhanced country select dropdown styling */
.country-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 24px;
  padding-right: 32px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.country-select:hover {
  border-color: #23559b;
  box-shadow: 0 0 0 2px rgba(35, 85, 155, 0.1);
}

.country-select:focus {
  border-color: #23559b;
  box-shadow: 0 0 0 3px rgba(35, 85, 155, 0.2);
  outline: none;
}

.country-select option {
  padding: 8px 12px;
  font-size: 14px;
  background-color: white;
  color: #333;
}

.country-select option:hover {
  background-color: #f3f4f6;
}

/* Custom scrollbar for the dropdown */
.country-select::-webkit-scrollbar {
  width: 8px;
}

.country-select::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.country-select::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.country-select::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsive adjustments for country select */
@media screen and (max-width: 768px) {
  .country-select {
    font-size: 14px;
    padding: 8px 28px 8px 8px;
  }
  
  .country-select option {
    font-size: 13px;
    padding: 6px 10px;
  }
}

@media screen and (max-width: 480px) {
  .country-select {
    font-size: 12px;
    padding: 6px 24px 6px 6px;
  }
  
  .country-select option {
    font-size: 12px;
    padding: 4px 8px;
  }
}
@media screen and (max-width: 375px){
  .navbar .burger {
        right: 5px;
  }
  .sthohns-logo{
    margin-left: 0px;
  }
  .well-being-container{
        padding: 60px 5px;
  }
}
@media screen and (max-width: 320px){
  .sthohns-logo{
    margin-left: -12px;
  }
}
.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;
  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: #383939;
  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;
  margin-top: 20px;
}

.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: 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #23559b;
  width: 90%;
}

.location-icon {
  font-size: 1.2em;
}

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

  #news-events .main-news {
    height: auto;
  }

  .stats-grid {
    margin-top: 80px;
  }

  .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 (max-width: 366px){
  .mobile-search-wrapper{
    right: 0 !important;
  }
  .navbar .burger{
    right: 0 !important;
  }
}

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

  .stat-card {
    padding: 20px;
  }

  .stats-grid {
    gap: 0;
  }
}

/* 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 */
@media screen and (max-width: 550px) {
  .form-group label {
    font-size: 12px;
  }

  #medical-slider .splide__pagination {
    bottom: -30px;
  }

  .stat-card::after {
    display: none;
  }
}
/* Announcment */
.news-events{
  padding-bottom: 50px;
  background: #fff;
}
.news-events-main-grid{
  grid-template-columns: 25% 75% !important;
}
.tab-buttons {
  display: flex;
  position: relative;
  gap: 25px;
  background: #F9F9FF;
  padding-top: 50px;
}
.tab-buttons::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #F9F9FF;
    padding: 0px 0 0 0;
}
.tab-buttons button {
  padding: 15px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
  border-bottom: 2px solid #cfcfcf;
  color: #86868B;
  position: relative;
  min-width: 200px;
}

.tab-buttons button.active {
  color: #23559b;
}

/* Movable underline */
.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #23559b;
  transition: all 0.3s ease;
}

.tab-content {
  display: none;
  padding:80px 20px 20px 20px;
  animation: fadeIn 0.4s ease-in-out;

}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-content .primary-btn{
 margin-top: 30px;
}
.announcements-img{
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
.announcements-img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tab-heading {
    font-weight: 700;
    font-size: 37px;
    line-height: 40px;
    color: #23559b;
    margin-bottom: 15px;
}
.tab-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #000000;
}
.announcements-date{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.announcements-date span {
    display: block;
    padding: 0px;
    font-size: 14px;
    color: #23559b;
    font-weight: 700;
    margin-bottom: 0px;
    background-color: transparent;
}
.announcements-date span a{
  color: #23559b;
  text-decoration: underline;
}
.announcements-sub{
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.announcements-sub-img{
  width: 96px;
  height: 98px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.announcements-sub-img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.announcements-sub-text{
  width: 60%;
}
.announcements-sub-text p{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
#events .d-grid{
  grid-template-columns: 1fr 2fr;
}
.event-list-grid{
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  display: grid;
  align-items: baseline;
}
.event-lists{
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
}
.event-date{
  width: 60px;
  height: 64px;
  border-radius: 10px;
  background: #23559b;
  color: #fff;
  text-align: center;
  padding: 10px;
}
.event-date span{
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}
.arrow-icon span{
  font-size: 24px;
  color: #23559b;
  transition: all 0.3s ease-in-out;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.event-text p{
  font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -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;
}
/* .event-lists:hover .arrow-icon span{
  transform: translateX(5px);
} */
.event-list-cont a{
  display: block;
  text-decoration: none;
}
.event-list-cont{
  padding: 15px 0px;
  border-bottom: 1px solid #e8e8fb;
  position: relative;
}
.calender-cont{
  display: flex;
  gap: 30px;
}
.cards-flex2 {
    width: 70%;
}
.calender-text {
    width: 30%;
}
#calendar_id {
    display: flex;
    gap: 30px;
}
#calendar_id .events-sidebar {
    width: 100%;
    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: 25px;
}
#calendar_id .event-flex-cal {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

#calendar_id .event-date-cal {
    color: #23559b !important;
    font-size: 16px;
    background: #dddddd;
    font-weight: 600 !important;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    padding: 10px;
}
#calendar_id .event-item h3 {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: #23559b;
}
#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 p {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
}
.event-type-badge{
  font-size: 14px;
    color: #969696;
}
#calendar_id .month-calendar {
    width: 100%;
    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 .month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
#calendar_id .nav-arrow {
    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;
    display: flex;
    align-items: center;
    justify-content: center;
}
#calendar_id .month-title {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}
#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 .day {
    padding: 12px 5px;
    text-align: center;
    border-radius: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    color: #000000;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
#calendar_id .days-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
}
#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;
}
.d-grid{
  display: grid;
}
.gap-30 {
    gap: 30px;
}
.two-clm {
    grid-template-columns: repeat(2, 1fr);
}
.primary-btn {
    position: relative;
    background: #d0bb68;
    color: #000000;
    padding: 10px 40px;
    border: 1px solid #23559b;
    border-radius: 40px;
    font-size: 18px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease-in-out;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

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

.primary-btn:hover {
    color: #fff;
}

.primary-btn:hover::before {
    width: 100%;
}
.mobile{
  display: none;
}
@media (max-width: 1199px) {
  
 .tab-grid-1{
    grid-template-columns: 1fr;
  }
  .announcements-img {
    height: 215px !important;
    width: 300px;
  }
  .arrow-icon span{
    right: 0;
  }
  .calender-text {
    width: 50%;
}
#calendar_id {
    flex-direction: column;
}
.stats-text-box span {
    margin: 5px auto;
    font-size: 18px;
}
.stats-text-box h4{
  font-size: 26px;
}
.award-cont {
    padding: 25px;
}
.tab-heading{
  font-size: 28px;
}
}
@media (max-width: 991px) {
    .mobile {
        display: block !important;
    }
    .desktop{
        display: none !important;
    }
    .tab-buttons{
      flex-wrap: nowrap;
      overflow-x: auto;
    }
    .tab-buttons::-webkit-scrollbar{
      display: none;
    }
    .tab-buttons::-webkit-scrollbar{
      height: 3px;
      background: #D0BB68;
    }
    #announcements .two-clm{
      grid-template-columns: 1fr;
    }
    .news-events-main-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 767px) {
   #events .d-grid {
    grid-template-columns: 1fr;
}
.event-list-grid {
    grid-template-columns: repeat(1, 1fr);
}
#news .d-grid{
  grid-template-columns: 1fr;
}
.calender-cont{
  flex-direction: column;
}
.calender-text {
    width: 100%;
  }
  .cards-flex2 {
    width: 100%;
  }
  .announcements-img{
    width: 100%;
    height: auto !important;
  }
  .announcements-sub-img{
    border-radius: 8px;
        width: 62px;
        height: 62px;
        margin-top: 5px;
    }
}