@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #ffc400;
    /* Vibrant Yellow */
    --secondary-color: #ff7b00;
    /* Bright Orange */
    --dark-color: #2c2c2c;
    --light-color: #f4f4f4;
    --background-dark: #1a1a1a;
    --text-color: #333;
    --white: #fff;
    --accent-color: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--light-color);
    color: var(--text-color);
}

/* Utilities */
.content-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* Header & Navbar (consistent with main site) */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
}

/* Hero Section */
.legal-hero,
.thanks-hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('image/banner.jpeg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.thanks-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('image/banner.jpeg') no-repeat center center/cover;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, var(--light-color) 0%, #f0f4f8 100%);
}

/* Legal List */
.legal-list {
    list-style: none;
    max-width: 700px;
    margin: 20px auto;
    text-align: left;
}

.legal-list li {
    background: var(--white);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background 0.3s;
}

.legal-list li:hover {
    transform: translateX(5px);
    background: var(--primary-color);
    color: var(--dark-color);
}

.legal-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Progress Bar */
.progress-bar-container {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    text-align: left;
}

.progress-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.progress-bar {
    width: 100%;
    height: 15px;
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 1.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    margin-top: 5px;
    color: var(--text-color);
}

/* Accordion */
.accordion {
    max-width: 700px;
    margin: 20px auto;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 12px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.accordion-header:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
}

.accordion-content {
    display: none;
    background: var(--white);
    padding: 12px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion-content p {
    color: var(--text-color);
}

/* Counters */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 20px;
}

.counter-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.counter-item:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.counter-item p {
    font-weight: 600;
}

/* Footer (consistent with main site) */
.footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-bottom: 15px;
}

.social-icons a {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Animations */
.animate-on-load {
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-content .cta-button {
    animation-delay: 0.6s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .legal-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}