/* main-css-start */
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(25.16% 11.67% at 75.73% 10.55%, #0C4E45 39.9%, #0A4039 55.04%, #08322C 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
}

p {
    font-family: 'Inter', sans-serif;
}
/* main-css-end */

/* hero-section-start */
.hero-section {
    background-image: url('../img/hero/hero-new-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-container {
    margin-right: 120px;
    margin-left: 120px;
    display: flex;
}

.hero-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: start;
    color: #ffffff;
    width: 100%;
}

.hero-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: start;
    color: #ffffff;
    width: 100%;
    max-width: 476px;
}

.hero-app {
    display: flex;
    gap: 20px;
}

.hero-app img {
    width: 150px;
    height: auto;
}

.mockup-images {
    width: 100%;
    height: auto;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 80px 20px;
        background: none !important; 
        min-height: auto;
        width: 100%;
    }

    .hero-container {
        flex-direction: column-reverse;
        align-items: center;
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .hero-content {
        padding-top: 20px;
        width: 100%;
        align-items: center;
    }

    .hero-title {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 10px;
        padding: 0;
    }

    .hero-app {
        justify-content: center;
    }

    .hero-app img {
        width: 130px;
    }

    .mockup-images {
        width: 100%;
        margin-top: 40px;
    }

    .mockup-images img {
        max-width: 350px;
        width: 100%;
    }
}

@media (min-width: 1024px) and (max-width:1279.9px) {
    .hero-section {
        padding: 120px 0;
        background: none !important; 
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin: 0 60px;
        text-align: left;
    }

    .hero-content {
        width: 50%;
        align-items: flex-start;
        padding-top: 0;
    }

    .hero-title {
        font-size: 2rem;
        text-align: left;
        margin-bottom: 15px;
    }

    .hero-desc {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 25px;
    }

    .hero-app {
        justify-content: flex-start;
    }

    .mockup-images {
        width: 50%;
        margin-top: 0;
        display: flex;
        justify-content: center;
    }

    .mockup-images img {
        max-width: 400px;
        width: 100%;
    }
}
/* hero-section-end */

/* partner-section-start */
.partner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 60px;
    gap: 20px;
    overflow: hidden;
}

.partner-desc {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #ffffff;
}

.tp-integration-slider-wrapper {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: slide 100s linear infinite;
    will-change: transform;
}

.partner-card {
    background-color: rgba(21, 133, 118, 0.1);
    border-radius: 16px;
    box-shadow: 0 1px rgba(21, 133, 118, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 180px;
    height: 90px;
}

.partner-card img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .partner-card {
        width: 150px;
        height: 90px;
    }
    
    .tp-integration-slider-wrapper {
        gap: 15px;
    }
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* partnert-section-end */

/* about-section-start */
.about-section {
    padding-top: 60px;
    padding-bottom: 100px;
    margin-right: 120px;
    margin-left: 120px;
}

.about-title{
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0;
    color: rgba(232, 232, 232, 1);
}

.about-desc{
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: rgba(210, 210, 210, 1);
}

.about-card {
    width: 384px;
    height: auto;
    border-radius: 24px;
    padding: 24px 24px 12px 24px;
    opacity: 1;
    background: radial-gradient(
        75.23% 21.09% at 50% 13.4%,
        #082C27 98.71%,
        #0C3C35 100%
    );
    transition: transform 0.3s ease; 
}

.about-card-news {
    width: 384px;
    height: 484px;
    border-radius: 24px;
    padding: 24px 24px 12px 24px;
    opacity: 1;
    background: #031C19;
    transition: transform 0.3s ease; 
}

.about-card:hover {
    transform: scale(1.1);
}

.card-content {
    width: 100%;
    height: auto;
}

.card-content h5{
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: rgba(232, 232, 232, 1);
}

.card-content p {
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: rgba(210, 210, 210, 1);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.2rem;
    width: 100%;
}

.logo img {
    width: 185px; 
    height: 50px;
    object-fit: contain;
}

.about-list li span {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    color: #5E6282;
}

.card-hover {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(8, 50, 44, 1);
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: scale(105%);

}

.desktop-break {
    display: inline;
}

@media (max-width: 1024px) {
    .desktop-break {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .about-section {
        margin: 0 60px;
    }

    .about-title {
        font-size: 26px;
        line-height: 32px;
    }

    .about-desc {
        font-size: 15px;
        line-height: 22px;
        max-width: 600px;
        margin: 0 auto;
    }

    .row.gap-4 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .about-card {
        border: 1px solid #0C4E45;
        height: auto;
        padding: 20px;
    }

    .card-content {
        height: auto;
    }

    .logo{
        margin-bottom: 40px;
    }

    .logo img {
        width: 160px;
        height: 49px;
    }

    .card-content h5 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .about-section {
        margin: 0 20px;
    }

    .about-title {
        font-size: 22px;
        line-height: 28px;
        text-align: center;
    }

    .about-desc {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }

    .row.gap-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-card {
        width: 100%;
        height: auto;
        padding: 20px;
        border: 1px solid #0C4E45;
        transform: none !important;
    }

    .logo img {
        width: 150px;
        height: auto;
    }

    .card-content h5 {
        font-size: 16px;
    }

    .card-content p {
        font-size: 13px;
        text-align: center;
    }

    .card-hover {
        border-top: 1px solid rgba(8, 50, 44, 1);
        justify-content: center;
    }
}
/* about-section-end */

/* feature-section-start */
.feature-text-content h3 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #0F211F;
}

.feature-text-content p {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    color: #5E6282;
}

.swiper-container {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    max-width: 1250px;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    width: auto;
    min-width: 380px;
    border-radius: 10px;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 380px;
    height: 374px;
    background: rgba(26, 153, 136, 0.1);
    padding: 50px;
    text-align: center;
}

.feature-box img {
    width: 200px;
    height: auto;
}

.feature-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F211F;
    margin-top: 20px;
}

.feature-box p {
    font-size: 0.75rem;
    font-weight: 400;
    color: #0F211F;
    margin-top: 10px;
}

.swiper-pagination {
    margin-top: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #1a9988;
}

@media (max-width: 1024px) {
    .feature-text-content h3 {
        font-size: 2rem;
    }

    .swiper-slide {
        min-width: 320px;
    }

    .feature-box {
        padding: 40px;
        min-height: 340px;
    }

    .feature-box img {
        width: 180px;
    }

    .feature-box h3 {
        font-size: 1rem;
    }
}

/* feature-section-end */

/* growth-section-start */
.growth-container {
    padding: 30px 120px;
    background-color: rgba(4, 43, 38, 1);
}

.growth-content-box {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    justify-content: center;
    max-width: 1250px;
    gap: 36 px;
}
.growth-card{
    width: 400px;
}

.growth-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.growth-container img {
    width: 165px;
    height: 125px;
    object-fit: contain;
    margin-bottom: 10px;
}

.growth-content .growth-content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(12, 78, 69, 1);
    padding: 10px;
    width: 100%;
}

.growth-content .growth-content-text h4 span {
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
}

.growth-content .growth-content-text p {
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0;
    color: rgba(232, 232, 232, 1);
}

@media (max-width: 1024px) {
    .growth-container {
        padding: 40px 60px;
    }

    .growth-content-box {
        flex-wrap: wrap;
        gap: 24px;
    }

    .growth-card {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .growth-content .growth-content-text h4 span {
        font-size: 26px;
    }

    .growth-content .growth-content-text p {
        font-size: 16px;
    }
}

/* 🔹 Mobile (max 768px) */
@media (max-width: 768px) {
    .growth-container {
        padding: 30px 20px;
    }

    .growth-content-box {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .growth-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .growth-container img {
        width: 120px;
        height: 90px;
    }

    .growth-content .growth-content-text h4 span {
        font-size: 24px;
        line-height: 28px;
    }

    .growth-content .growth-content-text p {
        font-size: 14px;
        line-height: 18px;
    }
}

/* growth-section-end */

/* article-section-start */
.article-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    background-color: rgba(26, 153, 136, 0.05);
    padding-left: 150px;
    padding-right: 150px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.article-text-content h3{
    font-size: 48px;
    font-weight: 700;
    line-height: 62.4px;
    letter-spacing: 0%;
    text-align: center;
}

/* Collaboration section */
.collaboration-section {
    background: radial-gradient(77.95% 195.3% at 22.05% 46.58%, rgba(21, 133, 118, 0) 0%, rgba(17, 105, 93, 0) 36.53%);
    padding: 80px 100px;
    display: flex;
    justify-content: center;
}

.collaboration-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
    max-width: 1300px;
    width: 100%;
}

/* Banner Section */
.banner-content {
    flex: 1;
    color: white;
    border-radius: 40px;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-content .title-promotion {
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 2.500rem;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #ffffff;
}

.banner-content .desc-promotion {
    font-family: 'Public Sans', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0;
    color: rgba(226, 232, 240, 1);
}

.banner-button {
    background: #15274A;
    border-radius: 10px;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

.banner-button:hover {
    background: #0e1a33;
}

.banner-button a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.image-promotion img {
    width: 100%;
    max-width: 400px;
    margin-top: 30px;
}

/* Form Section */
.form-content {
    flex: 1;
    background-color: rgba(21, 133, 118, 0.2);
    width: 100%;
    max-width: 607px;
    border-radius: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-input-area{
    padding: 20px;
}

.form-input-area h1 {
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 20px;
}

.form-content p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-family: 'Public Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(226, 232, 240, 1);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.message-container {
    height: 150px;
    resize: vertical;
}

.btn-section {
    background-color: #003A32;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    display: flex;
    justify-content: flex-end;
    padding: 14px 24px;
}

.form-button {
    border-radius: 45px;
    background: rgba(12, 78, 69, 1);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-button:hover {
    background: #106b5e;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 992px) {
    .collaboration-section {
        background: radial-gradient(77.95% 195.3% at 22.05% 46.58%, rgba(21, 133, 118, 0) 0%, rgba(17, 105, 93, 0) 36.53%);
        padding: 80px 0;
        display: flex;
        justify-content: center;
    }

    .collaboration-container {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 40px;
        max-width: 1300px;
        width: 100%;
    }

    .collaboration-container {
        flex-direction: column;
        padding: 20px;
    }

    .form-content {
        border-radius: 20px;
    }

    .banner-content{
        padding: 0;
    }

    .banner-content .title-promotion {
        font-size: 1.75rem;
        text-align: center;
    }

    .banner-content .desc-promotion {
        text-align: center;
    }

    .banner-button {
        margin: 0 auto 20px;
    }

    .image-promotion img {
        display: none;
    }

    .form-input-area {
        padding: 30px;
    }
}

/* ====================
   DARK MODE CUSTOMIZATION
   ==================== */
body.dark-mode {
  background-color: #2c2c2c; /* warna lebih terang dari hitam pekat */
  color: #ffffff;
}

body.dark-mode .hero-section,
body.dark-mode .feature-section,
body.dark-mode .form-section,
body.dark-mode .about-section,
body.dark-mode .tp-fun-fact-area,
body.dark-mode .banner-section {
  background-color: #2c2c2c; /* abu tua */
  color: #ffffff;
}

body.dark-mode .hero-title,
body.dark-mode .hero-desc,
body.dark-mode .about-title,
body.dark-mode .about-list span,
body.dark-mode .feature-title,
body.dark-mode .feature-box p,
body.dark-mode .form-section h1,
body.dark-mode .form-section p,
body.dark-mode .banner-section .title-promotion,
body.dark-mode .banner-section .desc-promotion,
body.dark-mode .text-dark,
body.dark-mode .text-secondary {
  color: #ffffff !important;
}

body.dark-mode .about-card p {
  color: #ffffff !important
}

body.dark-mode .feature-text-content p {
  color: #ffffff !important
}

body.dark-mode .banner-section {
  background-color: #1A9988;
}

body.dark-mode .banner-card-box {
  background-color: #1A9988 !important
}

/* Optional: input form background di dark mode */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: #333 !important;
  color: #fff !important;
  border: 1px solid #555;
}

body.dark-mode .feature-box h3{
  color:white !important
}

body.dark-mode .partner-container{
  background-color: #1A99881A !important
}

body.dark-mode .form-control{
  background-color: #333 !important
}


/* === DARK MODE GLOBAL === */
body.dark-mode {
    background-color: #2c2c2c !important;
    color: #ffffff !important;
}

body.dark-mode a { color: #007bff !important; }

/* Navbar & Footer */
body.dark-mode header,
body.dark-mode nav,
body.dark-mode footer {
    background-color: #2c2c2c !important;
    color: #ffffff !important;
}

body.dark-mode nav ul li a { color:#fff !important; }

/* === CHATBOT === */
#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1a9988;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 22px;
    cursor: pointer !important;
    z-index: 1000000 !important;
}

#chatbot-panel {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 80px; /* 20px + tinggi tombol WA (60px) */
    right: 20px;
    width: 370px;
    height: 500px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    z-index: 10001; /* di atas tombol WA */
}

#chatbot-panel header {
    background:#1a9988;
    color:white;
    padding:12px;
    font-weight:bold;
    text-align:center;
}

#chatbot-messages {
    flex:1;
    overflow-y:auto;
    padding:12px;
    font-size:14px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

#chatbot-input {
    display:flex;
    border-top:1px solid #ddd;
    padding:10px;
    gap:5px;
}

#chatbot-input input {
    flex:1;
    padding:10px;
    border:none;
    border-radius:5px;
}

#chatbot-input button {
    background:#1a9988;
    color:white;
    border:none;
    padding:9px 14px;
    border-radius:5px;
    cursor:pointer;
}

.chat-bubble {
    padding:10px 15px;
    border-radius:20px;
    max-width:80%;
    word-wrap:break-word;
}

.chat-bubble.user {
    background-color: #e6f0ff;
    align-self: flex-end;
    text-align:right;
}

.chat-bubble.bot {
    background-color: #f1f1f1;
    align-self: flex-start;
    text-align:left;
}

/* === CHATBOT DARK MODE === */
body.dark-mode #chatbot-panel {
    background:#1e1e1e !important;
    color:#f1f1f1 !important;
    border:1px solid #333 !important;
}
body.dark-mode .chat-bubble.user { background:#2c2c2c !important; color:#fff !important; }
body.dark-mode .chat-bubble.bot { background:#3a3a3a !important; color:#fff !important; }
body.dark-mode #chatbot-input input { background:#2c2c2c !important; color:#fff !important; }
body.dark-mode #chatbot-input button { background:#4da6ff !important; color:#fff !important; }

/* === TOGGLE DARK MODE BUTTON === */
#toggleDarkMode {
    margin-left: 10px;
    background: #ffffff;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    border:none;
    cursor:pointer;
}
/* Link di chatbot */
#chatbot-messages a {
  color: #007bff; /* Biru (Bootstrap Blue) */
  text-decoration: underline;
}

/* Hover effect */
#chatbot-messages a:hover {
  color: #0056b3; /* Biru lebih gelap */
}

body.dark-mode .about-card p {
    color: #5f6368 !important;
}

body.dark-mode a {
    color: #ffffff !important;
}

body.dark-mode .about-card-2 h5{
    color: #ffffff !important;
}

body.dark-mode .about-card .card-2 p{
    color: #ffffff !important;
}