:root {
    --primary-bg: #030712;
    --secondary-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.4);
    --accent-color: #3b82f6;
    --accent-glow: #60a5fa;
    --highlight: #8b5cf6;
    --cyan: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-main: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    cursor: none; /* Custom cursor */
}

html {
    scroll-padding-top: 100px; /* Prevent fixed header from covering anchor targets */
}

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

/* --- Custom Cursor --- */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-glow);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-glow);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover States for Cursor */
body:hover .cursor-outline {
    opacity: 1;
}

a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.service-card:hover ~ .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4 {
    color: var(--white);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: 4.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 3rem; margin-bottom: 1rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 4rem; }

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Page Headers (Pricing, Contact, etc) --- */
.pricing-header {
    padding: 12rem 0 6rem;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.6), var(--primary-bg));
    z-index: 1;
}

.pricing-header .container {
    position: relative;
    z-index: 2;
}

/* --- Contact Page --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-info {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.contact-info h3 { margin-bottom: 2rem; }

.contact-info-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.contact-info-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.map-img {
    margin-top: 3rem;
    width: 100%;
    border-radius: 10px;
    opacity: 0.8;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.map-img:hover { opacity: 1; }

.contact-form {
    padding: 3rem;
}

.contact-form h3 { margin-bottom: 2rem; }

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.form-group select option {
    background: var(--secondary-bg);
    color: var(--white);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 2rem;
    }
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--accent-glow);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002; /* Ensure logo is above other elements */
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0; /* Reset margin to prevent layout shifts */
    padding: 0; /* Reset padding */
    white-space: nowrap; /* Prevent wrapping */
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-sm:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    min-height: 110vh; /* Increased height to accommodate content */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 100px; /* Add padding bottom to separate content from scroll indicator */
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4), var(--primary-bg)), url('../images/ai_generated/hero_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-bg));
    z-index: 1;
}

#hero-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--accent-glow);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-glow);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(96, 165, 250, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(96, 165, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

.hero-btns {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem; /* Slightly reduced padding */
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: flex; /* Changed from inline-flex */
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1; /* Reset line height */
    white-space: nowrap;
    width: fit-content; /* Ensure width fits content */
    margin: 0 auto; /* Center if block */
}

.btn-glow {
    background: var(--white);
    color: var(--primary-bg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.h-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.h-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* --- Clients Section --- */
.clients-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.3);
}

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.client-logo {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.client-logo:hover {
    color: var(--white);
    opacity: 1;
}

/* --- Services --- */
.section-padding { padding: 8rem 0; }
.relative { position: relative; }

.bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.shape-1 { top: 10%; left: -10%; }
.shape-2 { bottom: 10%; right: -10%; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 24px;
    position: relative;
    padding: 1px; /* For gradient border */
    overflow: hidden;
    transition: 0.4s;
}

.card-border {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    z-index: 0;
}

.card-inner {
    background: var(--secondary-bg);
    border-radius: 23px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-glow);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-list li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.service-list li i { color: var(--accent-color); font-size: 0.8rem; }

.learn-more {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.learn-more:hover { gap: 15px; color: var(--accent-glow); }

/* --- Process Timeline --- */
.bg-darker { background: #020617; }

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary-bg);
    border: 2px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-color);
}

.left { left: 0; }
.right { left: 50%; }

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid rgba(255,255,255,0.05);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(255,255,255,0.05);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid rgba(255,255,255,0.05);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(255,255,255,0.05) transparent transparent;
}

.right::after { left: -10px; }

.timeline-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: 0.3s;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: var(--white);
    font-style: italic;
    margin-bottom: 2rem;
}

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

.author-img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- CTA --- */
.cta-bg {
    position: absolute;
    inset: 0;
    background: url('../images/home/cta-bg.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.btn-lg {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
}

/* --- Footer --- */
footer {
    background: #020617;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--white); padding-left: 5px; }

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

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    flex-grow: 1;
}

.newsletter-form button {
    background: var(--accent-color);
    border: none;
    color: white;
    width: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover { background: var(--accent-glow); }

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
}

.img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

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

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.exp-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-glow);
    line-height: 1;
}

.exp-badge .text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.check-list {
    list-style: none;
    margin: 1.5rem 0;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--accent-color);
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.8);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.pf-content h4 {
    margin-bottom: 0.2rem;
    transform: translateY(20px);
    transition: 0.4s;
}

.pf-content span {
    color: var(--accent-glow);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: 0.4s 0.1s;
}

.pf-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: 0.4s 0.2s;
}

/* --- Custom Tech Graphics (No Images) --- */
.tech-graphic {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--secondary-bg);
    overflow: hidden;
}

.tech-graphic::before, .tech-graphic::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* Pattern 1: Cyber Grid */
.pattern-grid .tech-graphic {
    background: 
        linear-gradient(transparent 95%, rgba(59, 130, 246, 0.1) 95%),
        linear-gradient(90deg, transparent 95%, rgba(59, 130, 246, 0.1) 95%);
    background-size: 20px 20px;
}
.pattern-grid .tech-graphic::after {
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2), transparent 70%);
}

/* Pattern 2: Circuit */
.pattern-circuit .tech-graphic {
    background: var(--secondary-bg);
    background-image: 
        linear-gradient(45deg, var(--glass-border) 25%, transparent 25%, transparent 75%, var(--glass-border) 75%, var(--glass-border)), 
        linear-gradient(45deg, var(--glass-border) 25%, transparent 25%, transparent 75%, var(--glass-border) 75%, var(--glass-border));
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}
.pattern-circuit .tech-graphic::before {
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.3), transparent 60%);
}

/* Pattern 3: Data Flow */
.pattern-data .tech-graphic {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}
.pattern-data .tech-graphic::after {
    background: linear-gradient(45deg, transparent 40%, rgba(6, 182, 212, 0.2) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shine 3s infinite linear;
}

/* Pattern 4: Hexagon */
.pattern-hex .tech-graphic {
    background-color: var(--secondary-bg);
    background-image: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}
.pattern-hex .tech-graphic::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='40' viewBox='0 0 24 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c5.523 0 10-4.477 10-10V10c0-5.523-4.477-10-10-10s-10 4.477-10 10v20c0 5.523 4.477 10 10 10z' fill='%233b82f6' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

@keyframes shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Pricing Specific Updates */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.price-card .card-img {
    height: 150px;
    position: relative;
    overflow: hidden;
    background: var(--secondary-bg);
}
/* Hide actual images if any remain - DISABLED to show new AI images */
/* .price-card .card-img img {
    display: none;
} */

.price-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block; /* Ensure visible */
}


/* Portfolio Specific Updates */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Force 2 columns for 4 items */
    gap: 2rem;
}
.portfolio-item {
    height: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
}
/* .portfolio-item img {
    display: none;
} */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .pf-graphic {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s;
}
.portfolio-item:hover .pf-graphic {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
/* Restore Hover Effects */
.portfolio-item:hover .pf-content h4,
.portfolio-item:hover .pf-content span,
.portfolio-item:hover .pf-btn {
    transform: translateY(0);
}

.portfolio-item:hover .pf-btn {
    background: var(--accent-color);
    color: white;
}


/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.member-img {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

.social-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(3, 7, 18, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.team-member:hover .social-bar {
    opacity: 1;
    bottom: 20px;
}

.social-bar a {
    color: var(--white);
    transition: 0.2s;
}

.social-bar a:hover {
    color: var(--accent-glow);
}

.member-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.member-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Pricing Page --- */
.price-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
}


.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.price-card.featured {
    border-color: var(--accent-glow);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.price-card:hover .card-img img {
    transform: scale(1.1);
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--secondary-bg));
}

.price-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.price-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price-content .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin: 1.5rem 0;
}

.price-content a.btn {
    width: 100%;
    margin-top: auto; /* Push to bottom if needed */
}

.price-content .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-content .custom-price {
    font-size: 2.5rem;
}

.price-content ul {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.price-content li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.price-content li.highlight {
    color: var(--white);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    z-index: 10;
    box-shadow: 0 0 15px var(--accent-color);
}

.w-100 { width: 100%; justify-content: center; }

/* --- Responsive --- */
@media (max-width: 968px) {
    .section-padding { padding: 4rem 0; }
    
    .hero-content { margin-top: 20px !important; }
    
    .hero-stats { 
        flex-direction: column; 
        gap: 2rem; 
        margin-top: 3rem;
    }

    
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .exp-badge {
        right: 0;
        bottom: -10px;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .process-timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::before { left: 60px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent white transparent transparent; }
    .left::after, .right::after { left: 21px; }
    .right { left: 0; }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links {
        display: none; /* Needs JS to toggle */
    }
    
    .mobile-toggle { display: block; }
}

/* Icon Alignment Fix */
/* Remove global vertical-align which breaks flex layouts */
/* i { vertical-align: middle; } */
.btn i { margin-left: 8px; }
.service-list li i, .check-list li i { 
    min-width: 20px; /* Ensure icon has space and doesn't squash */
    text-align: center;
    margin-top: 3px; /* Slight adjustment for text alignment */
    align-self: flex-start; /* Align to top of text if multiline */
}

/* Fix mobile toggle icon alignment */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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