/* ====== Slider Container with Shadow ====== */
.hero_slider_container {
    position: relative;
    max-width: 1318px;
    margin: 140px auto 0 auto; /* top margin = header height + marquee height + gap */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}


/* ====== Individual Slide ====== */
.hero_slide {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

/* ====== Slide Image Styling ====== */
.hero_slide_img {
    width: 100%;
    height: 85%;

    top: 0;
    left: 0;
    z-index: -1;
}

/* ====== Overlay Layer on Slider ====== */
.hero_slide_overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ====== Slider Title ====== */
.slider_title {
    color: gold;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.top-contact-bar {
  font-size: 16px;
}

@media (max-width: 768px) {
    .slider_title {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .slider_title {
        font-size: 1.5rem;
    }
}
@media (max-width: 768px) {
    .notice_marquee {
        width: 95%;
        font-size: 16px;
        top: 128px; 
        font-size: 14px;
        padding: 4px 8px;
    }

    .hero_slider_container {
       margin: 130px auto 40px auto; 
    }

    .top-contact-bar {
    font-size: 14px;
    text-align: center;
  }
}

/* ====== Navigation Arrows ====== */
.hero_slider_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.hero_slider_left {
    left: 20px;
}
.hero_slider_right {
    right: 20px;
}

/* ====== Boxes Under the Slider ====== */


.hero_box_col {
    margin-bottom: 30px;
}

.hero_box {
    background-color: #138496;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
    color: white;
    height: 100%;
    transition: transform 0.3s ease;
}
.hero_box_notice {
    background-color: #138496;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
    color: white;
    height: 100%;
    transition: transform 0.3s ease;
}
.hero_box:hover {
    transform: translateY(-5px);
}

.hero_box img.svg {
    width: 50px;
    height: auto;
    margin-right: 20px;
}

.hero_box_content h2.hero_box_title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.hero_box_link {
    color: #fdd835;
    text-decoration: underline;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
}

@media (max-width: 767px) {
  .top-contact-bar {
    padding: 8px 15px;
  }

  .header {
    margin-top: 50px; 
  }
}

.header.scrolled {
  margin-top: -15px !important;
}

.notice_marquee.shrink {
        width: 95%;
        font-size: 16px;
        top: 65px; 
        font-size: 14px;
        padding: 4px 8px;
}

.table-scroll-wrapper {
    max-height: 500px; /* Approx height for 8 rows */
    overflow-y: auto;
}
.current {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30%;
    background-color: rgba(255, 255, 255, 0.6); 
    padding: 20px;
    border-left: 5px solid #ffc107;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
    font-family: sans-serif;
}

.notice-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #17A2B8;
}

.notice-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.notice-list li {
    margin-bottom: 8px;
    font-size: 15px;
}

.notice-list li a {
    text-decoration: none;
    color: #000;
    transition: 0.2s ease;
}

.notice-list li a:hover {
    color: #009688;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .current {
        top: 10px;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        text-align: left;
    }
}

.labell {
  padding:6px 15px;
  background:#D6002A;
  color:#FFF;
  font-weight: bold;
  text-transform: uppercase;
}


/* Ripple magic */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, .5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(25, 25);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

.ripple::after {
  animation: ripple 1.5s ease-out  infinite;
}


/* Borderr Highlight Effect */

/* Chrome, Safari, Opera */
@-webkit-keyframes drawBorderFromCenter {
    0% {
      background-size: 0 2px, 0 0, 100% 100%;
    }
    20% {
      background-size: 100% 2px, 100% 0, 100% 100%;
    }
    66%
    {
      background-size: 100% 2px, 100% 98%, 100% 100%;
    }
    99%
    {
      background-size: 100% 2px, 100% 98%, 0 2px;
    }
}

    .notice-bar {
      display: flex;
      align-items: center;
      background-color: #002b55;
      color: #fff;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-size: 18px;

    }

    .notice-label {
      flex-shrink: 0;
      background-color: #ff0000;
      color: #fff;
      padding: 10px 20px;
      font-weight: bold;
      text-transform: uppercase;
    }

    marquee {
      flex: 1;
      margin-left: 20px;
      font-weight: bold;
      letter-spacing: 1px;
      cursor: pointer;
    }

    marquee a {
      color: #00ffcc;
      text-decoration: underline;
      margin: 0 15px;
    }

    marquee a:hover {
      color: #ffcc00;
    }