:root {
    --accent-primary: #cc66cc;
    --accent-secondary: #b84cb8;
    --accent-light: #e6b3e6;
    --accent-dark: #a339a3;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #eeeeee;
    --bg-dark: #666666;
    
    --text-primary: #2a2a2a;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-light: #ffffff;
    
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --border-dark: #555555;
    
    --shadow-sm: 0 4px 12px rgba(102, 102, 102, 0.1);
    --shadow-md: 0 8px 24px rgba(102, 102, 102, 0.15);
    --shadow-lg: 0 16px 48px rgba(102, 102, 102, 0.2);
    
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #3a3a3a;
    --bg-dark: #0f0f0f;
    
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-tertiary: #999999;
    --text-light: #1a1a1a;
    
    --border-color: #444444;
    --border-light: #333333;
    --border-dark: #555555;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--bg-secondary);
}

/* Tighter spacing for services and portfolio flow */
.services-overview {
    padding-bottom: 60px;
}

.portfolio-preview {
    padding-top: 60px;
    position: relative;
}

.portfolio-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.6;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.text-large {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background-color: transparent;
    transition: background-color var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
    background-color: var(--bg-primary);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}

.logo-text-top,
.logo-text-bottom {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.2px;
    transition: color var(--transition-fast);
    white-space: nowrap;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
    color: #ffffff;
}

.logo-text-top {
    font-size: 16px;
}

.logo-text-bottom {
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform var(--transition-fast);
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.3)) brightness(1.15);
}

.logo:hover {
    color: var(--accent-primary);
}

.logo:hover .logo-text-top,
.logo:hover .logo-text-bottom {
    color: var(--accent-primary);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--accent-primary);
}

[data-theme="light"] .moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

/* Light theme navbar adjustments */
[data-theme="light"] .navbar:not(.scrolled) .logo,
[data-theme="light"] .navbar:not(.scrolled) .nav-link,
[data-theme="light"] .navbar:not(.scrolled) .theme-toggle {
    color: #ffffff;
}

[data-theme="light"] .navbar:not(.scrolled) .logo-text-top,
[data-theme="light"] .navbar:not(.scrolled) .logo-text-bottom {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar:not(.scrolled) .nav-toggle span {
    background-color: #ffffff;
}

[data-theme="light"] .navbar.scrolled .logo,
[data-theme="light"] .navbar.scrolled .nav-link,
[data-theme="light"] .navbar.scrolled .theme-toggle,
[data-theme="light"] .nav-menu.active .nav-link {
    color: var(--text-primary);
}

[data-theme="light"] .navbar.scrolled .logo-text-top,
[data-theme="light"] .navbar.scrolled .logo-text-bottom {
    color: var(--text-primary);
}

[data-theme="light"] .navbar.scrolled .nav-toggle span {
    background-color: var(--text-primary);
}

/* Dark theme architect section */
[data-theme="dark"] .architect-section {
    background: linear-gradient(135deg, 
        rgba(204, 102, 204, 0.08) 0%, 
        rgba(26, 26, 26, 1) 40%, 
        rgba(204, 102, 204, 0.1) 100%);
    border: 1px solid rgba(204, 102, 204, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .architect-section::before {
    opacity: 0.8;
}

[data-theme="dark"] .highlight-item {
    background: rgba(42, 42, 42, 0.6);
    border: 1px solid rgba(204, 102, 204, 0.15);
}

[data-theme="dark"] .highlight-item:hover {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(204, 102, 204, 0.3);
}

/* Dark theme portfolio styles */
[data-theme="dark"] .portfolio-item {
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .portfolio-item:hover {
    box-shadow: 0 12px 32px rgba(204, 102, 204, 0.3);
}

[data-theme="dark"] .portfolio-image {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .portfolio-image img {
    filter: brightness(0.85) contrast(1.1) saturate(1.15);
}

[data-theme="dark"] .portfolio-item:hover .portfolio-image img {
    filter: brightness(0.75) contrast(1.2) saturate(1.25);
}

[data-theme="dark"] .portfolio-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.4) 80%,
        transparent 100%
    );
}

/* Dark theme workflow styles */
[data-theme="dark"] .workflow-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .workflow-step {
    background: var(--bg-secondary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .workflow-step:hover {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(204, 102, 204, 0.05) 100%);
    box-shadow: 0 20px 48px rgba(204, 102, 204, 0.2);
}

[data-theme="dark"] .workflow-icon {
    background: linear-gradient(135deg, rgba(204, 102, 204, 0.15), rgba(204, 102, 204, 0.08));
}

/* Dark theme why choose us styles */
[data-theme="dark"] .choose-item {
    background: var(--bg-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .choose-item:hover {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(204, 102, 204, 0.03) 100%);
    box-shadow: 0 12px 32px rgba(204, 102, 204, 0.15);
}

[data-theme="dark"] .choose-icon {
    background: linear-gradient(135deg, rgba(204, 102, 204, 0.18), rgba(204, 102, 204, 0.1));
}

/* Dark theme testimonial styles */
[data-theme="dark"] .testimonial-card {
    background: var(--bg-secondary);
    border-color: rgba(204, 102, 204, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .testimonial-card:hover {
    box-shadow: 0 20px 48px rgba(204, 102, 204, 0.2);
}

[data-theme="dark"] .testimonial-author {
    border-top-color: rgba(204, 102, 204, 0.15);
}

/* Light theme hero button adjustments */
[data-theme="light"] .hero .btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

[data-theme="light"] .hero .btn-secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 24px rgba(204, 102, 204, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(204, 102, 204, 0.5),
                0 4px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: var(--text-light);
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-primary);
    padding: 0;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.btn-text:hover {
    color: var(--accent-dark);
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(204, 102, 204, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.8),
                 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 540px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7),
                 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 56px;
    padding-top: 8px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 4px;
    letter-spacing: -1px;
    line-height: 1;
}

.trust-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.carousel-indicators {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    backdrop-filter: blur(8px);
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator.active::before {
    left: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scaleY(1.5);
}

.indicator.active {
    background: var(--accent-primary);
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-placeholder {
    width: 100%;
    height: 650px;
    background: linear-gradient(135deg, rgba(204, 102, 204, 0.2) 0%, rgba(204, 102, 204, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(204, 102, 204, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

.split-content {
    max-width: 540px;
}

.split-content h2 {
    margin-bottom: 24px;
}

.split-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.split-image {
    position: relative;
    height: 100%;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
    border-radius: 8px;
}

.architect-section {
    margin-top: 60px;
    padding: 36px;
    background: linear-gradient(135deg, 
        rgba(204, 102, 204, 0.03) 0%, 
        rgba(255, 255, 255, 1) 40%, 
        rgba(204, 102, 204, 0.04) 100%);
    border-radius: 16px;
    border: 1px solid rgba(204, 102, 204, 0.15);
    box-shadow: 0 10px 40px rgba(204, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
}

.architect-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 50%, 
        transparent 100%);
    opacity: 0.6;
}

.architect-header {
    text-align: center;
    margin-bottom: 28px;
}

.architect-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 8px;
    letter-spacing: -0.5px;
}

.architect-content {
    max-width: 900px;
    margin: 0 auto;
}

.architect-bio {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: justify;
}

.architect-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: 8px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(204, 102, 204, 0.15);
}

.highlight-item svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.architect-expertise {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(204, 102, 204, 0.2);
    border-color: var(--accent-primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.service-icon {
    display: none;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin: 24px 24px 12px 24px;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-description {
    color: var(--text-secondary);
    padding: 0 24px 28px 24px;
    line-height: 1.7;
    font-size: 15px;
}

/* Workflow Section */
.workflow-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(204, 102, 204, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(204, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.workflow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.workflow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 32px 20px;
    border-radius: 20px;
    background: var(--bg-primary);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out backwards;
}

.workflow-step[data-step="1"] { animation-delay: 0.1s; }
.workflow-step[data-step="2"] { animation-delay: 0.2s; }
.workflow-step[data-step="3"] { animation-delay: 0.3s; }
.workflow-step[data-step="4"] { animation-delay: 0.4s; }
.workflow-step[data-step="5"] { animation-delay: 0.5s; }

.workflow-step:hover {
    transform: translateY(-12px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 48px rgba(204, 102, 204, 0.15);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(204, 102, 204, 0.03) 100%);
}

.workflow-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(204, 102, 204, 0.1), rgba(204, 102, 204, 0.05));
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.workflow-step:hover .workflow-icon::before {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

.workflow-icon svg {
    width: 56px;
    height: 56px;
    color: var(--accent-primary);
    transition: all 0.4s ease;
}

.workflow-step:hover .workflow-icon {
    transform: scale(1.1) rotate(5deg);
}

.workflow-step:hover .workflow-icon svg {
    color: var(--accent-secondary);
    filter: drop-shadow(0 4px 12px rgba(204, 102, 204, 0.3));
}

.workflow-content {
    flex: 1;
}

.workflow-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.workflow-step:hover .workflow-title {
    color: var(--accent-primary);
}

.workflow-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}

.workflow-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.workflow-step:hover .workflow-number {
    opacity: 1;
    transform: scale(1.15);
}

/* Auto-active state for workflow animation */
.workflow-step.auto-active {
    transform: translateY(-12px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 48px rgba(204, 102, 204, 0.15);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(204, 102, 204, 0.03) 100%);
}

.workflow-step.auto-active .workflow-icon::before {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

.workflow-step.auto-active .workflow-icon {
    transform: scale(1.1) rotate(5deg);
}

.workflow-step.auto-active .workflow-icon svg {
    color: var(--accent-secondary);
    filter: drop-shadow(0 4px 12px rgba(204, 102, 204, 0.3));
}

.workflow-step.auto-active .workflow-title {
    color: var(--accent-primary);
}

.workflow-step.auto-active .workflow-number {
    opacity: 1;
    transform: scale(1.15);
}

.workflow-arrow {
    flex-shrink: 0;
    width: 60px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-out backwards 0.6s;
}

.workflow-arrow svg {
    width: 100%;
    height: 100%;
    color: var(--accent-primary);
    opacity: 0.4;
    transition: all 0.3s ease;
    animation: slideRight 2s ease-in-out infinite;
}

.workflow-arrow:hover svg {
    opacity: 1;
    transform: translateX(8px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.4;
    }
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhance existing animations */
.service-card,
.portfolio-item,
.testimonial-card,
.choose-item {
    will-change: transform, opacity;
}

/* Subtle hover lift effect */
.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 48px;
    background: var(--bg-primary);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    background: var(--bg-secondary);
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 420px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Different size variations for masonry effect */
.portfolio-large {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

.portfolio-wide {
    grid-column: span 2;
    height: 420px;
}

.portfolio-tall {
    grid-row: span 2;
    height: auto;
}

.portfolio-medium {
    height: 420px;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(204, 102, 204, 0.1),
        rgba(153, 51, 153, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.92) contrast(1.08) saturate(1.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
    filter: brightness(0.85) contrast(1.15) saturate(1.2);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.3) 80%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.portfolio-overlay p {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    background: rgba(204, 102, 204, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    width: fit-content;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.projects-subsection {
    margin-bottom: 80px;
}

.subsection-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-badge.ongoing {
    background-color: var(--accent-primary);
    color: var(--text-light);
}

.project-badge.completed {
    background-color: #4caf50;
    color: white;
}

.project-info {
    padding: 24px;
}

.project-info h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.project-status,
.project-year {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
}

/* Why Choose Us Section */
.why-choose-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.choose-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.choose-item:hover::before {
    transform: scaleY(1);
}

.choose-item:hover {
    transform: translateX(8px);
    border-color: rgba(204, 102, 204, 0.2);
    box-shadow: 0 12px 32px rgba(204, 102, 204, 0.1);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(204, 102, 204, 0.02) 100%);
}

.choose-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(204, 102, 204, 0.12), rgba(204, 102, 204, 0.06));
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.choose-item:hover .choose-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.choose-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.choose-item:hover .choose-icon svg {
    color: white;
}

.choose-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin: 0;
    transition: color 0.3s ease;
}

.choose-item:hover .choose-title {
    color: var(--accent-primary);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    text-align: center;
    padding: 40px;
}

.testimonial-text {
    font-size: 24px;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
}

/* Modern Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 28px 24px 24px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 20px 48px rgba(204, 102, 204, 0.12);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-quote-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-primary);
    opacity: 0.3;
}

.testimonial-quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-card .testimonial-text {
    font-size: 15px;
    font-style: normal;
    line-height: 1.65;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 16px;
    color: white;
    letter-spacing: 1px;
}

.author-info {
    text-align: left;
    flex: 1;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.author-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.testimonial-rating svg {
    width: 14px;
    height: 14px;
    color: #FFA500;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-btn {
    background: none;
    border: 2px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.testimonial-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.testimonial-dot.active {
    background-color: var(--accent-primary);
}

.final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #2a1a2a 25%, 
        #3a1a3a 50%, 
        #2a1a2a 75%, 
        #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(204, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(153, 51, 153, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(204, 102, 204, 0.5) 50%, 
        transparent 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 52px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.7;
}

.footer {
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    color: var(--text-light);
    padding: 80px 0 0;
    border-top: 1px solid rgba(204, 102, 204, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 45px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}

.footer-logo-text-top,
.footer-logo-text-bottom {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #ffffff;
    white-space: nowrap;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
}

.footer-logo-text-top {
    font-size: 16px;
}

.footer-logo-text-bottom {
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.footer-description {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(204, 102, 204, 0.3);
}

.footer-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-size: 15px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-primary);
    opacity: 0.8;
}

.footer-bottom {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.page-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.about-hero {
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 1) 0%, 
        rgba(45, 26, 45, 1) 50%, 
        rgba(26, 26, 26, 1) 100%);
}

[data-theme="light"] .about-hero {
    background: linear-gradient(135deg, 
        rgba(32, 22, 38, 1) 0%, 
        rgba(48, 28, 52, 1) 50%, 
        rgba(32, 22, 38, 1) 100%);
}

[data-theme="light"] .page-hero-content .page-title {
    color: #ffffff;
}

[data-theme="light"] .page-hero-content .page-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .page-hero-content .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, var(--text-primary) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 32px;
}

.page-title {
    font-size: 72px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1.1;
}

.highlight-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 64px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: -1px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px;
}

.value-icon {
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.value-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
    border-radius: 8px;
    margin-bottom: 24px;
}

.member-info h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.member-role {
    font-size: 14px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.member-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.process-step {
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
    justify-items: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
    margin-bottom: 100px;
}

/* Ensure service detail content and images are visible by default */
.service-detail-content,
.service-detail-image {
    opacity: 1;
    transform: none;
}

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-icon-large {
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.service-detail-content h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-features {
    list-style: none;
    margin-top: 24px;
}

.service-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.service-detail-image {
    position: relative;
    height: 100%;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.pricing-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 48px;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary);
    color: white;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.pricing-price {
    margin-bottom: 16px;
}

.price-currency {
    font-size: 24px;
    color: var(--text-secondary);
    vertical-align: super;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-primary);
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.portfolio-filters {
    padding: 32px 0 12px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}

.filter-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(120deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.portfolio-gallery.section {
    position: relative;
    padding: 40px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.portfolio-gallery.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 45%);
    pointer-events: none;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(12px, 3vw, 24px);
    position: relative;
    z-index: 1;
}

.portfolio-item-large {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
    min-height: 360px;
    background: var(--bg-primary);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.6s ease, transform 0.6s ease;
}

.portfolio-item-large:hover {
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.portfolio-item-large .portfolio-image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-item-large .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform-origin: center;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-item-large:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-item-large .portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.05) 0%, rgba(5, 7, 10, 0.92) 65%);
    color: #fff;
    transition: background 0.4s ease, padding 0.4s ease;
}

.portfolio-item-large:hover .portfolio-overlay {
    padding-bottom: 40px;
}

.portfolio-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 6px 14px;
    align-self: flex-start;
}

.portfolio-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 8px 0 4px;
}

.portfolio-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 90%;
}

.projects-list {
    display: grid;
    gap: 60px;
}

.project-card-detailed {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card-detailed:hover {
    box-shadow: var(--shadow-lg);
}

.project-image-large {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
}

.project-details {
    padding: 40px;
}

.project-details h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-primary);
    transition: width var(--transition-slow);
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form-container {
    flex: 1 1 500px;
    min-width: 300px;
}

.contact-info-container {
    flex: 1 1 400px;
    min-width: 300px;
}

.contact-form-container {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.contact-form-container h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-intro {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(204, 102, 204, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-form .btn-large {
    margin-top: 8px;
    width: 100%;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.contact-form .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(204, 102, 204, 0.3);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: var(--text-secondary);
}

.form-note {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 16px;
    text-align: center;
    line-height: 1.5;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    background-color: var(--bg-secondary);
    padding: 32px;
    border-radius: 8px;
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 8px;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.day {
    font-weight: 600;
    color: var(--text-primary);
}

.time {
    color: var(--text-secondary);
}

.hours-note {
    font-size: 14px;
    color: var(--accent-primary);
    font-style: italic;
}

.social-links-large {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link-large {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-primary);
    color: white;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.social-link-large:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.map-section {
    height: 400px;
    background-color: var(--bg-tertiary);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-color));
}

.map-overlay {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.map-overlay p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.map-overlay span {
    font-size: 14px;
    color: var(--text-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-item {
    padding: 32px;
    background-color: var(--bg-primary);
    border-radius: 8px;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .portfolio-item {
        height: 320px;
    }
    
    .portfolio-large {
        grid-column: span 2;
        grid-row: span 2;
        height: auto;
    }
    
    .portfolio-tall {
        grid-row: span 2;
        height: auto;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-preview .split-layout {
        display: flex;
        flex-direction: column;
    }
    
    .about-preview .split-content {
        order: 1;
    }
    
    .about-preview .split-image {
        order: 2;
    }
    
    .architect-section {
        margin-top: 60px;
        padding: 32px 24px;
    }
    
    .architect-title {
        font-size: 28px;
    }
    
    .architect-bio,
    .architect-expertise {
        font-size: 16px;
        text-align: left;
    }
    
    .architect-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-container {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .workflow-step {
        flex:6px;
    }
    
    .portfolio-item {
        height: 280px;
    }
    
    .portfolio-large {
        grid-column: span 2;
        grid-row: span 2;
        height: auto;
    }
    
    .portfolio-wide {
        grid-column: span 2;
        height: 280px;
    }
    
    .portfolio-tall {
        grid-row: span 2;
        height: auto;
    }
    
    .portfolio-wide {
        grid-column: span 2;
        height: 320px;
    }
    
    .portfolio-tall {
        grid-column: span 1;
        height: 420px;
    }
    
    .portfolio-medium {
        height: 320px;
    }
    
    .portfolio-overlay {
        padding: 24px;
    }
    
    .portfolio-overlay h3 {
        font-size: 22px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .service-detail-item {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card-detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 30px 0;
    }
    
    .services-overview {
        padding-bottom: 40px;
    }
    
    .portfolio-preview {
        padding-top: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .page-title {
        font-size: 40px;
    }
    
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 10px;
    }
    
    .hero-container {
        padding: 0 24px;
        gap: 32px;
    }
    
    .hero-content {
        padding-bottom: 10px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.25;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .hero-cta .btn-large {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .carousel-indicators {
        bottom: 24px;
        gap: 8px;
    }
    
    .indicator {
        width: 30px;
        height: 2.5px;
    }
    
    .trust-indicators {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .logo img {
        height: 28px;
        max-width: 110px;
    }
    
    .logo-text-top {
        font-size: 13px;
        letter-spacing: 1px;
    }
    
    .logo-text-bottom {
        font-size: 11px;
        letter-spacing: 1.2px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .services-grid,
    .portfolio-grid,
    .projects-grid,
    .team-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonial-card {
        padding: 32px 24px 24px;
    }
    
    .testimonial-quote-icon {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 15px;
    }
    
    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 13px;
    }
    
    .testimonial-rating svg {
        width: 14px;
        height: 14px;
    }
    
    .workflow-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .workflow-step {
        width: 100%;
        padding: 24px 16px;
    }
    
    .workflow-icon {
        width: 80px;
        height: 80px;
    }
    
    .workflow-icon svg {
        width: 44px;
        height: 44px;
    }
    
    .workflow-title {
        font-size: 18px;
    }
    
    .workflow-description {
        font-size: 13px;
        max-width: 100%;
    }
    
    .workflow-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .workflow-arrow {
        display: none;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .choose-item {
        padding: 20px 24px;
        gap: 16px;
    }
    
    .choose-item:hover {
        transform: translateX(4px);
    }
    
    .choose-icon {
        width: 44px;
        height: 44px;
    }
    
    .choose-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .choose-title {
        font-size: 16px;
    }
    
    .portfolio-item {
        height: 300px;
    }
    
    .portfolio-large,
    .portfolio-wide,
    .portfolio-tall,
    .portfolio-medium {
        grid-column: span 1;
        height: 300px;
    }
    
    .portfolio-overlay {
        padding: 20px;
    }
    
    .portfolio-overlay h3 {
        font-size: 20px;
    }
    
    .portfolio-overlay p {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonial-text {
        font-size: 18px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .process-step {
        padding-left: 0;
        padding-top: 70px;
    }
    
    .step-number {
        top: 0;
        left: 0;
    }
    
    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        padding: 0 8px;
        gap: 10px;
    }
    
    .filter-btn {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
        padding: 10px 16px;
    }
    
    .portfolio-item-large {
        min-height: 280px;
        border-radius: 18px;
    }
    
    .portfolio-item-large .portfolio-image {
        min-height: 280px;
    }
    
    .portfolio-item-large .portfolio-overlay {
        padding: 24px;
        gap: 10px;
    }
    
    .portfolio-title {
        font-size: 22px;
    }
    
    .portfolio-description {
        font-size: 14px;
        max-width: 100%;
    }
    
    .page-hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }
    
    .page-title {
        font-size: 40px;
        letter-spacing: -1px;
    }
    
    .page-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 32px;
        margin-top: 48px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: -0.8px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-carousel {
        height: 300px;
        border-radius: 10px;
    }
    
    .hero-carousel .carousel-slide img {
        object-fit: cover;
        object-position: center;
    }
    
    .hero-cta .btn-large {
        padding: 11px 20px;
        font-size: 13px;
    }
    
    .trust-item {
        min-width: 120px;
    }
    
    .trust-number {
        font-size: 36px;
    }
    
    .trust-label {
        font-size: 11px;
    }
    
    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }
    
    .indicator {
        width: 24px;
        height: 2px;
    }
    
    .page-hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }
    
    .page-title {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

/* Scroll Animation Styles */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.scroll-fade.active {
    opacity: 1;
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Prevent animation classes from hiding no-animation items */
.no-animation .scroll-slide-left,
.no-animation .scroll-slide-right {
    opacity: 1 !important;
    transform: none !important;
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
.stagger-delay-5 { transition-delay: 0.5s; }
.stagger-delay-6 { transition-delay: 0.6s; }

/* Backward compatibility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure no-animation items are always visible */
.service-detail-item.no-animation,
.service-detail-item.no-animation *,
.service-detail-item.no-animation .service-detail-content,
.service-detail-item.no-animation .service-detail-image,
.service-detail-item.no-animation .scroll-slide-left,
.service-detail-item.no-animation .scroll-slide-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.service-detail-item.no-animation .service-detail-content,
.service-detail-item.no-animation .service-detail-image {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .filter-btn,
    .portfolio-item-large,
    .portfolio-item-large .portfolio-image img,
    .portfolio-item-large .portfolio-overlay {
        transition: none !important;
    }
}
