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

:root {
    /* Color Palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --accent-color: #ec4899;
    --accent-dark: #db2777;
    
    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px 0;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

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

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

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

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--dark);
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

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

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.highlight {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-mockup {
    background: var(--dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    transform: perspective(1000px) rotateY(-15deg) rotateX(15deg);
    transition: transform var(--transition-slow);
}

.code-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.mockup-header {
    background: var(--dark-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
}

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

.mockup-title {
    color: var(--gray-light);
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.mockup-content {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 8px;
}

.code-tag { color: #7dd3fc; }
.code-attr { color: #fbbf24; }
.code-string { color: #34d399; }
.code-content { color: var(--white); }
.code-indent { color: transparent; }

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Preview */
.services-preview {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

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

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="8" fill="%236366f1" opacity="0.03"/><circle cx="20" cy="70" r="12" fill="%23ec4899" opacity="0.03"/><circle cx="60" cy="80" r="6" fill="%23f59e0b" opacity="0.03"/><path d="M10,30 Q50,10 90,30" stroke="%236366f1" stroke-width="0.5" fill="none" opacity="0.05"/><path d="M10,60 Q50,40 90,60" stroke="%23ec4899" stroke-width="0.5" fill="none" opacity="0.05"/></svg>');
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 1;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
}

.service-card:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, rgba(102, 126, 234, 0.03) 100%);
}

.service-card:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.service-features span {
    background: var(--light);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.service-highlight {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--light) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: var(--border-radius-sm);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.service-card:hover .service-highlight {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(236, 72, 153, 0.05) 100%);
}

.service-highlight strong {
    display: block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-highlight small {
    color: var(--gray);
    font-size: 12px;
}

.services-cta {
    text-align: center;
}

/* Portfolio Showcase */
.portfolio-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.showcase-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.showcase-item:nth-child(2)::before {
    background: var(--gradient-secondary);
}

.showcase-item:nth-child(3)::before {
    background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
}

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

.showcase-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.showcase-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.showcase-item:nth-child(2) .showcase-icon {
    background: var(--gradient-secondary);
}

.showcase-item:nth-child(3) .showcase-icon {
    background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
}

.showcase-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
    font-family: var(--font-display);
}

.showcase-content > p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.showcase-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

.showcase-features i {
    color: var(--primary-color);
    font-size: 12px;
}

.showcase-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat span {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

/* Portfolio Preview - Legacy */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    position: relative;
    height: 300px;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item:nth-child(1) .portfolio-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-item:nth-child(2) .portfolio-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-item:nth-child(3) .portfolio-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.portfolio-image .image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.portfolio-image .image-placeholder h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-image .image-placeholder p {
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 250px;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23grid)"/><circle cx="50" cy="50" r="30" fill="white" opacity="0.05"/><circle cx="150" cy="100" r="20" fill="white" opacity="0.05"/><circle cx="100" cy="150" r="25" fill="white" opacity="0.05"/><rect x="120" y="30" width="40" height="25" rx="5" fill="white" opacity="0.08"/><rect x="30" y="120" width="35" height="20" rx="3" fill="white" opacity="0.08"/></svg>');
    background-size: cover;
    z-index: 0;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(236, 72, 153, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    padding: 30px;
    text-align: center;
}

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

.portfolio-info {
    color: var(--white);
}

.portfolio-info h4 {
    color: var(--white);
    margin-bottom: 12px;
}

.portfolio-info p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.portfolio-tags {
    margin-bottom: 20px;
}

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

.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.portfolio-stats i {
    color: #ffd700;
    font-size: 14px;
}

.portfolio-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 24px;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.social-link:hover {
    transform: translateY(-2px);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--dark-light);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-container {
        padding: 0 16px;
        height: 70px;
    }

    .nav-logo h2 {
        font-size: 24px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Mobile */
    .hero {
        min-height: 100vh;
        padding: 70px 0 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 16px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .code-mockup {
        transform: none;
        max-width: 280px;
        margin: 0 auto;
    }

    .mockup-content {
        padding: 16px;
        font-size: 12px;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 30px 20px;
        margin: 0 16px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .service-features {
        gap: 8px;
        margin-bottom: 20px;
    }

    .service-features span {
        font-size: 11px;
        padding: 4px 8px;
    }

    .service-highlight {
        margin-top: 20px;
        padding: 16px;
    }

    .service-highlight strong {
        font-size: 14px;
    }

    /* Portfolio Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 16px;
    }

    .portfolio-item {
        height: 250px;
        margin: 0;
    }

    .portfolio-image .image-placeholder {
        padding: 20px;
    }

    .portfolio-image .image-placeholder i {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .portfolio-image .image-placeholder h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .portfolio-image .image-placeholder p {
        font-size: 12px;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-info h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .portfolio-info > p {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .portfolio-tags {
        margin-bottom: 16px;
    }

    .portfolio-tags span {
        font-size: 10px;
        padding: 3px 8px;
    }

    .portfolio-stats {
        gap: 12px;
    }

    .portfolio-stats span {
        font-size: 10px;
        padding: 6px 10px;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo h3 {
        font-size: 20px;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }

    /* Buttons Mobile */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 16px;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 17px;
    }

    /* About Page Responsive */
    .about-story {
        padding: 60px 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .story-visual {
        order: -1;
    }

    .story-content {
        padding: 0 16px;
    }

    .story-text p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .story-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .stat-item {
        padding: 16px 12px;
    }

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

    .stat-label {
        font-size: 13px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mv-card {
        padding: 30px 20px;
        margin: 0 16px;
    }

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

    .value-card {
        margin: 0 16px;
        padding: 25px 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member {
        margin: 0 16px;
    }

    .process {
        padding: 60px 0;
    }

    .process-timeline {
        max-width: 100%;
        padding: 0 16px;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        flex-direction: row;
        padding-left: 80px;
        margin-bottom: 40px;
    }

    .process-step:nth-child(even) {
        flex-direction: row;
    }

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

    .step-number {
        position: absolute;
        left: 0;
        margin: 0;
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .step-content {
        max-width: 100%;
    }

    .step-content h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Services Page Responsive */
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .tech-items {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Portfolio Page Responsive */
    .filter-tabs {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

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

    /* Contact Page Responsive */
    .contact-section {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
    }

    .contact-form-container {
        order: 1;
    }

    .contact-info {
        order: 2;
        gap: 20px;
    }

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

    .contact-form {
        padding: 30px 20px;
        margin: 0;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 13px;
        line-height: 1.4;
    }

    .info-card {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        margin: 0 16px;
        padding: 20px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .info-content h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .info-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .contact-faq {
        padding: 60px 0;
    }

    .faq-list {
        padding: 0 16px;
    }

    .faq-question {
        padding: 20px 24px;
    }

    .faq-question h4 {
        font-size: 15px;
        line-height: 1.4;
        padding-right: 20px;
    }

    .faq-answer p {
        padding: 0 24px 20px;
        font-size: 13px;
        line-height: 1.6;
    }

    .map-container {
        height: 250px;
    }

    .map-content {
        padding: 20px;
    }

    .map-content i {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .map-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .map-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Showcase Responsive */
    .showcase-item {
        padding: 30px 20px;
    }

    .showcase-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .showcase-content h3 {
        font-size: 24px;
    }

    .showcase-content > p {
        font-size: 16px;
    }

    .showcase-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .showcase-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat strong {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }

    .container {
        padding: 0 12px;
    }

    /* Navigation Extra Small */
    .nav-container {
        padding: 0 12px;
        height: 65px;
    }

    .nav-logo h2 {
        font-size: 22px;
    }

    .nav-menu {
        top: 65px;
        padding: 25px 0;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }

    /* Hero Extra Small */
    .hero {
        min-height: 100vh;
        padding: 65px 0 30px;
    }

    .hero-container {
        padding: 0 12px;
        gap: 30px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .code-mockup {
        max-width: 260px;
    }

    .mockup-content {
        padding: 12px;
        font-size: 11px;
    }

    /* Section Headers Extra Small */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 15px;
    }

    /* Services Extra Small */
    .services-grid {
        gap: 25px;
    }

    .service-card {
        padding: 25px 16px;
        margin: 0 8px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 16px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .service-features {
        gap: 6px;
        margin-bottom: 16px;
    }

    .service-features span {
        font-size: 10px;
        padding: 3px 6px;
    }

    .service-highlight {
        margin-top: 16px;
        padding: 12px;
    }

    .service-highlight strong {
        font-size: 13px;
    }

    .service-highlight small {
        font-size: 11px;
    }

    /* Portfolio Extra Small */
    .portfolio-grid {
        gap: 25px;
        padding: 0 12px;
    }

    .portfolio-item {
        height: 220px;
    }

    .portfolio-image .image-placeholder {
        padding: 16px;
    }

    .portfolio-image .image-placeholder i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .portfolio-image .image-placeholder h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .portfolio-image .image-placeholder p {
        font-size: 11px;
        max-width: 200px;
    }

    .portfolio-overlay {
        padding: 16px;
    }

    .portfolio-info h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .portfolio-info > p {
        font-size: 11px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .portfolio-tags {
        margin-bottom: 12px;
    }

    .portfolio-tags span {
        font-size: 9px;
        padding: 2px 6px;
    }

    .portfolio-stats {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }

    .portfolio-stats span {
        font-size: 9px;
        padding: 4px 8px;
    }

    /* CTA Extra Small */
    .cta-section {
        padding: 40px 0;
    }

    .cta-content h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 12px;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    /* Buttons Extra Small */
    .btn {
        max-width: 260px;
        padding: 12px 20px;
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    /* Footer Extra Small */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-logo h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .footer-logo p {
        font-size: 13px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-contact p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    /* Touch Improvements */
    .hamburger {
        padding: 8px;
        margin: -8px;
    }

    .bar {
        width: 22px;
        height: 2px;
    }

    .nav-link {
        padding: 16px 0;
        display: block;
    }

    /* About Page Extra Small */
    .story-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 14px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .mv-card,
    .value-card,
    .team-member {
        margin: 0 8px;
        padding: 20px 16px;
    }

    .process-timeline {
        padding: 0 8px;
    }

    .process-step {
        padding-left: 70px;
        margin-bottom: 30px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .step-content h4 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 12px;
    }

    /* Contact Page Extra Small */
    .contact-grid {
        padding: 0 8px;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .info-card {
        margin: 0 8px;
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin: 0 auto;
    }

    .info-content h4 {
        font-size: 15px;
    }

    .info-content p {
        font-size: 12px;
    }

    .faq-list {
        padding: 0 8px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question h4 {
        font-size: 14px;
        padding-right: 16px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 12px;
    }

    .map-container {
        height: 200px;
    }

    .map-content i {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .map-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .map-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    /* Floating Elements */
    .floating-shapes {
        display: none;
    }

    .shape {
        display: none;
    }

    /* Performance Optimizations */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }

    .portfolio-overlay,
    .service-card,
    .btn {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* iOS Safari Fixes */
@supports (-webkit-appearance: none) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .contact-grid,
    .story-grid,
    .mv-grid,
    .values-grid,
    .team-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .info-card,
    .service-card,
    .mv-card,
    .value-card,
    .team-member {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* iPhone 11 Specific (414px width) */
@media only screen and (max-width: 414px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* About Page iPhone Fixes */
    .story-content {
        padding: 0 20px;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .mv-card,
    .value-card,
    .team-member {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Contact Page iPhone Fixes */
    .contact-grid {
        padding: 0 20px;
        gap: 30px;
    }
    
    .contact-form {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .info-card {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
    }
    
    .faq-list {
        padding: 0 20px;
    }
    
    .faq-item {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Process Timeline iPhone Fix */
    .process-timeline {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .process-step {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
        padding: 70px 0 20px;
    }

    .hero-container {
        gap: 30px;
    }

    .code-mockup {
        max-width: 250px;
    }

    .portfolio-item {
        height: 200px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .portfolio-item:hover {
        transform: none;
    }

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

    .portfolio-overlay {
        opacity: 0.1;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.7), rgba(236, 72, 153, 0.7));
    }

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

    .service-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.95);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Service cards and portfolio items should always be visible */
.service-card.animate-on-scroll,
.portfolio-item.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.portfolio-item {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.portfolio-item:hover {
    transform: scale(1.05) !important;
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page Header Styles */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.page-header-content h1 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-header-content p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* About Story Styles */
.about-story {
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: var(--border-radius-sm);
    transition: transform var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.story-visual {
    display: flex;
    justify-content: center;
}

.story-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 40px;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.image-placeholder h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.image-placeholder p {
    opacity: 0.9;
}

/* Mission & Vision Styles */
.mission-vision {
    background: var(--light);
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.mv-card:hover {
    transform: translateY(-8px);
}

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

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.mv-card h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.mv-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Values Styles */
.values {
    padding: 80px 0;
}

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

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.value-card h4 {
    margin-bottom: 16px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Team Styles */
.team {
    background: var(--light);
    padding: 80px 0;
}

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

.team-member {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-8px);
}

.member-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-image .image-placeholder {
    background: var(--gradient-primary);
}

.member-image .image-placeholder i {
    font-size: 3rem;
}

.member-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 var(--transition-normal);
}

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

.member-social {
    display: flex;
    gap: 16px;
}

.member-social .social-link {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

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

.member-info {
    padding: 30px;
    text-align: center;
}

.member-info h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 14px;
}

.member-description {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Services Page Styles */
.services-overview {
    padding: 60px 0;
    background: var(--light);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-intro p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

.main-services {
    padding: 80px 0;
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.service-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--light);
}

.service-detail-card .service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    flex-shrink: 0;
}

.service-title h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 24px;
}

.service-title p {
    color: var(--gray);
    margin: 0;
    font-size: 14px;
}

.service-content {
    padding: 30px;
}

.service-content > p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

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

.feature-item span {
    color: var(--gray);
}

.service-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--light);
    border-radius: var(--border-radius-sm);
    margin: -10px -10px 0;
}

.price-label {
    color: var(--gray);
    font-size: 14px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-process {
    background: var(--light);
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
    position: relative;
}

.process-step-card:hover {
    transform: translateY(-8px);
}

.process-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.process-step-card h4 {
    margin-bottom: 16px;
    color: var(--dark);
}

.process-step-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.technology-stack {
    padding: 80px 0;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tech-category {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.tech-category:hover {
    transform: translateY(-5px);
}

.tech-category h4 {
    margin-bottom: 24px;
    color: var(--dark);
    text-align: center;
    font-size: 20px;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 10px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

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

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

.tech-item span {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
    text-align: center;
}

.faq-section {
    background: var(--light);
    padding: 80px 0;
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background: var(--light);
}

.faq-question h4 {
    margin: 0;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding: 0 30px 24px;
    margin: 0;
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Portfolio Page Styles */
.portfolio-filter {
    padding: 40px 0;
    background: var(--light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    color: var(--gray);
    border: 2px solid var(--light);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.portfolio-gallery {
    padding: 80px 0;
}

.portfolio-project {
    opacity: 1;
    transform: scale(1);
    transition: all var(--transition-normal);
}

.project-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(236, 72, 153, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    padding: 30px;
    text-align: center;
}

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

.project-info {
    color: var(--white);
}

.project-info h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 20px;
}

.project-info > p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.project-actions {
    display: flex;
    justify-content: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.project-details {
    padding: 0 10px;
}

.project-details h4 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 18px;
}

.project-details > p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.project-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-light);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.load-more {
    text-align: center;
    margin-top: 60px;
}

.testimonials {
    background: var(--light);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

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

.testimonial-content {
    margin-bottom: 30px;
}

.quote-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.author-info h4 {
    margin-bottom: 4px;
    color: var(--dark);
    font-size: 16px;
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 20px;
    transition: transform var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-4px);
}

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

.info-content h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.info-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.contact-social {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-social h4 {
    margin-bottom: 20px;
    color: var(--dark);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-social .social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
    padding: 8px 0;
}

.contact-social .social-link:hover {
    color: var(--primary-color);
}

.contact-social .social-link i {
    width: 24px;
    height: 24px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-social .social-link span {
    flex: 1;
}

.map-section {
    background: var(--light);
    padding: 0;
}

.map-container {
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--white);
}

.map-content i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.map-content h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.map-content p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.contact-faq {
    padding: 80px 0;
}

/* Process Styles */
.process {
    padding: 80px 0;
}

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

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 2;
    margin: 0 40px;
}

.step-content {
    flex: 1;
    max-width: 300px;
}

.step-content h4 {
    margin-bottom: 12px;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }
