@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN TOKENS & ROOT VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme Colors (Clean Minimalist White) */
    --color-bg: #f8fafc; /* Pristine Slate-50 background */
    --color-bg-darker: #f1f5f9; /* Warm Slate-100 for section contrast */
    --color-bg-lighter: #ffffff; /* Pure white for elements/cards */
    --color-text: #334155; /* Refined Slate-700 body text */
    --color-text-muted: #64748b; /* Soft Slate-500 muted text */
    --color-text-white: #0f172a; /* Slate-900 for dark/heavy titles */
    
    /* Premium Indigo-centric Accents */
    --color-primary: #3491B2; /* Royal Indigo-600 */
    --color-primary-rgb: 52, 145, 178;
    --color-secondary: #50a8c9; /* Vivid Violet-500 */
    --color-secondary-rgb: 80, 168, 201;
    --color-accent: #f43f5e; /* Rose-500 */
    --color-accent-rgb: 244, 63, 94;
    
    /* Elegant Light Gradients */
    --grad-primary: linear-gradient(135deg, #287a98 0%, #3491B2 50%, #50a8c9 100%); /* Electric Blue to Violet */
    --grad-purple: linear-gradient(135deg, #50a8c9 0%, #ec4899 100%); /* Violet to Rose Pink */
    --grad-dark: linear-gradient(180deg, rgba(248,250,252,0.95) 0%, rgba(241,245,249,0.98) 100%);
    --grad-radial: radial-gradient(circle at 50% 50%, rgba(52, 145, 178, 0.08) 0%, rgba(255, 255, 255, 0) 70%);

    /* UI Glass Effects (Pristine Frosted White Glass) */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.06); /* Very subtle dark slate border */
    --glass-border-hover: rgba(52, 145, 178, 0.35); /* Subtle Indigo hover border */
    --glass-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.02); /* Extremely soft ambient shadow */
    --glass-blur: blur(16px);

    /* Layout Defaults */
    --nav-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Particle Canvas Wrapper */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to content */
}

#bg-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Content wrapper ensuring we stack above the background */
.content-wrapper {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-white);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, textarea {
    font-family: inherit;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 4px;
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ==========================================================================
   UTILITY & LAYOUT REUSABLES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
}

.glow-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, rgba(0,0,0,0) 70%);
    top: 10%;
    left: 5%;
    pointer-events: none;
    z-index: -1;
}

.glow-bg.alt {
    background: radial-gradient(circle, rgba(var(--color-secondary-rgb), 0.08) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    right: 5%;
    left: auto;
}

/* Section Typography */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 16px;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(52, 145, 178, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(52, 145, 178, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-bg-lighter);
    color: var(--color-text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.02);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 99px;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo svg {
    height: 92px;
    width: auto;
    padding-bottom: 18px;
}

.logo span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo .subtext {
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0px;
    -webkit-text-fill-color: initial;
    background: none;
    margin-left: 2px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-white);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.hero-tagline .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px var(--color-primary); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-title span {
    background: linear-gradient(120deg, #3491B2 0%, #4fa3c2 40%, #58b3d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.hero-sphere {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, rgba(137, 44, 220, 0.05) 50%, rgba(0,0,0,0) 70%);
    box-shadow: inset 0 0 40px rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    animation: float 6s ease-in-out infinite;
}

.hero-sphere-core {
    position: absolute;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.4) 0%, rgba(137, 44, 220, 0.4) 100%);
    border-radius: 50%;
    filter: blur(25px);
    top: calc(50% - 70px);
    left: calc(50% - 70px);
    animation: rotateSphere 8s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes rotateSphere {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(13, 13, 14, 0.08), transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow), 0 10px 30px -10px rgba(52, 145, 178, 0.15);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--border-radius-sm);
    background: rgba(52, 145, 178, 0.06);
    border: 1px solid rgba(52, 145, 178, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-icon svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.service-card:hover .service-icon {
    background: var(--grad-primary);
    color: #ffffff;
    transform: rotateY(185deg);
    box-shadow: 0 5px 15px rgba(52, 145, 178, 0.3);
}

.service-title {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}


/* ==========================================================================
   ABOUT & STATS SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.about-visual {
    position: relative;
}

.about-image-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--glass-shadow);
    margin-top: -40px; /* Elevates the image card slightly */
    transition: var(--transition-smooth);
}

.about-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

.about-img-portrait {
    width: 490px;
    height: 490px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    display: block;
    margin: 0 auto;
}

.about-mockup {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    background: var(--color-bg-darker);
    border: 1px solid rgba(255,255,255,0.05);
    display: block;
}

.about-card-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(242, 242, 245, 0.95);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--border-radius-md);
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    gap: 16px;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
}

.about-title {
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.25;
}

.about-desc {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.about-desc.highlight {
    font-size: 17px;
    color: var(--color-text-white);
    font-weight: 500;
}

/* Stats Counter Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.stat-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px 16px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.stat-box:hover {
    background: #ffffff;
    border-color: rgba(52, 145, 178, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   PORTFOLIO (OUR WORKS) SECTION
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-muted);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: var(--glass-blur);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--color-bg-darker);
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    transition: var(--transition-smooth);
}

.portfolio-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    margin: 0;
}

.portfolio-visual {
    width: 100%;
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-darker);
    border-bottom: 1px solid var(--glass-border);
}

.portfolio-visual svg {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(52, 145, 178, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.portfolio-overlay-btn {
    background: var(--grad-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 4px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img,
.portfolio-item:hover .portfolio-visual svg {
    transform: scale(1.08);
}

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

.portfolio-item:hover .portfolio-overlay-btn {
    transform: translateY(0);
}

.portfolio-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-cat {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.portfolio-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.portfolio-desc {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================================================
   PROCESS ROADMAP SECTION
   ========================================================================== */
.process-container {
    position: relative;
    margin-top: 50px;
}

.process-line {
    position: absolute;
    top: 55px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(15, 23, 42, 0.08);
    z-index: 1;
}

.process-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--grad-primary);
    box-shadow: 0 0 10px var(--color-primary);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
}

.process-node {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-bg-lighter);
    border: 2px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    position: relative;
}

.process-node::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 242, 254, 0.2);
    top: -7px;
    left: -7px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.process-step.active .process-node {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.process-step.active .process-node::after {
    opacity: 1;
    animation: rotateDashed 20s linear infinite;
}

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

.process-step-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.process-step.active .process-step-title {
    color: var(--color-text-white);
}

.process-step-desc {
    color: var(--color-text-muted);
    font-size: 12px;
    padding: 0 10px;
}

/* ==========================================================================
   TEAM & TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    text-align: center;
    position: relative;
    display: none; /* Controlled by JS */
    animation: slideCard 0.5s forwards ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes slideCard {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: rgba(137, 44, 220, 0.05);
    border: 1px solid rgba(137, 44, 220, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    color: var(--color-secondary);
}

.quote-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-bg-darker);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-white);
}

.testimonial-role {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.control-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(0, 242, 254, 0.05);
}

.control-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-pane {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-pane-title {
    font-size: 28px;
    margin-bottom: 12px;
}

.contact-pane-desc {
    color: var(--color-text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.contact-item-details {
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 15px;
    color: var(--color-text-white);
}

.contact-socials {
    display: flex;
    gap: 16px;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.social-circle:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
}

.social-circle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Contact Form */
.contact-form-pane {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
}

.form-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 14px;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Floating Label Logic */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 12px;
    font-size: 11px;
    color: var(--color-primary);
    background: #ffffff;
    padding: 0 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(52, 145, 178, 0.08);
    background: #ffffff;
}

/* Form Toast Notification */
.form-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    padding: 16px 28px;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 150;
}

.form-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.form-toast svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
    stroke-width: 2;
    fill: none;
}

footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    line-height: 1.7;
}

.footer-col-title {
    font-size: 16px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-white);
}

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

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

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

.newsletter-input {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    color: var(--color-text-white);
    flex-grow: 1;
    font-size: 13px;
}

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

.newsletter-btn {
    background: var(--grad-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius-sm);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    transform: scale(1.05);
}

.newsletter-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(0, 242, 254, 0.05);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* ==========================================================================
   SCROLL TRIGGERS & ANIMATION CLASSES
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.animate-fade-in {
    transform: translateY(0);
}

.animate-slide-up {
    transform: translateY(40px);
}

.animate-scale-up {
    transform: scale(0.92);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

@media (max-width: 1024px) {
    .hero-title {
        font-size: 46px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image-card {
        margin-top: 0; /* Reset elevation on tablet/mobile stacked layout */
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .process-line {
        display: none; /* Hide standard line in mobile multi-row grid */
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    nav.mobile-active {
        right: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }
    
    .hero-sphere {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 32px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .process-step {
        display: flex;
        gap: 20px;
        text-align: left;
        align-items: flex-start;
    }
    
    .process-node {
        margin: 0;
        flex-shrink: 0;
    }
    
    .process-step-desc {
        padding: 0;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   MODERN WHITE UI MOCKUPS, OVERRIDES & SKILL BAR ANIMATIONS
   ========================================================================== */
#logoGrad stop[stop-color="#3491B2"],
#logoGrad stop:first-child {
    stop-color: #287a98;
}
#logoGrad stop[stop-color="#58b3d6"],
#logoGrad stop:last-child {
    stop-color: #50a8c9;
}

/* Overrides for SVG code Mockup in About Us to match light mode */
.about-mockup rect[fill="#080812"] {
    fill: #f8fafc;
}
.about-mockup rect[fill="#010103"] {
    fill: #ffffff;
    stroke: rgba(15, 23, 42, 0.05);
}
.about-mockup rect[fill="rgba(255,255,255,0.05)"] {
    fill: rgba(15, 23, 42, 0.03);
}
.about-mockup rect[fill="rgba(0, 242, 254, 0.15)"] {
    fill: rgba(59, 130, 246, 0.1);
}
.about-mockup rect[fill="rgba(137, 44, 220, 0.25)"] {
    fill: rgba(80, 168, 201, 0.15);
}
.about-mockup rect[fill="rgba(9, 9, 21, 0.9)"] {
    fill: rgba(255, 255, 255, 0.95);
    stroke: rgba(52, 145, 178, 0.15);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}
.about-mockup circle[fill="rgba(0, 242, 254, 0.1)"] {
    fill: rgba(52, 145, 178, 0.08);
}
.about-mockup path[stroke="#3491B2"] {
    stroke: #3491B2;
}

/* Overrides for Portfolio Visual SVGs for Light Theme */
.portfolio-visual svg rect[fill="#0a0b16"] {
    fill: #f8fafc;
}
.portfolio-visual svg rect[fill="rgba(255,255,255,0.03)"],
.portfolio-visual svg rect[fill="rgba(255,255,255,0.02)"] {
    fill: rgba(15, 23, 42, 0.02);
}
.portfolio-visual svg circle[stroke="rgba(0, 242, 254, 0.08)"] {
    stroke: rgba(52, 145, 178, 0.06);
}
.portfolio-visual svg line[stroke="rgba(0, 242, 254, 0.08)"],
.portfolio-visual svg line[stroke="rgba(0, 242, 254, 0.25)"] {
    stroke: rgba(15, 23, 42, 0.04);
}
.portfolio-visual svg line[stroke="rgba(255, 255, 255, 0.05)"],
.portfolio-visual svg line[stroke="rgba(255, 255, 255, 0.1)"] {
    stroke: rgba(15, 23, 42, 0.06);
}
.portfolio-visual svg rect[stroke="rgba(0, 242, 254, 0.2)"] {
    stroke: rgba(52, 145, 178, 0.12);
}
.portfolio-visual svg line[stroke="rgba(0, 242, 254, 0.25)"] {
    stroke: rgba(52, 145, 178, 0.15);
}
.portfolio-visual svg circle[fill="rgba(0, 242, 254, 0.1)"] {
    fill: rgba(52, 145, 178, 0.08);
}
.portfolio-visual svg rect[fill="rgba(0, 242, 254, 0.15)"] {
    fill: rgba(52, 145, 178, 0.1);
}
.portfolio-visual svg rect[fill="rgba(255, 255, 255, 0.05)"] {
    fill: rgba(15, 23, 42, 0.03);
}

/* Skills progress bar light mode contrast overrides */
.skill-bar-wrapper > div:last-child {
    background: rgba(15, 23, 42, 0.06) !important;
}
.skill-bar-wrapper span {
    color: var(--color-text-white) !important;
}

/* Brand Logo Text and Icon crispness on Light Theme */
.logo svg text[fill="#a0a0b0"],
.logo svg path[fill="#a0a0b0"] {
    fill: #1e293b;
    transition: var(--transition-fast);
}

/* Skills progress bar animations */
.skill-progress-bar {
    width: 0%;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}



