@import url('https://fonts.googleapis.com/css2?family=Nunito&family=Ubuntu:ital,wght@0,400;0,500;0,700;1,700&display=swap');

:root {
    --primary-color: #fff;
    --secondary-color: #d4f4c4;
    --primary-font: 'Nunito', system-ui;
    --secondary-font: 'Ubuntu', sans-serif;
    --hero: 2.5rem;
    --h1: 2rem;
    --h2: 1.5rem;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    background-color: var(--primary-color);
    font-family: var(--primary-font);
    font-size: 20px;
    text-align: center;
}

/* Hero section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    padding-bottom: 0;
    background-color: var(--secondary-color); 
}

.hero .container {
    width: 100%;
}

.hero .title {
    font-family: var(--secondary-font);
    font-size: var(--hero);
    font-weight: bold;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.hero .subtitle {
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.hero .button {
    background-color: #ffa500;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.hero .button:hover {
    background-color: #e69500;
}

.hero .button a {
    text-decoration: none;
    color: inherit; /* Agar warna teks link mengikuti warna tombol */
}

/* images inside hero */
.hero .hero-image {
    display: flex;
    justify-content: center;
}

.hero .hero-image img {
    width: 80%;
    height: auto;
}

/* Responsive Design for hero */
@media (max-width: 768px) {
    .hero .title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero .title {
        font-size: 2rem;
    }

    .hero .hero-image img {
        width: 100%;
        height: auto;
    }
}

/* testimoni section */
.testimoni-section {
    background-color: #f8f8f8; /* Warna latar belakang untuk section */
    padding: 20px 0; /* Padding untuk memberikan ruang di atas dan bawah */
    margin: 0;
    color: #333;
}

.testimoni-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.testimoni-section .header {
    margin-bottom: 40px;
}

.testimoni-section .header h1 {
    font-size: var(--h1);
    color: #4a4a4a;
    margin: 0;
}

.testimoni-section .header h2 {
    font-size: var(--h2);
    color: #4a4a4a;
    margin: 10px 0 0;
}

.testimoni-section .header p {
    color: #6c757d;
    margin: 10px 0 0;
}

.testimoni-section .testimonial {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.testimoni-section .testimonial:hover {
    transform: translateY(-5px);
}

.testimoni-section .testimonial p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0 0 20px;
}

.testimoni-section .profile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimoni-section .profile img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.testimoni-section .profile .name {
    font-weight: 700;
    color: #4a4a4a;
    margin: 0;
}

.testimoni-section .profile .role {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 600px) {
    .testimoni-section .header h1 {
        font-size: 20px;
    }

    .testimoni-section .header h2 {
        font-size: 18px;
    }

    .testimoni-section .testimonial p {
        font-size: 14px;
    }

    .testimoni-section .profile .name {
        font-size: 16px;
    }

    .testimoni-section .profile .role {
        font-size: 12px;
    }
}

/* section youtube */
section.youtube {
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 50px;
}

section.youtube .video-frame {
    width: 300px;
    height: 533px; /* Aspect ratio for vertical video (9:16) */
    background: linear-gradient(135deg, rgba(0, 255, 200, 0.6), rgba(0, 120, 255, 0.6));
    padding: 20px;
    margin: 10px;
    border-radius: 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

section.youtube .video-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
    animation: rotate 6s infinite linear;
    z-index: 1;
}

section.youtube iframe {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
    position: relative;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    section.youtube {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    section.youtube {
        flex-direction: column;
    }
}

/* problem section */
.problem { /* Menambahkan styling untuk class problem */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #fff;
    width: 100%; /* Memastikan section memanjang penuh */
    margin: 0; /* Menghapus margin otomatis */
    box-shadow: none; /* Menghapus bayangan */
}

.problem .header { /* Semua kelas di dalam problem */
    text-align: center;
    margin-bottom: 20px;
}

.problem .content {
    text-align: center;
}

.problem .content h2 {
    font-size: var(--h2);
    color: #4b5320;
    font-weight: bold;
    margin: 20px 0;
}

.problem .content p {
    color: #888888;
    margin-bottom: 20px;
}

.problem .list {
    text-align: left;
    margin-bottom: 20px;
    width: 80%;
}

.problem .list ul {
    list-style: none;
    padding: 0;
}

.problem .list ul li {
    color: #4b5320;
    margin-bottom: 10px;
    display: flex;
}

.problem .list ul li i {
    color: #4b5320;
    margin-right: 10px;
}

.problem .image {
    text-align: center;
    margin-top: 20px;
}

.problem .image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .problem .list {
        width: 100%;
    }

    .problem .list ul li {
        font-size: 1rem;
    }
}

/* Section excess */
.excess {
    padding: 20px;
    background-color: var(--secondary-color);
    color: #333;
    text-align: center; 
}

.excess h2 {
    padding: 20px;
}

.excess p {
    margin-bottom: 10px;
}

.excess img {
    max-width: 100%;
}

@media (max-width: 600px) {
    .excess p {
        text-align: left;
        margin-bottom: 20px;
    }
}

/* section price */
.price .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.price .header {
    margin-bottom: 20px;
}

.price .header h1 {
    font-size: var(--h1);
    color: #6b8e23;
    margin: 0;
}

.price .header h2 {
    font-size: var(--h2);
    color: #4b5320;
    margin: 10px 0;
}

.price .product-image {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
}

.price .product-image img {
    width: 100%;
}

.price .price-section {
    background-color: #f0fff0;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.price .price-section h3 {
    font-size: 1rem;
    color: #6b8e23;
    margin: 0;
}

.price .price-section .old-price {
    text-decoration: line-through;
    color: #a9a9a9;
}

.price .price-section .new-price {
    font-size: 1rem;
    color: #4b5320;
    margin: 10px 0;
}

.price .price-section .features {
    text-align: left;
    margin: 20px 0;
}

.price .price-section .features li {
    list-style: none;
    margin: 10px 0;
    color: #4b5320;
}

.price .price-section .features li i {
    color: #6b8e23;
    margin-right: 10px;
}

.price .price-section .buy-button {
    background-color: #ffa500;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.price .price-section .buy-button a {
    text-decoration: none;
    color: inherit;
}

.price .price-section .buy-button.secondary {
    background-color: #fff;
    color: #4b5320;
    border: 2px solid #4b5320;
}

.price .footer {
    margin-top: 20px;
}

.price .footer img {
    width: 50px;
    margin: 0 10px;
}

.price .footer p {
    font-size: 0.8px;
    color: #4b5320;
}

@media (max-width: 600px) {
    .price .price-section .features {
        font-size: 1rem;
    }
}

/* section warranty */
.warranty {
    padding: 20px;
    text-align: center;
    color: #4a4a4a;
}

.warranty .container {
    padding: 20px;
}

.warranty .image-container {
    position: relative;
    display: inline-block;
}

.warranty .image-container img {
    width: 200px;
    margin: 0 10px;
}

.warranty .badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
}

.warranty .title {
    font-size: 1rem;
    color: #b0b0b0;
    margin-top: 40px;
    letter-spacing: 2px;
}

.warranty .main-title {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin: 10px 0;
    font-weight: bold;
}

.warranty .description {
    font-size: 1rem;
    color: #7a7a7a;
    margin: 10px auto;
    line-height: 1.6;
    max-width: 600px;
}

/* section loss */
.loss {
    background-color: #ffffff;
    color: #333333;
}

.loss .container {
    max-width: 800px;
    margin: auto;
    padding: 30px 20px;
    text-align: center;
}

.loss .header {
    font-size: 1rem;
    color: #B0B0B0;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.loss .title {
    font-size: var(--h2);
    color: #4A4A4A;
    font-weight: bold;
    margin-bottom: 10px;
}

.loss .subtitle {
    font-size: 1rem;
    color: #A0A0A0;
    margin-bottom: 50px;
}

.loss .point {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loss .point img {
    width: 50px;
    height: 50px;
}

.loss .point-title {
    font-size: 1rem;
    color: #4A4A4A;
    font-weight: bold;
}

.loss .point-description {
    font-size: 0.9rem;
    color: #A0A0A0;
}

@media (min-width: 600px) {
    .loss .point {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .loss .point img {
        margin-right: 20px;
    }

    .loss .point-title,
    .loss .point-description {
        text-align: left;
    }
}

/* section faq */
.faq {
    background-color: var(--secondary-color);
    color: #333333;
    text-align: left;
}
.faq .container {
    max-width: 800px; /* Memperbaiki lebar kontainer */
    margin: 0 auto;
    padding: 20px;
}
.faq .faq-header {
    text-align: left;
    color: #6c757d;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.faq .faq-title {
    font-size: 1rem;
    color: #2d3e50;
    font-weight: bold;
    margin-bottom: 20px;
}
.faq .faq-description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 30px;
}
.faq .faq-item {
    margin-bottom: 30px;
}
.faq .faq-question {
    font-size: 1.2rem;
    color: #2d3e50;
    font-weight: bold;
    margin-bottom: 10px;
}
.faq .faq-answer {
    font-size: 1rem;
    color: #6c757d;
}
.faq .faq-divider {
    border-top: 1px dashed #dcdcdc;
    margin: 20px 0;
}

@media (max-width: 600px) {
    .faq .container {
        width: 90%;
    }
}

/* footer */
footer {
    /* background-color: #f1f1f1; */
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1rem;
}