/* Critical Loading Screen Reset - Prevents Edge rendering issues */
#loadingScreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    background: #0f1419 !important;
}

#mainContent {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Font Configuration */
* {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

p, span, div, a, button {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* Custom Scrollbar Design */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #007bff transparent;
}

/* Enhanced Loading Screen Styles for Cross-Browser Compatibility */
.loading-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(ellipse at center, #1a2332 0%, #0f1419 70%, #000000 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    transition: opacity 1s ease-out, visibility 1s ease-out;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* Edge specific fixes */
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-transition: opacity 1s ease-out, visibility 1s ease-out;
    -moz-transition: opacity 1s ease-out, visibility 1s ease-out;
    -ms-transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 123, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 75%;
    animation-delay: 0.5s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 1.5s;
    animation-duration: 6.5s;
}

.loading-content {
    text-align: center;
    max-width: 500px;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.loading-logo {
    width: 220px;
    height: auto;
    animation: logoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 123, 255, 0.8));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.4) 0%, rgba(0, 212, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

.loading-subtext {
    font-size: 18px;
    color: #b8c5d1;
    margin-bottom: 60px;
    margin-top: 25px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 1px;
    opacity: 0.9;
}

.loading-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff 0%, #00d4ff 50%, #007bff 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.4s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: progressShine 2.5s infinite;
}

.progress-text {
    font-size: 14px;
    color: #a0adb8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.loading-spinner {
    margin-top: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #007bff;
    border-right: 4px solid #00d4ff;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1.2s linear infinite;
    -webkit-animation: spin 1.2s linear infinite;
    -moz-animation: spin 1.2s linear infinite;
    -ms-animation: spin 1.2s linear infinite;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    /* Edge specific styles */
    -ms-transform-origin: center center;
    -webkit-transform-origin: center center;
    transform-origin: center center;
}

/* Enhanced Main Content Styles for Cross-Browser Compatibility */
.main-content {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.8s ease-in, visibility 0.8s ease-in;
    -webkit-transition: opacity 0.8s ease-in, visibility 0.8s ease-in;
    -moz-transition: opacity 0.8s ease-in, visibility 0.8s ease-in;
    -ms-transition: opacity 0.8s ease-in, visibility 0.8s ease-in;
}

.main-content.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Loading Animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
    75% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 123, 255, 0.4), 0 0 20px rgba(0, 123, 255, 0.2);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 25px rgba(0, 123, 255, 0.8), 0 0 35px rgba(0, 123, 255, 0.4), 0 0 45px rgba(0, 212, 255, 0.3);
        transform: scale(1.01);
    }
    100% {
        text-shadow: 0 0 15px rgba(0, 123, 255, 0.6), 0 0 25px rgba(0, 123, 255, 0.3);
        transform: scale(1);
    }
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@-webkit-keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@-moz-keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@-ms-keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
    }
}

/* Edge/IE specific spinner animation */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@-moz-keyframes spin {
    0% { -moz-transform: rotate(0deg); }
    100% { -moz-transform: rotate(360deg); }
}

@-ms-keyframes spin {
    0% { -ms-transform: rotate(0deg); }
    100% { -ms-transform: rotate(360deg); }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(10px, 10px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* Responsive Design for Loading Screen */
@media (max-width: 768px) {
    .loading-content {
        padding: 40px 20px;
        max-width: 90%;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
    
    .loading-logo {
        width: 180px;
    }
    
    .logo-glow {
        width: 240px;
        height: 240px;
    }
    
    .loading-subtext {
        font-size: 16px;
        margin-bottom: 45px;
        margin-top: 20px;
    }
    
    .progress-bar {
        height: 5px;
        margin-bottom: 15px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .loading-content {
        padding: 30px 15px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .loading-logo {
        width: 150px;
    }
    
    .logo-glow {
        width: 200px;
        height: 200px;
    }
    
    .loading-subtext {
        font-size: 14px;
        margin-bottom: 35px;
        margin-top: 15px;
    }
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 25px 40px;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 0;
}

/* Scrolled navbar styles */
.navbar.scrolled {
    background: white !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    padding: 15px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px !important;
    margin: 10px auto;
    max-width: calc(100% - 40px);
    transform: translateY(0);
}

.navbar.scrolled .nav-logo .logo {
    height: 35px;
}

.navbar.scrolled .nav-link {
    font-size: 14px;
    font-weight: 600;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hamburger menu animation */
.nav-toggle .bar.active:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle .bar.active:nth-child(2) {
    opacity: 0;
}

.nav-toggle .bar.active:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 110vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #eaf2f7, #e2edf6);
}

/* Additional fallback styles for video */
.hero-video {
    /* Ensure video covers entire viewport */
    position: absolute;
    top: 46%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Video optimization */
    will-change: transform;
    backface-visibility: hidden;
    /* Ensure video loads immediately */
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Fallback gradient for slow connections */
.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b1320 0%, #1a2332 50%, #0f1419 100%);
    z-index: -1;
}

/* Hide fallback when video is loaded */
.hero-video[data-loaded="true"] ~ .hero-video-fallback {
    opacity: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    color: #000;
    z-index: 2;
    margin-left: 60px;
    margin-top: -90px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #000;
}

.hero-title .highlight {
    color: #007bff;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #333;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--service-primary, #007bff);
    color: white;
}

.btn-primary:hover {
    background: var(--service-secondary, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--service-accent, rgba(0, 123, 255, 0.3));
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Client Logos Section */
.client-section {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    z-index: 2;
}

.client-section p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-weight: 500;
}

.client-logos-container {
    overflow: hidden;
    white-space: nowrap;
}

.client-logos {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Services Section Styles */
.services {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    background: transparent;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.services-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 10px;
}

/* Centered section header */
.section-header-center {
    text-align: center;
    padding: 80px 60px 40px;
    background: white;
    border-radius: 90px 90px 0 0;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.services-content {
    background: white;
    width: 100%;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    min-height: 600px;
    position: relative;
    padding: 40px 60px 60px 60px;
}

.services-left {
    padding: 0;
    max-width: none;
}

/* Video Section Styles */
.service-video-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    /* Video optimization */
    background: linear-gradient(135deg, #0b1320 0%, #1a2332 50%, #0f1419 100%);
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
    /* Performance optimization */
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.services-right {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 20;
    padding: 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Service Tabs */
.service-tabs {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 320px;
    padding: 25px;
    background: none;
    border-radius: 25px;
    align-items: flex-end;
    overflow: hidden;
}

/* Video hover effect to show all tabs */
.services-right:hover .service-tab:not(.active) {
    width: 100%;
    opacity: 0.8;
}

.services-right:hover .service-tab:not(.active) span {
    opacity: 1;
    transform: translateX(0);
}

.services-right:hover .service-tab:not(.active):hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
}

/* Desktop'ta services-left içindeki service-tabs'ı gizle */
.services-left .service-tabs {
    display: none;
}

.service-tabs::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    z-index: -1;
}

.service-tab {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #000);
    border: none;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: inherit;
    width: 75px;
    height: 65px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.service-tab::after {
    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.6s ease;
    z-index: 3;
}

.service-tab::after {
    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.6s ease;
    z-index: 3;
}

.service-tab:hover::after {
    left: 100%;
}

.service-tab.active {
    width: 100%;
    transform: translateX(0) scale(1.02);
    z-index: 10;
}

/* Keep active tab more prominent when all tabs are shown */
.services-right:hover .service-tab.active {
    opacity: 1;
    transform: translateX(0) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.4);
}

/* Background images for each tab */
.service-tab[data-target="industrial"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 0, 0, 0.7)), url('images/buttons/button1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-tab[data-target="education"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(0, 0, 0, 0.7)), url('images/buttons/button2.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-tab[data-target="company"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(0, 0, 0, 0.7)), url('images/buttons/button3.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-tab[data-target="consulting"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(0, 0, 0, 0.7)), url('images/buttons/button4.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-tab[data-target="smartbuilding"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.9), rgba(0, 0, 0, 0.7)), url('images/buttons/button1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-tab[data-target="customsoftware"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.9), rgba(0, 0, 0, 0.7)), url('images/buttons/button3.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    border-radius: 16px;
    transition: all 0.4s ease;
}

/* Tab content */
.service-tab-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.service-tab i {
    font-size: 1.8rem;
    min-width: 35px;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.service-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.service-tab:hover i {
    transform: scale(1.1) rotate(5deg);
}

.service-tab.active i {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.service-tab span {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-left: 15px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateX(-10px);
}

.service-tab.active span {
    opacity: 1;
    transform: translateX(0);
}

/* Active state */
.service-tab.active::before {
    opacity: 1;
    transform: scale(1.02);
}

/* Hover effects for inactive buttons */
.service-tab:not(.active):hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Service Details */
:root {
    --service-primary: #007bff;
    --service-secondary: #0056b3;
    --service-accent: rgba(0, 123, 255, 0.1);
}

/* Service detail theme classes */
.service-detail.industrial-theme {
    --service-primary: #007bff;
    --service-secondary: #0056b3;
    --service-accent: rgba(0, 123, 255, 0.1);
}

.service-detail.education-theme {
    --service-primary: #28a745;
    --service-secondary: #218838;
    --service-accent: rgba(40, 167, 69, 0.1);
}

.service-detail.company-theme {
    --service-primary: #ffc107;
    --service-secondary: #e0a800;
    --service-accent: rgba(255, 193, 7, 0.1);
}

.service-detail.consulting-theme {
    --service-primary: #dc3545;
    --service-secondary: #c82333;
    --service-accent: rgba(220, 53, 69, 0.1);
}

.service-detail.smartbuilding-theme {
    --service-primary: #6f42c1;
    --service-secondary: #5a32a3;
    --service-accent: rgba(111, 66, 193, 0.1);
}

.service-detail.customsoftware-theme {
    --service-primary: #fd7e14;
    --service-secondary: #e56600;
    --service-accent: rgba(253, 126, 20, 0.1);
}

.service-details {
    position: relative;
}

.service-detail {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.service-detail.active {
    display: block;
}

.service-detail h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-detail p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Service Highlights */
.service-highlights {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.highlight-item {
    background: linear-gradient(135deg, var(--service-primary), var(--service-secondary));
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 8px 25px var(--service-accent);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
}

.highlight-item strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Service Benefits */
.service-benefits {
    margin-bottom: 30px;
}

.service-benefits h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--service-primary);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.benefit-item i {
    color: var(--service-primary);
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 2px;
}

.benefit-item span {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.benefit-item strong {
    color: #333;
    font-weight: 600;
}

/* Success Stats */
.success-stats {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid var(--service-primary);
}

.success-stats p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    font-weight: 500;
}

.success-stats strong {
    color: #28a745;
    font-weight: 700;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.service-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.service-features .feature:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
}

.service-features .feature i {
    color: #007bff;
    font-size: 1.4rem;
    min-width: 24px;
}

.service-features .feature span {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

/* About Section */
.about {
    position: relative;
    z-index: 1;
    padding: 120px 0 120px;
    background: white;
    border-radius: 110px 110px 90px 90px;
}

.about .container {
    background: linear-gradient(135deg, #000000 , #111111);
    border-radius: 40px;
    padding: 80px 60px;
    margin: 0 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-header .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.about-header .section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.about-card {
    max-width: none;
    margin: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    overflow: visible;
    box-shadow: none;
    position: relative;
    flex-wrap: wrap;
}

.about-column {
    position: relative;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 500px;
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-column:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('images/about/about1.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-column:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('images/about/about2.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-column:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('images/about/about3.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.column-content {
    position: relative;
    z-index: 2;
    color: white;
}

.column-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.column-icon i {
    font-size: 2rem;
    color: white;
}

.about-column h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.about-column p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.column-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-features span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.column-features span:last-child {
    border-bottom: none;
}

/* Simple hover effects */
.about-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-column:hover .column-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Process Section */
.process {
    top: -80px;
    padding: 250px 0;
    background: linear-gradient(135deg, #efefff, rgb(241, 241, 255));
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(40, 167, 69, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.process .container {
    position: relative;
    z-index: 2;
}

.process .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.process .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.process .section-subtitle {
    font-size: 1.2rem;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.process-steps {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -40px;
    margin-top: 80px;
}

/* Modern Zigzag Connection */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #007bff 15%, 
        #007bff 35%, 
        #28a745 35%, 
        #28a745 65%, 
        #ffc107 65%, 
        #ffc107 85%, 
        transparent 100%);
    transform: translateY(-50%);
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.5));
}

.step-item {
    position: relative;
    flex: 1;
    max-width: 350px;
    text-align: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item:nth-child(even) {
    transform: translateY(60px);
}

.step-item:hover {
    transform: translateY(-20px) scale(1.05);
}

.step-item:nth-child(even):hover {
    transform: translateY(40px) scale(1.05);
}

.step-number {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 30px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 100px;
    margin-bottom: 25px;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.4);
    border: 3px solid rgba(255, 255, 255, 1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.step-item:nth-child(2) .step-number {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.4);
    border-radius: 50%;
}

.step-item:nth-child(3) .step-number {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.4);
    border-radius: 15px;
    transform: rotate(5deg);
}

.step-item:hover .step-number {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 30px 60px rgba(0, 123, 255, 0.6);
}

.step-item:nth-child(3):hover .step-number {
    transform: scale(1.2) rotate(15deg);
}

.step-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px 25px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: -15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 25px 25px 0 0;
}

.step-item:nth-child(2) .step-content::before {
    background: linear-gradient(90deg, #28a745, #1e7e34);
}

.step-item:nth-child(3) .step-content::before {
    background: linear-gradient(90deg, #ffc107, #e0a800);
}

.step-content:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
    color: #333333;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.step-content p {
    color: #666666;
    line-height: 1.7;
    font-size: 0.95rem;
}

.step-icon {
    position: absolute;
    top: -12px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 1);
    transition: all 0.4s ease;
}

.step-item:nth-child(2) .step-icon {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.step-item:nth-child(3) .step-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.step-icon:hover {
    transform: scale(1.2) rotate(-15deg);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.6);
}

/* Projects Section */
.projects {
    padding: 10px 0 0px;
    background: #f8f9fa;
    overflow: hidden;
    height: calc(460px + 580px - 100px); /* header-container (380px + 80px margin) + slider-container (500px + 80px padding) - 100px = 840px */
    min-height: 600px;
}

/* Projects Header Container */
.projects-header-container {
    top: 40px;
    display: flex;
    justify-content: center;
    padding: 0 40px;
    margin-bottom: 80px;
    position: relative;
}

.projects-header {
    background: #000;
    border-radius: 40px;
    padding: 60px 80px 240px;
    max-width: 1000px;
    width: 100%;
    margin: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.projects-header-content {
    text-align: center;
    flex: 1;
}

.projects-header .section-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.projects-header .section-subtitle {
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

/* Navigation Buttons */
.project-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.project-nav-btn:hover {
    background: #f8f9fa;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.project-nav-btn:active {
    transform: scale(0.95);
}

.project-nav-prev {
    margin-right: 30px;
}

.project-nav-next {
    margin-left: 30px;
}

/* Projects Slider */
.projects-slider-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    top: -240px;
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}


.projects-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    margin: 0 auto;
    transform-origin: center;
}

.project-slide {
    width: 400px;
    height: 500px;
    margin-right: 30px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Project image class mappings (replaces nth-child mapping for stability) */
/* Base project background image classes */
.proj-persis { background-image: url('images/projects/persis.webp'); }
.proj-ocr { background-image: url('images/projects/ocr.webp'); }
.proj-dersprogrami { background-image: url('images/projects/dersProgramı.webp'); }
.proj-eticaret { background-image: url('images/projects/eTicaret.webp'); }
.proj-gozetmen { background-image: url('images/projects/gözetmenAtama.webp'); }
.proj-kresgo { background-image: url('images/projects/kresGO.webp'); }
.proj-bys { background-image: url('images/projects/BYS.webp'); }
.proj-istakip { background-image: url('images/projects/isTakip.webp'); }
.proj-kurumsal { background-image: url('images/projects/kurumsal.webp'); }
.proj-sinav { background-image: url('images/projects/sinavProgrami.webp'); }

/* About section images */
.about-image-wrapper { width:100%; aspect-ratio: 16/10; overflow:hidden; border-radius:18px; margin-bottom:18px; position:relative; }
.about-image-wrapper::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom,rgba(0,0,0,0) 40%,rgba(0,0,0,.15)); pointer-events:none; }
.about-image { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.about-column:hover .about-image { transform:scale(1.05); }

.project-slide:hover .project-background {
    transform: scale(1.05);
}

/* Overlay for better text readability */
.project-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.project-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    .visually-hidden-focusable {
        position: absolute;
        left: -999px;
        top: auto;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }
    .visually-hidden-focusable:focus {
        position: static;
        width: auto;
        height: auto;
        padding: 8px 14px;
        background: #0b1320;
        color: #fff;
        z-index: 9999;
        border-radius: 6px;
        outline: 2px solid #fff;
        outline-offset: 2px;
    }
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.project-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.project-slide:hover .project-icon::before {
    left: 100%;
}

.project-slide:hover .project-icon {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0 0 20px 0;
}

.project-details-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.project-details-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 ease;
}

.project-details-btn:hover::before {
    left: 100%;
}

.project-details-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-details-btn:active {
    transform: translateY(-1px);
}

.project-details-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.project-details-btn:hover i {
    transform: rotate(360deg);
}

/* Project Modal Styles - Clean Compact v4 */
.project-modal {display:none;position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .25s ease forwards;}
.project-modal.show {display:flex;align-items:center;justify-content:center;padding:32px 18px;}
body.modal-open {overflow:hidden!important;}
.project-modal-content {--modal-accent:#007bff;background:#ffffff;border:1px solid #e5e9ee;border-radius:20px;max-width:880px;width:100%;max-height:84vh;display:flex;flex-direction:column;overflow:hidden;animation:modalSlideIn .3s cubic-bezier(.16,.84,.44,1);box-shadow:0 20px 48px -16px rgba(0,0,0,.4),0 6px 18px -8px rgba(0,0,0,.25);}
.project-modal-header {display:flex;justify-content:space-between;align-items:flex-start;padding:24px 30px 10px;border-bottom:1px solid #f0f3f6;background:#fff;}
.project-modal-header h2 {margin:0;font-size:clamp(1.3rem,1.5vw,1.8rem);font-weight:700;line-height:1.15;color:#121c27;}
.project-modal-close {font-size:1.5rem;color:#6b737b;cursor:pointer;background:transparent;border:0;padding:2px 6px;border-radius:8px;transition:.2s;}
.project-modal-close:hover,.project-modal-close:focus-visible {color:var(--modal-accent);background:#eef2f5;outline:none;}
.project-modal-body {flex:1;overflow-y:auto;padding:26px 30px 4px;scroll-behavior:smooth;}
.project-modal-description p {margin:0 0 18px;font-size:.94rem;line-height:1.55;color:#37424c;}
.project-modal-info h3 {margin:26px 0 12px;font-size:.78rem;font-weight:600;letter-spacing:.55px;text-transform:uppercase;color:#2b343c;position:relative;padding-left:12px;}
.project-modal-info h3:first-of-type {margin-top:4px;}
.project-modal-info h3:before {content:'';position:absolute;left:0;top:3px;width:4px;height:14px;border-radius:3px;background:var(--modal-accent);}
/* Features list simplified */
.project-modal-features ul {list-style:none;margin:0 0 24px;padding:0;display:flex;flex-direction:column;gap:6px;}
.project-modal-features li {background:#f6f8fa;border:1px solid #e2e7ec;border-radius:10px;padding:9px 14px 9px 36px;position:relative;font-size:.78rem;font-weight:500;line-height:1.35;color:#273038;transition:.25s;}
.project-modal-features li:before {content:'\2713';position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:.65rem;color:#fff;background:var(--modal-accent);width:18px;height:18px;border-radius:6px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px -2px rgba(0,0,0,.35);}
.project-modal-features li:hover {background:#eef2f6;border-color:var(--modal-accent);}
/* Tech tags neutral */
.tech-tags {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;}
.tech-tag {background:#edf1f5;color:#16212c;padding:6px 12px;border-radius:10px;font-size:.63rem;font-weight:600;letter-spacing:.45px;text-transform:uppercase;border:1px solid #d8dee4;transition:.2s;}
.tech-tag:hover {background:#e3e9ee;}
/* Horizontal gallery strip */
.project-gallery {display:flex;gap:12px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;}
.project-gallery::-webkit-scrollbar {height:10px;}
.project-gallery::-webkit-scrollbar-track {background:transparent;}
.project-gallery::-webkit-scrollbar-thumb {background:linear-gradient(var(--modal-accent),#0054a6);border-radius:6px;border:2px solid #ffffff;}
.project-gallery img {flex:0 0 auto;width:240px;aspect-ratio:16/10;object-fit:cover;border-radius:14px;scroll-snap-align:start;transition:.35s;box-shadow:0 4px 14px -6px rgba(0,0,0,.25);background:#d9dfe3;}
.project-gallery img:hover {transform:translateY(-4px);box-shadow:0 10px 26px -10px rgba(0,0,0,.4);}
/* Footer */
.project-modal-footer {padding:18px 30px 26px;display:flex;justify-content:space-between;gap:14px;border-top:1px solid #f0f3f6;background:#fff;border-bottom-left-radius:20px;border-bottom-right-radius:20px;flex-wrap:wrap;}
.project-modal-btn {--btn-accent:var(--modal-accent);padding:12px 26px;border-radius:12px;font-size:.72rem;font-weight:600;letter-spacing:.5px;cursor:pointer;transition:.25s;border:1px solid #d3d9df;background:#fff;color:#20303c;display:inline-flex;align-items:center;gap:8px;}
.project-modal-btn.primary {background:var(--btn-accent);color:#fff;border-color:var(--btn-accent);box-shadow:0 6px 18px -8px rgba(0,0,0,.35);}
.project-modal-btn.primary:hover {filter:brightness(.92);transform:translateY(-2px);}
.project-modal-btn.primary:active {transform:translateY(-1px);}
.project-modal-btn.secondary:hover {background:#f2f5f7;}
.project-modal-btn i {font-size:.8rem;}
@media (max-width:760px){ .project-modal.show{padding:20px 10px;} .project-modal-content{border-radius:18px;max-height:90vh;} .project-modal-header{padding:20px 22px 6px;} .project-modal-body{padding:20px 22px 2px;} .project-modal-footer{padding:16px 22px 22px;} .project-gallery img{width:190px;} .project-modal-header h2{font-size:1.28rem;} }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { 
        transform: translateY(-50px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* Mobile Modal Responsive */
@media (max-width: 768px) {
    .project-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .project-modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .project-modal-header {
        padding: 20px 20px 15px;
    }
    
    .project-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .project-modal-footer {
        padding: 15px 20px 20px;
        flex-direction: column;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
    }
}

/* Removed nth-child background mapping; now using explicit classes (proj-*) for reliability */

/* Pause animation on hover */
.projects-slider-container:hover .projects-slider {
    animation-play-state: paused;
}


/* Final CTA Section */
.final-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.final-cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 50px;
    color: white;
    background: linear-gradient(135deg, #ffffff, #e0e6ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-buttons .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--service-primary, #007bff), var(--service-secondary, #0056b3));
    border: none;
    color: white;
    box-shadow: 0 10px 30px var(--service-accent, rgba(0, 123, 255, 0.3));
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--service-accent, rgba(0, 123, 255, 0.4));
}

.btn-third {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-third:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* References & News Combined Section */
.references-news-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #eaf2f7 100%);
    overflow: hidden;
}

.references-news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, #efefff, rgb(241, 241, 255));
    z-index: 1;
}

.references-news-section .container {
    position: relative;
    z-index: 2;
    padding: 0 60px;
}

/* Combined Header */
.combined-header {
    text-align: center;
    margin-bottom: 80px;
}

.combined-header .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.combined-header .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced heading styling (unified with news card accent) */
.combined-header .section-title {
    position: relative;
    background: linear-gradient(90deg,#141414 0%, #000000 40%, #141414 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .5px;
}

/* Sub section headers (Referanslarımız / Son Haberler) */
.references-side .references-header h3,
.news-side .news-header h3 {
    position: relative;
    display: inline-block;
    padding-left: 14px;
    font-weight: 700;
    background: linear-gradient(90deg,var(--news-accent) 0%, #1a74ff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.references-side .references-header h3::before,
.news-side .news-header h3::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 70%;
    border-radius: 3px;
    background: linear-gradient(180deg,var(--news-accent),#4aa4ff);
    box-shadow: 0 0 0 1px rgba(13,110,253,.15),0 4px 10px -2px rgba(13,110,253,.45);
}
.references-side .references-header p,
.news-side .news-header p {
    position: relative;
    padding-left: 4px;
}

/* Subtle hover shimmer for headers */
.references-side .references-header h3:hover,
.news-side .news-header h3:hover,
.combined-header .section-title:hover {
    filter: brightness(1.1);
}

/* Combined Content Layout */
.combined-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: flex-start;
}

/* References Side */
.references-side {
    position: relative;
    height: 88%;
    display: flex;
    flex-direction: column;
}

.references-side .references-header {
    text-align: left;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.references-side .references-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.references-side .references-header p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* References Grid */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
    height: 100%;
}

.reference-item {
    background: transparent;
    border: none;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.reference-item:hover {
    transform: scale(1.05);
}

.reference-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
}

.reference-item:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* News Side */
.news-side {
    position: relative;
}

.news-side .news-header {
    text-align: left;
    margin-bottom: 40px;
}

.news-side .news-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.news-side .news-header p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* News Pagination Container */
.news-pagination-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-items {
    width: 95%;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.news-page {
    padding-top: 20px;
    padding-bottom: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
    animation: fadeInSlide 0.5s ease;
}

.news-page.active {
    display: flex;
}

.news-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid rgba(0, 123, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.05);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.news-item:hover::before {
    opacity: 1;
}

.news-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 123, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.1);
    background: rgba(255, 255, 255, 1);
}

.news-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.news-icon i {
    color: white;
    font-size: 1.2rem;
}

.news-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.news-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.news-date {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

/* News Pagination */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination-btn {
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    color: #0056b3;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.pagination-btn:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.pagination-btn:disabled {
    background: #fafafa;
    color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.page-indicators {
    display: flex;
    gap: 10px;
}

.page-indicator {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ffffff;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.page-indicator:hover {
    background: #dee2e6;
    transform: scale(1.05);
}

.page-indicator.active {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Animations */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .combined-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
    }
    
    .reference-item {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .references-news-section {
        padding: 80px 0;
    }
    
    .combined-header .section-title {
        font-size: 2.5rem;
    }
    
    .references-side .references-header h3,
    .news-side .news-header h3 {
        font-size: 1.8rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 10px;
    }
    
    .reference-item {
        padding: 12px;
    }
    .news-items {
        width: 100%;
    }
    
    .news-item {
        padding: 20px;
        gap: 15px;
    }
    
    .news-icon {
        width: 45px;
        height: 45px;
    }
    
    .news-text h4 {
        font-size: 1rem;
    }
    
    .news-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .combined-header .section-title {
        font-size: 2rem;
    }
    
    .references-side .references-header h3,
    .news-side .news-header h3 {
        font-size: 1.5rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 8px;
    }
    
    .reference-item {
        padding: 10px;
    }
    
    .news-item {
        padding: 15px;
        gap: 12px;
    }
    
    .news-pagination {
        gap: 15px;
    }
    
    .pagination-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .page-indicator {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Contact Section */









.news-item.hidden {
    display: none;
}

.news-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    position: relative;
    z-index: 2;
}

.news-icon i {
    font-size: 1.5rem;
    color: white;
}

.news-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.news-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 600;
}

.news-actions {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.load-more-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.6s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
}

.load-more-btn.hidden {
    display: none;
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(2px);
}

/* Responsive Design for News */
@media (max-width: 768px) {
    .news {
        padding: 80px 0;
    }
    
    .news-header .section-title {
        font-size: 2.5rem;
    }
    
    .news-item {
        padding: 25px;
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .news-icon {
        width: 50px;
        height: 50px;
        align-self: center;
    }
    
    .news-icon i {
        font-size: 1.3rem;
    }
    
    .news-text h4 {
        font-size: 1.2rem;
    }
    
    .news-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .news-header .section-title {
        font-size: 2rem;
    }
    
    .news-header .section-subtitle {
        font-size: 1rem;
    }
    
    .news-item {
        padding: 20px;
        gap: 15px;
    }
    
    .news-icon {
        width: 45px;
        height: 45px;
    }
    
    .news-icon i {
        font-size: 1.2rem;
    }
    
    .news-text h4 {
        font-size: 1.1rem;
    }
    
    .load-more-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 86, 179, 0.05) 0%, transparent 50%);
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 100px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 50px;
    font-weight: 400;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    gap: 25px;
    align-items: center;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.contact-icon {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.contact-item:hover .contact-icon::before {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

.contact-text h4 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3, #007bff);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafbfc;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    animation: footerGlow 20s linear infinite;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 1.5fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section {
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo .logo {
    height: 45px;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 25px;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #007bff;
}

.footer-links a:hover {
    color: #007bff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.footer-contact p:hover {
    color: #007bff;
    transform: translateX(5px);
}

.footer-contact i {
    width: 18px;
    text-align: center;
    color: #007bff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #007bff;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}


@media (min-width: 534px) and (max-width: 769px) {
    .hero {
        height: 100vh;
    }

    .hero-content {
        margin-top: 0px;
    }
    
    .section-header-center {
        padding: 60px 40px 30px;
    }
    
    .services-content {
        grid-template-columns: 60% 40%;
        gap: 20px;
        padding: 30px 40px;
    }
    
    .services-left {
        padding: 0;
    }
    
    .service-video-container {
        height: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    
    .services-right {
        height: 100%;
    }
    
    .services-left .service-tabs {
        position: static !important;
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        background: none;
        order: -1;
    }
    
    .services-right .service-tabs {
        display: none !important;
    }
    
    .service-tab {
        width: 65px;
        height: 55px;
        padding: 0;
    }
    
    .service-tab i {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .about .container {
        margin: 0 40px;
        padding: 60px 40px;
        border-radius: 30px;
    }

    .about-header .section-title {
        font-size: 2.5rem;
    }

    .about-header .section-subtitle {
        font-size: 1.2rem;
    }

    .about-card {
        flex-direction: row;
        gap: 25px;
        flex-wrap: wrap;
    }

    .about-column {
        min-height: 400px;
        padding: 40px 30px;
        border-radius: 20px;
        flex: 1;
        min-width: 280px;
    }

    .column-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .column-icon i {
        font-size: 1.8rem;
    }

    .about-column h3 {
        font-size: 1.6rem;
    }

    .about-column p {
        font-size: 1rem;
    }

    .column-features span {
        font-size: 0.9rem;
    }

    /* Process section tablet */
    .process {
        padding: 80px 0;
    }

    .process .section-title {
        font-size: 2.5rem;
    }

    .process-steps {
        gap: 20px;
        margin-top: 60px;
    }

    .process-steps::before {
        left: 15%;
        right: 15%;
    }

    .step-item:nth-child(even) {
        transform: translateY(40px);
    }

    .step-item:hover {
        transform: translateY(-15px) scale(1.03);
    }

    .step-item:nth-child(even):hover {
        transform: translateY(25px) scale(1.03);
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.7rem;
        line-height: 80px;
        margin-bottom: 20px;
    }

    .step-content {
        padding: 25px 20px;
        margin-top: -10px;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -10px;
        right: 12px;
    }

    /* Contact Section Tablet */
    .contact {
        padding: 100px 0;
    }

    .contact .container {
        padding: 0 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info {
        position: static;
        text-align: center;
    }

    .contact-info .section-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .contact-description {
        font-size: 1.15rem;
        text-align: center;
        margin-bottom: 35px;
    }

    .contact-details {
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-item {
        padding: 25px;
        gap: 20px;
        flex-direction: row;
        text-align: left;
    }

    .contact-icon {
        min-width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .contact-text h4 {
        font-size: 1.05rem;
    }

    .contact-text p {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 45px 35px;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Footer Tablet */
    .footer {
        padding: 70px 0 35px;
    }

    .footer .container {
        padding: 0 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-description {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 30px;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar.scrolled {
        padding: 10px 20px;
        margin: 5px 10px;
        max-width: calc(100% - 20px);
        border-radius: 10px;
    }

    .navbar.scrolled .nav-logo .logo {
        height: 35px;
    }

    .hero {
    height: 100vh;
    }
    .hero-video {
        transform: translate(-50%, -50%) rotate(90deg);
        width: 100vh;
        height: 100vw;
        min-width: 100vh;
        min-height: 100vw;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: transparent; /* Kapalıyken transparan */
        backdrop-filter: none; /* Kapalıyken blur yok */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        background: rgba(255, 255, 255, 0.95); /* Açıkken beyaz */
        backdrop-filter: blur(10px); /* Açıkken blur */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 24px;
        color: #000;
        font-weight: 700;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle .bar {
        background: #000;
    }

    .navbar.scrolled .nav-toggle .bar {
        background: #000;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 100px 20px 150px;
    }

    .hero-content {
        margin-left: 0;
        margin-top: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-secondary {
        background: #000;
        color: #fff;
        border: none;
    }

    .btn-secondary:hover {
        background: #333;
        color: #fff;
        transform: translateY(-2px);
    }

    .hero-image {
        margin-top: 40px;
        max-width: 300px;
    }

    .client-logo {
        width: 100px;
        margin: 0 20px;
    }
    .services {
        margin-top: -20px;
        margin-left: 0;
        width: 100%;
    }

    .services-container {
        flex-direction: column;
        min-height: 100px;
    }

    .section-header-center {
        padding: 40px 30px 30px;
        border-radius: 20px 20px 0 0;
        text-align: center;
    }

    .services-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
        padding: 30px;
        min-height: 100px;
    }

    .services-left {
        order: 1;
        padding: 0;
    }

    .services-right {
        order: 2;
        width: 100%;
        padding: 0;
        height: 400px;
    }

    .service-video-container {
        height: 100%;
        border-radius: 10px;
    }

    .services-left .service-tabs {
        position: static !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
        padding: 0;
        background: none;
        border-radius: 0;
        order: -1;
    }
    
    .services-right .service-tabs {
        display: none !important;
    }

    .service-highlights {
        flex-direction: column;
        gap: 10px;
    }

    .highlight-item {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-detail h3 {
        font-size: 1.5rem;
    }

    .benefits-grid {
        gap: 12px;
    }

    .benefit-item {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .benefit-item i {
        align-self: flex-start;
    }

    .service-benefits h4 {
        font-size: 1.2rem;
    }

    .success-stats p {
        font-size: 0.85rem;
    }

    .service-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-tab {
        height: 55px;
        width: 100% !important;
    }

    .service-tab .service-tab-content {
        justify-content: center !important;
        padding: 0 15px !important;
    }

    .service-tab span {
        opacity: 1 !important;
        transform: translateX(0) !important;
        font-size: 0.85rem;
        margin-left: 0;
    }

    .service-tab i {
        display: none !important;
    }

    /* About section mobile */
    .about {
        padding: 120px 0 60px;
        border-radius: 110px 110px 40px 40px;
    }

    .about .container {
        margin: 0 20px;
        padding: 40px 25px;
        border-radius: 25px;
    }

    .about-header {
        margin-bottom: 50px;
    }

    .about-header .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .about-header .section-subtitle {
        font-size: 1rem;
    }

    .about-card {
        flex-direction: column;
        gap: 25px;
    }

    .about-column {
        padding: 35px 25px;
        min-height: 350px;
        border-radius: 20px;
        min-width: auto;
        flex: none;
    }

    .column-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
        border-radius: 15px;
    }

    .column-icon i {
        font-size: 1.5rem;
    }

    .about-column h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .about-column p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .column-features {
        gap: 8px;
    }

    .column-features span {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    /* Simple mobile hover effects */
    .about-column:hover {
        transform: translateY(-5px);
    }

    .about-column:hover .column-icon {
        transform: scale(1.05);
    }

    /* Process section mobile */
    .process {
        padding: 100px 0;
    }

    .process .section-title {
        font-size: 2rem;
    }

    .process .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
        margin-top: 50px;
        align-items: center;
    }

    .process-steps::before {
        display: none;
    }

    .step-item {
        max-width: 320px;
        width: 100%;
    }

    .step-item:nth-child(even) {
        transform: translateY(0);
    }

    .step-item:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .step-item:nth-child(even):hover {
        transform: translateY(-8px) scale(1.02);
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
        line-height: 70px;
        margin-bottom: 15px;
        border-radius: 50% !important;
    }

    .step-item:nth-child(3) .step-number {
        transform: rotate(0deg);
    }

    .step-item:nth-child(3):hover .step-number {
        transform: scale(1.1) rotate(0deg);
    }

    .step-content {
        padding: 25px 20px;
        margin-top: -8px;
        border-radius: 20px;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .step-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .step-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        top: -8px;
        right: 10px;
    }

    /* Simple mobile hover effects */
    .step-item:hover {
        transform: translateY(-5px);
    }

    .step-item:hover .step-number {
        transform: scale(1.05);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Blog section mobile */
    .blog {
        padding: 60px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card.featured {
        grid-row: span 1;
    }

    .blog-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Final CTA mobile */
    /* Final CTA Section Mobile */
    .final-cta-section {
        padding: 80px 0;
    }

    .final-cta-content h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Contact section mobile */
    .contact {
        padding: 80px 0;
    }

    .contact .container {
        padding: 0 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        position: static;
        text-align: center;
    }

    .contact-info .section-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .contact-description {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .contact-details {
        gap: 20px;
    }

    .contact-item {
        padding: 20px;
        gap: 15px;
        flex-direction: row;
        text-align: left;
    }

    .contact-icon {
        min-width: 50px;
        height: 50px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .contact-text h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .contact-text p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 40px 30px;
        border-radius: 25px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 18px 20px;
        font-size: 15px;
        border-radius: 12px;
    }

    .contact-form .btn-primary {
        padding: 18px;
        font-size: 1rem;
        border-radius: 12px;
    }

    /* Footer mobile */
    .footer {
        padding: 60px 0 30px;
    }

    .footer .container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-logo .logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .footer-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        padding-left: 0;
        font-size: 0.95rem;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: 25px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Tablet Responsive Design for Projects */
@media (max-width: 1024px) and (min-width: 769px) {
    .projects {
        height: calc(400px + 530px - 100px); /* Tablet: scaled down version = 830px */
        min-height: 550px;
    }
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    
    .projects {
        height: calc(350px + 480px - 100px); /* Mobile: header-container (270px + 50px margin) + slider-container (400px + 80px padding) - 100px = 730px */
        min-height: 500px;
    }
    
    .projects-header-container {
        padding: 0 20px;
        margin-bottom: 50px;
    }
    
    .projects-header {
        flex-direction: column;
        gap: 30px;
    }
    
    .projects-header .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .projects-header .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .project-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .projects-slider-container {
        top: -250px;
    }
    
    .project-slide {
        width: 320px;
        height: 400px;
        margin-right: 20px;
    }
    
    .project-content {
        padding: 25px;
    }
    
    .project-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .project-title {
        font-size: 1.3rem;
        margin: 15px 0 10px;
    }
    
    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    
    
    .projects-header {
        padding: 40px 30px 200px;
        margin: 0 20px;
        border-radius: 25px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }
    
    .projects-header-content {
        order: 0;
        flex: 1;
        text-align: center;
    }
    
    .project-nav-prev, .project-nav-next {
        margin: 0;
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 10px;
    }
    
    .projects-header .section-title {
        font-size: 2rem;
    }
    
    .projects-header .section-subtitle {
        font-size: 1rem;
    }
    
    .project-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .project-nav-btn:active {
        transform: scale(0.95);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    
    .projects-slider-container {
        top: -200px;
    }
    
    .project-slide {
        width: 300px;
        height: 400px;
        margin-right: 20px;
    }
    
    .project-content {
        padding: 30px 20px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .projects-header .section-title {
        font-size: 1.8rem;
    }
    
    .project-slide {
        width: 280px;
        height: 360px;
        margin-right: 15px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.85rem;
    }
    
}

@media (max-width: 480px) {
    .projects-header {
        padding: 30px 15px 180px;
        margin: 0 10px;
        border-radius: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 15px;
    }
    
    .projects-header-content {
        flex: 1;
        text-align: center;
    }
    
    .project-nav-prev, .project-nav-next {
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 5px;
    }
    
    .projects-header .section-title {
        font-size: 1.6rem;
    }
    
    .project-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
        border-radius: 50%;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .project-nav-btn:active {
        transform: scale(0.9);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .projects-slider-container {
        top: -180px;
    }
    
    .project-slide {
        width: 280px;
        height: 380px;
        margin-right: 15px;
    }
    

    .about {
        padding: 120px 0 60px;
        border-radius: 110px 110px 40px 40px;
    }
    .about .container {
        margin: 0 15px;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .about-header {
        margin-bottom: 40px;
    }

    .about-header .section-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .about-header .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .about-card {
        gap: 20px;
        flex-direction: column;
    }

    .about-column {
        padding: 30px 20px;
        min-height: 320px;
        border-radius: 15px;
        min-width: auto;
    }

    .column-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .column-icon i {
        font-size: 1.3rem;
    }

    .about-column h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .about-column p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .column-features span {
        font-size: 0.8rem;
        padding: 5px 0;
    }

    /* Simple animations for small screens */
    .about-column:hover {
        transform: translateY(-3px);
    }

    .about-column:hover .column-icon {
        transform: scale(1.02);
    }

    /* Process section extra small */
    .process {
        padding: 100px 0;
    }

    .process .section-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .process .section-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .process-steps {
        gap: 30px;
        margin-top: 40px;
    }

    .step-item {
        max-width: 280px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        line-height: 60px;
        margin-bottom: 12px;
    }

    .step-content {
        padding: 20px 15px;
        margin-top: -6px;
    }

    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .step-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        top: -6px;
        right: 8px;
    }

    /* Minimal animations for small screens */
    .step-item:hover {
        transform: translateY(-3px);
    }

    .step-item:hover .step-number {
        transform: scale(1.02);
    }

    /* Final CTA Section Extra Small */
    .final-cta-section {
        padding: 60px 0;
    }

    .final-cta-content {
        padding: 0 15px;
    }

    .final-cta-content h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .cta-buttons .btn {
        padding: 16px 30px;
        font-size: 1rem;
    }

    /* Contact Section Extra Small */
    .contact {
        padding: 60px 0;
    }

    .contact .container {
        padding: 0 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        position: static;
        text-align: center;
    }

    .contact-info .section-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .contact-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .contact-details {
        gap: 15px;
    }

    .contact-item {
        padding: 20px;
        gap: 15px;
        flex-direction: column;
        text-align: center;
        border-radius: 15px;
    }

    .contact-icon {
        min-width: 50px;
        height: 50px;
        font-size: 1.2rem;
        align-self: center;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .contact-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .contact-form {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 10px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .contact-form .btn-primary {
        padding: 16px;
        font-size: 1rem;
        border-radius: 10px;
    }

    /* Footer Extra Small */
    .footer {
        padding: 50px 0 25px;
    }

    .footer .container {
        padding: 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-logo .logo {
        height: 35px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.6;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        padding-left: 0;
        font-size: 0.9rem;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 0.9rem;
        gap: 10px;
    }

    .footer-contact p:hover {
        transform: none;
    }

    .footer-contact i {
        width: 16px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 15px;
        line-height: 1.5;
    }
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(-45deg); }
    100% { transform: translateX(100%) rotate(-45deg); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes footerGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scrollReferences {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================
     Duyurular (News) Card Redesign v4 – Minimal Kurumsal
     Öncekilerden farklı: Daha düz, tipografi odaklı, hafif gölge, düşük renk doygunluğu.
     HTML hiç değiştirilmedi; sadece mevcut sınıflar override.
     İstenirse kolay tema değişimi için CSS değişkenleri eklendi.
============================================================= */

:root {
    --news-base-bg: #ffffff;
    --news-alt-bg: #f6f9fc;
    --news-border: #e2e8f0;
    --news-border-strong: #c7d4e2;
    --news-accent: #0d6efd;
    --news-accent-soft: #e3f1ff;
    --news-text-strong: #1d2b38;
    --news-text-body: #4c5b66;
    --news-radius: 16px;
    --news-shadow: 0 2px 3px rgba(15,23,42,0.04), 0 4px 12px -4px rgba(15,23,42,0.10);
    --news-shadow-hover: 0 6px 18px -6px rgba(15,23,42,0.18), 0 10px 32px -10px rgba(13,110,253,0.22);
}

/* Liste aralığı */
.news-items { gap: 20px; }

/* Kart temel yapı */
.news-item {
    background: var(--news-base-bg);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius);
    padding: 18px 22px 18px 70px; /* ikon için sol boşluk */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--news-shadow);
    transition: border-color .4s ease, box-shadow .5s ease, transform .5s cubic-bezier(.16,.8,.32,1), background .4s ease;
    overflow: hidden;
}

/* Alternatif satır arka planı (göz yorgunluğu azaltır) */
.news-item:nth-child(odd) { background: linear-gradient(0deg,var(--news-alt-bg),var(--news-alt-bg)) padding-box; }

/* İnce üst çizgi accent (pseudo ile) */
.news-item::before {
    content: "";
    position: absolute;
    top: 0; left:0; right:0;
    height: 3px;
    background: linear-gradient(90deg,var(--news-accent), #4aa4ff 60%, var(--news-accent));
    opacity: .55;
    transition: opacity .5s ease, transform .6s ease;
    transform: scaleX(.3);
    transform-origin: left;
}

/* Hafif iç parlama */
.news-item::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(13,110,253,0.12), transparent 55%);
    opacity: 0; pointer-events: none; transition: opacity .6s ease;
}

.news-item:hover {
    transform: translateY(-6px);
    border-color: var(--news-border-strong);
    box-shadow: var(--news-shadow-hover);
    background: #ffffff;
}
.news-item:hover::before { opacity: .9; transform: scaleX(1); }
.news-item:hover::after { opacity: .5; }
.news-item:active { transform: translateY(-2px); }

/* Focus (klavye) erişilebilirliği */
.news-item:focus-within { outline: 2px solid var(--news-accent); outline-offset: 2px; }

/* İkon kapsayıcı – daha sade, hafif halo */
.news-icon {
    position: absolute;
    top: 16px; left: 18px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg,var(--news-accent), #1a74ff 70%);
    display: flex; align-items:center; justify-content:center;
    color:#fff;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px -6px rgba(13,110,253,0.7), 0 2px 6px -2px rgba(0,0,0,0.25);
    transition: transform .6s cubic-bezier(.16,.8,.32,1), box-shadow .6s ease;
}
.news-icon::after {
    content:""; position:absolute; inset:0; border-radius:inherit;
    background: linear-gradient(225deg,rgba(255,255,255,0.4),rgba(255,255,255,0) 60%);
    mix-blend-mode: overlay; opacity:.6;
}
.news-item:hover .news-icon { transform: translateY(-4px) rotate(-6deg); box-shadow:0 10px 26px -10px rgba(13,110,253,0.7); }
.news-icon i { transition: transform .6s cubic-bezier(.16,.8,.32,1); }
.news-item:hover .news-icon i { transform: scale(1.14) rotate(10deg); }

/* Metin alanı */
.news-text { position: relative; z-index: 2; }
.news-text h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--news-text-strong);
    line-height: 1.3;
}
.news-text p {
    margin: 0 0 4px;
    font-size: .87rem;
    line-height: 1.5;
    color: var(--news-text-body);
}

/* Tarih etiketi – sol alt chip yerine inline badge */
.news-date {
    align-self: flex-start;
    background: var(--news-accent-soft);
    color: var(--news-accent);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .8px;
    padding: 5px 10px 4px;
    border-radius: 30px;
    text-transform: uppercase;
    display: inline-flex; align-items:center; gap:6px;
    position: relative;
    margin-top: 2px;
}
.news-date::before {
    content:""; width:6px; height:6px; border-radius:50%;
    background: var(--news-accent);
    box-shadow:0 0 0 3px rgba(13,110,253,0.18);
}

/* Pagination ufak iyileştirme (var olan yapıyı bozmadan) */
.pagination-btn { font-weight:600; letter-spacing:.5px; }
.pagination-btn:hover:not(:disabled) { box-shadow:0 8px 26px -8px rgba(13,110,253,0.45); }

/* Küçük ekran optimizasyonu */
@media (max-width: 860px) {
    .news-item { padding: 68px 20px 20px 20px; }
    .news-icon { top: 14px; left: 18px; }
}
@media (max-width: 540px) {
    .news-item { border-radius: 14px; }
    .news-text h4 { font-size: .95rem; }
    .news-text p { font-size: .8rem; }
    .news-date { font-size: .58rem; }
}

/* Dark mode opsiyonel (body.dark eklenirse) */
body.dark {
    --news-base-bg: #18222c;
    --news-alt-bg: #1f2b36;
    --news-border: #2a3a48;
    --news-border-strong: #365066;
    --news-text-strong: #f0f6fb;
    --news-text-body: #b9cad6;
    --news-accent-soft: #193756;
}
body.dark .news-item:nth-child(odd) { background: linear-gradient(0deg,#1f2b36,#1f2b36) padding-box; }
body.dark .news-item { box-shadow: 0 4px 14px -8px rgba(0,0,0,0.6); }
body.dark .news-item:hover { box-shadow: 0 12px 34px -10px rgba(0,0,0,0.75), 0 10px 28px -12px rgba(13,110,253,0.35); }
body.dark .news-date::before { box-shadow: 0 0 0 3px rgba(13,110,253,0.35); }

/* =============================================================
     Referanslar – Haber kartlarıyla uyumlu revizyon
     - Yükseklik korunur (grid yapısı / rows sabit)
     - Sade arka plan + hover’da hafif yükselme
     - Logolar net, beyaz zemin / soft alt ton
============================================================= */
.references-grid {
    --ref-bg: #ffffff;
    --ref-bg-alt: #f6f9fc;
    --ref-border: #e1e8f0;
    --ref-border-strong: #c5d3e0;
    --ref-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 6px 18px -8px rgba(0,0,0,0.08);
    --ref-shadow-hover: 0 10px 28px -12px rgba(0,0,0,0.28), 0 8px 24px -14px rgba(13,110,253,0.25);
    column-gap: 18px;
    row-gap: 0px; /* satırlar birbirine daha yakın */
}

.reference-item {
    background: var(--ref-bg);
    border: 1px solid var(--ref-border);
    border-radius: 18px;
        padding: 14px 26px; /* az azaltılmış dikey padding */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform .55s cubic-bezier(.16,.8,.32,1), box-shadow .55s ease, border-color .45s ease, background .45s ease;
    box-shadow: var(--ref-shadow);
    isolation: isolate;
                                height: 182px; /* birazcık daha */
}

/* Alternatif satırlar – grid index temelinde (even/odd) */
.reference-item:nth-child(odd) { background: linear-gradient(0deg,var(--ref-bg-alt),var(--ref-bg-alt)) padding-box; }

/* İnce üst çizgi accent */
.reference-item::before {
    content:""; position:absolute; top:0; left:0; right:0; height:3px;
    background: linear-gradient(90deg,#0d6efd,#4aa4ff 55%, #0d6efd);
    opacity:.45; transform: scaleX(.35); transform-origin:left; transition: transform .6s cubic-bezier(.16,.8,.32,1), opacity .5s ease;
}

/* Hafif corner parıltısı */
.reference-item::after {
    content:""; position:absolute; inset:0;
    background: radial-gradient(circle at 80% 20%, rgba(13,110,253,0.15), transparent 60%);
    opacity:0; transition: opacity .6s ease;
    pointer-events:none;
}

.reference-item img {
    max-width: 100%;
    max-height: 86%; /* kart içinde biraz boşluk */
    object-fit: contain;
    filter: grayscale(12%) brightness(.99) contrast(1.02);
    transition: transform .5s cubic-bezier(.16,.8,.32,1), filter .5s ease;
    transform: translateZ(0);
}

/* Yönlendirme sınıfları (JS ile eklenir) */
.reference-item img.logo-wide { width: 100%; height: auto; }
.reference-item img.logo-tall { height: 100%; width: auto; }

.reference-item:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: var(--ref-border-strong);
    box-shadow: var(--ref-shadow-hover);
    background: #ffffff;
}
.reference-item:hover::before { opacity:.9; transform: scaleX(1); }
.reference-item:hover::after { opacity:.55; }
.reference-item:hover img { filter: grayscale(0%) brightness(1) contrast(1.08); transform: scale(1.07); }
.reference-item:active { transform: translateY(-2px) scale(.99); }

/* Focus erişilebilirliği */
.reference-item:focus-within { outline:2px solid #0d6efd; outline-offset:3px; }

/* Dark mode (opsiyonel) */
body.dark .references-grid { --ref-bg:#18222c; --ref-bg-alt:#1f2b36; --ref-border:#2a3948; --ref-border-strong:#395063; }
body.dark .reference-item { box-shadow: 0 4px 14px -8px rgba(0,0,0,0.65); }
body.dark .reference-item:hover { box-shadow: 0 14px 34px -12px rgba(0,0,0,0.8), 0 10px 28px -14px rgba(13,110,253,0.4); }
body.dark .reference-item img { filter: grayscale(25%) brightness(.9) contrast(1.1); }
body.dark .reference-item:hover img { filter: grayscale(0%) brightness(1.05) contrast(1.15); }

/* Responsive uyum */
@media (max-width: 860px) {
    .references-grid { gap:16px; }
    .reference-item { padding: 20px 32px; height: 168px; }
    .reference-item img { max-height: 95%; }
}
@media (max-width: 560px) {
    .references-grid { gap:14px; }
    .reference-item { border-radius:14px; padding:14px 12px; }
    .reference-item { height: 152px; padding: 20px 26px; }
    .reference-item img { max-height: 95%; }
}

