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

:root {
    --navy-dark: #0a0e27;
    --navy-medium: #141b34;
    --purple-primary: #6366f1;
    --purple-light: #a5b4fc;
    --blue-accent: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    cursor: default;
}

/* Custom cursor */
.custom-cursor {
    display: none;
}

.cursor-glow {
    display: none;
}

/* Minimal background */
body::before {
    display: none;
}

body::after {
    display: none;
}

/* Header/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #000000;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    color: #000000;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: opacity 0.3s ease;
}

.btn-login:hover {
    opacity: 0.7;
}

.btn-get-started {
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #000000;
    position: relative;
    overflow: hidden;
}

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

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

.btn-get-started:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-get-started:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(96, 165, 250, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 70%, rgba(253, 230, 138, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(251, 203, 112, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
}

/* Remove all decorative elements */
.hero .floating-orb,
.hero .particle-dot,
.trail-particle,
.click-ripple,
.hero .shine-line {
    display: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    z-index: 10;
    text-align: center;
}

/* Glassy Pill Badge */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    animation: fadeInUp 0.6s ease-out, floatingBadge 3s ease-in-out infinite;
    animation-delay: 0s, 0.6s;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6eff90 0%, #00be19 100%);
    flex-shrink: 0;
}

.pill-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6B7280;
    letter-spacing: -0.01em;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge:hover {
    border-color: rgba(0, 0, 0, 0.4);
    color: rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0B0B0B;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    color: #3B82F6; /* Fallback for browsers that don't support background-clip */
    background: linear-gradient(135deg, #3B82F6 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.purple-text {
    color: #000000;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #000000;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

@keyframes floatingBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.btn-secondary {
    background: transparent;
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 1.25rem;
}

.stat-text {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.6);
}

/* Hero Visual - Hidden */
.hero-visual {
    display: none;
}

.blob-container,
.blob,
.dispersing-particles {
    display: none;
}

#lockCanvas {
    max-width: 100%;
    height: auto;
}

/* Second Section */
.second-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F0F9FF 0%, #FEF3C7 100%);
}

.second-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(147, 197, 253, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(253, 224, 71, 0.15) 0%, transparent 50%);
    filter: blur(80px);
    z-index: 0;
}

.second-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 1;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-content {
    text-align: center;
}

/* Section Pill Badge */
.section-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
    animation: floatingBadge 3s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4rem;
    color: #1E293B;
    letter-spacing: -0.02em;
}

/* Card Carousel */
.card-carousel {
    position: relative;
    width: 100%;
    height: 750px;
    margin-top: 3rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    perspective: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 1.5rem;
    padding: 1.75rem;
    width: 380px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 8px 32px rgba(79, 70, 229, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    position: absolute;
    cursor: pointer;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Center Card (Main Focus) */
.card-center {
    transform: translate(-50%, -55%) scale(1.1) translateZ(0);
    z-index: 10;
    filter: blur(0);
    opacity: 1;
}

/* Left Cards */
.card-left[data-position="left1"] {
    transform: translate(-50%, -55%) translateX(-450px) scale(0.85) rotateY(25deg) translateZ(-200px);
    z-index: 8;
    filter: blur(1px);
    opacity: 0.7;
}

.card-left[data-position="left2"] {
    transform: translate(-50%, -55%) translateX(-750px) scale(0.7) rotateY(35deg) translateZ(-400px);
    z-index: 6;
    filter: blur(2px);
    opacity: 0.5;
}

/* Right Cards */
.card-right[data-position="right1"] {
    transform: translate(-50%, -55%) translateX(450px) scale(0.85) rotateY(-25deg) translateZ(-200px);
    z-index: 8;
    filter: blur(1px);
    opacity: 0.7;
}

.card-right[data-position="right2"] {
    transform: translate(-50%, -55%) translateX(750px) scale(0.7) rotateY(-35deg) translateZ(-400px);
    z-index: 6;
    filter: blur(2px);
    opacity: 0.5;
}

/* Hover Effects */
.card-left:hover {
    filter: blur(0.5px);
    opacity: 0.85;
}

.card-right:hover {
    filter: blur(0.5px);
    opacity: 0.85;
}

.card-center:hover {
    transform: translate(-50%, -55%) scale(1.15) translateZ(0);
    box-shadow:
        0 16px 56px rgba(79, 70, 229, 0.2),
        0 8px 24px rgba(79, 70, 229, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(79, 70, 229, 0.25);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    will-change: transform;
}

.card-center:active {
    transform: translate(-50%, -55%) scale(1.08) translateZ(0) !important;
    box-shadow:
        0 8px 28px rgba(79, 70, 229, 0.15),
        0 4px 12px rgba(79, 70, 229, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset !important;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}


/* Card Image Placeholder */
.card-image-placeholder {
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image-placeholder svg {
    height: 100%;
    width: 100%;
}

/* Explore More Button */
.card-explore-btn {
    margin-top: auto;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    border: none;
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow:
        0 4px 12px rgba(79, 70, 229, 0.25),
        0 2px 4px rgba(79, 70, 229, 0.15);
    position: relative;
    overflow: hidden;
}

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

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

.card-explore-btn:hover {
    background: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 8px 20px rgba(79, 70, 229, 0.35),
        0 4px 8px rgba(79, 70, 229, 0.2);
}

.card-explore-btn:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2) !important;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Card Title */
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Description */
.card-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748B;
    margin-bottom: 1rem;
}

/* Card Features List */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.card-features li {
    font-size: 0.85rem;
    color: #475569;
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.4;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #4F46E5;
    font-weight: 700;
    font-size: 1rem;
}

/* Card Footer */
.card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.footer-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

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

.footer-tags .tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #4F46E5;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.08);
}

/* Third Section - Projects Page */
.black-section {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 50%, #E2E8F0 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
    margin-top: -4rem;
}

.black-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 1;
    pointer-events: none;
}

.black-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.black-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
    max-width: 1500px;
    padding: 0 2rem;
}

/* Project Card */
.project-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 540px;
}

.project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
}

/* Project Folder */
.project-folder {
    width: 100%;
    height: 220px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

/* Project Content Wrapper */
.project-card > *:not(.project-folder) {
    padding: 0 1.75rem;
}

.project-card > .project-title {
    padding-top: 1.75rem;
}

/* Project Title */
.project-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

/* Project Description */
.project-description {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.25rem;
    text-align: left;
    flex-grow: 1;
}

/* Project Stats */
.project-stats {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.08);
    color: #4F46E5;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
}

/* Project Footer */
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem 1.75rem 1.75rem;
    margin-top: auto;
    margin-bottom: 1rem;
}

/* Project Date */
.project-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748B;
    font-size: 0.9375rem;
    font-weight: 500;
}

.project-date svg {
    color: #4F46E5;
}

/* Project Arrow Button */
.project-arrow-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

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

.project-arrow-btn:hover::before,
.project-card:hover .project-arrow-btn::before {
    left: 100%;
}

.project-arrow-btn svg {
    color: #4F46E5;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-arrow-btn:hover {
    background: #4F46E5;
    border-color: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.project-arrow-btn:hover svg {
    color: #FFFFFF;
    transform: translate(2px, -2px);
}

.project-card:hover .project-arrow-btn {
    background: #4F46E5;
    border-color: #4F46E5;
}

.project-card:hover .project-arrow-btn svg {
    color: #FFFFFF;
    transform: translate(2px, -2px);
}

.project-arrow-btn:active {
    transform: translateY(0);
}

/* Fourth Section - Process Page */
.fourth-section {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 50%, #E2E8F0 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
    margin-top: 0;
}

.fourth-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 1;
    pointer-events: none;
}

.fourth-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.fourth-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin-top: 4rem;
    padding: 2rem 0;
}

/* Timeline Vertical Line - runs below the circles */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
    bottom: 35px;
    width: 4px;
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.15) 0%, rgba(79, 70, 229, 0.08) 100%);
    border-radius: 10px;
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #4F46E5 0%, #6366F1 50%, #818CF8 100%);
    border-radius: 10px;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

/* Process Step */
.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Alternate layout - content on left for odd steps */
.process-step:nth-child(odd) .step-content {
    grid-column: 1;
    text-align: right;
}

.process-step:nth-child(odd) .step-number {
    grid-column: 2;
    justify-self: center;
}

/* Alternate layout - content on right for even steps */
.process-step:nth-child(even) .step-content {
    grid-column: 3;
    text-align: left;
}

.process-step:nth-child(even) .step-number {
    grid-column: 2;
    justify-self: center;
}

/* Step Number Circle - integrated with line */
.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 4px solid rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #64748B;
    position: relative;
    z-index: 3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.process-step.active .step-number {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    border-color: #4F46E5;
    color: #FFFFFF;
    box-shadow:
        0 8px 32px rgba(79, 70, 229, 0.5),
        0 0 0 6px rgba(79, 70, 229, 0.1);
    transform: scale(1.15);
}

/* Adjust position for step 4 specifically */
.process-step[data-step="4"] .step-number {
    margin-top: 2rem;
}

/* Step Content */
.step-content {
    padding: 0.5rem 0;
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
}

.process-step.active .step-title {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #64748B;
    transition: color 0.4s ease;
}

.process-step.active .step-description {
    color: #475569;
}

/* About Section */
.about-section {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 50%, #E2E8F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        radial-gradient(circle, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 1;
    pointer-events: none;
}

.about-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    width: 100%;
    max-width: 1200px;
    align-items: center;
}

/* About Text */
.about-text {
    text-align: left;
}

.about-intro {
    font-size: 1.375rem;
    line-height: 1.8;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.about-intro strong {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.25rem;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: #64748B;
    font-weight: 500;
}

/* About CTA Button */
.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 12px rgba(79, 70, 229, 0.25),
        0 2px 4px rgba(79, 70, 229, 0.15);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

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

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

.about-cta-btn:hover {
    background: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%);
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(79, 70, 229, 0.35),
        0 4px 8px rgba(79, 70, 229, 0.2);
}

.about-cta-btn:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2) !important;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* About Image */
.about-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #E0E7FF 100%);
    border-radius: 1.5rem;
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.12) 50%, rgba(139, 92, 246, 0.08) 100%);
    z-index: 0;
    border-radius: 0 0 1.5rem 1.5rem;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}

.profile-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 1.5rem 1.5rem 0 0;
}

.profile-info {
    text-align: right;
    padding: 1.25rem 2rem 0.75rem 2rem;
}

.profile-name {
    font-size: 1.625rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 0.25rem 0;
}

.profile-title {
    font-size: 1rem;
    color: #64748B;
    margin: 0;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748B;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
    border-color: #4F46E5;
    color: #4F46E5;
}

.social-icon svg {
    transition: color 0.3s ease;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(79, 70, 229, 0.2);
}

.image-placeholder svg {
    width: 200px;
    height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    /* Projects Grid - 2 columns on tablets */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* About Grid - Stack on tablets */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    /* Process Timeline - Adjust spacing */
    .process-timeline {
        padding: 1rem 0;
    }

    .process-step {
        margin-bottom: 4rem;
    }

    /* Card Carousel - Reduce card size */
    .service-card {
        width: 320px;
    }

    .card-carousel {
        height: 650px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .logo-text {
        font-size: 1rem;
    }

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

    /* Hero Section */
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

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

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .section-title br {
        display: none;
    }

    /* Second Section - Services */
    .second-section {
        padding: 3rem 0 4rem 0;
    }

    .card-carousel {
        height: 550px;
        margin-top: 2rem;
    }

    .service-card {
        width: 280px;
        padding: 1.5rem;
    }

    .card-center {
        transform: translate(-50%, -50%) scale(1) translateZ(0);
    }

    .card-left[data-position="left1"] {
        transform: translate(-50%, -50%) translateX(-320px) scale(0.8) rotateY(20deg) translateZ(-150px);
        opacity: 0.6;
    }

    .card-left[data-position="left2"] {
        transform: translate(-50%, -50%) translateX(-560px) scale(0.65) rotateY(30deg) translateZ(-300px);
        opacity: 0.3;
    }

    .card-right[data-position="right1"] {
        transform: translate(-50%, -50%) translateX(320px) scale(0.8) rotateY(-20deg) translateZ(-150px);
        opacity: 0.6;
    }

    .card-right[data-position="right2"] {
        transform: translate(-50%, -50%) translateX(560px) scale(0.65) rotateY(-30deg) translateZ(-300px);
        opacity: 0.3;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .card-features li {
        font-size: 0.8rem;
    }

    .card-image-placeholder {
        height: 120px;
    }

    /* Projects Grid - Single column */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card {
        min-height: auto;
    }

    .project-folder {
        height: 200px;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-description {
        font-size: 0.9375rem;
    }

    .project-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Process Timeline - Simplified layout */
    .process-timeline {
        padding: 1rem 0;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        grid-column: 2;
        text-align: left;
    }

    .process-step:nth-child(odd) .step-number,
    .process-step:nth-child(even) .step-number {
        grid-column: 1;
    }

    .timeline-line {
        left: 30px;
        top: 60px;
        bottom: 30px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.125rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .step-description {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    /* About Section */
    .about-section {
        padding: 4rem 0;
    }

    .about-grid {
        gap: 2.5rem;
    }

    .about-intro {
        font-size: 1.125rem;
    }

    .about-description {
        font-size: 1rem;
    }

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

    .stat-value {
        font-size: 2rem;
    }

    .image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .navbar {
        padding: 0.875rem 1rem;
    }

    .logo svg {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 0.9375rem;
    }

    .btn-get-started {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 70px;
        padding-bottom: 2rem;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-pill-badge {
        padding: 0.4rem 0.875rem 0.4rem 0.625rem;
        margin-bottom: 1.5rem;
    }

    .pill-text {
        font-size: 0.8125rem;
    }

    .hero-title {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-stats {
        margin-top: 1.5rem;
    }

    .stat-text {
        font-size: 0.875rem;
    }

    /* Section Spacing */
    .second-section,
    .black-section,
    .fourth-section,
    .about-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-container,
    .black-container,
    .fourth-container,
    .about-container {
        padding: 0 1rem;
    }

    .section-pill-badge {
        padding: 0.4rem 0.875rem 0.4rem 0.625rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Card Carousel - Mobile optimized */
    .card-carousel {
        height: 500px;
        padding-top: 2rem;
    }

    .service-card {
        width: 260px;
        padding: 1.25rem;
    }

    .card-center {
        transform: translate(-50%, -50%) scale(0.95) translateZ(0);
    }

    .card-center:hover {
        transform: translate(-50%, -50%) scale(1) translateZ(0);
    }

    .card-left[data-position="left1"],
    .card-right[data-position="right1"] {
        transform: translate(-50%, -50%) translateX(300px) scale(0.75) rotateY(-15deg) translateZ(-100px);
        opacity: 0.5;
    }

    .card-left[data-position="left2"],
    .card-right[data-position="right2"] {
        display: none;
    }

    .card-title {
        font-size: 1.125rem;
        margin-bottom: 0.625rem;
    }

    .card-description {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 0.875rem;
    }

    .card-features {
        margin: 0 0 0.875rem 0;
    }

    .card-features li {
        font-size: 0.75rem;
        padding: 0.4rem 0;
        padding-left: 1.5rem;
    }

    .card-features li::before {
        font-size: 0.875rem;
        top: 0.625rem;
    }

    .card-image-placeholder {
        height: 100px;
        margin-bottom: 1rem;
    }

    .card-explore-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
    }

    /* Projects Grid */
    .projects-grid {
        margin-top: 2rem;
        padding: 0;
    }

    .project-card {
        min-height: auto;
    }

    .project-folder {
        height: 180px;
    }

    .project-card > *:not(.project-folder) {
        padding: 0 1.25rem;
    }

    .project-card > .project-title {
        padding-top: 1.25rem;
    }

    .project-title {
        font-size: 1.125rem;
        margin-bottom: 0.875rem;
    }

    .project-description {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .project-stats {
        margin-bottom: 1.25rem;
        gap: 0.5rem;
    }

    .stat-badge {
        font-size: 0.6875rem;
        padding: 0.375rem 0.75rem;
    }

    .project-footer {
        padding: 0.875rem 1.25rem 1.25rem 1.25rem;
    }

    .project-date {
        font-size: 0.875rem;
    }

    .project-arrow-btn {
        width: 44px;
        height: 44px;
    }

    .project-arrow-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Process Timeline */
    .process-timeline {
        margin-top: 2rem;
    }

    .process-step {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .timeline-line {
        left: 25px;
        top: 50px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        border-width: 3px;
    }

    .process-step.active .step-number {
        box-shadow:
            0 6px 24px rgba(79, 70, 229, 0.4),
            0 0 0 4px rgba(79, 70, 229, 0.1);
    }

    .step-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .step-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .process-step[data-step="4"] .step-number {
        margin-top: 1rem;
    }

    /* About Section */
    .about-section {
        padding: 3rem 0;
    }

    .about-grid {
        margin-top: 2rem;
        gap: 2rem;
    }

    .about-intro {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .about-description {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }

    .about-stats {
        gap: 1.25rem;
        margin: 2rem 0;
        padding: 1.5rem 0;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .about-cta-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }

    .image-wrapper {
        max-width: 300px;
    }

    .social-links {
        gap: 0.625rem;
        padding: 1.25rem 1.5rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.625rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        width: 240px;
    }

    .card-carousel {
        height: 480px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
    }
}

/* Landscape Mode Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .card-carousel {
        height: 450px;
    }

    .process-timeline {
        padding: 0.5rem 0;
    }

    .process-step {
        margin-bottom: 2rem;
    }
}

/* Page Transition Animations */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.03) 0%,
            rgba(30, 58, 138, 0.05) 20%,
            rgba(59, 130, 246, 0.06) 40%,
            rgba(147, 197, 253, 0.04) 60%,
            rgba(255, 255, 255, 0.97) 80%,
            rgba(255, 255, 255, 1) 100%
        );
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-100%);
    transition: none;
}

.page-transition-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background:
        radial-gradient(circle at center,
            rgba(59, 130, 246, 0.08) 0%,
            rgba(96, 165, 250, 0.05) 25%,
            rgba(147, 197, 253, 0.03) 50%,
            transparent 75%
        );
    border-radius: 50%;
    filter: blur(60px);
    animation: subtleBreath 4s ease-in-out infinite;
}

.page-transition-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            transparent 0%,
            rgba(59, 130, 246, 0.02) 30%,
            rgba(147, 197, 253, 0.04) 50%,
            rgba(59, 130, 246, 0.02) 70%,
            transparent 100%
        );
    background-size: 300% 300%;
    animation: gentleFlow 6s ease-in-out infinite;
    mix-blend-mode: overlay;
}

@keyframes subtleBreath {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes gentleFlow {
    0% {
        background-position: 0% 0%;
        opacity: 0.5;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.8;
    }
    100% {
        background-position: 0% 0%;
        opacity: 0.5;
    }
}

.page-transition-overlay.active {
    pointer-events: all;
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.page-transition-overlay.exit {
    animation: slideOutRight 0.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes slideInRight {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Page fade in animation for new page */
body.page-entering {
    animation: fadeInPage 0.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* Audio Player Styles */
.audio-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
}

.audio-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Feature Card Hover Effects */
.feature-card {
    cursor: pointer;
}

.feature-card.revealed:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.25) !important;
    border-color: rgba(79, 70, 229, 0.35) !important;
}

.feature-card.revealed:active {
    transform: translateY(-4px) scale(1.02) !important;
    transition: all 0.1s ease !important;
}

/* Perfect For Card Hover Effects */
.perfect-for-card {
    cursor: pointer;
}

.perfect-for-card.revealed:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.25) !important;
    border-color: rgba(79, 70, 229, 0.35) !important;
}

.perfect-for-card.revealed:active {
    transform: translateY(-4px) scale(1.02) !important;
    transition: all 0.1s ease !important;
}

/* Case Study Card Hover Effects */
.case-study-card {
    cursor: pointer;
}

.case-study-card.revealed:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.3) !important;
    border-color: rgba(79, 70, 229, 0.4) !important;
}

.case-study-card.revealed:active {
    transform: translateY(-5px) scale(1.01) !important;
    transition: all 0.1s ease !important;
}

/* Feature Icon Hover Effects */
.feature-icon-wrapper {
    height: 2.5rem;
    width: 2.5rem;
    position: relative;
    display: inline-block;
}

.feature-icon-default,
.feature-icon-hover {
    transform-origin: center;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 2.5rem;
}

.feature-card-hover:hover .feature-icon-default {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

.feature-card-hover:hover .feature-icon-hover {
    opacity: 1 !important;
    transform: scale(1.2) rotate(360deg);
}

.wave-bar {
    transition: height 0.3s ease;
}

.audio-player-container:hover .wave-bar {
    animation: waveAnimation 1.5s ease-in-out infinite;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.2);
    }
}

.audio-player-container:hover .wave-bar:nth-child(1) { animation-delay: 0s; }
.audio-player-container:hover .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-player-container:hover .wave-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-player-container:hover .wave-bar:nth-child(4) { animation-delay: 0.15s; }
.audio-player-container:hover .wave-bar:nth-child(5) { animation-delay: 0.25s; }
.audio-player-container:hover .wave-bar:nth-child(6) { animation-delay: 0.1s; }
.audio-player-container:hover .wave-bar:nth-child(7) { animation-delay: 0.3s; }
.audio-player-container:hover .wave-bar:nth-child(8) { animation-delay: 0.2s; }
.audio-player-container:hover .wave-bar:nth-child(9) { animation-delay: 0.15s; }
.audio-player-container:hover .wave-bar:nth-child(10) { animation-delay: 0.25s; }
.audio-player-container:hover .wave-bar:nth-child(11) { animation-delay: 0.1s; }
.audio-player-container:hover .wave-bar:nth-child(12) { animation-delay: 0.2s; }
.audio-player-container:hover .wave-bar:nth-child(13) { animation-delay: 0.3s; }
.audio-player-container:hover .wave-bar:nth-child(14) { animation-delay: 0.1s; }
.audio-player-container:hover .wave-bar:nth-child(15) { animation-delay: 0.25s; }
.audio-player-container:hover .wave-bar:nth-child(16) { animation-delay: 0.15s; }
.audio-player-container:hover .wave-bar:nth-child(17) { animation-delay: 0.2s; }
.audio-player-container:hover .wave-bar:nth-child(18) { animation-delay: 0.1s; }
.audio-player-container:hover .wave-bar:nth-child(19) { animation-delay: 0.2s; }
.audio-player-container:hover .wave-bar:nth-child(20) { animation-delay: 0.15s; }

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

/* Smooth reveal for service detail pages */
.service-detail {
    animation: revealContent 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

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

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for multiple elements */
.scroll-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.scroll-reveal:nth-child(5) {
    transition-delay: 0.5s;
}

.scroll-reveal:nth-child(6) {
    transition-delay: 0.6s;
}

.scroll-reveal:nth-child(7) {
    transition-delay: 0.7s;
}

.scroll-reveal:nth-child(8) {
    transition-delay: 0.8s;
}

.scroll-reveal:nth-child(9) {
    transition-delay: 0.9s;
}

.scroll-reveal:nth-child(10) {
    transition-delay: 1.0s;
}

.scroll-reveal:nth-child(11) {
    transition-delay: 1.1s;
}

.scroll-reveal:nth-child(12) {
    transition-delay: 1.2s;
}

/* Skeleton Loading Styles */
.skeleton {
    background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}


/* Progress Bar Animation */
.progress-bar-fill {
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 8%;
    }
}

/* Shimmer Effect for Loading */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmerSlide 2s infinite;
}

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

/* Content Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse Animation for Interactive Elements */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-on-load {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth Page Load */
body.page-loading {
    overflow: hidden;
}

body.page-loaded {
    overflow: auto;
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animated-gradient-text {
    background: linear-gradient(90deg, #4F46E5, #6366F1, #818CF8, #6366F1, #4F46E5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}
