/*
Theme Name: Jepp Tech
Theme URI: https://jepptech.uk/
Author: Jepp Tech Limited
Author URI: https://jepptech.uk/
Description: Professional tech solutions theme for Jepp Tech Limited - Premium computer hardware and digital educational resources.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jepptech
*/

/* ===== CSS Variables ===== */
:root {
    --primary: #1e3a5f;
    --primary-foreground: #ffffff;
    --secondary: #2d8fce;
    --secondary-foreground: #ffffff;
    --accent: #e86a1e;
    --accent-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #374151;
    --card: #f8fafc;
    --card-foreground: #374151;
    --muted: #f1f5f9;
    --muted-foreground: #6b7280;
    --border: #e5e7eb;
    --radius: 0.5rem;
    --font-sans: 'Nunito', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --navy: #1a2e5a;
    --orange: #e86a1e;
    --cyan: #2d8fce;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 19px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--primary);
    line-height: 1.2;
}

h1 { font-size: 3.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #ffffff; }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-muted { background-color: var(--muted); }
.bg-white { background-color: #ffffff; }
.bg-card { background-color: var(--card); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: calc(var(--radius) * 1.5); }
.rounded-xl { border-radius: calc(var(--radius) * 2); }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.1), 0 8px 10px rgba(0,0,0,0.04); }

.transition { transition: all 0.15s ease; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

.uppercase { text-transform: uppercase; }

.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: #1e3140;
    color: var(--primary-foreground);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: #2980b9;
    color: var(--secondary-foreground);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    background-color: #d35400;
    color: var(--accent-foreground);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--muted);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* ===== Header & Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    position: relative;
    z-index: 101;
}

.site-logo img,
.logo-image {
    height: 100px;
    width: auto;
    position: relative;
    top: 25px;
}

.site-logo svg {
    width: 40px;
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    transition: color 0.15s ease;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--foreground);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(30, 58, 95, 0.85), rgba(30, 58, 95, 0.7)), url('assets/images/hero-bg.png') center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1,
.hero-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.hero-title-white {
    display: block;
    color: #ffffff;
    font-style: italic;
}

.hero-title-blue {
    display: block;
    color: var(--secondary);
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* ===== Feature Badges ===== */
.feature-badges {
    padding: 2rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
}

.badges-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
}

.badge-icon {
    color: var(--secondary);
    flex-shrink: 0;
}

/* ===== Section Styles ===== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

/* ===== Cards ===== */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 500;
    color: var(--secondary);
}

.card-link:hover {
    color: var(--primary);
}

.card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
}

.card-link:hover svg {
    transform: translateX(4px);
}

/* ===== Services/Features ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: var(--radius);
    color: var(--secondary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

/* ===== Case Studies ===== */
.case-studies {
    background-color: var(--muted);
}

.case-study-card {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.case-study-card .card-image {
    height: 180px;
}

.case-study-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--primary);
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.15s ease;
}

.footer-social a:hover {
    background-color: var(--secondary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: var(--radius);
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.contact-form {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: #ffffff;
    color: var(--foreground);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== Blog Styles ===== */
.blog-header {
    background-color: var(--primary);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.blog-header h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.blog-header p {
    opacity: 0.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.blog-card {
    background-color: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

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

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-card-title a:hover {
    color: var(--secondary);
}

.blog-card-excerpt {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.875rem;
}

.read-more:hover {
    color: var(--primary);
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 3rem 0;
}

.product-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image {
    transform: scale(1.03);
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    z-index: 1;
}

.product-badge-out-of-stock {
    background-color: var(--navy);
    color: white;
}

.product-badge-pre-order {
    background-color: var(--orange);
    color: white;
}

.product-badge-ebook {
    background-color: var(--orange);
    color: white;
}

.product-badge-in-stock {
    background-color: #10b981;
    color: white;
}

.product-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
    line-height: 1.3;
}

.product-card-title a:hover {
    color: var(--secondary);
}

.product-card-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

/* Product Buttons */
.btn-amazon {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background-color: var(--orange);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-amazon:hover {
    background-color: #c75a15;
    color: white;
    transform: translateY(-1px);
}

.single-post-content a.btn-amazon { 
    color: white; 
    text-decoration: none; 
}

.btn-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background-color: #f1f5f9;
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: not-allowed;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Unavailable Products */
.product-card.product-unavailable {
    opacity: 0.7;
}

.product-card.product-unavailable .product-card-image {
    filter: grayscale(30%);
}

.product-card.product-unavailable .product-card-title {
    color: var(--muted-foreground);
}

/* Products Page Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card-image {
        height: 160px;
    }
    
    .product-card-content {
        padding: 1rem;
    }
    
    .product-card-title {
        font-size: 1rem;
    }
    
    .product-card-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .product-price {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card-image {
        height: 200px;
    }
}

/* ===== Single Post ===== */
/* Article single post - constrained width for readability */
article.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* Ensure body.single-post doesn't inherit article styles */
body.single-post {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.single-post-header {
    margin-bottom: 2rem;
}

.single-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.single-post-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.single-post-featured {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.single-post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

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

.single-post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.single-post-content ol li {
    list-style: decimal;
}

.single-post-content blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--muted-foreground);
}

.single-post-content img {
    border-radius: var(--radius);
    margin: 2rem 0;
}

.single-post-content a {
    color: var(--secondary);
    text-decoration: underline;
}

.single-post-content a:hover {
    color: var(--primary);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 0 4rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--foreground);
    background-color: #ffffff;
    transition: all 0.15s ease;
}

.pagination a:hover {
    background-color: var(--muted);
    border-color: var(--muted);
}

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

/* ===== 404 Page ===== */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.error-404 h2 {
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 200;
    padding: 2rem;
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu nav a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--foreground);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.875rem; }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        min-height: 500px;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== WordPress Specific ===== */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: var(--radius);
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--navy);
    padding: 5rem 0;
}

.testimonials-section .section-header h2 {
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars .star {
    color: var(--orange);
    font-size: 1.25rem;
}

.testimonial-quote-icon {
    color: var(--orange);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.testimonial-text {
    font-style: italic;
    color: var(--foreground);
    line-height: 1.7;
    font-size: 0.95rem;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--navy);
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
}

/* ===== Page Content Wrapper (Footer Fill) ===== */
#main-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.page-content-wrapper {
    min-height: calc(100vh - 400px);
    padding-bottom: 3rem;
}

.page-content-wrapper .single-post-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
