/*
Theme Name: TGP-Agency
Theme URI: https://tgpbaze.com
Author: TGPBaze
Author URI: https://tgpbaze.com
Description: Custom WordPress theme for TGPBaze Agency
Version: 1.0.0
License: GPL v2 or later
Text Domain: tgpbaze
*/

:root {
    --primary-color-light: #ff7426;
    --secondary-color-light: #f7f9f9;
    --accent-color-light: #ff6347;
    --background-color-light: #ffffff;
    --text-color-light: #1a1a1a;
    --card-bg-light: #ffffff;
    --nav-bg-light: rgba(255, 255, 255, 0.95);
    --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --footer-text-light: #e0e0e0;
    --footer-bg-light: #1e1e2f;
    
    --primary-color-dark: #ff7426;
    --secondary-color-dark: #1e1e2f;
    --accent-color-dark: #ff7f50;
    --background-color-dark: #12121b;
    --text-color-dark: #e0e0e0;
    --card-bg-dark: #1e1e2f;
    --nav-bg-dark: rgba(18, 18, 27, 0.95);
    --shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --footer-text-dark: #e0e0e0;
    --footer-bg-dark: #0a0a0f;
    
    --font-family: "Inter", sans-serif;
    --transition-speed: 0.3s;
}

/* Default Light Mode */
html {
    --primary-color: var(--primary-color-light);
    --secondary-color: var(--secondary-color-light);
    --accent-color: var(--accent-color-light);
    --background-color: var(--background-color-light);
    --text-color: var(--text-color-light);
    --card-bg: var(--card-bg-light);
    --nav-bg: var(--nav-bg-light);
    --shadow: var(--shadow-light);
    --footer-text: var(--footer-text-light);
    --footer-bg: var(--footer-bg-light);
}

html.dark-mode {
    --primary-color: var(--primary-color-dark);
    --secondary-color: var(--secondary-color-dark);
    --accent-color: var(--accent-color-dark);
    --background-color: var(--background-color-dark);
    --text-color: var(--text-color-dark);
    --card-bg: var(--card-bg-dark);
    --nav-bg: var(--nav-bg-dark);
    --shadow: var(--shadow-dark);
    --footer-text: var(--footer-text-dark);
    --footer-bg: var(--footer-bg-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animation on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    opacity: 0.8;
    color: var(--text-color);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    display: inline-block;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #1e1e2f;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

/* Header - Sticky */
.main-header {
    position: sticky !important;
    top: 20px !important;
    left: 20px;
    right: 20px;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-radius: 15px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-color);
}

.logo i {
    color: var(--primary-color);
    font-size: 28px;
    margin-right: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links li.current-menu-item a {
    color: var(--primary-color);
}

.nav-links .btn-primary {
    color: #fff !important;
}

.hamburger,
.mobile-nav {
    display: none;
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    margin-top: -100px;
    padding-top: 100px;
}

.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: #fff;
    color: #000 !important;
}

.hero .btn-secondary {
    color: #fff;
    border-color: #fff;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 42px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    display: block;
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 32px 24px 24px;
    color: #fff;
}

.portfolio-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* Performance Section */
.performance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stat-number {
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.blog-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-content h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
    margin: 16px 0;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.testimonial-item {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
    color: var(--text-color);
}

.testimonial-item p {
    color: var(--text-color);
}

.testimonial-item strong {
    color: var(--text-color);
}

.testimonial-item span {
    color: var(--text-color);
    opacity: 0.7;
}

/* Stats Section */
.stats-section {
    background: #0a083b !important;
    color: #fff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: 40px;
}

.stats-grid h3 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
}

.stats-grid p {
    color: #fff;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    background-color: var(--secondary-color);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
}

/* Pricing Page Styles */
.pricing-section {
    padding: 80px 0;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.pricing-toggle span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-period {
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-color);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: #10b981;
    margin-right: 10px;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

.review-info h4 {
    color: var(--text-color);
    margin-bottom: 5px;
}

.review-rating {
    color: #fbbf24;
}

.review-text {
    color: var(--text-color);
    line-height: 1.7;
}

/* Footer */
.main-footer {
    background: var(--footer-bg);
    padding-top: 60px;
    color: var(--footer-text);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--footer-text);
}

.footer-about p {
    max-width: 300px;
    opacity: 0.8;
    color: var(--footer-text);
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-social a {
    color: var(--footer-text);
    opacity: 0.8;
    transition: opacity 0.2s;
    text-decoration: none;
}

.footer-links a:hover,
.footer-social a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--footer-text);
}

.footer-contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-contact-info span {
    color: var(--footer-text);
}

.footer-social a {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--footer-text);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    color: var(--footer-text);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background: var(--card-bg);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 90px;
    left: 20px;
    right: 20px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    z-index: 999;
    box-shadow: var(--shadow);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 15px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.mobile-theme-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    margin-top: 15px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links,
    .theme-switcher {
        display: none;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-contact-info {
        text-align: left;
    }
}

/* ============================================ */
/* CASE STUDY SINGLE STYLES */
/* ============================================ */

.case-study-split-layout {
    padding: 150px 0 60px;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.case-study-main-content {
    padding-right: 20px;
}

.client-logo {
    margin-bottom: 30px;
}

.client-logo img {
    max-height: 50px;
    width: auto;
}

.case-study-main-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.2;
}

.services-list {
    margin: 20px 0;
}

.service-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin: 30px 0 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.brief-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Live Website Link - Shaking Animation */
.live-website-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    transition: color 0.3s ease;
    animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

.live-website-link i {
    transition: transform 0.3s ease;
}

.live-website-link:hover {
    color: var(--accent-color) !important;
    animation: none;
}

.live-website-link:hover i {
    transform: translateX(5px);
}

.case-study-sidebar-image .featured-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.case-study-sidebar-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Case Study Details Section */
.case-study-details-section {
    padding: 60px 0 80px;
}

.case-study-full-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-full-content h1,
.case-study-full-content h2,
.case-study-full-content h3 {
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.case-study-full-content h1 { font-size: 2rem; }
.case-study-full-content h2 { font-size: 1.75rem; }
.case-study-full-content h3 { font-size: 1.35rem; }

.case-study-full-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-study-full-content ul,
.case-study-full-content ol {
    margin: 20px 0;
    padding-left: 25px;
    color: var(--text-color);
}

.case-study-full-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.case-study-full-content code {
    background: var(--card-bg);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: monospace;
}

/* Project Images Grid */
.project-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.zoom-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.image-wrapper:hover .zoom-icon {
    opacity: 1;
}

/* Testimonial Box */
.testimonial-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.testimonial-box blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-color);
    margin: 0;
    position: relative;
    padding-left: 30px;
}

.testimonial-box blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.3;
    font-family: serif;
}

/* Fullscreen Slider Modal */
.fullscreen-slider-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.simple-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    max-width: 90%;
    max-height: 90%;
}

.slider-item {
    max-width: 100%;
    max-height: 85vh;
    margin: 0 auto;
    object-fit: contain;
}

.slider-prev-btn,
.slider-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev-btn { left: 20px; }
.slider-next-btn { right: 20px; }

.slider-prev-btn:hover,
.slider-next-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-indicators span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicators span.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================ */
/* BLOG STYLES */
/* ============================================ */

.blog-container {
    padding: 150px 0 80px;
}

.blog-container .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-content {
    width: 100%;
}

.blog-sidebar {
    width: 100%;
}

/* Blog Article (Single) */
.blog-article {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.blog-article .blog-mainImage img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.blog-article .article-group {
    padding: 40px;
}

.blog-h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.2;
}

.article-category {
    margin-bottom: 20px;
}

.article-category span {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Blog Archive Article */
.recent-articles {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
    margin-bottom: 30px;
}

.recent-articles .blog-mainImage img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.recent-articles .article-group {
    padding: 30px;
}

.blog-authorGroup {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-author-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author {
    font-weight: 600;
    color: var(--text-color);
}

.blog-dot {
    width: 4px;
    height: 4px;
    background: var(--text-color);
    border-radius: 50%;
    opacity: 0.5;
}

.blog-date {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.95rem;
}

.blog-h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-h2 a:hover {
    color: var(--primary-color);
}

.blog-desc {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Blog Content Section */
#blog-content {
    padding: 0 40px 40px;
    color: var(--text-color);
    line-height: 1.8;
}

#blog-content h1 { font-size: 2rem; margin: 30px 0 20px; }
#blog-content h2 { font-size: 1.75rem; margin: 30px 0 20px; }
#blog-content h3 { font-size: 1.35rem; margin: 25px 0 15px; }
#blog-content p { margin-bottom: 20px; }
#blog-content ul, #blog-content ol { margin: 20px 0; padding-left: 25px; }
#blog-content li { margin-bottom: 10px; }
#blog-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; }
#blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
}

/* Sidebar */
.blog-featured-group {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
    margin-bottom: 30px;
}

.blog-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    display: block;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.blog-feature {
    display: flex;
    gap: 15px;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.blog-feature:last-child {
    border-bottom: none;
}

.blog-featureImage img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.content-group {
    flex: 1;
}

.feature-h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.4;
}

.blog-feature:hover .feature-h3 {
    color: var(--primary-color);
}

.feature-date {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Sidebar Widgets */
.blog-featured-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-featured-group ul li {
    margin-bottom: 12px;
}

.blog-featured-group ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.blog-featured-group ul li a:hover {
    color: var(--primary-color);
}

.blog-featured-group ul li ul {
    padding-left: 15px;
    margin-top: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background: var(--card-bg);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ============================================ */
/* SERVICES PAGE STYLES */
/* ============================================ */

.services-section {
    padding: 60px 0 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.7;
    flex: 1;
}

/* ============================================ */
/* RESPONSIVE STYLES */
/* ============================================ */

@media (max-width: 1024px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-study-main-content {
        padding-right: 0;
    }
    
    .blog-container .container {
        grid-template-columns: 1fr;
    }
    
    .blog-h1 {
        font-size: 2rem;
    }
    
    .case-study-main-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .case-study-split-layout {
        padding: 120px 0 40px;
    }
    
    .blog-container {
        padding: 120px 0 60px;
    }
    
    .blog-article .article-group {
        padding: 25px;
    }
    
    #blog-content {
        padding: 0 25px 25px;
    }
    
    .blog-h1 {
        font-size: 1.75rem;
    }
    
    .blog-h2 {
        font-size: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .slider-prev-btn,
    .slider-next-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-feature {
        flex-direction: column;
    }
    
    .blog-featureImage img {
        width: 100%;
        height: 120px;
    }
}

/* ===========================
   Sticky Sidebar - Fixed
   =========================== */

.blog-sidebar {
    position: relative;
    height: 100%;
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
}

/* Ensure parent container allows sticky */
.blog-container {
    overflow: visible !important;
}

.blog-container .container {
    align-items: flex-start !important;
    overflow: visible !important;
}

.main-content {
    overflow: visible !important;
}

/* Mobile - disable sticky */
@media (max-width: 768px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
    }
    
    .blog-sidebar.hide-on-mobile {
        display: none !important;
    }
}

/* ============================================ */
/* FIXED COMMENT STYLES - No Overlap */
/* ============================================ */

.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    overflow: hidden;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.comment-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
    color: var(--text-color);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.7;
    word-break: break-word;
}

.no-comments {
    color: var(--text-color);
    opacity: 0.7;
    padding: 20px 0;
}

/* Comment Form */
.comment-form-wrapper {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.comment-form-wrapper h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 10px;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#comment-form-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

#comment-form-message.success {
    background: #10b981;
    color: #fff;
}

#comment-form-message.error {
    background: #ef4444;
    color: #fff;
}

/* Post Navigation - Centered */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    max-width: 45%;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    word-break: break-word;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    color: var(--primary-color);
}

.post-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next {
    text-align: right;
    margin-left: auto;
}

/* ============================================ */
/* TRUSTED PARTNERS MARQUEE SECTION */
/* ============================================ */

.partner-area {
    padding: 40px 0;
    overflow: hidden;
}

.partner-title-area {
    text-align: center;
    margin-bottom: 30px;
}

.partner-title-area h6 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-title-area h6 span {
    color: var(--primary-color);
    font-weight: 700;
}

.partner-wrap {
    overflow: hidden;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 0;
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 50px;
    min-width: 100%;
    animation: scroll 30s linear infinite;
}

.marquee:hover .marquee__group {
    animation-play-state: paused;
}

.marquee__group a {
    display: inline-block;
}

.marquee__group img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee__group img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.marquee.light .marquee__group img {
    filter: grayscale(100%);
}

.marquee.dark .marquee__group img {
    filter: grayscale(100%) brightness(0) invert(1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 50px));
    }
}

/* ============================================ */
/* PRODUCTS/RESOURCES SECTION */
/* ============================================ */

.products-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.products-section .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.free {
    background: #10b981;
    color: #fff;
}

.product-badge.paid {
    background: var(--primary-color);
    color: #fff;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.product-price.free {
    color: #10b981;
}

.product-category {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.product-desc {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-features li {
    padding: 8px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    color: #10b981;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

/* Product Single Page */
.product-single {
    padding: 150px 0 80px;
}

.product-single-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.product-gallery img {
    width: 100%;
    border-radius: 20px;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.product-info .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-description {
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .comment-item {
        gap: 15px;
    }
    
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        max-width: 100%;
    }
    
    .post-navigation .nav-next {
        margin-left: 0;
    }
    
    .marquee__group {
        gap: 30px;
        animation: scroll 20s linear infinite;
    }
    
    .marquee__group img {
        max-height: 35px;
    }
    
    .product-single-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* PRODUCTS ARCHIVE PAGE */
/* ============================================ */

.products-archive {
    padding: 150px 0 80px;
}

.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
}

.products-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.products-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.products-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* View All Button */
.btn-view-all {
    background: var(--primary-color) !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-view-all:hover {
    background: var(--accent-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(255, 116, 38, 0.3) !important;
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* Product Single Page */
.product-single {
    padding: 150px 0 80px;
}

.product-single-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.product-gallery .main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.product-gallery .main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-meta-single {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.product-category-single {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-price-single {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.product-price-single.free {
    color: #10b981;
}

.product-price-single small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    opacity: 0.7;
}

.currency-toggle-single {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.currency-toggle-single span {
    color: var(--text-color);
    font-weight: 500;
}

.product-description {
    padding: 40px 0;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
}

.product-description h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

.product-description-content {
    color: var(--text-color);
    line-height: 1.8;
}

.product-features-full {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.product-features-full h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-features-full ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.product-features-full li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
}

.product-features-full li i {
    color: #10b981;
    font-size: 1.1rem;
}

.product-actions-single {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.product-actions-single .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.product-actions-single .btn i {
    margin-right: 8px;
}

.btn-download {
    background: var(--primary-color);
    color: #fff;
}

.btn-download:hover {
    background: var(--accent-color);
    color: #fff;
}

.btn-contact {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-contact:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background: var(--secondary-color);
}

.related-products h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 992px) {
    .product-single-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
    
    .products-grid-large {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-archive {
        padding: 120px 0 60px;
    }
    
    .products-header h1 {
        font-size: 2.2rem;
    }
    
    .product-single {
        padding: 120px 0 60px;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .product-price-single {
        font-size: 2.5rem;
    }
    
    .currency-toggle-single {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
    }
    
    .comment-item {
        gap: 15px;
    }
    
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-color);
}

.logo .custom-logo {
    max-height: 40px;
    width: auto;
}

.logo .site-title-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .site-title-text i {
    color: var(--primary-color);
    font-size: 28px;
}

/* Footer Logo */
.footer-about .logo {
    color: var(--footer-text);
    margin-bottom: 1rem;
}

.footer-about .logo .site-title-text i {
    color: var(--primary-color);
}

/* Hide sidebar on mobile */
@media (max-width: 768px) {
    .blog-sidebar.hide-on-mobile {
        display: none !important;
    }
    
    .blog-container .container {
        grid-template-columns: 1fr !important;
    }
    
    .main-content {
        width: 100% !important;
    }
}

/* ===========================
   Content Single Design - TGPBaze
   =========================== */

/* Blog Container - No border, proper spacing */
.blog-container {
    padding: 150px 0 80px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.blog-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    box-sizing: border-box;
    width: 100%;
}

.main-content {
    min-width: 0;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.blog-article {
    max-width: 100%;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Post Title */
.entry-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: var(--text-color);
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    padding-right: 0;
}

/* Author Meta Section */
.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: block;
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.author-name-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
    word-wrap: break-word;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1DA1F2;
    font-size: 16px;
    cursor: help;
}

.verified-badge i {
    font-size: 16px;
}

.article-date {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
}

.article-date strong {
    font-weight: 700;
}

.article-date time {
    display: inline-block;
    margin-right: 15px;
}

/* Social Share Row (Top) */
.meta-actions-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 15px 0 20px 0;
    padding-bottom: 0;
    border-bottom: none;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Social Share Row (Bottom) */
.meta-actions-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
    color: white;
}

.share-button.whatsapp { background: #25D366; }
.share-button.twitter { background: #000; }
.share-button.facebook { background: #1877F2; }
.share-button.copy_link { background: #666; }

/* Comments CTA Wrapper */
.comments-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    margin: 15px 0 25px 0;
    width: 100%;
    box-sizing: border-box;
}

.comments-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comments-cta:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Featured Image */
.mh-featured-image-wrapper {
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.full-featured-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 12px;
    max-width: 100%;
    box-sizing: border-box;
}

.featured-caption-wrapper {
    background: var(--card-bg);
    padding: 12px 15px;
    border-radius: 0 0 12px 12px;
    margin-top: -4px;
    width: 100%;
    box-sizing: border-box;
}

.featured-caption {
    margin: 0;
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.7;
}

/* Article Content */
.entry-content {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.entry-content p {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 30px 0 20px;
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 25px 0 15px;
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-sizing: border-box;
}

.entry-content pre,
.entry-content code,
.entry-content iframe,
.entry-content table {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}

.entry-content ul,
.entry-content ol {
    padding-left: 25px;
    box-sizing: border-box;
}

.entry-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 4px solid var(--primary-color);
    background: var(--card-bg);
    border-radius: 0 8px 8px 0;
    box-sizing: border-box;
}

/* Article Footer */
.article-footer {
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Related Topics */
.related-topics {
    margin: 20px 0 0 0;
    width: 100%;
    box-sizing: border-box;
}

.related-topics__heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.related-topics__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-topics__list a {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.related-topics__list a:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    max-width: 45%;
}

.post-navigation a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    word-wrap: break-word;
}

.post-navigation a:hover {
    color: var(--primary-color);
}

/* Comments Section */
.mh-comments-wrap {
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

.comments-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.comments-list-wrap {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    border-top: none;
    width: 100%;
    box-sizing: border-box;
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.comment-body {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.commentlist li:last-child .comment-body {
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-content-wrapper {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 700;
    color: var(--text-color);
}

.comment-author a {
    color: var(--text-color);
    text-decoration: none;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

.awaiting-moderation {
    color: #f59e0b;
    font-style: italic;
    font-size: 0.8rem;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.comment-text p {
    margin-bottom: 10px;
}

.comment-reply-link {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.comment-reply-link:hover {
    color: var(--accent-color);
}

.comment-form-wrap {
    background: var(--card-bg);
    padding: 25px;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.comment-form-author,
.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-author label,
.comment-form-comment label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.comment-form-author input,
.comment-form-comment textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 10px;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    box-sizing: border-box;
}

.comment-form-comment textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #ef4444;
}

.comment-notes {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 20px;
}

.no-comments {
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
    padding: 20px;
}

.mh-no-comments {
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
    padding: 20px;
}

.mh-comments-pagination {
    margin-top: 20px;
    text-align: center;
}

.mh-comments-pagination .page-numbers {
    padding: 8px 12px;
    margin: 0 3px;
    background: var(--background-color);
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
}

.mh-comments-pagination .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-container .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 120px 0 60px;
    }
    
    .blog-container .container {
        padding: 0 15px;
    }
    
    .blog-sidebar.hide-on-mobile {
        display: none !important;
    }
    
    .entry-title {
        font-size: 1.75rem;
    }
    
    .post-meta {
        flex-wrap: wrap;
    }
    
    .article-date time {
        display: block;
        margin-bottom: 4px;
        margin-right: 0;
    }
    
    .meta-actions-top,
    .meta-actions-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .share-button {
        width: 36px;
        height: 36px;
    }
    
    .comments-cta {
        padding: 8px 16px;
    }
    
    .comments-cta-wrapper {
        justify-content: flex-start;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        max-width: 100%;
    }
    
    .comment-body {
        gap: 12px;
    }
    
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .entry-content {
        font-size: 15px;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.2rem;
    }
    
    .author-name-wrapper {
        gap: 4px;
    }
}

/* Fix for all images and embedded content */
.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content object,
.entry-content embed {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

.entry-content figure {
    max-width: 100% !important;
    margin: 20px 0;
    box-sizing: border-box;
}

.entry-content figure img {
    width: 100%;
}

.entry-content .wp-caption {
    max-width: 100% !important;
    box-sizing: border-box;
}

.entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure all elements respect container width */
.entry-content *,
.comments-list-wrap *,
.comment-form-wrap * {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===========================
   Mobile Hero Fix - Prevent Header Overlap
   =========================== */

@media (max-width: 768px) {
    .hero {
        min-height: 700px;
        padding-top: 140px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Adjust header position */
    .main-header {
        top: 10px !important;
        left: 10px;
        right: 10px;
    }
    
    .main-nav {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 650px;
        padding-top: 120px !important;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
}

/* ===========================
   Product Buttons Mobile Fix
   =========================== */

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .product-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .product-card {
        padding-bottom: 5px;
    }
    
    .product-content {
        padding: 20px 15px;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
    }
    
    .product-desc {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-actions .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ===========================
   Contact Page - Show/Hide Versions
   =========================== */

/* Desktop version - visible on desktop, hidden on mobile */
.contact-desktop {
    display: block;
}

/* Mobile version - hidden on desktop, visible on mobile */
.contact-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop version on mobile */
    .contact-desktop {
        display: none !important;
    }
    
    /* Show mobile version */
    .contact-mobile {
        display: block !important;
    }
    
    .contact-mobile h2 {
        font-size: 1.8rem !important;
    }
    
    .contact-mobile #contact-form-container {
        padding: 25px 20px !important;
    }
}

@media (max-width: 480px) {
    .contact-mobile h2 {
        font-size: 1.6rem !important;
    }
    
    .contact-mobile #contact-form-container {
        padding: 20px 15px !important;
    }
}

