:root {
    --primary-color: #003b88;
    --secondary-color: #e31837;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/cards-bg.jpg');
    background-size: cover;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.google-btn {
    display: inline-block;
    background: #4285f4;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
}
.submit-card-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.submit-button:hover {
    background-color: #002b66;
}
.subscription-required {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #003b88;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}

.subscription-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan {
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.plan.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.plan h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.savings {
    color: #28a745;
    font-weight: bold;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.plan li {
    margin: 0.5rem 0;
}

.subscribe-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}
@layer components {
    .parallax-bg {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}
.fixed {
    position: fixed;
}

img.fixed {
    object-fit: cover;
    object-position: center;
}
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -20;
}

/* Make form elements more visible against animated background */
.form-group input,
.form-group select {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Footer adjustments for responsiveness */
@media (max-width: 768px) {
    footer .grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        text-align: center; /* Center text for stacked items */
    }

    footer .flex.space-x-4 {
        justify-content: center; /* Center social and payment icons */
        margin-top: 1rem; /* Add some space above centered icons */
    }

    footer .text-xs {
        text-align: center; /* Center copyright text */
    }

    footer .md\:grid-cols-4 > div { /* Target direct children divs of the grid */
        margin-bottom: 2rem; /* Add space between stacked sections */
    }

    footer .md\:grid-cols-4 > div:last-child {
        margin-bottom: 0; /* No margin for the last item */
    }

    footer .mt-10.pt-8.border-t { /* Copyright and payment icons container */
        flex-direction: column;
    }
}
