/* --- Global Styles & Color Scheme --- */
:root {
    --purple: #785ba7;
    --accent-green: #4CAF50;
    --accent-green-dark: #45a049;
    --light-gray-bg: #f4f7f6;
    --dark-text: #333333;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-gray-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.logo-container img {
    max-width: 500px; /* Adjust as needed */
    width: 100%;
    height: auto;
}

/* --- Header & Logo --- */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 1px;
}

/* --- Main Content --- */
main {
    text-align: center;
    padding: 60px 0;
}

h1 {
    font-size: 2.5em;
    color: var(--purple);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
}

/* --- Tool Selection Cards --- */
.tool-selection-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Allows cards to stack on smaller screens */
}

.tool-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tool-card h2 {
    font-size: 1.5em;
    color: var(--purple);
    margin-bottom: 15px;
}

.tool-card .description {
    flex-grow: 1; /* Pushes the button to the bottom */
    margin-bottom: 30px;
    color: #555;
}

/* --- Button Styling --- */
.btn {
    display: inline-block;
    background-color: var(--accent-green);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: var(--accent-green-dark);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
    color: #888;
}

/* --- test region --- */

.card-header {
    display: flex;          /* Aligns children (icon and h2) in a row */
    align-items: center;    /* Vertically centers them next to each other */
    gap: 10px;              /* Adds a 10px space between the icon and the text */
}

.card-header h2 {
    margin: 0;
    font-size: 1.5em; /* Example font size */
}

/* Style for the small icon */
.title-icon {
    width: 32px;   /* Or any size you prefer */
    height: 32px;
}
/* --- test region --- */

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .tool-selection-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .tool-card {
        width: 100%;
        max-width: 400px; /* Limit width on mobile for consistency */
    }
}