body {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   background-color: #f8f9fa;
   color: #333;
   line-height: 1.6;
}
body a {
   color: #1a3a3a;
   transition: all 0.3s ease;
}
body a:hover {
   color: #00BFA6;
   text-decoration: none;
}
/* TOP BAR */
.top-bar {
   background-color: #ffffff;
   color: #333;
   font-size: 13px;
   padding: 12px 0;
   border-bottom: 1px solid #e0e0e0;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.top-bar a {
   color: #555;
}
.top-bar a:hover {
   color: #00BFA6;
}
.top-bar i {
   margin-right: 8px;
   color: #00BFA6;
}

/* MENU BAR */
.menu-bar {
   text-transform: uppercase;
   font-weight: 600;
   background-color: #1a3a3a;
   border: none;
   box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   letter-spacing: 0.5px;
}
.sticky.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.sm-clean {
   background: #1a3a3a;
}
.sm-clean ul {
   background: #ffffff;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sm-clean ul a {
   color: #333;
}
/* Dropdown hover background Menu */
.sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {
   background: #00BFA6;
   color: #fff;
}

/* CAROUSEL */
.carousel-caption {
   border: none;
   color: #fff;
   background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
   opacity: 1;
   right: 0;
   left: 0;
   bottom: 0;
   text-align: center;
   padding: 40px 20px;
}
.carousel-caption h2 {
   color: #fff;
   font-weight: 700;
   text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.carousel-indicators li {
   background-color: rgba(255,255,255,0.5);
   width: 12px;
   height: 12px;
   border-radius: 50%;
}
.carousel-indicators .active {
   background-color: #00BFA6;
}

/*  LOGO */
.brand {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-weight: 700;
   text-transform: uppercase;
   color: #1a3a3a;
   letter-spacing: 1px;
}

/* PAGE TITLE */
.page-title {
   font-weight: 700;
   border-bottom: 3px solid #00BFA6;
   margin-bottom: 20px;
   padding-bottom: 12px;
   margin-top: 0px;
   color: #1a3a3a;
   position: relative;
}
.page-title:after {
   border-bottom: 3px solid #1a3a3a;
   width: 60px;
   display: block;
   position: absolute;
   content: '';
   padding-bottom: 12px;
   left: 0;
}
footer .page-title {
   color: #fff;
   border-bottom: 3px solid #00BFA6;
}
footer .page-title:after {
   border-bottom: 3px solid #fff;
}
/* TESTIMONI */
.quote {
   overflow: hidden;
   background: linear-gradient(135deg, #00BFA6 0%, #1a3a3a 100%);
   border-radius: 8px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.quote-title {
   font-size: 13px;
   font-weight: 700;
   text-transform: uppercase;
   display: inline-block;
   padding: 15px 20px;
   color: #1a3a3a;
   float: left;
   background-color: #00BFA6;
   left: 0px;
   top: 0px;
   height: 50px;
   letter-spacing: 1px;
}
ul.quote {
   display: block;
   padding: 0;
   margin: 0;
   list-style: none;
   line-height: 1;
   position: relative;
   overflow: hidden;
   height: 50px;
   background-color: transparent;
}
ul.quote li {
   color: #fff;
   position: absolute;
   top: -950em;
   left: 0;
   display: block;
   white-space: nowrap;
   font: 14px 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   padding: 17px 20px 15px 20px;
}
ul.quote li span {
   color: #00BFA6;
   font-weight: 700;
}

/*  Conten */
h5.card-title {
   font-size: 17px;
   font-weight: 700;
   color: #1a3a3a;
}

/* Modern Card Styles */
.modern-card {
   border-radius: 12px !important;
   border: none !important;
   box-shadow: 0 2px 12px rgba(0,0,0,0.08);
   transition: all 0.3s ease;
   overflow: hidden;
}

.modern-card:hover {
   box-shadow: 0 8px 24px rgba(0,0,0,0.12);
   transform: translateY(-4px);
}

.card-body {
   padding: 24px;
}

.card-footer {
   background-color: #f8f9fa;
   border-top: 1px solid #e0e0e0;
   padding: 16px 24px;
}

/* Section Header */
.section-header {
   margin-bottom: 30px;
}

.section-header .page-title {
   margin-bottom: 8px;
}

.section-subtitle {
   color: #6c757d;
   font-size: 14px;
   margin: 0;
}

/* Post Card Styles */
.card-image-wrapper {
   position: relative;
   overflow: hidden;
   height: 100%;
}

.card-image-wrapper img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;
}

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

.image-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.post-meta {
   display: flex;
   flex-wrap: wrap;
   gap: 15px;
   font-size: 12px;
   color: #6c757d;
}

.meta-item {
   display: inline-flex;
   align-items: center;
}

.meta-item i {
   margin-right: 5px;
   color: #00BFA6;
}

/* Gallery Card */
.gallery-card {
   overflow: hidden;
}

.gallery-image-wrapper {
   position: relative;
   overflow: hidden;
   height: 220px;
}

.gallery-image-wrapper img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;
}

.gallery-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(26, 58, 58, 0.85);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: opacity 0.3s ease;
}

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

.gallery-card:hover .gallery-image-wrapper img {
   transform: scale(1.15);
}

.btn-view {
   border-radius: 25px;
   padding: 10px 24px;
   font-weight: 600;
   box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Video Wrapper */
.video-wrapper {
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 4px 16px rgba(0,0,0,0.1);
   transition: all 0.3s ease;
}

.video-wrapper:hover {
   box-shadow: 0 8px 24px rgba(0,0,0,0.15);
   transform: translateY(-4px);
}

/* Sidebar Styles */
.sidebar-section {
   margin-bottom: 30px;
}

/* Welcome Card */
.welcome-card {
   text-align: center;
   position: relative;
}

.welcome-image-wrapper {
   position: relative;
   padding: 20px 20px 0;
   background: linear-gradient(135deg, #00BFA6 0%, #1a3a3a 100%);
}

.welcome-image-wrapper img {
   border-radius: 12px;
   width: 100%;
   height: auto;
   box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.welcome-badge {
   position: absolute;
   bottom: -25px;
   left: 50%;
   transform: translateX(-50%);
   width: 50px;
   height: 50px;
   background: #00BFA6;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.welcome-badge i {
   font-size: 24px;
   color: #fff;
}

.welcome-card .card-body {
   padding-top: 40px;
}

.welcome-card .card-subtitle {
   color: #00BFA6;
   font-weight: 600;
   font-size: 14px;
}

/* Modern List Group */
.modern-list-group {
   display: flex;
   flex-direction: column;
   gap: 8px;
}

.modern-list-item {
   display: flex;
   align-items: center;
   padding: 14px 18px;
   background: #fff;
   border: 1px solid #e0e0e0;
   border-radius: 8px;
   color: #333;
   text-decoration: none;
   transition: all 0.3s ease;
}

.modern-list-item:hover {
   background: #f8f9fa;
   border-color: #00BFA6;
   color: #00BFA6;
   transform: translateX(5px);
}

.modern-list-item i:first-child {
   margin-right: 12px;
   color: #00BFA6;
}

.modern-list-item .badge {
   background: #00BFA6;
   padding: 4px 10px;
   border-radius: 12px;
}

/* Popular Posts */
.popular-posts {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.popular-post-item {
   display: block;
   padding: 16px;
   background: #fff;
   border: 1px solid #e0e0e0;
   border-left: 4px solid #00BFA6;
   border-radius: 8px;
   text-decoration: none;
   transition: all 0.3s ease;
}

.popular-post-item:hover {
   background: #f8f9fa;
   box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   transform: translateX(5px);
}

.popular-post-title {
   color: #1a3a3a;
   font-size: 14px;
   font-weight: 600;
   margin-bottom: 8px;
   line-height: 1.4;
}

.popular-post-meta {
   display: flex;
   gap: 15px;
   font-size: 11px;
   color: #6c757d;
}

.popular-post-meta span {
   display: inline-flex;
   align-items: center;
}

.popular-post-meta i {
   margin-right: 5px;
   color: #00BFA6;
}

/* Polling Card */
.polling-card {
   background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.polling-question {
   font-weight: 600;
   color: #1a3a3a;
   margin-bottom: 20px;
}

.custom-radio-wrapper {
   margin-bottom: 12px;
}

.custom-radio-input {
   display: none;
}

.custom-radio-label {
   display: block;
   padding: 12px 16px;
   background: #fff;
   border: 2px solid #e0e0e0;
   border-radius: 8px;
   cursor: pointer;
   transition: all 0.3s ease;
   position: relative;
   padding-left: 40px;
}

.custom-radio-label:before {
   content: '';
   position: absolute;
   left: 12px;
   top: 50%;
   transform: translateY(-50%);
   width: 18px;
   height: 18px;
   border: 2px solid #e0e0e0;
   border-radius: 50%;
   transition: all 0.3s ease;
}

.custom-radio-input:checked + .custom-radio-label {
   background: #e8f8f5;
   border-color: #00BFA6;
   color: #1a3a3a;
}

.custom-radio-input:checked + .custom-radio-label:before {
   border-color: #00BFA6;
   background: #00BFA6;
   box-shadow: inset 0 0 0 3px #fff;
}

.custom-radio-label:hover {
   border-color: #00BFA6;
   background: #f8f9fa;
}

/* Newsletter Card */
.newsletter-card {
   background: linear-gradient(135deg, #00BFA6 0%, #1a3a3a 100%);
   color: #fff;
}

.newsletter-text {
   color: #fff;
   margin-bottom: 16px;
   font-size: 14px;
}

.newsletter-input .form-control {
   border: none;
   border-radius: 8px 0 0 8px;
   padding: 12px 16px;
}

.newsletter-input .btn {
   border-radius: 0 8px 8px 0;
   background: #1a3a3a;
   border: none;
}

.newsletter-input .btn:hover {
   background: #0d2626;
}

/* Banner Wrapper */
.banner-wrapper {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.banner-item {
   display: block;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 2px 8px rgba(0,0,0,0.08);
   transition: all 0.3s ease;
}

.banner-item:hover {
   box-shadow: 0 4px 16px rgba(0,0,0,0.12);
   transform: translateY(-2px);
}

.banner-item img {
   width: 100%;
   height: auto;
   display: block;
}

/* Sidebar */
.sidebar .list-group-item {
   border: 1px solid #e0e0e0;
   border-radius: 6px;
   margin-bottom: 8px;
   transition: all 0.3s ease;
}

.sidebar .list-group-item:hover {
   background-color: #f8f9fa;
   border-color: #00BFA6;
}

/* Footer */
footer {
   color: #fff;
   font-size: 14px;
}
footer .primary-footer {
   background: linear-gradient(135deg, #1a3a3a 0%, #0d2626 100%);
   padding: 50px 0 30px;
}
footer .secondary-footer {
   border-top: 1px solid rgba(255,255,255,0.1);
   background-color: #0d2626;
   padding: 15px 0;
}
footer .copyright {
   color: #fff;
}
footer a {
   color: #ffffff;
   transition: all 0.3s ease;
}
footer a:hover {
   color: #00BFA6;
}
footer .page-title {
   color: #ffffff;
}
.social-icon {
   width: 45px;
   height: 45px;
   font-size: 18px;
   background-color: #00BFA6;
   color: #fff;
   text-align: center;
   margin-right: 12px;
   padding-top: 13px;
   border-radius: 50%;
   transition: all 0.3s ease;
}
.social-icon:hover {
   transform: translateY(-3px);
   box-shadow: 0 4px 12px rgba(0,191,166,0.4);
}
.linked-in{
   background-color:#007bb6;
}
.linked-in:hover{
   background-color:#005a87;
}
.facebook{
   background-color:#3b5998;
}
.facebook:hover{
   background-color:#2d4373;
}
.twitter{
   background-color:#1da1f2;
}
.twitter:hover{
   background-color:#0c85d0;
}
.instagram {
   background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.instagram:hover {
   opacity: 0.8;
}
.youtube {
   background-color:#ef4e17;
}
.youtube:hover {
   background-color:#c93d12;
}
.primary-footer nav ol.breadcrumb {
   background-color: transparent;
}

/* Tags */
.tag-content-block {
   display:block;
}
.tag a {
   border: 1px solid rgba(255,255,255,0.3);
   padding:10px 16px;
   color:#fff;
   display:inline-block;
   font-size:12px;
   text-transform:uppercase;
   line-height:14px;
   margin-bottom:8px;
   margin-right:6px;
   text-decoration:none;
   border-radius: 20px;
   transition: all 0.3s ease;
   background-color: rgba(255,255,255,0.1);
}
.tag a:hover {
   border: 1px solid #00BFA6;
   background-color: #00BFA6;
   color: #fff;
   transform: translateY(-2px);
}

/* Fullscreen Search */
#search_form {
   z-index: 999999;
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, rgba(26,58,58,0.95) 0%, rgba(0,191,166,0.95) 100%);
   -webkit-transition: all 0.5s ease-in-out;
   -moz-transition: all 0.5s ease-in-out;
   -o-transition: all 0.5s ease-in-out;
   -ms-transition: all 0.5s ease-in-out;
   transition: all 0.5s ease-in-out;
   -webkit-transform: translate(0px, -100%) scale(0, 0);
   -moz-transform: translate(0px, -100%) scale(0, 0);
   -o-transform: translate(0px, -100%) scale(0, 0);
   -ms-transform: translate(0px, -100%) scale(0, 0);
   transform: translate(0px, -100%) scale(0, 0);

   opacity: 0;
}

#search_form.open {
   -webkit-transform: translate(0px, 0px) scale(1, 1);
   -moz-transform: translate(0px, 0px) scale(1, 1);
   -o-transform: translate(0px, 0px) scale(1, 1);
   -ms-transform: translate(0px, 0px) scale(1, 1);
   transform: translate(0px, 0px) scale(1, 1);
   opacity: 1;
}

#search_form input[type="search_form"] {
   position: absolute;
   top: 50%;
   width: 100%;
   color: rgb(255, 255, 255);
   background: rgba(255, 255, 255, 0.1);
   font-size: 48px;
   font-weight: 300;
   text-align: center;
   border: 0px;
   border-bottom: 2px solid rgba(255,255,255,0.5);
   margin: 0px auto;
   margin-top: -51px;
   padding: 20px 30px;
   outline: none;
   border-radius: 8px;
}
#search_form .btn {
   position: absolute;
   top: 50%;
   left: 50%;
   margin-top: 80px;
   margin-left: -60px;
   padding: 12px 30px;
   font-weight: 600;
   border-radius: 25px;
}

.action-button {
   background: linear-gradient(135deg, #00BFA6 0%, #00a892 100%);
   color: #fff;
   border: none;
   padding: 10px 20px;
   font-weight: 600;
   transition: all 0.3s ease;
   border-radius: 8px;
   font-size: 14px;
}
.action-button:hover {
   background: linear-gradient(135deg, #1a3a3a 0%, #0d2626 100%);
   color: #fff;
   transform: translateY(-2px);
   box-shadow: 0 6px 16px rgba(0,191,166,0.3);
}

.btn-outline-secondary {
   border: 2px solid #e0e0e0;
   color: #6c757d;
   font-weight: 600;
   border-radius: 8px;
   transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
   background: #1a3a3a;
   border-color: #1a3a3a;
   color: #fff;
}

/* Responsive */
/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
   .top-left{
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
   .card-image-wrapper {
      height: 200px;
   }
   .gallery-image-wrapper {
      height: 180px;
   }
   .section-header {
      margin-bottom: 20px;
   }
   .modern-card {
      margin-bottom: 20px;
   }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
   .top-left{
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
   .card-image-wrapper {
      height: 220px;
   }
   .gallery-image-wrapper {
      height: 200px;
   }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
   .top-left{
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
   .card-image-wrapper {
      height: 100%;
      min-height: 250px;
   }
}

/* Overide Toastr color */
.toast {
  background-color: #030303;
}
/* custom toastr success */
.toast-success {
  background-color: #00cb18;
}
/* custom toastr error */
.toast-error {
  background-color: #ef5137;
}
/* custom toastr info */
.toast-info {
  background-color: #4b8df8;
}
/* custom toastr warning */
.toast-warning {
  background-color: #ffb848;
}
.toast-title, .toast-message {
   text-align: left;
}
.top-header {
  display: flex;
  align-items: center/* vertical alignment */
}
/* return to top */
#return-to-top {
   opacity: 0.9;
   z-index: 10000;
   position: fixed;
   bottom: 25px;
   right: 25px;
   background: linear-gradient(135deg, #00BFA6 0%, #1a3a3a 100%);
   width: 50px;
   height: 50px;
   display: block;
   text-decoration: none;
   display: none;
   border-radius: 50%;
   box-shadow: 0 4px 12px rgba(0,0,0,0.2);
   -webkit-transition: all 0.3s ease;
   -moz-transition: all 0.3s ease;
   -ms-transition: all 0.3s ease;
   -o-transition: all 0.3s ease;
   transition: all 0.3s ease;
}
#return-to-top i {
   color: #fff;
   margin: 0;
   position: relative;
   left: 15px;
   top: 14px;
   font-size: 22px;
   -webkit-transition: all 0.3s ease;
   -moz-transition: all 0.3s ease;
   -ms-transition: all 0.3s ease;
   -o-transition: all 0.3s ease;
   transition: all 0.3s ease;
}
#return-to-top:hover {
   background: linear-gradient(135deg, #1a3a3a 0%, #00BFA6 100%);
   transform: translateY(-5px);
   box-shadow: 0 6px 20px rgba(0,191,166,0.4);
}
#return-to-top:hover i {
   color: #fff;
   transform: translateY(-2px);
}

/* Additional Modern Styles */
.content {
   padding: 40px 0;
}

/* Smooth Scrolling */
html {
   scroll-behavior: smooth;
}

/* Card Title Link */
.card-title a {
   color: #1a3a3a;
   text-decoration: none;
   transition: color 0.3s ease;
}

.card-title a:hover {
   color: #00BFA6;
}

/* Badge Styles */
.badge-primary {
   background: #00BFA6;
   color: #fff;
   padding: 5px 12px;
   border-radius: 12px;
   font-weight: 600;
}

/* Input Focus Styles */
.form-control:focus {
   border-color: #00BFA6;
   box-shadow: 0 0 0 0.2rem rgba(0, 191, 166, 0.25);
}

/* Embed Responsive Enhancement */
.embed-responsive {
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Loading Animation */
@keyframes fadeIn {
   from {
      opacity: 0;
      transform: translateY(20px);
   }
   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.modern-card {
   animation: fadeIn 0.5s ease-out;
}

/* Hover Effects for Links */
a {
   transition: all 0.3s ease;
}

/* Top Bar Enhancement */
.top-bar .list-inline-item {
   position: relative;
   padding-left: 15px;
}

.top-bar .list-inline-item:not(:last-child):after {
   content: '|';
   position: absolute;
   right: -8px;
   color: rgba(0,0,0,0.2);
}

/* Menu Enhancement */
.sm-clean a {
   font-size: 13px;
   letter-spacing: 0.5px;
   padding: 16px 20px !important;
}

/* Carousel Enhancement */
.carousel-item img {
   height: 450px;
   object-fit: cover;
}

@media (max-width: 768px) {
   .carousel-item img {
      height: 300px;
   }
}

/* Quote Enhancement */
.quote {
   margin-bottom: 30px;
}

/* Footer Enhancement */
footer dl dt {
   font-weight: 600;
   color: #00BFA6;
}

footer dl dd {
   color: rgba(255,255,255,0.9);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
   width: 10px;
}

::-webkit-scrollbar-track {
   background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
   background: #00BFA6;
   border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
   background: #1a3a3a;
}

/* Text Selection */
::selection {
   background: #00BFA6;
   color: #fff;
}

::-moz-selection {
   background: #00BFA6;
   color: #fff;
}
