

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e9);
    color: #1b5e20;
}


nav {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: #2e7d32;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #1b5e20;
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: #43a047;
}

nav a:visited,
nav a:active {
    color: #1b5e20;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}


.hero {
    min-height: 80vh;
    background: url('https://scontent-lax3-2.xx.fbcdn.net/v/t39.30808-6/645571864_122119876077178515_605267177683476004_n.jpg?stp=cp6_dst-jpg_tt6&_nc_cat=100&ccb=1-7&_nc_sid=13d280&_nc_ohc=cvkOqhffxUEQ7kNvwFeK03H&_nc_oc=AdniGLqWTPrBfWpJOm5iK-tDMpAFZZy6wGaFp8fExgF8B4du0iNQr2dnX4PZfR6TDEp-0tLFXVPCL1ekj_3Eig5p&_nc_zt=23&_nc_ht=scontent-lax3-2.xx&_nc_gid=vqQlH2sfrUAG6JXBwtOdOg&_nc_ss=8&oh=00_AfxKYWZGqZsoHLLWLnmR9JzkOtWVjd9wCO8XnhXxQW7qRA&oe=69AEB54C') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
}

.hero button {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: #43a047;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: .3s;
    width: 100%;
    max-width: 250px;
}

.hero button:hover {
    background: #2e7d32;
}

.cards,
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 70px 8%;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: .3s;
    overflow: hidden;
    padding: 25px;   /* ADD THIS */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.card h2 {
    margin-bottom: 15px;
}

.card p {
    line-height: 1.6;   /* makes text easier to read */
    font-size: 15px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 70px 8%;
    align-items: stretch;
}

.header {
    text-align: center;
    padding: 60px 20px 40px;
}

.header h1 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 10px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-header {
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.card-header span {
    font-size: 22px;
    transition: .3s;
}

.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    padding: 0 20px;
}

.card-content ul {
    padding: 20px 0 20px 20px;
    color: #444;
}

.card.active .card-content {
    max-height: 300px;
}

.card.active .card-header span {
    transform: rotate(45deg);
}

.hotline {
    margin: 0 8% 80px 8%;
    background: #2e7d32;
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hotline h2 {
    margin-bottom: 15px;
}

.hotline p {
    margin: 8px 0;
}


.progress-container {
    width: 80%;
    max-width: 600px;
    height: 20px;
    background: #c8e6c9;
    border-radius: 20px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #2e7d32;
    transition: .5s;
}

.dashboard {
    max-width: 900px;
    margin: auto;
    padding: 0 20px 80px;
}

.dashboard .card {
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card.completed {
    background: #c8e6c9;
    text-decoration: line-through;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #2e7d32;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #43a047;
}

.reset {
    text-align: center;
    margin-top: 30px;
}


footer {
    text-align: center;
    padding: 20px;
    background: #1b5e20;
    color: white;
}


@media (max-width: 768px) {

    nav ul {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 0 15px;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }
}