/*
Theme Name: Extrusion Solutions
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A professional WordPress theme for pet food and feed extrusion businesses
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extrusion-theme
Tags: business, industrial, manufacturing, responsive, custom-menu
*/

:root {
    --primary-blue: #2c3e50;
    --accent-blue: #3498db;
    --light-gray: #ecf0f1;
    --dark-blue: #1a252f;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* Navigation */
.navbar {
    background-color: var(--light-gray);
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--primary-blue);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-blue);
}

.btn-consultation {
    background-color: var(--accent-blue);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-consultation:hover {
    background-color: #2980b9;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232c3e50" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 0px;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-primary-custom {
    background-color: var(--accent-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    margin-right: 15px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary-custom {
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    border: 2px solid white;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background-color: white;
    color: var(--primary-blue);
}

.hero-features {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    margin-top: 80px;
}

.hero-feature-item {
    text-align: center;
    padding: 10px;
    color: white;
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Industries Section */
.industries-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.industries-section h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.industry-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.industry-card:hover {
    transform: translateY(-10px);
}

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

.industry-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-card-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

/* Business Section */
.business-section {
    background-color: #f0f2f5;
    padding: 70px 0;
}

.business-section h2 {
    text-align: center;
    color: #1a2e4a;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 50px;
}

/* ── Card ── */
.business-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 420px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* ── Top Image Area (≈55% of card height) ── */
.business-card-image {
    width: 100%;
    height: 55%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.business-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.business-card:hover .business-card-image img {
    transform: scale(1.06);
}

/* Placeholder when no featured image is set */
.business-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a5568, #2d3748);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3.5rem;
}

/* ── Bottom Text Area (≈45% of card height) ── */
.business-card-body {
    flex: 1;
    /*background: linear-gradient(160deg, #5b4fcf 0%, #3a3a8c 50%, #1e2d6b 100%);*/
	background: linear-gradient(-20deg, #2b5876 0%, #4e4376 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 20px;
}

.business-card-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.45;
    letter-spacing: 0.01em;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .business-card {
        height: 380px;
    }
    .business-card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .business-card {
        height: 360px;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    .business-section h2 {
        font-size: 1.9rem;
    }
}

/* Technology Section */
.technology-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 80px 0;
}

.technology-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.technology-section h2 span {
    font-weight: 700;
}

.tech-image {
    text-align: center;
    margin-bottom: 30px;
}

.tech-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.bg_tech {
	background-color: rgb(68 90 112);
    height: 100%;
    padding: 41px 20px;
}

.tech-features {
    list-style: none;
    padding: 0;
}

.tech-features li {
    padding: 12px 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.tech-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Process Section */
.process-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.process-section h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.process-step {
    text-align: center;
    margin: 0 10px;
}

.process-step-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.process-step-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.process-step-label {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
}

.process-arrow {
    color: var(--primary-blue);
    font-size: 2rem;
    margin: 0 10px;
}

.process-cta {
    text-align: center;
    margin-top: 40px;
}

.process-cta-text {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Why Choose Us Section */
.why-choose-section {
    background: url('assets/images/client_info_bg.png');
    background-size: cover;
    color: white;
    padding: 80px 0;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.why-choose-list {
    list-style: none;
    padding: 0;
}

.why-choose-item {
    padding: 15px 0;
    font-size: 1.2rem;
    position: relative;
    padding-left: 40px;
}

.why-choose-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-size: 1.5rem;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border: 2px solid #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-image {
    text-align: center;
}

.why-choose-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.cta-section h2 em {
    font-style: italic;
    font-weight: 400;
}

.cta-buttons {
    margin-bottom: 30px;
}

.btn-cta-primary {
    background-color: var(--accent-blue);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    margin: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-cta-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
    background-color: white;
    color: var(--primary-blue);
    padding: 15px 40px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    margin: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-cta-secondary:hover {
    background-color: var(--light-gray);
}

.cta-subtext {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =====================================================
   BLOG STYLES - ADD THIS TO YOUR style.css
   Copy everything below and paste at the END of your 
   existing style.css file (before the closing tag if any)
   ===================================================== */

/* =====================
   Blog Archive & Single Post Styles
   ===================== */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.blog-main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.blog-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Listing Section */
.blog-listing-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

/* Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder-content {
    font-size: 3rem;
    color: rgba(255,255,255,0.4);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
}

.blog-card-category span {
    background: #3498db;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.blog-card-meta i {
    margin-right: 4px;
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #3498db;
}

.blog-card-excerpt {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.blog-read-more:hover {
    gap: 12px;
}

/* Pagination */
.blog-pagination {
    margin-top: 50px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination .page-numbers a:hover {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
}

.blog-pagination .page-numbers .current {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
}

/* No Posts State */
.blog-no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}

.blog-no-posts i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.blog-no-posts h3 {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

/* Search Form */
.blog-search-form {
    display: flex;
    gap: 8px;
}

.blog-search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.blog-search-form input:focus {
    border-color: #3498db;
}

.blog-search-form button {
    width: 48px;
    height: 48px;
    background: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.blog-search-form button:hover {
    background: #2980b9;
}

/* Categories */
.blog-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-categories li {
    margin-bottom: 10px;
}

.blog-categories a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-categories a:hover {
    background: #f3f4f6;
    color: #3498db;
}

.blog-categories .cat-count {
    margin-left: auto;
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Hierarchical Categories */
.blog-categories-hierarchical .cat-item {
    position: relative;
}

.blog-categories-hierarchical .cat-item.has-children {
    margin-bottom: 8px;
}

.blog-categories-hierarchical .cat-item.has-children > a {
    padding-left: 36px;
}

.cat-toggle {
    position: absolute;
    left: 8px;
    top: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
    z-index: 1;
}

.cat-toggle:hover {
    color: #3498db;
}

.cat-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.blog-subcategories {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 24px;
    display: none;
    border-left: 2px solid #e5e7eb;
}

.blog-subcategories li {
    margin-bottom: 6px;
}

.blog-subcategories a {
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-subcategories a:hover {
    color: #3498db;
}

.blog-subcategories .cat-count {
    font-size: 0.8rem;
}

/* Current Category Highlighting */
.blog-categories .current-cat > a {
    background: #e8f4fd;
    color: #3498db;
    font-weight: 600;
}

.blog-subcategories .current-cat a {
    background: #e8f4fd;
    color: #3498db;
    font-weight: 600;
}


/* Recent Posts */
.blog-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-recent-posts li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.blog-recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.recent-post-title:hover {
    color: #3498db;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-tag:hover {
    background: #3498db;
    color: #ffffff;
}

/* ==================
   Single Post Styles
   ================== */

/* Single Post Hero */
.single-post-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.single-post-hero-overlay {
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    padding: 60px 0 50px;
}

.single-post-header-simple {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 80px 0 60px;
}

.single-post-meta-top {
    margin-bottom: 16px;
}

.single-post-category {
    display: inline-block;
    background: #3498db;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.single-post-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 20px;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.single-post-header-simple .single-post-meta {
    color: rgba(255,255,255,0.85);
}

.post-meta-item i {
    margin-right: 6px;
}

/* Single Post Content */
.single-post-content-section {
    padding: 80px 0;
    background: #ffffff;
}

.single-post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #374151;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: #2c3e50;
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 700;
}

.single-post-content h2 {
    font-size: 2rem;
}

.single-post-content h3 {
    font-size: 1.5rem;
}

.single-post-content p {
    margin-bottom: 1.5em;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
}

.single-post-content ul,
.single-post-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.single-post-content li {
    margin-bottom: 0.5em;
}

.single-post-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 24px 28px;
    margin: 2em 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #4b5563;
}

/* Tags */
.single-post-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.single-post-tags a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 14px;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.single-post-tags a:hover {
    background: #3498db;
    color: #ffffff;
}

/* Author Bio */
.single-author-bio {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 28px;
    border-radius: 12px;
    margin-top: 50px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-info h4 {
    margin: 0 0 8px;
    color: #2c3e50;
    font-size: 1.15rem;
}

.author-info p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* Post Navigation */
.single-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e5e7eb;
}

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.single-post-navigation a {
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.single-post-navigation a:hover {
    color: #3498db;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid #e5e7eb;
}

.related-posts-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.related-post-thumb {
    display: block;
    height: 160px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.related-post-card:hover .related-post-thumb img {
    transform: scale(1.08);
}

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

.related-post-content h4 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.related-post-content a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.related-post-content a:hover {
    color: #3498db;
}

.related-post-date {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Blog Responsive Styles */
@media (max-width: 768px) {
    .blog-main-title {
        font-size: 2.2rem;
    }

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

    .blog-sidebar {
        position: static;
        margin-top: 50px;
    }

    .single-post-hero {
        height: 400px;
    }

    .single-post-title {
        font-size: 2rem;
    }

    .single-post-meta {
        gap: 16px;
        font-size: 0.85rem;
    }

    .single-post-navigation {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .single-author-bio {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== END OF BLOG STYLES ===== */

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 30px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-link {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent-blue);
}

.footer-divider {
    color: rgba(255,255,255,0.3);
    margin: 0 10px;
}

.social-icons {
    text-align: center;
}

.social-icon {
    color: white;
    font-size: 1.3rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--accent-blue);
}

/* ==========================================
   Contact Page Template Styles
   ADD THIS TO YOUR style.css
   ========================================== */

.contact-page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 60px 0;
    color: #ffffff;
    text-align: center;
}

.contact-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #ffffff;
}

.contact-page-content {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.95;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-info-box {
    background: #ffffff;
    padding: 36px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.contact-info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
}

.contact-info-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px;
}

.contact-info-box p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 16px;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #2980b9;
}

@media (max-width: 768px) {
    .contact-page-header h1 {
        font-size: 2rem;
    }

    .contact-info-section {
        padding: 50px 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .process-arrow {
        display: none;
    }

    .process-step {
        margin: 20px 10px;
    }

    .hero-features {
        margin-top: 40px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-divider {
        display: none;
    }

    .footer-link {
        margin: 10px 0;
    }
}
