﻿/* ==========================================================================
   24BIT UNIFIED CSS - Complete premium design system
   ========================================================================== */

/* Larke Sans Font - Using your uploaded TTF files */
@font-face {
    font-family: 'Larke Sans';
    src: url('../fonts/lark-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larke Sans';
    src: url('../fonts/lark-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Blue Color Palette */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --accent: #3B82F6;
    --accent-dark: #1E40AF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-light: #FFFFFF;
    --background: #FDFDFD;
    --background-secondary: #F8F9FA;
    --background-card: rgba(255, 255, 255, 0.9);
    --border: #E8E8E8;
    --border-light: rgba(255, 255, 255, 0.2);
    --glass: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 16px 64px rgba(0, 0, 0, 0.08);
    --shadow-hard: 0 32px 128px rgba(0, 0, 0, 0.12);
    --blur: blur(16px);
    --gradient-primary: var(--primary);
    --gradient-accent: var(--accent);
}
/* apply these to .outline-text */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   NAVIGATION - Glass morphism navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem 1.8rem;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 750px;
    box-shadow: var(--shadow-soft);
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.35);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.brand-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Larke Sans', 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.5px;
    display: block;
    position: relative;
    z-index: 10;
}

.brand-highlight {
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Mobile menu toggle - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Ensure mobile menu is hidden on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .nav-container {
        flex-wrap: nowrap !important;
    }

    .nav-menu {
        display: flex !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 2rem !important;
        padding: 0 !important;
        z-index: auto !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.nav-cta::after {
    display: none;
}

/* Back Button */
.back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   COMMON SECTIONS
   ========================================================================== */

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Raleway', sans-serif;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

/* ==========================================================================
   TEXT EFFECTS
   ========================================================================== */

.gradient-text {
    color: var(--primary);
}

.outline-text {
    -webkit-text-stroke: 2px var(--primary);
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ==========================================================================
   HERO SECTION - Premium hero design
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B6B' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E") repeat,
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234ECDC4' fill-opacity='0.015'%3E%3Cpath d='M40 0l20 20-20 20-20-20z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    background-size: 60px 60px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: pattern-drift 30s linear infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(37, 99, 235, 0.008) 60deg, transparent 120deg, rgba(59, 130, 246, 0.006) 180deg, transparent 240deg, rgba(96, 165, 250, 0.004) 300deg, transparent 360deg);
    animation: cosmic-rotation 60s linear infinite;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    text-align: center;
    z-index: 3;
    position: relative;
    perspective: 1000px;
}

/* Awwwards-style floating orbs around content */
.hero-content::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 160px;
    height: 160px;
    background:
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.08), transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(96, 165, 250, 0.06), transparent 70%),
        conic-gradient(from 45deg, rgba(37, 99, 235, 0.04), rgba(59, 130, 246, 0.04), rgba(96, 165, 250, 0.04), rgba(37, 99, 235, 0.04));
    border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
    animation: awwwards-morph 20s ease-in-out infinite;
    z-index: -1;
    filter: blur(2px);
    opacity: 0.7;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 300px;
    height: 100px;
    background:
        linear-gradient(90deg,
            rgba(37, 99, 235, 0.02) 0%,
            rgba(59, 130, 246, 0.04) 20%,
            rgba(96, 165, 250, 0.03) 40%,
            rgba(37, 99, 235, 0.02) 60%,
            rgba(59, 130, 246, 0.03) 80%,
            transparent 100%),
        radial-gradient(ellipse at center, rgba(96, 165, 250, 0.02), transparent 80%);
    border-radius: 50px;
    animation: liquid-flow 18s ease-in-out infinite;
    z-index: -1;
    filter: blur(1px);
    opacity: 0.8;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInUp 1s ease 0.1s forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title,
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    opacity: 0;
    animation: heroTitleReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    transition: all 0.5s ease;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow: hidden;
}

.hero-title span,
.hero h1 span {
    display: inline-block;
    animation: letterSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(var(--i) * 0.1s + 0.5s);
    transform: translateY(100px) rotateX(90deg);
    opacity: 0;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes letterSlideIn {
    0% {
        transform: translateY(100px) rotateX(90deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) rotateX(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) rotateX(0deg);
        opacity: 1;
    }
}

/* Magnetic effect for buttons */
.btn-primary {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translateZ(-1px) scale(1.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-8px) translateZ(10px) rotateX(5deg);
    box-shadow:
        0 20px 40px rgba(96, 165, 250, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    opacity: 0.3;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Enhanced floating elements */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 8s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 10s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: subtitleSlideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
    font-family: 'Raleway', sans-serif;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s ease-in-out 1.2s infinite;
}

@keyframes subtitleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-actions,
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: buttonsReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

.hero-actions .btn,
.hero-buttons .btn {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    animation: buttonPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: calc(var(--btn-index, 0) * 0.1s + 1.4s);
    position: relative;
    overflow: hidden;
}

.hero-actions .btn:nth-child(1) { --btn-index: 0; }
.hero-actions .btn:nth-child(2) { --btn-index: 1; }
.hero-buttons .btn:nth-child(1) { --btn-index: 0; }
.hero-buttons .btn:nth-child(2) { --btn-index: 1; }

@keyframes buttonsReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonPop {
    0% {
        transform: translateY(20px) scale(0.9);
        opacity: 0;
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0;
    animation: statsReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.6s forwards;
}

.hero-stats .stat-item {
    transform: translateY(30px) rotateY(15deg);
    opacity: 0;
    animation: statItemReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(var(--stat-index, 0) * 0.15s + 1.8s);
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-stats .stat-item:nth-child(1) { --stat-index: 0; }
.hero-stats .stat-item:nth-child(2) { --stat-index: 1; }
.hero-stats .stat-item:nth-child(3) { --stat-index: 2; }

.hero-stats .stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes statsReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statItemReveal {
    0% {
        transform: translateY(30px) rotateY(15deg);
        opacity: 0;
    }
    100% {
        transform: translateY(0) rotateY(0deg);
        opacity: 1;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
}

/* Hero Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04));
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    filter: blur(0.5px);
}

.floating-shape:nth-child(2) {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
    box-shadow:
        0 0 30px rgba(37, 99, 235, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation-delay: -2s;
    animation-duration: 8s;
}

.floating-shape:nth-child(3) {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12), rgba(96, 165, 250, 0.04));
    box-shadow:
        0 0 30px rgba(96, 165, 250, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation-delay: -4s;
    animation-duration: 10s;
}

/* Specific positioning for floating shapes */
.shape-1 {
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
}

.shape-2 {
    bottom: 25%;
    left: 10%;
    width: 60px;
    height: 60px;
}

.shape-3 {
    top: 60%;
    right: 30%;
    width: 40px;
    height: 40px;
}

.shape-4 {
    top: 10%;
    left: 70%;
    width: 50px;
    height: 50px;
}

.shape-5 {
    bottom: 40%;
    right: 60%;
    width: 35px;
    height: 35px;
}

/* Awwwards-style floating orbs around content */
.hero-content::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 160px;
    height: 160px;
    background:
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.08), transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(96, 165, 250, 0.06), transparent 70%),
        conic-gradient(from 45deg, rgba(37, 99, 235, 0.04), rgba(59, 130, 246, 0.04), rgba(96, 165, 250, 0.04), rgba(37, 99, 235, 0.04));
    border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
    animation: awwwards-morph 20s ease-in-out infinite;
    z-index: -1;
    filter: blur(2px);
    opacity: 0.7;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 300px;
    height: 100px;
    background:
        linear-gradient(90deg,
            rgba(37, 99, 235, 0.02) 0%,
            rgba(59, 130, 246, 0.04) 20%,
            rgba(96, 165, 250, 0.03) 40%,
            rgba(37, 99, 235, 0.02) 60%,
            rgba(59, 130, 246, 0.03) 80%,
            transparent 100%),
        radial-gradient(ellipse at center, rgba(96, 165, 250, 0.02), transparent 80%);
    border-radius: 50px;
    animation: liquid-flow 18s ease-in-out infinite;
    z-index: -1;
    filter: blur(1px);
    opacity: 0.8;
}

/* Awwwards-style Interactive Elements */
.hero:hover::before {
    animation-duration: 6s;
    opacity: 1;
}

.hero:hover::after {
    animation-duration: 45s;
    opacity: 0.3;
}

.hero-content:hover::before {
    animation-duration: 15s;
    filter: saturate(1.2);
}

.hero-content:hover::after {
    animation-duration: 12s;
    opacity: 1;
}

/* Awwwards-style Tilt on Scroll */
.hero {
    transform-style: preserve-3d;
}

.hero-content {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Premium Badge Hover Effects */
.hero-badge:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

/* Enhanced Awwwards-style Particle System */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.hero-particles::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    animation:
        particle-drift 25s linear infinite,
        particle-pulse 3s ease-in-out infinite;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.08);
}

.hero-particles::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 15%;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.15));
    border-radius: 50%;
    animation:
        particle-drift 30s linear infinite reverse,
        particle-pulse 4s ease-in-out infinite 1s;
    box-shadow:
        0 0 15px rgba(37, 99, 235, 0.4),
        0 0 30px rgba(37, 99, 235, 0.1);
}

/* Visible Hero Elements Styling */
.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: noise-drift 20s linear infinite;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-shift 30s linear infinite;
    z-index: 1;
}

.light-beam {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(96, 165, 250, 0.4), transparent);
    border-radius: 1px;
    animation: beam-sweep 12s ease-in-out infinite;
}

.light-beam:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.light-beam:nth-child(2) {
    top: 30%;
    right: 25%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.4), transparent);
    animation-delay: -4s;
}

.light-beam:nth-child(3) {
    bottom: 20%;
    left: 60%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.4), transparent);
    animation-delay: -8s;
}

.particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.9), rgba(59, 130, 246, 0.3));
    border-radius: 50%;
    animation: particle-float 15s linear infinite;
    box-shadow:
        0 0 25px rgba(59, 130, 246, 0.5),
        0 0 50px rgba(59, 130, 246, 0.2);
    filter: blur(0.5px);
}

.particle:nth-child(odd) {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.9), rgba(37, 99, 235, 0.3));
    box-shadow:
        0 0 25px rgba(37, 99, 235, 0.5),
        0 0 50px rgba(37, 99, 235, 0.2);
    animation-duration: 18s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; right: 15%; animation-delay: -2s; }
.particle:nth-child(3) { bottom: 30%; left: 20%; animation-delay: -4s; }
.particle:nth-child(4) { top: 60%; right: 30%; animation-delay: -6s; }
.particle:nth-child(5) { bottom: 20%; right: 10%; animation-delay: -8s; }
.particle:nth-child(6) { top: 40%; left: 70%; animation-delay: -10s; }
.particle:nth-child(7) { bottom: 50%; left: 80%; animation-delay: -12s; }
.particle:nth-child(8) { top: 80%; right: 60%; animation-delay: -14s; }
.particle:nth-child(9) { bottom: 70%; left: 40%; animation-delay: -16s; }
.particle:nth-child(10) { top: 30%; left: 90%; animation-delay: -18s; }

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.3), rgba(37, 99, 235, 0.3));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3));
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.3), rgba(59, 130, 246, 0.3));
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.2), rgba(37, 99, 235, 0.2));
    top: 70%;
    left: 20%;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.2));
    top: 15%;
    right: 25%;
    animation-delay: 3s;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }

/* ==========================================================================
   BUTTONS - Premium button system
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hard);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.features-text h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.features-text p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-visual {
    text-align: center;
}

.features-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
    padding: 8rem 0;
    background: var(--background-secondary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(96, 165, 250, 0.2);
}

.service-header {
    position: relative;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.service-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    font-family: 'Raleway', sans-serif;
}

.service-features {
    text-align: left;
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary);
    font-size: 1rem;
}

.service-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    z-index: 2;
    position: relative;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.premium-card {
    border: 2px solid var(--primary);
    position: relative;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.1;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
    background: var(--background-card);
    backdrop-filter: var(--blur);
    border-radius: 24px;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
}

.services-cta h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.services-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-section {
    padding: 6rem 0;
    background: var(--background);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hard);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolio-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    opacity: 1;
    transform: scale(1);
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding: 2rem 0;
    position: static;
}

/* Portfolio Showcase */
.portfolio-showcase {
    margin: 4rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(37, 99, 235, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.15);
}

.portfolio-card.current-project {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-color: rgba(37, 99, 235, 0.2);
    position: relative;
}

.portfolio-card.current-project::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.5rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(10px);
}

.project-badge.completed {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.15);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

.portfolio-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.portfolio-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.project-stack span {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-stack span:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-timeline {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-timeline::before {
    content: 'ðŸ“…';
    font-size: 0.9rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-card {
        padding: 2rem;
    }

    .portfolio-card h3 {
        font-size: 1.25rem;
    }

    .project-stack {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .portfolio-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .project-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .project-stack span {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Portfolio Page Specific */
.portfolio-hero {
    padding: 5rem 0 4rem;
    background: var(--background);
    text-align: center;
}

.portfolio-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.portfolio-hero p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Portfolio Cards Grid */
/* ==========================================================================
   PORTFOLIO SECTION - LIGHT THEME DESIGN
   ========================================================================== */

.portfolio-section {
    padding: 6rem 0;
    background: var(--background);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--background-card);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-medium);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card.featured {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.02);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-badge.development {
    background: rgba(251, 191, 36, 0.1);
    color: #D97706;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 1rem;
}

.project-year {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: 600;
}

.project-type {
    background: rgba(102, 102, 102, 0.08);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Back Button */
.back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateX(-5px);
}

/* ==========================================================================
   PORTFOLIO SECTION - ALTERNATING TIMELINE
   ========================================================================== */

.portfolio-section {
    padding: 6rem 0;
    background: var(--background);
}

.timeline {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 4rem;
    padding: 1em 0;
    list-style-type: none;
}

.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(59, 130, 246, 0.3) 100%);
    border-radius: 5px;
    z-index: 5;
}

.timeline li {
    padding: 1em 0;
}

.timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.direction-l {
    position: relative;
    width: 45%;
    max-width: 380px;
    float: left;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
}

.direction-r {
    position: relative;
    width: 45%;
    max-width: 380px;
    float: right;
    padding-left: 20px;
    box-sizing: border-box;
}

.flag-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
}

.flag {
    position: relative;
    display: inline;
    background: var(--primary);
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.direction-l .flag {
    box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
    box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
    position: absolute;
    top: 50%;
    right: -40px;
    content: ' ';
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -10px;
    background: white;
    border-radius: 10px;
    border: 4px solid var(--primary);
    z-index: 10;
}

.direction-r .flag:before {
    left: -40px;
}

.direction-l .flag:after {
    position: absolute;
    top: 50%;
    right: -8px;
    content: ' ';
    display: block;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 13px solid var(--primary);
    margin-top: -13px;
}

.direction-r .flag:after {
    position: absolute;
    top: 50%;
    left: -8px;
    content: ' ';
    display: block;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 13px solid var(--primary);
    margin-top: -13px;
}

.time-wrapper {
    display: inline;
    line-height: 1em;
    font-size: 0.66666em;
    color: var(--primary);
    vertical-align: middle;
}

.direction-l .time-wrapper {
    float: left;
}

.direction-r .time-wrapper {
    float: right;
}

.time {
    display: inline-block;
    padding: 4px 6px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
}

.desc {
    margin: 1em 0.75em 0 0;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5em;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.direction-r .desc {
    margin: 1em 0 0 0.75em;
}

.tech-stack {
    margin: 0.75em 0.75em 0 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.direction-r .tech-stack {
    margin: 0.75em 0 0 0.75em;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0.5em 0.75em 0 0;
}

.direction-r .status-badge {
    margin: 0.5em 0 0 0.75em;
}

.status-badge.building {
    background: rgba(251, 191, 36, 0.15);
    color: #d97706;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.15);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-metrics {
    margin: 0.75em 0.75em 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.direction-r .project-metrics {
    margin: 0.75em 0 0 0.75em;
}

.metric {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.metric i {
    font-size: 0.875rem;
    opacity: 0.8;
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Timeline responsive */
@media screen and (max-width: 660px) {
    .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }

    .timeline li {
        padding: 2em 0;
    }

    .direction-l,
    .direction-r {
        float: none;
        width: 100%;
        text-align: center;
    }

    .flag-wrapper {
        text-align: center;
    }

    .flag {
        background: var(--primary);
        z-index: 15;
    }

    .direction-l .flag:before,
    .direction-r .flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: ' ';
        display: block;
        width: 12px;
        height: 12px;
        margin-left: -9px;
        background: white;
        border-radius: 10px;
        border: 4px solid var(--primary);
        z-index: 10;
    }

    .direction-l .flag:after,
    .direction-r .flag:after {
        position: absolute;
        top: -8px;
        left: 50%;
        content: ' ';
        display: block;
        width: 0;
        height: 0;
        border-left: 13px solid transparent;
        border-right: 13px solid transparent;
        border-bottom: 13px solid var(--primary);
        margin-left: -13px;
    }

    .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }

    .direction-l .time-wrapper {
        float: none;
    }

    .direction-r .time-wrapper {
        float: none;
    }

    .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: white;
        box-shadow: var(--shadow-soft);
        border-radius: 10px;
        border: 1px solid var(--border);
        z-index: 15;
    }

    .direction-l .desc,
    .direction-r .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;
        background: white;
        box-shadow: var(--shadow-soft);
        border-radius: 10px;
        border: 1px solid var(--border);
        z-index: 15;
    }

    .tech-stack {
        margin: 0.75em 1em 0 1em;
    }

    .direction-l .tech-stack,
    .direction-r .tech-stack {
        margin: 0.75em 1em 0 1em;
    }

    .status-badge {
        margin: 0.5em 1em 0 1em;
    }

    .direction-l .status-badge,
    .direction-r .status-badge {
        margin: 0.5em 1em 0 1em;
    }

    .timeline:before {
        left: 50%;
        margin-left: -3px;
    }
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: 1px solid var(--border);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: auto;
    color: var(--text-primary);
    font-size: 1rem;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

/* Reviews Responsive */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 1.5rem;
        min-height: 250px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    padding: 6rem 0;
    background: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CTA SECTION - CONVERSION FOCUSED
   ========================================================================== */

.cta {
    padding: 10rem 0;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="c" cx="50%" cy="50%"><stop offset="20%" style="stop-color:%233B82F6;stop-opacity:0.08"/><stop offset="80%" style="stop-color:%232563EB;stop-opacity:0.04"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23c)"/></svg>') center/cover;
    color: #1e293b;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23374151' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='50' cy='10' r='1'/%3E%3Ccircle cx='10' cy='50' r='1'/%3E%3Ccircle cx='50' cy='50' r='1'/%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1;
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: glow-text 3s ease-in-out infinite;
}

@keyframes glow-text {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.4)); }
}

.cta-description {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 4rem;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    color: #475569;
    text-shadow: none;
    font-family: 'Raleway', sans-serif;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-stat i {
    font-size: 2.5rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #3B82F6;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-stat .stat-text {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    font-weight: 500;
    color: #64748b;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-primary {
    padding: 1.5rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #2563EB, #3B82F6);
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.6);
}

.cta-secondary {
    padding: 1.5rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #3B82F6;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-3px);
    color: #2563EB;
}

.cta-trust {
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(15px);
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

.trust-item i {
    font-size: 1.1rem;
    color: #3B82F6;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 25px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.badge i {
    font-size: 1rem;
    color: #2563EB;
}

/* ==========================================================================
   TRUST & SECURITY SECTION
   ========================================================================== */

.trust-security-section {
    padding: 6rem 0;
    background:
        linear-gradient(135deg, rgba(251, 252, 254, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.trust-card:hover::before {
    transform: scaleX(1);
}

.trust-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.trust-card:hover .trust-card-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(59, 130, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.1);
}

.trust-card-icon i {
    font-size: 1.5rem;
    color: #2563EB;
}

.trust-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trust-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   PREMIUM CONTACT PAGE STYLES
   ========================================================================== */

.contact-hero {
    padding: 10rem 0 6rem;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="contact-bg" cx="30%" cy="40%"><stop offset="0%" style="stop-color:%232563EB;stop-opacity:0.06"/><stop offset="50%" style="stop-color:%233B82F6;stop-opacity:0.03"/><stop offset="100%" style="stop-color:transparent;stop-opacity:0"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23contact-bg)"/></svg>') center/cover;
    color: #1e293b;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M50 50c0-27.614-22.386-50-50-50v50h50z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    animation: float-bg 8s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.contact-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

/* About Hero Section */
.about-hero {
    padding: 10rem 0 6rem;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="about-bg" cx="30%" cy="40%"><stop offset="0%" style="stop-color:%232563EB;stop-opacity:0.06"/><stop offset="50%" style="stop-color:%233B82F6;stop-opacity:0.03"/><stop offset="100%" style="stop-color:transparent;stop-opacity:0"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23about-bg)"/></svg>') center/cover;
    color: #1e293b;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M50 50c0-27.614-22.386-50-50-50v50h50z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    animation: float-bg 8s ease-in-out infinite;
}

.about-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info-section {
    background: var(--background-card);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

/* Premium Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #1e293b;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
    transform: translateY(-2px);
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
    padding: 1.3rem 2rem;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(96, 165, 250, 0.4);
}

/* Contact Info Styles - Premium Theme Match */
.contact-info {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.06),
        0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background:
        radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(40px, -40px);
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background:
        radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30px, 30px);
}

.contact-info h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1a1a1a 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    color: #64748b;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: white;
    padding: 2.2rem 1.8rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #3B82F6 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-card:hover::before {
    transform: translateX(0);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.2rem;
    margin: 0 auto 1.2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card:hover .contact-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05) rotate(3deg);
}

.contact-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.contact-card p {
    font-family: 'Raleway', sans-serif;
    color: #64748b;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    background: #475569;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.3);
    background: #334155;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-coral);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.office-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.office-hours h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:first-child {
    font-weight: 500;
}

.hours-list li span:last-child {
    color: var(--accent-coral);
    font-weight: 600;
}

/* ==========================================================================
   CONTACT PAGE STYLES - CONSISTENT DESIGN
   ========================================================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 4rem;
}

.modern-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Contact Info Section */
.contact-info {
    position: relative;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(59, 130, 246, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
}

.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.office-hours {
    background: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.office-hours h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-day {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.hours-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Page Mobile Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modern-form {
        padding: 2rem 1.5rem;
    }

    .contact-methods {
        gap: 0.75rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

.contact-cta .cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.contact-cta .cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Form Styles */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background);
    color: var(--text-primary);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-coral);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-card:hover::before {
    transform: translateX(0);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(96, 165, 250, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.3);
}

.value-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.value-card p {
    font-family: 'Raleway', sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* About Story Section */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-content .section-badge {
    margin-bottom: 1.5rem;
}

.story-highlights {
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(8px);
}

.highlight-item i {
    color: var(--accent-mint);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-item span {
    color: var(--text-primary);
    font-weight: 600;
}

.story-visual {
    position: relative;
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.story-image:hover::before {
    opacity: 0.5;
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
}

/* ==========================================================================
   FOOTER - Universal footer design
   ========================================================================== */

/* ==========================================================================
   PREMIUM FOOTER STYLES
   ========================================================================== */

.footer {
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
    color: #1e293b;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    text-align: left;
}

.footer-brand h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #1e293b;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-brand p {
    color: rgba(71, 85, 105, 0.8);
    line-height: 1.7;
    max-width: 350px;
    font-size: 1.1rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 2rem;
}

.footer-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    flex: 1;
}

.footer-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #3B82F6;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.footer-stat .stat-label {
    font-size: 0.85rem;
    color: rgba(71, 85, 105, 0.7);
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 0.5rem;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    border-radius: 1px;
}

.link-group a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(71, 85, 105, 0.8);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-radius: 8px;
    position: relative;
}

.link-group a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(59, 130, 246, 0.1);
    transition: width 0.3s ease;
    border-radius: 8px;
    z-index: -1;
}

.link-group a:hover {
    color: #3B82F6;
    transform: translateX(8px);
    padding-left: 1rem;
}

.link-group a:hover::before {
    width: 100%;
}

.link-group a i {
    font-size: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.link-group a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(203, 213, 225, 0.5);
    color: rgba(71, 85, 105, 0.7);
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-40px) rotate(120deg) scale(1.3);
    }
    66% {
        transform: translateY(-20px) rotate(240deg) scale(0.7);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

@keyframes float-spin {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translateY(-10px) rotate(240deg) scale(0.9);
    }
    100% {
        transform: translateY(0px) rotate(360deg) scale(1);
    }
}

@keyframes morph-float {
    0% {
        transform: translateY(0px) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        background: linear-gradient(45deg, rgba(96, 165, 250, 0.15), rgba(37, 99, 235, 0.1));
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        background: linear-gradient(45deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.1));
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
        background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.15));
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
        background: linear-gradient(45deg, rgba(96, 165, 250, 0.12), rgba(37, 99, 235, 0.1));
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        background: linear-gradient(45deg, rgba(96, 165, 250, 0.15), rgba(37, 99, 235, 0.1));
    }
}

@keyframes drift-rotate {
    0% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
    }
    25% {
        transform: translate(30px, -20px) rotate(90deg);
        border-radius: 50% 50% 60% 40% / 30% 70% 40% 60%;
    }
    50% {
        transform: translate(50px, 10px) rotate(180deg);
        border-radius: 60% 40% 40% 60% / 50% 50% 50% 50%;
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
        border-radius: 30% 70% 50% 50% / 60% 40% 60% 40%;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
    }
}

@keyframes wave-motion {
    0%, 100% {
        transform: translateX(0) scaleX(1) rotate(0deg);
        border-radius: 20px;
    }
    25% {
        transform: translateX(20px) scaleX(1.2) rotate(2deg);
        border-radius: 25px 15px 20px 30px;
    }
    50% {
        transform: translateX(0) scaleX(0.8) rotate(-1deg);
        border-radius: 15px 25px 30px 20px;
    }
    75% {
        transform: translateX(-15px) scaleX(1.1) rotate(1deg);
        border-radius: 30px 20px 25px 15px;
    }
}

@keyframes particle-drift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(100px, -50px) scale(1.5);
        opacity: 0.8;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(200px, -100px) scale(0.5);
        opacity: 0;
    }
}

@keyframes pattern-drift {
    0% {
        background-position: 0 0, 40px 40px;
    }
    100% {
        background-position: 60px 60px, 100px 100px;
    }
}

@keyframes cosmic-rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes awwwards-morph {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
        filter: blur(2px) hue-rotate(0deg);
    }
    20% {
        transform: rotate(72deg) scale(1.1);
        border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
        filter: blur(1px) hue-rotate(30deg);
    }
    40% {
        transform: rotate(144deg) scale(0.9);
        border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%;
        filter: blur(3px) hue-rotate(60deg);
    }
    60% {
        transform: rotate(216deg) scale(1.2);
        border-radius: 70% 30% 60% 40% / 30% 70% 50% 50%;
        filter: blur(1.5px) hue-rotate(90deg);
    }
    80% {
        transform: rotate(288deg) scale(0.8);
        border-radius: 30% 70% 50% 50% / 70% 30% 40% 60%;
        filter: blur(2.5px) hue-rotate(120deg);
    }
}

@keyframes liquid-flow {
    0%, 100% {
        transform: translateX(0) scaleX(1) skewX(0deg);
        border-radius: 50px;
        background-position: 0% 50%;
    }
    25% {
        transform: translateX(30px) scaleX(1.3) skewX(5deg);
        border-radius: 60px 40px 50px 70px;
        background-position: 25% 50%;
    }
    50% {
        transform: translateX(0) scaleX(0.7) skewX(-3deg);
        border-radius: 40px 60px 70px 50px;
        background-position: 50% 50%;
    }
    75% {
        transform: translateX(-20px) scaleX(1.1) skewX(2deg);
        border-radius: 70px 50px 40px 60px;
        background-position: 75% 50%;
    }
}

@keyframes text-shimmer {
    0%, 100% {
        background-position: 0 0, -200% 0;
    }
    50% {
        background-position: 0 0, 200% 0;
    }
}

@keyframes noise-drift {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(-100px) translateY(-50px) rotate(360deg);
    }
}

@keyframes grid-shift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes beam-sweep {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scaleY(0.3) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-50px) scaleY(1.5) rotate(5deg);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.4) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) translateX(-10px) scale(0.6) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-40px) translateX(20px) scale(1.2) rotate(270deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0) translateX(0) scale(1) rotate(360deg);
        opacity: 0.8;
    }
}

@keyframes noise-drift {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-50px) translateY(-30px);
    }
}

@keyframes grid-shift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes beam-sweep {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scaleY(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) scaleY(1.2);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
}

@keyframes particle-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Fade-in Animation System */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CASE STUDY PAGE STYLES
   ========================================================================== */

.case-study-hero {
    padding: 10rem 0 6rem;
    background: var(--background);
    text-align: center;
}

.case-study-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.case-study-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.meta-item {
    text-align: center;
}

.meta-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.meta-value {
    font-weight: 600;
    color: var(--text-primary);
}

.case-study-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-study-section {
    margin-bottom: 4rem;
}

.case-study-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.case-study-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.case-study-image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.result-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-card);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ==========================================================================
   CASE STUDY PAGE STYLES
   ========================================================================== */

.case-hero {
    padding: 8rem 0 6rem;
    background: var(--background);
    overflow: hidden;
    position: relative;
}

.case-hero .hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.case-hero .hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.case-hero .hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.hero-stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.hero-stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.hero-stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.9;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-stat-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--background);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: var(--background-secondary);
    transform: translateY(-2px);
}

.meta-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.case-content {
    padding: 6rem 0;
    background: var(--background);
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 6rem;
    position: relative;
}

.content-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-section .section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.content-section .section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 900px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.challenge-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.challenge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.challenge-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.challenge-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.challenge-item:hover .challenge-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.challenge-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.challenge-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.solution-item {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.solution-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.solution-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: #919191;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.result-item {
    text-align: center;
    background: var(--background-card);
    padding: 2rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Result Cards - For Case Study Results Section */
.result-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 4rem 2.5rem;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
}

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover::after {
    opacity: 1;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    border: 3px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.result-card:hover .result-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(147, 51, 234, 0.2));
    border-color: rgba(37, 99, 235, 0.4);
}

.result-value {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.result-label {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.result-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Solution Timeline Styles */
.solution-timeline {
    margin: 5rem 0;
    position: relative;
    padding: 2rem 0;
}

.solution-timeline::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.timeline-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3.5rem 3rem;
    border-radius: 28px;
    border: 1px solid var(--border);
    margin-bottom: 3rem;
    margin-left: 5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5.25rem;
    top: 2.5rem;
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 4px 12px rgba(37, 99, 235, 0.3);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(147, 51, 234, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-12px) translateX(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.timeline-item:hover::after {
    opacity: 1;
}

.timeline-phase {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.feature-tag {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #bae6fd;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: #0ea5e9;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 4rem 0;
}

/* Technology Showcase - Professional Styling */
.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.tech-category {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.tech-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.tech-category h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #bae6fd;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    justify-content: flex-start;
}

.tech-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.tech-item:hover {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: #0ea5e9;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

/* Outcome Metrics */
.outcome-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 0;
}

.metric-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.metric-value {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-coral);
    line-height: 0.8;
    margin-bottom: 1rem;
    display: block;
}

.metric-label {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.metric-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Client Quote */
.client-quote {
    background: var(--gradient-primary);
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    margin: 6rem 0;
    color: white;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.client-quote::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.quote-text {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 3rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.quote-text::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: -2rem;
    opacity: 0.3;
    font-family: serif;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-details h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.author-details p {
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1200px) {
    .navbar {
        min-width: 800px;
        padding: 1rem 2rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablet breakpoint for better responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        min-width: 800px;
        width: calc(100% - 2rem);
        padding: 0.75rem 2rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-cta {
        background: var(--gradient-primary) !important;
        color: white !important;
        padding: 0.7rem 1.8rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .nav-cta:hover {
        transform: translateY(-2px) !important;
        box-shadow: var(--shadow-medium) !important;
        color: white !important;
    }

    .brand-link {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-width: auto;
        width: calc(100% - 3rem);
        padding: 0.8rem 1.2rem;
        border-radius: 25px;
        top: 1.5rem;
    }

    .nav-cta {
        background: var(--gradient-primary) !important;
        color: white !important;
        padding: 0.6rem 1.5rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
        display: inline-block !important;
    }

    .nav-cta:hover {
        transform: translateY(-2px) !important;
        box-shadow: var(--shadow-medium) !important;
        color: white !important;
    }

    .nav-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Ensure logo is visible and properly styled on mobile */
    .brand-link {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        color: var(--primary) !important;
        text-decoration: none !important;
        font-family: 'Larke Sans', 'Plus Jakarta Sans', 'Inter', sans-serif !important;
        letter-spacing: -0.5px !important;
        z-index: 1001 !important;
        display: block !important;
        position: relative !important;
    }

    .brand-highlight {
        text-transform: uppercase;
    }

    /* Hide the main nav menu on mobile - use transform instead of display */
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        z-index: 1000;
        margin: 0;
        list-style: none;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    /* Show the mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
        min-width: 40px;
        min-height: 40px;
    }

    /* Mobile overlay menu when active */
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu.active .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        padding: 0.7rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        border-bottom: none;
        text-align: center;
        width: auto;
        display: block;
        margin: 0.1rem 0;
    }

    .nav-menu.active .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary);
        transform: translateY(-2px);
    }

    .nav-menu.active .nav-cta {
        background: var(--primary) !important;
        color: white !important;
        padding: 1rem 2rem !important;
        border-radius: 25px !important;
        border: none !important;
        font-weight: 600 !important;
        margin-top: 1rem;
        text-decoration: none !important;
    }

    .nav-menu.active .nav-cta:hover {
        background: var(--primary-dark) !important;
        transform: translateY(-2px);
    }

    .hero-title,
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-direction: column;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-image {
        transform: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .solution-timeline::before {
        display: none;
    }

    .timeline-item {
        margin-left: 0;
    }

    .timeline-item::before {
        display: none;
    }

    .challenge-grid,
    .solution-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .timeline-features {
        justify-content: center;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .outcome-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}



/* ==========================================================================
   PORTFOLIO IMPROVEMENTS
   ========================================================================== */

.portfolio-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
}

.portfolio-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.portfolio-image-container:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-benefits {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.benefit-item span {
    font-weight: 500;
    color: var(--text-primary);
}

/* Contact Benefits - Center alignment */
.contact-hero .hero-benefits {
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet Layout */
@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .client-quote {
        padding: 3rem 2rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trust-card {
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-hero h1,
    .case-hero h1 {
        font-size: 2rem;
    }

    .outcome-metrics {
        grid-template-columns: 1fr;
    }

    .client-quote {
        padding: 2rem;
    }

    .quote-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        width: calc(100% - 2rem);
        left: 1rem;
        transform: none;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 4rem 1rem 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .link-group {
        text-align: center;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}



/* ==========================================================================
   PORTFOLIO ENHANCEMENTS - ADDITIONAL STYLES
   ========================================================================== */

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-benefits {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.benefit-item span {
    font-weight: 500;
    color: var(--text-primary);
}


/* ==========================================================================
   ABOUT & CONTACT PAGES - HERO SECTIONS
   ========================================================================== */

/* About Hero Styling */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(59, 130, 246, 0.05) 100%);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-hero .hero-title {
    font-size: 4rem !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.about-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 1.5rem auto 3rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Contact Hero Styling */
.contact-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(59, 130, 246, 0.05) 100%);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-hero .hero-title {
    font-size: 3.5rem !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.contact-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 1.5rem auto 3rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Hero Background Elements */
.about-hero .floating-shape,
.contact-hero .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    animation: float 20s ease-in-out infinite;
}

.about-hero .shape-1,
.contact-hero .shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.about-hero .shape-2,
.contact-hero .shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.about-hero .shape-3,
.contact-hero .shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: -14s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2.5rem !important;
    }
    
    .about-hero .hero-subtitle,
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2rem !important;
    }
    
    .about-hero .hero-subtitle,
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
}

/* ==========================================================================
   DISABLE HOVER EFFECTS FOR FEATURE ITEMS
   ========================================================================== */

.service-features,
.service-features:hover,
.feature-item,
.feature-item:hover,
.feature-item i,
.feature-item i:hover,
.feature-item span,
.feature-item span:hover {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
    cursor: default !important;
    pointer-events: auto !important;
}

.feature-item:hover {
    color: var(--text-secondary) !important;
}

.feature-item i:hover {
    color: var(--primary) !important;
}

.service-card:hover .feature-item,
.service-card:hover .feature-item i,
.service-card:hover .feature-item span,
.service-card:hover .service-features {
    transform: none !important;
    transition: none !important;
}

/* ==========================================================================
   FIX ABOUT & CONTACT PAGES - REMOVE HUGE ELLIPSES & FIX DISPLAY
   ========================================================================== */

/* Hide problematic floating shapes that are too big */
.about-hero .floating-shape,
.contact-hero .floating-shape {
    display: none !important;
}

/* Ensure hero sections are visible and properly styled */
.about-hero,
.contact-hero {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
    overflow: visible !important;
    padding: 4rem 0 !important;
}

/* Fix hero content display */
.about-hero .hero-content,
.contact-hero .hero-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: center !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
}

/* Ensure titles are visible */
.about-hero .hero-title,
.contact-hero .hero-title {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 2rem !important;
    color: var(--text-primary) !important;
}

/* Ensure subtitles are visible */
.about-hero .hero-subtitle,
.contact-hero .hero-subtitle {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 1.2rem !important;
    color: var(--text-secondary) !important;
    margin: 1.5rem auto 3rem !important;
    max-width: 600px !important;
    line-height: 1.6 !important;
}

/* Fix container display */
.about-hero .container,
.contact-hero .container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Ensure stats are visible if they exist */
.about-hero .hero-stats,
.contact-hero .hero-stats {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    justify-content: center !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
    flex-wrap: wrap !important;
}

.hero-stats .stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove any problematic transforms or opacity settings */
.about-hero *,
.contact-hero * {
    transform: none !important;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2.5rem !important;
    }
    
    .about-hero .hero-subtitle,
    .contact-hero .hero-subtitle {
        font-size: 1.1rem !important;
        padding: 0 1rem !important;
    }
    
    .about-hero .hero-stats,
    .contact-hero .hero-stats {
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2rem !important;
    }
    
    .about-hero .hero-subtitle,
    .contact-hero .hero-subtitle {
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   FIX FLOATING SHAPE SIZES IN HERO SECTIONS - PREVENT HUGE ELLIPSES
   ========================================================================== */

/* Override floating shapes in about and contact hero sections */
.about-hero .hero-background,
.contact-hero .hero-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Size and position floating shapes properly */
.about-hero .hero-background .floating-shape,
.contact-hero .hero-background .floating-shape {
    position: absolute !important;
    border-radius: 50% !important;
    opacity: 0.3 !important;
    pointer-events: none !important;
    animation: float 15s ease-in-out infinite !important;
}

/* Specific sizes and positions for each shape */
.about-hero .hero-background .shape-1,
.contact-hero .hero-background .shape-1 {
    width: 120px !important;
    height: 120px !important;
    top: 15% !important;
    left: 10% !important;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent) !important;
    animation-delay: 0s !important;
}

.about-hero .hero-background .shape-2,
.contact-hero .hero-background .shape-2 {
    width: 80px !important;
    height: 80px !important;
    top: 65% !important;
    right: 15% !important;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent) !important;
    animation-delay: -5s !important;
}

.about-hero .hero-background .shape-3,
.contact-hero .hero-background .shape-3 {
    width: 60px !important;
    height: 60px !important;
    bottom: 25% !important;
    left: 20% !important;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08), transparent) !important;
    animation-delay: -10s !important;
}

/* Remove any other floating shapes that might be causing issues */
.about-hero .floating-shape:not(.hero-background .floating-shape),
.contact-hero .floating-shape:not(.hero-background .floating-shape) {
    display: none !important;
}

/* Ensure hero content is above background elements */
.about-hero .container,
.contact-hero .container {
    position: relative !important;
    z-index: 10 !important;
}

/* ==========================================================================
   LEGAL IMPRINT STYLING
   ========================================================================== */

.legal-imprint {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-imprint h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.imprint-details {
    color: var(--text-secondary);
    line-height: 1.6;
}

.company-name {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.company-description {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.address-section {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.address-section strong {
    color: var(--text-primary);
}

.business-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.detail-item {
    flex: 1;
    min-width: 200px;
}

.detail-item strong {
    color: var(--text-primary);
}

/* Effective Date Styling */
.effective-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
}

.effective-date i {
    font-size: 0.8rem;
}

/* Content Section Styling for Legal Pages */
.content-section {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.content-section h3 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.content-section p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-section ul, .content-section ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-section strong {
    color: var(--text-primary);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .legal-imprint {
        padding: 1rem;
    }
    
    .business-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .detail-item {
        min-width: unset;
    }
}

/* ==========================================================================
   MODERN COOKIE CONSENT BANNER
   ========================================================================== */

.modern-cookie-banner {
    position: fixed;
    bottom: -300px;
    left: 2rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.modern-cookie-banner.show {
    bottom: 2rem;
    opacity: 1;
}

.cookie-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    max-width: 400px;
}

.cookie-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 1;
}

.cookie-close:hover {
    color: #64748b;
}

.cookie-close i {
    display: block;
}

.cookie-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 6px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.cookie-icon i {
    color: white;
    font-size: 1rem;
}

.cookie-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cookie-text h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-text p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-decoration: none;
    flex: 1;
    text-align: center;
}

.cookie-btn.primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.cookie-btn.primary:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.cookie-btn.secondary {
    background: white;
    color: #64748b;
}

.cookie-btn.secondary:hover {
    background: #f8fafc;
    color: #475569;
}

/* Light theme optimized - no dark mode overrides */

/* Mobile responsive */
@media (max-width: 768px) {
    .modern-cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: -300px;
    }
    
    .modern-cookie-banner.show {
        bottom: 1rem;
    }
    
    .cookie-card {
        max-width: none;
    }
    
    .cookie-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Non-blocking banner - no backdrop needed */
.modern-cookie-banner {
    pointer-events: auto;
}

.modern-cookie-banner:not(.show) {
    pointer-events: none;
}

/* Subtle slide-in animation */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.modern-cookie-banner.show {
    animation: slideInLeft 0.3s ease-out;
}
