/* Modern CSS Variables - Color Palette from Logo */
:root {
    --primary-color: #495355;
    /* Ana renk - logo'dan */
    --primary-light: #6b7578;
    /* Açık ton */
    --primary-dark: #353a3c;
    /* Koyu ton */
    --accent-color: #8fb3b8;
    /* Vurgu rengi - yeşilimsi mavi */
    --accent-warm: #c0a882;
    /* Sıcak vurgu - altınımsı */
    --accent-light: #b8d4d8;
    /* Çok açık accent */
    --text-color: #495355;
    /* Ana metin */
    --text-light: #6b7578;
    /* Açık metin */
    --text-white: #ffffff;
    /* Beyaz metin */
    --text-muted: #a8b2b4;
    /* Soluk metin */
    --bg-color: #ffffff;
    /* Ana arkaplan */
    --bg-light: #f8fafa;
    /* Açık arkaplan */
    --bg-section: #f2f6f6;
    /* Bölüm arkaplanı */
    --bg-accent: #f0f8f8;
    /* Accent arkaplan */
    --bg-warm: #faf8f5;
    /* Sıcak arkaplan */
    --bg-dark: #495355;
    /* Koyu arkaplan */
    --bg-darker: #353a3c;
    /* En koyu arkaplan */
    --border-color: #e4eaea;
    /* Kenarlık */
    --shadow: 0 4px 20px rgba(73, 83, 85, 0.08);
    --shadow-lg: 0 10px 40px rgba(73, 83, 85, 0.12);
    --shadow-xl: 0 20px 60px rgba(73, 83, 85, 0.15);
    --gradient-primary: linear-gradient(135deg, #495355 0%, #6b7578 100%);
    --gradient-accent: linear-gradient(135deg, #8fb3b8 0%, #c0a882 100%);
    --gradient-bg: linear-gradient(135deg, #ffffff 0%, #f8fafa 100%);
    --gradient-section: linear-gradient(135deg, #f2f6f6 0%, #f0f8f8 100%);
    --gradient-warm: linear-gradient(135deg, #faf8f5 0%, #f8fafa 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    font-weight: 400;
    width: 100%;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
}

/* Enhanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-container {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-shape {
    fill: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container:hover .logo-shape {
    fill: var(--accent-color);
}

.footer-logo-shape {
    fill: var(--text-white);
}

.logo-square {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-square:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-lg);
}

.logo-text {
    color: var(--text-white);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -1px;
}

.company-name {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu open state */
body.menu-open {
    overflow: hidden;
}

body.menu-open .nav-menu {
    display: flex !important;
}

/* Hero Section - Inspired by Collective People */
.hero {
    min-height: 100vh;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(143, 179, 184, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(192, 168, 130, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.08;
    animation: blobMove 25s infinite alternate ease-in-out;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-warm);
    border-radius: 50%;
    opacity: 0.06;
    animation: blobMove2 30s infinite alternate-reverse ease-in-out;
    z-index: 1;
}

@keyframes blobMove2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, 40px) scale(1.1);
    }

    100% {
        transform: translate(30px, -20px) scale(0.9);
    }
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -30px) scale(1.2);
    }

    100% {
        transform: translate(-20px, 20px) scale(0.8);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 30px;
    color: var(--text-color);
    letter-spacing: -0.04em;
}

.title-line {
    display: block;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #495355 0%, #6b7578 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle-main {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
}

.hero-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-tag {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-tag:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
}

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

.code-preview {
    background: var(--bg-dark);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transform: rotate(3deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.code-preview:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.code-header {
    background: #1a1a1a;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #28ca42;
}

.code-title {
    color: #a0aec0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.code-content {
    padding: 30px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 15px;
    line-height: 1.8;
    overflow-x: auto;
    word-wrap: break-word;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.code-line:hover {
    background: rgba(255, 255, 255, 0.05);
    margin: 0 -15px 8px;
    padding: 4px 15px;
    border-radius: 6px;
}

.line-num {
    color: #4a5568;
    margin-right: 24px;
    width: 24px;
    text-align: right;
    font-size: 13px;
    user-select: none;
}

.code-indent {
    padding-left: 24px;
}

.keyword {
    color: #bb86fc;
}

.variable {
    color: #03dac6;
}

.function {
    color: #82b1ff;
}

.string {
    color: #f48fb1;
}

.operator {
    color: #cf6679;
}

.bracket {
    color: #e1e1e1;
}

/* Services Section */
.services {
    padding: 150px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-section) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.services-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.timeline-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(50px);
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--accent-color);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-number {
    background: var(--gradient-accent);
    color: var(--text-white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Expertise Section */
.expertise {
    padding: 150px 0;
    background: var(--gradient-section);
    position: relative;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(143, 179, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(192, 168, 130, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.expertise::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 200px;
    height: 200px;
    background: var(--accent-warm);
    border-radius: 50%;
    opacity: 0.04;
    animation: blobMove 20s infinite alternate ease-in-out;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.expertise-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.expertise-description {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 20px;
    font-weight: 300;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.expertise-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(50px);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.expertise-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin-bottom: 25px;
    box-shadow: var(--shadow-lg);
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Projects Section */
.projects {
    padding: 150px 0;
    background: var(--gradient-warm);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.05;
    animation: blobMove2 25s infinite alternate ease-in-out;
}

.featured-project {
    max-width: 1400px;
    margin: 0 auto;
}

.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.project-label {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.project-hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

.project-features {
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.feature-item span {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.about-content {
    opacity: 0;
    transform: translateY(50px);
}

.about-content.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-hero-content {
    opacity: 0;
    transform: translateY(50px);
}

.project-hero-content.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
}

.project-hero-visual.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.project-mockup {
    width: 100%;
    max-width: 550px;
}

.mockup-browser {
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.browser-header {
    background: #f8f9fa;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 10px;
}

.browser-url {
    background: var(--bg-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-light);
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.browser-content {
    padding: 40px;
    background: var(--bg-light);
    min-height: 350px;
}

.mockup-dashboard {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.dashboard-stats {
    display: flex;
    gap: 30px;
}

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

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-chart {
    display: flex;
    gap: 12px;
    align-items: end;
    height: 100px;
}

.chart-bar {
    background: var(--gradient-primary);
    border-radius: 6px 6px 0 0;
    flex: 1;
    min-height: 25px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 1;
    transform: scaleY(1.1);
}

/* About Section */
.about {
    padding: 150px 0;
    background: var(--bg-color);
    position: relative;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.about-lead {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.4;
}

.about-description {
    margin-bottom: 50px;
}

.about-description p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 300;
}

.about-manifesto {
    margin-top: 50px;
}

.about-manifesto blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    border-left: 4px solid var(--primary-color);
    padding-left: 30px;
    margin: 0;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.02);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.tech-showcase {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.tech-showcase h4 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.02);
    opacity: 0;
    transform: translateY(30px);
}

.tech-item:hover {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(143, 179, 184, 0.1) 100%);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tech-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: var(--text-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.tech-item span {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 150px 0;
    background: var(--bg-dark);
    color: var(--text-white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.contact-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    font-weight: 300;
}

.contact-info {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.contact-details a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.contact-address {
    margin-top: 50px;
}

.contact-address h4 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-address p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-content {
    opacity: 0;
    transform: translateY(50px);
}

.contact-content.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-map-container {
    background: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(50px);
}

.contact-map-container.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px 20px 0 0;
}

.map-info {
    padding: 30px;
    background: var(--bg-light);
    text-align: center;
}

.map-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.map-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.map-directions {
    display: flex;
    justify-content: center;
}

/* Enhanced Buttons */
.btn {
    padding: 18px 36px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    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 0.5s;
}

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

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

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

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-white);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo .logo-square {
    background: var(--text-white);
    box-shadow: var(--shadow-lg);
}

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

.footer-logo .company-name {
    color: var(--text-white);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .nav-container {
        padding: 0 30px;
    }

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

    .expertise-content,
    .about-hero,
    .project-hero,
    .contact-hero {
        gap: 60px;
    }

    .services-timeline {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }

    .services-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expertise-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .project-hero {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-hero {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

    .footer-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Mobile Navigation Styles */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 3px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-toggle.active span {
        background: rgba(45, 55, 72, 0.98);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(45, 55, 72, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        padding-top: 0;
    }

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

    .nav-link {
        color: white !important;
        font-size: 1.5rem;
        margin: 20px 0;
        font-weight: 600;
        text-decoration: none;
        position: relative;
        z-index: 1003;
    }

    .nav-link::after {
        background: white;
    }

    .nav-link:hover {
        color: #8fb3b8 !important;
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        padding: 0 20px;
        gap: 60px;
    }

    .hero-tags {
        gap: 10px;
        justify-content: center;
    }

    .hero-tag {
        font-size: 12px;
        padding: 10px 20px;
    }

    .hero-visual {
        height: auto;
        min-height: 400px;
    }

    .code-preview {
        transform: rotate(0deg);
        max-width: 100%;
        margin: 0 auto;
    }

    .code-content {
        padding: 20px;
        font-size: 13px;
    }

    .code-header {
        padding: 12px 20px;
    }

    .services,
    .expertise,
    .projects,
    .about,
    .contact {
        padding: 100px 0;
    }

    .services-timeline {
        gap: 30px;
    }

    .timeline-item {
        padding: 30px;
        gap: 20px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

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

    .expertise-card {
        padding: 30px;
    }

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

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

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-map-container {
        margin: 0 -20px;
        border-radius: 15px;
    }

    .map-wrapper {
        height: 350px;
    }

    .map-info {
        padding: 25px;
    }

    .map-info h4 {
        font-size: 20px;
    }

    .mockup-browser {
        border-radius: 15px;
    }

    .browser-content {
        padding: 20px;
    }

    .dashboard-stats {
        gap: 20px;
    }

    .stat-value {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
        height: 65px;
    }

    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
    }

    .company-name {
        font-size: 16px;
    }

    .hero-container {
        padding: 0 15px;
        gap: 40px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-subtitle-main {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }

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

    .hero-tags {
        gap: 8px;
    }

    .hero-tag {
        font-size: 11px;
        padding: 8px 16px;
    }

    .hero-visual {
        height: auto;
        min-height: 300px;
    }

    .code-preview {
        transform: rotate(0deg);
        max-width: 100%;
    }

    .code-content {
        padding: 15px;
        font-size: 12px;
        line-height: 1.6;
    }

    .code-header {
        padding: 10px 15px;
    }

    .code-title {
        font-size: 13px;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .services,
    .expertise,
    .projects,
    .about,
    .contact {
        padding: 80px 0;
    }

    .services-timeline {
        gap: 20px;
    }

    .timeline-item {
        padding: 25px 20px;
        gap: 15px;
        flex-direction: column;
        text-align: center;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }

    .expertise-card {
        padding: 25px 20px;
    }

    .expertise-card h3 {
        font-size: 1.2rem;
    }

    .expertise-card p {
        font-size: 0.95rem;
    }

    .tech-showcase {
        padding: 25px 20px;
    }

    .tech-item {
        padding: 20px;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .about-title,
    .project-hero-title,
    .contact-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .about-lead {
        font-size: 1.2rem;
    }

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

    .about-manifesto blockquote {
        font-size: 1.1rem;
        padding: 20px;
    }

    .project-hero-description {
        font-size: 1rem;
    }

    .feature-item span {
        font-size: 0.95rem;
    }

    .contact-map-container {
        margin: 0 -15px;
        border-radius: 12px;
    }

    .map-wrapper {
        height: 300px;
    }

    .map-info {
        padding: 20px;
    }

    .map-info h4 {
        font-size: 18px;
    }

    .map-info p {
        font-size: 14px;
    }

    .contact-subtitle {
        font-size: 1.2rem;
    }

    .contact-details a {
        font-size: 1rem;
    }

    .contact-address p {
        font-size: 0.95rem;
    }

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

    .mockup-browser {
        border-radius: 12px;
    }

    .browser-content {
        padding: 15px;
        min-height: 250px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .dashboard-stats {
        gap: 15px;
    }

    .stat-value {
        font-size: 14px;
    }

    .dashboard-chart {
        height: 80px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* Prevent horizontal scroll on all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

/* Ensure all containers respect boundaries */
.hero,
.services,
.expertise,
.projects,
.about,
.contact,
.footer {
    width: 100%;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Hover effects for sections */
.timeline-item,
.expertise-card,
.tech-item {
    cursor: pointer;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .navbar,
    .hero-visual,
    .contact-form-container {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }
}