/* ============================================
   PORTFOLIO PAGE - ThinkPulse Design System
   Ultra-Premium Portfolio & Services Styles
   ============================================ */

/* ========================================
   CSS VARIABLES - ThinkPulse Color Palette
   ======================================== */
:root {
    /* Primary Colors */
    --deep-blue: #0A1F44;
    --electric-blue: #2563EB;
    --cyan-glow: #06B6D4;
    --navy: #1E3A8A;

    /* Accent Colors */
    --warm-orange: #F59E0B;
    --success-green: #10B981;
    --neutral-gray: #64748B;
    --light-gray: #F8FAFC;
    --white: #FFFFFF;

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, #0A1F44 0%, #1E3A8A 50%, #2563EB 100%);
    --card-gradient: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
    --accent-gradient: linear-gradient(90deg, #06B6D4 0%, #2563EB 100%);
    --text-gradient: linear-gradient(90deg, #06B6D4 0%, #2563EB 50%, #06B6D4 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    /* Shadows */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 40px rgba(6, 182, 212, 0.15);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.25);

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.3s ease;
}


/* ========================================
   PAGE LOAD ANIMATIONS - Smooth entry effect
   All content visible immediately, subtle fade-in
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Hero content animates on page load */
.hero-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-bento-grid {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* All sections are visible, with a subtle initial animation */
.stats-section,
.services-section,
.portfolio-section,
.skills-section,
.process-section,
.cta-section {
    opacity: 1;
    visibility: visible;
}

/* Section headers have a quick fade-in */
.section-header {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Portfolio cards are always visible */
.portfolio-card {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   HERO SECTION
   ======================================== */
.portfolio-hero {
    position: relative;
    min-height: 100vh;
    background: var(--hero-gradient);
    overflow: hidden;
    padding-top: 100px;
}

.portfolio-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Mesh Gradient Background */
.hero-gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.3);
    filter: blur(1px);
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
    background: rgba(245, 158, 11, 0.4);
}

.particle-3 {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 25%;
    animation-delay: 2s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    top: 30%;
    right: 20%;
    animation-delay: 3s;
    background: rgba(37, 99, 235, 0.4);
}

.particle-5 {
    width: 8px;
    height: 8px;
    top: 70%;
    right: 35%;
    animation-delay: 4s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-30px) translateX(10px);
        opacity: 1;
    }
}

/* Geometric Shapes */
.hero-geometric-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeFloat 12s ease-in-out infinite;
}

.geo-shape.triangle {
    top: 15%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #06B6D4;
    animation-delay: 0s;
}

.geo-shape.circle {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    border: 3px solid #F59E0B;
    border-radius: 50%;
    animation-delay: 2s;
}

.geo-shape.hexagon {
    top: 75%;
    left: 70%;
    width: 60px;
    height: 35px;
    background: #2563EB;
    position: relative;
    animation-delay: 4s;
}

.geo-shape.hexagon::before,
.geo-shape.hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.geo-shape.hexagon::before {
    bottom: 100%;
    border-bottom: 18px solid #2563EB;
}

.geo-shape.hexagon::after {
    top: 100%;
    border-top: 18px solid #2563EB;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(15deg);
    }
}

/* Hero Content */
.min-vh-80 {
    min-height: 80vh;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Availability Badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fed101;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Greeting */
.hero-greeting {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-weight: 500;
}

/* Hero Title */
.hero-title {
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text-animated {
    background: var(--text-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 550px;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.4);
    color: var(--white);
}

.btn-primary-gradient.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    color: var(--white);
}

.btn-outline-light.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Hero Social Links */
.hero-socials {
    display: flex;
    gap: 16px;
}

.hero-socials a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.hero-socials a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-4px);
    color: var(--white);
}

/* Bento Grid - Fixed Layout */
.hero-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*grid-template-rows: 2fr 1fr;*/
    grid-template-areas:
        "main main main"
        "stat1 stat2 tech";
    gap: 16px;
    height: 480px;
    position: relative;
    z-index: 2;
}

.bento-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.bento-item:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: var(--shadow-glow);
}

.bento-large {
    grid-area: main;
    position: relative;
}

/* Position bento items using nth-child for correct grid placement */
.hero-bento-grid>.bento-item:nth-child(1) {
    grid-area: main;
}

.hero-bento-grid>.bento-item:nth-child(2) {
    grid-area: stat1;
}

.hero-bento-grid>.bento-item:nth-child(3) {
    grid-area: stat2;
}

.hero-bento-grid>.bento-item:nth-child(4) {
    grid-area: tech;
}

.bento-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-large:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(0deg, rgba(10, 31, 68, 0.9) 0%, transparent 100%);
}

.bento-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.bento-stat .stat-number {
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.bento-stat .stat-plus {
    font-size: 2.2rem;
    color: var(--cyan-glow);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
    vertical-align: super;
}

.bento-stat .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bento-tech-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 31, 68, 0.4) !important;
    /* Darker bg for better contrast */
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.tech-icons-rotating {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.tech-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #ffffff !important;
    /* Force white icon */
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: iconBounce 3s ease-in-out infinite;
}

.tech-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.tech-icon:nth-child(3) {
    animation-delay: 1s;
}

.tech-icon:nth-child(4) {
    animation-delay: 1.5s;
}

.tech-icon:nth-child(5) {
    animation-delay: 2s;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.tech-label {
    font-size: 0.9rem;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroller {
    width: 4px;
    height: 10px;
    background: var(--cyan-glow);
    border-radius: 2px;
    animation: scrollerMove 1.5s ease-in-out infinite;
}

@keyframes scrollerMove {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

.scroll-link span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 4;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--card-gradient);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    font-size: 1.8rem;
    color: var(--white);
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.stat-value {
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 600;
    color: var(--electric-blue);
}

.stat-title {
    font-size: 1rem;
    color: var(--neutral-gray);
    font-weight: 500;
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}


/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 100px 0;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan-glow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title-lg {
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card-premium:hover {
    transform: translateY(-12px);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.service-card-premium:hover::before {
    opacity: 1;
}

.service-card-premium>* {
    position: relative;
    z-index: 1;
}

.service-icon-wrap {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 2rem;
    transition: var(--transition-fast);
}

.service-icon-wrap.gradient-bg {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cyan-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card-premium:hover .service-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.service-card-premium:hover .service-desc {
    color: rgba(255, 255, 255, 0.9);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tags span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.service-card-premium:hover .service-tags span {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cyan-glow);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-link:hover,
.service-card-premium:hover .service-link {
    color: var(--white);
    gap: 12px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}


/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.portfolio-section .section-label {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--electric-blue);
}

.portfolio-section .section-title-lg {
    color: var(--deep-blue);
}

.portfolio-section .section-subtitle {
    color: var(--neutral-gray);
}

/* Filter Tabs */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neutral-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.filter-btn:hover {
    border-color: var(--electric-blue);
    color: var(--electric-blue);
    transform: translateY(-3px);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.filter-btn i {
    font-size: 1rem;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Portfolio Card */
.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image-wrapper img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.9), rgba(37, 99, 235, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.view-project-btn,
.live-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--deep-blue);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.view-project-btn:hover,
.live-demo-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
    color: var(--deep-blue);
}

.portfolio-content {
    padding: 28px 24px;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.portfolio-meta .category {
    font-size: 0.85rem;
    color: var(--electric-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-meta .year {
    font-size: 0.85rem;
    color: var(--neutral-gray);
}

.portfolio-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 10px;
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
}

.portfolio-description {
    font-size: 0.95rem;
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(37, 99, 235, 0.1));
    color: var(--electric-blue);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.portfolio-stats {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(6, 182, 212, 0.15);
}

.portfolio-stats .stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--neutral-gray);
}

.portfolio-stats .stat i {
    color: var(--electric-blue);
}

/* Load More */
.portfolio-load-more {
    text-align: center;
    margin-top: 50px;
}


/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-section {
    padding: 100px 0;
    background: var(--hero-gradient);
}

.skills-section .section-label {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--cyan-glow);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition-smooth);
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-glow);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    color: var(--white);
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-bar {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.skill-level {
    font-size: 0.8rem;
    color: var(--cyan-glow);
    font-weight: 500;
}

.skill-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
    padding: 100px 0;
    background: var(--white);
}

.process-section .section-label {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--electric-blue);
}

.process-section .section-title-lg {
    color: var(--deep-blue);
}

.process-section .section-subtitle {
    color: var(--neutral-gray);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 60px;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(37, 99, 235, 0.08);
    z-index: 0;
}

.step-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.3);
    transition: var(--transition-smooth);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(6, 182, 212, 0.4);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 12px;
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-points li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--electric-blue);
    margin: 4px 0;
}

.step-points li::before {
    content: '✓';
    font-size: 0.7rem;
}

.step-connector {
    position: absolute;
    top: 40px;
    right: -20px;
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 0;
}

.process-step:last-child .step-connector {
    display: none;
}


/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--hero-gradient);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.15);
    top: -200px;
    left: -100px;
}

.cta-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.1);
    bottom: -150px;
    right: -100px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--success-green);
}

.cta-title {
    font-family: 'Space Grotesk', 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.cta-contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    font-size: 1.1rem;
    color: var(--cyan-glow);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--white);
}


/* ========================================
   TESTIMONIALS SECTION (NEW)
   ======================================== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0B1120 0%, #172033 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Extremely subtle border */
    padding: 40px 30px;
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--cyan-glow);
    opacity: 0.4;
    margin-bottom: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-style: italic;
    flex-grow: 1;
}

.client-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: auto;
}

.client-info {
    display: flex;
    gap: 14px;
    align-items: center;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Gradient bg provided by utility class, but fallback here */
    background: linear-gradient(135deg, #06B6D4, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.client-details h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.client-details span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    display: block;
}

.client-rating {
    display: flex;
    gap: 2px;
}

.client-rating i {
    color: #FBBF24;
    /* Amber-400 */
    font-size: 0.75rem;
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Screens */
@media (max-width: 1199px) {
    .hero-bento-grid {
        height: 450px;
    }

    .bento-stat .stat-number {
        font-size: 2.5rem;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .portfolio-hero {
        padding-top: 120px;
    }

    .min-vh-80 {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-bento-grid {
        margin-top: 50px;
        height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-categories {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .geo-shape {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 2fr 1fr 1fr;
        grid-template-areas:
            "main main"
            "stat1 stat2"
            "tech tech";
        height: auto;
        min-height: 400px;
        gap: 12px;
    }

    .bento-stat .stat-number {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary-gradient,
    .btn-outline-light {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .filter-btn i {
        display: none;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .step-number {
        font-size: 3rem;
    }

    .section-title-lg {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-primary-gradient,
    .cta-buttons .btn-outline-light {
        width: 100%;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 16px;
    }

    .particle {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-bento-grid {
        height: 300px;
    }

    .bento-stat .stat-number {
        font-size: 1.75rem;
    }

    .tech-icons-rotating {
        gap: 8px;
    }

    .tech-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .portfolio-content {
        padding: 20px 16px;
    }

    .portfolio-overlay {
        flex-direction: column;
    }
}


/* ========================================
   ANIMATIONS & ACCESSIBILITY
   ======================================== */

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.btn-primary-gradient:focus,
.btn-outline-light:focus,
.filter-btn:focus,
.view-project-btn:focus,
.live-demo-btn:focus {
    outline: 2px solid var(--cyan-glow);
    outline-offset: 2px;
}

a:focus {
    outline: 2px solid var(--electric-blue);
    outline-offset: 2px;
}