body {
    margin: 0;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hero section */
.hero {
    background: #5A2DFB;
    color: white;
    padding: 2rem;
}

.header {
    font-size: x-large;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0 1rem 0;
}

.verify-email p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header a {
    color: inherit;
    text-decoration: none;
}

/* Increase font size and logo for mobile */
@media (max-width: 768px) {
    .header {
        font-size: 1.5rem; /* Larger font for header on mobile */
    }
    .logo {
        height: 80px; /* Larger logo on mobile */
    }
}

.logo {
    height: 65px;
}

/* Increase font size and logo for mobile */
@media only screen and (orientation: portrait) {
    .header {
        font-size: 3rem; /* Larger font for header on mobile */
        gap: 1rem;
        padding: 0 0 2rem 0;
    }
    .logo {
        height: 130px; /* Larger logo on mobile */
    }
}

.hero-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* ✅ vertically center both columns */
    gap: 2em;
    flex-wrap: wrap;
}

/* Responsive layout for small screens */
@media only screen and (orientation: portrait) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem; /* Slightly more spacing */
    }

    .features, .newsletter {
        max-width: 100%;
    }

    .newsletter form {
        align-items: center; /* Center form elements for better mobile look */
    }

    /* Increase text sizes for mobile */
    .features h2,
    .newsletter p {
        font-size: 2.8rem; /* Larger headings and text */
    }

    .features ul li {
        font-size: 2.2rem; /* Larger list item text */
    }

    .verify-email h2 {
        font-size: 2.8rem;
    }

    .verify-email p {
        font-size: 2.2rem;
    }
}

.features {
    flex: 1;
    min-width: 250px;
    max-width: 100%;
}

.newsletter {
    flex: 1;
    min-width: 250px;
    max-width: 100%;
}

.contact, .subscription-success {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

/* Newsletter form */
.newsletter form {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* ✅ more margin between input and button */
}

.newsletter input {
    padding: 0.6rem;
    max-width: 350px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    box-shadow: 0 2px 3px black;
}

.newsletter button {
    background: #FA3463;
    border: none;
    padding: 0.7rem;
    max-width: 120px;
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter button:hover {
    background: #e63b3b;
}

@media only screen and (orientation: portrait) {
    .newsletter form {
        gap: 2rem;
    }
    .newsletter input {
        font-size: 1.8rem; /* Larger heading */
        padding: 1.2rem;
        max-width: 700px;
        border-radius: 12px;
        box-shadow: 0 4px 6px black;
    }
    .newsletter button {
        font-size: 1.8rem; /* Larger heading */
        padding: 1.4rem;
        max-width: 240px;
        border-radius: 12px;
    }
}

/* Social section */
.social {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f9f9f9;
    padding: 3rem;
    text-align: center;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.icons img {
    height: 32px;
    width: 32px;
}

/* Increase social section text for mobile */
@media only screen and (orientation: portrait) {
    .icons {
        gap: 3rem;
        margin-top: 2rem;
    }
    .social {
        padding: 6rem;
    }
    .social h2 {
        font-size: 2.8rem; /* Larger heading */
    }
    .icons img {
        height: 64px; /* Even larger icons on mobile */
        width: 64px;
    }
}

/* Footer */
.footer {
    background: black;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 2rem 1rem;  /* ✅ more vertical padding */
    font-size: 0.9rem;
    margin-top: auto;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media only screen and (orientation: portrait) {
    .footer {
        padding: 4rem 2rem;
        font-size: 1.8rem; /* Larger heading */
    }
}
