:root {
  --primary-color: #027f91;
  --secondary-color: #f8d3e3;
  --white-color: #fff;
  --black-color: #000;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
}
p {
  font-family: "Open Sans", sans-serif;
}
span {
  font-family: "Open Sans", sans-serif;
}

a {
  text-decoration: none !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}
.section-title-main {
  color: var(--primary-color) !important;
  font-size: 1.6rem;
  text-transform: uppercase;
}
.section-title-center span:after {
  content: "";
  display: table;
  clear: both;
  background: url("assets/images/line.png");
  width: 100%;
  height: 28px;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  padding-top: 35px;
}
#header {
}
/* Header Styles */
.top-bar {
  font-size: 0.875rem;
  background-color: var(--primary-color) !important;
  padding: 4px 0;
}

.top-bar a,
.top-bar span {
  color: var(--white-color);
  font-size: 0.875rem;
  font-weight: 400;
}

.top-bar .contact-info a,
.top-bar .contact-info span {
  color: #ffffffcc;
}
.top-bar .contact-info a:hover {
  color: var(--white-color);
}

.top-bar .contact-info i {
  font-size: 1rem;
  vertical-align: middle;
}

.top-bar a:hover {
  opacity: 0.85;
}

.social-links a {
  transition: all 0.3s ease;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  transform: translateY(-2px);
  color: var(--secondary-color) !important;
}

/* Navigation Styles */
.navbar {
  padding: 10px 0;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-brand {
  padding: 0;
  margin: 0 2rem;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-nav {
  gap: 1rem;
  align-items: center;
}

.navbar-nav .nav-link {
  padding: 0.5rem 0.75rem !important;
  color: #525252;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.search-form .input-group {
  background-color: #0ba6bd;
  padding: 10px 20px;
}

.search-form .form-control {
  border: 1px solid #e0e0e0;
  font-size: 0.9rem;
}

.search-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.search-form .btn {
  padding: 0.75rem 1.25rem;
  background-color: var(--primary-color);
  border: none;
}

.search-form .btn:hover {
  background-color: var(--primary-color);
  opacity: 0.9;
}

.search-form .btn i {
  font-size: 1rem;
}

/* #main {
  margin-top: 110px;
} */
/* Hero */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--white-color);
  border-radius: 50%;
  margin: 10% 5%;
  background-color: var(--white-color);
  color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  top: 12%;
  z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 1;
}
/* Story */
.story .story-header img {
  height: 105px;
}

.story .story-video {
  border-radius: 20px;
  box-shadow: 2px 2px 50px #00000029;
  border: 8px solid white;
}

.story .story-content {
  font-size: 1rem;
  color: #282828;
}

/* Service */
.featured-services {
  background: url("assets/images/services-hot-overlay.jpg");
  background-size: contain;
  background-repeat: no-repeat;
}

.featured-services .container {
  margin-top: 3rem;

}

.featured-services .card {
  border-radius: 0;
  border: 0;
  background-color: rgba(255, 255, 255, 0.51);
  background-image: url("assets/images/iconbox-bg.png");
  color: var(--primary-color);
}

.featured-services .card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-services .bg-green {
  background-color: rgba(0, 142, 162, 0.51);
}

.featured-services .card-title-odd {
  color: var(--primary-color);
}
.featured-services .card-content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.9rem;
  height: 2.6rem;
  padding: 0 20px;
}
.featured-services .service-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.card-btn {
  width: 60%;
  padding: 6px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 25px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
  margin-left: auto;
  margin-right: auto;
}

.card-btn span {
  transition: transform 0.3s ease;
}

.card-btn i {
  opacity: 0;
  margin-left: 8px;
  font-size: 14px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  right: -30px;
}

.card-btn:hover {
  background-color: #006d7e;
  color: var(--white-color);
}

.card-btn:hover span {
  transform: translateX(-10px);
}

.card-btn:hover i {
  opacity: 1;
  right: 10px;
}

.featured-services .carousel-control-prev,
.featured-services .carousel-control-next {
  top: 15%;
}
.featured-services .carousel-control-prev {
  left: -8%;
}
.featured-services .carousel-control-next {
  right: -8%;
}

/* Why choice us */
#why-choose-us .title {
  color: var(--primary-color);
  font-size: 18px;
}

#why-choose-us .content {
  color: var(--black-color);
  font-size: 15px;
}

#why-choose-us .custom-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 5px solid #b3ebf5;
  border-radius: 99%;
}

/* Featured Products Section */
.featured-products {
  background-color: rgb(235, 245, 246);
}

.slick-products .slick-prev,
.slick-products .slick-next,
.news-slider .slick-prev,
.news-slider .slick-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
}

.slick-products:hover .slick-prev,
.slick-products:hover .slick-next,
.news-slider:hover .slick-prev,
.news-slider:hover .slick-next {
  opacity: 1;
}

.slick-products .slick-prev,
.news-slider .slick-prev {
  left: -40px;
}

.slick-products .slick-next,
.news-slider .slick-prev,
.news-slider .slick-next {
  right: -40px;
}

.slick-products .slick-prev:before,
.slick-products .slick-next:before,
.news-slider .slick-prev:before,
.news-slider .slick-next:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 25px;
  color: var(--primary-color);
  opacity: 1;
  transition: all 0.3s ease;
  line-height: 1;
}

.slick-products .slick-prev:before,
.news-slider .slick-prev:before {
  content: "\f104";
}

.slick-products .slick-next:before,
.news-slider .slick-next:before {
  content: "\f105";
}

.product-card {
  background: var(--white-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin: 0 10px;
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-title {
  font-size: 1rem;
  margin: 15px 0 10px;
  color: var(--black-color);
  font-weight: 500;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title:hover {
  color: var(--primary-color);
}

.product-card-content {
  padding: 0 10px 20px 10px;
}

.product-price {
  font-size: 1.125rem;
  margin-top: 10px;
}

.slick-list {
  padding: 10px 0px;
}
/* registration-banner */
.registration-banner {
  background-color: var(--primary-color);
  padding: 3rem 0;
}

.registration-banner .container {
  position: relative;
  z-index: 1;
}

.registration-banner .banner-title {
  color: var(--white-color);
  font-size: 1.6rem;
  font-weight: 600;
}

.registration-banner .banner-subtitle {
  color: var(--white-color);
  font-size: 0.9rem;
}

.registration-banner .registration-form {
  margin-top: 1rem;
}

.registration-banner .registration-form input {
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 25px;
  color: var(--white-color);
  padding: 0 1.5rem;
  font-size: 1rem;
}

.registration-banner .registration-form input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.registration-banner .registration-form input:focus {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.registration-banner .registration-form .btn {
  min-width: 160px;
  height: 50px;
  border-radius: 25px;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.registration-banner .registration-form .btn:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* News Section */
.news-section {
  background-color: var(--white-color);
  padding: 60px 0;
}

.news-slider {
  padding: 20px 0;
}

.news-item {
  padding: 0 15px;
}

.news-card {
  display: block;
  background: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.news-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 20px;
  background-image: url("assets/images/bgpost.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--black-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  height: 3.3em;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--black-color);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  height: 4.6em;
}

/* Contact Section */
.contact-section {
  background-color: var(--white-color);
}

.footer .contact-info {
  width: 40%;
  float: left;
  display: inline-block;
  background: #038092;
  padding: 30px;
  color: white;
}

.contact-title {
  color: var(--white-color);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--white-color);
  margin-bottom: 2rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-top: 3px;
}

.info-content p {
  color: var(--white-color);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.contact-form {
  padding: 40px;
  background-color: var(--white-color);
  border-radius: 0;
  height: 100%;
  width: 60%;
  float: right;
}

.form-title {
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-form .form-control {
  border: 1px solid #e0e0e0;
  padding: 12px 20px;
  border-radius: 0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.contact-form .form-control::placeholder {
  color: #666;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  border-color: #008ea2;
  box-shadow: none;
}

.contact-form textarea.form-control {
  resize: none;
  height: 120px;
}

.contact-form .btn-primary {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 0;
  background-color: #008ea2;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.contact-form .btn-primary:hover {
  background-color: #007a8a;
}
.payment-icons .payment-icon svg {
  height: 20px;
  vertical-align: middle;
  width: auto !important;
  fill: rgba(255, 255, 255, 0.5);
}
.payment-icons .payment-icon {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  display: inline-block;
  margin: 3px 3px 0;
  opacity: 0.6;
  padding: 3px 5px 5px;
  transition: all 0.3s;
}

.payment-icons .payment-icon:hover {
  opacity: 1;
}

.payment-icons .payment-icon:hover svg {
  fill: rgba(255, 255, 255, 1);
}

/* btn go to top */
.custom-go-to-top {
  border-radius: 50%;
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
  bottom: 6% !important;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
}
.custom-go-to-top:hover {
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 1px solid var(--white-color);
}
/* fixed social */
.fixed-social {
  position: fixed;
  bottom: 4%;
  left: 2%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--white-color);
  border-radius: 5px;
  border: 1px solid #f2f2f2;
  padding: 10px 6px;
}
.fixed-social .social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--black-color);
  font-size: 10px;
}
.fixed-social .social-item img {
  width: 36px;
  height: 36px;
}
@media (max-width: 768px) {
  .section-title-main {
    font-size: 1.2rem;
  }
  /* Offcanvas Styles */
  .offcanvas {
    background-color: var(--primary-color);
  }

  .offcanvas-header {
    padding: 1rem;
    border-bottom: none !important;
  }

  .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
  }

  .offcanvas .offcanvas-body {
    padding: 0;
  }
  .navbar-nav {
    gap: 0;
  }

  .offcanvas .nav-item {
    width: 100%;
    padding: 0;
  }

  .offcanvas-body .nav-link {
    color: var(--white-color) !important;
    padding: 0.75rem 1.25rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: normal !important;
    font-size: 1rem;
    width: 100%;
  }

  .offcanvas-body .nav-link:hover,
  .offcanvas-body .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .offcanvas .search-form {
    padding: 15px;
    margin-bottom: 0;
  }

  .offcanvas .search-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 0;
  }

  .offcanvas .search-form .form-control {
    background: transparent;
    border: none;
    color: var(--white-color);
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .offcanvas .search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
  }

  .offcanvas .search-form .btn {
    background: transparent;
    border: none;
    color: var(--white-color);
    padding: 0 15px;
  }

  .overlay-img {
    height: 58px;
  }
  .social-links {
    width: 100%;
  }
  .story-content p {
    text-align: justify;
    font-size: 15px;
    padding: 0 14px;
  }
  .featured-services .carousel-control-prev,
  .featured-services .carousel-control-next {
    display: none !important;
  }
  .card-btn {
    width: 50% !important;
  }
  .product-title {
    font-size: 15px;
  }
  .slick-products .slick-prev {
    left: 0px;
  }

  .slick-products .slick-next {
    right: 0px;
  }

  .fixed-social {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  .fixed-social .social-item {
    gap: 2px;
  }
  .footer .contact-info {
    width: 100%;
  }
  .contact-form {
    width: 100%;
  }

  .fixed-social {
    border-radius: 0;
  }
  .footer {
    margin-bottom: 75px;
  }
}
