/* ==========================================================================
   VEOSOFT CORE REDESIGN - ENTERPRISE BENTO THEME
   ========================================================================== */

/* Google Fonts Import: DM Sans */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&display=swap');

/* Color Variables & System Tokens */
:root {
    --bg: #fcfcfd;
    --bg-darker: #f4f4f5;
    --bg-card: rgba(255, 255, 255, 0.85);
    
    --primary: #ea580c; /* Sunset Orange */
    --primary-glow: rgba(234, 88, 12, 0.08);
    
    --accent: #f97316; /* Safety Orange */
    --accent-glow: rgba(249, 115, 22, 0.08);
    
    --secondary: #fb923c; /* Warm Orange Accent */
    --secondary-glow: rgba(251, 146, 60, 0.08);
    
    --success: #15803d; /* Forest Green */
    --success-glow: rgba(21, 128, 61, 0.08);
    
    --text: #09090b; /* Zinc 950 */
    --text-muted: #71717a; /* Zinc 500 */
    
    --border-color: rgba(9, 9, 11, 0.06);
    --border-hover: rgba(234, 88, 12, 0.25);
    
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'SFMono-Regular', Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-darker);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Three.js Background Canvas wrapper */
#particles-canvas-container {
    opacity: 0.8;
}

/* Typography settings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Custom Cursor (Removed per user request) */
.custom-cursor-dot,
.custom-cursor-outline {
    display: none !important;
}

/* Loading Preloader Screen */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-darker);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preloader-logo img {
    height: 90px;
    width: auto;
    display: block;
}

.preloader-bar-container {
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    position: absolute;
    top: 0;
    left: 0;
}

.preloader-percentage {
    margin-top: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Glassmorphism Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1.25rem 2rem;
    background: rgba(252, 252, 253, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.85rem 2rem;
    background: rgba(252, 252, 253, 0.85);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.navbar-logo img:hover {
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.navbar-item a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.25rem 0;
}

.navbar-item a:hover,
.navbar-item.active a {
    color: var(--text);
}

.navbar-cta {
    background: var(--primary);
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
    transition: var(--transition);
}

.navbar-cta:hover {
    transform: translateY(-1px);
    background: var(--accent);
}

.mobile-toggle {
    display: none;
    font-size: 1.25rem;
    color: var(--text);
    cursor: pointer;
    background: none;
    border: none;
}

/* Sections Containers */
.section {
    padding: 7.5rem 2rem 5rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.15);
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 0 12px rgba(234, 88, 12, 0.02);
    transform: translateY(-2px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

/* Grid sizes */
.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

/* Code Panel Terminal Mockup (Bento Card Element) */
.code-panel {
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    width: 100%;
}

.code-header {
    background: #f4f4f5;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e4e4e7;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-title {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.code-body {
    padding: 1.25rem;
    overflow-x: auto;
    color: #18181b;
    line-height: 1.5;
}

.code-line {
    display: flex;
    margin-bottom: 0.25rem;
}

.code-number {
    color: #a1a1aa;
    width: 25px;
    text-align: right;
    margin-right: 1.25rem;
    user-select: none;
}

.code-text {
    white-space: pre;
}

/* Syntax highlight */
.kw { color: #ea580c; } /* Keyword */
.str { color: #15803d; } /* String */
.fn { color: #2563eb; } /* Function */
.var { color: #7c3aed; } /* Variable */
.cmt { color: #9a9a9f; } /* Comment */

.blink-caret::after {
    content: '|';
    animation: caretBlink 1s step-end infinite;
    color: var(--accent);
}

@keyframes caretBlink {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* Threads Log Monitor Widget (Bento Card Element) */
.threads-monitor {
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 180px;
    overflow-y: auto;
}

.thread-log-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: logFadeIn 0.3s forwards;
    line-height: 1.4;
}

@keyframes logFadeIn {
    to { opacity: 1; }
}

.thread-time {
    color: var(--accent);
    margin-right: 0.75rem;
}

.thread-status {
    color: #18181b;
    flex-grow: 1;
}

.thread-status.success { color: var(--success); }
.thread-status.info { color: var(--primary); }

.thread-tag {
    color: var(--text-muted);
}

.monitor-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.monitor-status-pip {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Hero layout */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 5rem;
    text-align: center;
}

.hero-content {
    max-width: 960px;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* General Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.2);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(9, 9, 11, 0.02);
    color: var(--text);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(9, 9, 11, 0.05);
    border-color: rgba(9, 9, 11, 0.12);
    transform: translateY(-1px);
}

/* Why Choose Us Grid */
.why-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* About Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Grids & Detailed layouts */
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-features li i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-link {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Portfolio grid and cards */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    padding: 0;
    overflow: hidden;
}

.portfolio-img-container {
    width: 100%;
    height: 200px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.portfolio-placeholder-graphic i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.portfolio-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portfolio-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--primary);
    font-weight: 600;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.portfolio-card:hover .portfolio-placeholder-graphic i {
    transform: scale(1.1);
    color: var(--primary);
}

/* Development Process Roadmap */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline-progress-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--border-color);
    z-index: 1;
}

.timeline-progress-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: var(--primary);
}

.timeline-step {
    position: relative;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 4rem;
    width: 100%;
    z-index: 2;
}

.timeline-step:nth-child(even) {
    justify-content: flex-end;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-content-wrapper {
    width: 45%;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition-slow);
}

.timeline-step.active .timeline-content {
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.timeline-step-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    transform: translateX(-50%);
    z-index: 3;
    transition: var(--transition);
}

.timeline-step.active .timeline-dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    transform: translateX(-50%) scale(1.2);
}

/* Testimonial slider */
.testimonials-slider {
    width: 100%;
    padding: 2rem 0 3.5rem !important;
}

.testimonial-card {
    padding: 2.5rem;
}

.testimonial-stars {
    color: var(--primary);
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.client-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--text);
    font-size: 0.85rem;
}

.client-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.client-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    border-color: rgba(234, 88, 12, 0.4);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.2);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.pricing-header {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.75rem;
}

.pricing-tier-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
}

.pricing-price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li.included {
    color: var(--text);
}

.pricing-features li i {
    font-size: 0.8rem;
}

.pricing-features li.included i {
    color: var(--success);
}

.pricing-features li:not(.included) i {
    color: rgba(239, 68, 68, 0.4);
}

/* FAQ Accordion list */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 8px;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.faq-header i {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.005);
}

.faq-content p {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Blog layouts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    padding: 0;
    overflow: hidden;
}

.blog-img-container {
    width: 100%;
    height: 180px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.blog-card-meta {
    padding: 1.5rem 1.75rem 0;
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.blog-card-content {
    padding: 0.75rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.blog-card-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.blog-card-link {
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.blog-card-link i {
    transition: var(--transition);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(3px);
}

/* Contact layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3.5rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.15rem;
}

.contact-detail-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-detail-text p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-map-placeholder {
    height: 160px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-darker);
}

.contact-map-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-map-graphic i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.05);
}

.contact-form-card {
    padding: 2.5rem;
    overflow: visible !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-control:focus {
    outline: none;
    border-color: rgba(234, 88, 12, 0.6);
    box-shadow: 0 0 12px rgba(234, 88, 12, 0.1);
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: rgba(234, 88, 12, 0.6);
    box-shadow: 0 0 12px rgba(234, 88, 12, 0.1);
}

.custom-select-trigger i {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.custom-select-wrapper.open .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-options-container {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    max-height: 200px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.custom-option:hover {
    background: var(--bg-darker);
    color: var(--text);
}

.custom-option.active {
    background: var(--primary-glow);
    color: var(--primary);
    font-weight: 500;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Custom Budget Slider */
.budget-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem 1rem 1rem;
    transition: var(--transition);
}

.budget-container:focus-within {
    border-color: rgba(234, 88, 12, 0.6);
    box-shadow: 0 0 12px rgba(234, 88, 12, 0.1);
}

.budget-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

#budget-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.slider-control {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    background: transparent;
    outline: none;
    margin: 5px 0;
    padding: 0;
    cursor: pointer;
    --val-percent: 25%;
}

/* Webkit (Safari, Chrome, Opera, Edge) */
.slider-control::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--val-percent), var(--bg-darker) var(--val-percent), var(--bg-darker) 100%);
    border-radius: 3px;
    border: none;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
    margin-top: -7px;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.15s ease;
}

.slider-control::-webkit-slider-thumb:hover,
.slider-control::-webkit-slider-thumb:active {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.6), 0 0 0 6px rgba(234, 88, 12, 0.15);
}

/* Firefox */
.slider-control::-moz-range-track {
    width: 100%;
    height: 6px;
    background: var(--bg-darker);
    border-radius: 3px;
    border: none;
}

.slider-control::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.15s ease;
}

.slider-control::-moz-range-thumb:hover,
.slider-control::-moz-range-thumb:active {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.6), 0 0 0 6px rgba(234, 88, 12, 0.15);
}

.slider-control::-moz-range-progress {
    background: var(--primary);
    height: 6px;
    border-radius: 3px 0 0 3px;
}

/* Live Chat Widget overlay */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.chat-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.25rem;
    transition: var(--transition);
    pointer-events: auto;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-window {
    width: 360px;
    height: 480px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transition: var(--transition);
    pointer-events: none;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    padding: 1rem;
    background: #f4f4f5;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 0 10px rgba(234, 88, 12, 0.2);
}

.chat-agent-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.chat-agent-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-agent-info p::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--success);
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-msg {
    max-width: 80%;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-msg.bot {
    background: rgba(9, 9, 11, 0.04);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

.chat-msg.user {
    background: var(--primary);
    color: #ffffff;
    align-self: flex-end;
}

.chat-input-area {
    padding: 0.85rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.4rem;
    background: #f4f4f5;
}

.chat-input {
    flex: 1;
    background: rgba(9, 9, 11, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-send {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.chat-send:hover {
    background: var(--accent);
}

/* Back to Top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Footer Section */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2.5rem;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
}

.footer-info-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: rgba(9, 9, 11, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    color: var(--text);
    border-color: rgba(9, 9, 11, 0.15);
}

.footer-column h4 {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-newsletter h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.4rem;
}

.newsletter-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.6rem 0.85rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-btn {
    background: var(--primary);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--text);
}

/* ==========================================================================
   PAGE TRANSITION OVERLAY & PORTFOLIO IMAGES
   ========================================================================== */

#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #ffffff, #f4f4f5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    transform: translateY(100%);
    pointer-events: none;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.transition-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    opacity: 0;
    transform: scale(0.9);
}

.transition-logo span {
    color: var(--primary);
}

/* Portfolio Card Image Styles */
.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Capability Item Styling inside Bento Card 2 */
.capabilities-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(9, 9, 11, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.capability-item:hover {
    border-color: var(--border-hover);
    background: rgba(234, 88, 12, 0.02);
    transform: translateX(4px);
}
