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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    margin-top: 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f3ea;
    color: #0b1957;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
    background-color: rgba(11, 25, 87, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand {
    font-weight: 650;
    color: #f8f3ea;
    text-decoration: none;
    font-size: 1.2rem;
}

.navbar-brand:hover {
    color: #9eccfa;
}

.navbar-nav {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar-nav > li > a {
    color: #f8f3ea;
    font-size: 1rem;
    padding: 8px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navbar-nav > li > a:hover {
    color: #9eccfa;
    background-color: rgba(158, 204, 250, 0.1);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #f8f3ea;
    margin: 4px 0;
}

.navbar-social {
    display: flex;
    align-items: center;
}

.navbar-social a {
    color: #f8f3ea;
    font-size: 1.2rem;
    margin-left: 15px;
}

.navbar-social a:hover {
    color: #9eccfa;
}

/* === MAIN CONTENT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 20px;
    background: linear-gradient(to bottom, rgba(158, 204, 250, 0.1), rgba(248, 243, 234, 1));
    border-radius: 10px;
}

.page-header h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: #0b1957;
}

.page-header p {
    font-size: 20px;
    color: #0b1957;
    max-width: 800px;
    margin: 0 auto;
}

/* Search Bar */
.search-section {
    max-width: 600px;
    margin: 0 auto 60px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #0b1957;
    border-radius: 5px;
    font-size: 16px;
    background: white;
}

.search-btn {
    padding: 15px 30px;
    background-color: #0b1957;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #1a2a6c;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.category-badge {
    background: #0b1957;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.blog-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-title a {
    color: #0b1957;
    text-decoration: none;
}

.blog-title a:hover {
    color: #9eccfa;
}

.blog-excerpt {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #9eccfa;
    color: #0b1957;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.read-more {
    color: #0b1957;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #9eccfa;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    padding: 10px 20px;
    background: white;
    color: #0b1957;
    border: 2px solid #0b1957;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #0b1957;
    color: white;
}



/* Mobile Responsive */
@media (max-width: 980px) {
    .navbar-nav,
    .navbar-social {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header p {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    body {
        margin-top: 60px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .search-form {
        flex-direction: column;
    }

    .blog-title {
        font-size: 20px;
    }
}
