/*
  Theme Name: Regna
  Theme URL: https://bootstrapmade.com/regna-bootstrap-onepage-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    background: #fff;
    color: #000;
    font-family: "Open Sans", sans-serif;
}

/* a {
  color: #2dc997;
} */

/* a:hover, a:active, a:focus { */
/* color: #2dca98; */
/* outline: none; */
/* text-decoration: none; */
/* } */

.decoration-none:link {
    text-decoration: none;
}

.link-hover:hover {
    color: #045bb8 !important;
}

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

/* Prelaoder */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fff url("../images/preloader.svg") no-repeat center center;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    display: none;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 6px 12px 9px 12px;
    font-size: 16px;
    border-radius: 2px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
    }
}

.back-to-top:focus {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    outline: none;
}

.back-to-top:hover {
    background: #2dc997;
    color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    padding: 30px 0;
    height: 92px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 997;
}

#header #logo {
    float: left;
}

#header #logo h1 {
    font-size: 36px;
    margin: 0;
    padding: 6px 0;
    line-height: 1;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#header #logo h1 a,
#header #logo h1 a:hover {
    color: #fff;
}

#header #logo img {
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    #header #logo h1 {
        font-size: 26px;
    }
    #header #logo img {
        max-height: 40px;
    }
}

#header.header-fixed {
    background: rgba(52, 59, 64, 0.9);
    padding: 20px 0;
    height: 72px;
    transition: all 0.5s;
}

/*--------------------------------------------------------------
# Hero Global Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Hero HOME Section
--------------------------------------------------------------*/
.herohome {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 120px 0 120px 0;
    display: flex;
    align-items: center;
    background-size: cover;
    position: relative;
}

.herohome .hero-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.herohome:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 10%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.herohome .container {
    position: relative;
    z-index: 3;
}

.herohome h1 {
    margin: 0 0 20px 0;
    font-size: 45px;
    font-weight: 700;
    line-height: 56px;
    color: #00b125;
}

.herohome h2 {
    margin: 0 0 20px 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
}

.herohome h1 span {
    color: var(--heading-color);
    border-bottom: 4px solid var(--accent-color);
    color: #fff;
}

.herohome p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin: 5px 0 30px 0;
    font-size: 15px;
    font-weight: 400;
    color: rgb(126, 125, 125);
    text-align: justify;
}

.herohome .btn-get-started {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 28px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0px;
    border: 2px solid #2dc997;
    color: #fff;
}

.herohome .btn-get-started:hover {
    background: #2dc997;
    border: 2px solid #2dc997;
}

.herohome .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
    .herohome h1 {
        font-size: 28px;
        line-height: 36px;
        text-align: center;
    }

    .herohome h2 {
        font-size: 20px;
        line-height: 36px;
        text-align: center;
    }

    .herohome p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
        text-align: center;
    }

    .herohome .btn-get-started {
        font-size: 13px;
        align-items: center;
    }
}

.herohome .hero-waves {
    display: block;
    width: 100%;
    height: 60px;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.wave1,
.wave2,
.wave3 {
    fill: #fff; /* Warna gelombang */
}

.herohome .wave1 use {
    animation: move-forever1 10s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
    opacity: 0.6;
}

.herohome .wave2 use {
    animation: move-forever2 8s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
    opacity: 0.4;
}

.herohome .wave3 use {
    animation: move-forever3 6s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu,
.nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;
}

.nav-menu > li {
    float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
    display: block;
}

/* Nav Meu Container */
#nav-menu-container {
    float: right;
    margin: 0;
}

@media (max-width: 768px) {
    #nav-menu-container {
        display: none;
    }
}

/* Nav Meu Styling */
.nav-menu a {
    padding: 0 8px 10px 8px;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
    outline: none;
}

.nav-menu > li {
    margin-left: 10px;
}

.nav-menu > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2dc997;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before,
.nav-menu li:hover > a:before,
.nav-menu .menu-active > a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.nav-menu ul {
    margin: 4px 0 0 0;
    border: 1px solid #e7e7e7;
}

.nav-menu ul li {
    background: #fff;
}

.nav-menu ul li:first-child {
    border-top: 0;
}

.nav-menu ul li a {
    padding: 10px;
    color: #333;
    transition: 0.3s;
    display: block;
    font-size: 13px;
    text-transform: none;
}

.nav-menu ul li a:hover {
    background: #2dc997;
    color: #fff;
}

.nav-menu ul ul {
    margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    margin: 20px 20px 0 0;
    border: 0;
    background: none;
    font-size: 24px;
    display: none;
    transition: all 0.4s;
    outline: none;
    cursor: pointer;
}

#mobile-nav-toggle i {
    color: #fff;
}

@media (max-width: 768px) {
    #mobile-nav-toggle {
        display: inline;
    }
}

/* Mobile Nav Styling */
#mobile-nav {
    position: fixed;
    top: 0;
    padding-top: 18px;
    bottom: 0;
    z-index: 998;
    background: rgba(52, 59, 64, 0.9);
    left: -260px;
    width: 260px;
    overflow-y: auto;
    transition: 0.4s;
}

#mobile-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#mobile-nav ul li {
    position: relative;
}

#mobile-nav ul li a {
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    padding: 10px 22px 10px 15px;
    position: relative;
    text-decoration: none;
    width: 100%;
    display: block;
    outline: none;
}

#mobile-nav ul li a:hover {
    color: #fff;
}

#mobile-nav ul li li {
    padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
    position: absolute;
    right: 0;
    z-index: 99;
    padding: 15px;
    cursor: pointer;
    color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
    color: #2dc997;
}

#mobile-nav ul .menu-item-active {
    color: #2dc997;
}

#mobile-body-overly {
    width: 100%;
    height: 100%;
    z-index: 997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(52, 59, 64, 0.9);
    display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
    overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
    left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
    color: #fff;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header
--------------------------------*/
.section-header .section-title {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-header .section-description {
    text-align: center;
    padding-bottom: 40px;
    color: #999;
}

/* About Us Section
--------------------------------*/
#about {
    background: #fff;
    padding: 80px 0;
}

#about .about-container .background {
    max-width: auto; /* Membuat gambar responsif */
    height: auto; /* Memastikan proporsi gambar tetap terjaga */
    border-radius: 20px;
}

@media (max-width: 768px) {
    #about .about-container .background {
        min-height: 100px; /* Mengurangi tinggi minimum untuk layar kecil */
        margin-bottom: 5px; /* Mengurangi margin bawah untuk layar kecil */
    }
}

#about .about-container .content {
    background: #fff;
}

#about .about-container .title {
    color: #333;
    font-weight: 700;
    font-size: 32px;
}

@media (max-width: 768px) {
    #about .about-container .title {
        padding-top: 15px;
    }
}

#about .about-container p {
    line-height: 26px;
    text-align: justify;
}

#about .about-container p:last-child {
    margin-bottom: 0;
}

#about .about-container .icon-box {
    background: #fff;
    background-size: cover;
    padding: 0 0 30px 0;
}

#about .about-container .icon-box .icon {
    float: left;
    background: #fff;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #2dc997;
}

#about .about-container .icon-box .icon i {
    color: #2dc997;
    font-size: 24px;
}

#about .about-container .icon-box .title {
    margin-left: 80px;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 18px;
    text-transform: uppercase;
}

#about .about-container .icon-box .title a {
    color: #111;
}

#about .about-container .icon-box .description {
    margin-left: 80px;
    line-height: 24px;
    font-size: 14px;
}

/* Services Section
--------------------------------*/
#services .section-title {
  margin-bottom: 60px; /* Menambahkan jarak bawah */
}

#services {
    background: #f7f7f7;
    background-size: cover;
    padding: 80px 0 60px 0;
}

#services .box {
    padding: 50px 20px;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid #e6e6e6;
    height: 200px;
    position: relative;
    background: #fafafa;
}

#services .icon {
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
  transition: 0.2s;
  border-radius: 50%;
  border: 6px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 72px;
  height: 72px;
  background: #05182a;
}

#services .icon a {
    display: inline-block;
}

#services .icon i {
    color: #fff;
    font-size: 24px;
}

#services .box:hover .icon {
    background: #fff;
    border: 2px solid #2dc997;
}

#services .box:hover .icon i {
  color: #05182a;
}

#services .box:hover .icon a {
  color: #05182a;
}

#services .title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #00b125;
}

#services .title a {
  color: #000;
}

#services .description {
    font-size: 14px;
    line-height: 24px;
}

#services .rotated {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

#services .box1 {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(38, 48, 45, 0.5);
    padding: 20px;
    border: 1px solid #05182a;
    border-radius: 8px;
    margin-bottom: 60px;
    text-align: center;
    overflow: hidden;
    transition: height 0.3s ease;
    min-height: 50px;
}

#services .box2 {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(38, 48, 45, 0.5);
    padding: 20px;
    border: 1px solid #05182a;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    transition: height 0.3s ease;
    min-height: 100px;
}

#services .box-footer1 {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

#services .box-footer2 {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

#services .collapse-content {
    padding: 10px;
    text-align: justify;
}

#services .title {
    margin-top: 20px;
    margin-bottom: 10px;
}

#services .description {
    margin-top: 10px;
    margin-bottom: 20px;
}

#services .rotated {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

#services .box1 {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(38, 48, 45, 0.5);
  padding: 20px;
  border: 1px solid #05182a;
  border-radius: 8px;
  margin-bottom: 60px;
  text-align: center;
  overflow: hidden;
  transition: height 0.3s ease;
  min-height: 50px;
}

#services .box2 {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(38, 48, 45, 0.5);
  padding: 20px;
  border: 1px solid #05182a;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  overflow: hidden;
  transition: height 0.3s ease;
  min-height: 100px;
}

#services .box-footer1 {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

#services .box-footer2 {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

#services .collapse-content {
  padding: 10px;
  text-align: justify;
}

#services .title {
  margin-top: 20px;
  margin-bottom: 10px;
}

#services .description {
  margin-top: 10px;
  margin-bottom: 20px;
}
/* Call To Action Section
--------------------------------*/
#call-to-action {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url(../images/background_hero3.svg) fixed center center;
    background-size: cover;
    padding: 80px 0;
}

#call-to-action .cta-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

#call-to-action .cta-text {
    color: #fff;
}

@media (min-width: 769px) {
    #call-to-action .cta-btn-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

#call-to-action .cta-btn {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid #fff;
    color: #fff;
}

#call-to-action .cta-btn:hover {
    background: #2dc997;
    border: 2px solid #2dc997;
}

/* category Section
--------------------------------*/
#category {
    background: #fff;
    padding: 80px 0;
}

#category #category-wrapper {
    padding-right: 15px;
}

#category #category-flters {
    padding: 0;
    margin: 0 0 45px 0;
    list-style: none;
    text-align: center;
}

#category #category-flters li {
    cursor: pointer;
    margin: 0 10px;
    display: inline-block;
    padding: 10px 22px;
    font-size: 12px;
    line-height: 20px;
    color: #666666;
    border-radius: 4px;
    text-transform: uppercase;
    background: #fff;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

#category #category-flters li:hover,
#category #category-flters li.filter-active {
    background: #2dc997;
    color: #fff;
}
#category-wrapper {
    display: flex;
    justify-content: center; /* Menengahkan elemen secara horizontal */
    flex-wrap: wrap; /* Agar tetap responsif */
}

#category .btn-get-started {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 28px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0px;
    border: 2px solid #000;
    color: #000;
}

#category .btn-get-started:hover {
    background: #2dc997;
    border: 2px solid #2dc997;
}

#category .card {
    background: linear-gradient(
        to right,
        #05182a,
        #1d4163
    ); /* Adjust colors and direction as needed */
    color: white; /* Teks berwarna putih */
    margin-bottom: 20px; /* Menambahkan jarak bawah antara kartu */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(38, 48, 45, 0.5);
}

#category .card .card-title {
    color: #00b125; /* Pastikan judul juga berwarna putih */
    font-weight: bold; /* Menjadikan teks bold */
    text-align: center; /* Mengatur teks menjadi center */
    border-bottom: 2px solid white; /* Menambahkan garis bawah */
    padding-bottom: 10px; /* Menambahkan jarak antara teks dan garis */
}

#category .card .card-text {
    color: white; /* Pastikan deskripsi juga berwarna putih */
}

#category .card-text {
    max-height: 70px; /* Batasi tinggi teks */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

#category .card-text.expanded {
    max-height: none; /* Biarkan teks tampil penuh ketika tombol diklik */
}

#category .toggle-text {
    color: #00b125;
    cursor: pointer;
    text-decoration: none;
}

#category .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Memastikan konten diatur dengan baik */
    min-height: auto;
    overflow: visible;
}

#category .section-title {
    margin-bottom: 40px; /* Atur sesuai kebutuhan */
}

/* Contact Section
--------------------------------*/
#contact {
    background: #f7f7f7;
    padding: 80px 0 40px 0;
}

#contact #google-map {
    height: 300px;
    margin-bottom: 20px;
}

#contact .info {
    color: #333333;
}

#contact .info i {
    font-size: 32px;
    color: #2dc997;
    float: left;
}

#contact .info p {
    padding: 0 0 10px 50px;
    margin-bottom: 20px;
    line-height: 22px;
    font-size: 14px;
}

#contact .info .email p {
    padding-top: 5px;
}

#contact .social-links {
    padding-bottom: 20px;
}

#contact .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #333;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#contact .social-links a:hover {
    background: #2dc997;
    color: #fff;
}

#contact .form #sendmessage {
    color: #2dc997;
    border: 1px solid #2dc997;
    display: none;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#contact .form #errormessage {
    color: red;
    display: none;
    border: 1px solid red;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#contact .form #sendmessage.show,
#contact .form #errormessage.show,
#contact .form .show {
    display: block;
}

#contact .form .validation {
    color: red;
    display: none;
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 13px;
}

#contact .form input,
#contact .form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

#contact .form button[type="submit"] {
    background: #2dc997;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
}

#contact .form button[type="submit"]:hover {
    background: #51d8ad;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #05182a;
    padding: 30px 0;
    color: #fff;
    font-size: 14px;
}

#footer .copyright {
    text-align: center;
}

#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #ccc;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/

#about .card {
    background: linear-gradient(
        to right,
        #05182a,
        #1d4163
    ); /* Adjust colors and direction as needed */
    color: white; /* Teks berwarna putih */
    margin-bottom: 20px; /* Menambahkan jarak bawah antara kartu */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(38, 48, 45, 0.5);
}

#about .card .card-title {
    color: #00b125; /* Pastikan judul juga berwarna putih */
    font-weight: bold; /* Menjadikan teks bold */
    text-align: center; /* Mengatur teks menjadi center */
    border-bottom: 2px solid white; /* Menambahkan garis bawah */
    padding-bottom: 10px; /* Menambahkan jarak antara teks dan garis */
}

#about .card .card-text {
    color: white; /* Pastikan deskripsi juga berwarna putih */
    text-align: justify;
}

#about .card-text {
    max-height: 70px; /* Batasi tinggi teks */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

#about .card-text.expanded {
    max-height: none; /* Biarkan teks tampil penuh ketika tombol diklik */
}

#about .toggle-text {
    color: #00b125;
    cursor: pointer;
    text-decoration: none;
}

#about .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Memastikan konten diatur dengan baik */
}

#about .section-title {
    margin-bottom: 40px; /* Atur sesuai kebutuhan */
}

#about .card-text {
    max-height: 4.5em; /* Sesuai ukuran font */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Menampilkan hanya 3 baris */
    -webkit-box-orient: vertical;
    transition: max-height 0.3s ease-in-out;
}

#about .card-text.expanded {
    max-height: none; /* Menampilkan teks penuh saat tombol diklik */
    -webkit-line-clamp: unset;
}
#about .card {
  background: linear-gradient(
      to right,
      #05182a,
      rgb(29, 65, 99)
  ); /* Adjust colors and direction as needed */
  color: white; /* Teks berwarna putih */
  margin-bottom: 20px; /* Menambahkan jarak bawah antara kartu */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(38, 48, 45, 0.5);
}

#about .card .card-title {
  color: #00b125; /* Pastikan judul juga berwarna putih */
  font-weight: bold; /* Menjadikan teks bold */
  text-align: center; /* Mengatur teks menjadi center */
  border-bottom: 2px solid white; /* Menambahkan garis bawah */
  padding-bottom: 10px; /* Menambahkan jarak antara teks dan garis */
}

#about .card .card-text {
  color: white; /* Pastikan deskripsi juga berwarna putih */
  text-align: justify;
}

#about .card-text {
  max-height: 70px; /* Batasi tinggi teks */
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

#about .card-text.expanded {
  max-height: none; /* Biarkan teks tampil penuh ketika tombol diklik */
}

#about .toggle-text {
  color: #00b125;
  cursor: pointer;
  text-decoration: none;
}

#about .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Memastikan konten diatur dengan baik */
}

#about .section-title {
  margin-bottom: 40px; /* Atur sesuai kebutuhan */
}

#about .card-text {
  max-height: 4.5em; /* Sesuai ukuran font */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Menampilkan hanya 3 baris */
  -webkit-box-orient: vertical;
  transition: max-height 0.3s ease-in-out;
}

#about .card-text.expanded {
  max-height: none; /* Menampilkan teks penuh saat tombol diklik */
  -webkit-line-clamp: unset;
}
