/* css/style.css */

:root {
    --primary-color: #2563eb;       /* Modern Blue */
    --primary-hover: #1d4ed8;
    --text-color: #1f2937;          /* Dark Gray */
    --text-light: #6b7280;          /* Light Gray */
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1200px;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; margin-bottom: 0.75rem; font-weight: 700; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilities */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.2s;
}
.btn-primary:hover { background-color: var(--primary-hover); }
.section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2rem; }
.bg-light { background-color: var(--bg-light); }

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); letter-spacing: -0.025em; }
.nav-list { display: flex; gap: 2rem; }
.nav-list a:hover { color: var(--primary-color); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; }

/* Hero */
.hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-color: #333; /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-sub { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Article Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    height: 100%;
}
.card:hover { transform: translateY(-4px); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.placeholder { background-color: #eee; } /* Fallback */
.card-body { padding: 1.5rem; }
.category { display: inline-block; font-size: 0.85rem; color: var(--primary-color); font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }
.read-more { font-weight: 600; color: var(--primary-color); font-size: 0.9rem; }

/* Trust Logos */
.logo-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; opacity: 0.6; font-weight: 700; color: #9ca3af; font-size: 1.5rem; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonial { background: var(--bg-light); padding: 2rem; border-radius: var(--radius); text-align: center; }
.testimonial p { margin-bottom: 1rem; font-style: italic; }
.testimonial cite { font-weight: 700; font-style: normal; }

/* Footer */
.main-footer { background: #111827; color: #d1d5db; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h3, .footer-col h4 { color: white; margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 2rem; text-align: center; font-size: 0.85rem; color: #9ca3af; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 1.5rem; box-shadow: 0 -4px 12px rgba(0,0,0,0.1); z-index: 2000; border-top: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; }
.cookie-banner .container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 800px; flex-wrap: wrap; gap: 1rem; }

/* Mobile Menu */
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem; border-bottom: 1px solid #eee; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.mobile-menu ul li { margin-bottom: 1rem; text-align: center; }
.mobile-menu.active { display: block; }

/* Media Queries */
@media (max-width: 768px) {
    .nav-list { display: none; }
    .mobile-menu-toggle { display: block; }
    .mobile-menu-toggle span { display: block; width: 25px; height: 2px; background: #333; margin: 5px 0; }
    .hero { height: auto; padding: 6rem 0; }
    .hero-content h1 { font-size: 2.5rem; }
}
