:root {
    --bg-main: #f1f1f1;
    --bg-sidebar: #ffffff;
    --border-color: #e3e3e3;
    --text-main: #202223;
    --text-secondary: #6d7175;
    --shopify-blue: #005bd3;
    --shopify-blue-hover: #004bb3;
    --shopify-white: #ffffff;
    --danger: #d82c0d;
    --shopify-green: #affebf;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-main);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Top Bar */
.top-bar {
    height: 56px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
    flex-shrink: 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-left {
    width: 300px;
}

.top-bar-right {
    width: 300px;
    justify-content: flex-end;
}

.back-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    display: flex;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.theme-name {
    font-weight: 600;
}

.dot {
    color: var(--text-secondary);
}

.status {
    background: var(--shopify-green);
    color: #124b40;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.nav-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f6f6f7;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.device-switcher {
    display: flex;
    background: #f6f6f7;
    padding: 2px;
    border-radius: 6px;
}

.device-switcher button {
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
}

.device-switcher button.active {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.actions {
    display: flex;
    gap: 8px;
}

.btn-primary {
    background: var(--shopify-blue);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

/* Editor Body */
.editor-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    height: calc(100vh - 56px);
}

/* Sidebar Left */
.sidebar-left {
    width: 300px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header h2 {
    font-size: 16px;
    font-weight: 600;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.sidebar-group {
    padding: 8px 0;
}

.group-header {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.section-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.section-item:hover {
    background: #f6f6f7;
}

.section-item.active {
    background: #edeeef;
    border-left: 3px solid var(--shopify-blue);
}

.section-icon {
    color: var(--text-secondary);
}

.section-item span {
    font-size: 14px;
    flex: 1;
}

.add-section {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    color: var(--shopify-blue);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.2s;
}

.add-section:hover {
    background: #f6f6f7;
}

/* Preview Area */
.preview-area {
    flex: 1;
    background: var(--bg-main);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    scroll-behavior: smooth;
    height: 100%;
}

.preview-frame {
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    height: min-content;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    margin-top: 20px;
    overflow: visible;
}

/* Modern Projects List */
.project-list-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.project-modern-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.project-modern-card:hover {
    transform: translateY(-5px);
    border-color: var(--shopify-blue);
    background: #fbfbfb;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.project-icon-box {
    width: 56px;
    height: 56px;
    background: #f6f6f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.project-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}


.glass-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f1 100%);
    position: relative;
    font-size: 24px;
}

.glass-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}


.project-info {
    flex: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.project-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.project-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: none;
}

.project-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #637381;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    background: #f0f0f1;
    color: #4a4a4a;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.project-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.mini-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.mini-card:hover {
    transform: translateY(-5px);
    border-color: var(--shopify-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mini-card h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
}

.mini-card p {
    margin: 0;
    font-size: 11px;
    color: var(--text-secondary);
}

/* Canvas Sections (selectable blocks in preview) */
.canvas-section {
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}

/* .canvas-section:hover {
    border-color: #babfc3;
} */

.canvas-section.canvas-active {
    z-index: 10;
}

.mockup-header {
    height: 48px;
    border-bottom: 1px solid var(--border-color);
    background: #fafafa;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.mockup-url {
    background: #eee;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    width: 100%;
    max-width: 400px;
}

.mockup-content {
    flex: 1;
    padding: 10px;
}

/* Sidebar Right */
.sidebar-right {
    width: 320px;
    background: var(--bg-sidebar);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 40px;
}

.settings-group {
    padding: 16px;
}

.settings-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.settings-group input,
.settings-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #babfc3;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.settings-group input:focus,
.settings-group textarea:focus {
    outline: 2px solid var(--shopify-blue);
    border-color: transparent;
}

.image-picker {
    border: 1px dashed var(--border-color);
    padding: 12px;
    border-radius: 6px;
    background: #fafafa;
}

.image-preview {
    width: 100%;
    height: 150px;
    background: #eee;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-swatches {
    display: flex;
    gap: 8px;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

/* Portfolio Typography & Components */
#portfolio-preview h1 {
    font-size: 48px;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-weight: 700;
}

#portfolio-preview h2 {
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 20px;
    color: var(--shopify-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-content .description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 0px;
    min-height: 80px;
    margin-bottom: 1rem;
    /* Reserve space to prevent layout jump */
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.member-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    border: 2px solid #e1e3e5;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    z-index: 10;
    white-space: nowrap;
}

/* Hero Score Badge Styles */
.hero-score-badge {
    position: absolute;
    bottom: -15px;
    left: 94%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    border: 2px solid #e1e3e5;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    z-index: 10;
    white-space: nowrap;
}

.hero-score-badge:hover {
    transform: translateX(-50%) translateY(-2px);
    border-color: var(--shopify-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.score-stars {
    display: flex;
    gap: 2px;
}

.star-unit {
    width: 18px;
    height: 18px;
    background: #008060;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.star-unit svg {
    width: 12px;
    height: 12px;
    color: #fff;
}

.star-unit.empty {
    background: #dcdce0;
}

.score-label {
    font-size: 13px;
    font-weight: 600;
    color: #191919;
    display: flex;
    align-items: center;
    gap: 4px;
}

.score-label span {
    color: #008060;
}

/* Floating Star Animation */
.floating-star {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    animation: flyAndFade 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes flyAndFade {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(var(--target-x), var(--target-y)) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

.star-on-profile {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffd700;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
    z-index: 5;
}

.star-on-profile.active {
    opacity: 1;
    transform: scale(1.2) rotate(15deg);
}




.member-badge:hover {
    background: #fff;
    border-color: var(--shopify-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.hero-content .description.typing::after {
    content: '|';
    margin-left: 2px;
    color: var(--shopify-blue);
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.btn-main,
.btn-sub {
    position: relative;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-main {
    background: #000;
    color: #fff;
    border: none;
}

.btn-sub {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

/* Hover Effects */
.btn-main:hover,
.btn-sub:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-main:hover {
    background: var(--shopify-blue);
    color: #fff;
}

.btn-sub:hover {
    background: #000;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
}


/* Glow Background for Buttons */
.btn-main::after,
.btn-sub::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--shopify-green);
    z-index: -1;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    filter: blur(20px);
}

.btn-main:hover::after,
.btn-sub:hover::after {
    opacity: 0.4;
    transform: scale(1.5);
}


.hero-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 24px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, var(--shopify-green), var(--shopify-green), var(--shopify-green));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(8px);
}


.hero-image:hover {
    transform: scale(1.08) translateY(-5px);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes glowPulse {
    0% {
        filter: blur(8px);
        opacity: 0.7;
    }

    50% {
        filter: blur(15px);
        opacity: 0.9;
    }

    100% {
        filter: blur(8px);
        opacity: 0.7;
    }
}

.hero-image:hover::before {
    opacity: 0.7;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: glowPulse 2s ease-in-out infinite;
}


.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    border: 4px solid #fff;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}





.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 0;
    margin-top: 32px;
    z-index: 1;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #f1f1f1;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 0;
    /* Behind markers but in front of background */
}


.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    animation: experienceReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    z-index: 1;
    /* Ensure child circles are above the line */
}

@keyframes experienceReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
    animation-delay: 0.6s;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    right: -9px;
    /* Centered on line */
    background-color: #fff;
    border: 3px solid var(--shopify-blue);
    top: 24px;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item.right::after {
    left: -9px;
}

.timeline-content {
    padding: 16px 20px;
    background-color: #fff;
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item:hover .timeline-content {
    border-color: var(--shopify-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.timeline-item:hover::after {
    background-color: var(--shopify-blue);
    transform: scale(1.3);
}

.time {
    font-size: 10px;
    font-weight: 700;
    color: var(--shopify-blue);
    background: rgba(0, 128, 96, 0.05);
    padding: 2px 10px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.role {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.company {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

.timeline-item.left .company {
    justify-content: flex-end;
}


@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left !important;
    }

    .timeline-item::after {
        left: 25px;
        right: auto;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .company {
        justify-content: flex-start !important;
    }

    .project-modern-card {
        flex-direction: column;
    }
}


.company::before {
    content: '•';
    color: var(--shopify-blue);
}


/* Shopify Store Cards & Grid */
.skills-grid {
    display: grid;
    gap: 24px;
    margin-top: 24px;
    perspective: 1500px;
}

.skill-card {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: none;
    pointer-events: none;
    z-index: 5;
}

.skill-card:hover {
    transform: translateY(-12px) rotateX(10deg) rotateY(-5deg);
    box-shadow:
        -5px 5px 0px rgba(0, 128, 96, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--shopify-blue);
}

.skill-card:hover::after {
    left: 100%;
    transition: left 0.7s ease-in-out;
}

.skill-card .shop-thumbnail {
    height: 140px;
    background: #f6f6f7;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    overflow: hidden;
    position: relative;
}

.skill-card .shop-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.skill-card:hover .shop-thumbnail img {
    transform: scale(1.1);
}

.skill-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
}

.skill-card .view-link {
    font-size: 11px;
    color: var(--shopify-blue);
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.skill-card .view-link:hover {
    text-decoration: underline;
}

/* Modern Skills & Certifications Registry */
.skills-container {
    max-width: 1000px;
    margin: 0 auto;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.skill-tag {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.skill-tag:hover {
    border-color: var(--shopify-blue);
    color: var(--shopify-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cert-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    justify-content: center;
}

.cert-filter-tabs::-webkit-scrollbar {
    display: none;
}

.cert-tab {
    padding: 8px 16px;
    background: #f4f6f8;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #637381;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cert-tab.active {
    background: #fff;
    border-color: var(--shopify-blue);
    color: var(--shopify-blue);
    box-shadow: 0 2px 8px rgba(0, 128, 96, 0.1);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    animation: fadeIn 0.4s ease-out;
}

.cert-card-modern {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.cert-card-modern:hover {
    border-color: var(--shopify-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.cert-issuer-icon {
    width: 36px;
    height: 36px;
    background: #f9fafb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #f1f1f1;
}

.cert-issuer-icon svg,
.cert-issuer-icon img {
    max-width: 20px;
    max-height: 20px;
}

.cert-info {
    flex-grow: 1;
}

.cert-title {
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 2px;
}

.cert-meta {
    font-size: 11px;
    color: #6d7175;
    margin-bottom: 6px;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cert-skill-tag {
    font-size: 9px;
    background: #f4f6f8;
    color: #637381;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.cert-link {
    font-size: 11px;
    color: var(--shopify-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#section-hero,
#section-shopify-work,
#section-projects,
#section-experience,
#section-skills,
#section-agency,
#section-reviews {
    padding: 10px 40px;
}


/* Mobile View: Hide UI and show only content */
@media screen and (max-width: 768px) {

    .top-bar,
    .sidebar-left,
    .sidebar-right {
        display: none !important;
    }

    .editor-body {
        height: 100vh;
        width: 100vw;
    }

    .preview-area {
        padding: 0;
        background: #fff;
        width: 100%;
    }

    .preview-frame {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        min-height: 100vh;
    }

    .mockup-content {
        padding: 24px 16px;
    }

    #portfolio-preview h1 {
        font-size: 32px;
    }

    .description {
        font-size: 14px;
        max-width: 100%;
    }

    .skills-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-main,
    .btn-sub {
        text-align: center;
    }








    #section-hero,
    #section-shopify-work,
    #section-projects,
    #section-experience,
    #section-skills,
    #section-agency,
    #section-reviews {
        padding: 10px 10px;
    }

    .skills-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .project-list-modern {
        grid-template-columns: 1fr;
    }

    .project-modern-card {
        flex-direction: column;
        gap: 12px;
    }

    .timeline-item {
        left: 0;
        text-align: right;
        width: 100%;
        text-align: left;
        padding: 10px;
        ;
    }

    .timeline-item::after {
        display: none;
    }

    .timeline-item.left .company {
        justify-content: flex-start;
    }

    .agency-feature-card {
        padding: 40px 24px;
    }

    .agencies-list {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 30px;
    }

    .uimaster-logo-box {
        padding: 16px 32px;
    }

    .agency-services-grid,
    .recommendations-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}





.mobile #section-hero,
.mobile #section-shopify-work,
.mobile #section-projects,
.mobile #section-experience,
.mobile #section-skills,
.mobile #section-agency,
.mobile #section-reviews {
    padding: 10px 10px;
}

.mobile .skills-grid {
    grid-template-columns: repeat(1, 1fr) !important;
}

.mobile .project-list-modern {
    grid-template-columns: 1fr;
}

.mobile .project-modern-card {
    flex-direction: column;
    gap: 12px;
}

.mobile .timeline-item {
    left: 0;
    text-align: right;
    width: 100%;
    text-align: left;
    padding: 10px;
    ;
}

.mobile .timeline-item::after {
    display: none;
}

.mobile .timeline-item.left .company {
    justify-content: flex-start;
}

.mobile .agency-feature-card {
    padding: 40px 24px;
}

.mobile .agencies-list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}

.mobile .uimaster-logo-box {
    padding: 16px 32px;
}

.mobile .agency-services-grid,
.mobile .recommendations-grid {
    grid-template-columns: repeat(1, 1fr);
}



@keyframes heroReveal {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineReveal {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero-content .hero-image {
    animation: heroReveal 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-content h1 {
    opacity: 0;
    animation: textReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

.hero-content .subtitle {
    opacity: 0;
    animation: textReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}



.hero-content .hero-btns {
    opacity: 0;
    animation: textReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}

#section-hero::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--shopify-green), transparent);
    animation: lineReveal 1.5s ease-in-out forwards;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#section-shopify-work .skill-card {
    opacity: 0;
    animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

#section-shopify-work .skill-card:nth-child(1) {
    animation-delay: 0.8s;
}

#section-shopify-work .skill-card:nth-child(2) {
    animation-delay: 0.9s;
}

#section-shopify-work .skill-card:nth-child(3) {
    animation-delay: 1.0s;
}

#section-shopify-work .btn-sub {
    opacity: 0;
    animation: textReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.2s forwards;
}

/* Modern Footer Styles */
.footer-container {
    padding: 80px 40px 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    background: linear-gradient(to bottom, #fff, #fafafa);
}

.footer-top {
    text-align: center;
    margin-bottom: 60px;
}

.footer-top h1 {
    font-size: 42px !important;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-icon-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: #4a4a4a;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.social-icon-link:hover {
    transform: translateY(-5px);
    border-color: var(--shopify-blue);
    color: var(--shopify-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 13px;
    flex-wrap: wrap;
    padding-inline: 20px;
}

.footer-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--shopify-blue);
}

.mobile .footer-container {
    padding-block: 80px;
    padding-inline: 0;
}

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

.mobile .footer-bottom * {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    justify-content: center;
}


@media screen and (max-width: 768px) {
    .footer-container {
        padding-block: 80px;
        padding-inline: 0;
    }

    .footer-top h1 {
        font-size: 32px !important;
    }

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

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


    .footer-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

/* Agency Section Styles */
.agency-feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 32px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.agency-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 128, 96, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.agency-feature-card:nth-child(2)::after {
    background: radial-gradient(circle at top right, rgba(0, 0, 0, 0.03), transparent 60%);
}

.agency-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 128, 96, 0.1);
}

.agency-feature-card:hover::after {
    opacity: 1;
}

.agency-badge {
    background: #f0f7f4;
    color: #008060;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 128, 96, 0.1);
}

.agency-feature-card:nth-child(2) .agency-badge {
    background: #f1f1f1;
    color: #000;
    border-color: rgba(0, 0, 0, 0.05);
}

.agency-logo-wrapper {
    width: 100%;
    max-width: 180px;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}

.agency-feature-card:hover .agency-logo-wrapper {
    transform: scale(1.05);
}

.agency-logo-wrapper img {
    width: 100%;
    height: auto;
}

.agency-badge {
    background: #E6F5F0;
    color: #008060;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.agency-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
    width: 100%;
}

.agency-service-item {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #f1f1f1;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.agency-service-item:hover {
    transform: scale(1.05);
    border-color: #008060;
    box-shadow: 0 10px 20px rgba(0, 128, 96, 0.05);
}

.agency-feature-card:nth-child(2) .agency-service-item:hover {
    border-color: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.agency-service-icon {
    font-size: 20px;
    margin-bottom: 12px;
}

.agency-service-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.agencies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 40px;
    align-items: stretch;
    margin-top: 60px;
}

.uimaster-logo-box {
    background: #000;
    padding: 20px 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.p-section-wrapper {
    padding: 24px;
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    .p-section-wrapper {
        padding: 16px;
    }
}

/* Articles Section Styles */
.section-header-centered {
    font-size: 28px;
    margin-bottom: 32px;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 12px;
    margin-top: 90px;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px auto 0;
    max-width: 900px;
}

@media screen and (max-width: 960px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {

    .articles-grid,
    .agencies-list {
        grid-template-columns: 1fr !important;
        padding: 0 16px;
        gap: 24px;
    }

    .section-header-centered {
        font-size: 22px;
        margin-top: 60px;
        margin-bottom: 20px;
    }
}

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.article-linkedin-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #0077b5;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
    transition: transform 0.3s ease;
}

.article-card:hover .article-linkedin-icon {
    transform: scale(1.1) rotate(5deg);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--shopify-blue);
}

.article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

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

.article-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    color: #919eab;
    font-weight: 600;
}

.article-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 12.5px;
    color: #454f5b;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

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

.article-tag {
    background: #f4f6f8;
    color: #637381;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mobile .articles-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 0 16px;
    max-width: 100%;
}

.mobile .section-header-centered {
    font-size: 20px !important;
    margin-top: 40px !important;
    padding-bottom: 8px;
}

.mobile .article-title {
    font-size: 14px;
}

.mobile .article-excerpt {
    font-size: 12px;
}

@media screen and (max-width: 480px) {
    .article-title {
        font-size: 14px;
    }

    .article-excerpt {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .article-content {
        padding: 12px;
    }
}

.articles-grid+div .btn-sub {
    width: auto;
    min-width: 200px;
}

@media screen and (max-width: 768px) {
    .articles-grid+div .btn-sub {
        width: 100%;
    }
}

/* Reviews & Recommendations Section */
.reviews-container {
    max-width: 1000px;
    margin: 40px auto;
}

.reviews-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.review-tab {
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #637381;
    transition: all 0.3s ease;
    background: none;
    border: none;
    font-family: inherit;
}

.review-tab.active {
    background: #fff;
    color: var(--shopify-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.recommendation-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--shopify-blue);
}

.recommendation-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 60px;
    color: #f1f1f1;
    font-family: serif;
    line-height: 1;
}

.recommender-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.recommender-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--shopify-blue);
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #eee;
    overflow: hidden;
}

.recommender-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recommender-info {
    flex-grow: 1;
}

.recommender-name {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recommender-title {
    font-size: 12px;
    color: #637381;
    line-height: 1.4;
    margin-top: 2px;
}

.recommendation-text {
    font-size: 14px;
    color: #454f5b;
    line-height: 1.6;
    font-style: italic;
}

/* Reviews Styling (Rebranded Green) */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.review-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
}

.review-card:hover {
    border-color: #008060;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.review-user-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.review-initials {
    width: 44px;
    height: 44px;
    background: #f4f6f8;
    color: #008060;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.review-user-name {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
}

.review-user-meta {
    font-size: 12px;
    color: #637381;
    margin-top: 2px;
}

.review-date {
    font-size: 12px;
    color: #919eab;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-star-box {
    width: 20px;
    height: 20px;
    background: #008060;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.review-star-box svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

.review-body {
    margin-bottom: 24px;
}

.review-title {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: #454f5b;
    line-height: 1.6;
}

.review-reply {
    background: #f9fafb;
    border-left: 3px solid #008060;
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-top: 16px;
}

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

.reply-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.reply-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reply-info {
    font-size: 13px;
}

.reply-name {
    font-weight: 700;
    color: #1a1a1a;
}

.reply-date {
    font-size: 11px;
    color: #919eab;
    margin-top: 2px;
}

.reply-text {
    font-size: 14px;
    color: #454f5b;
    line-height: 1.6;
}

.empty-reviews-state {
    text-align: center;
    padding: 60px 40px;
    background: #fdfdfd;
    border: 2px dashed #eee;
    border-radius: 20px;
    grid-column: 1 / -1;
}

.empty-reviews-state h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.empty-reviews-state p {
    color: #637381;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}


.agency-service-desc {
    font-size: 12px;
    color: #637381;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .agency-services-grid {
        grid-template-columns: 1fr;
    }

    .agency-feature-card {
        padding: 40px 20px;
        margin: 20px;
    }
}

/* Tech Stack Slider */
.tech-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.tech-track {
    display: flex;
    width: calc(180px * 16);
    /* item width * count (8 * 2) */
    animation: scroll 25s linear infinite;
}

.tech-track:hover {
    animation-play-state: paused;
}

.tech-item {
    width: 180px;
    /* Reduced from 250px to close the gap */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Slightly tighter gap between logo and text */
    flex-shrink: 0;
}

.tech-item img {
    height: 28px;
    /* Slightly smaller logos to match tighter spacing */
    width: auto;
    filter: grayscale(100%);
    /* Invert icons if background is white for visibility or vice versa */
    opacity: 0.6;
    transition: all 0.3s;
}

.tech-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.tech-item span {
    font-size: 13px;
    font-weight: 600;
    color: #637381;
    transition: color 0.3s;
}

.tech-item:hover span {
    color: var(--text-primary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-180px * 8));
    }
}

/* Virtual Office Section */
.office-hero {
    margin-top: 60px;
    padding-bottom: 20px;
}

.office-main-card {
    background: #fff;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    overflow: hidden;
    min-height: 580px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    position: relative;
}

.office-visuals {
    flex: 1.2;
    background: radial-gradient(circle at top left, #f8fafc, #eff3f6);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.office-visuals::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 128, 96, 0.03) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    pointer-events: none;
}

.office-image-stack {
    position: relative;
    width: 80%;
    height: 70%;
    perspective: 2000px;
}

.office-img-primary {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform: rotateY(-5deg) rotateX(2deg);
}

.office-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 60%;
    height: 65%;
    object-fit: cover;
    border-radius: 16px;
    border: 8px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(40px) rotateY(-5deg) rotateX(2deg);
    z-index: 5;
}

.office-main-card:hover .office-img-primary {
    transform: rotateY(0) rotateX(0) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.office-main-card:hover .office-img-secondary {
    transform: translateZ(100px) rotateY(0) rotateX(0) translate(-20px, -20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.office-status-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: #008060;
    border-radius: 50%;
    position: relative;
}

.live-indicator::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #008060;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

.live-indicator.offline {
    background: #919eab;
}

.live-indicator.offline::after {
    display: none;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.status-mode {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.office-details {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fcfdfe 100%);
    position: relative;
}

.office-details::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 40px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 128, 96, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.office-pretitle {
    color: #008060;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    display: block;
    opacity: 0.8;
}

.office-big-title {
    font-size: 32px !important;
    font-weight: 900;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.office-description {
    font-size: 14px !important;
    color: #454f5b;
    line-height: 1.7;
    margin-bottom: 36px;
}

.schedule-card-compact {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.schedule-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 11px;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.schedule-top svg {
    color: var(--shopify-blue);
}

.schedule-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item-live,
.schedule-item-off {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.schedule-item-live .day-dot {
    background: #008060;
}

.schedule-item-off .day-dot {
    background: #ccc;
}

.day-label {
    font-weight: 700;
    color: #1a1a1a;
    width: 80px;
}

.hour-label {
    color: #666;
}

.teleport-action-btn {
    background: linear-gradient(135deg, var(--shopify-blue) 0%, #3e1189 100%);
    color: #fff;
    padding: 20px 40px;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(92, 106, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.teleport-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.teleport-action-btn:hover::before {
    left: 100%;
}

.teleport-action-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(92, 106, 196, 0.4);
    background: linear-gradient(135deg, #3e1189 0%, var(--shopify-blue) 100%);
}

.teleport-action-btn svg {
    transition: transform 0.3s ease;
}

.teleport-action-btn:hover svg {
    transform: translateX(5px);
}

.office-small-hint {
    margin-top: 16px;
    font-size: 11px;
    color: #999;
}

.mobile .office-main-card {
    flex-direction: column;
    min-height: auto;
    border-radius: 24px;
    margin: 10px;
}

.mobile .office-visuals {
    height: 320px;
    width: 100%;
}

.mobile .office-details {
    padding: 32px 20px;
    text-align: center;
}

.mobile .office-status-badge {
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
}

.mobile .office-big-title {
    font-size: 24px !important;
}

.mobile .office-description {
    font-size: 14px !important;
}

.mobile .office-image-stack {
    width: 85%;
    height: 80%;
    transform: translateY(20px);
}

.mobile .office-img-primary {
    transform: none !important;
}

.mobile .office-img-secondary {
    width: 55%;
    height: 60%;
    bottom: -20px;
    right: -20px;
    transform: none !important;
}

.mobile .schedule-card-compact {
    padding: 16px;
    margin-bottom: 30px;
}

.mobile .schedule-item-live,
.mobile .schedule-item-off {
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .office-main-card {
        flex-direction: column;
        min-height: auto;
        border-radius: 24px;
    }

    .office-visuals {
        height: 300px;
        width: 100%;
        flex: none;
    }

    .office-details {
        padding: 40px 24px;
        text-align: center;
        flex: none;
    }

    .office-status-badge {
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
    }

    .office-image-stack {
        width: 90%;
        height: 85%;
    }

    .office-img-primary {
        transform: none !important;
        border-radius: 16px;
    }

    .office-img-secondary {
        transform: none !important;
        border-radius: 12px;
        bottom: -15px;
        right: -15px;
        border-width: 4px;
    }

    .office-big-title {
        font-size: 24px !important;
    }

    .schedule-card-compact {
        padding: 20px 16px;
    }

    .schedule-item-live,
    .schedule-item-off {
        justify-content: center;
    }

    .teleport-action-btn {
        width: 100%;
        padding: 18px 24px;
    }

    .schedule-body {
        text-align: left;
        align-items: flex-start;
    }
}

.btn-whatsapp:hover {
    background: #25d366 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}