:root {
    --primary-color: #4355F9;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --secondary-background: #F5F7FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
.navbar {
    display: flex;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 30px;
}

.nav-links {
    flex: 0 0 auto;
    display: flex;
    gap: 2rem;
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.header-title {
    flex: 1;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-buttons {
    flex: 0 0 auto;
    margin-left: 2rem;
}

.button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
}

/* Footer Styles */
footer {
    background-color: var(--background-color);
    padding: 2rem 5%;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column {
    display: flex;
    gap: 1rem;
}

.footer-column a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .header-title {
        font-size: 1.25rem;
    }
}

main {
    /* Option 1: Full background image */
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh; /* This ensures the background covers the full viewport height */
    padding: 2rem;
    
    /* Optional: Add a dark overlay to make the card more visible */
    background-color: rgba(255, 255, 255, 0.60); /* lightens the background */
    background-blend-mode: overlay;
}

/* main {
    background: linear-gradient(135deg, #4355F9, #2a3ac9);
    min-height: 80vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
} */

.cards-container {
    display: flex;
    gap: 2rem; /* Space between cards */
    max-width: 2040px; /* Adjust based on your needs */
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    justify-content: center;
    align-items: center; /* Ensures cards stretch to same height */
}

.card {
    flex: 1;
    height: 600px;
    max-width: 1000px;
    margin: 2rem auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    overflow: hidden;
    padding: 0rem;
    position: relative;
    z-index: 1;
}

.card-image {
    flex: 1;
    min-width: 300px;
    padding: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.card-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0rem;
    color: var(--text-color);
}

.card-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.redirect-link {
    align-self: flex-end;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.redirect-link:hover {
    color: #2a3ac9;
}

/* Make it responsive */
@media (max-width: 1200px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
    }
}

.privacy-card {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 16px; /* Keep the rounded corners if desired */
}

#ketch-privacy-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    padding: 0rem;
}

.privacy-iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
    margin: 0;
    overflow: hidden;
}

/* If there's still padding, you might need to override any default card styles */
.card.privacy-card {
    padding: 0 !important;
    margin: 0;
}

.page-title {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--background-color);
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.5rem;
    }
}