:root {
  --primary-color: #51c055;
  --secondary-color: #050458;
  --hover-color: #c20e82;
  /* merun #900407 */
}

.main-color {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #fafafa;
}

a {
  color: var(--secondary-color)!important;
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--hover-color)!important;
}

ul {
  text-decoration: none;
  list-style-type: none;
}

img {
  max-width: 100%;
}

.logo {
  width: 100%;
}

.home-title-container {
  position: relative;
  width: 100%;
  padding: 0px;
}

.container {
  overflow: hidden;
}

.home-title-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: url('../images/image1.jpg') no-repeat center center/cover;
  animation: bounce 3s infinite ease-in-out;
}

.home-title {
  position: relative;
  z-index: 2; /* Ensure text stays above the background */
  text-align: center;
  height: 100vh;
  margin: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.home-title-header {
    font-size: 3rem;
    margin: 0;
    background: linear-gradient(90deg, var(--primary-color) 20%, var(--hover-color) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-title-header:after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 10%, var(--hover-color) 100%);
    margin: 15px auto;
}

.home-title p {
    font-size: 1.5rem;
    margin: 20px 0 0;
    color: var(--primary-color);
    /* background: linear-gradient(90deg, var(--hover-color) 0%, var(--primary-color) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}

/* Bouncing animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

section {
  padding: 3rem 0rem 3rem 0rem;
}

#about {
  background-color: #ffffff;
}

.section-title {
    color: black;
    text-align: center;
    padding-bottom: 40px;
    padding-top: 30px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--primary-color);
}

.section-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--hover-color) 90%);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.about-content {
  margin-top: 20px;
}

.about-content-item {
    background-color: #ffffff;
    box-shadow: 0px 0.2px 10px rgba(5, 4, 88, 0.1);
    padding: 30px 30px 60px 30px;
    position: relative;
    height: 100%;
}


.about-content-item h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: var(--primary-color);
}

.about-content-item h3:after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--hover-color) 20%, var(--secondary-color) 100%);
  margin: 10px auto;
}

.about-content-item p {
    font-size: 14px;
    color: color-mix(in srgb, var(--secondary-color), transparent 5%);
    margin: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  box-shadow: 0px 0.2px 10px rgba(81, 192, 85, 0.2);
}
.stats-item {
  padding: 10px;
}

.stats .span-border {
  border-bottom: var(--primary-color) 1px solid;
  width: 25%;
  display: flex;
  margin: 5px auto;
}

.stats-item i {
  font-size: 40px;
  color: var(--primary-color);
  line-height: 0;
  margin-right: 15px;
}

.stats-item .counts {
  color: var(--secondary-color);
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
}

.stats-item p {
  /* color: color-mix(in srgb, var(--default-color), transparent 40%); */
  padding: 15px 0 0 0;
  margin: 0;
  font-size: 14px;
}

.carousel-item {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-nav {
  padding-top: 10px;
}

/* .about-nav .nav-link span::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  margin: 10px auto;
} */

.about-nav .nav-tabs {
  border: 0;
  background-color: color-mix(in srgb, var(--primary-color), transparent 96%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 6px;
  width: auto;
  position: absolute;
  top: 0;
}

.about-nav .nav-item {
  margin: 0;
  padding: 0 5px 0 0;
}

.about-nav .nav-item:last-child {
  padding-right: 0;
}

.about-nav .nav-link {
  background-color: none;
  color: var(--secondary-color);
  padding: 10px 30px;
  transition: 0.3s;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  margin: 0;
}

@media (max-width: 468px) {
  .about-nav .nav-link {
    padding: 8px 20px;
  }
}

.about-nav .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.about-nav .nav-link h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.about-nav .nav-link:hover {
  border-color: color-mix(in srgb, var(--secondary-color), transparent 80%);
}

.about-nav .nav-link:hover h4 {
  color: var(--hover-color);
}

.about-nav .nav-link.active {
  background-color: var(--hover-color);
  border-color: var(--hover-color);
}

.about-nav .nav-link.active h4 {
  color: var(--primary-color);
}

.about-nav .tab-content {
  margin-top: 30px;
}

.about-nav .tab-pane h3 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.about-nav .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--hover-color) 20%, var(--secondary-color) 100%);
  left: 0;
  bottom: 0;
}

.about-nav .tab-pane ul {
  list-style: none;
  padding: 0;
}

.about-nav .tab-pane ul li {
  padding-top: 10px;
}

.about-nav .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--primary-color);
}

.about-nav .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

#services {
  background-color: #f0f0f0;
}

.service-item {
  padding: 40px;
  box-shadow: 0px 0 30px rgba(81, 192, 85, 0.1);
  height: 100%;
  background-color: #ffffff;
}

.service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.service-item .icon i {
  color: color-mix(in srgb, var(--primary-color), transparent 30%);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.service-item .icon:before {
  position: absolute;
  content: "";
  height: 72px;
  width: 72px;
  background: color-mix(in srgb, var(--primary-color), transparent 95%);
  z-index: 1;
  top: 10px;
  right: -16px;
  transition: 0.3s;
}

.service-item h3 {
  color: color-mix(in srgb, var(--primary-color), transparent 20%);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid color-mix(in srgb, var(--primary-color), transparent 90%);
  transition: 0.3s;
}

.service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.service-item:hover .icon i {
  color: var(--primary-color);
}

.service-item:hover .icon:before {
  background: linear-gradient(90deg, var(--hover-color) 20%, var(--secondary-color) 100%);
}

.service-item:hover h3 {
  color: var(--hover-color);
  border-image: linear-gradient(90deg, var(--hover-color) 20%, var(--secondary-color) 100%) 1;
}

#clients {
  background-color: #ffffff;
}

.clients .client-item {
    background-color: white;
    box-shadow: 0px 2px 30px rgba(81, 192, 85, 0.2);
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
    height: 150px;
}

/* @media (max-width: 400px) {
  .clients .client-item {
    width: 100px;
  }
} */

.clients .client-item .client-img {
    width: 100%;
    margin: 0 10px 0 0;
}

.clients .client-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.clients .client-item h4 {
    font-size: 14px;
    color: color-mix(in srgb, var(--primary-color), transparent 20%);
    margin: 0;
}

.clients .client-item ul {
    padding: 0.25rem;
    margin: 0;
}

#contact {
  background-color: #f0f0f0;
}

.contact-info {
  text-align: center;
  background: color-mix(in srgb, var(--primary-color), transparent 90%);
  padding: 20px;
  border-radius: 10%;
}

.contact-info h2 {
  color: var(--secondary-color);
  margin: 20px;
}

.contact-info .span-border {
  border-bottom: var(--secondary-color) 1px solid;
  width: 25%;
  display: flex;
  margin: 5px auto;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* background: color-mix(in srgb, var(--secondary-color), transparent 95%); */
  padding: 10px 20px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 50%;
    border: var(--secondary-color) 0.5px solid;
}

.contact-item-text {
  text-align: left;
  color: var(--secondary-color);
  padding: 10px 10px 10px 20px;
}

.contact-item-text p {
  margin: 0px;
}

.contact-item:hover i {
  color: var(--secondary-color);
  background: color-mix(in srgb, var(--hover-color), transparent 98%);
  border: var(--hover-color) 0.5px solid;
}

.contact-form {
  text-align: center;
  background: color-mix(in srgb, var(--primary-color), transparent 90%);
  padding: 20px;
  margin-left: 20px;
  height: 100%;
  border-radius: 10%;
}

@media (max-width: 992px) {
  .contact-form {
    margin-left: 0px;
    margin-top: 20px;
  }
}

.contact-form h2 {
  margin: 20px 20px 40px 20px;
  color: var(--secondary-color);
}

.contact-form .contact-input {
  position: relative;
}

.contact-form .form-label-1 {
  position: absolute;
  top: 50%;
  left: 20px;
  color: var(--secondary-color);
  transform: translateY(-50%);
  transition: 0.2s ease all;
  pointer-events: none;
}

.contact-form .form-label-2 {
  position: absolute;
  top: 50%;
  left: 10px;
  color: var(--secondary-color);
  transform: translateY(-50%);
  transition: 0.2s ease all;
  pointer-events: none;
}

.contact-form .form-label-3 {
  position: absolute;
  top: 12%;
  left: 10px;
  color: var(--secondary-color);
  transform: translateY(-50%);
  transition: 0.2s ease all;
  pointer-events: none;
}

.contact-form input:focus {
  border-color: var(--hover-color);
  box-shadow: 0 0 10px rgba(194, 14, 130, 0.2);
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label {
    top: -10px;
    color: var(--hover-color);
    padding: 0 5px;
}

.contact-form textarea:focus {
  border-color: var(--hover-color);
  box-shadow: 0 0 10px rgba(194, 14, 130, 0.2);
}

.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    color: var(--hover-color);
    padding: 0 5px;
}

.contact-form button {
  padding: 10px 30px;
  border-radius: 30px;
  color: var(--secondary-color);
  background-color: color-mix(in srgb, var(--hover-color), transparent 20%);
  border: none;
  font-weight: bold;
}

.contact-form button:hover {
  color: var(--primary-color);
  background-color: color-mix(in srgb, var(--secondary-color), transparent 20%);
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(5, 4, 88, 0.2);
}

.footer-contact p {
  margin-bottom: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--secondary-color), transparent 50%);
  margin-right: 10px;
  font-size: 16px;
  width: 40px;
  height: 40px;
}

.social-links a:hover {
  border-color: var(--hover-color);
  background-color: color-mix(in srgb, var(--hover-color), transparent 20%) !important;
  color: var(--primary-color) !important;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--hover-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--secondary-color), transparent 20%) !important;
  color: var(--primary-color) !important;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
