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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

/* Header - KA Mühendislik Style */
/* ============================================
   MÜKEMMEL HEADER TASARIMI
   Profesyonel, Minimal, Responsive
   ============================================ */

.navbar {
    position: fixed;
    top: 15px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navInside {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 70px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.top-nav:hover {
    background: rgba(31, 41, 55, 0.35);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.navgap {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

/* Logo - Mükemmel Hizalama, Sıfır Boşluk */
.logo {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 16px 0;
    line-height: 0;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.02);
}

.logo span {
    font-size: 1.625rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.logo img {
    display: block;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.02);
}

/* Navigation Links - Mükemmel Hover Efektleri */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    position: relative;
    white-space: nowrap;
    padding: 0.75rem 0;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::before {
    width: 100%;
}

/* Language Switch - Elegant Design */
.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.language-switch:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-switch a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.language-switch a.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.language-switch a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.language-switch span {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* Contact Button - Premium Design */
.contact-button {
    margin: 0;
    padding: 0;
}

.contact-button a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: white;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    border-radius: 70px;
    border: none;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.contact-button a:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

.contact-button a:hover::before {
    left: 100%;
}

.contact-button a:active {
    transform: translateY(0);
}

.contact-button svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-button a:hover svg {
    transform: translateX(4px);
}

/* Hamburger Menu - Premium Animation */
.boxMenu {
    display: none;
}

.btnMenu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    z-index: 1001;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btnMenu:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.btnMenu.active {
    background: rgba(255, 255, 255, 0.2);
}

.btnMenu span {
    width: 22px;
    height: 2.5px;
    background: white;
    border-radius: 3px;
    display: block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.btnMenu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
    width: 22px;
}

.btnMenu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
    width: 0;
}

.btnMenu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
    width: 22px;
}

/* Mobile Menu - Hidden on Desktop */
.nav-links2 {
    display: none;
}

.mobile-menu-header,
.mobile-menu-logo,
.mobile-language-switch,
.mobile-menu-close,
.mobile-menu-links {
    display: none;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    padding-top: 60px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-context {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title-has-logo {
    line-height: 1.15;
}

.hero-title-lockup {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35em 0.65em;
    max-width: 100%;
}

.hero-title-logo {
    display: block;
    flex: 0 1 auto;
    max-width: min(85vw, 520px);
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.hero-title-text-after-logo {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Buttons - Modern & Minimal */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: white;
    border-color: var(--primary-color);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.contact-cta-section .btn-primary {
    background: white;
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Base Section Styles */
section {
    position: relative;
}


/* ============================================
   HOMEPAGE SECTIONS - PROFESSIONAL REDESIGN
   Modern, Elegant, Minimal, Responsive
   Complete HTML Structure Redesign
   ============================================ */

/* Section Intro - Universal */
.section-intro {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-light);
    line-height: 1.7;
}

.section-action {
    text-align: center;
    margin-top: 4rem;
}

/* Homepage Services Section */
.homepage-services {
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.homepage-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.5), transparent);
}

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

.service-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-visual {
    margin-bottom: 2rem;
}

.service-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-icon-wrapper {
    transform: scale(1.1) translateY(-4px);
    background: rgba(37, 99, 235, 0.12);
}

.service-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.service-details {
    text-align: center;
}

.service-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.service-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Homepage Projects Section */
.homepage-projects {
    background: var(--bg-white);
    padding: 8rem 0;
    position: relative;
}

.homepage-projects .homepage-featured-sort {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

/* Sıralama sonrası sayfa yenilendiğinde anchor ile kaydırma; sabit menü için ofset */
#one-cikan-projeler {
    scroll-margin-top: 6rem;
}

.homepage-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.5), transparent);
}

.projects-page {
    min-height: 100vh;
}

.projects-section {
    background: var(--bg-white);
    padding: 4rem 0;
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
}

.project-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.project-item:hover::before {
    opacity: 1;
}

.project-item:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.project-media {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-media img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

.project-status-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.5rem 1.125rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.project-item:hover .project-status-badge {
    transform: scale(1.05);
}

.project-status-badge.completed {
    color: var(--secondary-color);
}

.project-status-badge.ongoing {
    color: var(--primary-color);
}

.project-info {
    padding: 2.25rem;
    position: relative;
    z-index: 1;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.project-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.meta-entry {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.meta-entry svg {
    flex-shrink: 0;
    color: var(--text-light);
    opacity: 0.7;
}

.project-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    background: var(--bg-white);
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close svg {
    color: var(--text-dark);
}

.modal-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-image-container {
    width: 100%;
    max-height: none;
    overflow: visible;
    background: var(--bg-light);
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.modal-image-container img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.modal-gallery {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.modal-main-wrap {
    position: relative;
}

.modal-main-image {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.modal-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.modal-thumb {
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
    cursor: pointer;
    flex: 0 0 auto;
    width: 84px;
    height: 64px;
    overflow: hidden;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-thumb.active {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(15, 23, 42, 0.45);
    color: white;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.15s ease, background 0.15s ease;
}

.modal-nav-btn:hover {
    background: rgba(15, 23, 42, 0.6);
    transform: translateY(-50%) scale(1.04);
}

.modal-nav-btn.prev { left: 10px; }
.modal-nav-btn.next { right: 10px; }

@media (max-width: 480px) {
    .modal-main-image { max-height: 340px; }
    .modal-thumb { width: 72px; height: 56px; }
    .modal-nav-btn { width: 36px; height: 36px; font-size: 24px; }
}

.modal-image-container .project-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-body {
    padding: 2.5rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 1rem;
}

.modal-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.modal-meta-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.modal-meta-content {
    flex: 1;
}

.modal-meta-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.modal-meta-value {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.modal-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-dark);
    white-space: pre-wrap;
}

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

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

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 1rem auto;
        border-radius: 1rem;
        max-height: 95vh;
    }

    .modal-image-container {
        max-height: none;
    }

    .modal-main-image {
        max-height: 320px;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.625rem;
        margin-bottom: 1.25rem;
    }

    .modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

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

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .modal-image-container {
        max-height: none;
    }

    .modal-main-image {
        max-height: 260px;
    }

    .modal-body {
        padding: 1.25rem;
    }

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

/* About Preview Section */
/* Homepage About Section */
.homepage-about {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 0.5) 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.homepage-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.5), transparent);
}

.about-showcase {
    max-width: 900px;
    margin: 0 auto;
}

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

.about-header {
    margin-bottom: 2.5rem;
}

.about-text {
    margin-bottom: 2.5rem;
}

.about-text p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-light);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

.about-action {
    margin-top: 2.5rem;
}

/* Contact CTA Section */
/* Homepage CTA Section */
.homepage-cta {
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.homepage-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.homepage-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.cta-showcase {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1.2;
}

.cta-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-action {
    margin-top: 2rem;
}

/* Homepage Features Section */
.homepage-features {
    background: var(--bg-white);
    padding: 8rem 0;
    position: relative;
}

.homepage-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.5), transparent);
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 20px;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    transform: translateY(-6px) scale(1.05);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* Footer */
/* Footer - Modern & Minimal */
.site-footer {
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

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

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-nav-section {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.footer-nav-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-social-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 6rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Page */
.projects-page {
    min-height: 100vh;
}

.projects-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.projects-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0;
}

/* Projects Page - Modern Design */
/* Projects Page - Full Width */
.projects-page-wrapper {
    width: 100%;
}

/* Separate Filter Panels - Modern Design */
.filters-wrapper-separate {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Projects list sort */
.projects-sort-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 0.875rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.projects-sort-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.projects-sort-select {
    flex: 1;
    min-width: min(100%, 220px);
    max-width: 320px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.projects-sort-select:hover,
.projects-sort-select:focus {
    border-color: rgba(37, 99, 235, 0.45);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.separate-filter-panel {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-white);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.separate-filter-panel.active {
    border-color: rgba(37, 99, 235, 0.3);
}

/* Active Filters Bar */
.active-filters-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.active-filters-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.active-filters-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 0.5rem;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.active-filter-chip:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

.active-filter-chip svg {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.active-filter-chip:hover svg {
    opacity: 1;
}

.clear-all-filters {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.clear-all-filters:hover {
    color: var(--primary-color);
}

/* Separate Filter Toggle Button */
.separate-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.separate-filter-toggle:hover {
    background: rgba(0, 0, 0, 0.02);
}

.toggle-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.separate-filter-toggle svg:first-child {
    color: var(--primary-color);
    flex-shrink: 0;
}

.toggle-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

.toggle-arrow-icon {
    color: var(--text-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.separate-filter-panel.active .toggle-arrow-icon {
    transform: rotate(180deg);
}

/* Separate Filter Content */
.separate-filter-content {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.separate-filter-panel.active .separate-filter-content {
    padding: 0 1.5rem 1.5rem;
}

.separate-filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
}

.separate-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.separate-filter-item:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--border-color);
}

.separate-filter-item.selected {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.filter-item-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.separate-filter-item.selected .filter-radio-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.separate-filter-item.selected .radio-dot-inner {
    opacity: 1;
    transform: scale(1);
}

.filter-item-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
}

.separate-filter-item.selected .filter-item-label {
    color: var(--primary-color);
    font-weight: 600;
}

.filter-count-badge {
    font-size: 0.8125rem;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.04);
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.separate-filter-item.selected .filter-count-badge {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
}

/* Modern Projects Grid */
.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.project-card-modern {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.project-image-modern {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.project-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-modern:hover .project-image-modern img {
    transform: scale(1.1);
}

.project-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.project-card-modern:hover .project-overlay-modern {
    opacity: 1;
}

.project-status-badge-modern {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.project-status-badge-modern.completed {
    color: var(--secondary-color);
}

.project-status-badge-modern.ongoing {
    color: var(--primary-color);
}

.project-info-modern {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.project-header-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    width: fit-content;
    margin-bottom: 0.25rem;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: var(--text-light);
    gap: 0.75rem;
}

.project-placeholder svg {
    opacity: 0.4;
}

.project-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
}

.project-companies {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.625rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}

.company-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-dark);
}

.company-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    color: var(--text-light);
    width: 14px;
    height: 14px;
}

.project-title-modern {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.project-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.meta-item-modern {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-light);
    font-size: 0.8125rem;
}

.meta-item-modern svg {
    flex-shrink: 0;
    opacity: 0.6;
    width: 14px;
    height: 14px;
}

.project-excerpt-modern {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
    margin: 0.25rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-footer-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.project-footer-modern svg {
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
}

.project-card-modern:hover .project-footer-modern svg {
    transform: translateX(3px);
}

.view-details {
    color: var(--primary-color);
}

/* Empty State */
.no-projects-modern {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    opacity: 0.5;
}

.no-projects-modern h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.no-projects-modern p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Projects filters inside about-text-wrapper */
.about-text-wrapper .projects-filters {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

/* Projects grid inside about-text-wrapper */
.about-text-wrapper .projects-grid {
    margin-top: 0;
}

.filter-btn {
    padding: 0.875rem 1.75rem;
    border-radius: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-light);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.filter-btn:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active::before {
    width: 0;
    height: 0;
}

.no-projects {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-light);
}

/* About Page - Modern Design */
.about-page {
    min-height: 100vh;
    background: var(--bg-white);
}

/* About Hero Section */
.about-hero {
    position: relative;
    min-height: 60vh;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 60px;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4rem 0;
}

.about-hero-text {
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.about-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.about-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main About Content */
.about-main-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.about-main-content {
    max-width: 900px;
    margin: 0 auto;
}

.projects-main-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.about-text-wrapper {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    animation: fadeIn 1s ease-out;
}

.about-text-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.about-section-item {
    margin-bottom: 3rem;
}

.about-section-item:last-child {
    margin-bottom: 0;
}

.about-heading {
    color: var(--text-dark);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.about-section-item:first-child .about-heading,
.about-text-content > .about-heading:first-child {
    margin-top: 0;
}

.about-paragraph {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Values Section */
.about-values-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 6rem 0;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.values-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.values-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card-modern {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.value-card-modern:nth-child(1) { animation-delay: 0.1s; }
.value-card-modern:nth-child(2) { animation-delay: 0.2s; }
.value-card-modern:nth-child(3) { animation-delay: 0.3s; }
.value-card-modern:nth-child(4) { animation-delay: 0.4s; }

.value-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.value-card-modern:hover::before {
    transform: scaleX(1);
}

.value-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.4s ease;
}

.value-card-modern:hover .value-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 0, 0, 0.05);
}

.value-card-icon svg {
    stroke-width: 2;
}

.value-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.value-card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

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

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

/* Contact Page */
.contact-page {
    min-height: 100vh;
}

.contact-section {
    background: var(--bg-white);
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact wrapper inside about-text-wrapper */
.about-text-wrapper .contact-wrapper {
    max-width: 100%;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .boxMenu {
        display: block;
    }
    
    .top-nav {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 0;
        padding-bottom: 0;
        gap: 1.5rem;
    }
    
    .navgap {
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }
    
    .logo {
        margin: 0;
        padding: 12px 0;
        line-height: 0;
    }
    
    .logo img {
        margin: 0;
        padding: 0;
        display: block;
        line-height: 0;
    }
    
    .language-switch {
        font-size: 0.9375rem;
        gap: 0.5rem;
    }
    
    .contact-button a {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .contact-button svg {
        width: 16px;
        height: 16px;
    }
    
    /* Mobile Menu - Centered Overlay */
    /* Premium Mobile Menu */
    .nav-links2 {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        pointer-events: none;
        background: transparent;
        transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links2.active {
        display: flex;
        pointer-events: all;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(4px);
    }
    
    .mobile-menu-container {
        position: relative;
        width: 90%;
        max-width: 480px;
        min-height: 65vh;
        max-height: 85vh;
        background: rgba(31, 41, 55, 0.96);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 35px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        opacity: 0;
        transform: scale(0.9) translateY(20px);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: 1;
        pointer-events: all;
    }
    
    .nav-links2.active .mobile-menu-container {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.75rem 1.75rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        gap: 1rem;
        flex-shrink: 0;
    }
    
    .mobile-menu-logo {
        display: flex;
        align-items: center;
        flex: 1;
    }
    
    .mobile-menu-logo img {
        width: auto;
        height: 70px;
        object-fit: contain;
    }
    
    .mobile-menu-logo span {
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }
    
    .mobile-language-switch {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .mobile-language-switch a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
    }
    
    .mobile-language-switch a.active {
        color: white;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .mobile-language-switch span {
        color: rgba(255, 255, 255, 0.3);
    }
    
    .mobile-menu-close {
        display: flex;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        cursor: pointer;
        padding: 0;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg) scale(1.1);
    }
    
    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
        stroke: white;
    }
    
    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        padding: 1.5rem 0;
        overflow-y: auto;
        flex: 1;
        gap: 0.5rem;
        width: 100%;
    }
    
    .mobile-menu-links a {
        display: block;
        padding: 1.125rem 2rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.0625rem;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .mobile-menu-links a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: white;
        border-radius: 0 3px 3px 0;
        transition: height 0.3s ease;
    }
    
    .mobile-menu-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: translateX(5px);
    }
    
    .mobile-menu-links a:hover::before {
        height: 60%;
    }

    /* Homepage Sections - Mobile */
    .homepage-services {
        padding: 5rem 0;
    }

    .section-intro {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

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

    .services-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-item {
        padding: 2.5rem 2rem;
    }

    .service-icon-wrapper {
        width: 64px;
        height: 64px;
    }

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

    .homepage-projects {
        padding: 5rem 0;
    }

    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-media {
        height: 240px;
    }

    .project-info {
        padding: 1.75rem;
    }

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

    .homepage-about {
        padding: 5rem 0;
    }

    .about-showcase {
        padding: 0 1rem;
    }

    .homepage-cta {
        padding: 5rem 0;
    }

    .cta-showcase {
        padding: 0 1rem;
    }

    .section-action {
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .homepage-features {
        padding: 5rem 0;
    }

    .features-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 1.5rem;
    }

    .feature-icon svg {
        width: 36px;
        height: 36px;
    }

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

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

    /* Footer Mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .site-footer {
        padding: 4rem 0 2rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .navbar {
        top: 12px;
    }
    
    .navInside {
        padding: 0 12px;
    }
    
    .top-nav {
        padding: 0 0.875rem;
        gap: 1rem;
        border-radius: 60px;
    }
    
    .navgap {
        gap: 1rem;
    }
    
    .logo img {
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .language-switch {
        font-size: 0.8125rem;
        padding: 0.35rem 0.5rem;
        gap: 0.4rem;
    }
    
    .contact-button {
        display: none;
    }
    
    .btnMenu {
        width: 40px;
        height: 40px;
        padding: 8px;
        gap: 4px;
    }
    
    .btnMenu span {
        width: 20px;
        height: 2px;
    }
    
    .btnMenu.active span:nth-child(1),
    .btnMenu.active span:nth-child(3) {
        width: 20px;
    }
    
    .language-switch {
        font-size: 0.9375rem;
        gap: 0.5rem;
    }
    
    .contact-button {
        display: none;
    }
    
    .contact-button svg {
        width: 16px;
        height: 16px;
    }
    
    .btnMenu {
        padding: 6px;
    }
    
    .btnMenu span {
        width: 24px;
        height: 2.5px;
    }
    
    .mobile-menu-container {
        width: 95%;
        max-width: none;
        min-height: 75vh;
        max-height: 90vh;
        border-radius: 35px;
    }
    
    .mobile-menu-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .mobile-menu-logo img {
        height: 75px;
    }
    
    .mobile-menu-logo span {
        font-size: 1.25rem;
    }
    
    .mobile-language-switch {
        font-size: 0.875rem;
    }
    
    .mobile-menu-close {
        width: 36px;
        height: 36px;
    }
    
    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
    }
    
    .mobile-menu-links {
        padding: 1.5rem 0;
    }
    
    .mobile-menu-links a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-top: 50px;
    }
    
    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 4vw, 3rem);
        margin-bottom: 1.5rem;
    }

    /* Hero logo + metin: mobilde üst üste, yatay sıkışmayı önle */
    .hero-title-has-logo {
        font-size: clamp(1.25rem, 4.5vw, 2rem);
        margin-bottom: 1.25rem;
    }

    .hero-title-lockup {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        width: 100%;
        padding: 0 4px;
    }

    .hero-title-has-logo .hero-title-logo {
        max-height: min(56px, 16vw) !important;
        max-width: min(92vw, 340px);
        width: auto;
    }

    .hero-title-text-after-logo {
        font-size: clamp(1.2rem, 5.2vw, 1.85rem);
        line-height: 1.15;
        text-align: center;
        padding: 0 6px;
        word-break: break-word;
    }

    .hero-description {
        font-size: clamp(0.9rem, 1.2vw, 1.1rem);
        margin-bottom: 2rem;
    }

    .hero-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .section-header h2,
    .section-title {
        font-size: 2rem;
    }

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

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header {
        padding: 6rem 0 4rem;
    }
    
    .page-header h1 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .page-header p {
        font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    }
    
    /* About Page Mobile */
    .about-hero {
        min-height: 50vh;
        height: 50vh;
        padding-top: 50px;
    }
    
    .about-hero-content {
        padding: 3rem 0;
    }
    
    .about-main-section {
        padding: 4rem 0;
    }
    
    .about-text-wrapper {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .about-heading {
        margin-top: 2rem;
        font-size: 1.75rem;
    }
    
    .about-paragraph {
        font-size: 1rem;
    }
    
    .about-values-section {
        padding: 4rem 0;
    }
    
    .values-title {
        font-size: 2rem;
    }
    
    .values-subtitle {
        font-size: 1.125rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card-modern {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .value-card-icon {
        width: 70px;
        height: 70px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .projects-filters {
        gap: 0.5rem;
        justify-content: flex-start;
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 2rem;
    }

    .projects-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 1.5rem;
    }

    /* Separate Filters - Mobile */
    .filters-wrapper-separate {
        margin-bottom: 1rem;
        gap: 0.75rem;
    }

    .projects-sort-bar {
        margin-bottom: 1.5rem;
        padding: 0.75rem;
    }

    .projects-sort-select {
        max-width: none;
    }

    .active-filters-bar {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .active-filters-label {
        font-size: 0.8125rem;
        width: 100%;
    }

    .active-filter-chip {
        padding: 0.4375rem 0.75rem;
        font-size: 0.8125rem;
    }

    .modern-filter-toggle {
        padding: 1rem;
    }

    .modern-filter-toggle span:not(.filter-badge-count) {
        font-size: 0.9375rem;
    }

    .modern-filters-container.active .modern-filters-content {
        padding: 1.25rem;
    }

    .modern-filter-group {
        margin-bottom: 1.5rem;
    }

    .filter-group-title {
        font-size: 0.9375rem;
    }

    .filter-group-description {
        font-size: 0.75rem;
    }

    .modern-filter-item {
        padding: 0.75rem 0.875rem;
    }

    .filter-item-text {
        font-size: 0.875rem;
    }

    .filter-item-count {
        font-size: 0.75rem;
        padding: 0.1875rem 0.5rem;
    }

    .filter-radio {
        width: 18px;
        height: 18px;
    }

    .radio-dot {
        width: 7px;
        height: 7px;
    }

    /* Projects Grid - Tablet */
    .projects-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    @media (max-width: 768px) {
        .projects-grid-modern {
            grid-template-columns: 1fr;
        }
    }

    .project-image-modern {
        height: 240px;
    }

    .project-info-modern {
        padding: 1.5rem;
    }

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

    .project-meta-modern {
        gap: 0.75rem;
    }

.filter-btn:hover,
.filter-btn.active {
    transform: none;
}
}

/* Projects Pagination */
.projects-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.projects-pagination button.pagination-btn,
.projects-pagination button.pagination-number {
    font-family: inherit;
    cursor: pointer;
}

@media (max-width: 768px) {
    .projects-pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .pagination-number {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-top: 45px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-title-has-logo .hero-title-logo {
        max-height: min(48px, 14vw) !important;
        max-width: min(94vw, 300px);
    }

    .hero-title-text-after-logo {
        font-size: clamp(1.1rem, 1.15rem + 1.5vw, 1.65rem);
    }

    .hero-description {
        font-size: clamp(0.875rem, 1vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* About Page Mobile Small */
    .about-hero {
        min-height: 45vh;
        height: 45vh;
        padding-top: 45px;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .about-text-wrapper {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }
    
    .about-heading {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .about-paragraph {
        font-size: 0.9375rem;
        line-height: 1.8;
    }
    
    .value-card-modern {
        padding: 2rem 1.25rem;
    }
    
    .value-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }
    
    .value-card-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .value-card-title {
        font-size: 1.25rem;
    }
    
    .value-card-text {
        font-size: 0.9375rem;
    }
}

