@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Light.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Medium.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

:root {
    --primary-color: #0f172a; /* Slate 900 */
    --secondary-color: #334155; /* Slate 700 */
    --accent-color: #f59e0b; /* Amber 500 */
    --text-color: #333;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --container-width: 1200px;
    --header-height: 80px;
    --font-main: 'IRANSansXFaNum', 'Tahoma', 'Segoe UI', sans-serif;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    font-family: var(--font-main) !important;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}
input, button, textarea, select {
    font-family: var(--font-main) !important;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--primary-color); margin-bottom: 1rem; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.section { padding: 60px 0; }

/* Header Structure */
.site-header-wrapper {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

/* Social Icons */
.social-icons-wrapper {
    display: flex;
    gap: 10px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}
.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.social-icon.whatsapp:hover { background: #25D366; }
.social-icon.telegram:hover { background: #0088cc; }
.social-icon.instagram:hover { background: #E1306C; }

/* Top Bar */
.header-top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, top 0.3s ease;
}

.header-top-bar.sticky-visible {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    animation: slideDown 0.3s ease forwards;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Admin Bar Fix for Sticky Top Bar */
body.admin-bar .header-top-bar.sticky-visible {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .header-top-bar.sticky-visible {
        top: 46px;
    }
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse; /* To match the layout: Socials left, Contact right (RTL context) */
}
.top-bar-socials {
    display: flex;
    align-items: center;
}
.elementor-social-icons-wrapper {
    display: flex;
    gap: 10px;
}
.elementor-grid-item {
    display: flex;
}
.elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    color: var(--white);
}
.elementor-social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}
.elementor-social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.elementor-screen-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-bar-contact a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}
.top-bar-contact a:hover {
    color: var(--accent-color);
}
.top-bar-contact svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
}
.top-bar-contact .separator {
    color: rgba(255,255,255,0.3);
}

/* Logo Section */
.header-logo-section {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}
.header-logo-section .container {
    display: flex;
    justify-content: flex-start; /* Reverted to flex-start */
    align-items: center;
}
@media screen and (max-width: 768px) {
    .header-logo-section .container {
        justify-content: center;
    }
}
.site-branding .site-title a {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header Actions & Search */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-search {
    flex: 0 1 250px; /* Reduced width for menu bar */
}
.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0 10px; /* Reduced padding */
    height: 36px; /* Fixed height for pill shape */
    transition: all 0.3s ease;
    overflow: hidden; /* Ensure nothing spills out */
}
.search-form:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
    background: var(--white);
}
.search-form label {
    flex-grow: 1;
    display: flex;
    margin: 0; /* Reset margin */
    height: 100%;
    align-items: center;
    width: 100%; /* Ensure label takes full width */
}
.header-search .search-form .search-field {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0 5px;
    font-size: 0.85rem; /* Smaller font */
    color: var(--text-color);
    outline: none;
    height: 100%;
    /* Remove default search styling */
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none; /* Remove any shadow */
    border-radius: 0; /* Remove border radius */
}
/* Override generic input styles from style.css */
input[type="search"].search-field {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 5px !important;
}
input[type="search"].search-field:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
/* Remove 'x' from search input in Chrome */
.search-field::-webkit-search-decoration,
.search-field::-webkit-search-cancel-button,
.search-field::-webkit-search-results-button,
.search-field::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none;
}
/* Remove 'x' from search input in IE */
.search-field::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}
.search-field::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.search-submit {
    background: transparent !important;
    border: none !important;
    color: var(--secondary-color) !important;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    height: 100%;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.search-submit:hover {
    color: var(--accent-color) !important;
    background: transparent !important;
}
.search-submit svg {
    width: 16px;
    height: 16px;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Menu Section */
.header-menu-section {
    background: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    /* Removed sticky position as requested */
    /* position: sticky; */
    /* top: 0; */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* Admin Bar Fix for Sticky Menu - Removed */
/*
body.admin-bar .header-menu-section {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .header-menu-section {
        top: 46px;
    }
}
*/

.header-menu-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.site-navigation ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.site-navigation a {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 10px 0;
    position: relative;
    white-space: nowrap; /* Titles in one line */
}
.site-navigation a:hover {
    color: var(--accent-color);
}
.site-navigation li:hover > a {
    background-color: rgba(0,0,0,0.03); /* Background change on hover */
    border-radius: 4px;
}

/* Submenus */
.site-navigation ul li {
    position: relative;
}
.site-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    width: max-content; /* Fix for background width */
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 100;
}
.site-navigation ul li:hover > ul {
    display: flex;
}
.site-navigation ul ul li a {
    padding: 10px 20px;
    display: block;
    color: var(--text-color);
    white-space: nowrap; /* Ensure text doesn't wrap */
}
.site-navigation ul ul li a:hover {
    background: var(--bg-color);
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-close {
    display: none;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* Hide default menus to prevent duplication */
    .site-navigation, 
    .elementor-nav-menu__container,
    .elementor-nav-menu--main {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Overlay */
    .site-navigation-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99998;
        backdrop-filter: blur(2px);
    }
    .site-navigation-overlay.active {
        display: block;
    }

    /* Vesta Mobile Sidebar */
    .vesta-mobile-sidebar {
        position: fixed;
        top: 0;
        right: -280px; /* Hidden */
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        z-index: 99999;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        border-left: 1px solid #e2e8f0;
    }
    .vesta-mobile-sidebar.active {
        right: 0;
    }

    /* Hide mobile sidebar on desktop */
    @media (min-width: 993px) {
        .vesta-mobile-sidebar {
            display: none !important;
        }
        .site-navigation-overlay {
            display: none !important;
        }
    }
    
    /* Sidebar Header */
    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        height: 60px;
        background: var(--primary-color); /* Slate 900 - matches home page theme */
        color: #fff;
        flex-shrink: 0;
    }
    .sidebar-title {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .mobile-menu-close {
        background: rgba(255,255,255,0.1);
        border: none;
        border-radius: 6px;
        width: 32px;
        height: 32px;
        color: #fff;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }
    .mobile-menu-close:hover {
        background: rgba(255,255,255,0.25);
    }

    /* Sidebar Content */
    .sidebar-content {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
    }

    /* Menu List */
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-menu-list li {
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }
    
    .mobile-menu-list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        font-size: 0.95rem;
        color: #475569;
        text-decoration: none;
        transition: all 0.2s;
        font-weight: 500;
    }
    
    .mobile-menu-list a:hover {
        background-color: #f8fafc;
        color: var(--accent-color);
        padding-right: 25px;
    }
    
    /* Submenus */
    .mobile-menu-list ul.sub-menu {
        display: none;
        background: #f8fafc;
        padding: 0;
        border-top: 1px solid #e2e8f0;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    }
    .mobile-menu-list ul.sub-menu.toggled-on {
        display: block;
        animation: slideDown 0.2s ease-out;
    }
    
    .mobile-menu-list ul.sub-menu li a {
        padding-right: 40px;
        font-size: 0.9rem;
        color: #64748b;
    }
    .mobile-menu-list ul.sub-menu li a:hover {
        color: var(--accent-color);
        background: #e2e8f0;
    }

    /* Dropdown Arrow */
    .mobile-menu-list li.menu-item-has-children > a::after {
        content: '▼';
        font-size: 0.6em;
        color: #94a3b8;
        transition: transform 0.3s;
    }
    .mobile-menu-list li.menu-item-has-children.dropdown-active > a::after {
        transform: rotate(180deg);
        color: var(--accent-color);
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search Icon Fix (Global) */
/* Hide default Elementor/Theme SVG if we replace it via JS, or style it */
.search-submit svg, 
.elementor-search-form__submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}
/* Force color */
.search-submit, .elementor-search-form__submit {
    color: #475569;
}
.search-submit:hover, .elementor-search-form__submit:hover {
    color: #f59e0b; /* Amber */
}


.login-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.login-btn:hover {
    background: #d97706;
    color: var(--white);
}

.cta-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}
.cta-btn:hover { background: #d97706; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../images/hero-bg.jpg'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}
.service-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.service-icon { font-size: 2rem; color: var(--accent-color); margin-bottom: 20px; }

/* About Section */
.about-section { background: var(--white); }
.about-content { display: flex; gap: 50px; align-items: center; }
.about-text { flex: 1; }
.about-image { flex: 1; }
.about-image img { border-radius: 8px; }

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.post-thumbnail { height: 200px; overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.post-card:hover .post-thumbnail img { transform: scale(1.05); }
.post-content { padding: 20px; }
.post-meta { font-size: 0.85rem; color: #888; margin-bottom: 10px; }

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #cbd5e1;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col.about-col {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col.about-col {
        grid-column: auto;
    }
}

.footer-col h3 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; border-bottom: 2px solid var(--accent-color); display: inline-block; padding-bottom: 5px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #cbd5e1; transition: 0.3s; }
.footer-col a:hover { color: var(--accent-color); padding-right: 5px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Contact List Styling */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    line-height: 1.6;
}
.contact-list .icon {
    font-size: 1.1rem;
    min-width: 24px;
}
.contact-list a {
    color: #cbd5e1;
    text-decoration: none;
}
.contact-list a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container { flex-direction: column; gap: 15px; }
    .main-nav ul { gap: 15px; font-size: 0.9rem; }
    .about-content { flex-direction: column; }
    h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .cta-btn { width: 100%; text-align: center; }
    .workflow-section { text-align: center !important; }
    .workflow-steps { flex-direction: column !important; gap: 30px !important; align-items: center !important; }
    .step { width: 100% !important; text-align: center !important; }
    .step h4, .step p { text-align: center !important; }
    .step-connector { display: none; }
    .cta-buttons { flex-direction: column; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

/* New Homepage Sections Styles */

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.cta-btn.outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
}
.cta-btn.outline:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* White Background Outline Variant */
.cta-strip .cta-btn.outline,
.cta-strip .cta-btn.outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.cta-strip .cta-btn.outline:hover,
.cta-strip .cta-btn.outline-white:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.industry-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}
.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}
.ind-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.portfolio-item:hover {
    transform: translateY(-5px);
}
.portfolio-image {
    height: 220px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.portfolio-info {
    padding: 20px;
}
.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.portfolio-info p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}
.client-logo {
    width: 100%;
    height: 100px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: bold;
    transition: 0.3s;
}
.client-logo:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Workflow Section */
.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 40px;
}
.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.2);
}
.step-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-top: 25px; /* Align with center of circle */
}

/* CTA Strip */
.cta-strip {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.cta-content h2 { color: var(--white); margin-bottom: 15px; }
.cta-content p { margin-bottom: 30px; font-size: 1.1rem; opacity: 0.9; }
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.cta-btn.white {
    background: var(--white);
    color: var(--primary-color);
}
.cta-btn.white:hover {
    background: #f1f5f9;
}
.cta-btn.outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.cta-btn.outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* About Image Placeholder */
.image-placeholder {
    background: #f1f5f9;
    height: 350px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 2px dashed #cbd5e1;
}
.feature-list {
    list-style: none;
    margin: 20px 0 30px;
}
.feature-list li {
    margin-bottom: 15px;
    padding-right: 20px;
    position: relative;
}
.feature-list li::before {
    content: '✔';
    color: var(--accent-color);
    position: absolute;
    right: 0;
    top: 2px;
}

/* Fix: Hide Mobile Sidebar on Desktop */
@media (min-width: 769px) {
    .vesta-mobile-sidebar,
    .site-navigation-overlay {
        display: none !important;
    }
}

/* Fix: Ensure Footer is Full Width */
.site-footer {
    width: 100%;
    margin: 0;
    padding: 40px 0 20px;
    background: var(--primary-color);
    position: relative;
    left: 0;
    right: 0;
}

/* Force full width for Footer, Hero, and CTA Strip */
body > .container .site-footer,
.site-main + .site-footer,
.hero,
.cta-strip {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
}

/* Ensure content inside full-width sections is contained */
.hero .container,
.cta-strip .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Services Grid - 4 Columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns */
    gap: 30px;
}
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Grid Improvements */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); /* Softer shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.post-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1.4;
    transition: color 0.2s;
}
.post-content h3 a:hover {
    color: var(--accent-color);
}

/* Read More Link Style */
.read-more-link {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Archive & Blog Page Headers */
.archive-header,
.page-header {
    padding: 30px 0;
    border-bottom: 2px solid #f1f5f9;
    text-align: center;
    margin-bottom: 50px;
}

.archive-title,
.page-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.archive-description,
.page-description {
    color: #666;
    font-size: 1.1rem;
}

/* Pagination Wrapper */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination-wrapper .pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-wrapper a,
.pagination-wrapper span {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.2s;
}

.pagination-wrapper a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-wrapper .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.post-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.post-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Icon Styles */
.ind-icon svg,
.service-icon svg {
    stroke: var(--accent-color);
    transition: 0.3s;
}
.industry-card:hover .ind-icon svg,
.service-card:hover .service-icon svg {
    transform: scale(1.1);
    stroke: var(--primary-color);
}
.contact-list li {
    margin-bottom: 6px; /* More compact spacing */
    align-items: center;
    font-size: 0.9rem; /* Slightly smaller text for compactness */
}
.contact-list .icon svg {
    fill: var(--accent-color);
    width: 16px; /* Slightly smaller icons */
    height: 16px;
    display: block;
}
.footer-socials {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 12px;
}
.footer-socials .social-icon svg {
    width: 22px;
    height: 22px;
    fill: #cbd5e1;
    transition: 0.3s;
}
.footer-socials .social-icon:hover svg {
    fill: var(--accent-color);
    transform: scale(1.1);
}
/* Compact Column 4 */
.footer-col.contact-col h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}
/* Blog Section CTA */
.blog-section-cta {
    text-align: center;
    margin-top: 40px;
}

/* Archive Page Styles */
.archive-main {
    margin-bottom: 40px;
}

/* No Thumbnail Placeholder */
.no-thumbnail {
    background: #eee;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-thumbnail span {
    color: #999;
}

/* No Posts Found Message */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

/* Single Article (Post/Page) Styles */
.single-post-main, .page-main {
    padding: 60px 0;
}

.single-article {
    max-width: 900px;
    margin: 0 auto 50px auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* For featured image border radius */
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Wrapper */
.article-content-wrapper {
    padding: 50px 60px;
}

/* Header */
.article-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.article-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 800;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    color: var(--accent-color);
}

.meta-item a {
    color: inherit;
    transition: color 0.3s;
}

.meta-item a:hover {
    color: var(--accent-color);
}

/* Excerpt Box */
.article-excerpt {
    background: #f8fafc;
    border-right: 4px solid var(--accent-color); /* RTL */
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--primary-color);
    font-weight: 500;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.article-excerpt p:last-child {
    margin-bottom: 0;
}

/* Body Content */
.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #334155;
    text-align: justify;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-body h2 { font-size: 1.8rem; }
.article-body h3 { font-size: 1.5rem; }
.article-body h4 { font-size: 1.25rem; }

.article-body ul,
.article-body ol {
    margin-bottom: 25px;
    margin-right: 30px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-color: rgba(245, 158, 11, 0.3);
    text-underline-offset: 4px;
    transition: all 0.3s;
    font-weight: 500;
}

.article-body a:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.article-body img {
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Footer (Tags) */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags a {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.article-tags a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Bottom Wrapper (Nav & Comments) */
.article-bottom-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Post Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.article-navigation > div {
    display: flex;
}

.article-navigation a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s;
    text-decoration: none;
    width: 100%;
    border: 1px solid transparent;
}

.article-navigation a:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.nav-prev a {
    text-align: right;
}

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

.nav-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Article */
@media (max-width: 768px) {
    .article-content-wrapper {
        padding: 30px 20px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-header {
        text-align: right;
    }

    .article-excerpt {
        padding: 20px;
        font-size: 1.05rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-next a {
        text-align: right;
    }
}

/* Comments Section */
#comments {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid #f1f5f9;
}

.comments-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.comment-list .children {
    margin-right: 40px;
    margin-top: 25px;
}

.comment {
    background: var(--bg-color);
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.comment-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.comment-reply-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Comment Form */
#respond {
    margin-top: 50px;
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
}

#respond h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.comment-form label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit input {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-submit input:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Portfolio Slider Styles */
.portfolio-swiper {
    padding: 20px 0 60px;
    width: 100%;
}

.portfolio-swiper .swiper-slide {
    height: auto;
    padding: 10px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f5f9;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.portfolio-info p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 15px;
    flex-grow: 1;
}

.portfolio-link {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.portfolio-link::after {
    content: '←';
    transition: transform 0.3s;
}

.portfolio-link:hover::after {
    transform: translateX(-5px);
}

/* Swiper Navigation Customization */
.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 20;
    margin-top: -22px;
    transition: all 0.3s ease;
}

.portfolio-swiper .swiper-button-next:hover,
.portfolio-swiper .swiper-button-prev:hover {
    background: var(--accent-color);
    color: var(--white);
}

.portfolio-swiper .swiper-button-next::after,
.portfolio-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
}

