/* banner css */
.slider-home {
  position: relative;
  width: 100%;
  height: 82vh;
  overflow: hidden;
}

.slides-home {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide-home {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  /* Align content to bottom */
  justify-content: flex-start;
  /* Align content to left */
  padding: 40px;
  color: var(--dark-text);
}

.slide-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.8) 0px,
      rgba(0, 0, 0, 0.4) 470px,
      rgba(0, 0, 0, 0) 929px,
      rgba(0, 0, 0, 0) 100%);
}

.content-home {
  position: relative;
  color: #fff;
  max-width: 600px;
  z-index: 1;
  margin-left: 25px;
  margin-bottom: 70px;
  /* extra spacing from bottom */
}

.content-home h1 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.content-home p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.content-home button {
  background: #23559B;
  color: var(--dark-text);
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
}

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

.dot-home {
  width: 8px;
  height: 8px;
  background-color: var(--dark-border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot-home.active {
  background-color: #23559B;
}

/* 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: #000000;

  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);
  /* Always 2 columns */
  height: 100%;
  gap: 0;
  background: linear-gradient(to right,
      #00000033,
      #ffffff33);
  /* Example transparent gradient */
}

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

.card-inner-hero {
  position: relative;
  width: 100%;
  height: 100%;
  /* transition: transform 0.6s;
  transform-style: preserve-3d; */
}

.card-front-hero,
.card-back-hero {
  /* position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center; */
  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, var(--dark-surface) 0%, var(--dark-surface-2) 100%);
  color: var(--dark-text);
  display: grid;
  place-items: center;
  z-index: 1;
  opacity: 0;
  flex-direction: column;
  /* transform: rotateY(180deg); */
  border: 1px solid var(--dark-border);
  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-hero:hover .card-inner-hero {
  transform: rotateY(180deg);
} */

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

.card-back-hero p {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.23px;
  text-align: center;
  margin: 10px 0;
  color: var(--dark-text-secondary);
}

.card-back-hero a {
  width: 168px;
  color: var(--dark-text);
  text-decoration: none;
  height: 46px;
  border-radius: 100px;
  border: 1px solid var(--dark-text);
  padding: 12px 32px;
  background-color: #23559B;
}

.card-back-hero .mobile-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #23559B;
  border: 1px solid var(--dark-text);
  text-decoration: none;
  padding: 0;
}

.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 */
#news-events .tab-component {
  font-family: "Arial", sans-serif;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 0 0;
}

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

#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: var(--dark-text-secondary);
  padding: 15px 5px;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 1px solid var(--dark-border);
}

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

#news-events .tab:hover {
  color: var(--dark-text);
}

#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: #23559B;
}

#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 var(--dark-border);
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
  background-color: var(--dark-surface);
}

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

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

#news-events .news-item h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: var(--dark-text);
}

#news-events .date {
  display: block;
  font-size: 14px;
  color: #23559B;
  font-weight: 700;
  margin-bottom: 10px;
}

#news-events .read-more {
  color: #23559B;
  text-decoration: underline;
  text-underline-offset: 4px;
  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: var(--dark-surface);
  padding: 50px 100px;
  gap: 30px;
}

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

.cards-flex2 {
  width: 70%;
}

#news-events .news-common h3 {
  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: 20px;
  line-height: 30px;
  color: var(--dark-text);
}

#news-events .news-button {
  text-decoration: none;
  background: #23559B;
  color: var(--dark-text);
  padding: 10px 40px;
  font-weight: 600;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  margin-top: 50px;
  border: 1px solid var(--dark-text);
}

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

.left-column {
  /* flex: 1; */
}

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

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

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

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

.main-card-content h3,
.small-card-content h3 {
  background-color: var(--dark-surface-2);
  color: #23559B;
  width: 73px;
  height: 23px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  place-content: center;
  border-radius: 30px;
}

.main-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.main-card p {
  color: var(--dark-text-secondary);
  margin-bottom: 20px;
  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: 30px;
  width: 137px;
  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: 12px;
}

.date-read {
  display: flex;
  justify-content: space-between;
  padding-right: 25px;
}

.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;
  display: flex;
  gap: 25px;
}

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

.event-flex {
  display: flex;
  align-items: center;
  /* Vertical centering */
  justify-content: center;
  gap: 30px;
}

.event-card {
  display: flex;
  gap: 10px;
}

.event-date {
  display: grid;
  place-content: center;
  text-align: center;
  padding: 10px;
  background-color: #23559b;
  border-radius: 10px;
  color: #fff;
}

.event-institution {
  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 {
  font-size: 16px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* events ends */
.mobile-desktop {
  display: none;
}

@media (max-width: 768px) {
  .splide__track {
    padding: 0 20px;
  }

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

  .section-description {
    max-width: 100%;
  }
}

.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 */
  }
}

@media (max-width: 767px) {

  /* banner */
  .content-home {
    margin-left: 0px;
  }

  .dots-home {
    left: 50px;
  }

  .items-flex {
    display: grid;
  }

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

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

  .slider-home {
    height: 80vh;
  }

  .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;
  background-color: var(--dark-surface);
}

.stjohns-corporate-home-awards-container h2 {
  font-size: 44px;
  margin: 40px 0px;
}

.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;
  background: #ffffff33;
}

.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: #00000033;
  border-radius: 30px;
  min-width: 0;
}

.announcement-img-corporate-new-awards {
  height: 100%;
  object-fit: cover;
  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: var(--dark-text);
  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;
  color: #000;
}

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

/* Mobile first approach */
.stjohns-corporate-home-awards-card {
  /* flex: 0 0 calc(100% - 20px);
    width: calc(100% - 20px); */
  width: 100%;
}

.announcement-img-corporate-new {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}

.stjohns-award-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Responsive Breakpoints */
@media (min-width: 768px) {

  .stjohns-corporate-home-awards-card {
    /* flex: 0 0 calc(33.333% - 20px); */
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .stjohns-award-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .stjohns-corporate-home-awards-card {
    width: 100%;
  }
}

/* Base Styles */
.well-being-section {
  background-color: #000000;
  padding: 3rem 0 0 0;
  font-family: "Arial", sans-serif;
  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: var(--dark-text);
  font-weight: 700;
}

.intro-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-text-secondary);
}

/* 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: #23559B;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

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

.stat-card p {
  font-size: 1rem;
  color: var(--dark-text-secondary);
  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%;
  }
}

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

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

/* Update your existing CSS with these changes */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 2rem;
}

/* 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 #23559B;
}

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

  .stats-grid {
    gap: 1rem;
  }

  /* 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 (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 #23559B;
  }

  /* 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 #23559B;
  }
}

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

.contact-section {
  padding: 40px 0px;
  color: var(--dark-text);
}

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

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

.contact-section .intro-text {
  color: var(--dark-text);
  width: 50%;
}

.intro-text {
  font-size: 1.05em;
  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: 4px solid #f2e8c9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.form-group,
.form-group-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  width: 100%;
}

.country-code {
  width: 25%;
}

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

.form-group label {
  font-size: 0.9em;
  margin-bottom: 5px;
}

input,
textarea {
  padding: 10px 12px;
  border: 2px solid #23559B;
  border-radius: 8px;
  outline: none;
  font-size: 0.95em;
  background-color: var(--dark-surface);
  color: var(--dark-text);
}

textarea {
  resize: vertical;
}

.country-code input {
  background-color: var(--dark-surface-2);
  color: var(--dark-text);
  font-weight: bold;
  text-align: center;
}

.submit-btn {
  background-color: #23559B;
  color: var(--dark-text);
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
  width: 150px;
}

.submit-btn:hover {
  background-color: #23559B;
  opacity: 0.9;
}

.address {
  margin-top: 12px;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-text);
  width: 90%;
}

.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: #23559B;
    color: var(--dark-text);
    padding: 10px 40px;
    font-weight: 600;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    margin-top: 50px;
    border: 1px solid var(--dark-text);
    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;
  }
}