/* ==========================================================================
   AryoCoding Landing Page - Main Stylesheet
   Version: 1.0.0
   Author: AryoCoding
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Root Settings
   ========================================================================== */
:root {
    /* Primary Colors - Electric Blue + Cyan Theme */
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #22d3ee 100%);

    /* Secondary Colors - Deep Slate */
    --secondary-color: #1e293b;
    --secondary-dark: #0f172a;
    --secondary-light: #334155;

    /* Accent Colors - Amber/Gold */
    --accent-color: #f59e0b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --bg-card: #ffffff;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --text-light: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Monaco', 'Consolas', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary-color);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-header h2 {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-header p {
    color: var(--text-secondary);
    font-size: var(--text-lg);
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(14, 165, 233, 0.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: 1rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

.nav-cta {
    margin-left: 1rem;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-cta {
        margin: 1rem 0 0 0;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
    }
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.3);
    top: -100px;
    right: -100px;
}

.hero-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(6, 182, 212, 0.3);
    bottom: 100px;
    left: -100px;
}

.hero-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(34, 211, 238, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.hero-text h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-text p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
}

.code-window {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.window-header {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--gray-800);
}

.window-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-header .dot.red {
    background: #ff5f56;
}

.window-header .dot.yellow {
    background: #ffbd2e;
}

.window-header .dot.green {
    background: #27c93f;
}

.window-content {
    padding: 1.5rem;
}

.window-content pre {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.window-content code {
    color: var(--gray-300);
}

.code-keyword {
    color: #c792ea;
}

.code-variable {
    color: #82aaff;
}

.code-property {
    color: #89ddff;
}

.code-string {
    color: #c3e88d;
}

.code-function {
    color: #82aaff;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.float-icon.icon-1 {
    top: -20px;
    left: 20%;
    color: #e34f26;
    animation-delay: 0s;
}

.float-icon.icon-2 {
    top: 30%;
    right: -25px;
    color: #61dafb;
    animation-delay: 0.5s;
}

.float-icon.icon-3 {
    bottom: 40%;
    right: 10%;
    color: #02569b;
    animation-delay: 1s;
}

.float-icon.icon-4 {
    bottom: 10%;
    left: -25px;
    color: #777bb3;
    animation-delay: 1.5s;
}

.float-icon.icon-5 {
    top: 20%;
    left: -20px;
    color: #ff2d20;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Hero Responsive */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: var(--text-4xl);
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-illustration {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: var(--text-3xl);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat {
        flex: 1;
        min-width: 80px;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ==========================================================================
   7. Services Section
   ========================================================================== */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--primary-gradient);
    color: var(--white);
}

.service-card.featured::before {
    display: none;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: var(--text-sm);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.service-features {
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.service-features li i {
    color: var(--success-color);
    font-size: 0.75rem;
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-features li i {
    color: var(--white);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--text-sm);
}

.service-link:hover {
    gap: 0.75rem;
}

.service-card.featured .service-link {
    color: var(--white);
}

/* Services Responsive */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   8. Portfolio Section
   ========================================================================== */
.portfolio {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.875rem 1.75rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    cursor: pointer;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.portfolio-item:hover::before {
    opacity: 0.05;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 3.5rem;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.95) 0%, rgba(6, 182, 212, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-actions {
    display: flex;
    gap: 1.25rem;
}

.portfolio-btn {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.125rem;
    transform: translateY(30px) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover .portfolio-btn {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.portfolio-item:hover .portfolio-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-btn:nth-child(2) {
    transition-delay: 0.15s;
}

.portfolio-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-info {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.portfolio-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--white);
    background: var(--primary-gradient);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.portfolio-info h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
    line-height: 1.3;
}

.portfolio-item:hover .portfolio-info h3 {
    color: var(--primary-color);
}

.portfolio-info p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.portfolio-tech span {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: var(--text-secondary);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.portfolio-tech span:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.portfolio-cta .btn {
    padding: 1.125rem 2.5rem;
    font-size: var(--text-lg);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.portfolio-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
}

/* Portfolio Responsive */
@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-filter {
        gap: 0.625rem;
    }

    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: var(--text-xs);
    }

    .portfolio-info {
        padding: 1.25rem;
    }

    .portfolio-info h3 {
        font-size: var(--text-lg);
    }
}

/* ==========================================================================
   9. About Section
   ========================================================================== */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.about-content h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.about-feature {
    display: flex;
    gap: 1rem;
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.about-feature .feature-content h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.about-feature .feature-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    opacity: 0.1;
}

.about-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: var(--text-sm);
}

.about-card i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about-card.card-1 {
    top: 10%;
    left: 0;
    animation: float 3s ease-in-out infinite;
}

.about-card.card-2 {
    top: 40%;
    right: 0;
    animation: float 3s ease-in-out infinite 0.5s;
}

.about-card.card-3 {
    bottom: 20%;
    left: 10%;
    animation: float 3s ease-in-out infinite 1s;
}

.tech-stack {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-top: 8rem;
}

.tech-stack h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.tech-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* About Responsive */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

    .about-content {
        text-align: center;
    }

    .about-features {
        max-width: 400px;
        margin: 0 auto var(--spacing-xl);
    }

    .about-feature {
        text-align: left;
    }

    .about-content .btn {
        display: inline-flex;
    }
}

/* ==========================================================================
   9.5 Why Choose Us Section
   ========================================================================== */
.why-us {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.why-card {
    position: relative;
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--gray-100);
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.2);
}

.why-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    transition: all 0.4s ease;
}

.why-card:hover .why-number {
    color: rgba(14, 165, 233, 0.15);
    transform: scale(1.1);
}

.why-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--primary-color);
    font-size: 1.75rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.why-card:hover .why-icon::before {
    opacity: 1;
}

.why-card:hover .why-icon i {
    color: var(--white);
}

.why-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.why-card:hover h3 {
    color: var(--primary-color);
}

.why-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Why Us Responsive */
@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .why-us {
        padding: 80px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-card {
        padding: 2rem 1.5rem;
    }

    .why-number {
        font-size: 2.5rem;
        top: 1.25rem;
        right: 1.25rem;
    }

    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   10. Testimonials Section
   ========================================================================== */
.testimonials {
    padding: 100px 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 400px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--accent-color);
}

.testimonial-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: var(--text-base);
    font-weight: 700;
}

.author-info span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: 50%;
    transition: var(--transition-base);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   11. Contact Section
   ========================================================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    font-size: 1.25rem;
}

.info-content h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.info-content a,
.info-content span {
    font-size: var(--text-sm);
    color: var(--primary-color);
    font-weight: 500;
}

.info-content a:hover {
    text-decoration: underline;
}

.contact-social {
    margin-top: 1rem;
}

.contact-social h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-social .social-links {
    display: flex;
    gap: 1rem;
}

.contact-social .social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.contact-social .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-group .required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    margin-top: 0.5rem;
}

.form-submit .btn {
    width: 100%;
}

/* Contact Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background: var(--primary-gradient);
}

.footer-logo .logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
}

.footer-about p {
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.footer .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--text-sm);
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.footer-bottom i.fa-heart {
    color: var(--error-color);
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   13. WhatsApp Float Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   14. Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1rem;
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   15. Animations (AOS Alternative)
   ========================================================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ==========================================================================
   16. Loading State
   ========================================================================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   17. Form Messages
   ========================================================================== */
.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* ==========================================================================
   18. Scroll Progress
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 9999;
    transition: width 0.1s ease;
}