/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.5);
    --border: #334155;
    --cyan: #22d3ee;
    --cyan-solid: #06b6d4;
    --blue: #3b82f6;
    --purple: #a855f7;
    --green: #22c55e;
    --orange: #f97316;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gradient: linear-gradient(135deg, var(--cyan-solid), var(--blue));
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font);
    white-space: nowrap;
}

.btn-gradient {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-gradient:hover {
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

/* Subtle glow pulse on hero gradient buttons */
.hero-ctas .btn-gradient {
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); }
    50%      { box-shadow: 0 4px 30px rgba(6, 182, 212, 0.5), 0 0 50px rgba(59, 130, 246, 0.15); }
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.footer-brand img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-link:hover {
    color: var(--cyan);
}

.mobile-menu-cta {
    margin-top: 1rem;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Hero background image */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/TVs2.webp') center center / cover no-repeat;
    opacity: 0.15;
    filter: blur(2px);
    pointer-events: none;
}

/* Large animated gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.08) 40%, transparent 70%);
    pointer-events: none;
    animation: heroOrbLeft 8s ease-in-out infinite alternate;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 55%;
    height: 65%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
    pointer-events: none;
    animation: heroOrbRight 10s ease-in-out infinite alternate;
    filter: blur(60px);
}

@keyframes heroOrbLeft {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 8%) scale(1.1); }
}

@keyframes heroOrbRight {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-6%, -5%) scale(1.15); }
}

/* Grid dot pattern overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

/* Neon line accent across hero */
.hero-glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--blue) 50%, rgba(124, 58, 237, 0.6) 70%, transparent 100%);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15), inset 0 0 20px rgba(6, 182, 212, 0.05);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing animation */
.typing-wrapper {
    display: inline-flex;
    align-items: baseline;
}

.typing-cursor {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blink 0.7s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BRAND MARQUEE ========== */
.marquee-section {
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.marquee-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.marquee-inner:hover .marquee-item {
    color: var(--text-secondary);
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan-solid);
    opacity: 0.5;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-section:hover .marquee-inner {
    animation-play-state: paused;
}

/* ========== SECTIONS ========== */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--bg-secondary);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-solid), var(--blue), transparent);
    opacity: 0.4;
}

.section-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), var(--cyan-solid), transparent);
    opacity: 0.4;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========== TABS ========== */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.tab {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}

.tab:hover {
    border-color: var(--cyan);
    color: var(--text-primary);
}

.tab.active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
}

/* ========== SERVICE CARDS ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: all var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.1);
    background: rgba(30, 41, 59, 0.8);
}

.service-card.hidden {
    display: none;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: var(--cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(59, 130, 246, 0.25));
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ========== HOW IT WORKS / PROCESS ========== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    padding-top: 2rem;
}

.process-line {
    position: absolute;
    top: calc(2rem + 24px);
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-solid), var(--blue), var(--purple));
    opacity: 0.4;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 40px rgba(6, 182, 212, 0.1);
}

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    transition: all var(--transition);
    flex: 1;
    width: 100%;
}

.process-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.12);
}

.process-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ========== PORTFOLIO ========== */
.portfolio-category-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.portfolio-category-title + .portfolio-grid + .portfolio-category-title {
    margin-top: 3rem;
}

.portfolio-category-title i {
    color: var(--cyan);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0.85) 30%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.portfolio-card:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.2);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.portfolio-overlay p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Portfolio tag colors */
.portfolio-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.tag-av {
    background: rgba(6, 182, 212, 0.2);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.tag-web {
    background: rgba(168, 85, 247, 0.2);
    color: var(--purple);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.tag-security {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.tag-fabrication {
    background: rgba(249, 115, 22, 0.2);
    color: var(--orange);
    border: 1px solid rgba(249, 115, 22, 0.4);
}

/* Portfolio website cards */
.portfolio-grid-websites {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.portfolio-website-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--transition);
    display: block;
}

.portfolio-website-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
}

.website-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.5;
}

.browser-url {
    margin-left: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.website-preview {
    overflow: hidden;
    max-height: 200px;
}

.website-preview img {
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.website-info {
    padding: 1.25rem;
}

.website-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.website-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.website-link {
    color: var(--purple);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(59, 130, 246, 0.12) 50%, rgba(168, 85, 247, 0.08) 100%);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-banner-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-banner-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 550px;
}

@media (max-width: 768px) {
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-text p {
        max-width: 100%;
    }
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-cta {
    margin-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.12);
}

.stat-card:hover .stat-icon {
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.stat-card:hover .stat-value {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    border-top: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all var(--transition);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: var(--gradient);
    border-radius: var(--radius) var(--radius) 0 0;
}

.testimonial-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.08);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    font-size: 2.25rem;
    color: var(--cyan);
    line-height: 1;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    transition: border-color var(--transition);
}

.contact-method:hover {
    border-color: rgba(6, 182, 212, 0.4);
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--cyan);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.1);
}

.contact-method h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-method p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.contact-link {
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--cyan-solid);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1), 0 0 15px rgba(6, 182, 212, 0.08);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form success message */
.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success i {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.form-success h3 {
    margin-bottom: 0.5rem;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--cyan-solid), var(--blue), transparent) 1;
    padding: 2.5rem 0;
    background: var(--bg-primary);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: rgba(6, 182, 212, 0.3);
}

.faq-item.open {
    border-color: rgba(6, 182, 212, 0.5);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.faq-question i {
    color: var(--cyan);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-3px);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
    text-align: center;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay classes */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }
.stagger-9 { transition-delay: 0.45s; }
.stagger-10 { transition-delay: 0.5s; }
.stagger-11 { transition-delay: 0.55s; }
.stagger-12 { transition-delay: 0.6s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .process-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-links,
    .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        min-height: 90vh;
        padding: 6rem 1.5rem 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tabs {
        gap: 0.4rem;
    }

    .tab {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }
}
