/* ============================================
   VIBENOX THEME - MAIN STYLESHEET
   Premium White & Blue Design v3.0
   ============================================ */

/* Force Light Theme Only */
:root {
    color-scheme: light only;
}

/* ============================================
   1. VARIABLES & RESET
   ============================================ */
:root {
    /* Colors - Premium Blue */
    --primary-color: #ffffff;
    --secondary-color: #2563eb;
    --secondary-dark: #1d4ed8;
    --secondary-light: #dbeafe;
    --accent-color: #3b82f6;
    
    --text-color: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 100px;
    
    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.1);
    --transition: all 0.2s ease;
    --radius: 8px;
    --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--text-color); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p { color: var(--text-light); margin-bottom: 16px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.bg-light { background-color: var(--bg-light); }

/* ============================================
   2. HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: #fff;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding { display: flex; align-items: center; flex-shrink: 0; }
.site-branding .custom-logo-link { display: flex; align-items: center; }
.site-branding .custom-logo, .site-branding img {
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    max-width: 180px !important;
    object-fit: contain;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

/* Desktop Navigation */
.main-navigation { display: flex; align-items: center; }

.nav-menu-container { display: flex; }

.main-navigation ul,
.main-navigation .menu {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li { margin: 0; }

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--secondary-color);
}

/* Mobile Menu Toggle Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1002;
    margin-left: auto;
    order: 2;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Close Button - Hidden on Desktop */
.mobile-menu-close {
    display: none;
}

/* Mobile Menu Overlay - Hidden on Desktop */
.mobile-menu-overlay {
    display: none;
}

/* ============================================
   3. BUTTONS
   ============================================ */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
    border-radius: var(--radius); transition: var(--transition);
    cursor: pointer; border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color); color: #fff; border-color: var(--secondary-color);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); }

.btn-secondary { background: transparent; color: var(--secondary-color); border-color: var(--secondary-color); }
.btn-secondary:hover { background: var(--secondary-light); transform: translateY(-2px); }

.btn-arrow { margin-left: 8px; }

/* ============================================
   4. HERO SECTION - LIGHT TECH THEME
   ============================================ */
.hero-section {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #e8f4ff 100%);
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
}

/* Animated Gradient Mesh Background */
.hero-gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -10px) scale(1.02); }
    66% { transform: translate(-10px, 5px) scale(0.98); }
}

/* Floating Geometric Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-circle {
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
}

.shape-hexagon {
    width: 60px;
    height: 35px;
    background: var(--secondary-color);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-square {
    border: 2px solid var(--secondary-color);
    transform: rotate(45deg);
}

.s1 { width: 80px; height: 80px; top: 15%; left: 8%; animation-delay: 0s; }
.s2 { width: 40px; height: 40px; top: 60%; left: 15%; animation-delay: 2s; opacity: 0.15; }
.s3 { top: 20%; right: 10%; animation-delay: 4s; }
.s4 { width: 30px; height: 30px; bottom: 25%; right: 8%; animation-delay: 1s; }
.s5 { width: 60px; height: 60px; bottom: 15%; left: 50%; animation-delay: 3s; opacity: 0.08; }

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Code Decoration */
.hero-code-decoration {
    position: absolute;
    bottom: 15%;
    left: 5%;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 0.75rem;
    color: var(--secondary-color);
    opacity: 0.15;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
}

.code-line.indent { padding-left: 20px; }

/* Hero Content */
.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 5;
}

/* Tech Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Hero Title with Typing Effect */
.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-color);
}

.typing-cursor {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 300;
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Tech Buttons */
.btn-tech {
    position: relative;
    overflow: hidden;
}

.btn-primary.btn-tech {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4f46e5 100%);
    border: none;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-secondary.btn-tech {
    position: relative;
}

.btn-secondary.btn-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-color), #8b5cf6, var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary.btn-tech:hover::before {
    opacity: 1;
}

/* Hero Visual Area */
.hero-visual {
    position: relative;
    height: 450px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tech Grid Background */
.hero-tech-grid-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    border-radius: 50%;
    opacity: 0.8;
}

/* Central Orb */
.hero-orb {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.orb-core {
    position: absolute;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.05) 70%, transparent 100%);
    border-radius: 50%;
    animation: orbPulse 3s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: orbSpin 20s linear infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

@keyframes orbSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.08);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatCard 5s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.card-icon {
    font-size: 1.3rem;
}

.fc-1 { top: 8%; left: 5%; animation-delay: 0s; }
.fc-2 { top: 40%; right: -5%; animation-delay: 1s; }
.fc-3 { bottom: 30%; left: 0; animation-delay: 2s; }
.fc-4 { bottom: 8%; right: 10%; animation-delay: 3s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   5. STATS SECTION - Enhanced
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #0ea5e9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 0%, transparent 30%);
    pointer-events: none;
}

.stats-section .container { position: relative; z-index: 2; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: #fff;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease;
}

.stat-item:hover { transform: translateY(-8px); }

.stat-icon { font-size: 2.5rem; margin-bottom: 16px; }

.stat-number {
    display: inline;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.9;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 8px;
    font-weight: 500;
}

/* ============================================
   6. SECTIONS
   ============================================ */
.section { padding: var(--section-padding) 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; background: var(--secondary-light); color: var(--secondary-color);
    padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px;
}
.section-desc { color: var(--text-light); }
.section-cta { text-align: center; margin-top: 48px; }

/* ============================================
   7. SERVICES GRID - Enhanced Tech Style
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #8b5cf6, var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.1) translateY(0); }
    50% { transform: scale(1.1) translateY(-5px); }
}

.service-card h3 { margin-bottom: 12px; transition: color 0.3s ease; }
.service-card:hover h3 { color: var(--secondary-color); }
.service-card p { margin-bottom: 0; font-size: 0.95rem; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-dark);
    gap: 10px;
}

/* ============================================
   8. PROCESS TIMELINE - Animated
   ============================================ */
.process-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.process-section .container { position: relative; z-index: 2; }
.process-section .section-tag { background: rgba(255,255,255,0.15); color: #fff; }
.process-section h2 { color: #fff; }
.process-section .section-desc { color: rgba(255,255,255,0.8); }

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
}

/* Connecting line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.5), rgba(255,255,255,0.2));
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-icon-wrap { position: relative; margin-bottom: 24px; }

.step-number {
    display: inline-flex;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    color: var(--secondary-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.step-content h3 { color: #fff; margin-bottom: 8px; font-size: 1.1rem; }
.step-content p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; padding: 0 16px; }

/* ============================================
   9. ABOUT SECTION
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }

.about-img-placeholder, .about-image-box {
    width: 100%; height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: var(--radius-lg); overflow: hidden;
}
.about-image-box img { width: 100%; height: 100%; object-fit: cover; }

.about-experience-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--secondary-color); color: #fff;
    padding: 20px; border-radius: var(--radius-lg);
    text-align: center; box-shadow: var(--shadow-lg);
}
.exp-number { display: block; font-size: 2rem; font-weight: 800; }
.exp-text { font-size: 0.85rem; opacity: 0.9; }

.about-features { margin: 32px 0; }
.about-feature { display: flex; gap: 16px; margin-bottom: 20px; }
.feature-icon {
    width: 32px; height: 32px; background: var(--secondary-light); color: var(--secondary-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.about-feature strong { display: block; margin-bottom: 4px; color: var(--text-color); }
.about-feature p { margin: 0; font-size: 0.9rem; }

/* ============================================
   10. WHY CHOOSE US
   ============================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
    background: #fff; padding: 32px; border-radius: var(--radius-lg);
    text-align: center; border: 1px solid var(--border-color); transition: var(--transition);
}
.why-card:hover { border-color: var(--secondary-color); box-shadow: var(--shadow-md); }
.why-icon { font-size: 2.5rem; margin-bottom: 20px; }

/* ============================================
   11. PORTFOLIO
   ============================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-item {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.portfolio-thumb { height: 220px; overflow: hidden; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { width: 100%; height: 100%; }
.thumb-placeholder.color-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.thumb-placeholder.color-2 { background: linear-gradient(135deg, #14b8a6, #22d3ee); }
.thumb-placeholder.color-3 { background: linear-gradient(135deg, #f43f5e, #fb923c); }

.portfolio-info { padding: 24px; }
.portfolio-cat {
    display: inline-block; background: var(--secondary-light); color: var(--secondary-color);
    padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.portfolio-info h3 { margin-bottom: 8px; }
.portfolio-info p { font-size: 0.9rem; margin: 0; }

/* ============================================
   12. TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: #fff; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 1rem; font-style: italic; margin-bottom: 24px; color: var(--text-color); line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 48px; height: 48px; background: var(--secondary-color); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.author-info strong { display: block; color: var(--text-color); font-size: 0.95rem; }
.author-info span { font-size: 0.85rem; color: var(--text-light); }

/* ============================================
   13. TECH STACK
   ============================================ */
.tech-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-category-card {
    background: #fff; padding: 32px; border-radius: var(--radius-lg);
    text-align: center; border: 1px solid var(--border-color); transition: var(--transition);
}
.tech-category-card:hover { border-color: var(--secondary-color); box-shadow: var(--shadow-md); }
.tech-cat-icon { font-size: 2rem; margin-bottom: 12px; }
.tech-category-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--text-color); }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tech-list span {
    background: var(--bg-light); padding: 6px 12px; border-radius: 6px;
    font-size: 0.8rem; font-weight: 500; color: var(--text-color);
}

/* ============================================
   14. CTA SECTION
   ============================================ */
.cta-section { background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%); padding: 100px 0; }

.cta-box {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border-radius: var(--radius-lg); padding: 60px; text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}
.cta-box h2 { color: #fff; font-size: 2.25rem; margin-bottom: 16px; }
.cta-box > p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 32px; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }

.btn-cta-primary {
    background: #fff; color: var(--secondary-color); padding: 16px 32px;
    border-radius: var(--radius); font-weight: 600; font-size: 1rem;
    border: none; cursor: pointer; transition: var(--transition);
}
.btn-cta-primary:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

.btn-cta-secondary {
    background: transparent; color: #fff; padding: 16px 32px;
    border-radius: var(--radius); font-weight: 600; font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition);
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.cta-features { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.cta-features span { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ============================================
   15. FOOTER
   ============================================ */
.site-footer { background: #0f172a; color: #fff; padding: 80px 0 0; }

.footer-widgets { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-branding h3 { font-size: 1.4rem; margin-bottom: 16px; color: #fff; }
.footer-desc { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.8rem; font-weight: 600; transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary-color); }

.footer-nav h4, .footer-contact h4 { font-size: 1rem; margin-bottom: 20px; color: #fff; }
.footer-nav ul { padding: 0; margin: 0; }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }

.footer-contact p { color: rgba(255,255,255,0.7); margin-bottom: 10px; font-size: 0.95rem; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--secondary-light); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.copyright { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-bottom-links a:hover { color: #fff; }

/* ============================================
   16. PAGE HEADERS
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 80px 0; text-align: center; color: #fff;
}
.page-header .page-title { color: #fff; font-size: 2.5rem; margin-bottom: 12px; }
.page-header .page-subtitle { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

/* ============================================
   17. FORMS
   ============================================ */
input, textarea, select {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border-color);
    border-radius: var(--radius); font-family: inherit; font-size: 1rem;
    transition: var(--transition); background: #fff;
}
input:focus, textarea:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }

/* ============================================
   18. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid, .portfolio-grid, .testimonials-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .tech-showcase { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { flex-wrap: wrap; gap: 32px; }
    .process-step { flex: 0 0 calc(50% - 16px); }
    .step-connector { display: none; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; --section-padding: 60px; }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-image { display: none; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item { padding: 20px 16px; }
    .stat-number { font-size: 2rem; }
    .stat-icon { font-size: 1.75rem; margin-bottom: 8px; }
    
    .services-grid, .portfolio-grid, .testimonials-grid, .why-grid { grid-template-columns: 1fr; }
    .tech-showcase { grid-template-columns: 1fr; }
    .process-step { flex: 0 0 100%; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-widgets { grid-template-columns: 1fr; gap: 32px; }
    
    .about-experience-badge { position: static; margin-top: 20px; display: inline-block; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .cta-box { padding: 40px 24px; }
    .cta-box h2 { font-size: 1.5rem; }
    
    .process-timeline::before { display: none; }
    .process-step { opacity: 1; transform: none; }
    
    /* Mobile Menu - New Structure */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
    }
    
    .mobile-menu-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Menu Slide-in Panel */
    .nav-menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        padding: 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1003;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .nav-menu-container.is-open {
        right: 0;
    }
    
    /* Mobile Close Button */
    .mobile-menu-close {
        display: block;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-color);
        cursor: pointer;
        align-self: flex-end;
        margin-bottom: 24px;
    }
    
    .mobile-menu-close:hover {
        color: var(--secondary-color);
    }
    
    .main-navigation ul,
    .main-navigation .menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        margin: 0;
    }
    
    .main-navigation a {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Page header mobile */
    .page-header { padding: 60px 0; }
    .page-header .page-title { font-size: 1.75rem; }
}

/* ============================================
   19. TECH ANIMATIONS & SCROLL REVEAL
   ============================================ */

/* Scroll Reveal Base States */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Card Fade-in with Stagger */
.service-card,
.portfolio-item,
.testimonial-card,
.why-card,
.tech-category-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card.fade-in,
.portfolio-item.fade-in,
.testimonial-card.fade-in,
.why-card.fade-in,
.tech-category-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.5s; }

.portfolio-grid .portfolio-item:nth-child(1) { transition-delay: 0s; }
.portfolio-grid .portfolio-item:nth-child(2) { transition-delay: 0.15s; }
.portfolio-grid .portfolio-item:nth-child(3) { transition-delay: 0.3s; }

.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* Why Card Hover Enhancement */
.why-card {
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-card:hover::after {
    transform: scaleX(1);
}

/* Portfolio Hover Enhancement */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item .portfolio-thumb {
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-thumb {
    transform: scale(1.05);
}

/* Testimonial Card Tilt Effect */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Tech Category Card Enhancement */
.tech-category-card {
    position: relative;
    overflow: hidden;
}

.tech-category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-category-card:hover::before {
    opacity: 1;
}

/* Scrolled Header Style */
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

/* ============================================
   20. HERO MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 24px;
        font-size: 1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
    
    /* Hide complex shapes on mobile */
    .hero-shapes,
    .hero-code-decoration {
        display: none;
    }
    
    .hero-gradient-mesh {
        opacity: 0.4;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        padding: 12px 16px;
        font-size: 0.75rem;
    }
    
    .card-icon {
        font-size: 1.1rem;
    }
    
    .fc-1 { top: 5%; left: 5%; }
    .fc-2 { top: 35%; right: 0; }
    .fc-3 { bottom: 35%; left: 0; }
    .fc-4 { bottom: 5%; right: 5%; }
    
    .typing-cursor {
        display: none;
    }
}

