.logo{
    width: 200px;
}
.thenav{
   
   z-index:9999;
   background-color: #fff;
}
.about_sub{
    margin: 20px;
}
.fixed-top{
    position: fixed;
    box-shadow: 0 0 15px #000;
    background-color: #fff;
}
.btn-lg{
    margin: 5px;
}
#float{
    font-size: 30pt;
    text-align: center;
    margin-left: 10px;
    color: #fff;
}

.float{
    width: 60px;
    height: 60px;
    z-index: 99999;
    position: fixed;
    bottom: 45px;
    right: 45px;
    background-color: rgb(4, 170, 68);
    border-radius: 50%;
    padding: px;
}
#float1{
    font-size: 30pt;
    text-align: center;
    color: #fff;
    outline: none;
    border: none;
}

.float1{
    width: 60px;
    height: 60px;
    z-index: 99999;
    position: fixed;
    bottom: 125px;
    right: 45px;
    background-color: #00718E;
    border-radius: 50%;
    padding: px;
}
.course-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.course-card:hover {
    transform: scale(1.03);
}
.course-image {
    height: 150px;
    object-fit: cover;
}
.service-content{
    min-height: 150px;
}
.mybtn{
    background-color: #fff;
    color: #00718E;
    font-weight: 700;
}
.myaction{
    width: 120px;
    height: 50px;
    border-radius: 10px;
    border: none;
    margin: 5px;
    text-align: center;
    padding: 5px;
}
.image-container {
    height: 200px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    object-fit: cover;
}
.card-text{
    text-align: justify;
}
.jstext{
    text-align: justify;
}
.courselogo{
    width: 150px;
    margin: auto;
}
/* Search Modal Styles */
#searchModal .modal-dialog {
    max-width: 800px;
  }
  
  #searchInput {
    padding: 12px 20px;
    font-size: 16px;
  }
  
  .search-result-img {
    max-width: 50px;
    max-height: 50px;
    float: right;
    margin-left: 10px;
  }
  
  #resultsList {
    border-radius: 5px;
  }
  
  #resultsList .list-group-item {
    border-left: none;
    border-right: none;
  }
  
  #resultsList .list-group-item:first-child {
    border-top: none;
  }
  
  #resultsList .list-group-item:hover {
    background-color: #f8f9fa;
  }
  .csimage{
    width: 100%;
    overflow-y: hidden;
  }
  /* Custom carousel styles */
#advertCarousel {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-item img {
    max-height: 200px;
    object-fit: cover;
}

.carousel-caption {
    left: 10%;
    right: 10%;
}
.adlm{
    margin: auto;
    align-self: center;
}
.myad1{
    width: 50px;
    height: 50px;
    background-color: #00718E;
    color: aliceblue;
    border-radius: 50%;
    padding: 5px;
    position: absolute;
    z-index: 99999;
}
.myad1 p{
    color: #fff;
    font-size: 16pt;
    margin: auto;
}
/* Events Grid Styles */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.event-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-meta {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
}

.event-meta i {
  margin-right: 5px;
}

.event-title {
  margin-bottom: 15px;
}

.event-excerpt {
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-actions {
  margin-top: auto;
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}
/* Event Details Page Styles */
.event-details .event-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.event-details .event-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.event-details .event-meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.event-details .event-meta p {
    margin-bottom: 8px;
}

.event-details .event-content {
    line-height: 1.8;
    font-size: 16px;
}

.event-sidebar {
    position: sticky;
    top: 20px;
}

.event-sidebar .card-body {
    padding: 25px;
}

.event-share .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 5px;
}
.social-share .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 5px;
}