/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #004999;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e1e4e8;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* Top Bar */
.top-bar {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.top-bar-menu a {
    color: #666;
    text-decoration: none;
}

.top-bar-menu a:hover {
    color: var(--primary-color);
}

.trust-badge {
    color: #28a745;
    font-weight: 500;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

/* Search Form */
.header-search {
    flex: 0 0 300px;
}

.search-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.search-field {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 20px;
}

.post-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.post-card h3 a {
    color: #333;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--primary-color);
}

.post-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin: 40px 0;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-content {
    padding: 40px;
}

.featured-post-content .featured-label {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-post h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Solutions Section */
.featured-solutions {
    background: var(--light-bg);
    padding: 60px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.solution-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.solution-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Promise Section */
.promise-section {
    padding: 60px 0;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.promise-item {
    text-align: center;
    padding: 30px;
}

.promise-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Tools Section */
.tools-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: #fff;
}

.tools-section .section-title {
    color: #fff;
}

.tools-section .section-title:after {
    background: #fff;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tool-item {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.tool-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.tool-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.tool-item h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.tool-item p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 20px;
}

.tool-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}

.tool-link:hover {
    border-bottom-color: #fff;
}

/* Sidebar */
.widget-area {
    width: 300px;
    margin-left: 40px;
}

.widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: var(--text-color);
    text-decoration: none;
}

.widget a:hover {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 30px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-widget {
    color: #999;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #999;
    text-decoration: none;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-menu a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu a:hover {
    color: #fff;
}

.copyright {
    font-size: 14px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.button:hover {
    background: var(--secondary-color);
}

.button-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.button-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.view-all {
    text-align: center;
    margin: 40px 0;
}

/* Content Layout */
.content-area {
    display: flex;
    padding: 60px 0;
}

.site-main {
    flex: 1;
}

/* Single Post */
.single-post .entry-header {
    margin-bottom: 30px;
}

.single-post .entry-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.single-post .entry-meta {
    color: #999;
    font-size: 14px;
}

.single-post .entry-meta span {
    margin-right: 15px;
}

.single-post .post-thumbnail {
    margin-bottom: 30px;
}

.single-post .post-thumbnail img {
    width: 100%;
    border-radius: 8px;
}

.single-post .entry-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-post .entry-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
}

.single-post .entry-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.single-post .entry-content p {
    margin-bottom: 20px;
}

.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.single-post .entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-links {
    color: #999;
    font-size: 14px;
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    margin-bottom: 40px;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.comment-author .fn {
    font-weight: 600;
    font-style: normal;
}

.comment-metadata {
    font-size: 12px;
    color: #999;
}

.comment-content {
    margin-left: 65px;
}

.reply {
    margin-left: 65px;
}

.reply a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* Pagination */
.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 5px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 4px;
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination a:hover {
    background: var(--light-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid,
    .tools-grid,
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-area {
        flex-direction: column;
    }
    
    .widget-area {
        width: 100%;
        margin-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-search {
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        gap: 15px;
    }
    
    .main-navigation ul.active {
        display: flex;
    }
    
    .posts-grid,
    .solutions-grid,
    .promise-grid,
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .featured-post-content {
        padding: 20px;
    }
    
    .featured-post h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .tools-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .single-post .entry-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}