/* ===== Base Styles ===== */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    background-image: url('/static/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: auto; /* allow vertical scrolling */
}

.page {
    width: 100%;
    min-height: 100vh; /* at least full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* stack content from top */
    align-items: flex-start;
    padding: 60px;
    color: #fff;
    box-sizing: border-box;
}

/* Typography */
.page h1, .page h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.page p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.5;
}

/* Buttons */
.page .btn {
    padding: 8px 20px;
    border-radius: 20px;
    background: #fff;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
    font-size: 0.9rem;
}

.page .btn:hover {
    background: #007bff;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo img {
    height: 20px; 
}

/* ===== Responsive Styles ===== */

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .page {
        padding: 50px 25px;
        align-items: center;
        text-align: center;
    }
    .page h1, .page h2 {
        font-size: 2rem;
    }
    .page p {
        font-size: 1.1rem;
        max-width: 90%;
    }
    .page .btn {
        padding: 7px 18px;
        font-size: 0.85rem;
    }
    .logo img {
        height: 18px;
    }
}

/* Phones */
@media (max-width: 768px) {
    .page {
        padding: 40px 20px;
    }
    .page h1, .page h2 {
        font-size: 1.8rem;
    }
    .page p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .page .btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    .logo img {
        height: 16px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .page {
        padding: 30px 15px;
    }
    .page h1, .page h2 {
        font-size: 1.5rem;
    }
    .page p {
        font-size: 0.95rem;
        line-height: 1.35;
    }
    .page .btn {
        padding: 5px 14px;
        font-size: 0.75rem;
    }
    .logo img {
        height: 14px;
    }
}
