/*
Theme Name: Agency Theme
Description: Custom theme for agency website cloned by ProWebsite.Builders
Version: 1.9 - COMPREHENSIVE FIX - All 4 issues properly resolved
Author: ProWebsite.Builders
*/

body {
    font-family: Manrope, sans-serif!important;
    text-rendering: optimizeLegibility;
}

/* Contact Buttons */
.contact-btn,
.mobile-contact-btn {
    background: var(--primary-color);
    color: var(--contact-btn-text);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
}

.contact-btn:hover,
.mobile-contact-btn:hover
 {
    background: #ffffff;
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(186, 255, 42, 0.3);
    text-decoration: none;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* CSS Custom Properties */
:root {
    --primary-color: var(--primary-color);
    --secondary-color: var(--primary-color);
    --bg-color: var(--bg-color);
    --text-color: #ffffff;
    --text-secondary: var(--text-secondary);
    --header-bg: var(--bg-color);
    --footer-bg: #111111;
    --border-color: #333333;
    --shadow-color: rgba(255, 255, 255, 0.1);
    --contact-btn-text: var(--bg-color);
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: var(--bg-color);
    --text-secondary: #666666;
    --header-bg: #ffffff;
    --footer-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Removed old mobile menu scroll prevention */

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 0;
    transition: all 0.3s ease;
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%) !important;
    
}

[data-theme="light"] .site-header {
    background: var(--header-bg)!important;
}

[data-theme="light"] .service-hero .breadcrumb {
    margin-top: 1rem;
}

/* Scrolled navbar with gradient */
.site-header.scrolled {
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%) !important;
}

.site-header .navbar {
    padding: 0.5rem 1rem;
    min-height: 80px;
}

.site-header .navbar-brand {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.site-header .navbar-brand:hover {
    color: var(--primary-color) !important;
}

.site-branding {
    flex: 0 0 auto;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.site-logo:hover {
    color: var(--primary-color);
}

/* Theme Toggle Switch */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--border-color);
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.theme-toggle.active {
    background: var(--primary-color);
}

.theme-toggle.active::before {
    transform: translateX(30px);
}

.theme-toggle:hover {
    opacity: 0.8;
}

/* Toggle Icons */
.theme-toggle .theme-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.theme-toggle .theme-icon.sun {
    right: 6px;
    opacity: 1;
}

.theme-toggle .theme-icon.moon {
    left: 6px;
    opacity: 0;
}

.theme-toggle.active .theme-icon.sun {
    opacity: 0;
}

.theme-toggle.active .theme-icon.moon {
    opacity: 1;
}

/* Contact Button - AGGRESSIVE BLACK TEXT FIX */
.contact-btn,
a.contact-btn,
.mobile-contact-btn,
a.mobile-contact-btn,
.navbar-nav .contact-btn,
.navbar-nav a.contact-btn,
.navbar-nav .mobile-contact-btn,
.navbar-nav a.mobile-contact-btn,
button.contact-btn,
div .contact-btn,
div .mobile-contact-btn {
    background: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: var(--bg-color) !important;
    border: none !important;
    border-color: transparent !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.contact-btn,
.mobile-contact-btn {
    color: var(--bg-color);
}

.contact-btn:hover,
a.contact-btn:hover,
.mobile-contact-btn:hover,
a.mobile-contact-btn:hover {
    background: #ffffff !important;
    color: var(--bg-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(186, 255, 42, 0.3) !important;
    text-decoration: none !important;
}

/* Header Actions Layout */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .theme-toggle {
    margin-right: 10px;
}



/* Navigation Styles */
.navbar-nav {
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Center the navigation */
.navbar-nav.mx-auto {
    margin: 0 auto !important;
}

/* Style WordPress generated menu items as Bootstrap nav items */
.navbar-nav li {
    list-style: none;
}

.navbar-nav a {
    color: var(--text-color) !important;
    font-weight: 400;
    font-size: 13px;
    padding: 0.5rem 0.75rem !important;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: block;
}

.navbar-nav a:hover,
.navbar-nav a:focus {
    color: var(--primary-color) !important;
}

/* Dropdown Styles */
.navbar-nav .dropdown-menu {
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0;
    top: 100%;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    position: absolute;
    display: none;
}

.navbar-nav .dropdown-menu.show {
    display: block;
}

/* Desktop Hover Effect for Dropdowns */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

    /* Ensure dropdown stays connected to parent */
    .navbar-nav .dropdown-menu {
        margin-top: -1px;
    }
}

.navbar-nav .dropdown-item {
    color: var(--text-color) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    color: var(--primary-color) !important;
    background: var(--card-bg);
}

/* Dropdown Arrow */
.dropdown-arrow {
    color: var(--primary-color);
    font-size: 10px;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-link[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Toggle */
.navbar-nav .nav-link.dropdown-toggle::after {
    display: none; /* Hide default Bootstrap arrow */
}

/* Cleaned up - removed old mobile menu styles */

/* Footer Styles */
.site-footer {
    background: var(--bg-color);
    color: #ffffff;
    margin-top: auto;
}

.footer-container,
.container-fixed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: 30px 0;
}

.newsletter-separator {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 30px auto;
}

.footer-separator {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 0 auto 30px auto;
    max-width: 800px;
}

.newsletter-icon {
    flex: 0 0 auto;
}

.newsletter-icon img {
    width: 280px;
    height: 215px;
    object-fit: contain;
}

.newsletter-info {
    flex: 0 0 auto;
    max-width: 450px;
    min-width: 400px;
}

.newsletter-title {
    font-size: 35px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 10px 0;
    line-height: 1.2;
    white-space: nowrap;
}

.newsletter-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin: 0 0 30px 0;
}

.newsletter-form .form-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.newsletter-form input[type="email"] {
    background: var(--bg-color);
    border: none;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
    padding: 15px 0;
    font-size: 16px;
    flex: 1;
    max-width: 300px;
    outline: none;
    font-family: 'Manrope', sans-serif;
}

.newsletter-form input[type="email"]::placeholder {
    color: #888888;
}

.newsletter-form input[type="email"]:focus {
    border-bottom-color: var(--primary-color);
}

.newsletter-submit {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.newsletter-submit:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(186, 255, 42, 0.3);
}

/* Main Footer */
.main-footer {
    padding: 30px 0;
}

.main-footer .container-fixed {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-company-info .company-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.footer-company-info .company-type {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--border-color);
    border-radius: 8px;
    color: #b1b6bc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Credit */
.footer-credit {
    background: var(--bg-color);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-credit p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.footer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-credit a:hover {
    opacity: 0.8;
}

/* Footer Widgets and Address Section */
.footer-widgets-section {
    background: var(--bg-color);
    padding: 40px 0;
}

.footer-address {
    margin-bottom: 40px;
}

.footer-address .address-content {
    text-align: center;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.footer-widgets {
    margin-bottom: 20px;
}

.footer-widgets-grid {
    margin-top: 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget .widget-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget .widget-content {
    color: var(--text-color);
    line-height: 1.6;
}

.footer-widget .widget-content p {
    margin-bottom: 12px;
}

.footer-widget .widget-content a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-widget .widget-content ul li {
    margin-bottom: 8px;
    padding-left: 0;
}

.footer-widget .widget-content ul li:before {
    content: "→";
    color: var(--primary-color);
    margin-right: 8px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .footer-widgets-section {
        padding: 30px 0;
    }
    
    .footer-address .address-content {
        font-size: 14px;
        padding: 15px 0;
    }
    
    .footer-widgets-grid {
        margin-top: 30px;
    }
    
    .footer-widget {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-widget .widget-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* Contact & Offices Section */
.contact-offices-section {
    padding: 40px 0;
}

.contact-offices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.contact-column {
    grid-column: 1;
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 15px 0;
}

.contact-email a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
}

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

.office-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.office-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.office-location {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.country-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
}

.office-details {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-left: 30px;
}

/* Footer Bottom Section */
.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    color: #888888;
    gap: 30px;
    font-size: 12px;
    justify-content: space-between;
    padding: 0.5rem;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    
}

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

.footer-copyright p {
    color: #888888;
    font-size: 14px;
    margin: 0;
}

/* Footer Contact Offices */
.footer-contact-offices {
    background: var(--footer-bg);
    padding: 40px 0;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-column {
    padding: 0 0.75rem;
    margin-bottom: 30px;
}

.footer-column.contact-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.contact-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    flex-shrink: 0;
}

.contact-email a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-column.office-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.office-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.office-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.office-address {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    padding-left: 0;
}

/* Button Styles */
.btn,
button[type="submit"],
input[type="submit"] {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
}

.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

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

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

/* Links */
a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    /* Mobile navigation handled by Bootstrap */
    
    .header-container {
        padding: 0 15px;
        min-height: 70px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .theme-toggle {
        width: 50px;
        height: 25px;
    }
    
    .theme-toggle::before {
        width: 19px;
        height: 19px;
        top: 3px;
    }
    
    .theme-toggle.active::before {
        transform: translateX(25px);
    }
    
    .theme-toggle .theme-icon {
        font-size: 10px;
    }
    
    .contact-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .mobile-contact-btn {
        display: inline-block !important;
        text-align: center !important;
        margin-top: 1rem !important;
        background: var(--primary-color) !important;
        background-color: var(--primary-color) !important;
        color: var(--bg-color) !important;
        font-weight: 600 !important;
        padding: 12px 24px !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        border: none !important;
        border-color: transparent !important;
        font-size: 14px !important;
        font-family: 'Manrope', sans-serif !important;
        line-height: 1.5 !important;
        outline: none !important;
    }

    /* Bootstrap Navbar Toggler */
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
        background: transparent;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4' width='6' height='6' rx='2' fill='rgba(255,255,255, 1)'/%3E%3Crect x='14' y='4' width='6' height='6' rx='2' fill='rgba(255,255,255, 1)'/%3E%3Crect x='4' y='14' width='6' height='6' rx='2' fill='rgba(255,255,255, 1)'/%3E%3Crect x='14' y='14' width='6' height='6' rx='2' fill='rgba(255,255,255, 1)'/%3E%3C/svg%3E");
        width: 1.5em;
        height: 1.5em;
    }
    
    .navbar-toggler {
        background: transparent;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='6' width='8' height='8' rx='2' fill='%23var(--primary-color)'/%3E%3Crect x='16' y='6' width='8' height='8' rx='2' fill='%23var(--primary-color)'/%3E%3Crect x='6' y='16' width='8' height='8' rx='2' fill='%23var(--primary-color)'/%3E%3Crect x='16' y='16' width='8' height='8' rx='2' fill='%23var(--primary-color)'/%3E%3C/svg%3E");
        width: 2em;
        height: 2em;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    /* Mobile Navigation */
    .navbar-collapse {
        background: var(--header-bg);
        margin-top: 1rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }



    /* Mobile Menu Navigation */
    .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 0;
        text-align: center;
        width: 100%;
        margin: 0 !important;
    }

    .navbar-collapse .navbar-nav li {
        width: 100%;
        margin: 0;
    }
    
    /* Contact button should not inherit full width from parent li */
    .navbar-collapse .contact-btn,
    .navbar-collapse .mobile-contact-btn,
    .navbar-collapse a.contact-btn,
    .navbar-collapse a.mobile-contact-btn {
        width: auto !important;
        max-width: fit-content !important;
        margin: 0 auto !important;
        display: inline-block !important;
    }

    .navbar-collapse .navbar-nav .nav-link:not(.contact-btn):not(.mobile-contact-btn),
    .navbar-collapse .navbar-nav a:not(.contact-btn):not(.mobile-contact-btn) {
        font-size: 18px !important;
        font-weight: 400 !important;
        padding: 15px 20px !important;
        color: var(--text-color) !important;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
        text-decoration: none;
    }
    
    /* Contact button in mobile menu should keep black text */
    .navbar-collapse .contact-btn,
    .navbar-collapse .mobile-contact-btn,
    .navbar-collapse a.contact-btn,
    .navbar-collapse a.mobile-contact-btn {
        color: var(--contact-btn-text) !important;
        background: var(--primary-color) !important;
    }

    .navbar-collapse .navbar-nav .nav-link:not(.contact-btn):not(.mobile-contact-btn):hover,
    .navbar-collapse .navbar-nav .nav-link:not(.contact-btn):not(.mobile-contact-btn):focus,
    .navbar-collapse .navbar-nav a:not(.contact-btn):not(.mobile-contact-btn):hover,
    .navbar-collapse .navbar-nav a:not(.contact-btn):not(.mobile-contact-btn):focus {
        color: var(--primary-color) !important;
        background: rgba(186, 255, 42, 0.1);
    }

    /* Mobile Dropdown Styles */
    .navbar-collapse .dropdown-menu {
        position: static;
        background: rgba(10, 10, 10, 0.95);
        border: 1px solid #333;
        padding: 0;
        margin: 0;
        width: 100%;
        border-radius: 0;
        display: none;
    }
    
    .navbar-collapse .dropdown.show .dropdown-menu {
        display: block;
    }

    .navbar-collapse .dropdown-item {
        font-size: 0.85rem;
        font-weight: 300;
        padding: 0.45rem 1.2rem;
        color: #b0b0b0;
        text-align: center;
        background: #181818;
        transition: all 0.3s ease;
    }
    
    .navbar-collapse .dropdown-item:hover {
        color: var(--primary-color);
        background: #2a2a2a;
    }

    /* Show dropdown arrows on mobile */
    .dropdown-arrow {
        display: inline-block;
        color: var(--primary-color);
    }

    /* Overlay to close menu when clicking outside */
    .mobile-menu-checkbox:checked ~ .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        z-index: -1;
    }
    
    /* Footer Mobile Styles */
    .newsletter-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .newsletter-icon img {
        width: 220px;
        height: 170px;
    }
    
    .newsletter-info {
        max-width: 100%;
        min-width: auto;
    }
    
    .newsletter-title {
        white-space: normal;
        font-size: 28px;
    }
    
    .newsletter-title {
        font-size: 28px;
    }
    
    .newsletter-subtitle {
        font-size: 18px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input[type="email"] {
        max-width: 100%;
        text-align: center;
    }
    
    .main-footer .container-fixed {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Footer Widgets Mobile */
    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-widget-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-menu-widget a {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .footer-widgets-section {
        padding: 20px 0;
    }
    
    /* Contact & Offices Mobile */
    .contact-offices-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-column {
        grid-column: 1;
    }
    
    .office-column {
        gap: 20px;
    }
    
    .office-details {
        margin-left: 0;
        margin-top: 5px;
    }
    
    /* Contact & Offices Mobile */
    .footer-grid {
        gap: 30px;
        text-align: left;
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 2rem;
        padding: 0 20px;
    }

    .footer-column.contact-column,
    .footer-column.office-column {
        align-items: flex-start;
        text-align: left;
    }

    .office-item {
        margin-bottom: 20px;
    }

    .office-header {
        justify-content: flex-start;
    }

    .contact-email {
        justify-content: flex-start;
    }
    
    /* Footer Bottom Mobile */
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Fixed Width Container System */
.container,
.container-fixed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* Full width sections but content constrained */
.container-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (max-width: 1240px) {
    .container,
    .container-fixed,
    .container-content {
    padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container,
    .container-fixed,
    .container-content {
        padding: 0 16px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Homepage Styles */

/* Hero Section */
.hero-section {
    padding: 20px 0 40px;
    background: #000000;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-section .container-fixed {
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
}

.hero-section .row {
    align-items: center;
    min-height: calc(100vh - 120px);
    justify-content: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-right: 2rem;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
}

.hero-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.hero-subtext {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

.hero-cta {
    margin: 10px 0;
}

.hero-section .hero-btn,
.hero-section .contact-btn {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 2rem;
    width: auto;
    max-width: fit-content;
    text-align: center;
    margin-top: 0;
}

.hero-section .hero-btn:hover,
.hero-section .contact-btn:hover {
    background: #ffffff;
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(186, 255, 42, 0.3);
    text-decoration: none;
}

@media (max-width: 968px) {
    .hero-section .hero-btn,
    .hero-section .contact-btn {
        width: auto;
        display: inline-block;
        margin-top: 0;
        text-align: center;
    }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 0;
    opacity: 0.9;
}



/* Hero Image Container with Glimmer Effect - Made Smaller */
.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    max-width: 350px;
}

/* Remove all SVG-specific styling since we're using IMG now */
.hero-image-container:hover .hero-svg {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Glimmer overlay that only affects the image area */
.hero-image-container {
    position: relative;
    overflow: hidden;
}

/* CSS GLIMMER DISABLED - Using JavaScript instead */
.hero-image-container::after {
    display: none;
}

@keyframes glimmer {
    0% {
        top: 150%;
        right: -150%;
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    50% {
        top: -150%;
        right: 150%;
        opacity: 1;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        top: -150%;
        right: 150%;
        opacity: 0;
    }
}

/* Border glimmer animation for logo cards */
@keyframes borderGlimmer {
    0% {
        background: linear-gradient(
            45deg,
            transparent 30%,
            transparent 50%,
            transparent 70%
        );
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    50% {
        background: linear-gradient(
            225deg,
            transparent 30%,
            var(--primary-color) 50%,
            transparent 70%
        );
        opacity: 1;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        background: linear-gradient(
            45deg,
            transparent 30%,
            transparent 50%,
            transparent 70%
        );
        opacity: 0;
    }
}

/* SLOW GRACEFUL GLIMMER - Bottom Right to Top Left and Quick Return */
@keyframes slowGracefulGlimmer {
    0% {
        transform: translateX(100%) translateY(100%);
    }
    85% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* BORDER PULSE ANIMATION */
@keyframes borderPulse {
    0% {
        stroke-opacity: 0.6;
        filter: drop-shadow(0 0 3px var(--primary-color));
    }
    50% {
        stroke-opacity: 1;
        filter: drop-shadow(0 0 10px var(--primary-color));
    }
    100% {
        stroke-opacity: 0.6;
        filter: drop-shadow(0 0 3px var(--primary-color));
    }
}

/* Crypto Stats Section */
.crypto-stats-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.stats-content {
    text-align: center;
    margin-bottom: 80px;
}

.stats-heading {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stats-heading .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.stats-subtext {
    font-size: 14px;
    color: #888888;
    margin: 0;
}

/* Client Logos Marquee Shortcode */
.client-logos-marquee {
    padding: 2rem 0;
    background: transparent;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.client-logos-marquee .container-fluid {
    max-width: 100%;
    padding: 0;
}

.marquee-row {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 30px;
}

.marquee-row:last-child {
    margin-bottom: 0;
}

.marquee-content {
    display: inline-flex;
    gap: 24px;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    align-items: center;
}

.marquee-rtl .marquee-content {
    animation-name: marqueeRightToLeft;
}

.marquee-ltr .marquee-content {
    animation-name: marqueeLeftToRight;
}

.logo-item {
    flex: none;
    background-image: linear-gradient(90deg, rgba(49, 49, 49, 0.72), rgba(19, 19, 19, 0.72));
    border-radius: 22.24px;
    padding: 1px;
    overflow: hidden;
    position: relative;
    margin-right: 18px;
}

.logo-item-inner {
    background-color: #080808;
    width: 140px;
    padding: 12px;
    border-radius: 21.24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.logo-item img {
    width: auto;
    height: 35px;
    max-width: 110px;
    object-fit: contain;
}

@keyframes marqueeRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Legacy Logos Marquee (for PWB blocks) */
.logos-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
}

.logos-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 24px;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-left .marquee-track {
    animation-name: marqueeLeft;
}

.marquee-right .marquee-track {
    animation-name: marqueeRight;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.logo-card {
    background-image: linear-gradient(90deg, rgba(49, 49, 49, 0.72), rgba(19, 19, 19, 0.72));
    border-radius: 22.24px;
    padding: 1px;
    overflow: hidden;
    flex: none;
    margin-right: 18px;
    position: relative;
}

.logo-card-inner {
    background-color: #080808;
    width: 140px;
    padding: 12px;
    border-radius: 21.24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* Removed glimmer effect to prevent green highlight flashing */

.client-logo {
    width: auto;
    height: 35px;
    max-width: 110px;
    object-fit: contain;
}

.placeholder-logo {
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design for Homepage */
@media (max-width: 968px) {
    .hero-section {
        padding: 15px 0 30px;
        min-height: calc(100vh - 70px);
    }
    
    .hero-section .container-fixed {
        padding: 0 16px;
    }
    
    .hero-section .row {
        min-height: calc(100vh - 110px);
    }
    
    .hero-left {
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-right {
        padding-left: 0;
    }
    
    .hero-heading {
        font-size: 36px;
    }
    
    .hero-subtext {
        font-size: 16px;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-image-container {
        max-width: 300px;
    }
    
    .crypto-stats-section {
        padding: 60px 0;
    }
    
    .stats-content {
        margin-bottom: 50px;
    }
    
    .stats-heading {
        font-size: 28px;
    }
    
    .logos-marquee-container {
        gap: 20px;
    }
    
    .logo-card {
        margin-right: 20px;
    }
    
    .logo-card-inner {
        width: 120px;
        padding: 10px;
        min-height: 50px;
    }
    
    .client-logo {
        height: 28px;
        max-width: 95px;
    }
    
    .marquee-track {
        gap: 16px;
    }
    
    /* Client Logos Marquee Responsive */
    .client-logos-marquee {
        padding: 1.5rem 0;
    }
    
    .marquee-row {
        margin-bottom: 20px;
    }
    
    .marquee-content {
        gap: 16px;
    }
    
    .logo-item {
        margin-right: 20px;
    }
    
    .logo-item-inner {
        width: 120px;
        padding: 10px;
        min-height: 50px;
    }
    
    .logo-item img {
        height: 28px;
        max-width: 95px;
    }
}

/* Hero Section Glimmer Effect - Targeting specific borderstrokes class */
.borderstrokes {
    fill: none !important;
    stroke: var(--primary-color) !important;
    stroke-width: 2px !important;
    animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% {
        stroke-opacity: 0.3;
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    50% {
        stroke-opacity: 1;
        filter: drop-shadow(0 0 15px var(--primary-color)) drop-shadow(0 0 25px var(--primary-color));
    }
}

/* Container for diagonal glimmer overlay */
.hero-image-container {
    position: relative;
    overflow: hidden;
}







/* Ensure SVG is positioned above the glimmer effect */
.hero-image-container svg,
.hero-image-container img {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Optional: Add subtle glow to enhance the effect */
.borderstrokes {
    filter: drop-shadow(0 0 3px rgba(186, 255, 42, 0.5));
}

/* Dropdown child items: smaller, grey, dark */
.dropdown-menu .dropdown-item {
  font-size: 0.85em !important;
  color: var(--text-muted) !important;
  background: var(--dropdown-bg) !important;
  padding: 0.45em 1.2em !important;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background: var(--card-bg) !important;
  color: var var(--text-secondary) !important;
}

/* Contact Button Styles */
.contact-btn, .mobile-contact-btn {
  background: var(--primary-color) !important;
  color: #000 !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  padding: 12px 24px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}
.contact-btn:hover, .mobile-contact-btn:hover {
  background: #fff !important;
  color: #000 !important;
}

/* Desktop Only: Dropdown on Hover */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}

/* Contact Popup Styles */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-popup.show {
    pointer-events: all;
    opacity: 1;
}

.contact-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.contact-popup-content {
    position: relative;
    width: 95%;
    max-width: 100vw;
    max-height: 95vh;
    background: var(--bg-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.contact-popup.show .contact-popup-content {
    transform: scale(1);
}

/* Popup Header */
.contact-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: var(--bg-color);
}

.contact-popup-logo img {
    height: 40px;
    max-width: 200px;
    object-fit: contain;
}

.contact-popup-close {
    background: none;
    border: 2px solid #666666;
    color: #666666;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-popup-close:hover {
    background: #666666;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-popup-close .back-arrow {
    display: none;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.contact-popup-close.back-mode .back-arrow {
    display: inline-block;
}



/* Popup Body */
.contact-popup-body {
    position: relative;
    height: calc(95vh - 100px);
    max-height: 700px;
    overflow: hidden;
}

/* Contact Options View */
.contact-options-view {
    padding: 40px 32px;
    height: 100%;
    overflow-y: auto;
}

/* Main Title Styling */
.contact-popup-main-title {
    text-align: left;
    margin-bottom: 40px;
}

.contact-popup-main-title h2 {
    color: var(--text-color);
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.contact-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: none;
    margin: 0 auto;
    width: 100%;
}

.contact-box {
    background: linear-gradient(135deg, var(--border-color), rgba(255,255,255,0.05));
    border-radius: 16px;
    padding: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(270deg, rgba(186, 255, 42, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-box::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(186, 255, 42, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(20px);
}

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

.contact-box:hover::before,
.contact-box:hover::after {
    opacity: 1;
}

.contact-box-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-box h3 {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.contact-box-image {
    margin-top: auto;
}

.contact-box-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Form Views */
.contact-form-view {
    padding: 20px 32px;
    height: 100%;
    overflow-y: auto;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    max-width: none;
    margin: 0 auto;
    height: 100%;
    width: 100%;
}

.contact-form-left {
    overflow-y: auto;
    padding-right: 15px;
    max-height: calc(95vh - 140px);
}

/* Green Scrollbar Styling */
.contact-form-left::-webkit-scrollbar {
    width: 8px;
}

.contact-form-left::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
}

.contact-form-left::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.contact-form-left::-webkit-scrollbar-thumb:hover {
    background: #a3e000;
}

/* Firefox scrollbar */
.contact-form-left {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--border-color);
}

.contact-form-left h3 {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    text-align: left;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(186, 255, 42, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
}

.form-group input[type="file"] {
    padding: 8px;
    background: var(--bg-color);
    border: 2px dashed var(--border-color);
}

.contact-form .btn-primary {
    align-self: flex-start;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.contact-form .btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(186, 255, 42, 0.3);
}

.contact-form-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-color);
    border-radius: 12px;
    padding: 20px;
    max-height: 400px;
}

.contact-form-right img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .contact-popup-content {
        width: 98%;
    }
    
    .contact-boxes {
        gap: 24px;
    }
    
    .contact-box {
        padding: 24px;
        min-height: 280px;
    }
    
    .contact-box h3 {
        font-size: 18px;
    }
    
    .contact-popup-main-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 968px) {
    .contact-boxes {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-box {
        min-height: 200px;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-form-right {
        display: none;
    }
    
    .contact-popup-main-title h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contact-popup-content {
        width: 95%;
        max-height: 95vh;
    }

    .contact-popup-header {
        padding: 20px 24px;
    }

    .contact-popup-close {
        padding: 10px 16px;
        font-size: 12px;
    }

    .contact-options-view {
        padding: 24px 20px;
    }

    .contact-box {
        padding: 24px;
    }

    .contact-box h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .contact-form-view {
        padding: 24px 20px;
    }

    .contact-form-left {
        padding-right: 0;
    }

    .contact-form-left h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .contact-form-right img {
        max-height: 160px;
    }
    
    .contact-popup-main-title {
        margin-bottom: 30px;
    }
    
    .contact-popup-main-title h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .contact-popup-header {
        padding: 16px 20px;
    }

    .contact-popup-logo img {
        height: 30px;
    }

    .contact-popup-close {
        padding: 8px 12px;
        font-size: 11px;
    }

    .contact-options-view {
        padding: 20px 16px;
    }

    .contact-box {
        padding: 20px;
    }

    .contact-form-view {
        padding: 20px 16px;
    }
    
    .contact-popup-main-title h2 {
        font-size: 20px;
    }
}

/* Body scroll prevention when popup is open */
body.popup-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Ensure popup content is scrollable */
.contact-popup.show .contact-popup-body {
    overflow-y: auto;
}

.contact-popup.show .contact-options-view,
.contact-popup.show .contact-form-view {
    overflow-y: auto;
}

/* Contact button integration - ensure all contact buttons trigger popup */

contact-btn,
.mobile-contact-btn,
[data-contact] {
    cursor: pointer;
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: var(--primary-color);
}

/* Loading state for forms */
.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1366px) {
    .contact-popup-content {
        width: 90vw;
        max-width: 1200px;
        height: 85vh;
        max-height: 700px;
    }
    
    .contact-options-view {
        padding: 30px 24px;
    }
    
    .contact-popup-main-title h2 {
        font-size: 28px;
    }
    
    .contact-boxes {
        gap: 24px;
    }
    
    .contact-box {
        padding: 24px;
        min-height: 260px;
    }
    
    .contact-form-view {
        padding: 15px 24px;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr 250px;
        gap: 24px;
    }
    
    .contact-form-left {
        max-height: calc(85vh - 120px);
        padding-right: 12px;
    }
    
    .contact-form-right {
        max-height: 350px;
        padding: 15px;
    }
    
    .contact-form-right img {
        max-height: 320px;
    }
}

@media (max-width: 1024px) {
    .contact-popup-content {
        width: 95vw;
        height: 90vh;
        max-height: 650px;
    }
    
    .contact-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-box {
        min-height: 200px;
        padding: 20px;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-left {
        max-height: calc(90vh - 200px);
        padding-right: 8px;
    }
    
    .contact-form-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-popup-content {
        width: 100vw;
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }
    
    .contact-popup-header {
        padding: 15px 20px;
    }
    
    .contact-popup-logo img {
        height: 35px;
    }
    
    .contact-options-view {
        padding: 20px;
    }
    
    .contact-popup-main-title h2 {
        font-size: 24px;
    }
    
    .contact-form-view {
        padding: 10px 20px;
    }
    
    .contact-form-left {
        max-height: calc(100vh - 150px);
        padding-right: 5px;
    }
    
    .contact-form-left h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .contact-form {
        gap: 16px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Contact Form 7 Styling within Popup */
.contact-popup .wpcf7 {
    width: 100%;
}

.contact-popup .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-popup .wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-popup .wpcf7-form label {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.contact-popup .wpcf7-form input[type="text"],
.contact-popup .wpcf7-form input[type="email"],
.contact-popup .wpcf7-form input[type="tel"],
.contact-popup .wpcf7-form input[type="url"],
.contact-popup .wpcf7-form select,
.contact-popup .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #fff;
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-color);
    color: #fff;
    transition: border-color 0.3s ease;
}

.contact-popup .wpcf7-form input::placeholder,
.contact-popup .wpcf7-form textarea::placeholder {
    color: #999;
}

.contact-popup .wpcf7-form input[type="text"]:focus,
.contact-popup .wpcf7-form input[type="email"]:focus,
.contact-popup .wpcf7-form input[type="tel"]:focus,
.contact-popup .wpcf7-form input[type="url"]:focus,
.contact-popup .wpcf7-form select:focus,
.contact-popup .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, var(--primary-color));
    box-shadow: 0 0 0 3px rgba(186, 255, 42, 0.2);
}

.contact-popup .wpcf7-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.contact-popup .wpcf7-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-popup .wpcf7-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--primary-color, var(--primary-color));
    border-radius: 8px;
    background: var(--bg-color);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.contact-popup .wpcf7-form input[type="file"]:hover {
    border-color: var(--primary-color, var(--primary-color));
}

.contact-popup .wpcf7-form input[type="submit"] {
    background: var(--primary-color, var(--primary-color));
    color: var(--bg-color);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-popup .wpcf7-form input[type="submit"]:hover {
    background: #a8e625;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(186, 255, 42, 0.3);
}

.contact-popup .wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* CF7 Validation Messages */
.contact-popup .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.contact-popup .wpcf7-validation-errors {
    background: #ffe6e6;
    border: 1px solid #e74c3c;
    border-radius: 6px;
    padding: 12px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.contact-popup .wpcf7-mail-sent-ok {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 6px;
    padding: 12px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.contact-popup .wpcf7-mail-sent-ng {
    background: #ffe6e6;
    border: 1px solid #e74c3c;
    border-radius: 6px;
    padding: 12px;
    color: #e74c3c;
    margin-bottom: 20px;
}

/* CF7 Spinner */
.contact-popup .wpcf7-spinner {
    margin-left: 10px;
}

/* Invalid field styling */
.contact-popup .wpcf7-form .wpcf7-not-valid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Responsive adjustments for CF7 forms */
@media (max-width: 968px) {
    .contact-popup .contact-form-container {
        flex-direction: column;
    }
    
    .contact-popup .contact-form-left {
        width: 100%;
    }
    
    .contact-popup .contact-form-right {
        display: none;
    }
    
    .contact-popup .wpcf7-form input[type="submit"] {
        width: 100%;
        align-self: stretch;
    }
}

/* ===========================================
   CLEAN HERO SECTIONS - SIMPLE & EFFECTIVE
   =========================================== */

/* Single Hero (Industries) */
.single-hero {
    position: relative;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 40px 0;
    background-color: var(--bg-color);
}

.single-hero .hero-overlay {
    display: none;
}

.single-hero .container {
    position: relative;
    z-index: 2;
}

.single-hero .breadcrumb-nav {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 3;
}

.single-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-color);
}

.single-hero .breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
}

.single-hero .breadcrumb-item.active {
    color: var(--text-color);
}

.single-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.single-hero .hero-title .text-highlight {
    color: var(--primary-color);
}

.single-hero .hero-subtitle {
    font-size: 0.97rem;
    color: #8d8d8d;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.single-hero .contact-cta {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.single-hero .contact-cta:hover {
    background: #9de021;
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--bg-color);
}

/* Service Hero */
.service-hero {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background-color: var(--bg-color);
}

.service-hero .hero-overlay {
    display: none;
}

.service-hero .breadcrumb-nav {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 3;
}

.service-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-color);
    padding-left: 1rem;
}

.service-hero .breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
}

.service-hero .breadcrumb-item.active {
    color: var(--text-color);
}

.service-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color)!important;
    margin-bottom: 1.5rem;
    margin-top: 5rem;
}

[data-theme="light"] .service-hero .hero-title {
    color: #ffffff!important;
}

.service-hero .hero-title .text-highlight {
    color: var(--primary-color)!important;
}

.service-hero .hero-subtitle {
    font-size: 0.97rem;
    color: #8d8d8d;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-hero .contact-cta {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-hero .contact-cta:hover {
    background: #9de021;
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--bg-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .single-hero,
    .service-hero {
        min-height: calc(100vh - 60px);

    }
    
    .single-hero .hero-title,
    .service-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .single-hero .breadcrumb,
    .service-hero .breadcrumb {
        font-size: 0.6rem;
    }

    [data-theme="light"] .custom-hamburger > svg > path {
        fill: black;
    }

}

/* Page Content Area */
.page-content {
    padding: 60px 0;
    background: var(--bg-color);
}

.page-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .page-content {
        padding: 40px 0;
    }
}

/* New Footer Styles */
.site-footer {
    background: var(--bg-color);
    color: var(--text-color);
}

/* Footer Separator */
.footer-separator {
    height: 1px;
    background: #333333;
    margin: 0;
}

/* Newsletter Section */
.footer-newsletter-section {
    padding: 60px 0;
    background: var(--footer-bg);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-envelope {
    flex: 0 0 auto;
}

.newsletter-envelope img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.newsletter-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
}

.newsletter-subtitle {
    font-size: 18px;
    margin: 0;
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 500px;
}

.newsletter-form input[type="email"] {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    font-size: 16px;
    min-width: 300px;
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: #888;
}

.newsletter-form input[type="email"]:focus {
    border-bottom-color: var(--primary-color);
    background: #111;
}

.newsletter-submit {
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.newsletter-submit:hover {
    background: #a8e625;
    transform: translateY(-2px);
}

/* Footer Bottom Section */
.footer-bottom-section {
    padding: 40px 0;
    background: var(--bg-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-line-1,
.brand-line-2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
    font-family: 'Manrope', sans-serif;
}

.footer-social .social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-link::before {
    content: '';
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Social Media Icons */
.social-twitter::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.social-facebook::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.social-instagram::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12.017 0C8.396 0 7.989.013 7.041.048 6.094.082 5.48.21 4.939.396a7.085 7.085 0 0 0-2.565 1.669 7.085 7.085 0 0 0-1.669 2.565c-.186.54-.314 1.155-.348 2.103C.013 7.781 0 8.188 0 11.809c0 3.621.013 4.028.048 4.976.034.948.162 1.562.348 2.103a7.085 7.085 0 0 0 1.669 2.565 7.085 7.085 0 0 0 2.565 1.669c.54.186 1.155.314 2.103.348.948.035 1.355.048 4.976.048 3.621 0 4.028-.013 4.976-.048.948-.034 1.562-.162 2.103-.348a7.085 7.085 0 0 0 2.565-1.669 7.085 7.085 0 0 0 1.669-2.565c.186-.54.314-1.155.348-2.103.035-.948.048-1.355.048-4.976 0-3.621-.013-4.028-.048-4.976-.034-.948-.162-1.562-.348-2.103a7.085 7.085 0 0 0-1.669-2.565A7.085 7.085 0 0 0 19.136.396c-.54-.186-1.155-.314-2.103-.348C16.085.013 15.678 0 12.017 0zM12.017 2.163c3.557 0 3.98.013 5.385.066.302.012.604.041.9.086a4.847 4.847 0 0 1 1.595.523 4.847 4.847 0 0 1 1.237 1.237 4.847 4.847 0 0 1 .523 1.595c.045.296.074.598.086.9.053 1.404.066 1.827.066 5.385 0 3.557-.013 3.98-.066 5.385-.012.302-.041.604-.086.9a4.847 4.847 0 0 1-.523 1.595 4.847 4.847 0 0 1-1.237 1.237 4.847 4.847 0 0 1-1.595.523c-.296.045-.598.074-.9.086-1.404.053-1.827.066-5.385.066-3.557 0-3.98-.013-5.385-.066a8.864 8.864 0 0 1-.9-.086 4.847 4.847 0 0 1-1.595-.523 4.847 4.847 0 0 1-1.237-1.237 4.847 4.847 0 0 1-.523-1.595 8.864 8.864 0 0 1-.086-.9c-.053-1.404-.066-1.827-.066-5.385 0-3.557.013-3.98.066-5.385.012-.302.041-.604.086-.9a4.847 4.847 0 0 1 .523-1.595A4.847 4.847 0 0 1 4.5 2.752a4.847 4.847 0 0 1 1.595-.523c.296-.045.598-.074.9-.086 1.404-.053 1.827-.066 5.385-.066z'/%3E%3Ccircle cx='12.017' cy='12.017' r='3.708'/%3E%3Ccircle cx='18.408' cy='5.603' r='1.237'/%3E%3C/svg%3E");
}

.social-telegram::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E");
}

.social-linkedin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

.social-medium::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M13.54 12a6.8 6.8 0 01-6.77 6.82A6.8 6.8 0 010 12a6.8 6.8 0 016.77-6.82A6.8 6.8 0 0113.54 12zM20.96 12c0 3.54-1.51 6.42-3.38 6.42-1.87 0-3.39-2.88-3.39-6.42s1.52-6.42 3.39-6.42 3.38 2.88 3.38 6.42M24 12c0 3.17-.53 5.75-1.19 5.75-.66 0-1.19-2.58-1.19-5.75s.53-5.75 1.19-5.75C23.47 6.25 24 8.83 24 12z'/%3E%3C/svg%3E");
}

/* Footer Widgets Section */
.footer-widgets-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-widget-column {
    color: var(--text-color);
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: 'Manrope', sans-serif;
}

.footer-widget p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

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

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

.footer-widget ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Footer Offices Section */
.footer-offices-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.footer-offices-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-contact-column {
    color: var(--text-color);
}

.contact-title {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: 'Manrope', sans-serif;
}

.contact-email a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    transition: color 0.3s ease;
}

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

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

.office-item {
    color: var(--text-color);
}

.office-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.office-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.office-city {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.office-address {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Manrope', sans-serif;
}

/* Footer Credit Section */
.footer-credit-section {
    padding: 30px 0;
    background: var(--bg-color);
}

.footer-credit {
    text-align: center;
}

.footer-credit p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.footer-credit a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .newsletter-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .newsletter-envelope img {
        width: 80px;
        height: 80px;
    }

    .newsletter-info {
        align-items: center;
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-social .social-links {
        justify-content: center;
    }

    .footer-widgets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-offices-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-offices-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-newsletter-section {
        padding: 40px 0;
    }

    .newsletter-envelope img {
        width: 60px;
        height: 60px;
    }

    .newsletter-title {
        font-size: 24px;
    }

    .newsletter-subtitle {
        font-size: 16px;
    }

    .footer-bottom-section {
        padding: 30px 0;
    }

    .brand-line-1,
    .brand-line-2 {
        font-size: 16px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link::before {
        width: 20px;
        height: 20px;
    }

    .footer-widgets-section {
        padding: 40px 0;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-widget-title {
        font-size: 16px;
    }

    .footer-offices-section {
        padding: 40px 0;
    }

    .footer-offices-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-title {
        font-size: 18px;
    }

    .footer-credit-section {
        padding: 20px 0;
    }
}

/* Blog Single Page Styles */

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.scroll-progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s ease;
}

/* Blog Single Page Hero Styles */
.blog-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.blog-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
}

.blog-hero-content {
    color: var(--text-color);
    z-index: 2;
    position: relative;
    text-align: left;
    width: 100%;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    text-align: left;
}



/* Blog Main Page Breadcrumb Styles */
.blog-content-area .blog-breadcrumb {
    margin-bottom: 20px;

    font-size: 14px;
    opacity: 0.8;
    margin-left: 1rem;
    color: var(--text-color);
}

.blog-content-area .blog-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-content-area .blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-content-area .blog-breadcrumb span {
    color: var(--text-color);
}

.blog-page-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.2;
    color: var(--text-color);
    text-align: center;
}

.blog-meta-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0b0b0b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
}

.blog-author-avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.blog-author-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.2;
}

.blog-author-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.blog-meta-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog-date-info,
.blog-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-icon {
    opacity: 0.8;
    width: 14px;
    height: 14px;
}

.blog-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: flex-start;
}

/* Main Blog Page Categories - override for centered layout */
.blog-content-area .blog-categories {
    justify-content: center;
    margin-top: 0;
}

.blog-category {
    background: #0b0b0b;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.blog-category:hover {
    border-color: var(--primary-color);
    background: rgba(186, 255, 42, 0.1);
}

/* Content Area */
.blog-content-area {
    background: var(--bg-color);
    padding: 40px 0 80px 0;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    padding-right: 30px;
}


.toc-widget {
    margin-bottom: 30px;
}

.toc-title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

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

.toc-list a.active {
    color: var(--primary-color)!important;
}

/* Progress Box */
.progress-box {
    background: var(--bg-color);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
}

.progress-bar-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.progress-dash {
    flex: 1;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: background-color 0.8s ease;
}

.progress-dash.active {
    background: var(--primary-color);
}

.progress-steps {
    margin-bottom: 20px;
}

.progress-step {
    margin-bottom: 8px;
    color: #999;
    font-size: 14px;
    opacity: 0;
    transition: all 0.6s ease;
    display: none;
}

.progress-step.active {
    color: #999;
    opacity: 1;
    display: block;
}

.progress-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.submit-form-btn {
    background: var(--bg-color);
    border: 1px solid #666;
    color: #666;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.submit-form-btn.active {
    background: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.submit-form-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.submit-form-btn.active:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Main Content */
.blog-content {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 40px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.7;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-content h2 {
    font-size: 28px;
    font-weight: bold;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.blog-content p {
    margin-bottom: 20px;
}

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

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-content ul,
.blog-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-content li {
    margin-bottom: 5px;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333;
    gap: 20px;
}

.post-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.post-navigation a:hover {
    opacity: 0.8;
}

.nav-previous {
    flex: 1;
}

.nav-next {

    text-align: right;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-sidebar {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .blog-content-area .row {
        flex-direction: column-reverse;
    }
    
    .blog-sidebar {
        position: static;
        padding-right: 0;
        margin-top: 30px;
    }
    
    .blog-hero-title {
        font-size: 36px;
    }
    
    .blog-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 28px;
    }
    
    .blog-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .progress-box {
        padding: 20px;
    }
    
    .progress-action {
        gap: 12px;
    }
    
    .site-avatar {
        width: 45px;
        height: 45px;
    }
    
    .submit-form-btn {
        height: 45px;
        min-width: 100px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 24px;
    }
    
    .blog-content {
        padding: 15px;
        font-size: 14px;
    }
    
    .progress-box {
        padding: 15px;
    }
    
    .progress-bar-container {
        gap: 3px;
    }
    
    .progress-dash {
        height: 2px;
    }
    
    .progress-action {
        flex-direction: column;
        gap: 10px;
    }
    
    .site-avatar {
        width: 40px;
        height: 40px;
    }
    
    .submit-form-btn {
        width: 100%;
        height: 40px;
        padding: 8px 16px;
        min-width: auto;
    }
    
    .toc-title {
        font-size: 16px;
    }
    
    .toc-list a {
        font-size: 13px;
    }
}

/* Full-width elements - ensure they break out of containers on inner pages */
.page-content .client-logos-marquee,
.single .client-logos-marquee,
.archive .client-logos-marquee {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Ensure PWB testimonial full-width works in all contexts */
.page-content .pwb-user-testimonial.full-width,
.single .pwb-user-testimonial.full-width,
.archive .pwb-user-testimonial.full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Clean rewrite completed - Cache refresh timestamp: 2024-12-19-02 */

/* Custom Blog Page Styles */
.blog-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--bg-color) 100%);
    padding: 80px 0 60px 0;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(186, 255, 42, 0.1) 0%, transparent 70%);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-left: 1rem;
}

.blog-breadcrumb {
    margin-top:  1rem;
    font-size: 12px;
    position: absolute;
    top: 100px;
    margin-left: 1rem;
    color: var(--text-color);
    z-index: 2;
}

.blog-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb span {
    color: #ffffff;
}

.blog-hero-title {
    width: 70%;
    font-size: 46px;
    font-weight: 700;
    color: var(--text-color);
    margin: 2rem 0;
    font-family: 'Manrope', sans-serif;
}

.blog-content-area {
    background: var(--bg-color);
    padding: 60px 0;
}

/* Featured Post */
.featured-post {
    margin-bottom: 80px;
}

.featured-post-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 1rem;
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.featured-post-image:hover img {
    transform: scale(1.05);
}

.featured-post-content {
    padding: 0;
}

.featured-post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #999;
}

.featured-post-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.featured-post-title a {
    color: var(--text-color);
    text-decoration: none;
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.featured-post-link {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-post-link:hover {
    background: #a8e828;
    transform: translateY(-2px);
}

/* Blog Filters */
.blog-filters {
    margin-bottom: 60px;
}

.blog-search {
    text-align: center;
    margin-bottom: 40px;
}

.blog-search-form {
    position: relative;
    display: inline-block;
    max-width: 500px;
    width: 100%;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: #666;
    z-index: 2;
}

.blog-search-form input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: var(--text-color);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.blog-search-form input:focus {
    border-color: var(--primary-color);
}

.blog-search-form input::placeholder {
    color: #666;
}



.category-btn {
    background: transparent;
    border: 2px solid #333;
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-color);
}

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

.blog-post-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.blog-post-image {
    position: relative;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.blog-post-content {
    padding: 15px 0;
}

.blog-post-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.blog-post-title a {
    color: var(--text-color);
    text-decoration: none;
}

.blog-post-title a:hover {
    color: var(--primary-color);
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
}

/* No Posts Found */
.no-posts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-posts-found h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Loading Indicator */
.blog-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pagination */
.blog-pagination {
    text-align: center;
}

.blog-pagination .page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 10px;
}

.blog-pagination .page-numbers li {
    margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-block;
    padding: 12px 16px;
    background: #1a1a1a;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover,
.blog-pagination .page-numbers .current {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .featured-post-container {
        gap: 30px;
    }
    
    .featured-post-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 60vh;
    }

    .blog-hero-overlay {
        padding-bottom: 40px;
    }

    .blog-breadcrumb {
        top: 80px;
        margin-left: 0.5rem;
        font-size: 11px;
    }

    .blog-hero-title {
        width: 90%;
        font-size: 32px;
        margin: 1.5rem 0;
    }

    .blog-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 25px;
    }

    .blog-author-info {
        gap: 10px;
        padding: 10px 14px;
    }

    .blog-author-avatar {
        width: 40px;
        height: 40px;
    }

    .blog-author-name {
        font-size: 15px;
    }

    .blog-author-role {
        font-size: 13px;
    }

    .blog-meta-info {
        gap: 15px;
    }

    .blog-date-info,
    .blog-reading-time {
        font-size: 13px;
    }

    .blog-categories {
        gap: 8px;
    }

    .blog-category {
        padding: 6px 12px;
        font-size: 13px;
    }

    .blog-page-title {
        font-size: 42px;
    }
    
    .blog-content-area {
        padding: 20px 0 40px 0;
    }
    
    .featured-post {
        margin-bottom: 40px;
    }
    
    .featured-post-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-post-image img {
        height: 250px;
    }
    
    .featured-post-content {
        padding: 0;
    }
    
    .featured-post-title {
        font-size: 24px;
    }
    
    .featured-post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .blog-search-form input {
        padding: 14px 20px 14px 45px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 14px;
    }
    
    .blog-categories {
        justify-content: center;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .blog-post-content {
        padding: 15px 0;
    }
    
    .blog-post-title {
        font-size: 16px;
    }
    
    .blog-post-meta {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .blog-hero-overlay {
        padding-bottom: 30px;
    }

    .blog-breadcrumb {
        top: 70px;
        margin-left: 0.5rem;
        font-size: 10px;
    }

    .blog-hero-title {
        width: 95%;
        font-size: 24px;
        margin: 1rem 0;
    }

    .blog-meta-wrapper {
        gap: 15px;
        margin-bottom: 20px;
    }

    .blog-author-info {
        padding: 8px 12px;
    }

    .blog-author-name {
        font-size: 14px;
    }

    .blog-author-role {
        font-size: 12px;
    }

    .blog-meta-info {
        gap: 12px;
    }

    .blog-date-info,
    .blog-reading-time {
        font-size: 12px;
    }

    .blog-category {
        padding: 5px 10px;
        font-size: 12px;
    }

    .blog-page-title {
        font-size: 32px;
    }

    .featured-post-title {
        font-size: 20px;
    }
    
    .featured-post-content {
        padding: 0;
    }
    
    .blog-filters {
        margin-bottom: 40px;
    }
    
    .blog-search {
        margin-bottom: 30px;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .blog-pagination .page-numbers a,
    .blog-pagination .page-numbers span {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Main Area Header Fix for Single Posts */
body.single main#main {
    margin-top: -100px;
}

/* Main Blog Page Fix */
body.page-template-page-blog main#main {
    margin-top: 0;
}

/* PWB Latest Posts Shortcode Styles */
.pwb-latest-posts-section {
    background: var(--bg-color);
    padding: 80px 0;
}

.pwb-featured-post {
    margin-bottom: 60px;
}

.pwb-featured-post-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.pwb-featured-post-image {
    position: relative;
    overflow: hidden;
}

.pwb-featured-post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.pwb-featured-post-image:hover img {
    transform: scale(1.05);
}

.pwb-featured-post-content {
    padding: 0;
}

.pwb-featured-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #999;
    font-size: 14px;
}

.pwb-featured-post-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-color);
}

.pwb-featured-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pwb-featured-post-title a:hover {
    color: var(--primary-color);
}

.pwb-featured-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pwb-featured-post-link:hover {
    color: var(--text-color);
    text-decoration: none;
}

.pwb-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pwb-post-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.pwb-post-image {
    position: relative;
    overflow: hidden;
}

.pwb-post-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.pwb-post-card:hover .pwb-post-image img {
    transform: scale(1.05);
}

.pwb-post-content {
    padding: 1rem;
}

.pwb-post-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-color);
}

.pwb-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pwb-post-title a:hover {
    color: var(--primary-color);
}

.pwb-post-meta {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 13px;
}

.pwb-posts-read-more {
    text-align: center;
}

.pwb-posts-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.pwb-posts-btn:hover {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
}

.pwb-posts-btn svg {
    transition: transform 0.3s ease;
}

.pwb-posts-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive Styles for PWB Latest Posts */
@media (max-width: 1024px) {
    .pwb-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pwb-featured-post-container {
        gap: 30px;
    }
    
    .pwb-featured-post-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .pwb-latest-posts-section {
        padding: 60px 0;
    }
    
    .pwb-featured-post {
        margin-bottom: 50px;
    }
    
    .pwb-featured-post-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pwb-featured-post-image img {
        height: 250px;
    }
    
    .pwb-featured-post-content {
        padding: 0;
    }
    
    .pwb-featured-post-title {
        font-size: 26px;
    }
    
    .pwb-featured-post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .pwb-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 50px;
    }
    
    .pwb-post-content {
        padding: 15px 0;
    }
    
    .pwb-post-title {
        font-size: 16px;
    }
    
    .pwb-post-meta {
        font-size: 12px;
    }
    
    .pwb-posts-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .pwb-latest-posts-section {
        padding: 40px 0;
    }
    
    .pwb-featured-post-title {
        font-size: 22px;
    }
    
    .pwb-featured-post-content {
        padding: 0;
    }
    
    .pwb-posts-grid {
        margin-bottom: 40px;
    }
    
    .pwb-posts-btn {
        padding: 12px 24px;
        font-size: 14px;
        gap: 8px;
    }
}

