/* Portfolio Card Hover Effects */
.portfolio-card {
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.portfolio-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    border-color: transparent;
}

.portfolio-image-link {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
    transition: transform 0.5s ease;
}

.portfolio-image-link iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
    pointer-events: none;
    background: #ffffff;
}
.portfolio-image-link:hover {
    box-shadow: none;
    transform: scale(1.02);
}
.portfolio-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    color: #000000;
    font-size: 2.2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}
.portfolio-image-link:hover .portfolio-link-overlay {
    opacity: 1;
    pointer-events: auto;
}
.portfolio-link-overlay i {
    transform: scale(0.8) translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
    color: #000000;
}
.portfolio-image-link:hover .portfolio-link-overlay i {
    transform: scale(1) translateY(0);
    opacity: 1;
}
/* World-class animation for portfolio cards */
.worldclass-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    animation: worldclassFadeIn 1.1s cubic-bezier(.23,1.02,.32,1) forwards;
    animation-delay: 0.2s;
}
@keyframes worldclassFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ========================================
   ThisUncle Technologies Limited
   Modern Portfolio Website Styles
   ======================================== */

/* ========================================
   CSS Variables for Theme Support
   ======================================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --text-primary: #000000;
    --text-secondary: #555555;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --accent-color: #000000;
    --card-bg: #ffffff;
    --card-border: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --hero-bg: #ffffff;
    --btn-primary-bg: #000000;
    --btn-primary-color: #ffffff;
    --btn-primary-shadow: rgba(0, 0, 0, 0.2);
    --btn-secondary-bg: transparent;
    --btn-secondary-color: #000000;
    --btn-secondary-border: #000000;
    --btn-secondary-hover-bg: #000000;
    --btn-secondary-hover-color: #ffffff;
    --animation-element-bg: #f5f5f5;
    --animation-element-bg-2: #eeeeee;
    --animation-element-bg-3: #e0e0e0;
    --code-tag-color: #333333;
    --code-text-color: #666666;
}

[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #333333;
    --accent-color: #ffffff;
    --card-bg: #111111;
    --card-border: #333333;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --hero-bg: #0a0a0a;
    --btn-primary-bg: #ffffff;
    --btn-primary-color: #000000;
    --btn-primary-shadow: rgba(255, 255, 255, 0.1);
    --btn-secondary-bg: transparent;
    --btn-secondary-color: #ffffff;
    --btn-secondary-border: #ffffff;
    --btn-secondary-hover-bg: #ffffff;
    --btn-secondary-hover-color: #000000;
    --animation-element-bg: #1a1a1a;
    --animation-element-bg-2: #222222;
    --animation-element-bg-3: #333333;
    --code-tag-color: #cccccc;
    --code-text-color: #999999;
}

/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    color: var(--text-primary, #ffffff);
    background-color: var(--bg-primary, #000000);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-primary, #ffffff);
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 70ch;
    color: var(--text-secondary, #cccccc);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========================================
   Utilities
   ======================================== */

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

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary, #000000);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #000000;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary, #555555);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
}

.btn::before {
    display: none;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #333333;
    border-color: #333333;
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   Page Loader
   ======================================== */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-background {
    display: none;
}

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

/* Company Name Display */
.company-name-display {
    margin-bottom: 1.5rem;
    z-index: 3;
    position: relative;
}

.company-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Terminal Prompt */
.terminal-prompt {
    display: none;
}

.loader-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.logo-tech-ring {
    display: none;
}

.loader-logo {
    position: relative;
    z-index: 2;
}

.loader-logo img {
    width: 100px;
    height: 100px;
    filter: grayscale(100%);
    opacity: 0.8;
}

.loader-text-container {
    max-width: 300px;
    margin: 0 auto;
}

.loader-text {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.loader-text::before,
.loader-text::after {
    display: none;
}

.loader-progress {
    position: relative;
    width: 150px;
    height: 2px;
    background: #f0f0f0;
    border-radius: 1px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #000000;
    border-radius: 1px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressFill 2s ease-in-out infinite;
}

.progress-percentage {
    display: none;
}

.loading-dots {
    display: none;
}

.cursor-follower {
    display: none;
}

/* Animations - Minimal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========================================
   Techy Loading Elements - REMOVED
   ======================================== */


/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px var(--shadow-color, rgba(255, 255, 255, 0.1));
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-secondary, #cccccc);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary, #ffffff);
    background: var(--shadow-color, rgba(255, 255, 255, 0.1));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary, #ffffff);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: var(--shadow-color, rgba(255, 255, 255, 0.1));
    transform: scale(1.1);
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary, #ffffff);
    cursor: pointer;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--hero-bg);
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-title-accent {
    background: none;
    -webkit-text-fill-color: initial;
    color: inherit;
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    background: var(--animation-element-bg);
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    background: var(--animation-element-bg-2);
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: var(--animation-element-bg-3);
    top: 30%;
    left: 60%;
    animation-delay: 4s;
}

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

.code-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    border: 1px solid var(--card-border);
}

.code-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666666;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28ca42; }

.code-content {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-line {
    margin-bottom: 0.5rem;
    animation: typewriter 4s infinite;
}

.code-tag { color: var(--code-tag-color); }
.code-text { color: var(--code-text-color); }

@keyframes typewriter {
    0%, 90%, 100% { opacity: 1; }
    45% { opacity: 0.7; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
}

.scroll-arrow {
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="light"] .service-card {
    background: var(--card-bg);
    box-shadow: none;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--text-primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--text-primary);
    font-size: 0.8rem;
}

.service-hover-effect {
    display: none;
}

/* ========================================
   Portfolio Section
   ======================================== */

.portfolio {
    background: var(--bg-primary, #000000);
    position: relative;
}

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

.portfolio-item {
    position: relative;
}

/* Portfolio Carousel Styles */
.portfolio-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 3rem 0;
    perspective: 1500px;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-carousel-3d {
    position: relative;
    width: 100%;
    height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 480px;
    max-width: 90vw;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
    transform-origin: center center;
}

/* Center active slide - largest */
.portfolio-slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) translateZ(0) scale(1.1) rotateY(0deg);
    z-index: 3;
    pointer-events: all;
}

/* Left side preview - smaller */
.portfolio-slide.prev {
    opacity: 0.5;
    transform: translate(calc(-50% - 550px), -50%) translateZ(-100px) scale(0.7) rotateY(12deg);
    z-index: 2;
    pointer-events: all;
    filter: brightness(0.65);
}

/* Right side preview - smaller */
.portfolio-slide.next {
    opacity: 0.5;
    transform: translate(calc(-50% + 550px), -50%) translateZ(-100px) scale(0.7) rotateY(-12deg);
    z-index: 2;
    pointer-events: all;
    filter: brightness(0.65);
}

/* Hover effects on side previews */
.portfolio-slide.prev:hover,
.portfolio-slide.next:hover {
    opacity: 0.8;
    filter: brightness(0.8);
    cursor: pointer;
}

.portfolio-slide.prev:hover {
    transform: translate(calc(-50% - 550px), -50%) translateZ(-80px) scale(0.75) rotateY(8deg);
}

.portfolio-slide.next:hover {
    transform: translate(calc(-50% + 550px), -50%) translateZ(-80px) scale(0.75) rotateY(-8deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Carousel Navigation Buttons - Minimal Design */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn::before,
.carousel-btn::after {
    display: none;
}

.carousel-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.carousel-btn-prev {
    left: 2rem;
}

.carousel-btn-next {
    right: 2rem;
}

.carousel-btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    text-shadow: none;
    transition: transform 0.3s ease;
}

.carousel-btn:hover i {
    transform: scale(1);
}

.carousel-btn-prev:hover i {
    animation: none;
}

.carousel-btn-next:hover i {
    animation: none;
}

/* Carousel Indicators - Minimal Design */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.carousel-indicator::before {
    display: none;
}

.carousel-indicator:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.2);
    box-shadow: none;
}

.carousel-indicator.active {
    background: #000000;
    width: 10px;
    border-radius: 50%;
    box-shadow: none;
    animation: none;
    transform: scale(1.2);
}

.carousel-indicator.active::before {
    display: none;
}

/* Swipe hint for mobile devices */
.swipe-hint {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 5;
    animation: swipeHintFade 2s ease-in-out infinite;
}

.swipe-hint i {
    font-size: 1rem;
    animation: swipeArrowMove 1.5s ease-in-out infinite;
}

@keyframes swipeHintFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes swipeArrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

/* Show swipe hint on touch devices */
@media (hover: none) and (pointer: coarse) {
    .swipe-hint {
        display: flex;
    }
    
    /* Hide hint after first interaction */
    .portfolio-carousel-container.interacted .swipe-hint {
        opacity: 0;
        transition: opacity 0.5s ease;
    }
}

.portfolio-card {
    background: var(--card-bg, #1a1a1a);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border, #333333);
    transition: all 0.3s ease;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    touch-action: pan-y pinch-zoom;
}

[data-theme="light"] .portfolio-card {
    box-shadow: 0 4px 6px var(--shadow-color);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px var(--shadow-color);
    border-color: var(--border-color);
}

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

.portfolio-screenshot {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.browser-mockup {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.browser-header {
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #444444;
}

.browser-dots {
    display: flex;
    gap: 0.3rem;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666666;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    background: var(--bg-tertiary);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex: 1;
}

.browser-content {
    height: calc(100% - 40px);
    background: var(--bg-primary);
    position: relative;
}

.mockup-header {
    height: 20%;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.mockup-nav {
    height: 15%;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.mockup-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 60%;
    height: 2px;
    background: #e0e0e0;
}

.mockup-hero {
    height: 35%;
    background: #f8f8f8;
    position: relative;
}

.mockup-hero::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 1rem;
    width: 70%;
    height: 40%;
    background: #e0e0e0;
    border-radius: 4px;
}

.mockup-sections {
    height: 30%;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
}

.mockup-section {
    flex: 1;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

/* Theme variations for different portfolio items */
.selah-theme .mockup-header {
    background: #000000;
}

.selah-theme .mockup-hero::after {
    background: #333333;
}

.akstands-theme .mockup-header {
    background: #000000;
}

.akstands-theme .mockup-hero::after {
    background: #333333;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1);
    background: #cccccc;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-header {
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.portfolio-location {
    color: #999999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.portfolio-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-cta {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    text-align: center;
    margin: 6rem auto 4rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.portfolio-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--text-primary);
}

.portfolio-cta::before {
    display: none;
}

/* Services CTA Section */
.services-cta-section {
    padding: 0;
}

.services-cta {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    text-align: center;
    margin: 6rem auto 4rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.services-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--text-primary);
}

.services-cta::before {
    display: none;
}

.services-cta h3 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.services-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.portfolio-cta h3 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.portfolio-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ========================================
   Portfolio Hero Section
   ======================================== */

.portfolio-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
    background: var(--bg-primary);
}

.portfolio-hero-background {
    display: none;
}

.gradient-orb {
    display: none;
}

.tech-grid-overlay {
    display: none;
}

.floating-particles {
    display: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-badge i {
    color: #000000;
}

.portfolio-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
    color: #000000;
    animation: none;
}

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

.portfolio-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Portfolio Statistics Section
   ======================================== */

.portfolio-stats {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--text-primary);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.stat-item:hover::before {
    opacity: 0;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: none;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ========================================
   Portfolio Category Filter
   ======================================== */

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

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.filter-btn:hover,
.filter-btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.filter-btn i,
.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
    transform: translateY(-2px);
}

/* ========================================
   Enhanced Portfolio Cards
   ======================================== */

.project-label {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.project-status {
    padding: 0.5rem 1rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    }
}

.project-category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #000000;
    border-radius: 20px;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: scale(1.05);
}

.project-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
}

.metric i {
    color: #000000;
    font-size: 1rem;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials-section {
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.testimonial-slide {
    opacity: 0;
    position: absolute;
    width: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.testimonial-slide:first-child {
    position: relative;
    opacity: 1;
    pointer-events: all;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: #000000;
}

.testimonial-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background: #000000;
    border-color: #000000;
    transform: scale(1.1);
}

.testimonial-indicators {
    display: flex;
    gap: 0.75rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: #000000;
    transform: scale(1.2);
}

/* ========================================
   Process Timeline Section
   ======================================== */

.process-section {
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
}

.process-timeline {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    grid-template-columns: 1fr auto;
}

.process-step:nth-child(even) .step-content {
    order: -1;
    text-align: right;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(360deg);
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.step-connector {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
}

.process-step:last-child .step-connector {
    display: none;
}

/* ========================================
   Enhanced CTA Section
   ======================================== */

.enhanced-cta-section {
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    opacity: 0.3;
}

.enhanced-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #000000;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.cta-badge i {
    color: #ffd700;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

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

.btn-cta-primary,
.btn-cta-secondary,
.btn-cta-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cta-primary {
    background: #000000;
    color: #ffffff;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #000000;
    transform: translateY(-3px);
}

.btn-cta-tertiary {
    background: transparent;
    border: 2px solid #000000;
    color: #000000;
}

.btn-cta-tertiary:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: translateY(-3px);
}

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

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-badge i {
    color: #000000;
    font-size: 1.2rem;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background: #0a0a0a;
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.7;
}

.about-values {
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.value-content p {
    color: #cccccc;
    margin: 0;
}

.about-visual {
    position: relative;
    height: 400px;
}

.about-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 100%;
}

.stat-item {
    background: #0a0a0a;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission and Vision Section */
.mission-vision-section {
    margin: 5rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card,
.vision-card {
    background: #0a0a0a;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #333333;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.mission-card:hover::before,
.vision-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.mission-card .card-icon,
.vision-card .card-icon {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: #000000;
    position: relative;
    z-index: 2;
}

.mission-card h3,
.vision-card h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.mission-card p,
.vision-card p {
    color: #cccccc;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Team Section */
.team-section {
    margin: 5rem 0;
}

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

.team-member {
    background: #0a0a0a;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.member-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333333;
}

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

.team-member:hover .member-avatar img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-overlay .social-links {
    display: flex;
    gap: 1rem;
}

.member-overlay .social-link {
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.member-overlay .social-link:hover {
    background: #cccccc;
    transform: scale(1.1);
}

.member-info h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: #888888;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.member-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Technologies Section */
.technologies-section {
    margin: 5rem 0;
}

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

.tech-category {
    background: #0a0a0a;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.tech-category h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
    position: relative;
}

.tech-category h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #ffffff;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-item {
    background: #333333;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #444444;
}

.tech-item:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* About CTA Section */
.about-cta {
    background: #0a0a0a;
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    margin: 6rem auto 4rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.about-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.about-cta:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

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

/* Page Section Styling */
.page-section {
    padding-top: 8rem;
    min-height: 100vh;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background: #000000;
    position: relative;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 15px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: #222222;
    border-color: #666666;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: #cccccc;
    margin: 0.3rem 0;
}

.whatsapp-link {
    color: #25D366;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
}

.contact-form-container {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #333333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--card-bg);
}

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

.form-submit {
    align-self: flex-start;
    margin-top: 1rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333333;
}

.map-embed iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-secondary, #0a0a0a);
    border-top: 1px solid var(--border-color, #333333);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-logo span {
    font-weight: 600;
    color: var(--text-primary, #ffffff);
}

.footer-description {
    color: var(--text-secondary, #cccccc);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1rem;
    text-align: center;
    color: #999999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom i {
    color: #ff4757;
}

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* ========================================
   Responsive Design
   ======================================== */

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        height: 300px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content .section-header {
        text-align: center;
    }
    
    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
    }
    
    [data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .nav-toggle,
    .nav-close {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
    
    .theme-toggle {
        font-size: 1rem;
        width: 35px;
        height: 35px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* About page tablet styles */
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-cta {
        padding: 3rem 2.5rem;
        margin: 5rem auto 3rem;
        max-width: 700px;
    }
    
    .portfolio-cta {
        padding: 3rem 2.5rem;
        margin: 5rem auto 3rem;
        max-width: 700px;
    }
    
    .services-cta {
        padding: 3rem 2.5rem;
        margin: 5rem auto 3rem;
        max-width: 700px;
    }
    
    .cta-content h3 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    /* Carousel responsive styles */
    .portfolio-carousel-container {
        padding: 2.5rem 0;
        min-height: 550px;
        perspective: 1200px;
    }
    
    .portfolio-carousel-3d {
        height: 500px;
    }
    
    .portfolio-slide {
        width: 380px;
        max-width: 85vw;
    }
    
    .portfolio-image-link iframe {
        height: 280px;
    }
    
    .portfolio-slide.active {
        transform: translate(-50%, -50%) translateZ(0) scale(1.05) rotateY(0deg);
    }
    
    .portfolio-slide.prev {
        transform: translate(calc(-50% - 420px), -50%) translateZ(-80px) scale(0.65) rotateY(12deg);
        opacity: 0.4;
    }
    
    .portfolio-slide.next {
        transform: translate(calc(-50% + 420px), -50%) translateZ(-80px) scale(0.65) rotateY(-12deg);
        opacity: 0.4;
    }
    
    .portfolio-slide.prev:hover {
        transform: translate(calc(-50% - 420px), -50%) translateZ(-60px) scale(0.7) rotateY(8deg);
        opacity: 0.7;
    }
    
    .portfolio-slide.next:hover {
        transform: translate(calc(-50% + 420px), -50%) translateZ(-60px) scale(0.7) rotateY(-8deg);
        opacity: 0.7;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn i {
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        gap: 12px;
    }
    
    .carousel-indicator.active {
        width: 40px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .portfolio-card {
        margin: 0 1rem;
    }
    
    /* Carousel mobile styles */
    .portfolio-carousel-container {
        padding: 2rem 0;
        min-height: 480px;
        perspective: 1000px;
    }
    
    .portfolio-carousel-3d {
        height: 420px;
    }
    
    .portfolio-slide {
        width: 300px;
        max-width: 88vw;
    }
    
    .portfolio-image-link iframe {
        height: 240px;
    }
    
    /* On mobile, show only center card with side previews barely visible */
    .portfolio-slide.active {
        transform: translate(-50%, -50%) translateZ(0) scale(1) rotateY(0deg);
    }
    
    .portfolio-slide.prev {
        transform: translate(calc(-50% - 280px), -50%) translateZ(-60px) scale(0.55) rotateY(18deg);
        opacity: 0.25;
        filter: brightness(0.5);
    }
    
    .portfolio-slide.next {
        transform: translate(calc(-50% + 280px), -50%) translateZ(-60px) scale(0.55) rotateY(-18deg);
        opacity: 0.25;
        filter: brightness(0.5);
    }
    
    .portfolio-slide.prev:hover,
    .portfolio-slide.next:hover {
        opacity: 0.4;
        filter: brightness(0.6);
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }
    
    .carousel-btn-prev {
        border-radius: 0 12px 12px 0;
    }
    
    .carousel-btn-next {
        border-radius: 12px 0 0 12px;
    }
    
    .carousel-btn i {
        font-size: 1.1rem;
    }
    
    .carousel-indicators {
        gap: 10px;
        margin-top: 2rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator.active {
        width: 35px;
        border-radius: 6px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    /* About page mobile styles */
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-cta {
        padding: 2.5rem 2rem;
        margin: 4rem auto 2rem;
        max-width: 100%;
    }
    
    .portfolio-cta {
        padding: 2.5rem 2rem;
        margin: 4rem auto 2rem;
        max-width: 100%;
    }
    
    .services-cta {
        padding: 2.5rem 2rem;
        margin: 4rem auto 2rem;
        max-width: 100%;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .portfolio-cta h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .portfolio-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .services-cta h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .services-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .member-avatar {
        width: 120px;
        height: 120px;
    }
    
    /* Portfolio Hero Responsive */
    .portfolio-hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }
    
    .portfolio-hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-hero-subtitle {
        font-size: 1rem;
    }
    
    /* Stats Grid Responsive */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Filter Buttons Responsive */
    .portfolio-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Testimonials Responsive */
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    /* Process Timeline Responsive */
    .process-step {
        grid-template-columns: auto 1fr !important;
        gap: 1.5rem;
    }
    
    .process-step:nth-child(even) .step-content {
        order: 0;
        text-align: left;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 1.4rem;
    }
    
    .step-number {
        font-size: 5rem;
    }
    
    /* CTA Section Responsive */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-tertiary {
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .cta-trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   Small Mobile Devices (480px)
   ======================================== */

@media screen and (max-width: 480px) {
    .portfolio-hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .filter-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-description {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator,
    .floating-element,
    .loader-spinner {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .portfolio-card,
    .contact-item {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Extra small screens (max-width: 360px) */
@media screen and (max-width: 360px) {
    .portfolio-carousel-container {
        min-height: 450px;
        padding: 1.5rem 0;
    }
    
    .portfolio-carousel-3d {
        height: 400px;
    }
    
    .portfolio-slide {
        width: 280px;
        max-width: 92vw;
    }
    
    .portfolio-image-link iframe {
        height: 220px;
    }
    
    .portfolio-slide.active {
        transform: translate(-50%, -50%) translateZ(0) scale(0.95) rotateY(0deg);
    }
    
    .portfolio-slide.prev {
        transform: translate(calc(-50% - 250px), -50%) translateZ(-60px) scale(0.5) rotateY(20deg);
        opacity: 0.2;
    }
    
    .portfolio-slide.next {
        transform: translate(calc(-50% + 250px), -50%) translateZ(-60px) scale(0.5) rotateY(-20deg);
        opacity: 0.2;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicator.active {
        width: 30px;
    }
}

/* ========================================
   Global Smooth Page Transitions
   ======================================== */

/* Smooth page entry animation */
body {
    animation: pageEntryFade 0.5s ease-in;
}

@keyframes pageEntryFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Universal smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Smooth link transitions */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth button hover */
button,
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Smooth form element focus */
input,
textarea,
select {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Smooth card animations */
.service-card,
.portfolio-card,
.team-member,
.contact-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Smooth section transitions */
section {
    opacity: 0;
    animation: sectionFadeIn 0.8s ease-out forwards;
}

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

/* Performance optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GPU acceleration for smooth animations */
.portfolio-slide,
.testimonial-slide,
.service-card,
.gradient-orb,
.floating-particles .particle {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Smooth modal/overlay transitions */
.modal,
.overlay {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Smooth loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Smooth hover lift effect */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scale effect */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure 60fps animations */
@media (prefers-reduced-motion: no-preference) {
    * {
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}
