/*** Spinner Start ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  transition: 0.5s;
  z-index: 99;
}

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-xl-square {
  width: 66px;
  height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn.btn-primary {
  color: var(--bs-white);
  border: none;
}

.btn.btn-primary:hover {
  color: var(--bs-white);
}

.btn.btn-secondary {
  color: var(--bs-white);
  border: none;
}

.btn.btn-secondary:hover {
  color: var(--bs-white);
  border: none;
}

.btn.btn-light {
  color: var(--bs-primary);
  border: none;
}

.btn.btn-light:hover {
  color: var(--bs-white);
  background: var(--bs-dark);
}

.btn.btn-dark {
  color: var(--bs-white);
  border: none;
}

.btn.btn-dark:hover {
  color: var(--bs-primary);
  background: var(--bs-light);
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "system-ui";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
  color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light);
  padding-top: 10px;
  border: 0;
  transition: 0.5s;
  opacity: 1;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.nav-bar {
  background: var(--bs-white);
  transition: 1s;
}

.navbar-light .navbar-brand img {
  max-height: 75px; /* Increased logo size */
  transition: 0.5s;
}

.navbar .navbar-nav {
  flex-direction: row; /* Ensure nav items are inline */
  justify-content: flex-end; /* Align to the right */
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
  color: var(--bs-primary);
}

@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar .navbar-nav .nav-item {
    padding: 10px;
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 8px 15px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
  }
}

.navbar .dropdown-toggle::after {
  border: none;
  /*content: "\f107";*/
  font-family: "system-ui";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

@media screen and (max-width:1384px){
    .nav-item.nav-link{
        font-size:12px !important;
    }
}

@media screen and (max-width:1245px){
    .nav-item.nav-link{
        font-size:11px !important;
    }
}


.nav-item.nav-link{
    font-size:16px;
}

@media (min-width: 992px) {
  .navbar .navbar-nav {
    justify-content: flex-end;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 20px;
    background: var(--bs-light);
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Navbar End ***/

.services-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.service-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 18px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s, color 0.3s;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item .icon {
  font-size: 24px;
  margin-right: 15px;
  color: #007bff;
}

.service-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.service-item:hover .icon {
  color: #0056b3;
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
  height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 60px;
  background: var(--bs-light);
  color: var(--bs-primary);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
  bottom: 30px;
  right: 50%;
  transform: translateX(-50%);
  margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 0 0 100px 0 var(--bs-secondary);
  color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .header-carousel .header-carousel-item .carousel-caption {
    padding-top: 45px;
  }

  .header-carousel .header-carousel-item {
    height: 1300px;
  }
}

@media (max-width: 767px) {
  .header-carousel .header-carousel-item {
    height: 950px;
  }

  .header-carousel .owl-nav .owl-prev {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -45px;
  }

  .header-carousel .owl-nav .owl-next {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 45px;
  }
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: url(../img/bg-breadcrumb.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 60px 0;
  transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
  position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Single Page Hero1 Header Start ***/
.about-img {
  position: relative;
  overflow: hidden;
  background: url(../img/about-img.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 100px 0;
  transition: 0.5s;
}

.about-img .img {
  position: relative;
}

.about-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.service-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 18px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s, color 0.3s;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item .icon {
  font-size: 24px;
  margin-right: 15px;
  color: #007bff;
}

.service-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.service-item:hover .icon {
  color: #0056b3;
}
/*** Single Page Hero1 Header End ***/

/*** Single Page Hero1 Header Start ***/
.train1 {
  position: relative;
  overflow: hidden;
  background: url(../img/seafreeee.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 100px 0;
  transition: 0.5s;
}

.train1 .img {
  position: relative;
}

/*** Single Page Hero1 Header End ***/

/*** Single Page Hero1 Header Start ***/
.labour-welfare {
  position: relative;
  overflow: hidden;
  background: url(../img/wf1.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 130px 0;
  transition: 0.5s;
}

.labour-welfare .img {
  position: relative;
}

.s111 {
  position: relative;
  overflow: hidden;
  /*background: url(../img/donation.webp);*/
  background: url(../img/pool.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 180px 0 80px 0;
  transition: 0.5s;
}

.s111 .img {
  position: relative;
}

.meme {
  position: relative;
  overflow: hidden;
  background: url(../img/welfarefund.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 100px 0;
  transition: 0.5s;
}

.meme .img {
  position: relative;
}

.meme1 {
  position: relative;
  overflow: hidden;
  background: url(../img/award.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0px 0 180px 0;
  transition: 0.5s;
}

.meme1 .img {
  position: relative;
}

.enq {
  position: relative;
  overflow: hidden;
  background: url(../img/helpline.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 20px 0;
  transition: 0.5s;
}

.enq .img {
  position: relative;
}

.pay{
  position: relative;
  overflow: hidden;
  background: url(../img/phooo.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 50px 0;
  transition: 0.5s;
}

.pay .img {
  position: relative;
}

/*** Feature Start ***/
.feature .feature-item {
  border-radius: 10px;
  background: var(--bs-white);
  transition: 0.5s;
}

.feature .feature-item:hover {
  background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
  position: relative;
  width: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
  z-index: 9;
}

.feature .feature-item .feature-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-dark);
  transition: 0.5s;
  z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
  height: 100%;
}

.feature .feature-item .feature-icon {
  color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
  transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
  color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
  color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
  background: var(--bs-white);
  color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}
/*** Feature End ***/

/*** Service Start ***/
.service .service-item {
  border-radius: 10px;
}
.service .service-item .service-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.service .service-item .service-img img {
  transition: 0.5s;
}

.service .service-item:hover .service-img img {
  transform: scale(1.1);
}

.service .service-item .service-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(1, 95, 201, 0.2);
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover .service-img::after {
  height: 100%;
}

.service .service-item .service-img .service-icon {
  position: absolute;
  width: 70px;
  bottom: 0;
  right: 25px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: var(--bs-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 9;
}

.service .service-item .service-img .service-icon i {
  color: var(--bs-primary);
  transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
  transform: rotateX(360deg);
  color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
  bottom: 0;
  color: var(--bs-white);
  background: var(--bs-primary);
}

.service .service-content {
  position: relative;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
  position: relative;
  z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
  transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
  color: var(--bs-white);
}

.service
  .service-item:hover
  .service-content
  .service-content-inner
  .btn.btn-primary {
  color: var(--bs-primary);
  background: var(--bs-white);
}

.service
  .service-item:hover
  .service-content
  .service-content-inner
  .btn.btn-primary:hover {
  color: var(--bs-white);
  background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
  color: var(--bs-dark);
}

.service .service-item .service-content::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-primary);
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover .service-content::after {
  height: 100%;
}
/*** Service End ***/

/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
  color: var(--bs-white);
  background: rgba(1, 95, 201, 0.8);
  font-size: 18px;
}

.faq-section
  .accordion
  .accordion-item
  .accordion-header
  .accordion-button.collapsed {
  color: var(--bs-primary);
  background: var(--bs-light);
}
/*** FAQs End ***/

/*** Blog Start ***/
.blog .blog-item {
  border-radius: 10px;
  transition: 0.5s;
}

.blog .blog-item:hover {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.blog .blog-item:hover .blog-content {
  background: var(--bs-white);
}

.blog .blog-item .blog-img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
  overflow: hidden;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
  transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(1, 95, 201, 0.2);
  transition: 0.5s;
  z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
  height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
  position: absolute;
  bottom: 0;
  right: 0;
  border-top-left-radius: 10px;
  display: inline-flex;
  color: var(--bs-white);
  background: var(--bs-primary);
  z-index: 9;
}

.blog .blog-item .blog-content {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
  color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
  color: var(--bs-primary);
}
/*** Blog End ***/

#imagePreviewContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#imagePreview {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  max-width: 100%;
  max-height: 200px;
}

#removeImage {
  margin-top: 10px;
  cursor: pointer;
}

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
  margin-top: 58px;
  margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  left: 0;
  background: var(--bs-primary);
  color: var(--bs-white);
  padding: 5px 30px;
  border-radius: 30px;
  transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 0;
  background: var(--bs-primary);
  color: var(--bs-white);
  padding: 5px 30px;
  border-radius: 30px;
  transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact .contact-img {
  position: relative;
}

.contact .contact-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
  animation-name: image-efects;
  animation-duration: 10s;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transition: 0.5s;
}

@keyframes image-efects {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;
  }

  50% {
    border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;
  }

  75% {
    border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.contact .contact-img .contact-img-inner {
  position: relative;
  z-index: 9;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background: var(--bs-dark);
}

.footer .footer-item {
  display: flex;
  flex-direction: column;
}

.footer .footer-item a {
  line-height: 35px;
  color: var(--bs-body);
  transition: 0.5s;
}

.footer .footer-item p {
  line-height: 35px;
}

.footer .footer-item a:hover {
  color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
  transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-primary);
}

.footer .footer-item .footer-instagram {
  position: relative;
  overflow: hidden;
}

.footer .footer-item .footer-instagram img {
  transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
  transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
}

.footer .footer-item .footer-btn a {
  background: var(--bs-light);
  color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-white);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  background: #014ca1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/*** copyright end ***/
body {
  margin: 0;
  font-family: "system-ui";
  overflow-x: hidden;
}

.time-zone-container {
  width: 100%;
  overflow: hidden;
  background-color: #014ca1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.time-zone-row {
  display: flex;
  gap: 40px;
  animation: scroll-left 20s linear infinite;
  white-space: nowrap;
  padding: 10px 0;
  color: #000;
}

.time-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: whitesmoke;
}

.time-zone img {
  width: 50px;
  height: 30px;
  border-radius: 4px;
}

.training-points {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.training-points h2 {
  font-size: 24px;
  color: #007bff;
  margin-bottom: 15px;
}

.training-points p {
  color: black;
  margin-bottom: 10px;
}

.training-points ul {
  list-style-type: none;
  padding: 0;
}

.training-point {
  display: flex;
  color: #000;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 10px;
  background-color: white;
  border-left: 4px solid #007bff;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.training-point:hover {
  background-color: #e9f7fe;
  transform: translateX(5px);
}

.training-point .icon {
  font-size: 24px;
  color: #007bff;
  margin-right: 15px;
}

.training-point span,
.training-point p {
  margin: 0;
  color: #000;
}

.training-point:hover .icon {
  color: #0056b3;
}

.course-overview {
  background-color: #eef5f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course-overview h2 {
  font-size: 24px;
  color: #0056b3;
  margin-bottom: 15px;
}

.course-overview p {
  color: #495057;
  margin-bottom: 20px;
}

.course-overview ul {
  list-style-type: none;
  padding: 0;
}

.overview-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #ffffff;
  border-left: 4px solid #0056b3;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.overview-point:hover {
  background-color: #d6eaff;
  transform: translateX(5px);
}

.overview-point .icon {
  font-size: 24px;
  color: #0056b3;
  margin-right: 15px;
}

.overview-point span,
.overview-point p {
  margin: 0;
  color: #495057;
}

.overview-point:hover .icon {
  color: #003d80;
}

.welfare-fund {
  background: #f7f7f7;
}

.welfare-points {
  list-style: none;
  padding: 0;
}

.welfare-points li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welfare-points li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.welfare-points .icon {
  font-size: 40px;
  margin-right: 15px;
  color: #007bff;
}

.welfare-points .content {
  flex: 1;
}

.welfare-points h4 {
  margin-bottom: 5px;
  color: #333;
}

.welfare-points p {
  margin: 0;
  color: #555;
}

.btn-primary {
  background: #007bff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 25px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background: #0056b3;
  transform: scale(1.05);
}

.support-points p {
  margin: 0;
  color: #555; /* Consistent text color for readability */
}

.join-gswo {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  padding: 50px 0;
}

.join-gswo h2 {
  font-size: 36px;
  color: #00695c;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.join-gswo p {
  font-size: 18px;
  color: #555;
}

.support-points {
  list-style: none;
  padding: 0;
}

.support-points li {
  margin-bottom: 20px;
  padding: 15px;
  border-left: 5px solid #014ca1;
  background: rgba(0, 77, 64, 0.05);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.support-points li:hover {
  border-left-color: #00796b;
  background: rgba(0, 121, 107, 0.1);
}

.support-points h4 {
  margin-bottom: 5px;
  color: #014ca1;
}

.support-points p {
  margin: 0;
  color: #014ca1;
}

.btn-success {
  background: #014ca1;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 25px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-success:hover {
  background: #014ca1;
  transform: scale(1.05);
}

a {
  color: #014ca1;
  text-decoration: none;
}

a:hover {
  color: #014ca1;
  text-decoration: underline;
}

@keyframes scroll-left {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.seafarers-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
}

.left-side, .right-side {
  width: 48%;
}

.content-box {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  animation: fadeInUp 1.2s ease-in-out;
  box-shadow: 10px 20px 10px rgba(0, 0, 0, 0.1);
}

.content-box h2, .content-box h3 {
  color: #014ca1;
}

.content-box p {
  font-size: 1em;
  line-height: 1.6;
}

.right-side ul {
  list-style-type: square;
  padding-left: 20px;
}

.search-container {
  display: flex;
  flex-direction: column;
}

.search-container label {
  margin: 10px 0 5px;
}

.search-container input {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #014ca1;
  border-radius: 5px;
}

.search-button {
  background-color: #014ca1;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-button:hover {
  background-color: #013379;
}

.right-side {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.right-side h3 {
  color: #014ca1;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-in-out;
  transition: transform 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 1.5em;
  margin-right: 10px;
}

.service-item p {
  margin: 0;
  font-size: 1em;
  color: black;
}

.sub-heading {
  font-size: 1em;
  color: #263f97;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


/* Base styles */
.about-item-content {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1.5s ease-in-out;
}

.search-form {
  margin-top: 20px;
}

.form-label {
  font-family: system-ui;
  color: #014ca1;
  font-weight: bold;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
  font-family: system-ui;
  animation: slideIn 1s ease-in-out;
}

.btn-primary {
  background-color: #014ca1;
  border-color: #014ca1;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: system-ui;
  font-size: 1em;
  transition: background-color 0.3s, transform 0.3s;
  animation: fadeInUp 1s ease-in-out;
}

.btn-primary:hover {
  background-color: #012f6b;
  border-color: #012f6b;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes slideIn {
  from {
      transform: translateX(-20px);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-form .row {
      flex-direction: column;
  }

  .search-form .col-md-6 {
      margin-bottom: 15px;
  }

  .search-form .col.text-center {
      margin-top: 15px;
  }
}

/* Basic styling for the membership section */
/* Container for all membership rows */
.membership-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.membership-row {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Headings Section */
.membership-heading {
  flex: 3;
  padding-right: 15px;
}

.membership-title {
  font-family: system-ui;
  color: #014ca1;
  font-weight: bold;
}

/* Content Section */
.membership-content {
  flex: 6;
  padding-right: 15px;
}

/* Button Section */
.membership-action {
  flex: 3;
  display: flex;
  justify-content: center;
}

.btn-primary {
  background-color: #014ca1;
  border-color: #014ca1;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: system-ui;
  font-size: 1em;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background-color: #012f6b;
  border-color: #012f6b;
  transform: scale(1.05);
}

/* Responsive styling */
@media (max-width: 768px) {
  .membership-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .membership-action {
    justify-content: flex-start;
  }
}
/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Apply animation to the membership boxes */
.wow.fadeInUp {
  animation: fadeInUp 1s ease-in-out;
}

/* Responsive styling */
@media (max-width: 768px) {
  .membership-box {
      margin-bottom: 20px;
  }
}

/* Basic container styling */
.intro-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.intro-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Title styling */
.title {
  font-family: system-ui;
  color: #014ca1;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Lead paragraph styling */
.lead {
  font-family: system-ui;
  color: black;
  font-size: 1em;
  font-weight: 400;
  text-align: justify;
}

/* Animation for the fade in effect */
.wow.fadeInUp {
  animation: fadeInUp 1s ease-in-out;
}

/* Animation definition */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .intro-box {
      padding: 20px;
  }
}

/* Container for needs section */
.needs-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.needs-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Title styling */
.needs-title {
  font-family: system-ui;
  color: #014ca1;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Needs item styling */
.needs-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  animation: slideIn 0.5s ease-in-out;
}

.icon-box {
  background-color: #014ca1;
  color: #ffffff;
  font-size: 2em;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 20px;
  transition: background-color 0.3s ease;
}

.icon-box:hover {
  background-color: #0166d1;
}

.text-box h5 {
  font-family: system-ui;
  color: #333;
  font-size: 1.2em;
  margin: 0;
}

/* Summary paragraph */
.needs-summary {
  font-family: system-ui;
  color: black;
  margin-top: 10px;
}

/* Animation for list items */
@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateX(-20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Animation for the entire box */
.wow.fadeInUp {
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .needs-box {
      padding: 20px;
  }

  .needs-item {
      flex-direction: column;
      text-align: center;
  }

  .icon-box {
      margin: 0 0 10px 0;
  }

  .needs-title {
      font-size: 1.4em;
  }

  .text-box h5 {
      font-size: 1em;
  }

  .needs-summary {
      font-size: 1em;
  }
}

.membership-action {
  text-align: center;
  margin-top: 50px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.5s ease-out;
}

.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 60%;
  max-width: 700px;
  animation: slideIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes slideIn {
  from {
      transform: translateY(-30%);
  }
  to {
      transform: translateY(0);
  }
}

.close {
  text-align: right;
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  animation: fadeIn 1s ease-out;
}

.col-lg-6 {
  width: 50%;
  padding: 10px;
  box-sizing: border-box;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
  animation: fadeIn 1.2s ease-out;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #007bff;
  outline: none;
}

input {
  animation: fadeIn 1.2s ease-out;
}

.required {
  color: red;
  font-weight: bold;
  margin-left: 5px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input:invalid {
  border-color: red;
}

input:valid {
  border-color: green;
}


/* Animations */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes slideIn {
  from {
      transform: translateY(-30%);
  }
  to {
      transform: translateY(0);
  }
}

/* Style for the alert box */
.alert-box {
  background-color: #f8d7da;
  color: #721c24;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #f5c6cb;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  display: none; /* Initially hidden */
  max-width: 400px;
  margin: 20px auto;
}

.alert-box.success {
  background-color: #d4edda;
  color: #003d80;
  border-color: #c3e6cb;
}

.alert-box.error {
  background-color: #f3eff0;
  color: #721c24;
  border-color: #f5c6cb;
}

.nav-item.nav-link.active {
  font-weight: bold;
  color: #007BFF; /* or any color you prefer for the active state */
}
