/* Add here all your CSS customizations */
.page-section {
  padding: 40px 0;
}
img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
p {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0;
  text-align:justify;
}
a:hover {
  text-decoration: none !important;
}
.section-title {
  margin-bottom: 15px;
  background-color: #2d529f;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.section-title h2 {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  padding:3px;
}
.box {
  text-align: justify;
  border: 2px solid #afc9ff;
  border-radius: 10px;
  padding: 10px 10px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}
.box:hover {
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); */
  transform: translate(0, -10px);
}
.img-box img {
  max-width: 100%;
  height: auto;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 25px;
  transition: transform 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
}
.team-card img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  width: 185px;
}
.team-card-body {
  padding: 20px;
  text-align: center;
}
.team-card h5 {
  margin-top: 10px;
  color: #096b68;
  font-weight: 600;
}
.team-card p {
  font-size: 13px;
  color: #555;
}

#header.header-narrow .header-logo img {
  margin: 0px 0px 0px 0;
  width: 100px;
}
#header.header-narrow .header-logo a {
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
}
#header.header-narrow .header-body {
  padding-bottom: 0px;
}
#header.header-narrow .header-top.header-top-style-3 {
  margin-bottom: 0px;
}
/*----------------------------------------*/
.news-list {
  padding: 10px 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.news-item {
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  background: var(--light-bg);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  border-left-color: #008fe2;
  border-bottom: 1px solid #2d529f;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.workshop-section {
  padding: 60px 20px;
}
.workshop-card {
  text-align: center;
  margin-bottom: 30px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding: 13px 13px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.workshop-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); */
}

.gallery-item .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}
.gallery-item .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.gallery-item .card-img-top {
  width: 100%;
  height: 250px; /* Fixed height for consistent card size */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}
.video-thumbnail:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.video-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.video-thumbnail:hover .play-button {
  opacity: 1;
}
.play-button i {
  font-size: 2rem;
  color: #0d6efd;
  padding-left: 5px; /* To center the play triangle */
}
.modal-dialog {
  max-width: 800px;
}
.modal-body {
  padding: 0;
  position: relative;
}
.modal-body .ratio {
  width: 100%;
}

.presentation-section {
    padding: 20px 20px 60px 20px;
}
.presentation-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s;
}
.presentation-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.presentation-card h4 {
    color: #2d529f;
    margin-bottom: 10px;
}
.presentation-card p {
    color: #555;
    margin: 5px 0;
}
.presentation-card a {
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
    overflow: hidden;
}
.lightbox-content {
    display: inline-block;
    position: relative;
}
.lightbox-img {
    max-width: 60%;
    max-height: 80%;
    border-radius: 10px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}
.lightbox-img.show {
    opacity: 1;
    transform: translateX(0);
}
.close {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 40px;
    font-weight: bold;
    padding: 10px;
    color: #fff;
    user-select: none;
    transition: 0.3s;
}
.prev:hover, .next:hover { color: #f1c40f; text-decoration: none !important;}
.prev { left: 20px; }
.next { right: 20px; }
.counter {
    position: absolute;
    top: 20px;
    left: 25px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
