/* Color Palette */
:root {
    --primary-black: #1a1a1a;
    --secondary-black: #222;
    --accent-yellow: #FFC107;
    --light-grey: #f4f4f4;
    --dark-grey: #555;
}

/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-black);
    color: var(--light-grey);
    line-height: 1.6;
}

.section {
    padding: 80px 5%;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    background-color: #e5b330;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animasi */
.anim-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navigasi */

header {
    background-color: var(--secondary-black);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

/* Ikon Hamburger */
.menu-toggle {
    background: transparent;
    border: none;
    color: var(--primary-white);
    font-size: 2rem;
    cursor: pointer;
    display: block;
}


/* Styling tombol close */
.close-btn {
    background: transparent;
    border: none;
    color: var(--light-grey);
    font-size: 2.5rem;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

/* Menu Overlay  */

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: var(--secondary-black);
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav.active .close-btn {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin-top: 80px;
    width: 100%;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    color: var(--light-grey);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: left;
}

.mobile-nav a:hover {
    background-color: #333;
    color: var(--accent-yellow);
}

/* Penyesuaian untuk Tombol Close */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: var(--light-grey);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover {
    color: var(--accent-yellow);
}

#hero {
    position: relative;
    z-index: 1;
}

@media (max-width: 320px) {
    .mobile-nav {
        width: 250px;
        right: -250px;
    }
}

.mobile-nav .consult-btn {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    padding: 12px 20px;
}

.mobile-nav .consult-btn:hover {
    background-color: #e5b330;
    color: var(--primary-black);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/bg.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}
.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* About Us */
.about-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-item {
    background-color: var(--secondary-black);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

.about-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.about-item h3 {
    color: var(--accent-yellow);
    font-size: 1.5em;
    margin-bottom: 5px;
    line-height: 1.3;
    transform: translateY(-5px);
}

.about-item p {
    color: var(--light-grey);
    margin: 0;
    line-height: 1.6;
    transform: translateY(-5px);
}

/* Packages Dropdown */
.packages-container {
    max-width: 800px;
    margin: 0 auto;
}

.package-item {
    background-color: var(--secondary-black);
    border: 1px solid var(--dark-grey);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.package-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--accent-yellow);
    transition: background-color 0.3s ease;
    text-align: left;
}

.package-title:hover {
    background-color: #2a2a2a;
}

.package-title i {
    transition: transform 0.3s ease;
}

.package-title i.rotate {
    transform: rotate(180deg);
}

.package-content {
    padding: 0 20px; 
    color: var(--light-grey);
    background-color: var(--secondary-black);
    max-height: 0; 
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.package-title.active + .package-price + .package-content {
    padding: 20px; 
}

.package-content p, .package-content ul {
    margin-top: 0;
    text-align: left;
}

.package-content ul {
    list-style-type: none;
    padding-left: 0;
}

.package-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 20px;
}

@media (min-width: 992px) { 
    .package-item {
        align-self: flex-start; 
    }
}

/* Services */
.services-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card {
    background-color: var(--secondary-black);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.service-card h3 {
    color: var(--accent-yellow);
    font-size: 1.5em;
    margin-bottom: 5px;
    line-height: 1.3;
    transform: translateY(-5px);
}

.service-card p {
    color: var(--light-grey);
    margin: 0;
    line-height: 1.6;
    transform: translateY(-5px);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--secondary-black);
    border: 1px solid var(--dark-grey);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    cursor: pointer;
    color: var(--accent-yellow);
    transition: background-color 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    background-color: #2a2a2a;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question i.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    text-align: left;
}

.faq-answer li {
    margin-bottom: 10px;
}

/* testimoni */
.testimonial-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}
.testimonial-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.testimonial-carousel::-webkit-scrollbar {
    display: none;
}
.testimonial-card {
    background-color: var(--secondary-black);
    border: 1px solid var(--accent-yellow);
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    flex-shrink: 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.testimonial-card h4 {
    color: var(--accent-yellow);
    margin-top: 15px;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 10;
}
.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: 0; }
.next-btn { right: 0; }


/* Contact */
#contact {
    background-color: var(--secondary-black);
    color: var(--light-grey);
}
.contact-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: left;
}
.contact-form-container, .contact-info {
    width: 450px;
}
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dark-grey);
    border-radius: 5px;
    background-color: var(--primary-black);
    color: var(--light-grey);
    font-family: 'Poppins', sans-serif;
}

#contact-form textarea {
    resize: vertical;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.social-media p {
    margin: 0;
}

#contact .contact-info p {
    margin: 0;
}

.social-media a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-media a:hover {
    color: var(--accent-yellow);
}

/* Footer Style */
.footer {
    background-color: var(--secondary-black);
    color: #f0f0f0;
    padding: 60px 5% 30px;
    font-size: 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img.small-footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    display: block;
}

.footer-col h2 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-left: 0;
    text-align: left;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--accent-yellow);
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #ccc;
    text-align: left;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
}

.footer-col ul li a i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: #333;
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-yellow);
    background-color: #444;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

/* Efek animasi untuk teks CARIV Studio di footer */
.studio-anim {
    animation: pulse-studio 2s infinite;
    display: inline-block;
}

@keyframes pulse-studio {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Styling untuk Formulir Pendaftaran */

#join-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent-yellow);
}

#join-form input,
#join-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--dark-grey);
    background-color: #333;
    color: var(--light-grey);
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#join-form input:focus,
#join-form textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background-color: #444;
}

#join-form input::placeholder,
#join-form textarea::placeholder {
    color: #888;
    opacity: 1;
}

#join-form .btn {
    width: auto;
    align-self: flex-end;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .join-container {
        padding: 20px;
    }
    .join-image {
        display: none;
    }
}

/* Gaya untuk Pendaftaran Anggota */
#join-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.join-container {
    background-color: var(--secondary-black);
    border: 1px solid var(--accent-yellow);
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

.announcement h3 {
    color: var(--accent-yellow);
    font-size: 2em;
    margin-bottom: 10px;
}

.announcement p {
    font-size: 1.1em;
    color: var(--light-grey);
    margin-bottom: 25px;
}

.social-links-announcement a {
    display: inline-block;
    height: 50px;
    width: 50px;
    background-color: #333;
    margin: 0 8px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    color: var(--accent-yellow);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-links-announcement a:hover {
    color: #fff;
    background-color: #555;
}

/* Gaya untuk di Footer */
.join-us-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
}

.join-link-footer {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.join-link-footer:hover {
    background-color: #f4e8c1;
}

/* Animasi Teks */
.animated-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s ease-out forwards;
}

.animated-text:nth-child(1) {
    animation-delay: 0.2s;
}

.animated-text:nth-child(2) {
    animation-delay: 0.5s;
}

.animated-text:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Styling untuk formulir pembelian */
#buy-form-page h1 {
    margin-top: 0;
}

#buy-form-page .form-container {
    margin-top: 0px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--secondary-black);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dark-grey);
    border-radius: 5px;
    background-color: var(--primary-black);
    color: var(--light-grey);
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e5b330;
}

/* Styling untuk checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

/* Gaya untuk achievement */
#achievements {
    background-color: var(--primary-black);
    padding: 60px 5%;
}

.achievements-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

.achievement-item {
    text-align: center;
    color: var(--light-grey);
    background-color: var(--secondary-black);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    width: 250px;
    height: 180px;
    box-sizing: border-box;
    
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.achievement-item h2 {
    font-size: 3.8em;
    font-weight: 700;
    color: var(--accent-yellow);
    margin: 0;
    line-height: 1.1;
}

.achievement-item p {
    font-size: 1.2em;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    color: var(--light-grey);
}

/* Tampilan mobile */
@media (max-width: 600px) {
    .achievement-item {
        width: 100%;
        height: 150px;
    }

    .achievements-container {
        gap: 20px;
    }

    .achievement-item h2 {
        font-size: 3em;
    }
}

/* Gaya untuk Bagian Info Pembayaran */
#payment-info {
    padding: 80px 5%;
    background-color: var(--primary-black);
    color: var(--light-grey);
    text-align: center;
}

.payment-warning {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid #f5c6cb;
    font-size: 1.1em;
    font-weight: 500;
}

.payment-warning p {
    margin: 5px 0;
}

#payment-info h2 {
    font-size: 2.8em;
    color: var(--accent-yellow);
    margin-bottom: 40px;
}

.payment-rules {
    background-color: var(--secondary-black);
    padding: 30px;
    border-radius: 10px;
    margin: 0 auto 30px auto;
    max-width: 700px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.payment-rules h3 {
    color: var(--accent-yellow);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.payment-rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-rules ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.payment-rules ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-yellow);
    position: absolute;
    left: 0;
    top: 0;
}

.payment-rules p {
    font-size: 1.1em;
    margin-top: 25px;
    line-height: 1.6;
    text-align: center;
}

.bank-details {
    background-color: var(--secondary-black);
    padding: 30px;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 700px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.bank-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bank-details ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

.bank-details ul li strong {
    color: var(--accent-yellow);
    min-width: 100px;
    display: inline-block;
}

@media (max-width: 768px) {
    #payment-info h2 {
        font-size: 2.2em;
    }

    .payment-rules,
    .bank-details {
        padding: 20px;
    }

    .payment-warning {
        font-size: 0.95em;
        padding: 10px 15px;
    }
}

/* Gaya untuk bagian Penjelasan & Info pada formulir */
.info-section {
    background-color: var(--secondary-black);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    text-align: left;
}

.info-section h3 {
    color: var(--accent-yellow);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.info-section h4 {
    color: var(--light-grey);
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.info-section p {
    color: var(--light-grey);
    line-height: 1.6;
    margin: 0;
}

/* Gaya untuk input Kode Promo */
.promo-group {
    margin-bottom: 20px;
}

.promo-input-container {
    display: flex;
    gap: 10px;
}

#promo-code {
    flex-grow: 1;
}

#apply-promo-btn {
    padding: 10px 15px;
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#apply-promo-btn:hover {
    background-color: #e5b330;
}

#promo-status {
    font-size: 0.9em;
    margin-top: 10px;
    text-align: right;
    color: #4CAF50;
}

/* Gaya untuk tampilan Total Harga */
.total-price-section {
    text-align: right;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--dark-grey);
}

.total-price-section p {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

#total-price {
    font-size: 1.8em;
    color: var(--accent-yellow);
    margin-top: 5px;
}

/* Gaya untuk gambar di atas formulir */
.form-image-container {
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.form-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .form-image-container {
        margin-left: 5%;
        margin-right: 5%;
    }
}

/* Styling untuk harga paket */
.package-price {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--accent-yellow);
    margin: 5px 0 15px;
    text-align: center;
}

/* Styling portfolio  */
.filter-controls {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--light-grey);
    padding: 10px 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    box-shadow: 0 0 15px var(--accent-yellow), 0 0 10px rgba(255, 193, 7, 0.5);
    transform: translateY(-2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    animation: fadeIn 1s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay-content h3 {
    margin-bottom: 5px;
    font-size: 1.0em;
    color: var(--accent-yellow);
}

.overlay-content p {
    margin-bottom: 3px;
    font-size: 0.7em;
}

.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 0.8em;
    background-color: #ff6347;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e55337;
}

/* Styling blog */
.blog-section {
    padding: 80px 5%;
    max-width: 1000px;
    margin: auto;
    text-align: left;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

#blog-posts-container {
  display: none;
}

.blog-post {
    background-color: var(--secondary-black);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 193, 7, 0.1); 
    display: flex; 
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.blog-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.4s ease;
}

.blog-post:hover .blog-image {
    filter: brightness(1);
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post h3 {
    color: var(--accent-yellow);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Author dan Tanggal */
.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: var(--dark-grey);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.blog-meta i {
    margin-right: 5px;
    color: var(--accent-yellow);
}

.blog-author, .blog-date {
    display: flex;
    align-items: center;
}

.blog-post p {
    color: var(--light-grey);
    font-size: 0.95em;
    line-height: 1.6;
    flex-grow: 1; 
    margin-bottom: 20px;
}

/* Tombol Baca Selengkapnya */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--accent-yellow); 
    font-weight: 600;
    margin-top: auto; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    transition: color 0.4s ease;
    text-decoration: none;
    cursor: pointer; 
}

.read-more-btn:hover {
    color: #ffd700; 
}

.read-more-btn i {
    margin-left: 8px;
    transition: transform 0.4s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* Gaya untuk box tidak ada berita */
.no-content-message {
    text-align: center;
    padding: 50px 20px;
    border: 2px solid var(--dark-grey);
    border-radius: 8px;
    background-color: var(--secondary-black);
    color: var(--light-grey);
    margin: 40px auto;
    max-width: 800px;
}

.no-content-message h3 {
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

@media (min-width: 992px) { 
    
    .blog-post {
        flex-basis: 0;
        flex-grow: 1;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
    }

    .blog-post:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6); 
    }

    .blog-image {
        height: auto; 
        aspect-ratio: 16 / 9; 
        object-fit: cover;
        width: 100%;
        transition: transform 0.6s ease-out, filter 0.6s ease-out;
    }

    .blog-post:hover .blog-image {
        transform: scale(1.05); 
        filter: brightness(1.15);
    }
    
    .blog-content {
        padding: 30px 35px;
    }

    .blog-post h3 {
        font-size: 1.6rem; 
        margin-bottom: 12px;
    }
    
    .blog-meta {
        margin-bottom: 18px;
    }

    .blog-post p {
        font-size: 1em; 
        margin-bottom: 25px;
    }
}

@media (min-width: 1200px) { 
    .blog-image {
        aspect-ratio: 2 / 1;
        height: auto; 
    }

    .blog-post h3 {
        font-size: 1.8rem;
    }
}

/* Styling promo kode */
.promo-section {
    text-align: center;
    padding: 40px;
}

.promo-section h3 {
    color: var(--accent-yellow);
    font-size: 2.2em;
    margin-bottom: 30px;
}

.promo-item {
    background: linear-gradient(45deg, var(--secondary-black), #282828);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--accent-yellow);
    position: relative;
    overflow: hidden;
}

.promo-item::before {
    content: '⭐'; 
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 4em;
    opacity: 0.1;
    transform: rotate(25deg);
}

.promo-item h4 {
    color: var(--light-grey);
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.promo-code {
    font-weight: bold;
    color: var(--accent-yellow);
    background-color: rgba(255, 193, 7, 0.15);
    padding: 8px 15px;
    border-radius: 8px;
    letter-spacing: 2px;
    display: inline-block;
    margin-top: 15px;
    user-select: all;
}

.promo-date {
    font-size: 0.9em;
    font-style: italic;
    color: var(--dark-grey);
    margin-top: 5px;
    margin-bottom: 15px;
}

#promo-container.hidden,
#no-promo-item.hidden {
    display: none !important;
}

#promo-container.visible {
    display: grid !important;
}

#no-promo-item.visible {
    display: block !important;
}

/* Notifikasi */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    background-color: var(--secondary-black);
    color: var(--light-grey);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    overflow: hidden;
    transform: translateY(150%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out, visibility 0.6s;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
}

.notification-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.notification-body {
    flex-grow: 1;
}

.notification-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.notification-message {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification.success {
    border-left: 5px solid #28a745;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error {
    border-left: 5px solid #dc3545;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.warning {
    border-left: 5px solid #ffc107;
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification-progress-bar {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 0%;
    transition: width linear;
}

/* saat notifikasi aktif */
.notification.show .notification-progress-bar {
    width: 100%;
}

.notification.success .notification-progress-bar {
    background-color: #4CAF50;
}

.notification.error .notification-progress-bar {
    background-color: #F44336;
}

/* Styling untuk halaman development */
.development-box {
    text-align: center;
    padding: 60px 20px;
    border: 2px solid var(--dark-grey);
    border-radius: 10px;
    background-color: var(--secondary-black);
    color: var(--light-grey);
    margin: 50px auto;
    max-width: 700px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.development-box i {
    color: var(--accent-yellow);
    margin-bottom: 25px;
}

.development-box h2 {
    color: var(--light-grey);
    font-size: 2.2em;
    margin-bottom: 10px;
}

.development-box p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
}

.development-box .btn {
    margin-top: 20px;
}

 /* Untuk price pada paket*/
.price-breakdown {
    text-align: left;
    margin-bottom: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
    padding: 5px 0;
    color: var(--light-grey);
}

.price-item span:first-child {
    font-weight: 500;
}

.price-item.discount span {
    color: #F44336;
    font-weight: 600;
}

.price-divider {
    border: 0;
    border-top: 1px dashed var(--dark-grey);
    margin: 10px 0;
}

/* Styling untuk dropdown paket */
.form-group select[multiple] {
    height: 50px;
    background-color: var(--primary-black);
    border: 1px solid var(--dark-grey);
    color: var(--light-grey);
    padding: 10px;
    border-radius: 5px;
    overflow-y: auto;
}
.form-group select[multiple] option {
    background-color: var(--primary-black);
    color: var(--light-grey);
    padding: 10px;
}
.form-group select[multiple] option:checked {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
}

#other-addons-container {
    margin-top: 20px;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

body.no-scroll {
  overflow: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--accent-yellow); 
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Styling Khusus untuk Job Card */
.job-card {
    max-width: 700px;
    margin: 50px auto;
    background-color: var(--secondary-black);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--dark-grey);
}

.job-header {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    padding: 20px 30px;
    text-align: center;
}

.job-title {
    font-size: 2.5em;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
}

.job-role {
    font-size: 1.2em;
    margin-top: 5px;
    font-weight: 600;
    color: var(--primary-black) !important;
    opacity: 1 !important;
}

.job-details,
.job-apply {
    padding: 30px 40px;
}

.details-title {
    font-size: 1.5em;
    color: var(--accent-yellow);
    border-bottom: 2px solid var(--dark-grey);
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 15px;
}

.qualification-list,
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualification-list li,
.benefit-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
}

.qualification-list li:before {
    content: "•";
    color: var(--accent-yellow);
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.benefit-list i {
    color: var(--accent-yellow);
    margin-right: 10px;
}

.design-note {
    font-style: italic;
    font-size: 0.9em;
    color: var(--dark-grey);
    margin-top: 15px;
    padding: 10px;
    border-left: 3px solid var(--accent-yellow);
}

.job-apply {
    border-top: 1px solid var(--dark-grey);
    text-align: center;
}

.job-apply p {
    margin: 5px 0;
}

.job-apply a {
    color: var(--light-grey);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-yellow);
    transition: color 0.3s;
}

.job-apply a:hover {
    color: var(--accent-yellow);
}

.subject-line {
    font-weight: 600;
    margin-top: 20px !important;
    padding: 5px 0;
    color: var(--accent-yellow);
}

/* Package */
.package-category-title {
    font-size: 2em;
    color: var(--light-grey);
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 10px;
}

/* Kontainer Paket */
.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* Item Paket (Accordion Item) */
.package-item {
    background-color: var(--secondary-black);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Judul Paket & Accordion Header */
.package-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #333;
    color: var(--accent-yellow);
    cursor: pointer;
    margin: 0;
    font-size: 1.3em;
    transition: background-color 0.3s ease;
    user-select: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-title:hover {
    background-color: #444;
}

.package-price {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--light-grey);
    padding: 10px 20px;
    text-align: right;
    margin: 0;
    background-color: var(--secondary-black);
}

.package-title i {
    transition: transform 0.3s ease;
}

.package-title i.rotate {
    transform: rotate(180deg);
}

.package-content {
    padding: 0 20px;
    color: var(--light-grey);
    background-color: var(--secondary-black);
    max-height: 0; 
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.package-title.active + .package-price + .package-content {
    padding: 20px;
}

.package-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
}

/* Daftar Fitur (Paket Termasuk) */
.package-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.package-content ul li {
    padding: 5px 0;
    border-bottom: 1px dotted var(--dark-grey);
}

.package-content ul li:last-child {
    border-bottom: none;
}

/* Tombol Pesan Sekarang */
.package-content .btn {
    width: calc(100% - 40px);
    margin: 10px 0 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .packages-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .package-category-title {
        font-size: 1.5em;
    }
}

/* =================================== */
/* TEAM SECTION STYLES                 */
/* =================================== */

.team-section {
    padding: 100px 5%; /* Padding yang lebih besar untuk section */
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--dark-grey);
    font-size: 1.1em;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--secondary-black);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 193, 7, 0.1);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.member-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top; /* Fokuskan wajah anggota tim */
    filter: grayscale(10%);
    transition: filter 0.5s ease;
}

.team-member:hover .member-photo {
    filter: grayscale(0%); /* Warna kembali saat di-hover */
}

.member-info {
    padding: 25px 20px;
}

.member-info h3 {
    color: var(--accent-yellow);
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.5em;
}
.member-role {
    color: var(--light-grey);
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-dob {
    color: var(--dark-grey);
    font-size: 0.9em;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-dob i {
    margin-right: 8px;
    color: var(--accent-yellow);
}

.member-bio {
    color: var(--dark-grey);
    font-size: 0.95em;
    margin-bottom: 20px;
    min-height: 40px; 
}

.member-social a {
    color: var(--accent-yellow);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: #ffd700;
}