/*
Theme Name: Credible Content Theme
Theme URI: https://credible-content.com
Author: Amrit Hallan
Author URI: https://credible-content.com
Description: Professional content writing services theme for Credible Content
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: credible-content
*/

/* Google Fonts are loaded in header.php */

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    color: #000000;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* General Link Styling */
a {
    color: #DC2626;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #DC2626;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

a:hover {
    color: #B91C1C;
}

a:hover::after {
    background-color: #B91C1C;
}

/* Disable hover effects for image links */
a img {
    transition: none;
}

a:has(img)::after {
    display: none;
}

a:has(img):hover {
    color: inherit;
}

/* Disable animated underline for navigation links */
nav a::after {
    display: none;
}

/* Disable animated underline for buttons */
.cta-button::after,
.testimonial-btn::after {
    display: none;
}

/* Header */
header {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-family: 'Aladin', cursive;
    font-size: 1.75rem;
    color: #000000;
    text-decoration: none;
}

.logo-text::after {
    display: none;
}

.logo-text:hover {
    color: #000000;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
}

/* Force show on mobile for debugging */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #000000;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #666666;
}

.cta-button {
    background: #DC2626;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: #DC2626;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background-color: #ffde59;
    background-size: 1400px 500px;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.hero.single-hero {
    min-height: 500px;
}

.hero .container {
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 6rem 0;
    width: 100%;
}

.single-hero .hero-content {
    padding: 4rem 0 2rem 0;
}

.hero-text {
    flex: 1;
    max-width: 650px;
    padding-right: 2rem;
}

.single-hero .hero-text {
    max-width: 70%;
    padding-right: 3rem;
}

.hero-text h1 {
    font-family: 'Noto Serif', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000;
    line-height: 1.2;
}

.single-hero .hero-text h1 {
    font-size: 3rem;
}

.hero-text .tagline {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
}

.single-hero .hero-text .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-text h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.3;
}

.hero-text .post-title {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
    line-height: 1.7;
}

.hero-text .post-excerpt {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.7;
}

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

.hero-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #F9FAFB;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.breadcrumbs-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #666666;
}

.breadcrumbs a {
    color: #DC2626;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs-separator {
    color: #999999;
}

/* Post Meta */
.post-meta {
    background: #F9FAFB;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.post-meta-inner {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #666666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    width: 18px;
    height: 18px;
}

.meta-item a {
    color: #DC2626;
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #F9FAFB;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.25rem;
    color: #666666;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-card a {
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
}

.service-card a::after {
    display: none;
}

.service-card a:hover {
    color: #B91C1C;
    text-decoration: underline;
}

/* Latest Insights / Blog */
.blog {
    padding: 5rem 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #F9FAFB;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.blog-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

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

.blog-content {
    padding: 2rem;
}

.blog-date {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: #374151;
    margin-bottom: 1rem;
}

.blog-content a {
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: #1F2937;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .number {
    font-family: 'Noto Serif', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item .label {
    font-size: 1.25rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.about-content p {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: #F9FAFB;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.mission-content p {
    font-size: 1.25rem;
    color: #374151;
    line-height: 1.8;
}

/* Values Section */
.values {
    padding: 5rem 0;
    background: white;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-item p {
    color: #374151;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #1F2937;
    color: white;
}

.testimonials h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-wrapper {
    position: relative;
}

.testimonials-container {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 33.333%;
    padding: 0 1rem;
}

.testimonial-card {
    background: #374151;
    padding: 2rem;
    border-radius: 0.5rem;
    height: 100%;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid #4B5563;
    padding-top: 1rem;
}

.testimonial-author .name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author .company {
    color: #9CA3AF;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: #DC2626;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: #B91C1C;
}

/* Main Content Layout (Single Post) */
.content-area {
    padding: 3rem 0;
    background: white;
}

.content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.main-content {
    flex: 0 0 65%;
    max-width: 65%;
    min-width: 0;
    overflow: hidden;
}

.sidebar-area {
    flex: 0 0 35%;
    max-width: 35%;
}

/* Post Content Styling */
.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    overflow: hidden;
    width: 100%;
}

.post-content * {
    max-width: 100%;
}

.post-content h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000000;
}

.post-content h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #000000;
}

.post-content h4 {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

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

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

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

.post-content a {
    color: #DC2626;
    text-decoration: none;
}

.post-content a:hover {
    color: #B91C1C;
}

.post-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.post-content figure {
    max-width: 100% !important;
    width: 100% !important;
    margin: 2rem 0;
}

.post-content figure img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

.post-content .wp-caption {
    max-width: 100% !important;
    width: 100% !important;
}

.post-content .wp-caption img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.post-content .alignnone,
.post-content .aligncenter,
.post-content .alignleft,
.post-content .alignright {
    max-width: 100% !important;
}

.post-content .alignnone img,
.post-content .aligncenter img,
.post-content .alignleft img,
.post-content .alignright img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.post-content blockquote {
    border-left: 4px solid #DC2626;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666666;
}

.post-content code {
    background: #F3F4F6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

.post-content pre {
    background: #1F2937;
    color: #F9FAFB;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    max-width: 100%;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Latest Blog Posts Section */
.latest-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #E5E7EB;
}

.latest-posts h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #000000;
}

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

.latest-post-card {
    background: #F9FAFB;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.latest-post-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

.latest-post-content {
    padding: 1.5rem;
}

.latest-post-date {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

.latest-post-content h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.latest-post-content h3 a {
    color: #000000;
    text-decoration: none;
}

.latest-post-content h3 a:hover {
    color: #DC2626;
}

.latest-post-excerpt {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.latest-post-link {
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.latest-post-link:hover {
    color: #B91C1C;
}

/* Sidebar Widgets */
.widget {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.widget h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 0.75rem;
}

.widget ul li a {
    color: #DC2626;
    text-decoration: none;
    border-bottom: 1px dotted #DC2626;
    transition: color 0.3s;
    display: inline;
}

.widget ul li a::after {
    display: none;
}

.widget ul li a:hover {
    color: #B91C1C;
    border-bottom-color: #B91C1C;
}

.widget a {
    color: #DC2626;
    border-bottom: 1px dotted #DC2626;
    text-decoration: none;
}

.widget a::after {
    display: none;
}

.widget a:hover {
    color: #B91C1C;
    border-bottom-color: #B91C1C;
}

/* Post Listing (index.php) */
.blog-post {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-post .post-thumbnail {
    margin-bottom: 1.5rem;
}

.blog-post .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.blog-post .post-header {
    margin-bottom: 1.5rem;
}

.blog-post .entry-title {
    font-family: 'Noto Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-post .entry-title a {
    color: #000000;
    text-decoration: none;
}

.blog-post .entry-title a:hover {
    color: #DC2626;
}

.blog-post .entry-content {
    color: #374151;
    line-height: 1.8;
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
}

.read-more-link:hover {
    color: #B91C1C;
}

.pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: 0.5rem 1rem;
    background: #F9FAFB;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #DC2626;
    color: white;
}

.no-posts {
    text-align: center;
    padding: 3rem;
}

.no-posts h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000000;
}

/* Sitemap Styles */
.sitemap-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.sitemap-category {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #E5E7EB;
}

.sitemap-category:last-child {
    border-bottom: none;
}

.category-heading {
    font-family: 'Noto Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
}

.category-description {
    color: #666666;
    margin-bottom: 1rem;
    font-style: italic;
}

.sitemap-posts {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.sitemap-posts li {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
}

.sitemap-posts li:before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #DC2626;
    font-size: 1.2rem;
}

.sitemap-posts li a {
    color: #DC2626;
    text-decoration: none;
    border-bottom: 1px dotted #DC2626;
}

.sitemap-posts li a::after {
    display: none;
}

.sitemap-posts li a:hover {
    color: #B91C1C;
    border-bottom-color: #B91C1C;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Homepage Footer */
.homepage-footer {
    background: #F9FAFB;
    padding: 3rem 0;
}

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

.homepage-footer .widget {
    background: white;
}

/* Single Page Footer - Hidden on Desktop */
.single-page-footer {
    display: none;
    background: #000000;
    color: white;
    padding: 2rem 0;
}

/* Footer */
footer {
    background: #000000;
    color: white;
    padding: 3rem 0;
}

.simple-footer {
    background: #F9FAFB;
    padding: 2rem 0;
}

.simple-footer .footer-bottom {
    border-top: none;
    padding-top: 0;
    color: #666666;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3,
.footer-column h4 {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column p {
    color: #9CA3AF;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #DC2626;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #B91C1C;
}

.footer-column a {
    color: #DC2626;
}

.footer-column a:hover {
    color: #B91C1C;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Mobile Sidebar in Footer */
.mobile-sidebar {
    display: none;
}

.mobile-sidebar .footer-bottom {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-slide {
        min-width: 50%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .latest-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .main-content,
    .sidebar-area {
        flex: 1;
        max-width: 100%;
    }
    
    .sidebar-area {
        margin-top: 2rem;
    }
    
    .hero {
        background-size: 100% auto;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: -webkit-fill-available;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        -webkit-overflow-scrolling: touch;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav a {
        color: white;
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    nav.active a {
        opacity: 1;
        transform: translateY(0);
    }
    
    nav.active a:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    nav.active a:nth-child(2) {
        transition-delay: 0.2s;
    }
    
    nav.active a:nth-child(3) {
        transition-delay: 0.3s;
    }
    
    nav.active a:nth-child(4) {
        transition-delay: 0.4s;
    }
    
    nav.active a:nth-child(5) {
        transition-delay: 0.5s;
    }
    
    nav a:hover {
        color: #DC2626;
    }
    
    nav .cta-button {
        background: #DC2626;
        color: white;
        padding: 1rem 2rem;
        border-radius: 0.375rem;
        font-size: 1.25rem;
    }
    
    nav .cta-button:hover {
        background: #B91C1C;
        color: white;
    }
    
    /* Other Mobile Styles */
    .hero {
        background-size: 100% auto;
        background-position: center top;
        min-height: 600px;
    }
    
    .hero.single-hero {
        min-height: 400px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .single-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2,
    .hero-text .post-title {
        font-size: 1.75rem;
    }
    
    .hero-text .tagline {
        font-size: 1.25rem;
    }
    
    .single-hero .hero-text .tagline {
        font-size: 1.1rem;
    }
    
    .hero-text .post-excerpt {
        font-size: 1.1rem;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .hero-image img {
        max-width: 300px;
    }
    
    .post-meta-inner {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slide {
        min-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}