/* Blog Page Styles (based on testimonial.css) */

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url('images/blog1.jpg');
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
    position: relative;
}

.sub-header h1 {
    margin-top: 140px;
    font-size: 42px;
    font-weight: bold;
}

nav {
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 135px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    list-style: none;
}

.nav-links ul li {
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.blog-content {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-content h2 {
    font-size: 26px;
    color: #222;
    margin-top: 30px;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-content .conclusion {
    background: #f4f4f4;
    padding: 20px;
    border-left: 4px solid #f44336;
    font-weight: 500;
}

.footer {
    text-align: center;
    padding: 30px 0;
    background: #222;
    color: white;
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer p {
    font-size: 14px;
    color: #aaa;
}

.icons .fa {
    color: #f44336;
    margin: 0 10px;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.icons .fa:hover {
    color: white;
}

@media (max-width: 768px) {
    .blog-content {
        padding: 0 10px;
    }
    .sub-header h1 {
        font-size: 30px;
    }
}
