/* ======================  custom.css  ====================== */

/* ---------- 1️⃣  General Reset & Typography ---------- */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Google Sans', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-top: 0;
}

p {
    margin-bottom: 1rem;
}

/* ---------- 2️⃣  Hero Section ---------- */
header.bg-primary {
    /* Radial gradient that gives a subtle “halo” effect */
    background: radial-gradient(circle at 50% 30%, #007bff 0%, #0056b3 70%);
    padding-top: 4rem;
    padding-bottom: 4rem;
    color: #fff;
    text-align: center;
}

header .btn {
    margin-top: 1rem;
}

/* ---------- 3️⃣  Main Content ---------- */
main.container {
    /* Light shadow around the whole block for a card look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem 0;
    background: #fff;
    text-align: center;
}

main .row {
    align-items: center;
}

main img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Make the text column center‑aligned on small screens */
@media (max-width: 767.98px) {
    main .col-md-6 {
        text-align: center;
    }
    main .col-md-6 img {
        margin: 0 auto 1.5rem;
        display: block;
    }
}

/* ---------- 4️⃣  Subscription Form ---------- */
form {
    margin-top: 1.5rem;
}

form .form-control {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 1rem;
}

form .btn-primary {
    background: linear-gradient(45deg, #0069d9, #0053ba);
    border: none;
    border-radius: 0.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

form .btn-primary:hover,
form .btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ---------- 5️⃣  Footer ---------- */
footer {
    background: #343a40;
    color: #adb5bd;
    font-size: 0.9rem;
    text-align: center;
}

footer a {
    color: #ffc107;
}

footer a:hover,
footer a:focus {
    text-decoration: underline;
}

/* ---------- 6️⃣  Utility Classes ---------- */
.text-center-md {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-md {
        text-align: left;
    }
}
