.hero {
    position: relative;
    text-align: center;
}

.hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(80%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.hero-text h1 {
    font-family: 'VujahdayScript', 'Courier', 'serif';
    font-size: 4rem;
    color: #FFFFFF;
}

.hero-text p {
    font-size: 1.5rem;
    color: #FFFFFF;
}

main.content {
    display: flex;
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    gap: 2rem;
}

article {
    flex: 3;
}

article h2 {
    font-family: "Oregano", "serif";
    font-size: 3rem;
    margin-bottom: 15px;
}

article p {
    line-height: 1.5;
    margin-bottom: 10px;
}

.tip-box {
    background: #FFFFFF;
    border-left: 4px solid #CCCCFF;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

aside {
    align-self: center;
    height: auto;
}

.sidebar {
    flex: 1;
    background: #FFFFFF;
    padding: 1rem;
    border-radius: 8px;
}

.sidebar h3 {
    font-size: 1.5rem;
}

.sidebar li {
    margin: 20px 0;
}

.sidebar li a {
    font-size: 1.1rem;
    color: #000000;
}

.cta-box {
    background: #CCCCFF;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
}

.cta-box h3 {
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cta-box a {
    display: inline-block;
    color: #000000;
    font-size: 1.2rem;
    background: #FFFFFF;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
}

/* Responsive styling */
@media (max-width: 1440px) {
    main.content {
        max-width: 1300px;
    }
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    article h2 {
        font-size: 2rem;
    }

    .sidebar h3 {
        font-size: 1.3rem;
    }

    .sidebar li a {
        font-size: 1rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .cta-box a {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    main.content {
        flex-direction: column;
        padding: 1rem;
    }

    article, 
    .sidebar {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero img {
        height: 250px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 435px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    article h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    article p {
        line-height: 1.4;
        font-size: 0.9rem;
    }

    .sidebar {
        padding: 0;
    }

    .sidebar h3 {
        font-size: 1.2rem;
        text-align: center;
        padding: 10px;
    }

    .sidebar li a {
        font-size: 0.9rem;
    }

    .cta-box {
        border-radius: 0 0 8px 8px;
    }
}