@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/* Root variables for color and font consistency */
:root {
    --primary-color: #007bff;
    --primary-color-light: #4dabf7;
    --primary-color-dark: #0056b3;
    --primary-color-lighter: #80caff;
    --primary-color-darker: #003087;
    --primary-color-yellow: #fbee38;
    --secondary-color-dark: #22448f;
    --secondary-color-2: #4e4e4e;
    --primary-foreground: #ffffff;
    --font-family-oswald: "Outfit", sans-serif;
    --greek-navy: #4e4e4e;
    /* Matches --secondary-color-2 for headings */
    --greek-blue: #007bff;
    /* Matches --primary-color */
    --greek-light: #f8f9fa;
    --bg-gradient-hero: linear-gradient(135deg, #007bff 0%, #4dabf7 100%);
    --bg-gradient-accent: linear-gradient(135deg, #fbee38 0%, #ffca2c 100%);
    --text-muted-foreground: #6c757d;
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Reset for email clients */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-oswald), Arial, sans-serif;
    background-color: var(--primary-foreground);
    line-height: 1.6;
}

.container {
    max-width: 672px;
    /* Adjusted for email clients (672px = 2xl) */
    margin: 0 auto;
    padding: 16px 0px;
    background-color: var(--primary-foreground);
}

.bg-background {
    background-color: #f4f4f4;
    padding: 0;
}

.bg-gradient-hero {
    background: var(--primary-color-darker);
    padding: 0px;
    text-align: center;
    color: var(--primary-foreground);
}

.logo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 16px;
    border-radius: 0;
}

h1,
h2,
h3 {
    color: var(--greek-navy);
    font-family: var(--font-family-oswald);
    margin: 0 0 16px;
}

h1 {
    font-size: 30px;
    font-weight: bold;
}

h2 {
    font-size: 20px;
    font-weight: 600;
}

h3 {
    font-size: 18px;
    font-weight: 600;
}

p {
    font-size: 16px;
    color: var(--secondary-color-2);
    margin: 0 0 16px;
}

.text-muted-foreground {
    margin-top: 0px;
    color: black;
}

.text-muted-foreground p {
    color: white;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.shadow-card {
    box-shadow: var(--shadow-card);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: var(--primary-foreground);
}

.shadow-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 24px;
}

.bg-greek-light {
    background-color: var(--greek-light);
    padding: 12px;
    border-radius: 8px;
}

.bg-gradient-accent {
    background: var(--bg-gradient-accent);
    color: var(--secondary-color-2);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-button);
    transition: opacity 0.3s ease;
}

.bg-gradient-accent:hover {
    opacity: 0.9;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.grid>div {
    flex: 1 1 100%;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.space-x-2>*+* {
    margin-left: 8px;
}

.space-y-3>*+* {
    margin-top: 12px;
}

svg {
    width: 24px;
    height: 24px;
    stroke: var(--greek-blue);
}

.h-4 {
    height: 16px;
}

.w-4 {
    width: 16px;
}

.h-5 {
    height: 20px;
}

.w-5 {
    width: 20px;
}

.h-6 {
    height: 24px;
}

.w-6 {
    width: 24px;
}

/* Footer */
.footer {
    background-color: #21428d;
    color: black;
    padding: 16px 22px;
    text-align: center;
}

.footer-bottom {

    background-color: #21428d;
    padding: 16px 0px 0;
}

.footer-bottom-container {
    border-top: 1px solid #f8f7fc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 672px;
    margin: 0 auto;
    padding: 10px 10px 0px 16px;
}

.footer-bottom-text {
    font-size: 14px;
    color: white;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--secondary-color-dark);
    transition: background-color 0.3s ease;
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-foreground);
}

.social-link:hover {
    background-color: var(--primary-color);
}

/* Responsive design */
@media (min-width: 768px) {
    .grid.md-grid-cols-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .grid.md-grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .bg-gradient-accent.w-full {
        width: auto;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 12px;
    }

    .bg-background {
        padding: 16px 0;
    }

    .bg-gradient-hero {
        padding: 24px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
    }

    .bg-gradient-accent {
        padding: 10px 20px;
        font-size: 14px;
    }

    .card-content {
        padding: 16px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .social-link {
        width: 28px;
        height: 28px;
    }

    .social-link svg {
        width: 14px;
        height: 14px;
    }
}