/* =========================================================================
   VIBE CODER - NEO-BRUTALIST x MODERN SAAS DESIGN SYSTEM
   ========================================================================= */
:root {
    --bg-color: #121212;
    --surface-color: #1a1a1a;
    --text-primary: #f8f8f2;
    --text-secondary: #a0a09f;
    --accent-lime: #c6ff00;
    --accent-blue: #00f0ff;
    --accent-pink: #ff007f;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 0px;
    /* Neo-brutalist = sharp edges */
    --brutal-border: 2px solid var(--text-primary);
    --shadow-lime: 6px 6px 0px var(--accent-lime);
    --shadow-blue: 6px 6px 0px var(--accent-blue);
    --shadow-dark: 6px 6px 0px #000000;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: 0.05rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 0;
}
img, picture, video, canvas {
    max-width: 100%;
    height: auto;
}
/* --- Animated Ambient Background --- */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    z-index: -1;
    pointer-events: none;
    background: 
        radial-gradient(circle at 50% 50%, rgba(198, 255, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.03) 0%, transparent 40%);
    animation: ambientGlow 25s ease-in-out infinite alternate;
}
@keyframes ambientGlow {
    0% {
        transform: rotate(0deg) scale(1) translate(0, 0);
    }
    50% {
        transform: rotate(180deg) scale(1.1) translate(-2%, 5%);
    }
    100% {
        transform: rotate(360deg) scale(1) translate(2%, -5%);
    }
}
::selection {
    background-color: var(--accent-lime);
    color: #000;
}
/* --- Scroll Animations --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* --- High-Impact Scroll Revealing Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-down {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Staggered delay classes for grouped elements */
.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; }
.reveal-up.visible, 
.reveal-down.visible,
.reveal-left.visible, 
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}
/* =========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================= */
h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
}
h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}
h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}
.blog-readmore {
    margin-top: auto;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    border: 2px solid var(--accent-pink);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    align-self: flex-start;
    background-color: transparent;
}
.blog-readmore:hover {
    background-color: var(--accent-pink);
    color: #000;
    transform: translate(-3px, -3px);
    box-shadow: 4px 4px 0px var(--text-primary);
}
.blog-readmore:active {
    transform: translate(0px, 0px);
    box-shadow: none;
}
.blog-readmore span {
    margin-left: 0.5rem;
    color: inherit;
    transition: transform 0.2s;
}
.blog-readmore:hover span {
    transform: translateX(5px);
}
/* =========================================================================
   LOADER & SPINNING ANIMATIONS
   ========================================================================= */
#vibe-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
#vibe-loader.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.loader-terminal {
    font-family: var(--font-heading);
    color: #fff;
    font-size: clamp(0.75rem, 4.5vw, 1.1rem);
    max-width: 90%;
    margin: 0 auto;
}
.loader-line {
    margin-bottom: 0.5rem;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-lime);
    width: 0;
    animation: typing 1s steps(40) forwards;
}
.loader-line:nth-child(2) {
    animation-delay: 0.5s;
}
.loader-line:nth-child(3) {
    animation-delay: 1s;
}
.loader-line:nth-child(4) {
    animation-delay: 1.5s;
    border-right: none;
}
.loader-prompt {
    color: var(--accent-lime);
    margin-right: 1rem;
}
.loader-spinner {
    width: clamp(30px, 10vw, 50px);
    height: clamp(30px, 10vw, 50px);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 1.5rem;
}
@keyframes typing {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* Decorative Tech Rings in Hero */
.tech-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: -1;
    pointer-events: none;
}
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.15);
}
.ring-1 {
    width: 100%;
    height: 100%;
    animation: spin 60s linear infinite;
}
.ring-2 {
    width: 70%;
    height: 70%;
    border-color: rgba(198, 255, 0, 0.1);
    animation: spin 40s linear reverse infinite;
}
.ring-3 {
    width: 40%;
    height: 40%;
    border-style: solid;
    border-width: 2px;
    border-color: rgba(255, 0, 127, 0.05);
    animation: spin 20s linear infinite;
}
.highlight-lime {
    color: var(--accent-lime);
    position: relative;
    display: inline-block;
}
.highlight-blue {
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
}
.highlight-pink {
    color: var(--accent-pink);
    position: relative;
    display: inline-block;
}
.electric-lime {
    color: var(--accent-lime);
}
.cyber-blue {
    color: var(--accent-blue);
}
/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    border: var(--brutal-border);
}
.btn-primary {
    background-color: var(--accent-lime);
    color: #000;
    border-color: var(--accent-lime);
    box-shadow: var(--shadow-dark);
}
.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--accent-blue);
    background-color: #d4ff33;
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    box-shadow: var(--shadow-lime);
}
.btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--accent-lime);
    background-color: rgba(198, 255, 0, 0.1);
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}
.btn .arrow {
    margin-left: 0.5rem;
    transition: transform 0.2s;
}
.btn:hover .arrow {
    transform: translateX(4px);
}
/* =========================================================================
   TERMINAL BRAND IDENTITY
   ========================================================================= */
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.cmd-prompt {
    color: var(--accent-lime);
}
.logo-text {
    color: var(--text-primary);
}
/* =========================================================================
   ANIMATIONS & REVEALS
   ========================================================================= */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Specific Heading Reveal */
.section-title {
    position: relative;
    overflow: hidden;
}
.animate-in.visible .section-title {
    animation: heading-reveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes heading-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Hero Title Ambient Vibe */
.hero-title {
    animation: hero-ambient 8s ease-in-out infinite alternate;
}
@keyframes hero-ambient {
    0% {
        text-shadow: 0 0 10px rgba(198, 255, 0, 0);
    }
    50% {
        text-shadow: 0 0 20px rgba(198, 255, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 10px rgba(198, 255, 0, 0);
    }
}
/* Staggered entry for words */
.animate-in.visible .glow-word {
    animation: word-reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}
@keyframes word-reveal {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Smoother stagger delays */
.animate-in.visible .glow-word {
    animation-delay: calc(var(--word-index) * 0.05s);
}
/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 0px #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #000;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 5px 5px 0px #000;
    background-color: #20ba5a;
}
.wa-icon {
    width: 35px;
    height: 35px;
}
.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon-link:hover {
    transform: translateY(-3px);
}
/* --- Inline Contact Social Links --- */
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.social-links a {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    transform: translateY(-3px);
}
/* Brand Hover Glows */
.social-links a:hover .fa-facebook-f {
    color: #1877F2;
    text-shadow: 0 0 15px rgba(24, 119, 242, 0.6);
}
.social-links a:hover .fa-instagram {
    color: #E1306C;
    text-shadow: 0 0 15px rgba(225, 48, 108, 0.6);
}
.social-links a:hover .fa-linkedin-in {
    color: #0077b5;
    text-shadow: 0 0 15px rgba(0, 119, 181, 0.6);
}
.social-links a:hover .fa-twitter {
    color: #1DA1F2;
    text-shadow: 0 0 15px rgba(29, 161, 242, 0.6);
}
.social-links a:hover .fa-github {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
/* =========================================================================
   NAVIGATION (Sticky & Glassmorphism/Terminal blend)
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #333;
    z-index: 1000;
    padding: 1rem 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active-nav {
    color: var(--accent-lime);
}

.nav-links a.active-nav {
    position: relative;
}

.nav-links a.active-nav::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-lime);
    box-shadow: 0 0 10px var(--accent-lime);
}
.nav-cta {
    display: inline-flex;
}
.mobile-only {
    display: none;
}
/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}
.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-lime);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-lime);
}
@media (max-width: 992px) {
    .nav-cta {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 2px solid #333;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .mobile-only {
        display: block;
    }
}
/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
/* Background grid motif */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.terminal-badge {
    display: inline-flex;
    align-items: center;
    background: #000;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    gap: 0.5rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red {
    background-color: #ff5f56;
}
.dot-yellow {
    background-color: #ffbd2e;
}
.dot-green {
    background-color: #27c93f;
}
.badge-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent-lime);
    letter-spacing: 0.1em;
}
.hero-title {
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}
.hero-actions {
    display: flex;
    gap: 1rem;
}
/* Mobile responsive for hero */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}
/* =========================================================================
   TERMINAL WINDOW COMPONENT (Visual Edge)
   ========================================================================= */
.floating {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}
.terminal-window {
    background-color: #0d0d0d;
    border: 2px solid #333;
    border-radius: 6px;
    box-shadow: var(--shadow-blue);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}
@media (max-width: 992px) {
    .terminal-window {
        transform: perspective(1000px) rotateY(0deg);
    }
}
.terminal-window:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 10px 10px 0px var(--accent-lime);
}
.terminal-header {
    background-color: #1a1a1a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #333;
}
.terminal-buttons {
    display: flex;
    gap: 0.4rem;
    margin-right: 1rem;
}
.terminal-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    flex-grow: 1;
    margin-right: 3.5rem;
}
.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
}
.code-line {
    margin-bottom: 0.5rem;
}
.prompt {
    color: var(--accent-lime);
    margin-right: 0.5rem;
}
.cmd {
    color: #fff;
}
.arg {
    color: var(--text-secondary);
}
.code-output {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    padding-left: 1.25rem;
}
.code-output.success {
    color: #27c93f;
}
.typing-effect {
    animation: blink 1s step-end infinite;
}
/* =========================================================================
   SCROLLBAR STYLES (Webkit)
   ========================================================================= */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-lime);
}
/* =========================================================================
   MASTER MOBILE OPTIMIZATION OVERRIDES
   ========================================================================= */
@media (max-width: 768px) {
    /* Reduce global section padding to save screen space */
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    .about,
    .services,
    .social-proof,
    .blog,
    .contact,
    .reviews {
        padding: 3rem 0 !important;
    }
    /* Compress Hero Layout & Terminal */
    .hero-container {
        gap: 2rem;
    }
    /* Reduce all inner grid containers to save precious edge space */
    .nav-container,
    .hero-container,
    .proof-container,
    .about-container,
    .services-container,
    .reviews-container,
    .blog-container,
    .contact-container,
    .portfolio-container {
        padding: 0 0.75rem !important; /* Save more space on ultra-thin screens */
    }
    /* Safely scale typography for ultra-thin screens */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
    }
    .section-title {
        font-size: 2.8rem !important;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    .section-header::before {
        font-size: 0.7rem !important;
        letter-spacing: 0.2em;
    }
    /* Prevent Brutal Framework off-screen overflow / clamp */
    .brutal-frame {
        padding: 0.75rem !important; /* Drastically reduce padding for 2-column mobile layout */
    }
    .brutal-frame::before {
        display: none;
        
        
        
    }
    /* Shrink heavy inner element padding safely */
    .service-card {
        padding: 2rem 1.5rem;
    }
    .stat-card {
        padding: 1.5rem 1rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    /* Ensure forms are comfortable to use on phone screens */
    .form-input, .form-textarea {
        padding: 0.75rem;
    }
    /* Compact contact spacing on mobile */
    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }
    .contact-item {
        flex: none;
    }
}
/* =========================================================================
   SOCIAL PROOF / NUMBERS
   ========================================================================= */
.social-proof {
    padding: 5rem 0;
    background-color: var(--surface-color);
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}
.proof-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.proof-heading {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat-card {
    background-color: #121212;
    border: 2px solid #333;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.stat-card:hover {
    border-color: var(--accent-lime);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lime);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.stat-number .plus {
    font-size: 2rem;
    color: var(--text-secondary);
}
.stat-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* Stay horizontal even on small phones */
        gap: 0.75rem;
    }
    .stat-number {
        font-size: 2.2rem !important;
    }
    .stat-label {
        font-size: 0.7rem !important;
        letter-spacing: 0.05em;
    }
}
/* =========================================================================
   ABOUT ME SECTION
   ========================================================================= */
.about {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
}
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.section-header {
    margin-bottom: 4rem;
    position: relative;
    display: block; /* Change from inline-block for better mobile layout */
}
.section-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}
/* --- Word Glow Styles --- */
.glow-word {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-right: 0.3em;
}
.glow-word:hover {
    color: var(--accent-lime);
    text-shadow: 0 0 12px var(--accent-lime), 0 0 25px var(--accent-lime);
    transform: scale(1.05);
    z-index: 10;
}
.about-content {
    font-size: 1.1rem;
    color: var(--text-secondary);
}
.about-content p {
    margin-bottom: 1.5rem;
}
.about-highlight {
    color: var(--text-primary);
    font-weight: 600;
}
.tech-stack {
    margin-top: 2rem;
}
.tech-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent-lime);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.tech-tag {
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-primary);
    background-color: var(--surface-color);
    transition: all 0.2s ease;
}
.tech-tag:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(0, 240, 255, 0.2);
}
.about-visual {
    position: relative;
}
.brutal-frame {
    border: var(--brutal-border);
    padding: 1rem;
    box-shadow: var(--shadow-lime);
    background-color: var(--surface-color);
    position: relative;
}
.brutal-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-pink);
    z-index: 1;
}
.brutal-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s ease;
}
.brutal-frame:hover img {
    filter: grayscale(0%) contrast(1.1);
}
.certifications .brutal-frame img {
    filter: none;
}
.certifications .brutal-frame:hover img {
    filter: none;
}
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-visual {
        order: -1;
        /* Move image above text on mobile */
        margin-bottom: 2rem;
    }
}
/* =========================================================================
   SERVICES SECTION (Grid Layout)
   ========================================================================= */
.services {
    padding: 6rem 0;
    background-color: var(--surface-color);
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}
#services .section-title {
    font-size: clamp(5rem, 16vw, 7rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
}
@media (max-width: 768px) {
    #services .section-title {
        font-size: 4rem !important; /* Slightly less than double for mobile to prevent severe overflow */
    }
}
.service-card {
    background-color: var(--bg-color);
    border: 2px solid #333;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    justify-content: space-between;
}
.service-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0px var(--accent-blue);
    border-color: var(--accent-blue);
}
.service-card:nth-child(even):hover {
    box-shadow: 10px 10px 0px var(--accent-lime);
    border-color: var(--accent-lime);
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.service-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}
.service-btn {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent-lime);
    border: 1px solid var(--accent-lime);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
}
.service-card:nth-child(even) .service-btn {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}
.service-btn:hover {
    background-color: var(--accent-lime);
    color: #000;
}
.service-card:nth-child(even) .service-btn:hover {
    background-color: var(--accent-blue);
    color: #000;
}
/* Truncation utility for mobile squares */
.service-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 769px) {
    .service-desc {
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }
}
.service-card::before {
    content: '0' counter(service-counter);
    counter-increment: service-counter;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}
.services-grid {
    counter-reset: service-counter;
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.75rem;
    }
    .service-card {
        padding: 1.25rem 1rem !important;
        aspect-ratio: 1 / 1; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .service-card::before {
        display: none; 
    }
    .service-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    .service-title {
        font-size: 1.25rem !important;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        font-weight: 800 !important;
    }
    .service-title br {
        display: none;
    }
    .service-desc {
        font-size: 0.75rem !important;
        -webkit-line-clamp: 3; /* Truncate text */
        line-clamp: 3;
        margin-bottom: 0.5rem !important;
        line-height: 1.3;
    }
    .service-btn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.7rem !important;
    }
}
/* --- Portfolio Carousel --- */
.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
}
.portfolio-carousel-viewport {
    overflow: hidden;
    width: 100%;
}
.portfolio-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.portfolio-carousel-track .portfolio-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    aspect-ratio: auto !important;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.portfolio-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}
@media (max-width: 992px) {
    .portfolio-carousel-track .portfolio-card {
        flex: 0 0 calc(50% - 1rem);
    }
}
@media (max-width: 768px) {
    .portfolio-carousel-track {
        gap: 1rem;
    }
    .portfolio-carousel-track .portfolio-card {
        flex: 0 0 calc(50% - 0.5rem);
    }
}
@media (max-width: 480px) {
    .portfolio-carousel-track .portfolio-card {
        flex: 0 0 100% !important;
    }
}

/* =========================================================================
   BLOG & CONTACT SECTION
   ========================================================================= */
/* --- Blog Section --- */
.blog {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
}
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.blog-carousel-wrapper {
    position: relative;
    width: 100%;
}
.blog-carousel-viewport {
    overflow: hidden;
    width: 100%;
}
.blog-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.blog-carousel-track .blog-card {
    flex: 0 0 calc(33.333% - 1.333rem);
}
.blog-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}
.carousel-control-btn {
    background-color: var(--surface-color);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
    z-index: 10;
}
.carousel-control-btn:hover:not(:disabled) {
    background-color: var(--accent-pink);
    color: #000;
    border-color: var(--accent-pink);
    transform: translate(-3px, -3px);
    box-shadow: 4px 4px 0px var(--text-primary);
}
.carousel-control-btn:active:not(:disabled) {
    transform: translate(0px, 0px);
    box-shadow: none;
}
.carousel-control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #333;
}
@media (max-width: 992px) {
    .blog-carousel-track .blog-card {
        flex: 0 0 calc(50% - 1rem);
    }
}
@media (max-width: 768px) {
    .blog-carousel-track {
        gap: 1rem;
    }
    .blog-carousel-track .blog-card {
        flex: 0 0 calc(50% - 0.5rem);
    }
}
@media (max-width: 480px) {
    .blog-carousel-track .blog-card {
        flex: 0 0 100%;
    }
}
.blog-card {
    background-color: var(--surface-color);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
    aspect-ratio: auto;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 8px 8px 0px var(--accent-pink);
    border-color: var(--accent-pink);
}
.blog-image-placeholder {
    height: 200px;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    border-bottom: 1px solid #333;
    position: relative;
}
.blog-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, rgba(255, 0, 127, 0.1) 50%, transparent 52%);
    background-size: 10px 10px;
}
.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-meta {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent-lime);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.blog-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-card:hover .blog-title a {
    color: var(--accent-pink);
}
.blog-readmore {
    margin-top: auto;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
}
.blog-readmore span {
    margin-left: 0.5rem;
    color: var(--accent-pink);
    transition: transform 0.2s;
}
.blog-card:hover .blog-readmore span {
    transform: translateX(5px);
}
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .blog-title {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
    }
    .blog-content {
        padding: 1.25rem !important;
    }
}
/* --- Contact Section --- */
.contact {
    padding: 6rem 0;
    background-color: var(--surface-color);
    position: relative;
    overflow: hidden;
}
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-info {
    z-index: 2;
}
.contact-heading {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.contact-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}
.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}
.contact-item {
    display: flex;
    align-items: center;
    flex: 1 1 300px; /* Allows horizontal layout with wrapping */
}
.contact-icon {
    font-size: 1.25rem;
    color: var(--accent-lime);
    margin-right: 1rem; 
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(198, 255, 0, 0.1);
    border: 1px solid var(--accent-lime);
}
.contact-text h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.contact-text p {
    color: var(--text-secondary);
}
/* Glassmorphism Form */
.contact-form-wrapper {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}
.contact-form-wrapper::before {
    content: "sudo contact_libin.sh";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--bg-color);
    padding: 0 10px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
/* --- Footer Navigation (Mirror Header without logo) --- */
.footer-nav {
    padding: 3rem 0;
    background-color: #0d0d0d;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}
.footer-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}
.footer-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}
.footer-links a:hover {
    color: var(--accent-lime);
    text-shadow: 0 0 10px var(--accent-lime);
}
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-lime);
    transition: width 0.3s ease;
}
.footer-links a:hover::after {
    width: 100%;
}
@media (max-width: 768px) {
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        font-size: 0.8rem;
    }
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.form-input,
.form-textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.btn-submit {
    width: 100%;
    margin-top: 1rem;
}
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* --- Reviews Section --- */
.reviews {
    padding: 4rem 0 !important;
}
.reviews-container {
    max-width: 1200px !important;
    margin: 0 auto;
}
.reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.reviews-grid::-webkit-scrollbar {
    display: none;
}
@media (max-width: 768px) {
    .reviews-grid {
        gap: 0.75rem;
    }
}
.review-card {
    flex: 0 0 calc(33.333% - 1rem);
    scroll-snap-align: start;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
    background-color: var(--bg-color);
    border: 2px solid #333;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .review-card {
        flex: 0 0 calc(50% - 0.375rem);
    }
}
@media (max-width: 480px) {
    .review-card {
        flex: 0 0 calc(100% - 1rem);
    }
}
.review-text {
    font-size: 0.95rem;
    line-height: 1.5;
}
.review-author {
    font-size: 0.8rem;
}
.review-stars {
    color: var(--accent-lime);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 4px;
    justify-content: center;
}
.review-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    border: 2px solid var(--accent-blue);
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}
.avatar-icon {
    width: 35px;
    height: 35px;
    color: var(--text-secondary);
}
.review-star-icon {
    width: 20px;
    height: 20px;
    fill: var(--accent-lime);
    filter: drop-shadow(0 0 5px rgba(198, 255, 0, 0.5));
}
@media (max-width: 768px) {
    .review-card {
        padding: 1rem 0.75rem !important;
    }
    .review-stars {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    .review-text {
        font-size: 0.75rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem !important;
    }
    .review-author {
        font-size: 0.65rem !important;
    }
}
.review-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 10px 10px 0px var(--accent-lime) !important;
    border-color: var(--accent-lime) !important;
}
.review-card:nth-child(even):hover {
    box-shadow: 10px 10px 0px var(--accent-blue) !important;
    border-color: var(--accent-blue) !important;
}
/* =========================================================================
   SPECIFIC PORTFOLIO STYLES
   ========================================================================= */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color, #333);
    color: var(--text-secondary);
    padding: 8px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-weight: 500;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding-bottom: 100px;
}
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .portfolio-title {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
    }
    .portfolio-content {
        padding: 1.25rem !important;
    }
}
.portfolio-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    aspect-ratio: 1 / 1;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-blue);
}
.portfolio-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.portfolio-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.portfolio-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--accent-blue);
    border: 1px solid rgba(0, 240, 255, 0.2);
    font-family: var(--font-heading);
}
.portfolio-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: #fff;
}
.portfolio-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}
.portfolio-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    margin-top: auto;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-lime);
    font-family: var(--font-heading);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FINAL UNIVERSAL MOBILE OVERHAUL */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 4rem; gap: 3rem; }
    .hero-visual { order: -1; transform: scale(0.9); }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions {
        display: flex;
        flex-direction: row !important;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        gap: 0.75rem !important;
    }
    .hero-actions .btn {
        flex: 1 !important;
        width: auto !important;
        padding: 0.8rem 0.5rem !important;
        font-size: clamp(0.7rem, 2vw, 0.95rem) !important;
    }
    .tech-rings { width: 120vw; height: 120vw; }
}
@media (max-width: 768px) {
    section { padding: 4rem 1.5rem !important; }
    .section-title { font-size: 2.2rem !important; margin-bottom: 1.5rem !important; text-align: center; }
    .section-header::before { text-align: center; width: 100%; font-size: 0.7rem; }
    .blog-grid, .portfolio-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .services-grid, .stats-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
    .service-card, .stat-card, .blog-card, .portfolio-card { aspect-ratio: auto !important; padding: 2.5rem 1.5rem !important; min-height: auto !important; border-radius: 8px !important; }
    .stat-card { padding: 2rem !important; }
    .stat-number { font-size: 3.5rem !important; }
    .terminal-window { transform: rotateY(0) rotateX(0) !important; box-shadow: 10px 10px 0px var(--accent-blue); }
    .nav-container { padding: 0 1.5rem; }
    .nav-links { width: 85%; padding: 2rem; border-left: 5px solid var(--accent-lime); background: rgba(18, 18, 18, 0.98); }
    .contact-form-wrapper { padding: 2rem 1.5rem; }
    .contact-heading { font-size: 2.2rem !important; text-align: center; }
    .contact-desc { text-align: center; }
    .contact-details { flex-direction: column; gap: 1rem !important; }
    .contact-item { margin-bottom: 0; flex: none; }
    .contact-icon { margin-right: 1rem !important; width: 2.5rem; height: 2.5rem; font-size: 1.2rem; }
    .footer-links { flex-direction: column; align-items: center; gap: 1.5rem !important; }
}
@media (max-width: 480px) {
    .section-title { font-size: clamp(1.2rem, 6.5vw, 1.45rem) !important; }
    .btn { width: 100%; margin-bottom: 0.5rem; }
    .stat-number { font-size: 2.5rem !important; }
    .services-grid { grid-template-columns: 1fr !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-actions {
        gap: 0.5rem !important;
    }
    .hero-actions .btn {
        width: auto !important;
        margin-bottom: 0 !important;
        padding: 0.7rem 0.4rem !important;
        font-size: clamp(0.65rem, 3.2vw, 0.75rem) !important;
        letter-spacing: 0.02em !important;
    }
}


/* GRID ORDER FIX FOR HEADING */
@media (max-width: 992px) {
    .hero-title { order: -2 !important; }
    .hero-visual { order: -1 !important; }
    .hero-content { order: 0 !important; }
}

@media (max-width: 768px) {
    .contact-form-wrapper::before {
        left: 10px;
        top: -10px;
        font-size: 0.7rem;
    }
}

