:root {
    --primary-blue: #2D2C80;
    --light-blue: #55ABDE;
    --accent-yellow: #FFD800;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #EEF7FC;
    --background-white: #FFFFFF;
    --section-bg-gradient-start: #EEF7FC;
    --section-bg-gradient-end: #FFFFFF;
    --hover-dark-blue: #201F5B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Blog */
header.blog-header {
    background-color: var(--background-white);
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    min-height: 60px;
}

header.blog-header .container-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

header.blog-header .logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header.blog-header .site-name {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 2.0em;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

header.blog-header .tagline {
    font-style: italic;
    font-size: 0.9em;
    color: var(--hover-dark-blue);
    font-weight: 500;
    margin: 0;
}

main {
    box-sizing: border-box;
}

/* Hero Section */
.hero-section {
    background-color: var(--background-white);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 5px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    margin-top: 20px;
}

.hero-content h1 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content .intro-text {
    font-size: 1.2em;
    line-height: 1.8;
    font-weight: 400;
    color: var(--text-dark);
    padding: 0 15px;
}

/* General Section Styling for Categories */
.section {
    background-color: var(--background-white);
    padding: 40px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

.section-title-wrapper h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: var(--primary-blue);
    font-size: 2em;
    font-weight: 700;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 10px;
    display: inline-block;
    margin: 0 auto;
    max-width: 80%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-top: 20px;
}

.product-card {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-blue);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-card .product-title {
    font-size: 1.5em;
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 10px;
}

.product-card .product-snippet {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-card .button {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto;
}

.product-card .button:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text-light);
}

footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: 30px;
}

footer a {
    color: var(--light-blue);
    text-decoration: underline;
}

footer a:hover {
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header.blog-header .site-name {
        font-size: 1.6em;
    }
    header.blog-header .tagline {
        font-size: 0.7em;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content .intro-text {
        font-size: 1em;
    }
    .section-title-wrapper h2 {
        font-size: 1.6em;
    }
}