:root {
    --primary-color: #007a53;
    /* Parex Green inspired */
    --secondary-color: #b09b38;
    --accent-color: #333333;
    --text-color: #4a4a4a;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 20px 50px rgba(0, 122, 83, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.background-overlay {
    display: none;
    /* Removed for cleaner look */
}

header {
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.logo-container {
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s ease-out;
}

.main-logo {
    max-width: 180px;
    /* Reduced from 250px */
    height: auto;
    border-radius: 4px;
}

h1 {
    font-size: 2.2rem;
    /* Slightly smaller h1 */
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    animation: fadeIn 1.2s ease-out;
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    color: #888;
    animation: fadeIn 1.5s ease-out;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    /* Centered vertically */
    justify-content: center;
    padding: 2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 1000px;
}

.card {
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s ease;
}

.card:hover .card-image {
    transform: scale(1.03);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover .btn {
    background: var(--primary-color);
    color: white;
}

.footer {
    padding: 3rem 2rem;
    background-color: #ffffff;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-code {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.footer-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #b09b38;
    /* Gold from logo */
}

.footer-bottom {
    font-size: 0.85rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.credit {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }

    header {
        padding: 3rem 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }
}