/* Google Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f8f9ff;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #4b6eff, #6b8bff);
    padding: 18px 0;
    color: white;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 600;
}

.header nav a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

.header nav a:hover {
    opacity: 0.7;
}

/* HERO */
.hero {
    background: white;
    padding: 70px 0;
    text-align: center;
    margin-top: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    max-width: 650px;
    margin: auto;
    margin-bottom: 22px;
    font-size: 15px;
    color: #555;
}

.btn {
    background: #4b6eff;
    padding: 12px 26px;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background: #3d5ee8;
}

/* BLOG CARDS */
.section-title {
    margin: 40px 0 20px;
    font-size: 26px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.blog-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.blog-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.read {
    color: #4b6eff;
    text-decoration: none;
    font-weight: 500;
}

.read:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    color: #777;
}
