.career-card2 {
  background: #fff;

  border-radius: 20px;

  padding: 35px 25px;

  text-align: center;

  height: 100%;

  transition: 0.4s;

  position: relative;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  border: 1px solid #eee;
}

.career-card2:before {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 100%;

  height: 5px;

  background: #dc3545;

  transform: scaleX(0);

  transition: 0.4s;
}

.career-card2:hover:before {
  transform: scaleX(1);
}

.career-card2:hover {
  transform: translateY(-12px);

  box-shadow: 0 20px 45px rgba(220, 53, 69, 0.2);
}

.career-icon2 {
  width: 90px;

  height: 90px;

  margin: auto;

  margin-bottom: 25px;

  border-radius: 50%;

  background: linear-gradient(135deg, #dc3545, #ff5f6d);

  display: flex;

  justify-content: center;

  align-items: center;

  color: #fff;

  font-size: 38px;

  transition: 0.4s;
}

.career-card2:hover .career-icon2 {
  transform: rotate(10deg) scale(1.12);
}

.career-card2 h4 {
  font-size: 22px;

  font-weight: 700;

  margin-bottom: 15px;

  min-height: 60px;
}

.career-card2 p {
  color: #666;

  margin-bottom: 10px;
}

.career-card2 small {
  color: #888;

  display: block;
}

@media (max-width: 768px) {
  .career-card2 {
    padding: 30px 20px;
  }

  .career-icon2 {
    width: 75px;

    height: 75px;

    font-size: 30px;
  }

  .career-card2 h4 {
    font-size: 20px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(220, 53, 69, 0.75);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;

  transition: 0.4s;
}

.gallery-overlay i {
  color: #fff;
  font-size: 45px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.navbar .nav-link {
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.navbar .nav-link:hover {
  color: #dc3545;
}

.navbar .nav-link.active {
  color: #dc3545 !important;
  font-weight: 700;
  position: relative;
}
@media (min-width: 980px) {
  .navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #dc3545;
    border-radius: 50px;
  }
}


/* part 1 */
.publication-counter{

background:#fff;

padding:35px;

border-radius:20px;

text-align:center;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.4s;

}

.publication-counter:hover{

transform:translateY(-8px);

box-shadow:0 20px 45px rgba(220,53,69,.18);

}

.publication-counter h2{

color:#dc3545;

font-size:42px;

font-weight:700;

}

.publication-counter p{

margin:0;

font-weight:600;

}



.featured-publication{

background:#fff;

padding:45px;

border-radius:25px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

border-left:8px solid #dc3545;

position:relative;

overflow:hidden;

}

.featured-badge{

display:inline-block;

background:#dc3545;

color:#fff;

padding:8px 18px;

border-radius:30px;

margin-bottom:20px;

font-weight:600;

}

.featured-publication h2{

font-weight:700;

margin-bottom:20px;

line-height:1.4;

}

.featured-publication p{

font-size:17px;

margin-bottom:10px;

}
/* part 2 */
.publication-card{

    background:#fff;

    border-radius:20px;

    padding:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    border-top:5px solid #dc3545;

    height:100%;

}

.publication-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(220,53,69,.18);

}

.publication-icon{

    width:70px;

    height:70px;

    background:#dc3545;

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    margin-bottom:20px;

}

.publication-card h4{

    font-weight:700;

    margin-bottom:15px;

    line-height:1.5;

}

.publication-card p{

    color:#555;

    margin-bottom:12px;

}

.journal{

    color:#dc3545;

    font-weight:600;

}

.publication-card .btn{

    margin-top:15px;

    border-radius:30px;

    padding:10px 25px;

}

/* Part 3 */

.timeline{

    position:relative;

    margin-left:20px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:35px;

    top:0;

    width:4px;

    height:100%;

    background:#dc3545;

}

.timeline-item{

    display:flex;

    margin-bottom:40px;

    position:relative;

}

.timeline-year{

    width:70px;

    height:70px;

    background:#dc3545;

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:bold;

    z-index:2;

}

.timeline-content{

    background:#fff;

    margin-left:30px;

    padding:25px;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    width:100%;

    transition:.4s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(220,53,69,.15);

}

.timeline-content h5{

    font-weight:700;

    margin-bottom:10px;

}

.timeline-content p{

    margin:0;

    color:#666;

}

@media(max-width:768px){

.timeline::before{

left:20px;

}

.timeline-year{

width:45px;

height:45px;

font-size:13px;

}

.timeline-content{

margin-left:20px;

padding:18px;

}

}

/* Part 4 */
.accordion-item{

    overflow:hidden;

    border-radius:15px;

}

.accordion-button{

    background:#fff;

    font-size:18px;

    padding:20px;

}

.accordion-button:not(.collapsed){

    background:#dc3545;

    color:#fff;

}

.accordion-button:focus{

    box-shadow:none;

}

.publication-item{

    border-left:5px solid #dc3545;

    padding:20px;

    background:#fff;

    border-radius:12px;

    margin-bottom:20px;

    transition:.3s;

}

.publication-item:hover{

    transform:translateX(8px);

    box-shadow:0 10px 30px rgba(220,53,69,.12);

}

.publication-item h5{

    font-weight:700;

    margin-bottom:10px;

}

.publication-item p{

    color:#666;

    margin-bottom:15px;

}

/* Part 5 */
.impact-box{

    background:#fff;

    padding:35px 25px;

    text-align:center;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.impact-box:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(220,53,69,.18);

}

.impact-box i{

    font-size:50px;

    color:#dc3545;

    margin-bottom:20px;

}

.impact-box h3{

    color:#dc3545;

    font-size:40px;

    font-weight:700;

    margin-bottom:10px;

}

.impact-box p{

    margin:0;

    font-weight:600;

    color:#555;

}


/* custom css */

h1,
.display-5 {
  font-size: 40px !important;
}

.smh-faq .accordion-button {
  background-color: #dc3545e6;
  color: #fff;
}
.smh-faq .accordion-button::after {
  filter: invert(1);
}
.experience-card i,.info-box i,.info-box ul li::marker{
color:#dc3545;
}
.experience-card i,.info-box i{
    font-size:24px;
}
@media (max-width: 768px) {
  header a.text-white.d-block.text-decoration-none {
    font-size: 14px;
  }
  span.badge{
font-size: 14px !important;
  }
  h1, .display-5 {
    font-size: 32px !important;
}
.featured-publication {
    padding: 30px;

}

}

/* ===== Notices Section ===== */
/*.smh-notices .notice-card {*/
/*  border-radius: 14px;*/
/*  transition: transform 0.25s ease, box-shadow 0.25s ease;*/
/*  border-left: 4px solid #dc3545;*/
/*}*/

/*.smh-notices .notice-card:hover {*/
/*  transform: translateY(-5px);*/
/*  box-shadow: 0 10px 25px rgba(220, 53, 69, 0.15) !important;*/
/*}*/

/*.smh-notices .notice-icon {*/
/*  width: 48px;*/
/*  height: 48px;*/
/*  min-width: 48px;*/
/*  border-radius: 50%;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  font-size: 1.2rem;*/
/*}*/




/* ===== Notices Section - Calendar View (Multi Event) ===== */
.smh-notices .notice-calendar-card {
  border-radius: 14px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day-name {
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: #6c757d;
  padding-bottom: 6px;
}

.calendar-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8f9fa;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  cursor: default;
  transition: transform 0.2s ease;
  position: relative;
}

.calendar-cell:hover:not(.empty) {
  transform: scale(1.08);
  z-index: 2;
}

.calendar-cell.empty {
  background: transparent;
}

.calendar-cell.today {
  outline: 2px solid #dc3545;
  outline-offset: -2px;
}

/* Single event → full color background (age-er moto) */
.calendar-cell.available {
  background: #198754;
  color: #fff;
  font-weight: 700;
}

.calendar-cell.conference {
  background: #ffc107;
  color: #212529;
  font-weight: 700;
}

.calendar-cell.abroad {
  background: #dc3545;
  color: #fff;
  font-weight: 700;
}

.calendar-cell.leave {
  background: #6c757d;
  color: #fff;
  font-weight: 700;
}

/* Multiple events same date → neutral bg + colored dots */
.calendar-cell.multi {
  background: #212529;
  color: #fff;
  font-weight: 700;
}

.calendar-day-num {
  line-height: 1;
}

.calendar-dots {
  display: flex;
  gap: 3px;
  margin-top: 3px;
}

.calendar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #555;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

#calPrevBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.notice-card {
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-left: 4px solid #dc3545;
}

.notice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 53, 69, 0.15) !important;
}

.notice-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}


/*Marquee section on Home page*/

.services-marquee-section {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.expertise-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: #ffe8e8;
  color: #dc3545;
  font-weight: 500;
  margin-bottom: 8px;
}

.services-subtitle {
  max-width: 600px;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 35s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 12px 22px;
  margin-right: 16px;
  border-radius: 50px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.marquee-item i {
  color: #dc3545;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
