/* ==========================================================================
   ZINEPEX — GLOBAL STYLESHEET
   ========================================================================== */

/* 1. RESET & VARIABLES */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f5f7;
    --bg-dark: #0a0a0a;
    --bg-card: #ffffff;
    --bg-card-dark: #161616;
    --accent-primary: #2563eb;
    --accent-purple: #8b5cf6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-dark: #334155;
    --grad-primary: linear-gradient(135deg, #2563eb, #8b5cf6);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Premium Page Preloader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    opacity: 1;
    visibility: visible;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-icon-spin {
    height: 70px;
    width: auto;
    animation: premium-spin 2s linear infinite;
    filter: drop-shadow(0 0 25px rgba(26, 26, 255, 0.5));
}

.loader-bar {
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--grad-primary);
    border-radius: 10px;
    animation: loader-bar-move 1.5s ease-in-out infinite;
}

@keyframes premium-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-bar-move {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

/* 2. UTILITY CLASSES */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f0ff;
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title span {
    color: var(--accent-primary);
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500;
}

section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Global Glassmorphism Mesh Background Utility */
.glass-mesh-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    pointer-events: none;
}

.glass-mesh-bg .mesh-blob {
    display: none;
    position: absolute;
    filter: blur(120px);
    opacity: 0.55;
    border-radius: 50%;
    animation: float-mesh-global 25s ease-in-out infinite alternate;
}

.glass-mesh-bg .mesh-blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #e0c3fc;
}

.glass-mesh-bg .mesh-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #8ec5fc;
    animation-delay: -6s;
}

.glass-mesh-bg .mesh-blob-3 {
    top: 30%;
    left: 25%;
    width: 40vw;
    height: 40vw;
    background: #ffdee9;
    animation-delay: -12s;
}

.glass-mesh-bg .glass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 1;
}

@keyframes float-mesh-global {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(6%, 6%) scale(1.08);
    }
}

/* Scroll Entrance Animation Classes (Vanilla Framer Motion Alternative) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 3. BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-primary);
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
    background: #1d4ed8;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 36px;
    border-radius: 100px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: #fff;
}

/* ==========================================
   COMPONENT STYLES
   ========================================== */

/* NAVBAR Component */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    transition: all 0.4s ease;
    z-index: 100;
    background: transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.logo-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: var(--accent-primary);
    color: white;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.active-link {
    color: var(--accent-primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-ai-estimator {
    background: #f0e6ff;
    color: #8c00ff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-ai-estimator:hover {
    background: #e1ccff;
}

.btn-contact-us {
    background: #0000cc;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-contact-us:hover {
    background: #0000ff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.chevron-icon {
    transition: transform 0.3s;
}

.dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }

    .mobile-toggle {
        display: block;
    }
}

/* HERO Component */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transform-origin: center;
    transition: transform 0.1s ease-out;
}

.hero-glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
}

@keyframes float-mesh {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(8%, 8%) scale(1.1);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-badges-row {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.dot-blue {
    background: #1a1aff;
}

.dot-orange {
    background: #ff6b00;
}

.dot-purple {
    background: #d500f9;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-title-grad {
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
    border-radius: 100px;
}

.hero-reviews {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars {
    color: #ff3d00;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.hero-reviews span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
}

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

.tech-pill {
    background: #f4f5f7;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
}

.hero-visuals-right {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modern Glassmorphic Code Dashboard */
.hero-glass-dashboard {
    width: 85%;
    height: 380px;
    background: #1e1e2e;
    /* Slate/dark-mode background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.hero-glass-dashboard:hover {
    transform: translateY(-5px);
}

.dashboard-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.w-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.w-dot.red {
    background: #ef4444;
}

.w-dot.yellow {
    background: #f59e0b;
}

.w-dot.green {
    background: #10b981;
}

.window-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.dashboard-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
}

.code-editor {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cdd6f4;
    width: 100%;
    text-align: left;
}

.code-keyword {
    color: #cba6f7;
    font-weight: bold;
}

.code-func {
    color: #89b4fa;
}

.code-arg {
    color: #fab387;
}

.code-str {
    color: #a6e3a1;
}

.code-class {
    color: #f38ba8;
}

/* Floating UI Card */
.hero-floating-card {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 260px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
}

.hero-floating-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(26, 26, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.card-graph {
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 4px;
}

.graph-bar {
    flex: 1;
    height: var(--bar-height);
    background: linear-gradient(180deg, #1a1aff, #d500f9);
    border-radius: 4px;
    animation: grow-bar 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes grow-bar {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.card-metrics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 8px;
    border-radius: 100px;
    font-size: 0.75rem;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.fb-1 {
    top: 10%;
    left: -10%;
}

.fb-2 {
    bottom: 15%;
    right: -5%;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-badges-row {
        justify-content: center;
    }

    .hero-tech-stack {
        justify-content: center;
    }

    .hero-visuals-right {
        height: 100%;
        min-height: 300px;
    }

    .fb-1,
    .fb-2 {
        display: none;
    }
}

/* ABOUT SECTION Component */
.about-section {
    position: relative;
    padding: 120px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

/* Ambient blob backgrounds */
.about-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-blob {
    position: absolute;
    pointer-events: none;
}

.about-blob-1 {
    top: -10%;
    left: -8%;
    width: 55vw;
    max-width: 700px;
    opacity: 0.7;
    animation: about-blob-drift1 20s ease-in-out infinite alternate;
}

.about-blob-2 {
    bottom: -10%;
    right: -8%;
    width: 45vw;
    max-width: 580px;
    opacity: 0.6;
    animation: about-blob-drift2 26s ease-in-out infinite alternate;
}

@keyframes about-blob-drift1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(3%, 5%) scale(1.06); }
}
@keyframes about-blob-drift2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-4%, -4%) scale(1.08); }
}

/* Layout */
.about-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ---- LEFT VISUAL ---- */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual-inner {
    position: relative;
    width: 360px;
    height: 360px;
}

.about-main-card {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 60px rgba(37,99,235,0.12),
        0 0 120px rgba(139,92,246,0.08);
    backdrop-filter: blur(6px);
}

.about-orbit-svg {
    width: 320px;
    height: 320px;
}

/* Floating pills */
.about-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    white-space: nowrap;
    animation: pill-float 5s ease-in-out infinite alternate;
}

.about-pill-1 {
    top: 4%;
    left: -18%;
    animation-delay: 0s;
}


.about-pill-2 {
    bottom: 20%;
    left: -20%;
    animation-delay: 1.2s;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.about-value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    transition: var(--transition);
}

.about-title {
    color: #ffffff !important;
    margin-bottom: 20px;
}

.about-lead {
    color: #94a3b8 !important;
    margin-bottom: 36px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-value-item:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
    transform: translateX(6px);
}

.aval-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot-c, #2563eb);
    flex-shrink: 0;
    margin-top: 6px;
    box-shadow: 0 0 10px var(--dot-c, #2563eb);
}

.aval-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.aval-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

/* Vision Strip Component */
.about-vision-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.vision-strip-item {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: center;
}

.vision-strip-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.vision-strip-divider {
    width: 1px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
}

.vision-strip-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.vision-strip-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}
/* Responsive */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-visual-inner {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 600px) {
    .about-visual-inner {
        width: 220px;
        height: 220px;
    }
    .about-value-item {
        padding: 14px 16px;
        gap: 12px;
    }
}

/* SERVICES Component */
.services-section {
    position: relative;
    padding: 120px 0;
    background: transparent;
}

.services-section .section-title span {
    color: #1561c5;
}

.services-section .section-sub {
    color: #ffffff;
}

.section-header {
    margin-bottom: 60px;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
}

.service-card-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.popular-tag {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.hot-tag {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.new-tag {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: gap 0.3s;
}

.service-card:hover .service-link {
    color: var(--accent-primary);
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* HOW WE WORK Component */
.how-section {
    position: relative;
    padding: 120px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-header.centered {
    text-align: center;
    margin: 0 auto 60px;
    max-width: 700px;
}

.how-section .section-header.centered .section-title {
    color: var(--text-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.step-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.step-num {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: #222222;
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 24px;
    letter-spacing: -2px;
    transition: color 0.4s;
    pointer-events: none;
}

.step-card:hover .step-num {
    color: #333333;
}

.step-icon {
    margin-bottom: 24px;
}

.step-icon-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.step-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 1rem;
    color: #aaaaaa;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* WHY CHOOSE US Component */
.why-section {
    position: relative;
    padding: 120px 0;
    background: var(--bg-primary);
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-left {
    display: flex;
    flex-direction: column;
}

.why-big-stat {
    margin-top: 40px;
}

.big-stat-ring {
    position: relative;
    width: 180px;
    height: 180px;
}

.ring-svg {
    width: 100%;
    height: 100%;
}

.ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.ring-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.reason-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.reason-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.reason-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.reason-card:hover .reason-icon {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.reason-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.reason-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .why-inner {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

/* WHATSAPP AUTOMATION Component */
.wa-section {
    position: relative;
    padding: 80px 0;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.wa-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.wa-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 520px;
}

.wa-phone-frame {
    position: relative;
    width: 270px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 3;
    transform: scale(0.95);
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 128, 105, 0.9);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.wa-header-info {
    flex: 1;
}

.wa-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.wa-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25d366;
}

.wa-logo {
    margin-left: auto;
    color: white;
    font-size: 1.1rem;
}

.wa-chat-body {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 320px;
    background-color: rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.chat-bubble {
    max-width: 85%;
    padding: 8px 12px 6px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: bubble-fade 0.3s forwards;
}

@keyframes bubble-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.chat-bubble.user {
    background: #005c4b;
    color: white;
    border-radius: 10px 10px 0 10px;
    align-self: flex-end;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chat-bubble.bot {
    background: #202c33;
    color: white;
    border-radius: 10px 10px 10px 0;
    align-self: flex-start;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bubble-text {
    font-size: 0.85rem;
    color: #e9edef;
    line-height: 1.35;
}

.bubble-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    align-self: flex-end;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: #202c33;
    border-radius: 10px 10px 10px 0;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8696a0;
    animation: pulse-dot 1.2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.wa-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #202c33;
}

.wa-input-field {
    flex: 1;
    background: #2a3942;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #e9edef;
}

.wa-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00a884;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.wa-img-float {
    position: absolute;
    top: 60px;
    right: -20px;
    width: 160px;
    z-index: 4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: float-wa-badge 6s ease-in-out infinite alternate;
}

@keyframes float-wa-badge {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(15px) rotate(2deg);
    }
}

.wa-img-float img {
    width: 100%;
    height: auto;
    display: block;
}

.wa-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wa-tag {
    align-self: flex-start;
    color: #25d366 !important;
    background: rgba(37, 211, 102, 0.1) !important;
    border: 1px solid rgba(37, 211, 102, 0.2) !important;
}

.wa-text .section-title {
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0;
}

.wa-text .section-sub {
    color: #aaaaaa;
    margin-bottom: 0;
}

.wa-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 10px 0;
}

.wa-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #dddddd;
    font-weight: 500;
}

.wa-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.wa-btn {
    background: #25d366 !important;
    color: white;
    padding: 14px 30px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.wa-btn:hover {
    background: #128c7e !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.wa-text .btn-outline {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    font-size: 0.95rem;
}

.wa-text .btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

@media (max-width: 900px) {
    .wa-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wa-visual {
        order: -1;
        height: 420px;
    }

    .wa-phone-frame {
        transform: scale(0.85);
    }

    .wa-img-float {
        right: 20px;
        top: 40px;
        width: 130px;
    }
}

/* PORTFOLIO Component */
.portfolio-section {
    position: relative;
    padding: 140px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.portfolio-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 60px;
}

.portfolio-header-row .section-header {
    margin-bottom: 0;
}

.portfolio-header-row .section-title {
    margin-bottom: 0;
}

.portfolio-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f4f5f7;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--text-primary);
    color: white;
}

.portfolio-scroll-container {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 40px 60px;
}

.portfolio-scroll-container::-webkit-scrollbar {
    display: none;
}

.portfolio-track {
    display: flex;
    gap: 40px;
    width: max-content;
    padding-left: max(28px, calc((100vw - 1280px) / 2));
    padding-right: 40px;
}

.portfolio-card-large {
    width: 1000px;
    height: 520px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    background: transparent;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.portfolio-card-large:hover {
    transform: scale(0.99);
}

.port-abstract-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 0;
    opacity: 0.8;
    filter: blur(40px);
}

.port-glass-pane {
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.dark-card .port-glass-pane {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.port-inner-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.port-card-visuals {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-mobile-mockups {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.port-phone {
    position: absolute;
    width: 220px;
    height: 400px;
    object-fit: cover;
    border-radius: 36px;
    border: 6px solid #111;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.port-phone-1 {
    bottom: -40px;
    left: 40px;
    z-index: 3;
}

.port-phone-2 {
    top: 40px;
    left: 180px;
    z-index: 2;
    transform: scale(0.9);
}

.port-web-mockups {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-dashboard {
    width: 90%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.port-card-content {
    flex: 1;
    padding: 60px 60px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.port-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.port-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.port-tag {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-card .port-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.port-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 400px;
    opacity: 0.8;
}

.port-btn-outline {
    align-self: flex-start;
    background: transparent;
    border: 1px solid currentColor;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: inherit;
}

.port-btn-outline:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
}

.dark-card .port-btn-outline:hover {
    background: #ffffff;
    color: #000000 !important;
}

@media (max-width: 1024px) {
    .portfolio-card-large {
        width: 800px;
    }

    .port-phone-1 {
        left: 20px;
    }

    .port-phone-2 {
        left: 140px;
    }

    .port-card-content {
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .portfolio-card-large {
        width: 340px;
        height: auto;
    }

    .port-inner-layout {
        flex-direction: column;
    }

    .port-card-visuals {
        height: 300px;
        width: 100%;
    }

    .port-phone {
        width: 140px;
        height: 260px;
        border-width: 4px;
    }

    .port-phone-1 {
        left: 20px;
        bottom: -20px;
    }

    .port-phone-2 {
        left: 120px;
        top: 20px;
    }

    .port-card-content {
        padding: 40px;
    }

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

/* TESTIMONIALS Component */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.testimonials-section .glass-mesh-bg {
    display: none;
}

.testimonials-section .section-header.centered .section-title {
    color: var(--text-light);
}

.testimonials-section .section-header.centered .section-sub {
    color: #aaaaaa;
}

.test-marquee-wrap {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.test-marquee {
    display: flex;
    gap: 24px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.test-marquee:hover {
    animation-play-state: paused;
}

.client-logo-card {
    width: 280px;
    min-width: 280px;
    height: 120px;
    padding: 24px;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.client-logo-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* PARTNERS Component */
.partners-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.certs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 40px;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    text-align: center;
}

.cert-label {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-light);
}

.cert-desc {
    font-size: 0.9rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.partners-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaaaaa;
    margin-bottom: 32px;
}

.partners-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-marquee {
    display: flex;
    gap: 24px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.partner-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 100px;
    white-space: nowrap;
}

.partner-logo-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}

/* CTA Component */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.cta-card {
    position: relative;
    background: transparent;
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-visual {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cta-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.cta-img-main {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dark);
}

.cta-img-float {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--bg-dark);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.cta-content .section-tag {
    background: transparent;
    color: var(--text-light);
    align-self: flex-start;
    padding: 0;
    font-size: 0.85rem;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: -1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.cta-desc {
    font-size: 1.1rem;
    color: #aaaaaa;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-main {
    background: var(--accent-primary) !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    padding: 16px 32px;
}

.cta-btn-main:hover {
    background: #0000e6 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 26, 255, 0.2) !important;
}

.cta-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--border-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn-wa:hover {
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-3px);
}

@media (max-width: 1000px) {
    .cta-card {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 40px 0;
    }

    .cta-visual {
        justify-content: center;
    }

    .cta-image-wrapper {
        max-width: 400px;
    }

    .cta-img-float {
        width: 140px;
        left: -20px;
    }
}

@media (max-width: 600px) {
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn-main,
    .cta-btn-wa {
        width: 100%;
        justify-content: center;
    }
}

/* FOOTER Component */
.footer {
    position: relative;
    padding: 100px 0 0;
    background: #0a0a0a;
    color: #ffffff;
}

.footer-top-line {
    width: 100%;
    height: 1px;
    background: #222222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
    gap: 60px;
    padding: 80px 0 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo .logo-icon {
    background: var(--text-light);
    color: #0a0a0a;
    box-shadow: none;
}

.footer-logo .logo-text {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-tagline {
    font-size: 1.05rem;
    color: #aaaaaa;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 32px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #cccccc;
    text-decoration: none;
}

.footer-contact-item:hover {
    color: #ffffff;
}

.footer-contact-item svg {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    background: #111111;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--s-color);
    border-color: var(--s-color);
    transform: scale(1.15);
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #aaaaaa;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link svg {
    display: inline-block;
    width: 0 !important;
    height: 12px;
    opacity: 0;
    margin-right: 0;
    overflow: hidden;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link:hover svg {
    width: 12px !important;
    opacity: 1;
    margin-right: 8px;
    transform: translateX(0);
}

.newsletter-desc {
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--accent-primary);
}

.newsletter-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--accent-primary);
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.footer-divider {
    height: 1px;
    background: #222222;
    margin-bottom: 32px;
}

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

.footer-copy {
    font-size: 0.9rem;
    color: #888888;
}

.footer-bottom-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* ==========================================================================
   BLOG & CAREER COMPONENT CUSTOM STYLES
   ========================================================================== */
.inner-page-hero {
    min-height: 380px;
    padding-top: 160px;
    padding-bottom: 80px;
    background: var(--bg-secondary);
    position: relative;
}

.inner-page-hero .section-title {
    font-size: 4rem;
    color: #ffffff;
}

.inner-page-hero .section-sub,
.inner-page-hero .post-meta {
    color: #ffffff;
    opacity: 0.9;
}

.blog-grid,
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--text-primary);
}

.blog-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

.blog-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-tag {
    font-size: 0.85rem;
    fontWeight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-card-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

/* Career Listing Styles */
.career-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.career-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.career-dept {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.career-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.career-meta-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.career-meta-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 6px 14px;
    border-radius: 100px;
}

.career-summary {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Detail Pages Layout */
.content-detail-section {
    padding: 80px 0;
}

.detail-content-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.detail-rich-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.detail-rich-text p {
    margin-bottom: 24px;
}

.detail-rich-text ul,
.detail-rich-text ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.detail-rich-text li {
    margin-bottom: 12px;
}

.back-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 40px;
    transition: var(--transition);
}

.back-btn-link:hover {
    color: var(--accent-primary);
    transform: translateX(-5px);
}

/* Forms (Application & Admin Portal) */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    margin-top: 40px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
}

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

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fdfdfd;
    outline: none;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 26, 255, 0.06);
}

/* ==========================================================================
   ADMIN PORTAL CUSTOM LAYOUT
   ========================================================================== */
.admin-header {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 24px 0;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-logo span {
    color: var(--accent-primary);
}

.admin-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.admin-nav-link {
    color: #dddddd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.admin-nav-link:hover {
    color: #ffffff;
}

.admin-logout-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}

.admin-logout-btn:hover {
    background: #ff3333;
}

.admin-dashboard-wrap {
    padding: 60px 0;
    background: var(--bg-secondary);
    min-height: 80vh;
}

.admin-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 40px;
}

.admin-tab-btn {
    padding: 14px 24px;
    border: none;
    background: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.admin-tab-btn.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.admin-tab-panel {
    display: none;
}

.admin-tab-panel.active {
    display: block;
}

.admin-panel-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.panel-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Admin lists/tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    font-weight: 800;
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.admin-table tr:hover td {
    background: rgba(244, 245, 247, 0.5);
}

.badge-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-dept {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-type {
    background: #fef3c7;
    color: #b45309;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: #ffffff;
    text-decoration: none;
    margin-right: 6px;
}

.btn-edit {
    background: #0ea5e9;
}

.btn-edit:hover {
    background: #0284c7;
}

.btn-delete {
    background: #ef4444;
}

.btn-delete:hover {
    background: #dc2626;
}

.btn-view {
    background: #10b981;
}

.btn-view:hover {
    background: #059669;
}

.alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-weight: 700;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Hero Main Image Layout */
.hero-main-img {
    width: 100%;
    max-width: 640px;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.hero-main-img:hover {
    transform: translateY(-5px);
}

/* Hero Subtitle & Sliding Text Animation */
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 95%;
}

.sliding-text {
    display: inline-block;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sliding-text.hide {
    opacity: 0;
    transform: translateY(-20px);
}

.sliding-text.prepare {
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

/* Navbar Home Page Theme (White initially, Dark on scroll) */
.home-page .navbar:not(.scrolled) .nav-link,
.home-page .navbar:not(.scrolled) .mobile-toggle {
    color: #ffffff;
}

.home-page .navbar:not(.scrolled) .nav-link:hover {
    color: var(--accent-primary);
}

.home-page .navbar:not(.scrolled) .logo-img {
    content: url('assests/Zinepex_logo_white.png');
}

/* AI Button Specific Styling */
.ai-nav-btn {
    color: #f97316;
    /* Tailwind orange-500 (Reddish orange) */
}

.ai-nav-btn:hover {
    color: var(--accent-primary) !important;
}

.home-page .navbar:not(.scrolled) .ai-nav-btn {
    color: #ffffff;
}