
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css");

/* New Events and Highlights */
/* Events */
.events-container {
  display: grid;
  justify-items: center;
  align-items: start;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .events-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .events-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .events-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.event-card {
  width: 92%;
  padding-top: 10px;
  overflow: hidden;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

/* .event-card:hover {
  box-shadow: 1px 1px 7px 1px #2c5e65b0 !important;
} */

.event-date {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: lightslategray;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.event-title {
  font-size: 1.25rem !important;
  line-height: normal !important;
  font-weight: 600 !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;

  /* text-align: justify; */
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-description {
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--bs-body-text-color);

  /* text-align: justify; */
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-link {
  text-decoration: none !important;
  background-color: var(--bs-primary);
  font-weight: 400;
  font-size: 1.15rem;
  color: #fff !important;
  transition: all 0.2s ease;
}

.event-link:hover {
  /* font-size: 1.2rem;
  font-weight: 550;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25); */
  text-decoration: underline !important;
}

/* Minimal Events */

.minimal-event-card {
  width: 92%;
  overflow: hidden;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

/* .minimal-event-card:hover {
  box-shadow: 1px 1px 7px 1px #2c5e65b0 !important;
} */

.minimal-event-cal {
  background-color: var(--bs-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase !important;
  height: 4rem;
  aspect-ratio: 1 / 1 !important;
}

.minimal-event-cal .day {
  font-size: 1.125rem;
}

.minimal-event-title {
  font-size: 1.25rem !important;
  line-height: normal !important;
  font-weight: 600 !important;
  margin: 0 !important;
  min-height: 4rem !important;
  display: flex;
  align-items: center;
}
.minimal-event-description {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5rem !important;
  color: white;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-image {
  transition: opacity 0.3s ease;
}

.image-overlay {
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9); /* Dim effect */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* prevent overlay interfering unless visible */
}

.minimal-event-card:hover .event-image {
  opacity: 0.5;
}

.minimal-event-card:hover .image-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* End - By Adam */

.event-cal {
  background-color: var(--bs-primary);
  width: 100%;
  height: 69px;
  max-width: 69px;
  color: white; /* Makes text white */
  --bs-text-opacity: 1;
  color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
  border-radius: 8px; /* Adjust the value for desired roundness */
  display: flex;
  align-items: center;
  justify-content: center; /* Centers content inside the div */
  text-align: center; /* Centers text within the div */
  text-transform: uppercase !important;
  flex-direction: column; /* Stack children vertically */
}

.accordion .accordion-header .accordion-button {
  background-color: var(--bs-white);
  box-shadow: none;
  font-size: 18px;
  border-bottom: 1px solid #ccc; /* Adjust thickness and color as needed */
  padding-bottom: 0.5rem; /* Optional: Adjust spacing */
  border-radius: unset !important;
  font-weight: 400 !important;
  padding: 2px !important;
}

.accordion-item {
   color: var(--bs-body-text-color);
   margin-bottom: 5px !important;
}


/* New Global Engagement CSS START */

.college-title
{
    color: #49906D !important;
    text-decoration: none;
    font-size: larger;

}

.no-underline
{
    text-decoration: none !important;
}

/* .breadcrumb-item.active
{
    color: #49906D !important;
    font-weight: 600;
}


.breadcrumb-item a
{
    color: #9E9E9E !important;
    text-decoration: none !important;
   
} */

.story-title
{
    font-weight: 600 !important;
    color: #000000 !important;
}

.story-subtitle
{
    font-weight: 400 !important;
    color: #2C5E65 !important;
}

.radius-zero
{
    border-radius: 0% !important;
}

h3
{
    color: #2C5E65 !important;
    font-weight: 600 !important;
}

.objective h5
{
    font-weight: 400;
}
/* New Global Engagement CSS END */

/* MAP START */
#map-container {
    width: 100%;
    height: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .tooltip {
    position: absolute;
    text-align: center;
    width: auto;
    padding: 5px;
    font: 12px sans-serif;
    background: lightsteelblue;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
  }
  
  .highlight {
    fill: rgb(255, 204, 0) !important;
  }
  
  .marker {
    cursor: pointer;
    transition: r 0.1s ease;
  }
  /* MAP END */


  .text-black
  {
    color: rgb(0, 0, 0) !important;
  }

  .text-light-green
  {
    color: #49906D !important;
  }

  /* carosel CSS START */
  .carousel-inner img {
    height: 290px;
    object-fit: cover;}


  .carousel-indicators [data-bs-target] {
    width: 12px  !important;
    height: 12px !important;
    border-radius: 100% !important;
    background-color: rgb(255, 255, 255) !important;
    border: 2px solid #D2D2D2  !important; /* Stroke around the indicator */
  }
  .carousel-indicators .active {
    background-color: #DAC961 !important; /* Darker yellow for active indicator */
    border-color: #C0A500 !important;
  }
  
  /* carosel CSS END */

  .green-btn
  {
    background-color: #49906D !important;
    color: #ffffff !important;
  }

  
.housing-features .card i[class^=fa-] {
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 57.6px;
}


.housing-features .card i[class^=fa-] {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

.content-section .card-body {
  color: var(--bs-body-text-color);
}

.custom-card-body {
  background-color: #F6F2E9;
}

.btn-outline-success {
  --bs-btn-color: #49906D !important;
  --bs-btn-border-color: #49906D !important;
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: #49906D !important;
  --bs-btn-hover-border-color: #49906D !important;
  --bs-btn-focus-shadow-rgb: 25, 135, 84;
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: #49906D !important;
  --bs-btn-active-border-color: #49906D !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #49906D !important;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #49906D !important;
  --bs-gradient: none;
}


  /* Remove all borders and table styles */
  #universityTable {
    border-collapse: collapse;
  }

  #universityTable thead, 
  #universityTable tr, 
  #universityTable th, 
  #universityTable td {
    border: none;
  }

  /* Remove padding and margin for minimal look */
  #universityTable th, #universityTable td {
    padding: 0.5rem 0;
  }

  /* Reset flag styles */
  .flag {
    display: inline-block;
    width: 30px;
    height: 20px;
    border: none;
    border-radius: 0% !important;
  }
  
  .text-beige
  {
    color: #A59E8E;
    font-weight: 500;
  }
  .my-none {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }

  .text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.5em * 3);
    /* Approx height of 3 lines */
  }

  .read-more {
    display: inline-block;
    margin-top: 10px;
    color: #49906D;
    text-decoration: none;
    font-weight: bold;
    text-decoration: underline;
  }

  .read-more:hover {
    text-decoration: underline;
  }

  .read-more img {
    margin-left: 1px;
    width: 13px;
    height: 13px;
}

.text-large
{
  font-size: 80px !important;
}


button.accordion-button[aria-expanded="true"] {
  color: #2C5E65 !important;
}


/* Ambassadors card */
.profile-card {
  max-width: 350px;
  margin: auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.profile-card img {
  width: 100%;
  height: auto;
  border-radius: 0px;
}
.profile-card .card-body {
  text-align: center;
}
.profile-card .social-icons a {
  margin: 0 5px;
  color: #555;
  font-size: 20px;
}
.profile-card .social-icons a:hover {
  color: #49906D;
}
.card-footer {
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

.profile-card img {
  width: 100%; /* Ensures the image spans the full width */
  height: auto; /* Maintains aspect ratio */
  margin: 0 !important; /* Removes any extra margin */
  padding: 0 !important; /* Removes any extra padding */
  display: block; /* Removes extra space below the image */
}

.profile-card {
  margin: 0 !important; /* Removes any extra margin */
  padding: 0 !important; /* Removes any extra padding */
}

/* END Ambassadors card */

.text-yellow
{
  color: #C0A500 !important;
}

.card-body-bg
{
  background-color: #E7E7E7;
}

.bg-white
{
  background-color: #ffffff;
}

.card-footer
{
  border: none !important;
}

.truncated-text {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.truncated-text p {
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* Limits text to 4 lines */
  overflow: hidden;
}
.truncated-text .arrow {
  color: #008000; /* Green color for the arrow */
  font-size: 1.5rem;
  margin-left: 10px;
  cursor: pointer;
  align-self:last baseline;
}

.hero-section {
  background: url("../images/home/bg-map.d75e0fa279f8.png") no-repeat center center;
  background-size: auto;
  position: relative;
}

.custom-card {
  background-color: #EAEFF0;
  border: none;
  border-radius: 10px;
  padding: 20px;
}
.icon-container {
  display: flex;
  align-items: center;
}
.icon-container i {
  font-size: 2rem;
  color: #6c757d; /* Adjust icon color if needed */
  margin-right: 10px;
}
.icon-title {
  color: #2C5E65 !important;

}


/* stats card section css */
.program-stats-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
}

.program-stats-card .card-body {
  /* background-color: rgba(0, 0, 0, 0.7);  */
  padding: 2rem;
}

.program-stats-card h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.program-stats-card p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* stats card section css */

.kfupm-content {
  padding: 2rem 1rem;
}


@media (min-width: 768px) {
  .kfupm-h2 {
    font-size: 2.5rem;
  }

  .kfupm-p {
    font-size: 1.1rem;
  }
}

.program-stats-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
}

.program-stats-card h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.program-stats-card p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .program-stats-card h2 {
    font-size: 3rem;
  }

  .program-stats-card p {
    font-size: 1.1rem;
  }
}


/* CSS to show video play button */
.video-item {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-item video {
  width: 100%;
  height: auto;
  display: block;
}

.video-item .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; /* Adjust size as needed */
  height: 50px;
  cursor: pointer;
  z-index: 2;
}

/* CSS to show video play button END */

/* START: Rawan Code [3/6/2025] */
.email-wrap {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: block;
  /* Ensures it takes the full width */
  max-width: 100%;
  /* Ensures it doesn't overflow */
  padding-right: 1rem;
}

.h2 {
  font-weight: bold;
}

h5,
.h5 {
  /* color: rgb(0, 0, 0) !important; */
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: 30px !important;
}

/* END: Rawan Code [3/6/2025] */

